/* ============================================================
   AFEBAS — 01-layout-header-footer.css
   Topbar, Header, Navigation, Ticker, Layout, Footer
   ============================================================ */

/* ───────────────────────────────────────────────────────────
   TOP BAR
   ─────────────────────────────────────────────────────────── */
.afb-topbar{
  background:var(--afb-dark);
  border-bottom:2px solid var(--afb-primary);
  height:32px; min-height:32px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 clamp(14px,2.5vw,34px);
  font-size:11px; color:var(--afb-muted);
  position:relative; z-index:200;
}
.afb-topbar__info{ display:flex; align-items:center; gap:20px; }
.afb-topbar__info span{ display:flex; align-items:center; gap:5px; white-space:nowrap; }
.afb-topbar__dot{
  width:6px; height:6px; border-radius:50%;
  background:var(--afb-accent);
  animation:afb-blink 2s ease-in-out infinite;
}
@keyframes afb-blink{ 0%,100%{opacity:1} 50%{opacity:.25} }
.afb-topbar__socials{ display:flex; align-items:center; gap:6px; }
.afb-topbar__social{
  width:22px; height:22px; border-radius:4px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.07);
  display:inline-flex; align-items:center; justify-content:center;
  font-size:10px; font-weight:700; color:var(--afb-muted);
  transition:all var(--afb-transition);
}
.afb-topbar__social:hover{
  background:var(--afb-primary);
  border-color:var(--afb-primary);
  color:var(--afb-white);
}

/* ───────────────────────────────────────────────────────────
   HEADER & NAV
   ─────────────────────────────────────────────────────────── */
.afb-header{
  background:var(--afb-dark);
  position:sticky; top:0; z-index:100;
  box-shadow:0 4px 24px rgba(0,0,0,0.45);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.afb-header__inner{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 clamp(14px,2.5vw,34px);
  height:72px; gap:16px;
}
.afb-header__brand{
  display:flex; align-items:center;
  flex-shrink:0; text-decoration:none;
  flex: 1 1 auto;
  min-width: 0;
  opacity: 1 !important;
}
.afb-header__brand *{ opacity: 1; }
.afb-header__brand .custom-logo-link{ display:flex; align-items:center; }
.afb-header__brand .custom-logo,
.afb-header__brand img{
  max-height:44px !important;
  width:auto !important;
  max-width:240px !important;
  object-fit:contain !important;
  border-radius:6px !important;
}

/* Tagline */
.afb-logo-tagline{
  margin-left:14px; padding-left:14px;
  border-left:1px solid rgba(255,255,255,0.10);
  display:flex; flex-direction:column;
}
.afb-logo-tagline__l1{
  font-family:var(--afb-font-display);
  font-weight:800; font-size:14px;
  letter-spacing:.12em; text-transform:uppercase;
  color:var(--afb-white); line-height:1;
}
.afb-logo-tagline__l2{
  font-size:9px; letter-spacing:.10em; text-transform:uppercase;
  color:rgba(255,255,255,0.55);
  font-weight:500; margin-top:3px; line-height:1;
}

/* Saison sous la baseline */
.afb-header__season{
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.1;
  color:rgba(255,255,255,.85) !important;
  opacity:1 !important;
}

/* Navigation */
.afb-nav{ display:flex; align-items:center; gap:6px; position:relative; min-width:0; }
.afb-nav__list{ display:flex; align-items:center; gap:2px; margin:0; padding:0; }
.afb-nav__list li{ position:relative; }
.afb-nav__list li a{
  font-weight:800; font-size:11.5px;
  text-transform:uppercase; letter-spacing:.07em;
  color:rgba(255,255,255,0.72);
  padding:7px 11px; border-radius:6px;
  display:block; transition:all var(--afb-transition);
  white-space:nowrap;
}
.afb-nav__list li a:hover{
  color:var(--afb-accent);
  background:rgba(255,255,255,0.06);
}
.afb-nav__list li.current-menu-item>a,
.afb-nav__list li.current_page_item>a{
  color:var(--afb-accent);
  background:rgba(245,196,0,0.10);
}

/* Sous-menus niveau 2 */
.afb-nav__list ul{
  display:none; position:absolute; top:100%; left:0; z-index:200;
  background:var(--afb-dark-mid);
  min-width:210px;
  border:1px solid rgba(255,255,255,0.08);
  border-top:2px solid var(--afb-accent);
  border-radius:0 0 10px 10px;
  box-shadow:0 16px 40px rgba(0,0,0,0.5);
  padding:6px 0;
}
.afb-nav__list li:hover>ul{ display:block; }

.afb-nav__list ul li a{
  font-size:11px !important;
  color:rgba(255,255,255,0.70) !important;
  padding:9px 16px !important;
  border-radius:0 !important;
  border-bottom:1px solid rgba(255,255,255,0.05);
}
.afb-nav__list ul li:last-child a{ border-bottom:none; }
.afb-nav__list ul li a:hover{
  background:rgba(245,196,0,0.12) !important;
  color:var(--afb-accent) !important;
}

/* Sous-menus niveau 3 — flyout à droite */
@media (hover:hover) and (pointer:fine){
  #masthead li{ position:relative; }
  #masthead ul.sub-menu{ z-index:9999 !important; }
  #masthead ul.sub-menu li > ul.sub-menu{
    display:none;
    position:absolute;
    top:0 !important;
    left:100% !important;
    right:auto !important;
    margin-left:0;
    z-index:10000 !important;
  }
  #masthead ul.sub-menu li:hover > ul.sub-menu{ display:block; }
}

