/*
 * Final Stap — öffentliches Frontend (Werkstatt-Blau / Reparatour)
 * Tokens kommen zusätzlich per theme_css_variables() aus dem Tour-Theme.
 */

@font-face {
  font-family: "FS Display";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial");
  font-display: swap;
}

:root {
  --fs-sky: #6eb4e0;
  --fs-sky-deep: #3a8fc4;
  --fs-surface: #f7f9fb;
  --fs-text: #1a2332;
  --fs-muted: #5a6a7a;
  --fs-accent: #1e4d7b;
  --fs-white: #ffffff;
  --fs-border: rgba(30, 77, 123, 0.15);
  --fs-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-display: "FS Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --fs-space: clamp(1rem, 3vw, 2rem);
  --fs-max: 72rem;
  --fs-header-h: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body.fs-body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--fs-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fs-text);
  background: var(--fs-surface);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--fs-accent);
}

a:hover {
  color: var(--fs-sky-deep);
}

.fs-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--fs-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.fs-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* Header */

.fs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--fs-border);
}

.fs-header-inner {
  max-width: var(--fs-max);
  margin: 0 auto;
  padding: 0.65rem var(--fs-space);
  min-height: var(--fs-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fs-brand {
  text-decoration: none;
  color: var(--fs-text);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.fs-brand-logo {
  display: block;
  height: 2.25rem;
  width: auto;
}

.fs-brand-text {
  font-family: var(--fs-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #e8eef5 0%, #9eb4c8 45%, #4a6a88 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.35));
}

.fs-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--fs-border);
  background: var(--fs-white);
  color: var(--fs-text);
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 2px;
}

.fs-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--fs-white);
  border-bottom: 1px solid var(--fs-border);
  padding: 0.5rem var(--fs-space) 1rem;
}

.fs-nav.is-open {
  display: block;
}

.fs-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.fs-nav a,
.fs-nav-disabled {
  display: block;
  padding: 0.55rem 0.35rem;
  text-decoration: none;
  color: var(--fs-text);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.fs-nav a:hover {
  color: var(--fs-accent);
}

.fs-nav li.is-active a {
  font-weight: 600;
  color: var(--fs-accent);
}

.fs-nav-disabled,
.fs-nav li.is-disabled .fs-nav-disabled {
  color: #9aa5b0;
  cursor: not-allowed;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .fs-nav-toggle {
    display: none;
  }

  .fs-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .fs-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem 1rem;
    justify-content: flex-end;
  }

  .fs-nav a,
  .fs-nav-disabled {
    padding: 0.35rem 0;
  }
}

/* Main */

.fs-main {
  flex: 1 0 auto;
  width: 100%;
}

.fs-wrap {
  max-width: var(--fs-max);
  margin: 0 auto;
  padding: var(--fs-space);
}

/* Bandmitglied-Pose links (News / Termine / Galerie / Kontakt) */

.fs-page-with-mascot {
  display: grid;
  grid-template-columns: clamp(9.5rem, 16vw, 14.5rem) minmax(0, 1fr);
  width: 100%;
  align-items: start;
  min-height: calc(100dvh - var(--fs-header-h));
}

.fs-page-with-mascot__content {
  min-width: 0;
}

