#mfub-as{font-family:Arial,Helvetica,sans-serif}#mfub-as *{box-sizing:border-box}.mfub-as-fab{position:fixed;right:18px;top:48%;z-index:99970;width:49px;height:49px;border:2px solid #fdcf0c!important;border-radius:50%!important;background:#12568d!important;box-shadow:0 7px 25px #102c4d42;display:grid;place-items:center;cursor:pointer;padding:11px!important}.mfub-as-fab svg{width:24px;height:24px;fill:none;stroke:#fdcf0c;stroke-width:2.1;stroke-linecap:round}.mfub-as-overlay{position:fixed;inset:0;background:#071b32b8;z-index:99978}.mfub-as-dialog{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(740px,calc(100vw - 32px));max-height:85vh;overflow:auto;z-index:99979;background:#fff;border-radius:18px;box-shadow:0 20px 80px #081c3a66;padding:28px;color:#263746}.mfub-as-dialog header{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.mfub-as-dialog h2{font-family:Montserrat,Arial,sans-serif!important;color:#12568d!important;font-size:26px!important;margin:5px 0 18px!important;line-height:1.25!important}.mfub-as-eyebrow{font-size:10px;letter-spacing:1.2px;color:#647b91}.mfub-as-close{border:0!important;background:transparent!important;color:#12568d!important;font-size:32px!important;line-height:1!important;cursor:pointer;padding:0!important}.mfub-as-form{display:flex;gap:8px}.mfub-as-form input{flex:1;min-width:0;border:1px solid #cfdde8!important;border-radius:8px!important;padding:13px!important;font-size:15px!important;color:#263746!important;background:white!important}.mfub-as-form button{background:#12568d!important;color:white!important;border:0!important;border-radius:8px!important;padding:12px 17px!important;cursor:pointer}.mfub-as-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.mfub-as-tabs button{background:#f0f5f9!important;border:1px solid #e1eaf0!important;border-radius:22px!important;padding:8px 13px!important;color:#12568d!important;font-size:12px!important;cursor:pointer}.mfub-as-tabs button.active{background:#12568d!important;color:white!important}.mfub-as-results{min-height:90px;max-height:45vh;overflow:auto}.mfub-as-results>p{color:#6a7785;font-size:14px}.mfub-as-result{display:block;padding:13px 5px;border-bottom:1px solid #e8eef4;text-decoration:none!important}.mfub-as-result strong{display:block;color:#12568d;font-size:15px}.mfub-as-result small{display:block;color:#647b91;font-size:11px;margin:4px 0}.mfub-as-result span{display:block;color:#3b4651;font-size:13px;line-height:1.5}.mfub-as-dialog footer{text-align:right;color:#8c9caa;font-size:10px;margin-top:18px}@media(max-width:640px){.mfub-as-fab{right:12px;top:auto;bottom:84px;width:44px;height:44px}.mfub-as-dialog{padding:19px;max-height:88vh}.mfub-as-dialog h2{font-size:22px!important}.mfub-as-form button{padding:10px!important}.mfub-as-eyebrow{font-size:9px}}

#mfub-as .mfub-as-fab[hidden]{display:none!important}#mfub-as .mfub-as-header-trigger{position:relative!important;top:auto!important;right:auto!important;bottom:auto!important;display:inline-grid!important;vertical-align:middle;flex:0 0 auto;width:36px!important;height:36px!important;margin:0 8px!important;padding:7px!important;z-index:99970}#mfub-as .mfub-as-header-trigger svg{width:19px;height:19px}@media(max-width:640px){#mfub-as .mfub-as-dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);left:50%;right:auto;max-height:calc(100dvh - 28px);padding:16px}#mfub-as .mfub-as-form{min-width:0}#mfub-as .mfub-as-form input{width:100%;min-width:0}#mfub-as .mfub-as-tabs{max-width:100%}}

