/* The archived festival stays in source, while visitors see one closure screen. */
body.festival-ended {
  min-height: 100svh;
  overflow-x: hidden;
  background: #102f28;
}

body.festival-ended > :not(.festival-ended-screen):not(#cookie-notice):not(#legal-dialog):not(#cookie-settings-template):not(script) {
  display: none !important;
}

.festival-ended .festival-ended-screen {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100svh;
  padding: 40px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px));
  overflow: hidden;
  isolation: isolate;
  background: #102f28;
}

.festival-ended .festival-ended-screen::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -26px;
  background: url('assets/hero-editorial-v1.webp') center / cover no-repeat;
  filter: blur(14px);
}

.festival-ended .festival-ended-screen::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(8 35 29 / 42%);
}

.festival-ended .festival-ended-card {
  width: min(100%, 740px);
  padding: clamp(36px, 5vw, 68px);
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 28px;
  background: rgb(250 245 232 / 95%);
  box-shadow: 0 24px 75px rgb(3 28 23 / 38%);
  color: #143d33;
  text-align: center;
}

.festival-ended .festival-ended-kicker {
  margin: 0 0 24px;
  color: #187a9b;
  font-size: clamp(10px, .9vw, 13px);
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.festival-ended .festival-ended-card h1 {
  margin: 0;
  font-family: var(--font-display, 'Bebas Neue', Impact, sans-serif);
  font-size: clamp(60px, 7.3vw, 100px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: .01em;
}

.festival-ended .festival-ended-card h1 span {
  color: #187a9b;
}

.festival-ended .festival-ended-thanks {
  margin: 24px 0 29px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.4;
}

.festival-ended .festival-ended-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 54px;
  padding: 12px 18px 12px 24px;
  border-radius: 13px;
  background: #143d33;
  color: #fffaf0;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.festival-ended .festival-ended-link:hover {
  background: #236452;
  transform: translateY(-2px);
}

.festival-ended .festival-ended-link:focus-visible {
  outline: 3px solid #e7aa30;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .festival-ended .festival-ended-screen {
    padding: 20px;
  }

  .festival-ended .festival-ended-card {
    padding: 36px 20px 32px;
    border-radius: 22px;
  }

  .festival-ended .festival-ended-kicker {
    margin-bottom: 19px;
    letter-spacing: .1em;
  }

  .festival-ended .festival-ended-card h1 {
    font-size: clamp(52px, 13vw, 70px);
  }

  .festival-ended .festival-ended-thanks {
    margin: 18px 0 22px;
  }

  .festival-ended .festival-ended-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .festival-ended .festival-ended-link { transition: none; }
}
