/* English labels share one row; Weekly lives under Reviews. */
body:not(.admin-page) .main-nav[data-nav-locale="en"] {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.site-reviews-group { flex: 0 0 auto; }
body:not(.admin-page) .site-reviews-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 11px;
  color: #94a3b8;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}
body:not(.admin-page) .site-reviews-toggle:is(:hover, [aria-expanded="true"]) {
  color: #bfdbfe;
  background: rgba(59,130,246,.08);
}
body:not(.admin-page) .site-reviews-toggle[data-current="true"] { color: #f8fafc; }
.site-reviews-toggle[data-current="true"]::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,transparent,#60a5fa,#34d399,transparent);
}
.site-nav-chevron {
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}
[aria-expanded="true"] > .site-nav-chevron { transform: translateY(1px) rotate(225deg); }
body:not(.admin-page) .site-reviews-panel {
  display: none;
  position: fixed;
  inset: auto;
  top: 76px;
  left: calc(50% - 110px);
  width: 220px;
  max-width: calc(100vw - 28px);
  box-sizing: border-box;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(148,163,184,.25);
  border-radius: 13px;
  background: linear-gradient(145deg,rgba(15,23,42,.98),rgba(2,6,23,.98));
  color: #e2e8f0;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  backdrop-filter: blur(18px);
  z-index: 200;
}
body:not(.admin-page) .site-reviews-panel:popover-open { display: grid; gap: 2px; }
body:not(.admin-page) .site-reviews-panel[data-open] { display: grid; gap: 2px; }
body:not(.admin-page) .site-reviews-panel > a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-height: 44px;
  width: 100%;
  padding: 10px 13px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  text-decoration: none;
}
body:not(.admin-page) .site-reviews-panel > a:is(:hover, :focus-visible, [aria-current="page"]) {
  color: #bfdbfe;
  background: rgba(59,130,246,.12);
}
@media (min-width:1024px) {
  html[lang="en"] body.home-preview header.home-header {
    grid-template-columns: minmax(160px,230px) minmax(0,1fr) auto auto auto;
    column-gap: 8px;
  }
  body.home-preview .home-desktop-nav[data-nav-locale="en"] { flex-wrap: nowrap; }
}
@media (min-width:761px) and (max-width:1200px) {
  body:not(.admin-page) .main-nav[data-nav-locale="en"] > a,
  body:not(.admin-page) .main-nav[data-nav-locale="en"] .site-reviews-toggle {
    padding-inline: 7px;
    font-size: 12px;
  }
}
@media (max-width:760px) {
  body:not(.admin-page) .site-reviews-toggle { min-height: 40px; padding-inline: 8px; font-size: 12px; }
}
#homeMobileMenu .site-reviews-group { border-bottom: 1px solid rgba(255,255,255,.075); }
#homeMobileMenu .site-reviews-toggle { justify-content: space-between; width: 100%; min-height: 48px; padding-inline: 18px; font-size: 16px; font-weight: 500; }
@media (prefers-reduced-motion:reduce) {
  .site-reviews-toggle, .site-nav-chevron { transition: none; }
}
