/* AXYVERAX 1.9.93 — dedicated header, native search, and footer architecture.
   No global widget or content-card selectors. Applies to all 20 demo body classes. */

/* 1. Navigation: explicit opaque background and text contrast.
   The previous legacy navigation stylesheet specified a light surface when dark mode
   was off, which conflicted with the light text used by the new header. */
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper,
html body.axv-rev-v1:not(.dark-theme) #masthead .axv-193-nav-wrapper,
html body.axv-rev-v1.dark-theme #masthead .axv-193-nav-wrapper{
  background:var(--axv-192-ink,var(--axv-rev-ink,#14243b))!important;
  color:#f7faff!important;
  border-bottom:3px solid var(--axv-192-accent,var(--axv-rev-accent,#dc2941))!important;
  min-height:55px!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper .jet-main-navbar{
  display:flex!important;align-items:center!important;min-height:55px!important;
  height:auto!important;padding:0!important;margin:0 auto!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper :is(.jet-main-navbar,.jet-header-2-left,.jet-navbar-main){background:transparent!important;box-shadow:none!important}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper nav.jet-navbar-main{flex:1 1 auto!important;min-width:0!important;max-width:100%!important}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  gap:3px 2px!important;flex-wrap:wrap!important;min-width:0!important;
  margin:0!important;padding:0!important;width:auto!important;max-width:100%!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li{
  width:auto!important;max-width:100%!important;flex:0 0 auto!important;margin:0!important;padding:0!important;
  background:transparent!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li > a,
html body.axv-rev-v1:not(.dark-theme) #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li > a,
html body.axv-rev-v1.dark-theme #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li > a{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  color:#f7faff!important;opacity:1!important;visibility:visible!important;
  text-shadow:none!important;background:transparent!important;
  font-size:13px!important;font-weight:750!important;letter-spacing:0!important;line-height:1.3!important;
  min-height:48px!important;padding:12px 12px!important;margin:0!important;
  border:0!important;border-radius:9px!important;text-decoration:none!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li > a :is(i,span,b),
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper .jet-navbar-buttons :is(i,span,a){
  color:#f7faff!important;opacity:1!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li > a:hover,
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li.current-menu-item > a,
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li.current-menu-ancestor > a,
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.navbar-main-ul > li > a:focus-visible{
  background:rgba(255,255,255,.13)!important;color:#fff!important;
  box-shadow:inset 0 -3px 0 var(--axv-192-accent,var(--axv-rev-accent,#e02b51))!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.sub-menu{
  background:#17263d!important;border:1px solid #40526d!important;
  box-shadow:0 16px 34px rgba(0,0,0,.26)!important;z-index:10000!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.sub-menu a{
  color:#f4f8ff!important;background:transparent!important;
}
html body.axv-rev-v1 #masthead .axv-193-nav-wrapper ul.sub-menu a:hover{background:rgba(255,255,255,.12)!important}

/* 2. Masthead: logo + enabled header advert share a single bounded row. */
html body.axv-rev-v1 #masthead .axv-192-masthead .axv-192-brand-row{
  display:grid!important;grid-template-columns:minmax(165px,33%) minmax(0,1fr)!important;
  align-items:center!important;gap:clamp(15px,3vw,35px)!important;
  box-sizing:border-box!important;width:min(calc(100% - 40px),1250px)!important;
  max-width:1250px!important;min-height:89px!important;padding:12px 0!important;
  margin:0 auto!important;
}
html body.axv-rev-v1 #masthead .axv-192-masthead .axv-192-brand{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:auto!important;max-width:100%!important;min-width:0!important;
}
html body.axv-rev-v1 #masthead .axv-192-masthead .axv-192-brand img{max-height:66px!important;max-width:100%!important;width:auto!important;height:auto!important;object-fit:contain!important}
html body.axv-rev-v1 #masthead .axv-192-masthead .axv-192-header-ad{
  display:flex!important;justify-content:flex-end!important;align-items:center!important;
  width:auto!important;max-width:100%!important;min-width:0!important;
}
html body.axv-rev-v1 #masthead .axv-192-header-ad .axy-premium-ad,
html body.axv-rev-v1 #masthead .axv-192-header-ad .axy-ad-slot{
  width:auto!important;max-width:min(100%,600px)!important;height:auto!important;min-width:0!important;
}
html body.axv-rev-v1 #masthead .axv-192-header-ad .axy-premium-ad img{width:auto!important;height:auto!important;max-width:100%!important;max-height:72px!important;object-fit:contain!important}

/* 3. Header popover: no overlap/clipping for search input and submit button. */
html body.axv-rev-v1 #masthead .navbar-top,
html body.axv-rev-v1 #masthead .navbar-top-bg,
html body.axv-rev-v1 #masthead .navbar-top .container,
html body.axv-rev-v1 #masthead .axy-standalone-utility{overflow:visible!important}
html body.axv-rev-v1 #masthead .axy-utility-search{position:relative!important;z-index:1010!important}
html body.axv-rev-v1 #masthead .axy-utility-search #navSearch{
  position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;
  width:min(348px,calc(100vw - 24px))!important;min-width:0!important;max-width:none!important;
  padding:12px!important;box-sizing:border-box!important;
  border-radius:16px!important;border:1px solid #d7e1ef!important;
  background:#fff!important;box-shadow:0 18px 48px rgba(11,30,54,.24)!important;
  visibility:hidden!important;opacity:0!important;pointer-events:none!important;z-index:100100!important;
}
html body.axv-rev-v1 #masthead .axy-utility-search #navSearch.show{
  visibility:visible!important;opacity:1!important;pointer-events:auto!important;
}
html body.axv-rev-v1 #masthead .axy-utility-search #navSearch form{
  display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;
  align-items:center!important;gap:8px!important;
  position:static!important;padding:0!important;margin:0!important;
  width:100%!important;height:auto!important;max-width:none!important;
}
html body.axv-rev-v1 #masthead .axy-utility-search #navSearch form input[name="s"]{
  display:block!important;grid-column:1!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:44px!important;padding:0 12px!important;margin:0!important;
  border:1px solid #cbd8e9!important;border-radius:10px!important;
  background:#f5f7fc!important;color:#172943!important;box-sizing:border-box!important;
  font-size:14px!important;line-height:1.3!important;
}
html body.axv-rev-v1 #masthead .axy-utility-search #navSearch form button[type="submit"]{
  display:inline-flex!important;grid-column:2!important;align-items:center!important;justify-content:center!important;
  position:static!important;inset:auto!important;transform:none!important;float:none!important;
  width:44px!important;min-width:44px!important;max-width:44px!important;
  height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;
  border:0!important;border-radius:10px!important;
  background:var(--axv-192-accent,#385cbb)!important;color:#fff!important;
}
html body.axv-rev-v1 #masthead .axy-utility-search #navSearch form button[type="submit"] i{font-size:15px!important;color:#fff!important}
html body.axv-rev-v1.dark-theme #masthead .axy-utility-search #navSearch{
  background:#142139!important;border-color:#364d70!important;
}
html body.axv-rev-v1.dark-theme #masthead .axy-utility-search #navSearch input[name="s"]{
  background:#22344f!important;border-color:#415b7b!important;color:#f6faff!important;
}
html body.axv-rev-v1.dark-theme #masthead .axy-utility-search #navSearch input[name="s"]::placeholder{color:#afc2dc!important}

