/* CSS-only header presets; native menu behavior stays with Divi. */
body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li>a,body.tm-nav-hover-underline :is(#main-header,.et-l--header) .et_pb_link{background-image:linear-gradient(var(--tm-nav-underline),var(--tm-nav-underline));background-size:0 2px;background-position:left bottom;background-repeat:no-repeat;transition:background-size .2s;}
body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li>a:is(:hover,:focus-visible),body.tm-nav-hover-underline :is(#main-header,.et-l--header) .et_pb_link:is(:hover,:focus-visible){background-size:100% 2px;}
body.tm-nav-hover-highlight :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li>a:is(:hover,:focus-visible),body.tm-nav-hover-highlight :is(#main-header,.et-l--header) .et_pb_link:is(:hover,:focus-visible){background-color:var(--tm-nav-accent);color:#fff;}
body.tm-nav-hover-brackets :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li>a:is(:hover,:focus-visible),body.tm-nav-hover-brackets :is(#main-header,.et-l--header) .et_pb_link:is(:hover,:focus-visible){box-shadow:inset 2px 0 var(--tm-nav-accent),inset -2px 0 var(--tm-nav-accent);}
body.tm-nav-cta-class :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li.tm-menu-cta>a{background-color:var(--tm-nav-accent);color:#fff;padding:12px 18px;border-radius:6px;}
body.tm-nav-cta-first :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li:first-child>a{background-color:var(--tm-nav-accent);color:#fff;padding:12px 18px;border-radius:6px;}
body.tm-nav-cta-last :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li:last-child>a{background-color:var(--tm-nav-accent);color:#fff;padding:12px 18px;border-radius:6px;}
body.tm-nav-cta-class :is(#main-header,.et-l--header) .et_pb_link.tm-menu-cta{background-color:var(--tm-nav-accent);color:#fff;padding:12px 18px;border-radius:6px;}
body.tm-nav-cta-class :is(#main-header,.et-l--header) .tm-menu-cta>.et_pb_link{background-color:var(--tm-nav-accent);color:#fff;padding:12px 18px;border-radius:6px;}
@media(prefers-reduced-motion:reduce){body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(#top-menu,.et-menu)>li>a,body.tm-nav-hover-underline :is(#main-header,.et-l--header) .et_pb_link{transition:none;}}
/* Effect surfaces grow without changing the native menu layout. */
body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link){position:relative;isolation:isolate}
body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link)::before{content:"";position:absolute;inset:calc(-1 * var(--tm-nav-padding-y,0px)) calc(-1 * var(--tm-nav-padding-x,0px));pointer-events:none;z-index:-1;opacity:0}
body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link):is(:hover,:focus-visible)::before{opacity:1}
body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link){background-image:none}
body.tm-nav-hover-underline :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link)::before{border-bottom:2px solid var(--tm-nav-underline)}
body.tm-nav-hover-highlight :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link){position:relative;isolation:isolate}
body.tm-nav-hover-highlight :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link)::before{content:"";position:absolute;inset:calc(-1 * var(--tm-nav-padding-y,0px)) calc(-1 * var(--tm-nav-padding-x,0px));pointer-events:none;z-index:-1;opacity:0}
body.tm-nav-hover-highlight :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link):is(:hover,:focus-visible)::before{opacity:1}
body.tm-nav-hover-highlight :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link):is(:hover,:focus-visible){background-color:transparent}
body.tm-nav-hover-highlight :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link)::before{background:var(--tm-nav-accent)}
body.tm-nav-hover-brackets :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link){position:relative;isolation:isolate}
body.tm-nav-hover-brackets :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link)::before{content:"";position:absolute;inset:calc(-1 * var(--tm-nav-padding-y,0px)) calc(-1 * var(--tm-nav-padding-x,0px));pointer-events:none;z-index:-1;opacity:0}
body.tm-nav-hover-brackets :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link):is(:hover,:focus-visible)::before{opacity:1}
body.tm-nav-hover-brackets :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link):is(:hover,:focus-visible){box-shadow:none}
body.tm-nav-hover-brackets :is(#main-header,.et-l--header) :is(:is(#top-menu,.et-menu)>li>a,.et_pb_link)::before{border-left:2px solid var(--tm-nav-accent);border-right:2px solid var(--tm-nav-accent)}
