.landing-hero {
  position: relative;
  background-color: #105269;
  color: #fff;
  width: 100vw;
  right: 50%;
  left: 50%;
  margin-right: -50vw;
  margin-left: -50vw;
  margin-top: -2rem;
}

.landing-hero__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1480px;
  margin: 0 auto;
  padding: 1.1rem 11rem 8rem;
}

.landing-hero--has-image .landing-hero__container {
  grid-template-columns: minmax(0, 592fr) minmax(0, 592fr);
  gap: 3.5rem;
}

/* The photo starts just under the header's rule; the design drops the title
   well below it rather than centring it against the photo. */
.landing-hero__content {
  align-self: start;
  padding-top: 5.3rem;
}

.landing-hero__title {
  margin: 0 0 2.5rem;
  font-family: "Flanders Art Sans", sans-serif;
  font-weight: 500;
  font-size: 2.8rem;
  line-height: 3.6rem;
  color: #fff;
}

.landing-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background-color: #fff;
  color: #333332;
  border: 2px solid #fff;
  font-family: "Flanders Art Sans", sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
}

.landing-hero__button:visited {
  color: #333332;
}

.landing-hero__button:hover,
.landing-hero__button:focus {
  background-color: transparent;
  color: #fff;
}

.landing-hero__button-icon::before {
  font-size: 1.8rem;
}

/* The photo starts inside the band and overflows below it: the negative
   margin cancels the container's bottom padding plus the intended overflow. */
.landing-hero__image {
  position: relative;
  z-index: 1;
  align-self: start;
  margin-bottom: -14.7rem;
  aspect-ratio: 592 / 338;
}

.landing-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1023px) {
  .landing-hero__container,
  .landing-hero--has-image .landing-hero__container {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.2rem;
    padding: 4rem 3.2rem;
  }

  .landing-hero__content {
    padding-top: 0;
  }

  .landing-hero__image {
    margin-bottom: 0;
    aspect-ratio: 16 / 9;
  }
}

@media screen and (max-width: 767px) {
  .landing-hero__container,
  .landing-hero--has-image .landing-hero__container {
    padding: 3.2rem 2.4rem;
  }

  .landing-hero__title {
    font-size: 2.4rem;
    line-height: 1.3;
  }
}