/* 4. Embedded/native search widgets in sidebars: input + button must fit their column. */
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) :is(.widget_search,.widget_block:has(.wp-block-search)) :is(form.search-form,form.wp-block-search,form[role="search"]),
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) .widget_search form{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;gap:8px!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;box-sizing:border-box!important;
}
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) .widget_search :is(label,.search-field),
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) .wp-block-search__inside-wrapper{min-width:0!important;max-width:100%!important;width:100%!important}
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) :is(.widget_search,.wp-block-search) input[type="search"],
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) .widget_search input[type="text"]{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  height:43px!important;padding:0 12px!important;margin:0!important;
  background:#f5f7fc!important;color:#203551!important;
  border:1px solid #ccd7e5!important;border-radius:11px!important;box-sizing:border-box!important;
  font-size:14px!important;line-height:1.2!important;
}
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) :is(.widget_search,.wp-block-search) :is(input[type="submit"],button[type="submit"],.wp-block-search__button){
  position:static!important;transform:none!important;float:none!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  min-width:60px!important;width:auto!important;max-width:100%!important;
  height:43px!important;min-height:43px!important;margin:0!important;padding:0 13px!important;
  background:var(--axv-192-accent,#496fde)!important;border:0!important;border-radius:11px!important;
  color:#fff!important;font-size:14px!important;font-weight:750!important;line-height:1!important;
  white-space:nowrap!important;box-sizing:border-box!important;
}
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) .wp-block-search__inside-wrapper{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;
}

