/* Compact detail context: the content section owns the single large title. */
.detail-page .detail-intro {
  min-height: 128px;
  padding: 96px 5vw 22px;
  align-content: end;
}
.detail-intro a { margin-bottom: 12px; }
.detail-intro p { margin: 0; }

.language-switcher {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 700 .72rem/1 var(--mono, monospace);
  letter-spacing: .08em;
}

.language-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px 0 11px;
  border: 1px solid #a9dfff;
  border-radius: 999px;
  color: #ffffff;
  background: #07101e;
  font: inherit;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.language-globe {
  position: relative;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.language-globe::before,
.language-globe::after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
}

.language-globe::before {
  inset: 3px 6px;
  border-radius: 50%;
}

.language-globe::after {
  inset: 9px 2px auto;
  border-width: 1px 0 0;
}

.language-option:hover,
.language-option:focus-visible {
  color: #07101e;
  background: #a9dfff;
  border-color: #a9dfff;
}

.language-option:focus-visible { outline: 2px solid #ffffff; outline-offset: -2px; }

@media (max-width: 650px) {
  .detail-page .detail-intro { min-height: 112px; padding: 88px 7vw 20px; }
  .language-switcher { width: auto; justify-content: flex-start; margin-block: .35rem; }
}
