/* Shared language switcher for Stream guides */
.lang-switch {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.3rem;
  margin: 1rem auto 0;
}

.lang-switch--light {
  background: #fff;
  border: 1px solid #99f6e4;
  box-shadow: 0 1px 3px rgba(13, 148, 136, 0.08);
  margin: 0 auto 1.25rem;
}

.lang-switch a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.lang-switch--light a {
  color: #115e59;
}

.lang-switch a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
}

.lang-switch--light a:hover {
  background: #ccfbf1;
  color: #0f766e;
}

.lang-switch a[aria-current="page"] {
  background: #fff;
  color: #0f766e;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.lang-switch--light a[aria-current="page"] {
  background: #0d9488;
  color: #fff;
}

.lang-switch-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.lang-switch-wrap {
  text-align: center;
  margin-bottom: 0.5rem;
}

.page-header .lang-switch-wrap {
  margin-top: 0.25rem;
}

.page-header .lang-switch-label {
  color: rgba(255, 255, 255, 0.92);
}
