/**
 * page-banner.css — Meadow Lane Park
 * Top banner for all inner pages: coloured background, title, breadcrumb.
 */

/* ── Banner shell ────────────────────────────────────── */
.page-banner {
  background: var(--clr-slate);
  padding: var(--space-12) 0 var(--space-10);
  position: relative;
  overflow: hidden;
}

/* Subtle decorative teal gradient accent */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(74,124,111,0.25) 100%);
  pointer-events: none;
}

.page-banner__inner {
  position: relative;
  z-index: 1;
}

/* ── Breadcrumb inside banner ────────────────────────── */
.page-banner__breadcrumb {
  margin-bottom: var(--space-3);
}

.page-banner__breadcrumb ol,
.page-banner__breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-banner__breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.page-banner__breadcrumb li + li::before {
  content: '/';
  color: rgba(255,255,255,0.25);
}

.page-banner__breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-banner__breadcrumb a:hover {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.page-banner__breadcrumb li[aria-current="page"] {
  color: rgba(255,255,255,0.4);
}

/* ── Page title ──────────────────────────────────────── */
.page-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  color: white;
  line-height: var(--leading-tight);
  margin: 0;
}

/* ── Page banner variants ────────────────────────────── */
.page-banner--teal {
  background: var(--clr-teal);
}

.page-banner--stone {
  background: var(--clr-stone-light);
}

.page-banner--stone .page-banner__title  { color: var(--clr-slate); }
.page-banner--stone .page-banner__breadcrumb a { color: var(--clr-teal); }
.page-banner--stone .page-banner__breadcrumb li { color: var(--clr-text-light); }

/* ── Inner page prose layout ────────────────────────── */
.inner-page {
  padding: var(--space-16) 0;
}

.inner-page__lead {
  font-size: var(--text-lg);
  color: var(--clr-text-mid);
  max-width: 680px;
  margin-bottom: var(--space-10);
  line-height: var(--leading-normal);
}

/* ── Two-col with image ──────────────────────────────── */
.inner-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  margin-bottom: var(--space-16);
}

.inner-two-col--reversed { direction: rtl; }
.inner-two-col--reversed > * { direction: ltr; }

.inner-two-col__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-stone);
  aspect-ratio: 4 / 3;
}

.inner-two-col__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Section divider ─────────────────────────────────── */
.section-divider {
  border: none;
  border-top: 1px solid var(--clr-stone);
  margin: var(--space-12) 0;
}

/* ── CTA band ────────────────────────────────────────── */
.cta-band {
  background: var(--clr-teal-pale);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-12);
  text-align: center;
  margin: var(--space-16) 0;
}

.cta-band h2 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 500;
  color: var(--clr-slate);
  margin-bottom: var(--space-3);
}

.cta-band p {
  color: var(--clr-text-mid);
  max-width: 440px;
  margin: 0 auto var(--space-8);
}

.cta-band__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767px) {
  .inner-two-col { grid-template-columns: 1fr; }
  .inner-two-col--reversed { direction: ltr; }
  .cta-band { padding: var(--space-10) var(--space-6); }
}
