.marketing-language-switch { display:flex; font:inherit; }
.marketing-language-switch a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.marketing-language-switch--menu {
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin:12px 20px 0;
  padding:12px 32px 0;
  border-top:1px solid #f1f5f9;
  color:#1f2937;
}
.marketing-language-switch--menu a {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:8px 12px;
  border-radius:12px;
  color:inherit;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}
.marketing-language-switch--menu a[aria-current="page"] { background:#f3f4f6; color:#111827; font-weight:700; }
.marketing-language-switch--menu a:hover { background:#f3f4f6; }
.marketing-language-switch--menu a[aria-current="page"]::after { content:'✓'; color:#15803d; font-weight:800; }
@media (max-width:380px) {
  .marketing-language-switch--menu { margin-inline:10px; padding-inline:14px; gap:6px; }
  .marketing-language-switch--menu a { padding-inline:8px; }
}

.site-footer.site-footer--compact-language .footer-directory-grid {
  column-gap:clamp(20px, 3vw, 44px);
  padding-block:28px 22px;
}
.site-footer.site-footer--compact-language :is(.footer-brand-logo, .footer-mobile-brand) { margin-bottom:8px; }
.site-footer.site-footer--compact-language .footer-brand-column p { margin:0; line-height:1.5; }
.site-footer.site-footer--compact-language .footer-mobile-tutu .footer-brand-column p { color:#64748b; }
.site-footer.site-footer--compact-language .footer-directory-column .footer-column-title { margin-bottom:8px; }
.site-footer.site-footer--compact-language .footer-directory-column ul { gap:6px; }
.site-footer.site-footer--compact-language .footer-copyright { padding-block:12px 16px; }
.site-footer.site-footer--compact-language .footer-mobile-nav {
  grid-template-columns:repeat(2, minmax(0, 1fr));
  align-items:start;
  gap:18px 16px;
  margin-top:12px;
}
.site-footer.site-footer--compact-language .footer-mobile-section { gap:6px; }
.site-footer.site-footer--compact-language .footer-mobile-section + .footer-mobile-section { margin-top:0; }
.site-footer.site-footer--compact-language .footer-mobile-section ul {
  gap:6px 16px;
  overflow-wrap:anywhere;
  hyphens:auto;
}
.site-footer--compact-language .footer-mobile-section:last-child { grid-column:1 / -1; }
.site-footer--compact-language .footer-mobile-section:last-child ul {
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
.site-footer.site-footer--compact-language .footer-mobile-rule { margin-block:16px 12px; }

.marketing-language-switch--footer {
  align-items:center;
  gap:10px;
  inline-size:max-content;
  max-inline-size:100%;
  margin-block-start:4px;
  color:#64748b;
  font-size:13px;
}
html:not([data-theme='light']) .footer-directory-grid .marketing-language-switch--footer { color:#9eb0c4; }
.marketing-language-switch--footer > .site-language-globe { width:16px; height:16px; }
.marketing-language-switch--footer a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  color:inherit;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
.marketing-language-switch--footer a:hover { text-decoration-thickness:2px; }
.marketing-language-switch--footer a[aria-current="page"] { font-weight:800; text-decoration:none; }
.marketing-language-switch--footer a + a { position:relative; }
.marketing-language-switch--footer a + a::before {
  content:'';
  position:absolute;
  inset-inline-start:-5px;
  inset-block-start:50%;
  block-size:12px;
  border-inline-start:1px solid currentColor;
  opacity:.35;
  transform:translateY(-50%);
}

.english-review-note { text-align:center; color:var(--loaders-muted); margin:12px 0 0; font-size:14px; }
html[lang="en"] .home-hero-title { overflow-wrap:normal; }

/* Keep the city and desktop language choice together in the top row. */
.site-language-context {
  display:inline-flex;
  align-items:center;
  gap:16px;
}
.site-language-picker {
  --language-ink:#1f2937;
  --language-muted:#667085;
  --language-border:#e5e7eb;
  --language-soft:#f4f5f7;
  position:relative;
  flex:none;
  color:var(--language-ink);
  font:inherit;
}
.site-language-picker--desktop::before {
  content:'';
  position:absolute;
  inset-inline-start:-8px;
  top:50%;
  height:16px;
  border-inline-start:1px solid var(--language-border);
  transform:translateY(-50%);
}
.site-language-picker > summary {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 4px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  font:inherit;
  font-size:13px;
  font-weight:650;
  line-height:1;
  white-space:nowrap;
  list-style:none;
  cursor:pointer;
}
.site-language-picker > summary::-webkit-details-marker { display:none; }
.site-language-picker > summary::marker { content:''; }
.site-language-picker > summary:focus-visible,
.site-language-options a:focus-visible { outline:2px solid #15803d; outline-offset:3px; }
.site-language-globe { width:18px; height:18px; flex:none; }
.site-language-chevron { width:14px; height:14px; color:var(--language-muted); }
.site-language-picker[open] .site-language-chevron { transform:rotate(180deg); }
.site-language-options {
  position:absolute;
  top:calc(100% + 8px);
  inset-inline-start:0;
  z-index:5;
  display:grid;
  width:184px;
  padding:6px;
  background:#fff;
  border:1px solid var(--language-border);
  border-radius:16px;
  box-shadow:0 12px 32px rgba(17,24,39,.12);
}
.site-language-options a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:44px;
  box-sizing:border-box;
  padding:10px 12px;
  border-radius:10px;
  color:var(--language-ink);
  font:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  text-decoration:none;
  cursor:pointer;
}
.site-language-options a[aria-current="page"] { background:var(--language-soft); }
.site-language-options a[aria-current="page"]::after { content:'✓'; color:#15803d; font-weight:800; }
.site-language-options a:hover { background:var(--language-soft); }
.site-language-options a:active { background:#e5e7eb; }
@media (max-width:767px) {
  .site-language-picker--desktop { display:none; }
}
