.hero-1 {
  background: var(--color-bg);
  padding: 70px var(--page-gutter) 0;
  overflow: visible;
}

.hero-1__stage {
  max-width: var(--page-max);
  margin: 0 auto;
}

.hero-1__media {
  position: relative;
  aspect-ratio: 2 / 1;
}

.hero-1__media-bg {
  background-color: var(--color-bg);
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-1__media-bg > img {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* News cards still use hero-1 sticker / title chrome until they become Tiles. */
.hero-1__card-sticker {
  --sticker-rotate: 0deg;
  --sticker-oy: -22%;
  --sticker-w: 64%;
  position: relative;
  z-index: 2;
  display: block;
  flex: 0 0 auto;
  align-self: center;
  width: var(--sticker-w);
  max-width: calc(100% - 1.2rem);
  margin: 0 auto;
  margin-top: var(--sticker-oy);
  min-height: 0;
  aspect-ratio: 1 / 1;
  transform: rotate(var(--sticker-rotate));
  transform-origin: center center;
}

.hero-1__card-sticker > .flow-shape__bg {
  background-color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-1__card > .hero-1__card-sticker > .flow-shape__bg > img {
  display: none;
}

.hero-1__card-sticker[data-media="1"] {
  --sticker-rotate: -6deg;
  --sticker-oy: -12%;
  --sticker-w: 58%;
  aspect-ratio: 1 / 1;
}
.hero-1__card-sticker[data-media="1"] > .flow-shape__bg {
  clip-path: url("#shape-1x1-2");
  -webkit-clip-path: url("#shape-1x1-2");
}

.hero-1__card-sticker[data-media="2"] {
  --sticker-rotate: 5deg;
  --sticker-oy: -12%;
  --sticker-w: 53%;
  aspect-ratio: 1 / 1;
}
.hero-1__card-sticker[data-media="2"] > .flow-shape__bg {
  clip-path: url("#shape-1x1-3");
  -webkit-clip-path: url("#shape-1x1-3");
}

.hero-1__card-sticker[data-media="3"] {
  --sticker-rotate: -3deg;
  --sticker-oy: -22%;
  --sticker-w: 62%;
  aspect-ratio: 1 / 1;
}
.hero-1__card-sticker[data-media="3"] > .flow-shape__bg {
  clip-path: url("#shape-1x1-4");
  -webkit-clip-path: url("#shape-1x1-4");
}

.hero-1__card-sticker[data-media="4"] {
  --sticker-rotate: 7deg;
  --sticker-oy: -24%;
  --sticker-w: 60%;
  aspect-ratio: 1 / 1;
}
.hero-1__card-sticker[data-media="4"] > .flow-shape__bg {
  clip-path: url("#shape-1x1-5");
  -webkit-clip-path: url("#shape-1x1-5");
}

.hero-1__card-sticker[data-media="5"],
.hero-1__card-sticker[data-media="6"],
.hero-1__card-sticker[data-media="7"] {
  --sticker-oy: calc(var(--sticker-w) / -6 + var(--sticker-w) / 20);
  aspect-ratio: 2 / 1;
}

.hero-1__card-sticker[data-media="5"] {
  --sticker-rotate: -5deg;
  --sticker-w: 86%;
}
.hero-1__card-sticker[data-media="5"] > .flow-shape__bg {
  clip-path: url("#shape-2x1-1");
  -webkit-clip-path: url("#shape-2x1-1");
}

.hero-1__card-sticker[data-media="6"] {
  --sticker-rotate: 4deg;
  --sticker-w: 84%;
}
.hero-1__card-sticker[data-media="6"] > .flow-shape__bg {
  clip-path: url("#shape-2x1-2");
  -webkit-clip-path: url("#shape-2x1-2");
}

.hero-1__card-sticker[data-media="7"] {
  --sticker-rotate: -7deg;
  --sticker-w: 88%;
}
.hero-1__card-sticker[data-media="7"] > .flow-shape__bg {
  clip-path: url("#shape-2x1-3");
  -webkit-clip-path: url("#shape-2x1-3");
}

.hero-1__card-sticker[data-media="8"] {
  --sticker-rotate: 2deg;
  --sticker-oy: -20%;
  --sticker-w: 58%;
  aspect-ratio: 1 / 1;
}
.hero-1__card-sticker[data-media="8"] > .flow-shape__bg {
  clip-path: url("#shape-1x1-1");
  -webkit-clip-path: url("#shape-1x1-1");
}

.hero-1__card > .flow-shape__content,
.news-1__card > .flow-shape__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.65rem 0.75rem calc(0.9rem + 10px);
  text-align: center;
  gap: 0;
}

.hero-1__titles {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  width: 100%;
  margin: 0;
  text-align: center;
}

.hero-1__card > .flow-shape__content > .btn-pill,
.news-1__card > .flow-shape__content > .btn-pill {
  order: 2;
  flex-shrink: 0;
  align-self: center;
  width: min(100%, 12rem);
  margin: 0.75rem auto 0;
  background: #fff;
}

.hero-1__titles > .hero-1__badge {
  display: block;
  order: 1;
  font-weight: 900;
  font-size: calc(var(--text-subheading) * 0.9);
  line-height: var(--text-subheading-line);
  text-wrap: balance;
  text-align: center;
  max-width: 95%;
}

.hero-1__titles > .hero-1__tagline {
  order: 2;
  margin: 0;
  font-size: calc(var(--text-script) * 0.9);
  line-height: var(--text-script-line);
  text-wrap: balance;
  text-align: center;
}

.hero-1__titles > .hero-1__tagline.script-title,
.hero-1__card[data-template="3"] .hero-1__titles > .hero-1__badge {
  line-height: var(--text-script-line);
}

.hero-1__sub {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--text-p-smaller);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.hero-1__card[data-template="1"] .hero-1__titles > .hero-1__badge,
.news-1__card[data-template="1"] .hero-1__titles > .hero-1__badge {
  color: #111;
}

.hero-1__card[data-template="1"] .hero-1__titles > .hero-1__tagline,
.news-1__card[data-template="1"] .hero-1__titles > .hero-1__tagline {
  color: #fff;
}

.hero-1__card[data-template="2"] .hero-1__titles > .hero-1__badge {
  display: none;
}

.hero-1__card[data-template="2"] .hero-1__titles > .hero-1__tagline {
  color: #fff;
}

.hero-1__card[data-template="3"] .hero-1__titles > .hero-1__badge {
  order: 1;
  color: #fff;
  font-family: var(--font-script);
  font-weight: var(--text-script-weight);
  font-size: calc(var(--text-script) * 0.9);
  line-height: var(--text-script-line);
}

.hero-1__card[data-template="3"] .hero-1__titles > .hero-1__tagline {
  order: 2;
  color: #111;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: calc(var(--text-subheading) * 0.9);
  line-height: var(--text-subheading-line);
}

@container page (max-width: 767px) {
  .hero-1 {
    padding-top: 2.25rem;
  }

  .hero-1__media {
    aspect-ratio: 16 / 10;
  }
}

@container page (min-width: 768px) and (max-width: 1199px) {
  .hero-1 {
    padding-top: 3rem;
  }
}

@container page (min-width: 768px) {
  .hero-1__card > .flow-shape__content,
  .news-1__card > .flow-shape__content {
    padding: 0.75rem 0.9rem calc(1rem + 10px);
  }
}

@container page (min-width: 1200px) {
  .news-1__card > .flow-shape__bg {
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
  }
}