/* MFUB dark navy refresh; scoped strictly to the search interface. */
#mfub-as .mfub-as-fab{background:#0c2745!important;border-color:#fdcf0c!important}
#mfub-as .mfub-as-dialog{background:#0c2745!important;color:#fff!important;border:1px solid #284e71!important}
#mfub-as .mfub-as-dialog h2{color:#fff!important}
#mfub-as .mfub-as-eyebrow{color:#fdcf0c!important}
#mfub-as .mfub-as-close{color:#fff!important}
#mfub-as .mfub-as-form input{background:#fff!important;color:#122b43!important}
#mfub-as .mfub-as-form button{background:#fdcf0c!important;color:#0c2745!important;font-weight:700!important}
#mfub-as .mfub-as-tabs button{background:#193b5c!important;color:#fff!important;border-color:#41627f!important}
#mfub-as .mfub-as-tabs button.active{background:#fdcf0c!important;color:#0c2745!important;border-color:#fdcf0c!important;font-weight:700!important}
#mfub-as .mfub-as-result{border-color:#31506d!important}
#mfub-as .mfub-as-result strong{color:#fff!important}
#mfub-as .mfub-as-result small{color:#fdcf0c!important}
#mfub-as .mfub-as-result span,#mfub-as .mfub-as-results>p{color:#e0eaf3!important}
#mfub-as .mfub-as-result:hover{background:#1b4163!important}
.mfub-as-highlight{background:#fdcf0c!important;color:#0c2745!important;padding:0 .12em;border-radius:2px}

/* 1.0.7: responsive search button in Avada navigation */
.mfub-as-search-item{display:flex!important;align-items:center;justify-content:center;list-style:none!important}
.mfub-as-menu-button{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:38px!important;height:38px!important;min-width:38px!important;padding:8px!important;margin:0 5px!important;border:1px solid rgba(253,207,12,.55)!important;border-radius:50%!important;background:#102f50!important;color:#fdcf0c!important;cursor:pointer!important;box-shadow:none!important;line-height:1!important;vertical-align:middle!important}
.mfub-as-menu-button:hover,.mfub-as-menu-button:focus-visible{background:#12568d!important;border-color:#fdcf0c!important}
.mfub-as-menu-button svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;display:block!important}
.fusion-mobile-menu-icons .mfub-as-menu-button{position:relative!important;float:none!important;margin:0 8px!important;vertical-align:middle!important}
.mfub-as-mobile-holder{display:none}
@media(max-width:1024px){.mfub-as-mobile-holder{display:inline-flex;align-items:center;flex:0 0 auto}.mfub-as-search-item{display:none!important}}
@media(min-width:1025px){.fusion-mobile-menu-icons .mfub-as-menu-button,.mfub-as-mobile-holder{display:none!important}}

/* v1.0.8: Avada Theme Builder / AWB menu integration. Existing square toggle untouched. */
.fusion-tb-header .mfub-as-search-item{display:flex!important;align-items:center!important;justify-content:center!important;list-style:none!important}
.fusion-tb-header .mfub-as-menu-button{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;padding:9px!important;margin:0 5px!important;border:0!important;border-radius:7px!important;background:#fdcf0c!important;color:#0b2942!important;cursor:pointer!important;line-height:1!important}
.fusion-tb-header .mfub-as-menu-button svg{display:block!important;width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.fusion-tb-header .mfub-as-menu-button:hover,.fusion-tb-header .mfub-as-menu-button:focus-visible{background:#ffe071!important}
.fusion-tb-header .mfub-as-mobile-holder{display:none!important}
@media(max-width:1024px){
 .fusion-tb-header .mfub-as-search-item{display:none!important}
 .fusion-tb-header .mfub-as-mobile-holder{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;vertical-align:middle!important}
 .fusion-tb-header .mfub-as-mobile-holder .mfub-as-menu-button{width:42px!important;min-width:42px!important;height:42px!important;margin:0 8px 0 0!important}
}
@media(min-width:1025px){.fusion-tb-header .mfub-as-mobile-holder{display:none!important}}

/* Critical: display:grid on the floating button previously overrode HTML hidden. */
#mfub-as .mfub-as-fab[hidden],#mfub-as [hidden]{display:none!important}

/* v1.1.0: manual menu link. Scoped to its unique URL; does not modify mobile square. */
.fusion-tb-header a[href$="#mfub-academic-search"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;cursor:pointer!important}
.fusion-tb-header a[href$="#mfub-academic-search"]::before{content:"";display:inline-block;flex:none;width:16px;height:16px;border:2px solid currentColor;border-radius:50%;box-sizing:border-box;vertical-align:middle}
.fusion-tb-header a[href$="#mfub-academic-search"]::after{content:"";display:inline-block;width:8px;height:2px;background:currentColor;transform:rotate(45deg) translate(-9px,7px);margin-right:-5px;flex:none}
@media(min-width:1025px){.fusion-tb-header .awb-menu__main-a[href$="#mfub-academic-search"]{font-size:0!important;min-width:40px!important;min-height:40px!important;padding:8px!important;color:#fdcf0c!important}.fusion-tb-header .awb-menu__main-a[href$="#mfub-academic-search"]::before{width:18px;height:18px}.fusion-tb-header .awb-menu__main-a[href$="#mfub-academic-search"]::after{width:9px}}
@media(max-width:1024px){.fusion-tb-header a[href$="#mfub-academic-search"]{font-size:inherit!important}}

/* v1.1.1: compact SVG-only Custom Link, independent of Avada anchor class. */
.fusion-tb-header a.mfub-as-native-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;padding:9px!important;margin:0!important;white-space:nowrap!important;font-size:0!important;line-height:0!important;color:#fdcf0c!important;background:transparent!important;border:1px solid rgba(253,207,12,.5)!important;border-radius:8px!important;text-decoration:none!important;box-shadow:none!important}
.fusion-tb-header a.mfub-as-native-link::before,.fusion-tb-header a.mfub-as-native-link::after{content:none!important;display:none!important}
.fusion-tb-header a.mfub-as-native-link svg{width:22px!important;height:22px!important;min-width:22px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.fusion-tb-header a.mfub-as-native-link:hover{background:rgba(253,207,12,.12)!important}
.fusion-tb-header .awb-menu__main-li:has(> a.mfub-as-native-link){width:42px!important;min-width:42px!important;max-width:42px!important;flex:0 0 42px!important;margin:0 4px!important;padding:0!important}
@media(max-width:1024px){.fusion-tb-header a.mfub-as-native-link{margin:8px 14px!important}}

/* v1.1.2 — preserve Avada's yellow square; dedicated mobile search beside it. */
.fusion-tb-header .mfub-as-mobile-direct{display:none!important;appearance:none!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-width:42px!important;padding:9px!important;margin:0 8px 0 0!important;background:transparent!important;color:#fdcf0c!important;border:1px solid rgba(253,207,12,.55)!important;border-radius:8px!important;cursor:pointer!important;vertical-align:middle!important;box-shadow:none!important}
.fusion-tb-header .mfub-as-mobile-direct svg{display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.fusion-tb-header .mfub-as-mobile-direct:hover{background:rgba(253,207,12,.12)!important}
@media(max-width:1024px){
 .fusion-tb-header .mfub-as-mobile-direct{display:inline-flex!important}
 .fusion-tb-header .awb-menu__main-li:has(> a.mfub-as-native-link){display:none!important}
 .fusion-tb-header .awb-menu__m-li:has(> a.mfub-as-native-link){display:none!important}
}
@media(min-width:1025px){.fusion-tb-header .mfub-as-mobile-direct{display:none!important}}
/* Prevent menu link from being vertically displaced by inherited line height. */
.fusion-tb-header .awb-menu__main-li:has(> a.mfub-as-native-link){align-self:center!important;align-items:center!important;justify-content:center!important}

/* v1.1.3: desktop-only alignment of the manually added search item.
   Keep the mobile search and National Geographic menu square untouched. */
@media (min-width:1025px) {
 .fusion-tb-header .awb-menu__main-li:has(> a.mfub-as-native-link) {
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   align-self:center!important;
   height:auto!important;
   line-height:1!important;
   vertical-align:middle!important;
   position:relative!important;
   top:0!important;
 }
 .fusion-tb-header .awb-menu__main-li > a.mfub-as-native-link {
   display:inline-flex!important;
   align-items:center!important;
   justify-content:center!important;
   position:relative!important;
   top:0!important;
   transform:translateY(5px)!important;
   margin-block:0!important;
   line-height:1!important;
 }
}

/* 1.2.2: Desktop search anchored directly after MFUB Pismo Switcher.
   Mobile and the original Avada square toggle are intentionally unchanged. */
.fusion-tb-header .mfub-as-language-search{display:none!important}
@media(min-width:1025px){
 .fusion-tb-header .mfub-as-language-search{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  vertical-align:middle!important;flex:0 0 40px!important;box-sizing:border-box!important;
  width:40px!important;height:40px!important;min-width:40px!important;
  margin:0 0 0 8px!important;padding:9px!important;
  background:transparent!important;color:#fdcf0c!important;
  border:1px solid rgba(253,207,12,.5)!important;border-radius:8px!important;
  cursor:pointer!important;line-height:1!important;position:relative!important;top:0!important;transform:none!important;
 }
 .fusion-tb-header .mfub-as-language-search svg{width:21px!important;height:21px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 .fusion-tb-header .mfub-as-language-search:hover{background:rgba(253,207,12,.12)!important}
 /* The old menu entry remains in WP, but is hidden on desktop only when using manual/header placement. */
 body:has(.mfub-as-language-search) .fusion-tb-header .awb-menu__main-li:has(>a[href$="#mfub-academic-search"]){display:none!important}
}

/* v1.2.3: mobile search beside language selector, original square untouched */
@media(max-width:1024px){
 .fusion-tb-header .mfub-as-language-search{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle!important;box-sizing:border-box!important;width:40px!important;height:40px!important;min-width:40px!important;margin:0 6px!important;padding:8px!important;border:1px solid rgba(253,207,12,.55)!important;border-radius:8px!important;background:transparent!important;color:#fdcf0c!important;position:relative!important;left:auto!important;top:auto!important;transform:none!important;cursor:pointer!important}
 .fusion-tb-header .mfub-as-language-search svg{display:block!important;width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 .fusion-tb-header:has(.mfub-as-language-search) .mfub-as-mobile-direct{display:none!important}
}
