/* Homepage header overlay. Shared inner-page headers retain their existing layout. */
body.frontpage.wild-home-redesign .body-page { position: relative; }
body.frontpage.wild-home-redesign #header.header-default.mobile-header.mobile-header-overlay {
  position: absolute !important; inset: 0 0 auto !important;
  height: auto !important; min-height: 0 !important; width: 100% !important;
  background: transparent !important; border: 0 !important; z-index: 500 !important;
}
body.frontpage.wild-home-redesign #header.header-default.mobile-header .header-main {
  background: transparent !important; box-shadow: none !important;
}
body.frontpage.wild-home-redesign .main.main-page { padding-inline: 0 !important; }
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-header {
  height: clamp(520px, 68vh, 720px) !important;
  min-height: 520px !important;
}
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-captions {
  background: linear-gradient(180deg, rgb(8 27 20 / 65%), transparent 35%), linear-gradient(90deg, rgb(12 33 24 / 8%), rgb(12 33 24 / 66%));
}
body.frontpage.wild-home-redesign #header .gva-user-region > .icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px !important; height: 44px !important; line-height: 1 !important;
  border: 2px solid #ffffffd9; border-radius: 50%; color: #fff !important;
  background: #173f31 !important; box-shadow: 0 3px 14px #0003;
}
body.frontpage.wild-home-redesign #header .gva-user-region > .icon > img { border-radius: 50%; }
/* Center the silver report action; the carousel positions arrows beside it. */
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-captions > .wild-fast-action {
  align-self: center !important; text-align: center !important;
}
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-action a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; min-width: 180px; padding: 12px 30px !important; margin: 0 !important;
  color: #30373b !important;
  background: linear-gradient(180deg, #ededed 0%, #cecece 48%, #a5a5a5 100%) !important;
  border: 1px solid #d9d9d9 !important; border-bottom-color: #898989 !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 #ffffffb3, 0 3px 6px #0004 !important;
  text-shadow: 0 1px 0 #ffffffa6;
  font-size: 20px !important; font-weight: 700; line-height: 1.4 !important;
  transition: background .18s, box-shadow .18s;
}
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-action a:hover {
  background: linear-gradient(180deg, #fff 0%, #dedede 48%, #b7b7b7 100%) !important;
  box-shadow: inset 0 1px 0 #fff, 0 4px 9px #0005 !important;
}
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-action a:active {
  box-shadow: inset 0 2px 4px #0003 !important;
}
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-action a::after { display: none !important; }
body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-controls button {
  background: transparent !important; border: 0 !important; border-radius: 0 !important;
  box-shadow: none !important; color: #fff; font-size: 34px;
  text-shadow: 0 1px 4px #0009;
}
body.frontpage.wild-home-redesign #header :is(a,button,summary):focus-visible,
body.frontpage.wild-home-redesign .wild-fast-header :is(a,button):focus-visible {
  outline: 3px solid #ffdf87 !important; outline-offset: 3px;
}
@media (min-width: 992px) {
  body.frontpage.wild-home-redesign #header.header-default .header-main .content-inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center !important; gap: clamp(8px, 1vw, 20px);
    padding: 16px clamp(16px, 2vw, 36px) !important;
  }
  body.frontpage.wild-home-redesign #header.header-default .wild-header-utilities { display: contents !important; }
  body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner .branding {
    grid-column: 1 !important; grid-row: 1 !important; align-self: center;
    margin: 0 !important; padding: 8px 12px !important;
    border: 0; border-radius: 10px;
    background: transparent; box-shadow: none;
  }
  body.frontpage.wild-home-redesign #header.header-default .wild-header-utilities .branding img {
    width: clamp(116px, 10vw, 190px) !important; max-width: 190px !important;
    max-height: 66px !important; height: auto !important;
  }
  body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner .header-inner {
    grid-column: 2 !important; grid-row: 1 !important; min-width: 0; align-self: center;
  }
  body.frontpage.wild-home-redesign #header.header-default .wild-header-account {
    grid-column: 4 !important; grid-row: 1 !important; justify-self: end;
    display: flex; align-items: center; gap: 8px;
  }
  body.frontpage.wild-home-redesign #header.header-default .wild-header-search {
    grid-column: 3 !important; grid-row: 1 !important;
  }
  body.frontpage.wild-home-redesign #header.header-default .wild-header-search:empty { display: none; }
  body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main {
    display: flex !important; flex-wrap: nowrap !important;
    align-items: center !important; justify-content: center !important;
    gap: 2px !important; padding: 0 !important;
    min-height: 44px !important; width: 100% !important;
  }
  body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main > li { flex: 0 1 auto !important; }
  body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main > li > a {
    display: flex !important; align-items: center; justify-content: center;
    white-space: nowrap; font-size: clamp(12px, .76vw, 16px) !important;
    padding: 9px clamp(2px, .22vw, 5px) !important; height: 42px !important;
    color: #fff !important; background: rgb(16 46 36 / 50%) !important;
    border: 1px solid #ffffff40; border-radius: 7px;
    text-shadow: none !important; line-height: 1.3 !important;
    transition: background .18s, border-color .18s;
  }
  body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main > li > a:hover,
  body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main > li > a:focus-visible {
    background: rgb(40 101 68 / 50%) !important; border-color: #ffffffb3;
  }
  body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main > li > a[href*="/report"] { background: rgb(40 101 68 / 50%) !important; border-color: #d7e8c5; }
  body.frontpage.wild-home-redesign #header .wild-header-utilities summary {
    padding: 8px; border: 1px solid #ffffff59; border-radius: 7px; background: rgb(16 46 36 / 50%);
  }
}
@media (max-width: 991.98px) {
  body.frontpage.wild-home-redesign #header.header-default.mobile-header.mobile-header-overlay { height: 90px !important; }
  body.frontpage.wild-home-redesign #header.header-default.mobile-header .branding .site-branding-logo {
    border-radius: 9px; background-color: transparent !important;
    box-shadow: none;
  }
  body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner #menu-bar {
    background: transparent !important; border: 0 !important;
    border-radius: 0 !important; box-shadow: none !important; top: 20px !important;
  }
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-header { height: 520px !important; min-height: 520px !important; }

}
@media (prefers-reduced-motion: reduce) {
  body.frontpage.wild-home-redesign #header a,
  body.frontpage.wild-home-redesign .wild-fast-action a { transition: none !important; }
}

