/* CCC hub page layout for /aphantasia/ (page 6100) and reusable hubs.
   SCOPE: every rule under body.ccc-hub.
   Tokens: 12px card radius, 1px rgba(0,0,0,.08) border, 10px button radius,
   Barlow headings (sitewide), mock palette. Grid: 360px head + 48px gap.
   Zero important flags. Astra owns site header/footer chrome. */

body.ccc-hub{
  --pink:#E2216A; --pink-hover:#CE0E54; --pink-tint:#FFF1F5; --pink-line:#F3DCE5;
  --ink:#191919; --ink2:#404040; --muted:#5C5C5C; --paper:#FBFAF9; --warm:#F5F0E8;
  --line:rgba(0,0,0,.08); --white:#fff; --r:12px; --r-img:16px; --wrap:1200px; --gutter:20px;
  --shadow:0 1px 2px rgba(0,0,0,.04);
}
body.ccc-hub .entry-content *,body.ccc-hub .ccc-hub-root *,body.ccc-hub .entry-content *::before,body.ccc-hub .ccc-hub-root *::before,body.ccc-hub .entry-content *::after,body.ccc-hub .ccc-hub-root *::after{box-sizing:border-box}

body.ccc-hub .entry-content,body.ccc-hub .ccc-hub-root{font-family:Roboto,sans-serif;font-size:18px;line-height:1.65;color:var(--ink2);background:var(--paper);-webkit-font-smoothing:antialiased}
body.ccc-hub .entry-content img,body.ccc-hub .ccc-hub-root img{max-width:100%;height:auto;display:block}
/* Prose / inline links: pink + underline so destinations read as links (JP CCC-872). */
body.ccc-hub .entry-content a,body.ccc-hub .ccc-hub-root a{color:var(--pink);text-decoration:underline;text-decoration-color:var(--pink);text-underline-offset:3px}
body.ccc-hub .entry-content a:hover,body.ccc-hub .ccc-hub-root a:hover{color:var(--pink-hover);text-decoration-color:var(--pink-hover)}
body.ccc-hub .entry-content a:focus-visible,body.ccc-hub .ccc-hub-root a:focus-visible{outline:3px solid rgba(226,33,106,.45);outline-offset:2px}
body.ccc-hub .entry-content .wrap,body.ccc-hub .ccc-hub-root .wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gutter)}
body.ccc-hub .entry-content h1,body.ccc-hub .ccc-hub-root h1,body.ccc-hub .entry-content h2,body.ccc-hub .ccc-hub-root h2,body.ccc-hub .entry-content h3,body.ccc-hub .ccc-hub-root h3{font-family:'Barlow Semi Condensed',sans-serif;color:var(--ink);margin:0}
body.ccc-hub .entry-content h1,body.ccc-hub .ccc-hub-root h1{font-weight:700;font-size:52px;line-height:1.1}
body.ccc-hub .entry-content h2,body.ccc-hub .ccc-hub-root h2{font-weight:700;font-size:38px;line-height:1.15}
body.ccc-hub .entry-content h3,body.ccc-hub .ccc-hub-root h3{font-weight:600;font-size:24px;line-height:1.25}
body.ccc-hub .entry-content p,body.ccc-hub .ccc-hub-root p{margin:0 0 16px}
body.ccc-hub .eyebrow{font:500 12px/1.3 Roboto,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--pink);margin:0 0 12px}