/* CTA */
.afb-nav__cta{
  background:var(--afb-primary);
  color:var(--afb-white) !important;
  font-weight:900; font-size:11.5px;
  text-transform:uppercase; letter-spacing:.07em;
  padding:8px 16px; border-radius:7px;
  border:1px solid rgba(255,255,255,0.12);
  transition:background var(--afb-transition), transform var(--afb-transition);
  white-space:nowrap;
}
.afb-nav__cta:hover{
  background:var(--afb-primary-mid);
  transform:translateY(-1px);
}

/* Burger */
.afb-nav__toggle{
  display:none;
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
  border:0;
  padding:0;
  margin-left:8px;
  width:26px;
  min-width:26px;
  height:18px;
  flex:0 0 auto;
  flex-direction:column;
  justify-content:space-between;
  align-items:stretch;
  color:var(--afb-white);
  line-height:0;
  cursor:pointer;
}
.afb-nav__toggle span{
  display:block;
  width:100%;
  min-width:100%;
  height:2px;
  min-height:2px;
  flex:0 0 2px;
  background:var(--afb-white);
  border-radius:2px;
  opacity:1;
  transform:none;
  transition:all var(--afb-transition);
}

.afb-nav__submenu-toggle{ display:none; }

/* Header mobile layout */
.afb-header__inner--top{
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.afb-header__inner--top .afb-header__brand{
  flex:1 1 auto;
  min-width:0;
}
.afb-header__inner--top .custom-logo-link,
.afb-header__inner--top .custom-logo{
  max-width:100%;
}
.afb-header__inner--top .afb-nav__toggle{
  flex:0 0 auto;
  margin-left:auto;
}

/* ───────────────────────────────────────────────────────────
   TICKER
   ─────────────────────────────────────────────────────────── */
.afb-ticker{
  background:var(--afb-primary);
  border-top:2px solid rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.10);
  display:flex; align-items:center;
  height:40px; overflow:hidden;
  padding:0 16px;
  gap:10px;
}
.afb-ticker__label{
  flex:0 0 auto;
  padding:6px 12px; line-height:1;
  font-family:var(--afb-font-display);
  font-weight:900; font-size:12px;
  text-transform:uppercase; letter-spacing:.08em;
  border-radius:999px;
  background:var(--afb-accent);
  border:1px solid rgba(0,0,0,0.10);
  color:var(--afb-primary);
  white-space:nowrap;
}
.afb-ticker__track{
  flex:1 1 auto;
  overflow:hidden;
  min-width:0;
}
.afb-ticker__inner{
  display:inline-flex; align-items:center;
  white-space:nowrap; will-change:transform;
  animation:afbTickerScroll 120s linear infinite;
}
.afb-ticker:hover .afb-ticker__inner{ animation-play-state:paused; }
.afb-ticker__item{
  display:inline-flex; align-items:center;
  padding:0 34px; font-weight:600; font-size:14px;
  color:rgba(255,255,255,0.88);
}
.afb-ticker__item strong{ color:var(--afb-accent); font-weight:900; }
.afb-ticker__cat{
  background:rgba(0,0,0,0.15); color:var(--afb-accent);
  font-size:10px; font-weight:900; padding:2px 7px;
  border-radius:999px; text-transform:uppercase; letter-spacing:.05em;
}
@keyframes afbTickerScroll{
  0%{ transform:translate3d(0,0,0); }
  100%{ transform:translate3d(-50%,0,0); }
}

