/* Refined rose-glass navigation. The visual treatment stays deliberately
   quiet so the header supports the editorial hero instead of competing with it. */
.site-header.navbar {
  background: rgba(255, 254, 254, 0.98);
  border-bottom: 1px solid rgba(223, 158, 180, 0.26);
  box-shadow: 0 8px 28px rgba(59, 37, 47, 0.045);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.site-utility {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 18px;
  margin-left: 15px;
}

.site-language {
  width: 82px;
  min-width: 82px;
  margin-left: 0;
  border: 0;
  border-left: 1px solid rgba(81, 70, 76, 0.16);
  border-radius: 0;
  color: #272a36;
  background: transparent;
  box-shadow: none;
}

.site-language:hover,
.site-language:focus-within {
  border-color: rgba(81, 70, 76, 0.22);
  background: rgba(231, 54, 108, 0.045);
  box-shadow: none;
  transform: none;
}

.site-language > svg {
  width: 18px;
  height: 18px;
  margin-left: 14px;
  stroke: currentColor;
  stroke-width: 1.75;
}

.site-language-current {
  display: inline-flex;
  min-width: 22px;
  align-items: center;
  margin-left: 8px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.site-language-long {
  display: none;
}

.site-language select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.site-language-caret {
  right: 10px;
  width: 7px;
  height: 7px;
  border-color: currentColor;
}

.site-member-link {
  align-items: center;
  display: inline-flex;
  min-height: 46px;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid #df3c70;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #df4776, #d92f67);
  box-shadow: 0 8px 20px rgba(198, 43, 91, 0.14);
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-member-link:hover,
.site-member-link:focus {
  border-color: #c8265b;
  color: #fff;
  background: linear-gradient(120deg, #d93a6d, #c9255b);
  box-shadow: 0 10px 24px rgba(198, 43, 91, 0.2);
  outline: 0;
  text-decoration: none;
}

.site-member-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (min-width: 1100px) {
  .site-header .navbar-nav > li.mobile-nav-home {
    display: none;
  }

  .site-header .navbar-nav {
    align-items: center;
  }

  .site-header .navbar-nav > li {
    align-items: center;
    display: flex;
  }

  .site-header .navbar-nav > li > a,
  .site-header .navbar-nav > li > .documents-navigation-toggle {
    align-items: center;
    display: inline-flex;
    min-height: 46px;
    padding-inline: 18px;
    border-radius: 14px;
    line-height: 1.2;
    transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  }

  .site-header .navbar-nav > li > a:hover,
  .site-header .navbar-nav > li > a:focus,
  .site-header .navbar-nav > li > .documents-navigation-toggle:hover,
  .site-header .navbar-nav > li > .documents-navigation-toggle:focus,
  .site-header .navbar-nav > li.documents-navigation.open > .documents-navigation-toggle {
    color: var(--pink-dark);
    background: rgba(231, 54, 108, 0.06) !important;
    box-shadow: inset 0 0 0 1px rgba(213, 73, 116, 0.055);
  }

  .site-header .navbar-nav > li.active > a,
  .site-header .navbar-nav > li.active > .documents-navigation-toggle {
    color: var(--pink-dark);
    background: linear-gradient(120deg, rgba(247, 226, 233, 0.72), rgba(255, 246, 249, 0.94)) !important;
    box-shadow: inset 0 0 0 1px rgba(213, 73, 116, 0.08);
  }

  .site-header .navbar-nav > li.active > a::after,
  .site-header .navbar-nav > li.active > .documents-navigation-toggle::after {
    display: none;
  }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .site-header .navbar-nav > li > a,
  .site-header .navbar-nav > li > .documents-navigation-toggle {
    padding-inline: 10px;
  }

  .site-utility {
    gap: 10px;
    margin-left: 7px;
  }

  .site-language {
    width: 75px;
    min-width: 75px;
  }

  .site-language > svg {
    margin-left: 10px;
  }

  .site-member-link {
    padding-inline: 12px;
    font-size: 12px;
  }
}

@media (max-width: 1099px) {
  .site-header.site-header--mobile-brand.is-logo-visible,
  .site-header.site-header--mobile-brand.menu-open {
    background:
      radial-gradient(circle at 12% -100%, rgba(232, 60, 116, 0.045), transparent 56%),
      linear-gradient(112deg, rgba(255, 255, 255, 0.97), rgba(255, 251, 252, 0.95));
    border-bottom-color: rgba(223, 158, 180, 0.26);
    box-shadow: 0 8px 28px rgba(59, 37, 47, 0.065);
  }

  .site-utility {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin: 17px 0 1px;
    padding-top: 17px;
    border-top: 1px solid #eee5e9;
  }

  .site-header .site-language {
    width: 100%;
    min-width: 0;
    height: 54px;
    margin: 0;
    border: 1px solid #eadde2;
    border-radius: 999px;
    background: rgba(255, 250, 252, 0.88);
  }

  .site-header .site-language > svg {
    width: 22px;
    height: 22px;
    margin-left: 18px;
  }

  .site-language-current {
    margin-left: 12px;
    font-size: 15px;
  }

  .site-language-short {
    display: none;
  }

  .site-language-long {
    display: inline;
  }

  .site-language-caret {
    right: 20px;
  }

  .site-member-link {
    width: 100%;
    min-height: 54px;
    font-size: 16px;
  }
}