.fs-mascot {
  position: sticky;
  top: var(--fs-header-h);
  height: calc(100dvh - var(--fs-header-h));
  background: var(--fs-mascot-bg, #050505);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.fs-mascot__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  user-select: none;
  pointer-events: none;
}

.fs-has-mascot .fs-page-with-mascot__content > .fs-wrap {
  max-width: min(var(--fs-max), 100%);
}

@media (min-width: 1100px) {
  .fs-page-with-mascot {
    grid-template-columns: clamp(12rem, 18vw, 17rem) minmax(0, 1fr);
  }
}

/* Handy: Hintergrundleiste + große Pose rechts; Content tiefer, Karten halbtransparent */
@media (max-width: 859px) {
  .fs-page-with-mascot {
    position: relative;
    display: block;
    grid-template-columns: none;
    min-height: 0;
  }

  .fs-mascot {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 24rem;
    z-index: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0;
    border-bottom: none;
    background: var(--fs-mascot-bg, #050505);
    overflow: hidden;
    pointer-events: none;
  }

  .fs-mascot__img {
    width: auto;
    height: 100%;
    max-width: min(88vw, 22rem);
    object-fit: contain;
    object-position: top right;
    transform: none;
  }

  .fs-page-with-mascot__content {
    position: relative;
    z-index: 1;
    margin-top: 0;
    /* Freiraum für Gesicht über den Karten */
    padding-top: 8rem;
    background: transparent;
  }

  .fs-has-mascot .fs-page-with-mascot__content > .fs-wrap {
    background: transparent;
  }

  /* Karten: lesbar, aber Pose dahinter sichtbar */
  .fs-has-mascot .fs-news-item,
  .fs-has-mascot .fs-term-row,
  .fs-has-mascot .fs-contact-card {
    background: color-mix(in srgb, var(--fs-white) 72%, transparent);
  }

  /* Kontakt-Formular inkl. Intro: lesbarer über der Pose */
  .fs-has-mascot .fs-contact-card--form {
    background: color-mix(in srgb, var(--fs-white) 92%, transparent);
  }
}

@media (max-width: 479px) {
  .fs-mascot {
    height: 22rem;
  }

  .fs-mascot__img {
    max-width: min(92vw, 18rem);
  }

  .fs-page-with-mascot__content {
    padding-top: 7.25rem;
  }

  .fs-has-mascot .fs-news-item,
  .fs-has-mascot .fs-term-row,
  .fs-has-mascot .fs-contact-card {
    background: color-mix(in srgb, var(--fs-white) 76%, transparent);
  }

  .fs-has-mascot .fs-contact-card--form {
    background: color-mix(in srgb, var(--fs-white) 94%, transparent);
  }
}

.fs-page-title {
  margin: 0 0 0.35rem;
  font-family: var(--fs-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fs-lead {
  margin: 0 0 1.5rem;
  color: var(--fs-muted);
  max-width: 40rem;
}

/* Hero — gestaffelte Layer */

.fs-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--fs-sky) 0%, var(--fs-sky-deep) 100%);
  color: var(--fs-white);
}

.fs-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--fs-max);
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem var(--fs-space) 0;
  gap: 0.75rem;
}

.fs-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  z-index: 3;
}

.fs-hero-logo {
  width: min(72vw, 22rem);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.fs-hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.fs-hero-logo-fallback {
  font-family: var(--fs-display);
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  margin: 0;
}

.fs-hero-wordmark {
  width: min(90vw, 28rem);
}

.fs-hero-wordmark img {
  display: block;
  width: 100%;
  height: auto;
}

.fs-hero-tagline {
  margin: 0;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.fs-hero-guests {
  width: min(92vw, 36rem);
}

.fs-hero-guests img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.fs-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  padding: 0.35rem 0 0.5rem;
}

.fs-hero-band {
  width: min(100%, 40rem);
  margin-top: 0.25rem;
  line-height: 0;
  z-index: 1;
}

.fs-hero-band img {
  display: block;
  width: 100%;
  height: auto;
}

.fs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  background: var(--fs-white);
  color: var(--fs-accent);
}

.fs-btn:hover {
  background: #eef4f9;
  color: var(--fs-accent);
}

.fs-btn--ghost {
  background: transparent;
  color: var(--fs-white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.fs-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fs-white);
}

/* Desktop: kompakte Zwei-Spalten-Komposition, weniger Leerraum */
@media (min-width: 900px) {
  .fs-hero {
    min-height: 0;
  }

  .fs-hero-stage {
    display: grid;
    grid-template-columns: minmax(18rem, 0.95fr) minmax(0, 1.15fr);
    align-items: end;
    gap: 1.5rem 2rem;
    padding: 1.75rem var(--fs-space) 0;
    min-height: clamp(28rem, 70vh, 40rem);
  }

  .fs-hero-brand {
    grid-column: 1;
    align-self: center;
    align-items: flex-start;
    gap: 0.85rem;
    padding-bottom: 2rem;
  }

  .fs-hero-logo {
    width: min(100%, 26rem);
  }

  .fs-hero-wordmark,
  .fs-hero-tagline {
    width: min(100%, 28rem);
    text-align: left;
  }

  .fs-hero-guests {
    width: min(100%, 26rem);
  }

  .fs-hero-cta {
    justify-content: flex-start;
    padding: 0.5rem 0 0;
  }

  .fs-hero-band {
    grid-column: 2;
    width: 100%;
    max-width: none;
    align-self: end;
    justify-self: end;
    margin-top: 0;
  }

  .fs-hero-band img {
    width: 100%;
    max-height: min(70vh, 38rem);
    object-fit: contain;
    object-position: bottom right;
  }
}