/* ───────────────────────────────────────────────────────────
   LAYOUT
   ─────────────────────────────────────────────────────────── */
.afb-container{
  width:100%; max-width:none;
  margin:0 auto;
  padding:0 clamp(14px,2.5vw,34px);
}
.afb-content-area{ padding:32px 0; }
.afb-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:24px;
  align-items:start;
}
.afb-layout.has-sidebar{
  grid-template-columns:minmax(0,1fr) minmax(280px,360px);
}
.afb-main,.afb-sidebar{ min-width:0; }

.afb-section{ margin-bottom:32px; }
.afb-section-head{
  display:flex; align-items:center; gap:10px;
  margin-bottom:16px; padding-bottom:12px;
  border-bottom:1px solid var(--afb-border);
  flex-wrap:wrap;
}
.afb-section-head__bar{ width:4px; height:20px; background:var(--afb-primary); border-radius:2px; flex-shrink:0; }
.afb-section-head__title{
  font-family:var(--afb-font-display);
  font-weight:900; font-size:16px;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--afb-primary);
}
.afb-section-head__link{ font-size:12px; color:var(--afb-primary); font-weight:900; margin-left:auto; }

/* ───────────────────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────────────────── */
.afb-footer{
  background:var(--afb-dark);
  color:rgba(255,255,255,0.55);
  border-top:3px solid var(--afb-primary);
}
.afb-footer__colorbar{
  height:3px;
  background:linear-gradient(90deg,var(--afb-primary) 0%, var(--afb-accent) 55%, var(--afb-primary-mid) 100%);
}
.afb-footer__grid{
  width:100%; margin:0 auto 18px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:36px;
  padding:26px clamp(14px,2.5vw,34px);
}
.afb-footer__logo .custom-logo-link{ display:inline-block; max-width:100%; }
.afb-footer__logo .custom-logo,
.afb-footer__logo img{
  max-height:44px;
  max-width:min(260px, 75vw);
  width:auto; height:auto;
  opacity:.92; object-fit:contain;
}
.afb-footer__bottom{
  width:100%;
  padding:16px clamp(14px,2.5vw,34px) 20px;
  border-top:1px solid rgba(255,255,255,0.08);
  display:flex; justify-content:space-between; align-items:center;
  font-size:11px; flex-wrap:wrap; gap:8px;
}

/* Footer legacy AFEBAS */
.afebas-footer{
  background:#0b2a5b; color:#fff;
  width:100%; border-top:6px solid #ffd100;
}
.afebas-footer-wrapper{ width:100%; }
.afebas-footer-inner{ max-width:1300px; margin:0 auto; padding:44px 22px; }
.afebas-footer-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr;
  gap:34px; align-items:start;
}
.footer-logo{ max-width:220px; height:auto; display:block; margin:0 0 14px 0; }
.footer-title{
  font-size:15px; margin:6px 0 14px; font-weight:700;
  color:#ffd100; text-transform:uppercase; letter-spacing:.6px;
}
.footer-description,.footer-mentions{ font-size:14px; line-height:1.7; opacity:.92; }
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links li{ margin:0 0 10px; }
.footer-links li a,.footer-mentions a{
  color:rgba(255,255,255,.92); text-decoration:none;
  transition:color .15s ease, transform .15s ease, opacity .15s ease;
  display:inline-block;
}
.footer-links li a:hover,.footer-mentions a:hover{
  color:#ffd100; transform:translateX(2px); opacity:1;
}
.footer-socials{
  display:flex; gap:12px; align-items:center; margin:10px 0 14px;
}
.footer-socials .rs-btn{
  width:40px; height:40px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,209,0,.55);
  background:rgba(255,255,255,.06); color:#ffffff;
  transition:background .15s ease, transform .15s ease, color .15s ease, border-color .15s ease;
}
.footer-socials .rs-btn svg{ width:18px; height:18px; fill:currentColor; display:block; }
.footer-socials .rs-btn:hover{
  background:#ffd100; border-color:#ffd100; color:#0b2a5b;
  transform:translateY(-1px);
}
.footer-mentions{ margin-top:10px; opacity:.85; }

/* ───────────────────────────────────────────────────────────
   COULEURS MENU — Individuelles (vert) / Équipes (orange)
   ─────────────────────────────────────────────────────────── */
