/* ==========================================================================
   Home hero carousel
   ========================================================================== */

.home-hero {
  position: relative;
  width: 100vw;
  min-height: clamp(18rem, 25vw, 30rem);
  margin: calc(-1 * var(--space-xl)) calc(50% - 50vw) var(--space-xl);
  margin-bottom: 2px;
  overflow: hidden;
  background: var(--color-bg-strong);
  border-bottom: 1px solid var(--color-border-inverted);
}

.home-hero-carousel {
  position: absolute;
  inset: 0;
}

.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.home-hero-slide.is-active {
  opacity: 1;
}

.home-hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(5, 2, 5, 0.36),
      rgba(5, 2, 5, 0.08) 52%,
      rgba(5, 2, 5, 0.22)
    ),
    radial-gradient(circle at 18% 45%, rgba(225, 16, 232, 0.14), transparent 28rem);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--page-max-width));
  min-height: clamp(18rem, 25vw, 30rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-text-inverted);
}

.home-hero-kicker {
  display: inline-block;
  width: fit-content;
  margin: 0 0 var(--space-md);
  padding: 0.42rem 0.8rem;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transform: rotate(-1.4deg);
  box-shadow: var(--shadow-glow);
}

.home-hero-title {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 8.5rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
  text-transform: uppercase;
  text-shadow:
    0.045em 0.045em 0 rgba(225, 16, 232, 0.72),
    0 0.12em 0.6em rgba(0, 0, 0, 0.72),
    0 0 1.4rem rgba(0, 0, 0, 0.38);
}

.home-hero-text {
  max-width: 40rem;
  margin: var(--space-md) 0 0;
  color: #ffe8f8;
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
  line-height: 1.5;
  font-weight: 750;
  text-shadow: 0 0.12rem 0.7rem rgba(0, 0, 0, 0.65);
}


/* ==========================================================================
   Full-width content sections
   ========================================================================== */

.content-section {
  position: relative;
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  background: var(--color-section-white);
  color: var(--color-text);
  box-shadow: none;
  padding:
    clamp(2.5rem, 6vw, 5rem)
    max(1rem, calc((100vw - var(--page-max-width)) / 2));
  overflow: hidden;
}

.content-section:nth-of-type(odd) {
  background: var(--color-section-light);
}

.content-section:nth-of-type(even) {
  background: var(--color-section-white);
}

.content-section::before {
  display: none;
}

.content-section > * {
  position: relative;
  z-index: 1;
}

.content-section h1 {
  max-width: var(--content-max-width);
  margin: 0 0 var(--space-md);
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: -0.06em;
}

.content-section h2 {
  max-width: var(--content-max-width);
  margin: var(--space-lg) 0 var(--space-sm);
  color: #7d145f;
}

.content-section p,
.content-section ul,
.content-section ol {
  max-width: var(--content-max-width);
}

.content-section p,
.content-section li {
  color: var(--color-muted);
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.7;
}

.content-section b,
.content-section strong {
  color: var(--color-text);
}

.content-section a {
  color: var(--color-accent-strong);
  font-weight: 900;
}

.content-section a:hover,
.content-section a:focus-visible {
  color: #7d145f;
}


/* Explicit section colour variants.
   These override the automatic odd/even striping above. */

.content-section.section-white {
  background: var(--color-section-white);
}

.content-section.section-light {
  background: var(--color-section-light);
}

.content-section.section-green {
  background: var(--color-section-green);
}

.content-section.section-green h1,
.content-section.section-green h2,
.content-section.section-green p,
.content-section.section-green li {
  color: #10200b;
}

.content-section.section-green a {
  color: #6b0070;
}

.content-section.section-pink {
  background: var(--color-accent);
}

.content-section.section-pink h1,
.content-section.section-pink h2,
.content-section.section-pink p,
.content-section.section-pink li {
  color: #ffffff;
}