@media (min-width: 1200px) {
  .fs-hero-stage {
    grid-template-columns: minmax(20rem, 0.85fr) minmax(0, 1.25fr);
    gap: 2rem 2.5rem;
    min-height: clamp(30rem, 68vh, 42rem);
  }

  .fs-hero-logo {
    width: min(100%, 28rem);
  }

  .fs-hero-band img {
    max-height: min(72vh, 42rem);
  }
}

/* Teaser row */

.fs-teasers {
  display: grid;
  gap: 1rem;
  padding: 1.25rem var(--fs-space) 0.35rem;
  max-width: var(--fs-max);
  margin: 0 auto;
}

@media (min-width: 700px) {
  .fs-teasers {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    padding-top: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .fs-teasers {
    gap: 1.35rem;
  }
}

.fs-teaser {
  background: var(--fs-white);
  border: 1px solid rgba(30, 77, 123, 0.35);
  border-left: 4px solid var(--fs-accent);
  border-radius: 2px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
  box-shadow: 0 8px 22px rgba(30, 77, 123, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.fs-teaser {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.fs-teaser:focus-visible {
  outline: 2px solid var(--fs-sky);
  outline-offset: 2px;
}

.fs-teaser:active {
  border-color: rgba(30, 77, 123, 0.4);
  box-shadow: 0 8px 20px rgba(30, 77, 123, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .fs-teaser:hover {
    border-color: rgba(30, 77, 123, 0.4);
    border-left-color: var(--fs-accent);
    box-shadow: 0 12px 28px rgba(30, 77, 123, 0.14);
    transform: translateY(-2px);
  }

  .fs-teaser:hover .fs-teaser-media {
    box-shadow: 0 10px 22px rgba(26, 35, 50, 0.28);
  }

  .fs-teaser:hover .fs-teaser-media img {
    transform: scale(1.04);
  }
}

.fs-teaser-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-muted);
  flex: 0 0 auto;
}

.fs-teaser h2 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  font-weight: 700;
  word-break: break-word;
}

.fs-teaser p {
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.88rem;
}

.fs-teaser-media {
  position: relative;
  margin: 0.15rem 0 0.25rem;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce8f2;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(26, 35, 50, 0.2);
  transition: box-shadow 0.25s ease;
}

.fs-teaser-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent 62%, rgba(26, 35, 50, 0.22) 100%);
  pointer-events: none;
  z-index: 1;
}

.fs-teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.04) saturate(1.06);
  transition: transform 0.35s ease;
}

a.fs-teaser-media--link {
  display: block;
  text-decoration: none;
  color: inherit;
}

a.fs-teaser-media--link:hover img,
a.fs-teaser-media--link:focus-visible img {
  transform: scale(1.04);
}

.fs-teaser--daily .fs-teaser-media {
  margin-bottom: 0;
}

.fs-teaser .fs-meta,
.fs-teaser > p:not(.fs-teaser-label):not(.fs-teaser-pair):not(.fs-teaser-source) {
  flex: 1 1 auto;
}

.fs-teaser-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0;
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.fs-teaser-pair span:not(:last-child)::after {
  content: ',\00a0';
}

.fs-teaser-source {
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.fs-teaser-countdown {
  margin-top: 0.1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--fs-border);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fs-teaser-countdown-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fs-muted);
}

.fs-countdown-digits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fs-accent);
}

.fs-countdown-digits span {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 2rem;
}

.fs-countdown-digits small {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fs-muted);
}

.fs-teaser-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fs-accent);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.25rem;
}

a.fs-teaser:hover .fs-teaser-link,
a.fs-teaser:focus-visible .fs-teaser-link {
  text-decoration: underline;
}

.fs-teaser--empty {
  opacity: 0.9;
}

/* Slogan */

.fs-slogan {
  text-align: center;
  padding: 2rem var(--fs-space) 2.5rem;
  background: var(--fs-white);
  border-top: 1px solid var(--fs-border);
}

