/* Extra styles for the website's other pages (privacy, terms, SATs, GCSE …), on top of home.css. */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); border-bottom: var(--bw) solid var(--ink);
  background-image: linear-gradient(rgba(11,11,15,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(11,11,15,.06) 1px, transparent 1px); background-size: 32px 32px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); max-width: 18ch; text-wrap: balance; }
.page-hero h1 em { display: inline-block; line-height: 1.02; margin: .06em 0; font-style: normal; background: var(--lime); border: 3px solid var(--ink); border-radius: .2em; padding: 0 .14em; box-shadow: 4px 4px 0 var(--ink); } /* a block of its own, so the box never crowds the line above */
.page-hero .lede { animation: none; }
.page-hero .ctas { animation: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.legal { max-width: 860px; }
.legal h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); max-width: none; margin-top: 1.8em; }
.legal p, .legal li { line-height: 1.65; max-width: 72ch; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .35em; }
.legal a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal .facts { list-style: none; padding: 0; }
.legal table.t { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .95rem; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: 16px; overflow: hidden; display: block; overflow-x: auto; }
.legal table.t th, .legal table.t td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1.5px solid var(--surface-2); min-width: 140px; }
.legal table.t th { font: 700 .75rem var(--mono); letter-spacing: .08em; text-transform: uppercase; background: var(--surface-2); }
.legal code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); border-radius: 6px; padding: 1px 6px; }
.kid-box { background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); padding: 22px 26px; margin-bottom: 28px; }
.kid-box h2 { margin-top: 0 !important; }
.callout { background: var(--surface); border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 20px 22px; margin: 16px 0; }
.callout h2 { margin-top: 0 !important; font-size: 1.25rem !important; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-grid .callout { margin: 0; }
.muted { color: var(--muted); }
.tbc { background: #FFE1D6; border: 2px dashed var(--orange); border-radius: 8px; padding: 0 6px; font-weight: 600; }
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 26px 0 14px; border: var(--bw) solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.timeline > div { padding: 18px; border-right: 2px solid var(--ink); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.timeline > div:last-child { border-right: 0; }
.timeline.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-not-found .page-hero { min-height: 60vh; }
.timeline b { font: 700 1.15rem var(--display); }
.timeline span { color: var(--muted); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .timeline > div { border-right: 0; border-bottom: 2px solid var(--ink); }
  .timeline > div:last-child { border-bottom: 0; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Blog: the list of guides, an article, and "more guides" at the foot of related pages */
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-card { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: var(--bw) solid var(--ink); border-radius: 20px; box-shadow: var(--shadow); padding: 20px 22px; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.post-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }
.post-card h3 { font-size: 1.2rem; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.post-cat { align-self: flex-start; font: 700 .7rem var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--lime); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 10px; }
.post-meta { color: var(--muted); font-size: .9rem; margin-top: auto; }
.post-hero h1 { max-width: 24ch; font-size: clamp(2rem, 5vw, 3.4rem); }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: inherit; }
.post-body h3 { margin-top: 1.4em; font-size: 1.2rem; }
.post-body ol { padding-left: 1.3em; }
.post-body ol li + li { margin-top: .45em; }
.post-cta { margin-top: 40px; }
.post-cta .btn { margin: 4px 8px 4px 0; }
.guides { border-top: var(--bw) solid var(--ink); }
.guides h2 { margin-bottom: 18px; }
@media (max-width: 860px) { .post-list { grid-template-columns: minmax(0, 1fr); } }