/* Keep the long navigation readable with the existing expandable menu on tablets. */
@media (min-width: 992px) and (max-width: 1399.98px) {
 body.frontpage.wild-home-redesign #header #menu-bar { display:block !important; position:static !important; margin:0 !important; width:48px; height:48px; padding:10px; background:rgb(23 63 49 / 50%); border:1px solid #ffffffa6; border-radius:8px; }
 body.frontpage.wild-home-redesign #header #menu-bar span { display:block; width:26px; height:3px; margin:5px 0; background:white; }
 body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner #wildisrael-mobile-navigation {
 position:fixed !important; inset:var(--wildisrael-toolbar-height, 0px) 0 0 auto !important; height:auto !important; max-height:100dvh; overflow-y:auto !important; z-index:7000; visibility:hidden; transform:translateX(100%) !important; background:white;
 }
 body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner #wildisrael-mobile-navigation.show-view { visibility:visible; transform:translateX(0) !important; }
 body.frontpage.wild-home-redesign #header #wildisrael-mobile-navigation .close-offcanvas { display:block !important; }
 body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main { display:block !important; }
}

/* The enhanced menu is restricted to the existing small-screen breakpoint. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  body.frontpage.wild-home-redesign.mobile-menu-open { overflow: hidden; }
  body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner #wildisrael-mobile-navigation.mobile-menu-designed {
    width: min(440px, 100vw) !important;
    padding: 0 0 24px !important;
    background: #fff !important;
    color: #213447 !important;
    text-align: right;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-menu-heading {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: rtl;
    min-height: 86px;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #dce4e9;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation .mobile-menu-heading-title {
    color: #213447;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation .mobile-menu-heading-title small {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #52687a;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .close-offcanvas {
    position: static !important;
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px;
    margin: 0 !important;
    background: #f0f4f7 !important;
    border: 1px solid #dce4e9;
    border-radius: 8px;
    color: #213447 !important;
    font-size: 32px !important;
    line-height: 44px;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed ul.gva_menu,
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed ul.sub-menu {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    background: #fff !important;
    box-shadow: none !important;
    transform: none !important;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu li {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
    border: 0 !important;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu .mobile-menu-link {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 62px;
    height: auto !important;
    width: 100% !important;
    padding: 12px 20px !important;
    margin: 0 !important;
    box-sizing: border-box;
    color: #213447 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #e4eaf0 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: right !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    text-transform: none !important;
    text-shadow: none !important;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .mobile-has-submenu > .mobile-menu-link {
    padding-left: 72px !important;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-menu-local { display: block; }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-menu-latin {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #52687a;
    unicode-bidi: isolate;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu .nav-plus { display: none !important; }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-submenu-toggle {
    position: absolute;
    top: 7px;
    left: 12px;
    right: auto;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: #f0f5fa;
    color: #175e91;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-submenu-toggle > span {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(135deg);
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-submenu-toggle[aria-expanded="true"] > span { transform: rotate(45deg); }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu li > ul.sub-menu {
    display: none !important;
    position: static !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    padding-right: 16px !important;
    border-right: 2px solid #bbddf5;
    box-sizing: border-box;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu li.mobile-expanded > ul.sub-menu { display: block !important; }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu ul.sub-menu .mobile-menu-link {
    font-size: 18px !important;
    font-weight: 500 !important;
    min-height: 60px;
  }
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu li.mobile-expanded > .mobile-menu-link,
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu .mobile-menu-link.is-active {
    background: #e7f4ff !important;
    color: #124e7b !important;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-menu-link:focus-visible,
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-submenu-toggle:focus-visible {
    outline: 3px solid #1686bd;
    outline-offset: -3px;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu ul ul .mobile-menu-latin { font-style: italic; }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .gva_menu .mobile-menu-link {
    height: 84px !important;
    min-height: 84px !important;
  }
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-submenu-toggle { top: 18px; }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  body.frontpage.wild-home-redesign #wildisrael-mobile-navigation.mobile-menu-designed .mobile-menu-link > span {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    max-width: 100%;
  }
}
/* Preserve the accessible search label while saving space in the single header row. */
@media (min-width: 992px) {
 body.frontpage.wild-home-redesign #header .wild-header-search summary { min-width:44px; justify-content:center; }
 body.frontpage.wild-home-redesign #header .wild-header-search summary > span {
   position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap;
 }
}