.fs-slogan p {
  margin: 0.15rem 0;
  font-size: clamp(0.8rem, 2vw, 0.95rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9aa7b5;
  font-weight: 500;
}

/* Content lists */

.fs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fs-card {
  display: grid;
  gap: 0.75rem;
  background: var(--fs-white);
  border: 1px solid var(--fs-border);
  border-radius: 2px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 560px) {
  .fs-card--media {
    grid-template-columns: 8rem 1fr;
    align-items: start;
  }
}

.fs-card-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  background: #dce8f2;
  border-radius: 2px;
}

.fs-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fs-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

/* News list (aligned with Termine cards) */

.fs-news-list {
  gap: 1rem;
}

.fs-news-item {
  display: grid;
  gap: 0.9rem 1.15rem;
  background: var(--fs-white);
  border: 1px solid var(--fs-border);
  border-radius: 2px;
  padding: 0.9rem;
  align-items: start;
  box-shadow: 0 3px 14px rgba(30, 77, 123, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .fs-news-item--media {
    grid-template-columns: 8.75rem minmax(0, 1fr);
  }
}

.fs-news-item--latest {
  border-color: rgba(30, 77, 123, 0.35);
  border-left: 4px solid var(--fs-accent);
  box-shadow: 0 8px 22px rgba(30, 77, 123, 0.12);
}

.fs-news-item:active {
  border-color: rgba(30, 77, 123, 0.28);
  box-shadow: 0 8px 20px rgba(30, 77, 123, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .fs-news-item:hover {
    border-color: rgba(30, 77, 123, 0.28);
    box-shadow: 0 12px 28px rgba(30, 77, 123, 0.14);
    transform: translateY(-2px);
  }

  .fs-news-item:hover .fs-news-media {
    box-shadow: 0 10px 22px rgba(26, 35, 50, 0.28);
  }

  .fs-news-item:hover .fs-news-media img {
    transform: scale(1.04);
  }
}

.fs-news-visual {
  position: relative;
  width: 100%;
  max-width: 8.75rem;
}

.fs-news-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #dce8f2;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(26, 35, 50, 0.2);
  transition: box-shadow 0.25s ease;
}

.fs-news-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent 62%, rgba(26, 35, 50, 0.28) 100%);
  pointer-events: none;
  z-index: 1;
}

.fs-news-item--placeholder .fs-news-media::after {
  background: linear-gradient(180deg, transparent 55%, rgba(26, 35, 50, 0.18) 100%);
}

.fs-news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.06);
  transition: transform 0.35s ease;
}

.fs-news-chip {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  z-index: 2;
  min-width: 2.6rem;
  padding: 0.3rem 0.4rem 0.35rem;
  background: rgba(26, 35, 50, 0.88);
  color: #fff;
  border-radius: 2px;
  text-align: center;
  line-height: 1.05;
  backdrop-filter: blur(4px);
}

.fs-news-chip-day {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fs-news-chip-mon {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.fs-news-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.fs-news-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 700;
}

.fs-news-when {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--fs-text);
}

