.header .language-switch {
  position: relative;
  flex: 0 0 auto;
  margin-left: -8px;
}
.language-switch summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 54px;
  min-height: 44px;
  padding: 6px 11px;
  border: 1px solid #dce1d5;
  border-radius: 30px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.language-switch[open] summary,
.language-switch summary:hover { background: #f0f2e8; }
.language-switch summary:focus-visible {
  outline: 3px solid #db9a0b;
  outline-offset: 4px;
}
.language-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 140px;
  padding: 5px;
  border: 1px solid #dce1d5;
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 0 8px 30px #1d302c18;
}
.language-options a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: .85rem;
  white-space: nowrap;
}
.language-options a:hover,
.language-options a[aria-current] { background: #edf2e7; color: var(--green); }

@media (min-width: 951px) and (max-width: 1100px) {
  .header:lang(es) .header-cta { display: none; }
}
@media (min-width: 761px) and (max-width: 950px) {
  .header > nav, .header .header-cta { display: none; }
  .header .brand { margin-right: auto; }
  .header .menu-toggle {
    display: grid;
    place-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
  }
  .header .menu-toggle span {
    display: block;
    width: 23px;
    height: 1px;
    background: var(--green);
  }
  .header + .mobile-nav:not([hidden]) { display: block; }
}
@media (max-width: 760px) {
  .header .language-switch { margin-left: 0; }
  .header:has(> .language-switch) { gap: 10px; }
  .header .brand { flex: 0 1 auto; margin-right: auto; min-width: 0; }
  .header .brand > span:last-child { min-width: 0; }
  .header .brand-small { font-size: .47rem; }
  .header .menu-toggle { flex: 0 0 42px; }
}
:lang(zh-CN) h1, :lang(zh-CN) h2, :lang(zh-CN) h1 em, :lang(zh-CN) h2 em {
  letter-spacing: -.02em;
}
:lang(zh-CN) h1 em, :lang(zh-CN) h2 em { font-style: normal; }