body.ccc-hub .entry-content .btn,body.ccc-hub .ccc-hub-root .btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:10px;font:600 16px/1.2 Roboto,sans-serif;text-decoration:none;border:1px solid transparent;text-align:center}
body.ccc-hub .entry-content .btn-primary,body.ccc-hub .ccc-hub-root .btn-primary{background:var(--pink);color:#fff}
body.ccc-hub .entry-content .btn-primary:hover,body.ccc-hub .ccc-hub-root .btn-primary:hover{background:var(--pink-hover);color:#fff}
body.ccc-hub .entry-content .btn-secondary,body.ccc-hub .ccc-hub-root .btn-secondary{background:#fff;color:var(--ink);border-color:rgba(0,0,0,.18)}
body.ccc-hub .entry-content .btn-secondary:hover,body.ccc-hub .ccc-hub-root .btn-secondary:hover{color:var(--pink);border-color:var(--pink)}
body.ccc-hub .entry-content .btn-row,body.ccc-hub .ccc-hub-root .btn-row{display:flex;flex-wrap:wrap;gap:12px 16px}

body.ccc-hub .entry-content .card,body.ccc-hub .ccc-hub-root .card{background:var(--white);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:32px}

body.ccc-hub section.band{padding:80px 0}
body.ccc-hub section.band.warm{background:var(--warm)}
body.ccc-hub .split{display:grid;grid-template-columns:360px minmax(0,1fr);column-gap:48px;align-items:start}
body.ccc-hub .split .head h2{max-width:360px}
body.ccc-hub .split .head p.sub{margin-top:16px;font-size:17px}
body.ccc-hub .body-col{max-width:720px}
body.ccc-hub .body-col p:last-child{margin-bottom:0}

body.ccc-hub .entry-content .hero,body.ccc-hub .ccc-hub-root .hero{padding:64px 0 80px}
body.ccc-hub .entry-content .hero-grid,body.ccc-hub .ccc-hub-root .hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:64px;align-items:center}
body.ccc-hub .entry-content .hero-img,body.ccc-hub .ccc-hub-root .hero-img{border-radius:var(--r-img);overflow:hidden;aspect-ratio:1/1;background:#F3E8E0;border:1px solid var(--line)}
body.ccc-hub .entry-content .hero-img img,body.ccc-hub .ccc-hub-root .hero-img img{width:100%;height:100%;object-fit:cover}
body.ccc-hub .entry-content .hero-text .lede,body.ccc-hub .ccc-hub-root .hero-text .lede{font-size:20px;line-height:1.55;margin:20px 0 24px}
body.ccc-hub .ticks{list-style:none;margin:0 0 32px;padding:0;display:grid;gap:10px}
body.ccc-hub .ticks li{display:flex;gap:12px;align-items:flex-start;font-size:17px;line-height:1.45}
body.ccc-hub .ticks li:before{content:"";flex:0 0 20px;height:20px;margin-top:1px;border-radius:50%;background:var(--pink-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.7 2.7L14 7.6' fill='none' stroke='%23E2216A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;border:1px solid var(--pink-line)}

body.ccc-hub .grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.ccc-hub .grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
/* After card grids / compare table: beat body.ccc-hub .entry-content p {margin:0 0 16px} (same 0,2,2; later wins). */
body.ccc-hub .grid-2 + p,
body.ccc-hub .compare + p{margin-top:24px}
body.ccc-hub .tcard{display:flex;flex-direction:column}
body.ccc-hub .tcard h3{margin-bottom:12px}
body.ccc-hub .tcard p:not(.eyebrow){font-size:17px;margin:0}
body.ccc-hub .after{margin-top:32px}
body.ccc-hub .trust{margin-top:24px}
body.ccc-hub .trust ul{margin:12px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.ccc-hub .trust li{font-size:16px;line-height:1.5;padding-top:16px;border-top:1px solid var(--line)}

body.ccc-hub .fit h3{margin-bottom:16px}
body.ccc-hub .fit ul.plain{list-style:none;margin:0;padding:0;display:grid;gap:12px}
body.ccc-hub .fit ul.plain li{font-size:17px;line-height:1.5;padding-left:28px;position:relative}
body.ccc-hub .fit ul.plain li:before{content:"";position:absolute;left:4px;top:.6em;width:10px;height:10px;border-radius:50%;background:var(--pink)}
body.ccc-hub .fit.no ul.plain li:before{background:#B8B8B8}
body.ccc-hub .fit.no{background:#F7F5F2}
body.ccc-hub .cta-line{margin-top:32px}

body.ccc-hub .compare{padding:0;overflow:hidden}
body.ccc-hub .crow{display:grid;grid-template-columns:200px minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--line)}
body.ccc-hub .crow:first-child{border-top:0}
body.ccc-hub .crow>div{padding:20px 24px;font-size:16px;line-height:1.5}
body.ccc-hub .crow>div+div{border-left:1px solid var(--line)}
body.ccc-hub .crow.h>div{background:#F7F5F2;font:500 12px/1.3 Roboto;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);padding:16px 24px}
body.ccc-hub .crow.h>div.nv{color:var(--pink);background:var(--pink-tint)}
body.ccc-hub .crow>div.k{font-weight:600;color:var(--ink)}
body.ccc-hub .compare-note{margin-top:24px;font-size:17px}

body.ccc-hub .step .num{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--pink-tint);border:1px solid var(--pink-line);font:700 18px/1 'Barlow Semi Condensed';color:var(--pink);margin-bottom:20px}
body.ccc-hub .steps-intro{max-width:720px;margin-bottom:32px}
body.ccc-hub .steps-intro h2{margin-bottom:16px}

body.ccc-hub .price h3{margin-bottom:12px}
body.ccc-hub .price p:not(.eyebrow){font-size:17px}
body.ccc-hub .entry-content .price .btn,body.ccc-hub .ccc-hub-root .price .btn{margin-top:auto;align-self:flex-start}
body.ccc-hub .price{display:flex;flex-direction:column}
body.ccc-hub .free-note{margin-top:32px;font-size:17px;max-width:720px}

body.ccc-hub .jp-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:64px;align-items:start}
body.ccc-hub .jp-img{align-self:start;border-radius:var(--r-img);overflow:hidden;aspect-ratio:1/1;border:1px solid var(--line)}
body.ccc-hub .jp-img img{width:100%;height:100%;object-fit:cover}
body.ccc-hub .jp-text h2{margin-bottom:20px;font-size:34px}
body.ccc-hub .entry-content .jp-text .btn-row,body.ccc-hub .ccc-hub-root .jp-text .btn-row{margin-top:24px}

body.ccc-hub .faq{max-width:720px;display:grid;gap:12px}
body.ccc-hub .faq details{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:0 24px}
body.ccc-hub .faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 0;font:600 20px/1.3 'Barlow Semi Condensed';color:var(--ink)}
body.ccc-hub .faq summary::-webkit-details-marker{display:none}
body.ccc-hub .faq summary:after{content:"+";flex:0 0 28px;height:28px;border-radius:50%;background:var(--pink-tint);color:var(--pink);font:500 20px/28px Roboto;text-align:center}
body.ccc-hub .faq details[open] summary:after{content:"–"}
body.ccc-hub .faq details p{padding-bottom:20px;font-size:17px;margin:0}

body.ccc-hub .rn-head{margin-bottom:32px}
body.ccc-hub .rn-head h2+p{margin:12px 0 0;max-width:560px;font-size:17px}
body.ccc-hub .rn-feature{margin-bottom:24px}
body.ccc-hub a.acard{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden;transition:box-shadow .15s,border-color .15s}
body.ccc-hub a.acard:hover{box-shadow:0 8px 24px rgba(25,25,25,.08);border-color:var(--pink-line);color:inherit}
body.ccc-hub a.acard .thumb{padding:32px 32px 0}
body.ccc-hub a.acard .thumb div{aspect-ratio:1/1;border-radius:var(--r-img);overflow:hidden;background:#F3E8E0}
body.ccc-hub a.acard .thumb img{width:100%;height:100%;object-fit:cover}
body.ccc-hub a.acard .txt{padding:24px 32px 32px;display:flex;flex-direction:column;flex:1}
body.ccc-hub a.acard.plain .txt{padding:28px 32px 32px}
/* Card chrome stays undecorated; title underline shows the row is a link (CCC-872). */
body.ccc-hub a.acard h3{font-size:22px;margin-bottom:10px;text-decoration:underline;text-decoration-color:currentColor;text-decoration-thickness:1px;text-underline-offset:3px}
body.ccc-hub a.acard:hover h3,body.ccc-hub a.acard:focus-visible h3{color:var(--ink);text-decoration-color:var(--pink)}
body.ccc-hub a.acard p:not(.eyebrow){font-size:16px;line-height:1.55;margin:0 0 20px;text-decoration:none}
body.ccc-hub a.acard .eyebrow,body.ccc-hub a.acard p.eyebrow{text-decoration:none}
body.ccc-hub a.acard .go{margin-top:auto;font:500 15px/1 Roboto;color:var(--pink);text-decoration:none}
body.ccc-hub a.acard .go:after{content:" →"}

body.ccc-hub .next{background:var(--warm);padding:80px 0}
body.ccc-hub .next-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;align-items:stretch}
body.ccc-hub .next-card{display:flex;flex-direction:column;justify-content:center}
body.ccc-hub .entry-content .next-card,body.ccc-hub .ccc-hub-root .next-card{padding:40px}
body.ccc-hub .next-card h2{font-size:36px;margin-bottom:16px}
body.ccc-hub .next-card .who{display:flex;gap:16px;align-items:center;margin:24px 0 0;padding-top:24px;border-top:1px solid var(--line)}
body.ccc-hub .next-card .who img{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:0 0 64px}
body.ccc-hub .next-card .who p{margin:0;font-size:16px;line-height:1.5}
body.ccc-hub form.f{display:grid;gap:16px}
body.ccc-hub form.f .two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.ccc-hub form.f label{display:block;font:500 12px/1.3 Roboto;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
body.ccc-hub form.f .in{height:48px;border:1px solid rgba(0,0,0,.18);border-radius:10px;background:#fff;padding:0 14px;font:400 16px/46px Roboto;color:#8a8a8a}
body.ccc-hub form.f .in.ta{height:104px}
body.ccc-hub .entry-content form.f .btn,body.ccc-hub .ccc-hub-root form.f .btn{width:100%}
body.ccc-hub .disclaimer{max-width:720px;margin:0 auto;padding:32px var(--gutter) 40px;text-align:center;font-size:14px;font-style:italic;color:var(--muted)}

body.ccc-hub p.eyebrow,body.ccc-hub a.acard p.eyebrow,body.ccc-hub .tcard p.eyebrow,body.ccc-hub .price p.eyebrow{font:500 12px/1.3 Roboto,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--pink);margin:0 0 12px}
@media (max-width:921px){
  body.ccc-hub{--gutter:24px}
  body.ccc-hub .entry-content,body.ccc-hub .ccc-hub-root{font-size:17px}
  body.ccc-hub .entry-content h1,body.ccc-hub .ccc-hub-root h1{font-size:34px;line-height:1.15}
  body.ccc-hub .entry-content h2,body.ccc-hub .ccc-hub-root h2{font-size:29px}
  body.ccc-hub .entry-content h3,body.ccc-hub .ccc-hub-root h3{font-size:22px}
  body.ccc-hub .entry-content .hero,body.ccc-hub .ccc-hub-root .hero{padding:32px 0 48px}
  body.ccc-hub .entry-content .hero-grid,body.ccc-hub .ccc-hub-root .hero-grid,body.ccc-hub .jp-grid,body.ccc-hub .next-grid{grid-template-columns:1fr;row-gap:32px}
  body.ccc-hub .entry-content .hero-text .lede,body.ccc-hub .ccc-hub-root .hero-text .lede{font-size:18px}
  body.ccc-hub .entry-content .hero-text .btn-row .btn,body.ccc-hub .ccc-hub-root .hero-text .btn-row .btn{width:100%}
  body.ccc-hub section.band{padding:56px 0}
  body.ccc-hub .split{grid-template-columns:1fr;row-gap:24px}
  body.ccc-hub .split .head h2{max-width:none}
  body.ccc-hub .grid-2,body.ccc-hub .grid-3{grid-template-columns:1fr;gap:16px}
  body.ccc-hub .entry-content .card,body.ccc-hub .ccc-hub-root .card{padding:24px}
  body.ccc-hub .trust ul{grid-template-columns:1fr;gap:16px}
  body.ccc-hub .compare{background:transparent;border:0;box-shadow:none;overflow:visible;display:grid;gap:16px}
  body.ccc-hub .crow.h{display:none}
  body.ccc-hub .crow{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
  body.ccc-hub .crow>div{padding:14px 20px}
  body.ccc-hub .crow>div+div{border-left:0}
  body.ccc-hub .crow>div.k{background:#F7F5F2;font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
  body.ccc-hub .crow>div.a:before,body.ccc-hub .crow>div.b:before{display:block;font:500 12px/1.3 Roboto;letter-spacing:.12em;text-transform:uppercase;margin-bottom:4px}
  body.ccc-hub .crow>div.a:before{content:"Visualization-based";color:var(--muted)}
  body.ccc-hub .crow>div.b:before{content:"Non-visual regulation";color:var(--pink)}
  body.ccc-hub a.acard .thumb{padding:24px 24px 0}
  body.ccc-hub a.acard .txt,body.ccc-hub a.acard.plain .txt{padding:20px 24px 24px}
  body.ccc-hub .next{padding:56px 0}
  body.ccc-hub .next-card h2{font-size:30px}
  body.ccc-hub form.f .two{grid-template-columns:1fr}
  body.ccc-hub .entry-content .btn-row .btn,body.ccc-hub .ccc-hub-root .btn-row .btn{width:100%}
}
/* ===== Symptoms hub (/symptoms/, page 6503): delta for ccc-core/assets/css/hub-page.css =====
   Append to the END of hub-page.css (before nothing else; the rules below rely on coming after the existing ones).
   Every rule is scoped under body.ccc-hub, so /aphantasia/ (6100) is unaffected by Part A.
   No !important, no inline styles. Reuses existing .hero, .ticks, .rn-head, .grid-3, a.acard, .jp-grid, .jp-img, .jp-text, .disclaimer.
   Needs PHP: enqueue hub-page.css and add body class ccc-hub on page 6503 too (see pr-msg.txt). */

/* ---- Part A: new classes used only by the symptoms hub (additive) ---- */

/* Hero: one-sentence note under the lede */
body.ccc-hub .ccc-hub-root .hero-text .lede.lede-tight{margin-bottom:16px}
body.ccc-hub .ccc-hub-root .hero-text p.note{margin:0 0 24px}

/* Card grid, centred leftover row: 6-col grid, each card spans 2.
   A last row of 2 cards sits in the middle (cols 2-4 and 4-6); a last row of 1 card is centred (cols 3-5).
   Works for any card count, not just 14. Desktop only; under 922px the existing .grid-3 rule gives one column. */
@media (min-width:922px){
  body.ccc-hub .grid-3.grid-centre{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
  body.ccc-hub .grid-3.grid-centre>a.acard{grid-column:span 2}
  body.ccc-hub .grid-3.grid-centre>a.acard:nth-last-child(2):nth-child(3n+1){grid-column:2/4}
  body.ccc-hub .grid-3.grid-centre>a.acard:last-child:nth-child(3n+2){grid-column:4/6}
  body.ccc-hub .grid-3.grid-centre>a.acard:last-child:nth-child(3n+1){grid-column:3/5}
}

/* Note under the card grid (beats .entry-content p margin like .grid-2 + p) */
body.ccc-hub .ccc-hub-root .more-note{margin:32px 0 0;font-size:17px}

/* Next step: photo + text. .jp-grid / .jp-img / .jp-text already exist; these match the approved mock */
body.ccc-hub .next .jp-img img{object-position:center 40%}
body.ccc-hub .ccc-hub-root .next .jp-text h2{font-size:36px;margin-bottom:16px}
body.ccc-hub .ccc-hub-root .next .jp-text .btn-row{margin-top:8px}
body.ccc-hub .next .jp-text .been{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}
body.ccc-hub .ccc-hub-root .next .jp-text .been h3{margin-bottom:12px}
body.ccc-hub .ccc-hub-root .next .jp-text .been p:last-child{margin-bottom:0}
@media (max-width:921px){
  body.ccc-hub .ccc-hub-root .next .jp-text h2{font-size:30px}
}