.fs-news-excerpt p,
.fs-news-full .fs-body-text,
.fs-news-body > .fs-body-text {
  margin: 0;
  color: var(--fs-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.fs-news-full .fs-body-text,
.fs-news-item.is-open .fs-news-full .fs-body-text,
.fs-news-body > .fs-body-text {
  color: var(--fs-text);
}

.fs-body-text p {
  margin: 0 0 0.7em;
}

.fs-body-text p:last-child {
  margin-bottom: 0;
}

.fs-body-text a {
  color: var(--fs-accent, #1e4d7b);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.fs-body-text a:hover {
  color: var(--fs-accent-hover, #3a8fc4);
}

.fs-body-text strong,
.fs-body-text b {
  font-weight: 700;
}

.fs-body-text em,
.fs-body-text i {
  font-style: italic;
}

.fs-news-credit {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--fs-muted);
}

.fs-news-video {
  margin: 0.35rem 0 0;
}

.fs-news-toggle {
  align-self: flex-start;
  margin-top: 0.1rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fs-accent);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.fs-news-toggle:hover,
.fs-news-toggle:focus-visible {
  text-decoration: underline;
}

.fs-meta {
  font-size: 0.85rem;
  color: var(--fs-muted);
}

.fs-prose {
  max-width: 42rem;
}

.fs-prose p {
  margin: 0 0 1rem;
}

.fs-prose img {
  border-radius: 2px;
}

.fs-legal-wrap {
  padding-bottom: 2.5rem;
}

.fs-legal {
  max-width: 48rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.fs-legal h1,
.fs-legal h2,
.fs-legal h3,
.fs-legal h4 {
  margin: 1.6rem 0 0.55rem;
  font-family: var(--fs-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--fs-text);
}

.fs-legal h1 { font-size: 1.35rem; }
.fs-legal h2 { font-size: 1.15rem; }
.fs-legal h3 { font-size: 1.02rem; }

.fs-legal p,
.fs-legal li {
  color: var(--fs-text);
}

.fs-legal ul,
.fs-legal ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.fs-legal a {
  color: var(--fs-accent);
  font-weight: 600;
  text-decoration: none;
}

.fs-legal a:hover {
  text-decoration: underline;
}

.fs-legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.fs-legal th,
.fs-legal td {
  border: 1px solid var(--fs-border);
  padding: 0.45rem 0.55rem;
  vertical-align: top;
}

.fs-article-hero {
  margin: 0 0 1.25rem;
  border-radius: 2px;
  overflow: hidden;
  background: #dce8f2;
}

.fs-article-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.fs-term-list {
  gap: 1rem;
}

.fs-term-row {
  display: grid;
  gap: 0.9rem 1.15rem;
  background: var(--fs-white);
  border: 1px solid var(--fs-border);
  border-radius: 2px;
  padding: 0.9rem;
  align-items: start;
  box-shadow: 0 3px 14px rgba(30, 77, 123, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (min-width: 640px) {
  .fs-term-row--media {
    grid-template-columns: 8.75rem minmax(0, 1fr);
  }

  .fs-term-row:not(.fs-term-row--media) {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

.fs-term-row--next {
  border-color: rgba(30, 77, 123, 0.35);
  border-left: 4px solid var(--fs-accent);
  box-shadow: 0 8px 22px rgba(30, 77, 123, 0.12);
}

.fs-term-row:active {
  border-color: rgba(30, 77, 123, 0.28);
  box-shadow: 0 8px 20px rgba(30, 77, 123, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .fs-term-row:hover {
    border-color: rgba(30, 77, 123, 0.28);
    box-shadow: 0 12px 28px rgba(30, 77, 123, 0.14);
    transform: translateY(-2px);
  }

  .fs-term-row:hover .fs-term-media {
    box-shadow: 0 10px 22px rgba(26, 35, 50, 0.28);
  }

  .fs-term-row:hover .fs-term-media img {
    transform: scale(1.04);
  }
}

.fs-term-visual {
  position: relative;
  width: 100%;
  max-width: 8.75rem;
}

.fs-term-media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #dce8f2;
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(26, 35, 50, 0.2);
  transition: box-shadow 0.25s ease;
}

.fs-term-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent 62%, rgba(26, 35, 50, 0.28) 100%);
  pointer-events: none;
  z-index: 1;
}

.fs-term-row--placeholder .fs-term-media::after {
  background: linear-gradient(180deg, transparent 55%, rgba(26, 35, 50, 0.18) 100%);
}

.fs-term-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.06);
  transition: transform 0.35s ease;
}

.fs-term-chip {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  z-index: 2;
  min-width: 2.6rem;
  padding: 0.3rem 0.4rem 0.35rem;
  background: rgba(26, 35, 50, 0.88);
  color: #fff;
  border-radius: 2px;
  text-align: center;
  line-height: 1.05;
  backdrop-filter: blur(4px);
}

.fs-term-row:not(.fs-term-row--media) .fs-term-chip {
  position: static;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.15rem;
}

.fs-term-chip-day {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.fs-term-chip-mon {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.fs-term-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.fs-term-title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.3;
  font-weight: 700;
}

.fs-term-flag {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fs-accent);
}

.fs-term-cols {
  display: grid;
  gap: 0.65rem 1.75rem;
}

@media (min-width: 560px) {
  .fs-term-cols:not(.fs-term-cols--single) {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.fs-term-col {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.fs-term-col p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--fs-text);
  overflow-wrap: anywhere;
}

.fs-term-ext {
  color: var(--fs-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.fs-term-ext:hover {
  text-decoration: underline;
}

.fs-term-ticket {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

a.fs-term-ticket:hover {
  text-decoration: underline;
}

.fs-term-ticket--ok {
  color: #1f7a3a;
}

.fs-term-ticket--rest {
  color: #1a5fb4;
}

.fs-term-ticket--sold {
  color: #b42318;
}

.fs-term-status {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.fs-term-status--rest {
  color: #1a5fb4;
}

.fs-term-status--sold {
  color: #b42318;
}

.fs-term-notes {
  margin: 0.35rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--fs-border);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--fs-muted);
}

.fs-section-label {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-muted);
}

.fs-term-past {
  margin-top: 2rem;
}

.fs-term-past > summary {
  cursor: pointer;
  list-style: none;
}

.fs-term-past > summary::-webkit-details-marker {
  display: none;
}

.fs-term-past-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.fs-term-past-line {
  margin: 0;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--fs-muted);
  border-bottom: 1px solid var(--fs-border);
}

.fs-term-past-line:last-child {
  border-bottom: none;
}

.fs-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
  background: #e8eef4;
  color: var(--fs-accent);
}

.fs-badge--sold {
  background: #f3d6d6;
  color: #8a1f1f;
}

.fs-badge--rest {
  background: #f5e6c8;
  color: #7a5a10;
}

.fs-badge--media {
  background: #dde8f7;
  color: #1e4d7b;
}

/* Forms */

.fs-form {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.fs-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.fs-form-honey {
  position: absolute;
  left: -9999px;
}

.fs-form input,
.fs-form textarea {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--fs-border);
  border-radius: 2px;
  background: var(--fs-white);
  color: var(--fs-text);
}

.fs-form input:focus,
.fs-form textarea:focus {
  outline: 2px solid var(--fs-sky);
  outline-offset: 1px;
}

.fs-notice {
  padding: 0.75rem 1rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.fs-notice--ok {
  background: #e5f5ea;
  color: #1e6b35;
}

.fs-notice--err {
  background: #f8e4e4;
  color: #8a1f1f;
}

/* Kontakt */

.fs-contact-intro {
  margin-bottom: 1rem;
}

.fs-contact-card--form .fs-contact-intro {
  margin-bottom: 1.1rem;
}

.fs-contact-card--form .fs-contact-intro > :first-child {
  margin-top: 0;
}

.fs-contact-card--form .fs-contact-intro > :last-child {
  margin-bottom: 0;
}

.fs-contact-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 800px) {
  .fs-contact-grid {
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.fs-contact-card {
  background: var(--fs-white);
  border: 1px solid var(--fs-border);
  border-radius: 2px;
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: 0 3px 14px rgba(30, 77, 123, 0.07);
}

.fs-contact-card--booking {
  border-left: 4px solid var(--fs-accent);
  border-color: rgba(30, 77, 123, 0.35);
  box-shadow: 0 8px 22px rgba(30, 77, 123, 0.12);
}

.fs-contact-booking-photo {
  margin: 0 0 0.85rem;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(30, 77, 123, 0.06);
}

.fs-contact-booking-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
}

.fs-contact-card--form {
  border-left: 4px solid var(--fs-accent);
  border-color: rgba(30, 77, 123, 0.35);
  box-shadow: 0 8px 22px rgba(30, 77, 123, 0.12);
}

.fs-contact-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-muted);
}

.fs-contact-card h2 {
  margin: 0 0 0.15rem;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 700;
}

.fs-contact-org {
  margin: 0 0 0.85rem;
  color: var(--fs-muted);
  font-size: 0.95rem;
}

.fs-contact-addr {
  margin: 0 0 0.9rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--fs-text);
}

.fs-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.fs-contact-links a {
  font-weight: 600;
  text-decoration: none;
  word-break: break-word;
}

.fs-contact-links a:hover,
.fs-contact-links a:focus-visible {
  text-decoration: underline;
}

.fs-contact-form-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.fs-form-check {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.55rem !important;
  font-weight: 500 !important;
}

.fs-form-check input {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.fs-form-check a {
  font-weight: 600;
}

.fs-muted {
  color: var(--fs-muted);
}

/* Footer */

.fs-footer {
  flex-shrink: 0;
  margin-top: 2.5rem;
  padding: 1.75rem var(--fs-space) 1.5rem;
  background: linear-gradient(180deg, #eef5fb 0%, #e3eef7 100%);
  color: var(--fs-text);
  border-top: 1px solid var(--fs-border);
}

.fs-footer a {
  color: var(--fs-accent);
  text-decoration: none;
}

.fs-footer a:hover,
.fs-footer a:focus-visible {
  color: var(--fs-sky-deep);
  text-decoration: underline;
}

.fs-footer-inner {
  max-width: var(--fs-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fs-footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}

.fs-footer-brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fs-accent);
}

.fs-footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.fs-social-link {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 2px;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(30, 77, 123, 0.12);
}

.fs-social-link:hover,
.fs-social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(30, 77, 123, 0.18);
}

.fs-social-icon {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
}

.fs-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.fs-footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--fs-muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fs-poster-card,
  .fs-gallery-tile,
  .fs-lightbox {
    transition: none;
  }
}

/* Galerie */

.fs-gallery-back {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.fs-gallery-back a {
  text-decoration: none;
  font-weight: 600;
}

.fs-gallery-back a:hover,
.fs-gallery-back a:focus-visible {
  text-decoration: underline;
}

.fs-gallery-intro {
  margin-bottom: 1.25rem;
}

.fs-gallery-hint {
  margin: 0.85rem 0 0;
  color: var(--fs-muted);
  font-size: 0.88rem;
}

.fs-gallery-hint--mobile {
  display: none;
}

.fs-poster-section {
  margin-bottom: 2rem;
}

.fs-album-shelf-head {
  margin: 0 0 0.85rem;
}

.fs-album-shelf-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-muted);
}