#masthead #menu-item-14357 > a,
#masthead #menu-item-14357 > a:link,
#masthead #menu-item-14357 > a:visited,
#masthead li.current-menu-ancestor#menu-item-14357 > a,
#masthead li.current-menu-item#menu-item-14357 > a,
#masthead li.current-menu-parent#menu-item-14357 > a{
  color:#81c784 !important;
  border-bottom:2px solid #4caf50 !important;
}
#masthead #menu-item-14357 > a:hover{ background:rgba(76,175,80,0.12) !important; }
#masthead #menu-item-14357 ul.sub-menu{ border-top:3px solid #4caf50 !important; }
#masthead #menu-item-14357 ul.sub-menu li a{ color:#81c784 !important; }
#masthead #menu-item-14357 ul.sub-menu li a:hover{
  background:rgba(76,175,80,0.12) !important; color:#a5d6a7 !important;
}

#masthead #menu-item-14358 > a,
#masthead #menu-item-14358 > a:link,
#masthead #menu-item-14358 > a:visited,
#masthead li.current-menu-ancestor#menu-item-14358 > a,
#masthead li.current-menu-item#menu-item-14358 > a,
#masthead li.current-menu-parent#menu-item-14358 > a{
  color:#ff9800 !important;
  border-bottom:2px solid #e65100 !important;
}
#masthead #menu-item-14358 > a:hover{ background:rgba(230,81,0,0.12) !important; }
#masthead #menu-item-14358 ul.sub-menu{ border-top:3px solid #e65100 !important; }
#masthead #menu-item-14358 ul.sub-menu li a{ color:#ff9800 !important; }
#masthead #menu-item-14358 ul.sub-menu li a:hover{
  background:rgba(230,81,0,0.12) !important; color:#ffb74d !important;
}

/* ───────────────────────────────────────────────────────────
   RESPONSIVE Nav / Layout / Footer
   ─────────────────────────────────────────────────────────── */
@media (max-width:1024px){
  .afb-layout{ grid-template-columns:1fr; }
  .afb-sidebar{ width:100%; max-width:100%; }
}
@media (max-width:900px){
  .afb-footer__grid{ grid-template-columns:1fr 1fr; }
  .afebas-footer-inner{ padding:34px 18px; }
  .afebas-footer-grid{ grid-template-columns:1fr; gap:26px; }
  .footer-logo{ margin:0 auto 12px; }
  .footer-column{ text-align:center; }
  .footer-socials{ justify-content:center; }
  .footer-links li a:hover{ transform:none; }
}
@media (max-width:768px){
  .afb-header{
    overflow:visible;
  }
  .afb-header__inner{
    height:auto;
    min-height:60px;
    padding-left:16px;
    padding-right:16px;
  }
  .afb-header__inner--top{
    min-height:72px;
  }
  .afb-header__inner--nav{
    min-height:0;
    height:0;
    padding-top:0;
    padding-bottom:0;
  }
  .afb-logo-tagline{ display:none; }
  .afb-nav{
    width:100%;
    justify-content:flex-end;
  }
  .afb-nav__toggle{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    width:34px;
    min-width:34px;
    height:24px;
    margin-left:auto;
    padding:0;
    position:static;
    -webkit-appearance:none;
    appearance:none;
    visibility:visible !important;
    opacity:1 !important;
    z-index:20;
  }
  .afb-nav__toggle span{
    display:block !important;
    width:100% !important;
    min-width:100% !important;
    height:2px !important;
    min-height:2px !important;
    flex:0 0 2px !important;
    background:var(--afb-white) !important;
    opacity:1 !important;
  }
  .afb-nav .afb-nav__list{ display:none; }
  .afb-nav .afb-nav__list.is-open{
    display:flex;
    flex-direction:column;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--afb-dark-mid);
    border-top:2px solid var(--afb-accent);
    padding:8px 0 14px;
    box-shadow:0 12px 34px rgba(0,0,0,0.55);
    z-index:999;
    max-height:calc(100vh - 72px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .afb-nav .afb-nav__list > li{
    width:100%;
  }
  .afb-nav .afb-nav__list li a{
    padding:12px 16px;
    font-size:12px;
    white-space:normal;
  }
  .afb-nav .afb-nav__list ul{
    display:none;
    position:static;
    min-width:0;
    border:none;
    border-top:none;
    border-radius:0;
    box-shadow:none;
    background:rgba(255,255,255,0.03);
    padding:0 0 6px 0;
  }
  .afb-nav .afb-nav__list li.is-submenu-open > ul{
    display:block;
  }
  .afb-nav .afb-nav__list ul li a{
    padding-left:28px !important;
  }
  .afb-nav .afb-nav__list ul ul li a{
    padding-left:40px !important;
  }
  .afb-nav__submenu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:0;
    right:0;
    width:44px;
    height:44px;
    color:rgba(255,255,255,0.86);
    border:none;
    background:transparent;
    padding:0;
    z-index:2;
    -webkit-appearance:none;
    appearance:none;
  }
  .afb-nav__submenu-toggle span{
    position:relative;
    display:block;
    width:12px;
    height:12px;
  }
  .afb-nav__submenu-toggle span::before,
  .afb-nav__submenu-toggle span::after{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:12px;
    height:2px;
    background:currentColor;
    border-radius:2px;
    transform:translate(-50%, -50%);
  }
  .afb-nav__submenu-toggle span::after{
    transform:translate(-50%, -50%) rotate(90deg);
  }
  .afb-nav .afb-nav__list li.is-submenu-open > .afb-nav__submenu-toggle span::after{
    display:none;
  }
  .afb-nav .afb-nav__list li.menu-item-has-children > a{
    padding-right:56px;
  }
  .afb-nav__cta{ display:none; }
  .afb-ticker{ display:none; }

  .afb-header--burger-float{ position:sticky; }
  .afb-header__inner--top{ padding-right:16px; }
  .afb-header--burger-float .afb-nav__toggle{
    position:static;
    right:auto;
    top:auto;
    transform:none;
    z-index:50;
  }
}
@media (min-width:1121px){
  .afb-nav__toggle{ display:none; }
  .afb-nav__submenu-toggle{ display:none !important; }
  .afb-header .afb-header__inner > .afb-nav__toggle{ display:none; }
  .afb-header--burger-float .afb-nav__toggle{ display:none; }
  .afb-header__inner--top .afb-nav__toggle{ display:none; }

  .afb-layout{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:100% !important;
    max-width:100% !important;
  }
  .afb-layout.has-sidebar{
    grid-template-columns:minmax(0,1fr) minmax(280px,360px) !important;
  }
}


