/* Capstone 2026 – v8 preview (/?calm on staging, 11/08 night).
   The playful design (style-v8.css = style.css polished) with:
   - no cartoon characters,
   - color bands that meet in a straight line with logo shards along it (instead of clouds),
   - the logo mark with its own white lines and nothing bigger behind it,
   - the side-by-side Montessori comparison, Yelp's review cards and one map card per campus. */

/* ---------- No cartoon characters ---------- */
.peek, .sign-buddy, .fc-buddy, .faq-buddy, .wy-buddy, .assure-buddy, .f-buddy, .fm-buddy, .ms-buddy, .ft-buddy, .lf-b, .buddy { display: none !important; }

/* ---------- Fewer floating shapes in the hero ---------- */
.hero .tile:nth-child(3n) { display: none; }

/* ---------- Section edges: logo shards along a straight band edge ---------- */
.edge { position: absolute; left: 0; top: -45px; z-index: 4; display: block; width: 100%; height: 90px; overflow: visible; pointer-events: none; }
.edge.down { top: auto; bottom: -45px; }
.es { transform-box: fill-box; transform-origin: center; animation: v8bob calc(4.5s + var(--b) * 1.2s) ease-in-out infinite alternate; }
@keyframes v8bob { from { transform: translateY(2px) rotate(-5deg); } to { transform: translateY(-4px) rotate(6deg); } }
@media (max-width: 720px) { .edge { top: -35px; height: 70px; } .edge.down { bottom: -35px; } }
@media (prefers-reduced-motion: reduce) { .es { animation: none; } }

/* ---------- Buttons: no black ---------- */
.b-ink { background: var(--sky-d); border-color: var(--ink); color: #fff; box-shadow: 0 4px 0 var(--ink); }
.b-ink:hover { color: #fff; }

/* ---------- Staging bar: way back to the current design ---------- */
.staging-bar a { color: inherit; font-weight: 800; text-underline-offset: 3px; }

/* ---------- Logo mark: no base bigger than the logo itself ---------- */
.aps-dot { background: none; border: 0; }
.aps-dot .mark { width: 56px; height: 56px; }
.dir-ph:has(.dir-mark) { background: none; border: 0; }
.dir-ph .dir-mark { width: 56%; height: auto; aspect-ratio: 1; }

/* ---------- Montessori vs. traditional, side by side (home) ---------- */
.vs8-wrap { margin-top: 64px; }
.vs8-title { max-width: 18em; margin: 0 auto 26px; text-align: center; font-size: clamp(26px, 2.6vw, 36px); }
.vs8 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr); max-width: 1120px; margin: 0 auto; }
.vs8::before, .vs8::after { content: ""; grid-row: 1 / -1; border: 2px solid var(--ink); border-radius: 30px; box-shadow: 0 6px 0 var(--ink); }
.vs8::before { grid-column: 1; background: #fff; }
.vs8::after { grid-column: 3; background: #f3f1ec; box-shadow: 0 6px 0 rgba(22, 52, 82, .25); border-color: rgba(22, 52, 82, .35); }
.vs8-row { display: contents; }
.vs8-row > * { grid-row: var(--r); position: relative; z-index: 1; }
.vs8-q { grid-column: 2; display: grid; place-items: center; padding: 0 10px; }
.vs8-m { grid-column: 1; }
.vs8-t { grid-column: 3; }
.vs8-row:not(.vs8-head) .vs8-m, .vs8-row:not(.vs8-head) .vs8-t { display: flex; align-items: center; gap: 12px; margin: 0 26px; padding: 15px 0; border-top: 2px dashed rgba(22, 52, 82, .14); font-size: 16.5px; line-height: 1.4; }
.vs8-row:not(.vs8-head) .vs8-m { color: var(--ink); font-weight: 800; }
.vs8-row:not(.vs8-head) .vs8-t { color: var(--muted); font-weight: 700; }
.vs8-row:last-child .vs8-m, .vs8-row:last-child .vs8-t { padding-bottom: 24px; }
.vs8-head .vs8-m, .vs8-head .vs8-t { display: flex; align-items: center; gap: 16px; padding: 20px 24px 16px; }
.vs8-head figure { flex: none; width: 150px; margin: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: 16px; }
.vs8-head .vs8-t figure { border-color: rgba(22, 52, 82, .3); }
.vs8-head figure svg { display: block; width: 100%; height: auto; }
.vs8-head .vs8-m b, .vs8-head .vs8-t b { display: flex; align-items: center; gap: 8px; font: 800 clamp(19px, 1.7vw, 23px)/1.15 var(--head); letter-spacing: -.015em; color: var(--sky-d); }
.vs8-head .vs8-t b { color: var(--muted); }
.vs8-mark { width: 30px; height: 30px; flex: none; }
.vs8-badge { display: grid; place-items: center; width: 64px; height: 64px; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); box-shadow: 0 4px 0 var(--ink); color: var(--ink); font: 800 22px/1 var(--head); font-style: italic; transform: rotate(-10deg); transition: transform .45s var(--pop); }
.vs8:hover .vs8-badge { transform: rotate(8deg) scale(1.08); }
.vs8-q em { display: inline-block; padding: 8px 14px; border: 2px solid var(--ink); border-radius: 999px; background: var(--tint); box-shadow: 0 3px 0 var(--ink); color: var(--ink); font: 800 13px/1.15 var(--body); font-style: normal; text-align: center; letter-spacing: .01em; transition: transform .3s var(--pop); }
.vs8-row:hover .vs8-q em { animation: jelly .55s; }
.vs8-ok { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid var(--ink); border-radius: 50%; background: var(--leaf); transition: transform .35s var(--pop); }
.vs8-ok svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.vs8-row:hover .vs8-ok { transform: scale(1.18) rotate(-10deg); }
.vs8-no { flex: none; width: 10px; height: 10px; margin: 0 10px; border-radius: 50%; background: rgba(22, 52, 82, .25); }
@media (max-width: 900px) {
  .vs8 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 10px; }
  .vs8::before { grid-column: 1; }
  .vs8::after { grid-column: 2; }
  .vs8-row { display: contents; }
  .vs8-row > .vs8-q { grid-row: var(--rq); }
  .vs8-row > .vs8-m, .vs8-row > .vs8-t { grid-row: var(--ra); }
  .vs8 { grid-template-rows: none !important; }
  .vs8::before, .vs8::after { grid-row: 1 / span 13; }
  .vs8-head .vs8-q { display: none; }
  .vs8-q { grid-column: 1 / -1; padding: 12px 0 0; }
  .vs8-m { grid-column: 1; }
  .vs8-t { grid-column: 2; }
  .vs8-head .vs8-m, .vs8-head .vs8-t { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 12px 6px; }
  .vs8-head figure { width: 100%; }
  .vs8-head .vs8-m b, .vs8-head .vs8-t b { font-size: 16px; }
  .vs8-mark { width: 22px; height: 22px; }
  .vs8-row:not(.vs8-head) .vs8-m, .vs8-row:not(.vs8-head) .vs8-t { align-items: flex-start; gap: 8px; margin: 0 12px; padding: 8px 0 12px; border-top: 0; font-size: 14.5px; }
  .vs8-q em { padding: 6px 12px; font-size: 12px; }
  .vs8-ok { width: 24px; height: 24px; }
  .vs8-ok svg { width: 14px; height: 14px; }
  .vs8-no { margin: 7px 6px 0; width: 8px; height: 8px; }
}

