/* Water and Youth Reports & Publications page
   (templates/node--water-and-youth-reports-page.html.twig). The component
   CSS loads after this file, so rules repeat the component class to win. */

/* Hero: cyan with the grid drawn over it, no photo or overlay */
.water-and-youth-reports-hero.fullscreen-hero {
  --fullscreen-hero-overlay: none;
  min-height: 560px;
  background-color: var(--brand-deep-sky-blue);
  background-blend-mode: normal;
  background-position: center;
}

.water-and-youth-reports-hero.fullscreen-hero .reveal {
  max-width: 870px;
}

.water-and-youth-reports-hero.fullscreen-hero p {
  letter-spacing: -0.01em;
}

/* Section eyebrows */
.publications-grid .section-title.deep-sky-blue .section-title__subtitle,
.water-and-youth-reports-brochure.contact-cta .section-title__subtitle {
  letter-spacing: 0.04em;
}

/* Brochure */
.water-and-youth-reports-brochure.contact-cta .max-width-sm {
  padding: 40px 20px;
}

.water-and-youth-reports-brochure.contact-cta .contact-cta__content {
  gap: 40px;
}

.water-and-youth-reports-brochure.contact-cta .section-title {
  gap: 20px;
}

.water-and-youth-reports-brochure.contact-cta .section-title__heading {
  max-width: none;
  letter-spacing: -0.01em;
}

.water-and-youth-reports-brochure.contact-cta .contact-cta__button {
  margin-top: 0;
  padding: 20px 32px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--brand-neutral-8);
}

/* Mobile: photo at its own height at the top, fading into the cerulean */
@media (max-width: 767.98px) {
  .water-and-youth-reports-brochure.contact-cta .contact-cta__image {
    bottom: auto;
    height: auto;
    mask-image: linear-gradient(to bottom, #000 29.27%, transparent 82.3%);
  }

  .water-and-youth-reports-brochure.contact-cta .contact-cta__card::before {
    content: none;
  }

  .water-and-youth-reports-brochure.contact-cta .section-title__subtitle {
    font-size: 12px;
  }

  .water-and-youth-reports-brochure.contact-cta .section-description {
    letter-spacing: 0;
  }
}

@media (min-width: 768px) {
  /* 560px tall, not the component's full screen from 1080px */
  .water-and-youth-reports-hero.fullscreen-hero {
    height: auto;
    padding-bottom: 80px;
  }

  /* Breaks after "knowledge products", as in the design: the first line is
     641px wide, 662px with "to" */
  .water-and-youth-reports-hero.fullscreen-hero p .reveal {
    max-width: 652px;
  }

  .water-and-youth-reports-hero.fullscreen-hero p {
    font-size: 20px;
    line-height: 1.5;
  }

  .contact-cta.water-and-youth-reports-brochure {
    --contact-cta-gradient-start: 17.42%;
    --contact-cta-gradient-end: 73.92%;
  }

  .water-and-youth-reports-brochure.contact-cta .max-width-sm {
    padding: 40px 60px 100px;
  }

  /* Lines break where the template's <br>s are */
  .water-and-youth-reports-brochure.contact-cta .contact-cta__title {
    max-width: none;
  }
}

/* Photo cropped to the 1800px-wide card in the design: keep its right edge */
@media (min-width: 1080px) {
  .contact-cta.water-and-youth-reports-brochure {
    --contact-cta-image-position: right center;
  }
}

@media (min-width: 1440px) {
  .water-and-youth-reports-hero.fullscreen-hero .hero-title {
    font-size: 64px;
  }
}
