:root {
  --site-font-body: "Golos Text", "Segoe UI", sans-serif;
  --site-font-heading: "Prata", Georgia, serif;
}

body,
button,
input,
select,
textarea {
  font-family: var(--site-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.navbar-brand {
  font-family: var(--site-font-heading);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.18;
}

.navbar-brand {
  font-size: clamp(1.2rem, 0.9rem + 0.8vw, 1.6rem);
}

.nav-link,
.btn,
.lead,
.recipe-intro,
.recipe-step-copy,
.recipe-ingredient-name,
.recipe-ingredient-amount,
.recipe-metric-label,
.recipe-metric-value,
.recipe-range-label,
.recipe-range-value,
.recipe-batch-note,
.recipe-source-note,
.recipe-eyebrow,
.lang-switcher__button {
  font-family: var(--site-font-body);
}

.recipe-eyebrow,
.recipe-metric-label,
.recipe-range-label,
.lang-switcher__button {
  letter-spacing: 0.1em;
}

.lang-switcher {
  align-items: center;
  background: rgba(248, 249, 250, 0.92);
  border: 1px solid rgba(29, 53, 87, 0.12);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
}

.lang-switcher__button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #1d3557;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  min-width: 3rem;
  padding: 0.45rem 0.8rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switcher__button:hover,
.lang-switcher__button:focus-visible {
  background: rgba(29, 53, 87, 0.1);
  color: #102131;
  outline: none;
}

.lang-switcher__button.is-active {
  background: #1d3557;
  color: #fff;
}

@media (max-width: 991.98px) {
  .lang-switcher {
    justify-content: flex-start;
    width: fit-content;
  }
}
