:root {
  --language-banner-height: 0px;
  --language-banner-offset: 0px;
}

body { overflow-x: clip; }

/* The production header stays fixed and follows the visible portion of the banner. */
.header,
.header.header-default {
  top: var(--language-banner-offset);
}

.language-toggle {
  flex: 0 0 auto;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(2.35rem, 1fr));
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(25,54,37,.42);
  color: #fff;
  font-family: var(--font-body);
  font-size: .75rem;
  line-height: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.language-toggle__option {
  display: grid;
  place-items: center;
  min-height: 1.8rem;
  padding: .35rem .55rem;
  border-radius: 999px;
  color: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background-color 180ms ease, color 180ms ease;
}

.language-toggle__option:hover,
.language-toggle__option:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.14);
}

.language-toggle__option.is-active {
  background: var(--color-accent);
  color: var(--color-primary);
}

.language-suggestion {
  position: relative;
  z-index: 1100;
  width: 100%;
  background: #f7f2e8;
  color: #213629;
  border-bottom: 1px solid rgba(72,54,27,.18);
  box-shadow: 0 2px 14px rgba(20,35,25,.12);
}

.language-suggestion[hidden] { display: none; }

.language-suggestion__inner {
  width: min(1440px, calc(100% - clamp(3rem, 7vw, 8rem)));
  min-height: 4.5rem;
  margin: 0 auto;
  padding: .75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(3rem, 8vw, 8rem);
}

.language-suggestion__message {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-suggestion__icon {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(32,50,39,.08);
}

.language-suggestion__icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-suggestion__copy {
  margin: 0;
  line-height: 1.55;
  text-align: left;
}

.language-suggestion__copy strong,
.language-suggestion__copy span { display: block; }
.language-suggestion__copy strong { color: var(--color-primary); font-size: .98rem; }
.language-suggestion__copy span { font-size: .82rem; }

.language-suggestion__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
}

.language-suggestion__switch,
.language-suggestion__continue,
.language-suggestion__close {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.language-suggestion__switch {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 2.65rem;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.language-suggestion__continue {
  padding: .45rem 0;
  color: #38463c;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: .2em;
  white-space: nowrap;
}

.language-suggestion__close {
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: #38463c;
  font-size: 1.5rem;
  line-height: 1;
}

.language-suggestion__close:hover,
.language-suggestion__close:focus-visible { background: rgba(33,54,41,.08); }

@media (max-width: 768px) {
  .nav-container { gap: .55rem; }
  .logo { min-width: 0; }
  .language-toggle {
    margin-left: auto;
    grid-template-columns: repeat(2, minmax(2rem, 1fr));
    font-size: .68rem;
  }
  .language-toggle__option { min-height: 1.65rem; padding: .3rem .4rem; }
  .language-suggestion__inner {
    width: calc(100% - 1.5rem);
    min-height: 0;
    padding: .75rem 0;
    flex-direction: column;
    align-items: stretch;
    gap: .7rem;
  }
  .language-suggestion__message { gap: .7rem; }
  .language-suggestion__icon { flex-basis: 2.4rem; width: 2.4rem; height: 2.4rem; }
  .language-suggestion__icon svg { width: 1.35rem; height: 1.35rem; }
  .language-suggestion__copy strong { font-size: .88rem; }
  .language-suggestion__copy span { font-size: .74rem; }
  .language-suggestion__actions { width: 100%; justify-content: flex-start; gap: .65rem; }
  .language-suggestion__switch { min-height: 2.35rem; padding: .55rem .9rem; font-size: .78rem; }
  .language-suggestion__continue { font-size: .72rem; }
  .language-suggestion__close { flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem; margin-left: auto; }
}
