/* 4FORM v36.1 — unified, collision-safe hero system for every release page. */

html,
body.release-detail-page {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body.release-detail-page {
    overflow-x: clip;
  }
}

body.release-detail-page .release-unified-hero {
  display: flex !important;
  min-height: min(94svh, 62rem) !important;
  align-items: center !important;
  padding-top: clamp(7rem, 9vw, 9rem) !important;
}

body.release-detail-page .release-unified-hero-grid {
  --release-hero-art-size: clamp(22rem, 30vw, 34rem);
  display: grid !important;
  width: 100%;
  min-width: 0;
  align-items: center !important;
  gap: clamp(2.5rem, 5vw, 5rem) !important;
}

body.release-detail-page .release-unified-hero--era .release-unified-hero-grid {
  grid-template-columns: minmax(0, 1fr) var(--release-hero-art-size) !important;
}

body.release-detail-page .release-unified-hero--visualizer .release-unified-hero-grid {
  grid-template-columns: var(--release-hero-art-size) minmax(0, 1fr) !important;
}

body.release-detail-page .release-unified-hero-copy {
  width: 100%;
  min-width: 0;
  max-width: none !important;
  overflow: hidden;
}

body.release-detail-page .release-unified-hero-title {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  font-size: clamp(4.5rem, 6.35vw, 7.25rem) !important;
  line-height: 0.84 !important;
  letter-spacing: -0.025em;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

body.release-detail-page .release-unified-hero-art {
  width: var(--release-hero-art-size) !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin-inline: 0 !important;
  overflow: hidden;
}

body.release-detail-page .release-unified-hero--era .release-unified-hero-art {
  justify-self: end;
}

body.release-detail-page .release-unified-hero--visualizer .release-unified-hero-art {
  justify-self: start;
}

body.release-detail-page .release-unified-hero-art-image,
body.release-detail-page .release-unified-hero-art > img {
  position: absolute !important;
  inset: 0 !important;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

@media (max-width: 63.999rem) {
  body.release-detail-page .release-unified-hero {
    min-height: auto !important;
    align-items: stretch !important;
    padding-top: clamp(6.75rem, 16vw, 8rem) !important;
  }

  body.release-detail-page .release-unified-hero-grid,
  body.release-detail-page .release-unified-hero--era .release-unified-hero-grid,
  body.release-detail-page .release-unified-hero--visualizer .release-unified-hero-grid {
    --release-hero-art-size: min(100%, 28rem);
    grid-template-columns: minmax(0, 1fr) !important;
    gap: clamp(2.5rem, 8vw, 4rem) !important;
  }

  body.release-detail-page .release-unified-hero-copy {
    order: 1;
  }

  body.release-detail-page .release-unified-hero-art {
    order: 2;
    justify-self: start !important;
  }

  body.release-detail-page .release-unified-hero-title {
    font-size: clamp(3.75rem, 13vw, 6rem) !important;
    line-height: 0.86 !important;
  }
}

@media (max-width: 39.999rem) {
  body.release-detail-page .release-unified-hero-grid {
    --release-hero-art-size: min(100%, 24rem);
  }

  body.release-detail-page .release-unified-hero-title {
    font-size: clamp(3rem, 15vw, 4.5rem) !important;
    line-height: 0.88 !important;
    letter-spacing: -0.018em;
  }
}

@media (max-width: 24rem) {
  body.release-detail-page .release-unified-hero-title {
    font-size: clamp(2.6rem, 14vw, 3.5rem) !important;
  }
}
