.stories-menu {
  position: relative;
  line-height: normal;
}

.stories-menu > summary {
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.stories-menu > summary::-webkit-details-marker {
  display: none;
}

.stories-menu > summary::after {
  content: "";
  display: inline-block;
  width: .38em;
  height: .38em;
  margin-inline-start: .4em;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  vertical-align: .22em;
  transform: rotate(45deg);
}

.stories-menu[open] > summary::after {
  vertical-align: .03em;
  transform: rotate(225deg);
}

.stories-menu > summary:focus-visible,
.stories-menu-links > a:focus-visible {
  outline: 2px solid #096997;
  outline-offset: -2px;
}

.stories-menu-links {
  box-sizing: border-box;
  position: absolute;
  z-index: 6;
  inset: 100% auto auto 50%;
  transform: translateX(-50%);
  width: max-content;
  min-width: max(100%, 146px);
  padding: 5px;
  background: #fffdf7;
  border: 1px solid #eadfcb;
  border-radius: 10px;
  box-shadow: 0 7px 20px #281e1726;
}

/* Scope the dropdown links separately from each site's main navigation styles. */
.stories-menu .stories-menu-links > a,
#top-nav .stories-menu-links > a {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #353535;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.stories-menu .stories-menu-links > a:hover,
#top-nav .stories-menu-links > a:hover {
  background: #fff2c8;
  color: #4a3020;
}

.stories-menu .stories-menu-links > a[aria-current="page"],
#top-nav .stories-menu-links > a[aria-current="page"] {
  background: #ffdf70;
  color: #4a3020;
  font-weight: 700;
}

.site-links > .stories-menu {
  display: inline-block;
  line-height: inherit;
}

.site-links > .stories-menu > summary {
  line-height: inherit;
}

.header_mb .stories-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  color: #222;
}

.header_mb .stories-menu-links,
.mobile-menu .stories-menu-links {
  position: static;
  width: auto;
  min-width: 0;
  margin-top: 4px;
  box-shadow: none;
  transform: none;
}

.header_mb .stories-menu-links > a {
  justify-content: center;
  font-size: 17px;
}

.header_mb nav.open ~ ul:has(.stories-menu[open]) {
  max-height: 85dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  justify-content: flex-start;
}

#top-nav .stories-menu > summary {
  font-size: 14px;
  line-height: 70px;
  color: #374151;
}

:lang(en) #top-nav .stories-menu > summary {
  font-size: 13px;
}

#top-nav .stories-menu.is-current > summary,
.nav .stories-menu.is-current > summary {
  color: #ac470b;
  font-weight: 750;
}

#top-nav .stories-menu.is-current > summary {
  box-shadow: inset 0 -3px #ee9d2d;
}

#top-nav .stories-menu-links > a::after {
  content: none;
}

@media (min-width: 961px) {
  .nav > nav {
    align-items: center;
  }

  .nav > nav > .stories-menu > summary {
    line-height: 90px;
  }
}

.nav .mobile-menu .stories-menu > summary {
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.site-nav .stories-menu > summary {
  display: grid;
  grid-auto-flow: column;
  place-content: center;
  align-items: center;
  height: 100%;
  padding-inline: 8px;
  font-size: 14px;
  color: #353535;
}

@media (max-width: 1090px) {
  #top-nav .stories-menu > summary,
  :lang(en) #top-nav .stories-menu > summary {
    padding: 12px;
    font-size: 14px;
    line-height: 1.3;
  }

  #top-nav .stories-menu.is-current > summary {
    border-radius: 8px;
    background: #fff0cd;
    box-shadow: none;
  }

  #top-nav .stories-menu-links {
    position: static;
    width: auto;
    min-width: 0;
    margin-top: 4px;
    box-shadow: none;
    transform: none;
  }
}

@media (max-width: 820px) {
  .site-nav.is-open:has(.stories-menu[open]) {
    max-height: min(70dvh, 420px);
    overflow-y: auto;
  }

  .site-nav .stories-menu > summary {
    height: 54px;
  }

  .site-nav .stories-menu-links {
    position: static;
    width: auto;
    min-width: 0;
    box-shadow: none;
    transform: none;
  }
}

.stories-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