@media (max-width:520px){
  .afb-footer__grid{ grid-template-columns:1fr; }
  .afb-footer__logo .custom-logo,
  .afb-footer__logo img{ max-width:min(190px, 75vw); }
}



/* ───────────────────────────────────────────────────────────
   HOTFIX iPhone / Safari ancien — burger visible
   ─────────────────────────────────────────────────────────── */
@supports (-webkit-touch-callout:none){
  @media (max-width:768px){
    .afb-header__inner--top .afb-nav__toggle{
      display:flex !important;
      visibility:visible !important;
      opacity:1 !important;
    }
    .afb-header__inner--top .afb-nav__toggle span{
      display:block !important;
      width:100% !important;
      min-width:100% !important;
      height:2px !important;
      min-height:2px !important;
      flex:0 0 2px !important;
      background:#ffffff !important;
      border-radius:2px !important;
      opacity:1 !important;
    }
  }
}

@media print{
  .afb-topbar,.afb-ticker,.afb-hero,.afb-nav__cta{ display:none !important; }
}
@media (max-width:1120px){
  .afb-nav__list{
    display:none;
  }

  .afb-nav__list.is-open{
    display:flex !important;
    flex-direction:column;
  }

  .afb-nav__list li.is-submenu-open > ul.sub-menu{
    display:block !important;
  }

  .afb-nav__submenu-toggle{
    display:flex !important;
    position:absolute;
    top:8px;
    right:10px;
    width:34px;
    height:34px;
    align-items:center;
    justify-content:center;
    border:0;
    background:transparent;
    color:#fff;
    z-index:2;
  }

  .afb-nav__submenu-toggle span{
    position:relative;
    display:block;
    width:12px;
    height:12px;
  }

  .afb-nav__submenu-toggle span::before,
  .afb-nav__submenu-toggle span::after{
    content:"";
    position:absolute;
    background:currentColor;
    border-radius:2px;
  }

  .afb-nav__submenu-toggle span::before{
    top:5px;
    left:0;
    width:12px;
    height:2px;
  }

  .afb-nav__submenu-toggle span::after{
    top:0;
    left:5px;
    width:2px;
    height:12px;
  }

  .afb-nav__list li.is-submenu-open > .afb-nav__submenu-toggle span::after{
    display:none;
  }

  .afb-nav__list li.menu-item-has-children{
    position:relative;
  }

  .afb-nav__list li.menu-item-has-children > a{
    padding-right:48px !important;
  }
}