.fs-album-shelf-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.fs-poster-rail {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: start;
  margin-top: 0.35rem;
}

.fs-poster-track {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.25rem 0.85rem;
  -webkit-overflow-scrolling: touch;
}

.fs-poster-track:focus-visible {
  outline: 2px solid var(--fs-sky);
  outline-offset: 2px;
}

.fs-poster-nav {
  width: 2.4rem;
  height: 2.4rem;
  margin-top: calc((min(42vw, 11.5rem) * 1.414 - 2.4rem) / 2);
  border: 1px solid var(--fs-border);
  border-radius: 2px;
  background: var(--fs-white);
  color: var(--fs-accent);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(30, 77, 123, 0.08);
}

.fs-poster-nav:hover,
.fs-poster-nav:focus-visible {
  border-color: rgba(30, 77, 123, 0.35);
  background: #eef4fa;
}

.fs-poster-card {
  flex: 0 0 auto;
  width: min(42vw, 11.5rem);
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.fs-poster-frame {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1.414;
  overflow: hidden;
  border-radius: 2px;
  background: #dce8f2;
  box-shadow: 0 8px 22px rgba(26, 35, 50, 0.22);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fs-poster-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: contrast(1.04) saturate(1.05);
}

.fs-poster-missing {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 0.75rem;
  color: var(--fs-muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .fs-poster-card:hover .fs-poster-frame {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(26, 35, 50, 0.28);
  }
}

.fs-poster-caption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.55rem;
  min-height: 2.85rem;
}

.fs-poster-caption strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.25;
  min-height: 2.5em;
}