body.frontpage.wild-home-redesign #header.header-default nav ul.gva_menu.gva_menu_main > li > a { text-shadow:0 1px 3px #000,0 2px 8px #000b !important; box-shadow:0 2px 7px #0003; }
body.frontpage.wild-home-redesign #header.header-default #wildisrael-mobile-navigation.mobile-menu-designed .mobile-menu-link { text-shadow:none !important; }

/* The homepage uses photo-overlay links instead of the legacy image buttons. */
@media (min-width: 1400px) {
 body.frontpage.wild-home-redesign #header.header-default .header-main .content-inner { grid-template-columns:1fr auto 1fr; row-gap:6px; padding-block:12px !important; }
 body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner .branding { grid-column:2 !important; grid-row:1 !important; }
 body.frontpage.wild-home-redesign #header.header-default .wild-header-account { grid-column:3 !important; grid-row:1 !important; }
 body.frontpage.wild-home-redesign #header.header-default .wild-header-search { grid-column:1 !important; grid-row:1 !important; justify-self:start; }
 body.frontpage.wild-home-redesign #header.header-default .header-main .header-main-inner .header-inner { grid-column:1 / -1 !important; grid-row:2 !important; }
 body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main { display:flex !important; flex-wrap:wrap !important; justify-content:center !important; gap:5px !important; }
 body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main > li { flex:0 1 auto !important; width:auto !important; }
 body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main > li > a { min-width:0 !important; min-height:36px !important; height:auto !important; padding:7px 10px !important; border:0 !important; border-radius:5px !important; background:rgba(16,46,36,.2) !important; color:#fff !important; font-size:14px !important; text-shadow:0 1px 3px #000,0 2px 8px #000b !important; box-shadow:0 2px 7px #0003 !important; }
 body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main > li > a::after { display:none !important; }
 body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main > li > a:hover { background:rgba(40,101,68,.35) !important; }
 body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-header { height:520px !important; min-height:520px !important; }
}
.wild-language-label { display:inline-block; unicode-bidi:isolate; white-space:nowrap; }

/* Submenu typography follows the top-level labels; retain every submenu color. */
body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main .sub-menu a {
  font-family:Poppins,sans-serif !important;
  font-size:18px !important;
  font-weight:600 !important;
  font-style:normal !important;
}
body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main .sub-menu .mobile-menu-local {
  font:inherit !important;
}
body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main .sub-menu .mobile-menu-latin {
  font-family:inherit !important;
  font-style:normal !important;
}
@media(min-width:1400px) {
 body.frontpage.wild-home-redesign[class][class][class] #header.header-default #wildisrael-mobile-navigation ul.gva_menu.gva_menu_main .sub-menu a { font-size:14px !important; }
}

/* Fill the mobile masthead even when the slide editor requests contain.
   The shared photo also sits behind the logo and report action. */
@media (max-width: 991.98px) {
  body.frontpage.wild-home-redesign #block-wildisrael-gaviassliderlayerhome .wild-fast-photo {
    object-fit: cover !important;
    object-position: center !important;
  }
}
