/** Festival hero and its decorative border. */
.festival-hero {
  position: relative;
  padding-block-end: 24px;
}

.festival-hero::after {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 24px;
  content: "";
  background: url(../../images/folk-pattern.svg) center / 96px 24px repeat-x;
}

.festival-hero__photo img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 35%;
}

.festival-hero__copy {
  padding-block: 2.5rem 3rem;
}

.festival-hero h1 {
  max-width: 12ch;
  margin: 0 0 1.5rem;
  color: var(--festival-navy);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.festival-hero__tagline {
  margin: 0 0 1rem;
  font-family: var(--font-headings);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.35;
}

.festival-hero__description {
  max-width: 40ch;
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.festival-hero__region {
  margin: 0 0 1rem;
  font-size: 1rem;
}

@media (min-width: 43.75rem) {
  .festival-hero__photo img {
    height: 420px;
  }
}

@media (min-width: 62.5rem) {
  .festival-hero {
    display: grid;
    min-height: 680px;
    align-items: center;
  }

  .festival-hero__photo {
    position: absolute;
    inset-block: 0 24px;
    inset-inline: 49% 0;
  }

  .festival-hero__photo picture,
  .festival-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .festival-hero__copy {
    width: 44%;
    padding-block: 4rem;
  }
}
