/*
 * Home page layout rhythm. Loaded only by index.php, after style.css.
 *
 * The template's py-* classes use one fixed padding at every width, so a
 * section that breathes on a desktop becomes a 160px void on a phone.
 * These bands scale with the viewport instead.
 */

/* Section bands */
.home-band {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.home-band-photo {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.home-band-cta {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .home-band {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .home-band-photo {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }

  .home-band-cta {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 992px) {
  .home-band {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }

  .home-band-photo {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }
}

/* Intro copy under the three feature cards. Body text reads left-aligned at
   every width; the heading keeps the template's centre-then-left behaviour. */
.home-intro {
  margin-top: 2.5rem;
}

.home-intro p {
  text-align: left;
}

@media (min-width: 992px) {
  .home-intro {
    margin-top: 4rem;
  }
}

/* Hiring call to action */
.home-cta-link {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

@media (min-width: 992px) {
  .home-cta-link {
    font-size: 1.75rem;
  }
}

/* The template reserves 300px for a live map. This page shows a static image,
   so the box should be only as tall as the image. */
.googlemap {
  min-height: 0;
}

/* Address and phone numbers under the map */
.home-address {
  margin-top: 1.5rem;
  line-height: 1.6;
}

.home-address p {
  margin-bottom: 0.5rem;
}

.home-address p:last-child {
  margin-bottom: 0;
}

/* Gift card copy and link */
.home-gift p {
  margin-bottom: 1rem;
}

.home-gift-link {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Footer legal line */
.home-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-legal a {
  color: #bebebe;
}

@media (min-width: 992px) {
  .home-legal {
    justify-content: flex-start;
  }
}
