/* site-nav-extras.css — added 2026-07-21 to host the Programming → Online
 * Coaching submenu across every site page's nav. Kept in a separate file so
 * the Webflow-generated strength-society.webflow.css stays untouched (and
 * re-exportable). Load AFTER strength-society.webflow.css so declarations win.
 *
 * DESKTOP: hover on the Programming <li> reveals a small dark panel below it
 * with the "Online Coaching" sub-link. Uses focus-within for keyboard users.
 * MOBILE (≤991, Webflow's tablet breakpoint where the hamburger takes over):
 * the submenu falls back to a flat nested list so it's always visible inside
 * the opened hamburger drawer (no click-to-toggle to build/maintain).
 */

.nav-item-has-sub { position: relative; }

.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #0b0b0b;
  border: 1px solid #282828;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 20;
}

.nav-item-has-sub:hover > .nav-submenu,
.nav-item-has-sub:focus-within > .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-submenu li { margin: 0; }

.nav-sublink {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  text-decoration: none;
  font-family: Nord, Verdana, sans-serif;
  font-size: 14px;
  letter-spacing: .25px;
  line-height: 20px;
  transition: background .15s ease, color .15s ease;
}
.nav-sublink:hover,
.nav-sublink:focus { background: #1d1d1d; color: #ffffff; outline: 0; }
.nav-sublink.is-current { color: #9c9c9c; }

/* Small caret next to the Programming label so users know a menu is there. */
.nav-item-has-sub > .nav-link::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.nav-item-has-sub:hover > .nav-link::after,
.nav-item-has-sub:focus-within > .nav-link::after {
  transform: translateY(0) rotate(225deg);
}

/* Mobile / tablet — Webflow's hamburger unfolds the nav vertically. On mobile
 * we want PROGRAMMING to behave as an accordion: tap to expand its sublinks,
 * tap again to collapse. Toggle is wired in js/site-nav-extras.js.
 *
 * Text color note: Webflow's [data-nav-menu-open] panel is a light background
 * (#C8C8C8 default; SS's overrides keep it light) — its own .nav-link becomes
 * color:#000 at mobile breakpoints. Sublinks must also be dark or they render
 * as invisible white-on-white. */
@media (max-width: 991px) {
  /* Main nav items left-aligned inside the hamburger panel. */
  .nav-menu-block {
    padding-inline: 28px !important;
    margin: 0 !important;
    list-style: none;
  }
  .nav-menu-block > li,
  .nav-menu-block > li.nav-item-has-sub {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    list-style: none;
  }
  .nav-menu-block > li > .nav-link {
    display: block !important;
    padding: 10px 0 !important;
    text-align: left !important;
  }
  /* Submenu — collapsed by default, revealed under PROGRAMMING with an
     indent + left accent bar so it reads as a nested dropdown. */
  .nav-submenu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    border: 0;
    border-left: 2px solid rgba(0,0,0,.12);
    box-shadow: none;
    padding: 4px 0 4px 16px;
    margin: 0 0 4px 8px;
    transform: none;
    transition: none;
    min-width: 0;
    width: auto;
    list-style: none;
    text-align: left;
  }
  .nav-item-has-sub.is-open > .nav-submenu { display: block; }
  .nav-submenu li { display: block; margin: 0; padding: 0; list-style: none; }
  .nav-sublink {
    display: block;
    color: #000;
    padding: 6px 0;
    font-size: 13px;
    letter-spacing: .3px;
    text-transform: uppercase;
    text-align: left;
    opacity: .72;
  }
  .nav-sublink:hover,
  .nav-sublink:focus,
  .nav-sublink.is-current { color: #000; opacity: 1; background: transparent; }
  /* Caret sits inline after PROGRAMMING; rotates when open. */
  .nav-item-has-sub > .nav-link::after { display: inline-block; }
  .nav-item-has-sub.is-open > .nav-link::after { transform: translateY(0) rotate(225deg); }
}

/* bp-nav-shrink-mobile — Webflow ships the mobile nav at 140px tall
 * (20px container padding + 100px wrapper), which crowds titles below
 * it and forces heavy top-padding on every hero. Shrink to ~64px on
 * mobile: 8px container pad + wrapper hugs its content. */
@media (max-width: 991px) {
  .navbar-logo-center-container { padding: 8px 16px !important; }
  .navbar-wrapper-three { height: auto !important; min-height: 48px !important; }
  .navbar-brand-three img { max-height: 40px !important; width: auto !important; }
  .menu-button.w-nav-button {
    padding: 0 !important;
    width: 44px !important;
    height: 44px !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  /* bp-hamburger-x — turn the 3-line hamburger into an X when open.
   * Repurpose Webflow's .icon-2 as the middle bar; ::before / ::after
   * on the button become the top + bottom bars. On .w--open (Webflow
   * toggles this class), rotate top/bottom 45°/-45° and fade the
   * middle out. Bars are white so they read on the dark nav bg;
   * darken when the light dropdown panel opens. */
  .menu-button.w-nav-button .icon-2.w-icon-nav-menu,
  .menu-button.w-nav-button .icon-2 {
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    background: #fff !important;
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    margin: 0 !important;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity .18s ease, background-color .18s ease;
  }
  .menu-button.w-nav-button::before,
  .menu-button.w-nav-button::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 22px; height: 2px;
    background: #fff;
    transition: transform .22s ease, background-color .18s ease;
  }
  /* X stays white and the button loses Webflow's grey open-state bg
   * so the X reads cleanly on the black nav strip. */
  .menu-button.w-nav-button.w--open { background: transparent !important; }
  .menu-button.w-nav-button.w--open .icon-2,
  .menu-button.w-nav-button.w--open::before,
  .menu-button.w-nav-button.w--open::after { background: #fff !important; }
  .menu-button.w-nav-button::before { transform: translate(-50%, calc(-50% - 7px)); }
  .menu-button.w-nav-button::after  { transform: translate(-50%, calc(-50% + 7px)); }
  .menu-button.w-nav-button.w--open .icon-2 { opacity: 0 !important; }
  .menu-button.w-nav-button.w--open::before { transform: translate(-50%, -50%) rotate(45deg); }
  .menu-button.w-nav-button.w--open::after  { transform: translate(-50%, -50%) rotate(-45deg); }
}

/* bp-experience-icon-center — the Dripping Sweat water-droplet icon
 * rendered left-of-center in its column because the desktop .flex-left
 * row cascade left-aligns children; when the row breaks to a single
 * column on mobile (via .tablet-full on index or ._100 on sessions), the
 * icons kept the left alignment. Center every experience-icon-container
 * icon on mobile regardless of variant. */
@media (max-width: 991px) {
  .experience-icon-container { text-align: center !important; }
  .experience-icon-container .icon-container {
    text-align: center !important;
    display: block !important;
    margin: 0 auto !important;
    width: 100% !important;
  }
  .experience-icon-container .icon-container img._3up-image {
    display: block !important;
    margin: 0 auto !important;
  }
}
