/* ==========================================================================
   Content pages — About, Memberships, Youth Play, Contact (pages.css)
   Only what these pages own; everything else is site.css.
   ========================================================================== */

/* ── Page hero: a dark band with a clay edge, shared by all four pages ── */
.page-hero {
  padding: var(--s5) 0 var(--s4);
  background: var(--noise, none), radial-gradient(80% 140% at 0% 0%, var(--red-night) 0%, var(--black) 65%);
  background-blend-mode: overlay, normal;
  border-bottom: 6px solid var(--clay);
}
.page-hero h1 { margin: var(--s0) 0 var(--s2); font-size: var(--fs-h1); line-height: 1.02; }
.page-hero h1 .red { color: var(--red); }
.page-hero .lead { margin: 0; }
.page-hero .row { margin-top: var(--s3); }

/* ── About ── */
.about-split p { margin: 0 0 var(--s2); }   /* .split .photo-frame (site.css) */
.not-list { list-style: none; padding: 0; margin: var(--s2) 0 0; display: grid; gap: var(--s1); }
.not-list li { padding-left: var(--s3); position: relative; }
.not-list li::before { content: '✕'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.not-list li.yes::before { content: '✓'; color: var(--green-ok); }
.offer-grid { display: grid; gap: var(--s2); grid-template-columns: 1fr; margin-top: var(--s3); }
.offer-item { background: color-mix(in srgb, var(--black) 55%, transparent); border-top: var(--edge) solid var(--chalk); border-radius: var(--radius); padding: var(--s2) var(--s3); text-align: center; }
.offer-item h3 { margin: 0 0 var(--s0); font-size: var(--fs-h3); }
.offer-item p { margin: 0; }
.sport-tags { display: flex; flex-wrap: wrap; gap: var(--s1); list-style: none; padding: 0; margin: var(--s2) 0 var(--s3); }
.sport-tags li { border: 2px solid var(--red); font-size: var(--fs-sm); }   /* the tag look: site.css */

/* ── Memberships ── (the plan grid, flag and term line are site.css's, shared with Join) */
.page-memberships .plan-grid { margin-top: var(--s3); }
.plan { position: relative; display: flex; flex-direction: column; }
.plan.is-popular { outline: 3px solid var(--red); box-shadow: var(--glow); }
.plan .btn { margin-top: auto; }
.includes-list { columns: 1; }
/* Memberships hero on grass (PSA_23079): the lead in chalk, and "Pay less." white with a red
   underline, because red text on green fails contrast. */
.page-hero.section-turf .lead { color: var(--chalk); }
.page-hero.section-turf h1 { text-shadow: var(--text-shade); }
.page-hero.section-turf h1 .red {
  color: var(--white);
  text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: .12em; text-underline-offset: .14em;
}
.faq { display: grid; gap: var(--s1-5); margin-top: var(--s3); max-width: 52rem; }
.faq details, .play-item { --grey: var(--grey-on-light); --link-hover: var(--red-deep); }   /* white surfaces: the darker grey and link hover (site.css) */
.faq details { background: var(--white); color: var(--ink); border-radius: var(--radius); border-top: var(--edge) solid var(--red); padding: var(--s2) var(--s2); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: var(--s2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--red); font-weight: 700; font-size: var(--fs-h3); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: var(--s1) 0 0; color: var(--steel); }

/* ── Youth Play ── */
.soon-badge { background: var(--amber); color: var(--black); }   /* the tag look: site.css */
.play-grid { display: grid; gap: var(--s2); grid-template-columns: 1fr; margin-top: var(--s3); }
.play-item { background: var(--white); border-radius: var(--radius); padding: var(--s3); border-top: var(--edge) solid var(--turf); }
.play-item h3 { margin: 0 0 var(--s0); }
.play-item p { margin: 0; color: var(--steel); }
.play-item svg { width: 40px; height: 40px; color: var(--turf); margin-bottom: var(--s1); }
.closer-lead { margin: 0 auto var(--s3); }   /* "Want to know when Youth Play opens?" */

/* ── Contact ── */
.contact-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
.contact-lines { list-style: none; padding: 0; margin: 0 0 var(--s3); display: grid; gap: var(--s2); font-size: var(--fs-lg); }
.contact-lines strong { display: block; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-sm); color: var(--red); }
.contact-lines a { font-weight: 600; overflow-wrap: anywhere; }   /* the light-surface (chalk) link look: site.css */
@media (max-width: 519.98px) { .contact-lines a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; } }   /* a 44px tap target (UI 5 #11) */
.map-frame { border-radius: var(--radius); overflow: hidden; border: 4px solid var(--char); box-shadow: var(--shadow); line-height: 0; }
.map-frame iframe { width: 100%; height: 320px; border: 0; }
.contact-form-card .card-body { gap: var(--s2); }