/* ---------- Parent reviews: links row + Yelp's own cards ---------- */
.r8-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 auto 34px; }
.r8-links .g-rating { margin: 0; }
.r8-y { background: #d32323 !important; color: #fff !important; }
.reviews.r8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; max-width: 1080px; margin: 0 auto; }
.y8 { padding: 12px; border: 2px solid var(--ink); border-radius: 26px; background: #fff; box-shadow: 0 5px 0 var(--ink); transition: transform .3s var(--pop); }
.y8:hover { transform: translateY(-4px) rotate(-.6deg); }
.y8:nth-child(even):hover { transform: translateY(-4px) rotate(.6deg); }
.y8 iframe { display: block; width: 100% !important; max-width: 100%; border-radius: 16px; }
.y8 span.yelp-review { display: block; padding: 20px; font-size: 15.5px; color: var(--ink-2); }
.y8 span.yelp-review a { color: var(--ink); font-weight: 800; }
.r8-note { max-width: 640px; margin: 22px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .reviews.r8 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Visit: one map card per campus, side by side ---------- */
.v8-visit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 40px; }
.v8-visit .visit-card { margin: 0; }
.v8-lf .vc-map svg { display: block; width: 100%; height: 100%; }
.v8-soon { display: inline-block; margin-left: 6px; padding: 3px 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); color: var(--ink); font: 800 12px/1.3 var(--body); font-style: normal; vertical-align: 2px; }
@media (max-width: 900px) { .v8-visit { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* ===== 11/09 00:14 round ===== */

/* Comparison: the drawing on top (bigger), the title under it on one line */
.vs8-head .vs8-m, .vs8-head .vs8-t { flex-direction: column; align-items: center; gap: 14px; padding: 24px 24px 16px; text-align: center; }
.vs8-head figure { width: 100%; max-width: 340px; }
.vs8-head .vs8-m b, .vs8-head .vs8-t b { justify-content: center; white-space: nowrap; }
@media (max-width: 900px) {
  .vs8-head .vs8-m, .vs8-head .vs8-t { align-items: stretch; text-align: left; padding: 12px 12px 6px; }
  .vs8-head .vs8-m b, .vs8-head .vs8-t b { justify-content: flex-start; white-space: normal; }
}

/* Logo marks stay upright, like the logo itself (no slow spinning) */
.wordmark .wm-o, .pill .mark, .stk-mark, .dir-mark, .aps-dot .mark { animation: none; }
.wordmark .wm-o.jump { animation: jump .6s var(--pop); }

/* Parent reviews: two columns that fill evenly, same gap everywhere */
.reviews.r8 { display: block; columns: 2; column-gap: 24px; }
.reviews.r8 > .review, .reviews.r8 > .y8 { display: block; break-inside: avoid; margin: 0 0 24px; }
.reviews.r8 > .review > * + * { margin-top: 12px; }
@media (max-width: 900px) { .reviews.r8 { columns: 1; } }

/* Team: both cards the same height, no empty gap */
.quals-grid { align-items: stretch; }
.director { align-content: center; }
.dir-ph:has(.dir-mark) { aspect-ratio: auto; padding: 4px 0; }
.dir-ph .dir-mark { width: 132px; height: 132px; aspect-ratio: auto; }
@media (max-width: 720px) { .dir-ph .dir-mark { width: 96px; height: 96px; } }
/* Only two hiring standards since 11/10 (background checks, first aid / CPR and mandated reporter came out):
   the two cards split evenly and the list sits in the middle of its card instead of leaving a gap below it */
.quals { display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 961px) {
  .quals-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quals .qf-list { gap: 18px; }
  .quals .qf { font-size: 16px; }
}

/* More ways to book a tour */
.more-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.faq-cta { margin: 18px 0 0; }

/* Four menus: room for "Find my class" from 1181px */
@media (min-width: 1181px) { .find-btn { display: inline-flex; } }
@media (min-width: 1181px) and (max-width: 1280px) { .nav8 .nav-top { padding: 11px 13px; font-size: 15.5px; } }
.drop8 { min-width: 360px; }
.d8-title { margin: 4px 12px 4px; font: 900 12px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ===== 11/09 00:39 round: less dark, softer buttons ===== */

/* Buttons: no dark outline or hard shadow; a soft colored lift instead */
.btn { border: 0; box-shadow: 0 12px 22px -14px rgba(22, 52, 82, .5), inset 0 0 0 1.5px rgba(22, 52, 82, .12); }
.btn:active { transform: translateY(2px); box-shadow: 0 6px 12px -8px rgba(22, 52, 82, .5); }
.b-tang, .fm-actions .btn { background: linear-gradient(180deg, #ffa04d 0%, #fe8c28 100%); color: var(--ink); box-shadow: 0 14px 24px -14px rgba(254, 140, 40, .95), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(168, 82, 10, .18); }
.b-sun { background: linear-gradient(180deg, #f8c64d 0%, #f2b630 100%); box-shadow: 0 14px 24px -14px rgba(242, 182, 48, .95), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -3px 0 rgba(138, 100, 8, .16); }
.b-white { background: #fff; box-shadow: 0 12px 24px -16px rgba(22, 52, 82, .45), inset 0 0 0 1.5px rgba(22, 52, 82, .14); }
.b-ink { background: linear-gradient(180deg, #3ba8ec 0%, #1c74b8 100%); color: #fff; box-shadow: 0 14px 24px -14px rgba(28, 116, 184, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.hdr .btn, .f-acts .btn, .foot-brand .btn { border: 0; }
.foot-brand .btn { box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }

/* Photos: white frames instead of dark outlines */
.ph .frame { border: 0; box-shadow: 0 0 0 6px #fff, 0 20px 36px -22px rgba(22, 52, 82, .6); }
.campus-media { border-bottom: 0; }
.vc-map { border-right: 0; }
.mcc-ph, .fm-res-ph, .bc-ph { border-color: #fff; box-shadow: 0 10px 20px -14px rgba(22, 52, 82, .5); }
.tm-ph { border-color: #fff; }
@media (max-width: 900px) { .vc-map { border-bottom: 0; } }

/* Top bar: light instead of a dark band */
.topbar { background: #fff1c9; color: var(--ink-2); }
.topbar a { color: var(--ink); }
.topbar a:hover { color: var(--tang-d); }
.tb-news { color: #8a6408 !important; }
.tb-parents b { color: var(--ink-2); }
.tb-parents .tb-fam:hover b { color: var(--ink); }

/* Logo marks: no half-turn on hover, a small lift instead; the big footer "o" without the white disc */
.mark:hover, .pill:hover .mark, .find-btn:hover .mark { transform: scale(1.1); }
.wordmark .wm-o { --mk-disc: transparent; }

/* Comparison title: plain color, no doubled text shadow */
.vs8-title .tx-sky { text-shadow: none; }

/* Comparison, reviews and visit cards: same light lines as the rest */
.vs8::before { border-color: var(--line8); box-shadow: var(--sh8); }
.vs8::after { border-color: rgba(22, 52, 82, .1); box-shadow: 0 14px 28px -20px rgba(22, 52, 82, .35); }
.vs8-head figure { border-color: var(--line8); }
.vs8-head .vs8-t figure { border-color: rgba(22, 52, 82, .1); }
.vs8-badge { border: 0; box-shadow: 0 10px 20px -10px rgba(220, 160, 27, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.vs8-q em { border: 0; box-shadow: var(--sh8s); }
.vs8-ok { border: 0; box-shadow: inset 0 0 0 1.5px rgba(22, 52, 82, .12); }
.y8 { border-color: var(--line8); box-shadow: var(--sh8); }
.v8-soon { border: 0; }

/* Why families choose us (v8 tiles) */
.why8 .wy-self { padding-right: 24px; }
.why8 .wy-live .wy-copy p + p { margin-top: -4px; }
.why8 .wy-kick { margin-bottom: 2px; }

/* Campus cards: the buttons sit on the same line in both cards */
.campus-body > .cmore { order: 2; margin-top: 14px; }
.campus-body > .campus-actions { order: 3; }

/* ===== 11/09 00:56 round ===== */

/* Buttons: logo gold instead of orange, flat color with a darker edge of the same color (presses down like a
   sticker, in the playful style) — no gradients, no glow, nothing dark */
.btn { border: 0; box-shadow: 0 4px 0 #e5ddcc, inset 0 0 0 1.5px rgba(22, 52, 82, .1); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 transparent, inset 0 0 0 1.5px rgba(22, 52, 82, .1); }
.b-tang, .b-sun, .fm-actions .btn { background: #f2b630; color: var(--ink); box-shadow: 0 4px 0 #cf9411; }
.b-tang:hover, .b-sun:hover, .fm-actions .btn:hover { background: #f5c04b; }
.b-tang:active, .b-sun:active, .fm-actions .btn:active { box-shadow: 0 0 0 #cf9411; }
.b-white { background: #fff; box-shadow: 0 4px 0 #e5ddcc, inset 0 0 0 1.5px rgba(22, 52, 82, .1); }
.b-ink { background: #2b9ae1; color: #fff; box-shadow: 0 4px 0 #1c74b8; }
.b-ink:hover { background: #3aa3e6; color: #fff; }
.why-sec .b-white { box-shadow: 0 4px 0 #1c74b8; }
.foot-brand .btn { box-shadow: 0 4px 0 #b88209; }
.mbar .btn { box-shadow: 0 4px 0 #e5ddcc, inset 0 0 0 1.5px rgba(22, 52, 82, .1); }
.mbar .b-tang { box-shadow: 0 4px 0 #cf9411; }

/* Logo marks spin again, as in the playful design (the white disc stays off the big footer "o") */
.wordmark .wm-o { animation: markspin 16s linear infinite; }
.wordmark .wm-o.jump { animation: jump .6s var(--pop), markspin 16s linear infinite; }
.pill .mark { animation: markspin 14s linear infinite; }
.stk-mark { animation: markspin 12s linear infinite; }
.dir-mark { animation: markspin 16s linear infinite; }
.mark:hover, .pill:hover .mark, .find-btn:hover .mark { transform: rotate(180deg) scale(1.12); }

/* ===== 11/09 site check ===== */

/* Page not found: the main ways in */
.nf { max-width: 880px; }
.nf h1 { font-size: clamp(44px, 6vw, 80px); }
.nf-links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 40px 0 0; padding: 0; }
.nf-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 16px 20px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--sh8s), inset 0 0 0 1.5px rgba(22, 52, 82, .08); transition: transform .3s var(--pop); }
.nf-links a:hover { transform: translateY(-3px) rotate(-.5deg); }
.nf-links b { font: 800 18px/1.2 var(--head); letter-spacing: -.01em; }
.nf-links small { grid-column: 1; color: var(--muted); font-size: 14px; }
.nf-links svg { grid-row: 1 / span 2; grid-column: 2; width: 20px; height: 20px; }
@media (max-width: 640px) { .nf-links { grid-template-columns: minmax(0, 1fr); } }

/* Ad landing pages (/military-families/, /daycare-san-clemente/) on phones: the hanging tag's string
   no longer crosses the "Open 7 AM – 6 PM" chip above the form */
@media (max-width: 760px) { .mf .mf-hero .mf-formcard { margin-top: 58px; } }
.nf .lede { margin-top: 26px; }
/* Long values in the at-a-glance tiles (the school email on Families) stay inside the tile on phones */
.glance b, .glance b a { overflow-wrap: anywhere; }
@media (max-width: 640px) { .glance a[href^="mailto:"] { font-size: 14.5px; } }

/* ===== 11/09 02:00 (user: the navigation is not consistent) =====
   One style for every menu item: only the section you are in is highlighted, the same way for all of them.
   Montessori stays first with its logo mark, but no longer has a gold pill of its own on every page. */
.nav8 .nav-feature > .nav-top { background: none; box-shadow: none; }
.nav8 .nav-item.is-current > .nav-top { background: var(--sun-tint); box-shadow: inset 0 0 0 2px rgba(220, 160, 27, .55); }
.nav8 .nav-top:hover, .nav8 .nav-item.open > .nav-top { background: #fff; box-shadow: 0 3px 0 rgba(22, 52, 82, .1); }

/* ===== 11/10: reviews as text (Google + Yelp), long ones show their first lines + "Read more" (v8.js) ===== */
.reviews.r8 .review blockquote.rv-cut { position: relative; overflow: hidden; }
.reviews.r8 .review blockquote.rv-cut:not(.rv-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; }
.reviews.r8 .rv-more { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; border: 0; background: none; font: 800 15px/1.2 var(--body); color: var(--sky-d); cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.reviews.r8 .rv-more:hover { color: var(--ink); }
.reviews.r8 .rv-more:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

/* ===== 11/10 00:29 (user): the home page is too long, above all on phones ===== */
/* Reviews: the first 4 (phones 3) until "See all 9 reviews" (v8.js) */
.reviews.r8 > .review[hidden] { display: none; }
@media (max-width: 640px) {
  /* less empty space under each band (the logo-shard edge needs about 40px of it) */
  .sec { padding-bottom: 76px; }
  /* review links: one short line each */
  .r8-links { gap: 10px; margin-bottom: 22px; }
  .r8-links .g-rating { padding: 10px 16px; gap: 6px 10px; }
  .r8-links .gr-go { display: none; }
  .r8-links .gr-g { width: 32px; height: 32px; font-size: 18px; }
  .r8-links .gr-num { font-size: 26px; }
  /* campus cards in the tour area: a shorter map */
  .v8-visit .vc-map, .v8-visit .vc-map iframe { min-height: 130px; height: 130px; }
  /* A day at Capstone: photo on the left, words on the right, the footprints walk down between them (app.js) */
  .trail.t8 .stops { row-gap: 26px; }
  .trail.t8 .stop, .trail.t8 .stop:nth-child(n) { position: relative; width: 100%; margin: 0; justify-self: stretch; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 40px; align-items: center; text-align: left; }
  .trail.t8 .stop-ph { grid-row: 1 / span 2; width: 96px; border-width: 4px; box-shadow: 0 5px 0 rgba(0, 0, 0, .15); }
  .trail.t8 .stop-n { position: absolute; left: 68px; top: -8px; z-index: 2; width: 34px; height: 34px; margin: 0; border-width: 2px; border-radius: 11px; font-size: 17px; box-shadow: 0 3px 0 var(--ink); }
  .trail.t8 .stop h3 { grid-column: 2; align-self: end; margin: 0 0 4px; font-size: 21px; }
  .trail.t8 .stop p { grid-column: 2; align-self: start; max-width: none; margin: 0; font-size: 14.5px; line-height: 1.45; }
}

/* ===== 11/10 00:38 (user): on phones, repeated things go or fold (v8.js adds the buttons) ===== */
.f8-hide { display: none !important; }
.f8-row { display: flex; justify-content: center; margin: 22px 0 0; }
.f8-link { display: inline-flex; align-items: center; margin-top: 12px; padding: 2px 0; border: 0; background: none; font: 800 15px/1.2 var(--body); color: var(--sky-d); cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.f8-link:hover { color: var(--ink); }
.f8-ft { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-left: 10px; padding: 0; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; background: none; color: inherit; font: 800 18px/1 var(--body); vertical-align: middle; cursor: pointer; }
.f8-link:focus-visible, .f8-ft:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
@media (max-width: 640px) {
  /* the tour area's two campus cards repeat the campus section above them (11/11: hidden on every page
     but San Clemente, see the end of this file) */
  /* Why families choose us, folded: 1:4 and K-ready side by side under the two big cards */
  .why8.f8-cut { grid-template-areas: "live live" "clean clean" "hours hola"; }
  /* comparison, folded: a little room under the last row shown */
  .vs8.f8-cut .vs8-row:nth-child(4) > .vs8-m, .vs8.f8-cut .vs8-row:nth-child(4) > .vs8-t { padding-bottom: 18px; }
}

/* ===== 11/10 test (parent's eye view) ===== */
/* Reviews: rows instead of flowing columns, so "See all 9 reviews" adds cards below without moving the first ones;
   cards in a row are the same height, the name sits at the bottom */
.reviews.r8 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; columns: auto; }
.reviews.r8 > .review, .reviews.r8 > .y8 { margin: 0; }
.reviews.r8 > .review { display: flex; flex-direction: column; }
.reviews.r8 > .review > figcaption { margin-top: auto; padding-top: 12px; }
.reviews.r8 .rv-more { align-self: flex-start; }
@media (max-width: 900px) { .reviews.r8 { grid-template-columns: minmax(0, 1fr); } }
/* class pages: the "can't be combined" note next to the two offers */
.money .money-note { color: var(--muted); font-weight: 700; }
/* phone menu: an open group shows "–" (a rotated "+" looked like "close the menu") */
.macc[open] summary::after { content: "–"; transform: none; }
/* blog posts on phones: the breadcrumb stops at "Blog" (the title is right below it) */
@media (max-width: 640px) {
  .single-post .crumbs [aria-current="page"], .single-post .crumbs span[aria-hidden]:has(+ [aria-current="page"]) { display: none; }
}
/* San Clemente page: town names are labels, not buttons */
.near-towns.big li { box-shadow: none; cursor: default; }
.near-towns.big li:hover { transform: none; }
.mbar .call-list small { font-size: .85em; font-weight: 700; opacity: .75; }
/* (11/10 02:11 user: no military offer under the hero buttons, too prominent for other parents) */
/* 11/10 02:13 (user): the round stickers (home "New! · Lake Forest coming soon", the number stickers on page banners)
   were gold with dark text and hard to notice: a bright pink with white text (white on #D63384 reads well) */
.spin::before { background: #D63384; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(214, 51, 132, .35); }
.spin-c { color: #fff; }
.spin-ring text { fill: #D63384; }
.sticker-badge { background: #D63384; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(214, 51, 132, .35); }
.sticker-badge b, .sticker-badge span { color: #fff; }
/* 11/10 19:44 (user, phone screenshots): the footer stays open but tighter; "psst… tap a letter!" no longer covers the label above the headline */
@media (max-width: 640px) {
  .site-footer { padding: 52px 0 28px; }
  .foot { gap: 22px 16px; margin-top: 36px; padding-top: 26px; line-height: 1.4; }
  .site-footer h4 { margin-bottom: 10px; font-size: 18px; }
  .site-footer ul { gap: 7px; }
  .site-footer p { margin-bottom: 5px; }
  .foot-age { margin-top: 0; line-height: 1.3; }
  .foot-brand p { margin: 12px 0 14px; }
  .hero .h1-box .tap-hint { position: static; display: table; margin: 8px 0 0 auto; }
}

/* 11/11 walk-through: on phones "See all N reviews" sits right under the reviews, the tour button after it;
   the long email in the Families hero cards stays on one line */
@media (max-width: 640px) {
  #reviews .more-row .rv-all { order: -1; }
  .page-families .glance .g-4 b { font-size: clamp(10px, 2.9vw, 13px); letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; }
}

/* ===== 11/11 (user: yes to removing or folding what repeats on phones, on the inner pages too) =====
   Lengths before, at 390px: Montessori 21,600 · class pages and San Clemente 13,200 · A day here 12,100 · Programs 10,250.
   v8.js folds the long lists on the Montessori page and shows 2 reviews instead of 3 on inner pages. */
@media (max-width: 640px) {
  /* The two campus cards under the tour form repeat the address line inside the form and the footer right below.
     Only the San Clemente page keeps its own map card. */
  body:not(.page-campuses-san-clemente) .v8-visit { display: none; }
  .page-campuses-san-clemente .v8-visit .v8-lf { display: none; }
  /* San Clemente: the team block is on the home page and on Our team */
  .page-campuses-san-clemente #team { display: none; }
  /* A day here: the Montessori block (three ideas + five areas) is on the home page and the Montessori page */
  .page-a-day-here #montessori { display: none; }
  /* Programs: "From first steps to kindergarten" lists the four classes a second time */
  .page-programs .path-sec { display: none; }

  /* Class pages: "And in every Capstone class" as a short checklist (the details are in the hero tiles and the FAQ) */
  .program-page .incl-sub { margin: 40px 0 14px; font-size: 24px; }
  .program-page .incl-grid.small { gap: 8px; }
  .program-page .incl-grid.small .incl { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px; }
  .program-page .incl-grid.small .incl-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; }
  .program-page .incl-grid.small .incl-ico svg { width: 19px; height: 19px; }
  .program-page .incl-grid.small .incl h3 { margin: 0; font-size: 16.5px; line-height: 1.25; }
  .program-page .incl-grid.small .incl p { display: none; }
  /* Class pages: the day as compact rows, number on the left */
  .pday { gap: 12px; }
  .pday li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px 18px; border-radius: 20px; }
  .pday .step { grid-row: 1 / span 2; width: 38px; height: 38px; margin: 0; border-radius: 12px; font-size: 18px; }
  .pday h3 { margin: 0 0 4px; font-size: 20px; }
  .pday p { font-size: 14.5px; line-height: 1.45; }
  /* A day here: each class's day as a row of chips */
  .byclass { gap: 12px; }
  .bc { gap: 10px; padding: 16px; border-radius: 22px; }
  .bc-ph { width: 46px; height: 46px; }
  .bc-head b { font-size: 21px; }
  .bc ol { display: flex; flex-wrap: wrap; gap: 6px; }
  .bc li { gap: 6px; padding: 5px 11px 5px 5px; border-radius: 99px; font-size: 13.5px; }
  .bc li::before { width: 22px; height: 22px; border-radius: 50%; font-size: 12px; }
}

/* ===== 11/11 (user: look at other Montessori schools' sites, make parents curious, more tours booked) ===== */
/* Home age slider: what children are drawn to at the age picked */
.ap-note { margin: 14px 2px 0; font-size: 14.5px; line-height: 1.5; font-weight: 600; color: var(--ink-2); }
.ap-note b { font-weight: 800; color: var(--ink); }
.ap-note a { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; color: var(--ink); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--tc, var(--sun)); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.ap-note a svg { width: 15px; height: 15px; flex: none; transition: transform .3s var(--pop); }
.ap-note a:hover svg { transform: translateX(4px); }
.fm-drawn b { color: var(--ink); }
/* Tour area: things to look for on the tour */
.look8 { margin: 22px 0 0; }
.look8 > b { display: block; margin-bottom: 10px; font: 800 17px/1.2 var(--head); color: var(--ink); letter-spacing: -.01em; }
.look8 ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.look8 li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: 99px; background: #fff; box-shadow: 0 3px 0 rgba(22, 52, 82, .08); font-size: 14.5px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.look8 li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.look8 li:nth-child(5n+2)::before { background-color: var(--sky); }
.look8 li:nth-child(5n+3)::before { background-color: var(--berry); }
.look8 li:nth-child(5n+4)::before { background-color: var(--tang); }
.look8 li:nth-child(5n)::before { background-color: var(--sun-d, #dca01b); }
/* Tour form: a parent's words under the button */
.form-proof { margin: 16px 0 0; padding: 12px 14px; border-radius: 16px; background: var(--cream); text-align: center; }
.form-proof .fp-stars { display: block; color: #e8a917; font-size: 15px; letter-spacing: 2px; line-height: 1; }
.form-proof blockquote { margin: 6px 0 2px; font: 800 15.5px/1.35 var(--head); color: var(--ink); letter-spacing: -.01em; }
.form-proof figcaption { font-size: 13px; font-weight: 700; color: var(--muted); }
@media (max-width: 640px) {
  .ap-note { font-size: 14px; }
  /* phones: a plain checklist (five pills in a column took 245px) */
  .look8 { margin-top: 18px; }
  .look8 > b { margin-bottom: 8px; font-size: 16px; }
  .look8 ul { gap: 5px 12px; }
  .look8 li { padding: 0; gap: 7px; background: none; box-shadow: none; font-size: 14px; }
  .look8 li::before { width: 18px; height: 18px; }
}

/* ===== 11/11: the school's own clips play over photos (v8.js loads them after the page has loaded) ===== */
.vp { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; pointer-events: none; background: none; }
.vp.on { opacity: 1; }
.vid-btn { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: none; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 2px 8px rgba(22, 52, 82, .28); cursor: pointer; }
.vp.on ~ .vid-btn { display: grid; }
.vid-btn::before { content: ""; box-sizing: border-box; width: 11px; height: 12px; border: solid currentColor; border-width: 0 3.5px; }
.vid-btn.is-off::before { width: 0; height: 0; margin-left: 3px; border: 7px solid transparent; border-left: 11px solid currentColor; border-right: 0; }
.vid-btn:hover { background: #fff; }
.vid-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
/* class cards: "Now enrolling" (user 11/11: every class is enrolling; no numbers) */
.pc-open { border: 0; box-shadow: 0 2px 0 rgba(22, 52, 82, .12); }
.pc-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-tag { border-width: 2px; }
/* phones: the status tag stays on one line inside the narrow class cards */
@media (max-width: 640px) {
  .pc-open { white-space: nowrap; margin: 8px 6px 0; padding: 5px 9px; gap: 5px; font-size: 10.5px; letter-spacing: .03em; }
}

/* ===== Photo colour (v8) =====
   User 11/12 00:50: "the photos are too saturated and too contrasty, heavy on the eyes; I want them lighter:
   natural, light, warm, the Montessori way."
   Cause: the base stylesheet punches every photo UP (brightness 1.1, contrast 1.05, saturate 1.16). The new
   design does the opposite, for every photo on every page: a little less colour and contrast, a touch lighter and
   warmer. One knob each: --photo for photos, --film for the films and their cover pictures (milder, and the same
   on a film and its cover so nothing shifts when the film fades in over the picture).
   Logos and drawings (png, svg, gif) are left alone. */
/* 1.9.52 took colour out (saturate .84): the children looked grey. User 11/12 00:55: "don't make the children grey,
   that is too much; look for the Morandi feeling of the south of France and of Italy". So the softness now comes
   from warmth and light, not from removing colour: a warm wash (sepia), full colour kept so skin stays healthy,
   a little less contrast, a little more light. */
:root { --photo: sepia(.16) saturate(1.03) contrast(.95) brightness(1.06); --film: sepia(.1) saturate(1) contrast(.97) brightness(1.03); }
img:not([src*=".png"]):not([src*=".svg"]):not([src*=".gif"]) { filter: var(--photo); }
.hv-frame img:not([src*=".png"]):not([src*=".svg"]):not([src*=".gif"]), .zp-clip img:not([src*=".png"]):not([src*=".svg"]):not([src*=".gif"]), .fl-ph img:not([src*=".png"]):not([src*=".svg"]):not([src*=".gif"]), video.vp { filter: var(--film); }

/* ===== The school's film, in its own section under the banner (v8 home) =====
   History: 11/11 the film sat in the banner (an arch, then a framed screen, then edge to edge with the headline
   on it). User 11/12 00:36: "it still looks messy... can't the video go in a section under the banner? and the
   resolution is very poor." So the banner is the photo banner again and the film plays here, alone:
   one tidy 16:9 screen, at most 960px wide. That is the size at which a laptop screen shows the 1080p film dot
   for dot; stretched across the whole screen it was blown up one and a half times and looked soft.
   Nothing sits on the film except a small label (what you are looking at) and the dots with the pause button. */
/* z-index 7: the next section's logo tiles (z 6) start out scattered far above their heading; they must not
   land on the film */
.film8 { position: relative; z-index: 7; padding: 70px 0; background: #fff; }
.film8 .sec-head { margin-bottom: 40px; }
.film8 .sec-head p { margin-top: 18px; }
/* .film-col: the film and the row of short clips under it share one width */
.film8 .film-col { width: min(100%, 960px, calc((100vh - 190px) * 16 / 9)); min-width: min(100%, 560px); margin: 0 auto; }
.film8 .hv { position: relative; aspect-ratio: 16 / 9; }
.hv-back { position: absolute; inset: 0; border-radius: 38px; background: var(--sun); translate: 16px 16px; }
.hv-frame { position: absolute; inset: 0; isolation: isolate; overflow: hidden; border: 8px solid #fff; border-radius: 34px; background: var(--cream); box-shadow: 0 26px 44px -26px rgba(22, 52, 82, .55); }
.hv-frame img, .hv-frame .vp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-cap { position: absolute; left: 22px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 214px); padding: 9px 16px 9px 12px; border-radius: 99px; background: rgba(255, 255, 255, .95); box-shadow: 0 6px 16px -6px rgba(22, 52, 82, .4); font: 700 14.5px/1.25 var(--body); color: var(--ink-2); }
.hv-cap i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); transition: background .3s; }
.hv-cap b { font-weight: 900; color: var(--ink); white-space: nowrap; }
.hv-cap[data-n="1"] i { background: var(--tang); }
.hv-cap[data-n="2"] i { background: var(--berry); }
.hv-cap[data-n="3"] i { background: var(--leaf); }
.hv-cap[data-n="4"] i { background: var(--sun); }
.hv-cap[data-n="5"] i { background: var(--sky); }
.hv-cap.pop { animation: hvpop .45s var(--pop); }
@keyframes hvpop { 0% { opacity: .2; transform: translateY(8px) scale(.94); } 100% { opacity: 1; transform: none; } }
.hv-ctl { position: absolute; right: 20px; bottom: 22px; z-index: 2; display: none; align-items: center; gap: 10px; padding: 5px 6px 5px 14px; border-radius: 99px; background: rgba(255, 255, 255, .95); box-shadow: 0 6px 16px -6px rgba(22, 52, 82, .4); }
.vp.on ~ .hv-ctl { display: inline-flex; }
.hv-dots { display: inline-flex; align-items: center; gap: 5px; }
.hv-dots i { position: relative; overflow: hidden; width: 7px; height: 7px; border-radius: 99px; background: rgba(22, 52, 82, .22); transition: width .35s var(--pop); }
.hv-dots i.on { width: 28px; }
.hv-dots i.on::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--tang); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hv-ctl .vid-btn { position: static; display: grid; width: 30px; height: 30px; background: var(--cream); box-shadow: none; }
/* a play button for when the browser will not start the film by itself (iPhone Low Power Mode, "reduce motion",
   data saver, a slow connection): v8.js puts .vp-tap on the frame */
.vp-play { position: absolute; left: 50%; top: 50%; z-index: 3; display: none; place-items: center; width: 92px; height: 92px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .96); color: var(--tang); box-shadow: 0 10px 30px -8px rgba(22, 52, 82, .55); translate: -50% -50%; cursor: pointer; transition: transform .2s var(--pop); }
.vp-play::before { content: ""; margin-left: 7px; border: 17px solid transparent; border-left: 28px solid currentColor; border-right: 0; }
.vp-play:hover { transform: scale(1.06); }
.vp-play:focus-visible { outline: 4px solid var(--sun); outline-offset: 3px; }
.vp-tap > .vp-play { display: grid; }
/* The four short clips under the film (user 11/12 01:05). One is alive at a time: its ring takes the area's color
   and its label goes dark; the others rest as still pictures. */
.fl-row { margin-top: 46px; }
.fl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; margin: 0 0 16px; font: 800 18px/1.3 var(--body); color: var(--ink); }
.fl-head a { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--sun); padding-bottom: 1px; }
.fl-head a svg { width: 16px; height: 16px; }
.fl-head .vid-btn { position: static; display: grid; flex: none; margin-left: auto; width: 30px; height: 30px; background: var(--cream); box-shadow: none; }
.fl-head .vid-btn + a { margin-left: 0; }
.fl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fl { margin: 0; cursor: pointer; }
.fl-ph { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate; border-radius: 24px; background: var(--cream); box-shadow: 0 0 0 4px #fff, 0 0 0 4px #fff, 0 14px 26px -18px rgba(22, 52, 82, .55); transition: box-shadow .35s, transform .35s var(--pop); }
.fl-ph img, .fl-ph .vp { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fl.t-berry { --fc: var(--berry); } .fl.t-sun { --fc: var(--sun); } .fl.t-sky { --fc: var(--sky); } .fl.t-leaf { --fc: var(--leaf); }
.fl.is-on .fl-ph { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--fc), 0 16px 28px -16px rgba(22, 52, 82, .6); transform: translateY(-3px); }
.fl figcaption { display: grid; gap: 2px; margin-top: 14px; padding-left: 16px; position: relative; }
.fl figcaption::before { content: ""; position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--fc); }
.fl figcaption b { font: 800 15.5px/1.25 var(--body); color: var(--ink); }
.fl figcaption span { font: 600 13.5px/1.35 var(--body); color: var(--ink-2); opacity: .78; transition: opacity .3s; }
.fl.is-on figcaption span { opacity: 1; }
@media (max-width: 720px) {
  .fl-row { margin-top: 36px; }
  .fl-head { font-size: 16.5px; }
  .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .fl-ph { border-radius: 20px; }
  .fl figcaption { margin-top: 12px; }
}
/* preview only: why the film did not start by itself on this device (v8.js) */
.vp-why { max-width: 720px; margin: 26px auto 0; padding: 10px 16px; border-radius: 14px; background: #fde9f1; color: #8f2755; font: 700 13.5px/1.45 var(--body); text-align: center; }
@media (max-width: 960px) {
  .film8 .sec-head { margin-bottom: 32px; }
  .hv-back { border-radius: 30px; translate: 10px 10px; }
  .hv-frame { border-width: 6px; border-radius: 28px; }
  .hv-cap { left: 14px; bottom: 14px; max-width: calc(100% - 186px); padding: 8px 14px 8px 10px; font-size: 13.5px; }
  .hv-ctl { right: 12px; bottom: 14px; }
  }
/* phones: the tall cut of the film (4:5), so hands and faces stay big; the dots go to the top so the label has
   the bottom to itself; 574px is also where the cover picture switches to the tall one */
@media (max-width: 574px) {
  .film8 .film-col { width: min(100%, calc((100vh - 170px) * 4 / 5)); min-width: 0; }
  .film8 .hv { aspect-ratio: 4 / 5; }
  .hv-ctl { left: 12px; right: auto; top: 12px; bottom: auto; }
  .hv-cap { max-width: calc(100% - 28px); }
  .vp-play { width: 76px; height: 76px; }
  .vp-play::before { margin-left: 6px; border-width: 14px; border-left-width: 23px; }
}
/* the label as a small two-line card (what it is, then what is happening) where one line would not fit */
@media (max-width: 720px) {
  .hv-cap { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; row-gap: 1px; align-items: center; border-radius: 16px; padding: 8px 14px 9px 11px; }
  .hv-cap i { grid-row: 1; }
  .hv-cap b { grid-column: 2; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
  .hv-cap span { grid-column: 2; font-weight: 800; color: var(--ink); }
}

/* ===== One step between sections (v8) =====
   User 11/19: "this gap is too big" (reviews -> campuses on the home page), then "just keep the spacing between
   sections the same". The rule now:
   - every section has 70px above its content (56px on phones);
   - it has the same 70px (56px) underneath, and only when the NEXT section draws a confetti edge (svg.edge) does
     it keep the larger 150px (76px on phones), which is the room the confetti needs.
   Before, every section kept 150px underneath whether confetti followed or not, so the places with no confetti
   (home: reviews -> campuses; Our team: welcome letter -> team) showed about 250px of plain empty space.
   The film section follows the same 70/70 (56/56). The Montessori page chapters (.m-ch) keep their own rhythm.
   Browsers without :has() simply keep the old, larger gap. */
main > .sec:not(.m-ch):has(+ section):not(:has(+ section > .edge)) { padding-bottom: 70px; }
@media (max-width: 640px) {
  main > .sec:not(.m-ch):has(+ section):not(:has(+ section > .edge)) { padding-bottom: 56px; }
  .film8 { padding: 56px 0; }
}

/* ===== Our team without the Director introduction (v8) =====
   User 12/03: hide the Director introduction for now. The card with what we require of every teacher then
   stands alone: centered, with the requirements side by side. (CAP_SHOW_DIRECTOR in functions.php.) */
.quals-grid.no-dir { display: block; max-width: 940px; margin-left: auto; margin-right: auto; }
.quals-grid.no-dir .quals-title { text-align: center; }
.quals-grid.no-dir .qf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 30px; }
@media (max-width: 720px) {
  .quals-grid.no-dir .qf-list { grid-template-columns: minmax(0, 1fr); }
}
