/* Site overrides, loaded after the theme stylesheets */

/* Sticky (scrolled) navbar: frosted background with a subtle bottom stroke */
.navbar-clone.navbar-stick {
  box-shadow: inset 0 -1px 0 rgba(30, 34, 40, 0.08);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .navbar-clone.navbar-stick {
    background: rgba(255, 255, 255, 0.7);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
  }
}

/* Exhibition section (#ausstellung) with DE/EN switch */
.event-eyebrow {
  color: #60697b;
}

.event-lang {
  flex-direction: row;
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 2rem;
  background: rgba(30, 34, 40, 0.06);
}

.event-lang .nav-link {
  padding: 0.25rem 0.75rem;
  border: 0;
  border-radius: 2rem;
  background: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  color: #60697b;
}

.event-lang .nav-link.active {
  background: #fff;
  color: #1d222c;
  box-shadow: 0 1px 3px rgba(30, 34, 40, 0.12);
}

@media (max-width: 575.98px) {
  .event-eyebrow {
    letter-spacing: 0.05rem !important;
  }

  .event-lang .nav-link {
    padding: 0.2rem 0.55rem;
  }
}

.event-meta li {
  font-weight: 700;
  color: #1d222c;
}

/* Labels outside the tab panes follow the selected language */
.lang-en {
  display: none;
}

#ausstellung:has(#event-en.active) .lang-en {
  display: inline;
}

#ausstellung:has(#event-en.active) .lang-de {
  display: none;
}
