/* Service pages (scripts/page-template.html). Loaded after style.css and only
   by these pages: the home page is not affected. */

/* The home hero is a full-height flex row; a service page opens on a plain
   reading column shared with the introduction below it. */
.page-hero {
  display: block;
  min-height: 0;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 50px;
}

.page-hero .hero-content,
.page-prose {
  max-width: 860px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 18px;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--text-gray);
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.page-intro {
  padding: 10px 0 30px;
}

.page-prose p {
  color: var(--text-gray);
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

/* Fewer than four offer cards: keep them at card width, centred */
.offers-grid-1,
.offers-grid-2,
.offers-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
}

.page-outro {
  padding: 30px 0 90px;
}

.page-related {
  margin-top: 60px;
}

.page-related h2 {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 14px;
}

.page-related ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  padding: 0;
}

.page-related a {
  color: var(--primary-color);
  font-weight: 600;
}

.page-related a:hover {
  text-decoration: underline;
}