/* ============================================================
   FIX FINAL MENU TABLETTE / PETIT DESKTOP
   À laisser tout en bas du fichier
   ============================================================ */
@media (max-width:1120px){
  .afb-header{
    overflow:visible;
  }

  .afb-header__inner{
    height:auto;
    min-height:60px;
    padding-left:16px;
    padding-right:16px;
  }

  .afb-header__inner--top{
    min-height:72px;
  }

  .afb-header__inner--nav{
    min-height:0;
    height:0;
    padding-top:0;
    padding-bottom:0;
  }

  .afb-logo-tagline{
    display:none !important;
  }

  .afb-nav{
    width:100%;
    justify-content:flex-end;
  }

  .afb-nav__toggle,
  .afb-header .afb-header__inner > .afb-nav__toggle,
  .afb-header__inner--top .afb-nav__toggle{
    display:flex !important;
    align-items:center;
    justify-content:space-between;
    width:34px;
    min-width:34px;
    height:24px;
    margin-left:auto;
    padding:0;
    position:static;
    -webkit-appearance:none;
    appearance:none;
    visibility:visible !important;
    opacity:1 !important;
    z-index:50;
  }

  .afb-nav__toggle span{
    display:block !important;
    width:100% !important;
    min-width:100% !important;
    height:2px !important;
    min-height:2px !important;
    flex:0 0 2px !important;
    background:var(--afb-white) !important;
    opacity:1 !important;
    border-radius:2px !important;
  }

  .afb-nav .afb-nav__list{
    display:none;
  }

  .afb-nav .afb-nav__list.is-open{
    display:flex !important;
    flex-direction:column;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:var(--afb-dark-mid);
    border-top:2px solid var(--afb-accent);
    padding:8px 0 14px;
    box-shadow:0 12px 34px rgba(0,0,0,0.55);
    z-index:999;
    max-height:calc(100vh - 72px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }

  .afb-nav .afb-nav__list > li{
    width:100%;
  }

  .afb-nav .afb-nav__list li a{
    padding:12px 16px;
    font-size:12px;
    white-space:normal;
  }

.afb-nav .afb-nav__list ul{
  display:none !important;
  position:static;
  min-width:0;
  border:none;
  border-top:none;
  border-radius:0;
  box-shadow:none;
  background:rgba(255,255,255,0.03);
  padding:0 0 6px 0;
}

.afb-nav .afb-nav__list li:hover > ul,
.afb-nav .afb-nav__list li:hover > ul.sub-menu{
  display:none !important;
}

.afb-nav .afb-nav__list li.is-submenu-open > ul,
.afb-nav .afb-nav__list li.is-submenu-open > ul.sub-menu{
  display:block !important;
}

.afb-nav .afb-nav__list li.is-submenu-open > ul,
.afb-nav .afb-nav__list li.is-submenu-open > ul.sub-menu{
  display:block !important;
}

  .afb-nav__submenu-toggle{
    display:flex !important;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:0;
    right:0;
    width:44px;
    height:44px;
    color:rgba(255,255,255,0.86);
    border:none;
    background:transparent;
    padding:0;
    z-index:2;
    -webkit-appearance:none;
    appearance:none;
  }

  .afb-nav__submenu-toggle span{
    position:relative;
    display:block;
    width:12px;
    height:12px;
  }

  .afb-nav__submenu-toggle span::before,
  .afb-nav__submenu-toggle span::after{
    content:'';
    position:absolute;
    top:50%;
    left:50%;
    width:12px;
    height:2px;
    background:currentColor;
    border-radius:2px;
    transform:translate(-50%, -50%);
  }

  .afb-nav__submenu-toggle span::after{
    transform:translate(-50%, -50%) rotate(90deg);
  }

  .afb-nav .afb-nav__list li.is-submenu-open > .afb-nav__submenu-toggle span::after{
    display:none;
  }

  .afb-nav .afb-nav__list li.menu-item-has-children > a{
    padding-right:56px;
  }

  .afb-nav__cta,
  .afb-ticker{
    display:none;
  }
}