@media (min-width: 720px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .play-grid { grid-template-columns: repeat(3, 1fr); }
  .includes-list { columns: 2; column-gap: var(--s4); }
}
@media (min-width: 900px) {
  .about-split { grid-template-columns: 1.1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .map-frame iframe { height: 380px; }
}

/* ---------- Memberships page, centred (👤 Alex, 2026-10-24) ----------
   Centred: the hero, each plan's name / price / terms, the "What you get" heading, the FAQ heading, the FAQ boxes themselves and the
   Contact us button. Left as they were: the tick lists and the text inside each FAQ box. */
.page-memberships .page-hero .wrap { text-align: center; }
.page-memberships .page-hero .lead { margin-left: auto; margin-right: auto; }
.plan .card-body { text-align: center; }
.plan .plan-flag { align-self: center; }
/* Memberships' plan cards: more room between the lines, and every plan name on one line across a row —
   "Most popular" sits in the plate's peak, out of the flow, so it pushes nothing down (👤 Alex, PSA_23638) */
.page-memberships .plan .card-body { gap: var(--s2); padding-top: calc(var(--s4) + var(--s1)); }
.page-memberships .plan .plan-flag { position: absolute; top: calc(18px + var(--s1)); left: 50%; transform: translateX(-50%); }
.page-memberships .plan .card-body .btn { margin-top: auto; }
/* Speed & Agility's two names sit higher, the lines under them where they were (👤 Alex, PSA_23638) */
#class-plans .plan .card-body { padding-top: calc(var(--s3) + 5px); }
#class-plans .plan .card-title { margin-bottom: calc(var(--s3) - 5px); }
.plan .card-list { text-align: left; }
.page-memberships .section-dark .wrap { text-align: center; }
.page-memberships .includes-list { text-align: left; }
/* What you get: one list under each membership's cards (👤 Alex, PSA_23638) */
.plan-gets { max-width: 52rem; margin: var(--s4) auto 0; }
.plan-gets-title { text-align: center; margin: 0 0 var(--s2); }
/* two columns that meet at the middle: the left one ends just left of centre, the right one starts just
   right of it, so both lists line up the same under their cards (👤 Alex, PSA_23638) */
.gets-cols { width: fit-content; max-width: 100%; margin: 0 auto; text-align: left; }   /* a phone: one column, wrapping */
.gets-cols .card-list li { margin: 0 0 var(--s1); }
@media (min-width: 720px) {
  .gets-cols { width: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s1) var(--s5); }
  .gets-cols > ul:first-child { justify-self: end; }
  .gets-cols > ul:last-child { justify-self: start; }
}
.page-memberships .faq { margin-left: auto; margin-right: auto; text-align: left; }
.page-memberships .section-chalk:has(.faq) .wrap { text-align: center; }
/* The two plan kinds (Tim, 2026-10-24): cage memberships, then speed & agility plans, each its
   own section with a centred heading and one intro line. The class plans are two cards, kept to
   a width where no line in them wraps at 1280px (👤 Alex, 2026-10-25). */
.plan-section .wrap > h2 { text-align: center; margin-bottom: var(--s1); }
.plan-intro { text-align: center; max-width: 44rem; margin: 0 auto; }
.section-turf .plan-intro { color: var(--chalk); }
.page-memberships .plan-grid-2 { max-width: 62rem; }
/* Tim's class line above the Speed & Agility intro, linking to the full text on classes.php (PSA_23408). */
.plan-about { text-align: center; max-width: 44rem; margin: 0 auto var(--s1); color: var(--white); font-size: var(--fs-lg); }
.plan-about a { font-weight: 600; white-space: nowrap; }   /* the dark-surface link look: site.css */

/* ---------- About page, centred (👤 Alex, 2026-10-24) ----------
   Centred: the hero, the whole "What we offer" section on dirt (its four boxes too, the chalk bar
   on top: PSA_23585), the whole "For everyone who puts in the work" section, and the whole sports
   section. "Built by a dad for local kids" is a size smaller so it fits on one line. */
.page-about .page-hero .wrap { text-align: center; }
.page-about .page-hero .lead { margin-left: auto; margin-right: auto; }
.about-split h2 { font-size: var(--fs-h2); }
/* beside the photo, a size that keeps "Built by a dad for local kids" on one line (👤 Alex, PSA_23638) */
@media (min-width: 900px) { .about-split h2 { font-size: clamp(1.6rem, 2.9vw, 2.4rem); white-space: nowrap; } }
.page-about .section-clay .wrap { text-align: center; }
.page-about .section-chalk:has(.who-grid) .wrap { text-align: center; }
.page-about .section-dark .wrap { text-align: center; }
.page-about .section-dark .lead { margin-left: auto; margin-right: auto; }
.page-about .sport-tags, .page-about .section-dark .row { justify-content: center; }

/* ---------- Every content page's hero, Youth Play and Contact, centred (platform.md §4, PSA_23054) ----------
   Centred: each page hero (heading, lead, buttons); Youth Play's heading and every box; Contact's
   address / phone / email / hours lines, the form card's heading, labels, notices and button.
   The text typed in a one-line box is centred too, a textarea's stays left (site.css). */
.page-hero .wrap { text-align: center; }
.page-hero .lead { margin-left: auto; margin-right: auto; }
.page-hero .row { justify-content: center; }
.page-youth-play .section-chalk .wrap > h2 { text-align: center; }
.play-item { text-align: center; }
.play-item svg { margin-left: auto; margin-right: auto; }
.contact-lines { text-align: center; }
.contact-form-card .card-body { text-align: center; }
/* About: "Built by a dad for local kids" and its two short lines; the ✕ / ✓ list stays left,
   as a block centred under them. */
.about-split > div:not(.about-photo) { text-align: center; }
.about-split .not-list { display: inline-grid; text-align: left; }
