/* Shared dynamic More dropdown for Highlight Review's published public header.
   Scoped to top header only: the mobile drawer and bottom navigation are untouched. */
.hrnav-shell .hrnav-category-strip--studio>.hrnav-inner,
.hrnav-shell .hrnav-category-strip:not(.hrnav-category-strip--studio)>.hrnav-inner{min-width:0;max-width:100%;overflow:visible!important}
.hrnav-shell .hrnav-category-strip--studio>.hrnav-inner>.hrns-nav.hrnav-overflow-managed{width:100%!important;min-width:0!important;flex:1 1 0!important}
.hrnav-shell .hrnav-category-strip--studio>.hrnav-inner>.hrns-nav.hrnav-overflow-managed>.hrns-list,
.hrns-location-main_header.hrnav-overflow-managed>.hrns-list{width:100%!important;min-width:0!important;max-width:100%;flex-wrap:nowrap!important}
.hrns-nav.hrnav-overflow-managed>.hrns-list>.hrns-item:not(.hrns-more-item){flex:0 0 auto!important}
.hrns-nav.hrnav-overflow-managed>.hrns-list>.hrns-more-item{flex:0 0 auto!important;position:relative;min-width:0!important}
.hrns-nav.hrnav-overflow-managed>.hrns-list>.hrns-more-item[hidden],
.hrnav-fallback-more[hidden]{display:none!important}
.hrns-nav.hrnav-overflow-managed .hrns-more-item>.hrnav-overflow-toggle,
.hrnav-shell .hrnav-fallback-more>.hrnav-overflow-toggle{
  display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
  border:0!important;background:transparent!important;color:var(--hrnav-fg,var(--hrns-fg,#20242b))!important;
  padding:8px 10px!important;font-size:12px!important;font-weight:750!important;
  min-height:44px!important;white-space:nowrap!important;line-height:1.35!important;border-radius:6px!important;
}
.hrnav-overflow-chevron{display:inline-block;width:7px;height:7px;transform:rotate(45deg) translateY(-2px);
  border-inline-end:1.7px solid currentColor;border-bottom:1.7px solid currentColor;flex:none;transition:transform .14s ease}
.hrns-more-item.is-open .hrnav-overflow-chevron,.hrnav-fallback-more.is-open .hrnav-overflow-chevron{transform:rotate(225deg) translate(-2px,-1px)}
.hrns-nav.hrnav-overflow-managed .hrns-more-item>.hrnav-overflow-dropdown,
.hrnav-shell .hrnav-fallback-more>.hrnav-fallback-dropdown{
  position:absolute!important;inset-inline-end:0!important;inset-inline-start:auto!important;
  top:calc(100% + 1px)!important;left:auto;right:auto;transform:none!important;
  width:min(320px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;min-width:0!important;
  padding:7px!important;margin:0!important;border:1px solid var(--hrnav-line,#dedfe6)!important;
  border-radius:10px!important;background:var(--hrnav-bg,var(--hrns-bg,#fff))!important;
  color:var(--hrnav-fg,var(--hrns-fg,#20242b))!important;
  box-shadow:0 12px 30px rgba(0,0,0,.16)!important;z-index:10020!important;
  max-height:min(70dvh,620px)!important;overflow-y:auto!important;overflow-x:hidden!important;
  flex-direction:column!important;align-items:stretch!important;gap:0!important;overscroll-behavior:contain
}
.hrns-nav.hrnav-overflow-managed .hrns-more-item.has-mega>.hrnav-overflow-dropdown{width:min(470px,calc(100vw - 24px))!important}
.hrns-nav.hrnav-overflow-managed .hrns-more-item>.hrnav-overflow-dropdown{display:none!important}
.hrns-nav.hrnav-overflow-managed .hrns-more-item:is(:hover,:focus-within,.is-open)>.hrnav-overflow-dropdown{display:flex!important}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown>.hrns-item{position:relative!important;display:flex!important;flex-wrap:wrap!important;width:100%!important;min-width:0!important;min-height:40px!important;padding:0!important;border-bottom:1px solid var(--hrnav-line,#e9e9ee)}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown>.hrns-item:last-child{border-bottom:0}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown>.hrns-item>a{flex:1 1 auto!important;min-width:0!important;padding:10px!important;white-space:normal!important;overflow-wrap:anywhere;font-size:12px!important}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown>.hrns-item>.hrns-subtoggle{flex:0 0 40px;min-height:40px!important}
/* Nested submenus remain intact and open downward inside the scrollable More list.
   They are not clipped by the viewport or by an outer mega-menu container. */
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-submenu,
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-mega{
  position:static!important;inset:auto!important;transform:none!important;flex:0 0 100%!important;
  max-width:100%!important;width:100%!important;min-width:0!important;margin:0!important;
  box-shadow:none!important;border:0!important;border-inline-start:2px solid var(--hrns-accent,#c42031)!important;
  border-radius:0!important;padding:5px 8px!important;max-height:none!important;overflow:visible!important;
  background:var(--hrnav-bg,var(--hrns-bg,#fff))!important;color:inherit!important;
}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-submenu .hrns-item{width:100%!important;min-width:0!important;flex-wrap:wrap!important}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-submenu .hrns-item>a{white-space:normal!important;overflow-wrap:anywhere;padding:8px!important}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-mega{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-has-children:is(.is-open,:hover,:focus-within)>.hrns-submenu{display:block!important}
.hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-has-mega:is(.is-open,:hover,:focus-within)>.hrns-mega{display:grid!important}
/* Fallback category links from the existing Navigation plugin. */
.hrnav-shell .hrnav-category-strip:not(.hrnav-category-strip--studio){overflow:visible!important}
.hrnav-shell .hrnav-category-strip:not(.hrnav-category-strip--studio).hrnav-overflow-managed>.hrnav-inner{display:flex!important;flex-wrap:nowrap!important;min-width:0!important}
.hrnav-shell .hrnav-category-strip:not(.hrnav-category-strip--studio)>.hrnav-inner>a{flex:0 0 auto!important}
.hrnav-shell .hrnav-fallback-more{position:relative;flex:0 0 auto}
.hrnav-shell .hrnav-fallback-more>.hrnav-fallback-dropdown{display:none!important}
.hrnav-shell .hrnav-fallback-more:is(.is-open,:hover,:focus-within)>.hrnav-fallback-dropdown{display:flex!important}
.hrnav-shell .hrnav-fallback-dropdown>a{display:block!important;padding:9px 12px!important;min-height:40px!important;white-space:normal!important;border-radius:5px!important;font-size:13px!important}
.hrnav-shell .hrnav-fallback-dropdown>a:hover{background:var(--hrnav-line,#f3f4f6)}
.hrnav-shell .hrnav-overflow-wrap>.hrns-list,
.hrnav-shell .hrnav-category-strip.hrnav-overflow-wrap>.hrnav-inner{flex-wrap:wrap!important;height:auto!important}
.hrns-nav.hrnav-overflow-wrap>.hrns-list{flex-wrap:wrap!important}
@media(max-width:980px){
  .hrnav-shell .hrnav-category-strip--studio>.hrnav-inner>.hrns-nav.hrnav-overflow-managed{display:none!important}
}
@media(prefers-reduced-motion:reduce){.hrnav-overflow-chevron{transition:none}}
/* Specificity for the existing editorial category mega menu: when moved under More,
   cancel its centered 740px absolute flyout and retain it as an inline submenu. */
.hrnav-shell.hrnav-editorial .hrnav-category-strip--studio .hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-categories-parent>.hrns-submenu,
.hrnav-shell.hrnav-editorial .hrnav-category-strip--studio .hrns-nav.hrnav-overflow-managed .hrnav-overflow-dropdown .hrns-has-mega>.hrns-mega{
  position:static!important;top:auto!important;left:auto!important;right:auto!important;
  transform:none!important;width:100%!important;min-width:0!important;max-width:100%!important;
  max-height:none!important;overflow:visible!important;box-shadow:none!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.hrnav-shell.hrnav-editorial .hrnav-category-strip--studio .hrns-nav.hrnav-overflow-managed.hrnav-overflow-wrap>.hrns-list{
  flex-wrap:wrap!important;height:auto!important;white-space:normal!important;
}
.hrns-nav.hrnav-overflow-managed>.hrns-list>.hrns-more-item.is-current>.hrnav-overflow-toggle{color:var(--hrns-accent,#c42031)!important}