/* 5. Footer: new grid wrapper deliberately drops the legacy .row class.
   Legacy column.css forces each .jet-footer-col to 33.333%, which pushed column 4 down. */
html body.axv-rev-v1 #colophon .jet-main-footer > .container > .axv-193-footer-grid{
  display:grid!important;grid-template-columns:minmax(0,1.2fr) repeat(3,minmax(0,1fr))!important;
  align-items:start!important;justify-items:stretch!important;
  gap:clamp(18px,2vw,30px)!important;
  margin:0!important;padding:0!important;width:100%!important;max-width:none!important;
  box-sizing:border-box!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer > .container > .axv-193-footer-grid > .jet-footer-col{
  display:block!important;float:none!important;flex:none!important;position:relative!important;
  min-width:0!important;width:auto!important;max-width:none!important;
  min-height:0!important;margin:0!important;padding:0!important;
  box-sizing:border-box!important;overflow-wrap:break-word!important;word-break:normal!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid .widget{
  margin:0 0 18px!important;width:100%!important;max-width:100%!important;min-width:0!important;
  padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid :is(.widgettitle,.widget-title,h2,h3){
  font-size:17px!important;line-height:1.34!important;font-weight:800!important;
  color:#fff!important;background:transparent!important;opacity:1!important;
  margin:0 0 13px!important;padding:0 0 12px!important;
  border:0!important;border-bottom:1px solid rgba(255,255,255,.18)!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid :is(p,li,span,div,small){
  color:#d9e5f6!important;opacity:1!important;line-height:1.7!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid a,
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid a:visited{
  color:#e4edff!important;opacity:1!important;text-decoration:none!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid a:hover{
  color:#fff!important;text-decoration:underline!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid :is(ul,.menu){
  list-style:none!important;padding:0!important;margin:0!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid .jet-footer-col:nth-child(2) :is(ul,.menu){
  columns:2!important;column-gap:16px!important;
}
html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid li{
  break-inside:avoid!important;margin:0 0 8px!important;padding:0!important;
}
/* Legal bar and corporate links are independent of the publisher's widget content. */
html body.axv-rev-v1 #colophon .jet-second-footer{background:#0a1525!important;color:#e9f0fc!important}
html body.axv-rev-v1 #colophon .axy-corporate-footer-links a{
  color:#e7effe!important;opacity:1!important;
}
html body.axv-rev-v1 #colophon .axv-192-always-copyright{color:#e7effe!important}

@media (max-width:1050px){
  html body.axv-rev-v1 #colophon .jet-main-footer > .container > .axv-193-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px!important}
}
@media (max-width:767px){
  html body.axv-rev-v1 #masthead .axv-193-nav-wrapper{display:none!important}
  html body.axv-rev-v1 #masthead .axv-192-masthead .axv-192-brand-row{grid-template-columns:minmax(0,1fr)!important;min-height:0!important;padding:10px 0!important}
  html body.axv-rev-v1 #masthead .axv-192-masthead .axv-192-header-ad{display:none!important}
  html body.axv-rev-v1 #colophon .jet-main-footer > .container > .axv-193-footer-grid{grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  html body.axv-rev-v1 #colophon .jet-main-footer > .container > .axv-193-footer-grid > .jet-footer-col{grid-column:auto!important}
  html body.axv-rev-v1 #colophon .jet-main-footer .axv-193-footer-grid .jet-footer-col:nth-child(2) :is(ul,.menu){columns:2!important}
}

/* Narrow widget columns: avoid a tiny input when the sidebar is squeezed. */
html body.axv-rev-v1 :is(.axv-rev-sidebar,#secondary,.jet-sidebar) .widget_search{container-type:inline-size}
@container (max-width:245px){
  .widget_search form.search-form,
  .widget_search form[role="search"]{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .widget_search :is(input.search-submit,button[type="submit"]){width:100%!important}
}