.fs-poster-caption small {
  display: block;
  color: var(--fs-muted);
  font-size: 0.8rem;
  line-height: 1.3;
  min-height: 1.3em;
}

/* Mobile: Plakatwand als Raster statt Karussell */
@media (max-width: 719px) {
  .fs-poster-nav {
    display: none;
  }

  .fs-poster-rail {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs-poster-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.75rem;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0.15rem 0 0.35rem;
  }

  .fs-poster-card {
    width: auto;
    scroll-snap-align: unset;
  }

  .fs-gallery-hint--desktop {
    display: none;
  }

  .fs-gallery-hint--mobile {
    display: block;
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  .fs-poster-card {
    width: min(36vw, 12.5rem);
  }
}

.fs-album-shelf {
  margin: 2rem 0 0.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--fs-border);
}

.fs-album-shelf-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 560px) {
  .fs-album-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .fs-album-shelf-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fs-album-chip {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.55rem;
  text-decoration: none;
  color: inherit;
  background: var(--fs-white);
  border: 1px solid var(--fs-border);
  border-radius: 2px;
  box-shadow: 0 3px 14px rgba(30, 77, 123, 0.07);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .fs-album-chip:hover {
    border-color: rgba(30, 77, 123, 0.28);
    box-shadow: 0 10px 24px rgba(30, 77, 123, 0.12);
    transform: translateY(-2px);
  }
}

.fs-album-chip-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  background: #dce8f2;
}