.content-section.section-pink a {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.content-section.section-dark {
  background: var(--color-section-dark);
  color: var(--color-text-inverted);
}

.content-section.section-dark h1,
.content-section.section-dark h2 {
  color: #ffffff;
}

.content-section.section-dark p,
.content-section.section-dark li{
  color: #f2d8ee;
}

.content-section.section-dark b{
  color: #fff;
  font-weight: bold;
}
.content-section.section-dark a {
  color: #ffffff;
  text-decoration-color: var(--color-accent);
}


/* ==========================================================================
   Split sections with edge-to-edge illustration
   ========================================================================== */

.content-section.content-section-split {
  padding: 0;
  display: grid;
  grid-template-columns:
    minmax(1rem, 1fr)
    minmax(0, calc(var(--page-max-width) * 0.58))
    minmax(20rem, calc(var(--page-max-width) * 0.42))
    minmax(1rem, 1fr);
  gap: 0;
  align-items: stretch;
}

.content-section.content-section-split.image-right .content-main {
  grid-column: 2;
  grid-row: 1;
}

.content-section.content-section-split.image-right .content-illustration {
  grid-column: 3 / 5;
  grid-row: 1;
}

.content-section.content-section-split.image-left {
  grid-template-columns:
    minmax(1rem, 1fr)
    minmax(20rem, calc(var(--page-max-width) * 0.42))
    minmax(0, calc(var(--page-max-width) * 0.58))
    minmax(1rem, 1fr);
}

.content-section.content-section-split.image-left .content-illustration {
  grid-column: 1 / 3;
  grid-row: 1;
}

.content-section.content-section-split.image-left .content-main {
  grid-column: 3;
  grid-row: 1;
}

.content-section.content-section-split .content-main {
  max-width: var(--content-max-width);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 3vw, 3rem);
  align-self: center;
}

.content-main > *:first-child {
  margin-top: 0;
}

.content-section.content-section-split .content-illustration {
  min-height: clamp(22rem, 34vw, 34rem);
}

.content-section.content-section-split .content-illustration img,
.content-section.content-section-split .content-illustration video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(22rem, 34vw, 34rem);
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}


/* ==========================================================================
   News
   ========================================================================== */

.news-preview,
.news-post {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
}

.news-preview:first-child,
.news-post:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.news-preview h2,
.news-post h2 {
  margin-top: 0;
}

.news-body,
.news-body-preview {
  white-space: pre-wrap;
  line-height: 1.7;
}

.news-body-preview {
  max-height: 20rem;
  overflow: hidden;
}

.news-list {
  width: 100%;
}

.news-post-section h2 {
  max-width: var(--content-max-width);
  margin: 0 0 var(--space-md);
  color: var(--color-text);
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.news-post-meta {
  margin: 0 0 var(--space-sm);
  color: var(--color-accent-strong);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-post-content {
  max-width: var(--content-max-width);
}

.news-body {
  white-space: pre-wrap;
  line-height: 1.7;
}
/* ==========================================================================
   Bands
   ========================================================================== */

.band-card {
  position: relative;
  width: min(100% - 2rem, var(--page-max-width));
  margin: 0 auto var(--space-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-card);
  padding: clamp(1.1rem, 3vw, 2rem);
}

.band-card h2 {
  margin-top: 0;
  color: var(--color-text);
  text-transform: uppercase;
}

.band-card p {
  color: var(--color-muted);
  line-height: 1.7;
}


/* ==========================================================================
   Maps
   ========================================================================== */

#googlemaps {
  max-width: var(--content-max-width);
  margin: var(--space-lg) 0;
}

#googlemaps iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-soft);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 75rem) {
  .content-section.content-section-split,
  .content-section.content-section-split.image-left,
  .content-section.content-section-split.image-right {
    display: block;
    padding:
      clamp(2.5rem, 6vw, 5rem)
      max(1rem, calc((100vw - var(--page-max-width)) / 2));
  }

  .content-section.content-section-split .content-main {
    max-width: var(--content-max-width);
    padding: 0;
  }

  .content-section.content-section-split .content-illustration {
    display: none;
  }
}

@media (max-width: 52rem) {
  .home-hero {
    min-height: clamp(22rem, 68vh, 34rem);
    margin: calc(-1 * var(--space-md)) calc(50% - 50vw) var(--space-lg);
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .home-hero-content {
    /*width: min(100% - 1rem, var(--page-max-width));*/
    min-height: clamp(22rem, 68vh, 34rem);
    padding: 3rem 0;
  }

  .home-hero-title {
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .home-hero-text {
    font-size: 1.02rem;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5, 2, 5, 0.24),
        rgba(5, 2, 5, 0.52)
      ),
      radial-gradient(circle at 20% 45%, rgba(225, 16, 232, 0.12), transparent 22rem);
  }

  .content-section {
    padding: var(--space-xl) 1rem;
  }

  .content-section h1 {
    letter-spacing: -0.045em;
  }

  #googlemaps {
    display: none;
  }
}
