/* Production mobile-menu accordion and featured Load More treatment. */

@media (max-width: 991px) {
  /* Near-opaque mobile menu: page content remains only faintly perceptible. */
  body.s2d26-menu-featured-probe .s2d26-header.is-menu-open .s2d26-header__nav {
    background: rgba(8, 13, 14, .98) !important;
  }

  html:not(.night-mode):not([data-theme="dark"]) body.s2d26-menu-featured-probe .s2d26-header.is-menu-open .s2d26-header__nav {
    background: rgba(249, 252, 252, .96) !important;
  }

  /* Desktop hover pills stretch around an expanded mobile item and become a
     giant ellipse. Mobile accordion rows do not need that decoration. */
  body.s2d26-menu-featured-probe .s2d26-header--hover-3 .s2d26-header__menu > li::before,
  body.s2d26-menu-featured-probe .s2d26-header--hover-3 .s2d26-header__menu > li::after {
    content: none !important;
    display: none !important;
  }

  body.s2d26-menu-featured-probe .s2d26-header__menu li.s2d26-has-collapsible-submenu {
    position: relative !important;
  }

  body.s2d26-menu-featured-probe .s2d26-header__menu li.s2d26-has-collapsible-submenu > a {
    padding-right: 48px !important;
  }

  body.s2d26-menu-featured-probe .s2d26-submenu-toggle {
    position: absolute;
    z-index: 4;
    top: 0;
    right: 0;
    display: grid !important;
    place-items: center;
    width: 44px;
    height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--s2d26-header-fg-soft) !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
  }

  body.s2d26-menu-featured-probe .s2d26-submenu-toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .18s ease;
  }

  body.s2d26-menu-featured-probe .s2d26-submenu-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  body.s2d26-menu-featured-probe .s2d26-header__menu li.s2d26-has-collapsible-submenu > .sub-menu,
  body.s2d26-menu-featured-probe .s2d26-header__menu li.s2d26-has-collapsible-submenu > .children {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.s2d26-menu-featured-probe .s2d26-header__menu li.s2d26-has-collapsible-submenu.is-submenu-open > .sub-menu,
  body.s2d26-menu-featured-probe .s2d26-header__menu li.s2d26-has-collapsible-submenu.is-submenu-open > .children {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body.s2d26-menu-featured-probe .s2d26-header__menu .sub-menu li.s2d26-has-collapsible-submenu > .sub-menu,
  body.s2d26-menu-featured-probe .s2d26-header__menu .children li.s2d26-has-collapsible-submenu > .children {
    padding-right: 0 !important;
  }
}

@media (min-width: 992px) {
  body.s2d26-menu-featured-probe .s2d26-submenu-toggle {
    display: none !important;
  }
}

body.s2d26-menu-featured-probe .s2d26-featured-more {
  display: flex;
  justify-content: center;
  clear: both;
  width: 100%;
  padding: 14px 0 0;
}

body.s2d26-menu-featured-probe .s2d26-featured-more__button {
  appearance: none;
  display: inline-block;
  margin: 0;
  padding: 4px 1px 3px !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(103, 221, 215, .42) !important;
  border-radius: 0 !important;
  color: rgba(236, 244, 245, .72) !important;
  background: transparent !important;
  box-shadow: none !important;
  font: 650 11px/1.2 var(--s2d26-menu-font, "Trebuchet MS", "Segoe UI", Arial, sans-serif) !important;
  letter-spacing: .065em;
  text-transform: uppercase;
  cursor: pointer;
}

body.s2d26-menu-featured-probe .s2d26-featured-more__button:hover,
body.s2d26-menu-featured-probe .s2d26-featured-more__button:focus-visible {
  color: var(--s2d26-accent, #67ddd7) !important;
  border-bottom-color: currentColor !important;
  outline: 0;
}

body.s2d26-menu-featured-probe .s2d26-featured-more__button[disabled] {
  opacity: .48;
  cursor: wait;
}

html:not(.night-mode):not([data-theme="dark"]) body.s2d26-menu-featured-probe .s2d26-featured-more__button {
  color: rgba(20, 38, 44, .68) !important;
}