.fs-album-chip-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.05);
}

.fs-album-chip-empty {
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--fs-muted);
  font-size: 0.75rem;
}

.fs-album-chip-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fs-album-chip-body strong {
  font-size: 0.98rem;
  line-height: 1.25;
}

.fs-album-chip-body small {
  color: var(--fs-muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

.fs-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .fs-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .fs-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.fs-gallery-tile {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.fs-gallery-tile-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 2px;
  background: #dce8f2;
  box-shadow: 0 6px 16px rgba(26, 35, 50, 0.18);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fs-gallery-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.04) saturate(1.05);
  transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
  .fs-gallery-tile:hover .fs-gallery-tile-media {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(26, 35, 50, 0.26);
  }

  .fs-gallery-tile:hover .fs-gallery-tile-media img {
    transform: scale(1.04);
  }
}

.fs-gallery-credit {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  z-index: 2;
  max-width: calc(100% - 0.7rem);
  padding: 0.15rem 0.35rem;
  border-radius: 2px;
  background: rgba(26, 35, 50, 0.72);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fs-gallery-credit--on-dark {
  background: rgba(0, 0, 0, 0.55);
}

.fs-gallery-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  margin: 1.5rem 0 0.25rem;
  font-size: 0.92rem;
}

.fs-gallery-pager a {
  font-weight: 600;
  text-decoration: none;
}

.fs-gallery-pager a:hover,
.fs-gallery-pager a:focus-visible {
  text-decoration: underline;
}

/* Lightbox */

.fs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(10, 16, 24, 0.88);
  backdrop-filter: blur(4px);
}

.fs-lightbox[hidden] {
  display: none !important;
}

.fs-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.fs-lightbox-close:hover,
.fs-lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

.fs-lightbox--poster {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
}

.fs-lightbox-stage {
  max-width: min(94vw, 34rem);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  justify-self: center;
}

.fs-lightbox-stage img {
  max-width: min(92vw, 32rem);
  max-height: calc(94vh - 3.25rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}

.fs-lightbox-hint {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fs-lightbox--viewer {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
}

.fs-lightbox-figure {
  margin: 0;
  max-width: min(96vw, 56rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.fs-lightbox-media {
  position: relative;
  max-width: 100%;
}

.fs-lightbox-media img {
  display: block;
  max-width: min(92vw, 56rem);
  max-height: min(72vh, 42rem);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}

.fs-lightbox-caption {
  max-width: 40rem;
  text-align: center;
  color: #fff;
}

.fs-lightbox-caption strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.fs-lightbox-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.45;
}

.fs-lightbox-caption strong:empty,
.fs-lightbox-caption p:empty {
  display: none;
}

.fs-lightbox-nav {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.fs-lightbox-nav:hover,
.fs-lightbox-nav:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

body.fs-lightbox-open {
  overflow: hidden;
}

@media (max-width: 639px) {
  .fs-lightbox--poster,
  .fs-lightbox--viewer {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-content: center;
  }

  .fs-lightbox--poster .fs-lightbox-nav--prev,
  .fs-lightbox--viewer .fs-lightbox-nav--prev {
    order: 2;
    justify-self: start;
  }

  .fs-lightbox--poster .fs-lightbox-stage,
  .fs-lightbox--viewer .fs-lightbox-figure {
    order: 1;
  }

  .fs-lightbox--poster .fs-lightbox-nav--next,
  .fs-lightbox--viewer .fs-lightbox-nav--next {
    order: 2;
    justify-self: end;
    margin-top: -2.6rem;
  }

  .fs-lightbox-stage {
    max-width: 96vw;
  }

  .fs-lightbox-stage img {
    max-width: 92vw;
    max-height: calc(78vh - 2rem);
  }
}
