/* Blog Guide - illustrated story variant (body.hc-pg--story).
   File: assets/css/post-guide-story.css

   Loaded after post-guide.css on posts in an illustrated story series
   (inc/post-guide/hub.php). Reproduces the Parenting stories' approved page
   design (their former page-ID CSS, "HCP-PARENTING-20260920") as it renders on
   live (measured 2026-10-02 at 1366px): cream title band, back link, two-column
   cover (story label + byline | uncropped illustration), the story's own quick
   answer / contents / sections / sources, Previous / Next links. Story colours
   are the --story-* tokens. Selectors carry body.hc-pg--story so they outrank
   post-guide.css's #main-content base (which uses !important for heading weight). */

/* ---- Title band (full width, above the shell) ---- */
body.hc-pg--story .hc-pg-story-band{background:var(--story-paper);padding:10px 24px 26px}
body.hc-pg--story .hc-pg-story-band .breadcrumb-blg-t{max-width:var(--maxw);margin:0 auto 22px;font-size:12px;line-height:1.6;color:var(--story-crumb);text-align:left}
body.hc-pg--story .hc-pg-story-band .breadcrumb-blg-t a{color:var(--story-crumb)}
body.hc-pg--story .hc-pg-story-band .breadcrumb-blg-t .hc-sep{margin:0 6px;color:var(--story-crumb)}
body.hc-pg--story .hc-pg-story-band .breadcrumb-blg-t .hc-crumb-cur{color:var(--story-crumb);font-weight:400}
body.hc-pg--story .hc-pg-story-band .blog-title{
	max-width:1120px;margin:0 auto;padding:0;text-align:left;
	font-family:var(--font-display),sans-serif;font-size:clamp(30px,3.6vw,45px);font-weight:500;
	line-height:1.17;letter-spacing:-.6px;color:var(--story-ink);-webkit-text-fill-color:var(--story-ink);
	text-wrap:pretty;
}

/* ---- Back link + cover ---- */
body.hc-pg--story .hc-pg-shell{padding-top:32px}
body.hc-pg--story .hc-pg-back{display:inline-block;margin:0 0 20px;font-size:13px;line-height:1.7;color:var(--story-link);text-decoration:none}
body.hc-pg--story .hc-pg-back:hover{color:var(--story-coral)}
body.hc-pg--story .hc-pg-cover{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:36px;margin:0 0 38px;font-family:var(--font-display),sans-serif}
body.hc-pg--story .hc-pg-story-label{margin:0 0 20px;font-size:12px;font-weight:400;line-height:1.75;letter-spacing:1.4px;text-transform:uppercase;color:var(--story-text)}
body.hc-pg--story .hc-pg-cover .hc-hero-head{margin:0;padding:0;border:0}
body.hc-pg--story .hc-pg-cover .hc-hero-meta{justify-content:flex-start}
body.hc-pg--story .hc-pg-story-figure{margin:0;padding:0}
body.hc-pg--story .hc-pg-story-figure img{display:block;width:100%;height:auto;border:0;border-radius:3px;box-shadow:none}
body.hc-pg--story .hc-pg-story-figure figcaption{margin:10px 0 0;font-size:12px;line-height:1.55;color:var(--story-muted)}

/* ---- Body: single column at the story's own widths ---- */
body.hc-pg--story .hc-pg-body{margin:0 0 56px}
body.hc-pg--story .hc-pg-body--full .hc-pg-col{max-width:none;margin:0}
body.hc-pg--story .hc-pg-col #main-content .hcp{color:var(--story-ink);font-family:var(--font-display),sans-serif;font-size:17px;line-height:1.7}
body.hc-pg--story .hc-pg-col #main-content .hcp p{margin:0 0 20px;font-size:17px;line-height:1.75;font-weight:400;color:var(--story-text)}
body.hc-pg--story .hc-pg-col #main-content .hcp a{color:var(--story-link);font-size:inherit;font-weight:400;text-decoration:none}
body.hc-pg--story .hc-pg-col #main-content .hcp a:hover{color:var(--story-coral)}
body.hc-pg--story .hc-pg-col #main-content .hcp a:focus-visible,
body.hc-pg--story .hc-pg-col #main-content .hcp summary:focus-visible{outline:3px solid var(--story-focus);outline-offset:4px}
body.hc-pg--story .hc-pg-col #main-content .hcp span{font-size:inherit;color:inherit}
body.hc-pg--story .hc-pg-col #main-content .hcp strong{font-weight:600}
body.hc-pg--story .hc-pg-col #main-content .hcp h2,
body.hc-pg--story .hc-pg-col #main-content .hcp h3{
	position:static;margin:0 0 16px;padding:0;border:0;
	font-family:var(--font-display),sans-serif;font-weight:500 !important;line-height:1.23;letter-spacing:-.25px;color:var(--story-ink);
}
body.hc-pg--story .hc-pg-col #main-content .hcp h2{font-size:30px}
body.hc-pg--story .hc-pg-col #main-content .hcp h3{font-size:24px;margin-bottom:14px}
body.hc-pg--story .hc-pg-col #main-content .hcp h2::after{content:none;display:none}

/* Lists: the stories' ring bullets. */
body.hc-pg--story .hc-pg-col #main-content .hcp ul{list-style:none;margin:14px 0 22px;padding:0}
body.hc-pg--story .hc-pg-col #main-content .hcp ul li{position:relative;margin:6px 0 15px;padding:0 0 0 30px;font-size:20px;line-height:1.7;color:var(--story-text)}
body.hc-pg--story .hc-pg-col #main-content .hcp ul li::before{content:"";position:absolute;left:0;top:10px;width:10px;height:10px;border:2px solid var(--story-link);border-radius:50%;box-sizing:border-box}
body.hc-pg--story .hc-pg-col #main-content .hcp ol{margin:14px 0 22px;padding-left:24px}
body.hc-pg--story .hc-pg-col #main-content .hcp ol li{margin:8px 0;font-size:17px;line-height:1.7;color:var(--story-text)}

/* Quick answer + contents box. */
body.hc-pg--story .hc-pg-col #main-content .hcp-answer{max-width:860px;margin:0 auto 24px;padding:24px 28px;background:var(--story-answer);border-left:4px solid var(--story-answer-line);border-radius:8px}
body.hc-pg--story .hc-pg-col #main-content .hcp-answer p{font-size:16px;line-height:1.75}
body.hc-pg--story .hc-pg-col #main-content .hcp-answer p:last-child{margin-bottom:0}
body.hc-pg--story .hc-pg-col #main-content .hcp-toc{max-width:860px;margin:0 auto 32px;padding:16px 22px;background:var(--card);border:1px solid var(--story-line);border-radius:8px}
body.hc-pg--story .hc-pg-col #main-content .hcp-toc summary{font-size:15px;font-weight:600;color:var(--story-ink);cursor:pointer}
body.hc-pg--story .hc-pg-col #main-content .hcp-toc ul{margin:12px 0 0}

/* Sections, sources, tables. */
body.hc-pg--story .hc-pg-col #main-content .hcp-body{max-width:800px;margin:0 auto}
body.hc-pg--story .hc-pg-col #main-content .hcp-body section{margin:0 0 34px;scroll-margin-top:120px}
body.hc-pg--story .hc-pg-col #main-content .hcp-sources{margin:24px 0;padding-top:22px;border-top:1px solid var(--story-line);font-size:13px}
body.hc-pg--story .hc-pg-col #main-content .hcp-table-wrap{overflow-x:auto;margin:20px 0}
body.hc-pg--story .hc-pg-col #main-content .hcp table{width:100%;margin:0;border-collapse:collapse;font-size:14px}
body.hc-pg--story .hc-pg-col #main-content .hcp caption{padding:0 0 12px;text-align:left;font-size:15px;font-weight:600;color:var(--story-ink)}
body.hc-pg--story .hc-pg-col #main-content .hcp th,
body.hc-pg--story .hc-pg-col #main-content .hcp td{padding:12px 14px;border:1px solid var(--story-line);text-align:left;vertical-align:top}
body.hc-pg--story .hc-pg-col #main-content .hcp thead{background:var(--story-answer)}
body.hc-pg--story .hc-pg-col #main-content .hcp tr{background:transparent}

/* ---- Previous / Next / Collection ---- */
body.hc-pg--story .hc-pg-storynav{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:800px;margin:30px auto 0;padding-top:24px;border-top:1px solid var(--story-line);font-family:var(--font-display),sans-serif}
body.hc-pg--story .hc-pg-storynav a{display:block;padding:16px;border:1px solid var(--story-line);border-radius:8px;font-size:14px;line-height:1.7;color:var(--story-link);text-decoration:none}
body.hc-pg--story .hc-pg-storynav a:hover{color:var(--story-coral)}
body.hc-pg--story .hc-pg-storynav span{display:block;margin-bottom:5px;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--story-muted)}

@media (max-width:720px){
	body.hc-pg--story .hc-pg-story-band{padding:10px 20px 24px}
	body.hc-pg--story .hc-pg-shell{padding-top:22px}
	body.hc-pg--story .hc-pg-cover{grid-template-columns:1fr;gap:20px;margin-bottom:28px}
	body.hc-pg--story .hc-pg-story-figure{max-width:540px;width:100%;margin:0 auto}
	body.hc-pg--story .hc-pg-col #main-content .hcp p{font-size:16px}
	body.hc-pg--story .hc-pg-col #main-content .hcp-answer{padding:20px}
	body.hc-pg--story .hc-pg-col #main-content .hcp h2{font-size:27px}
}
@media (max-width:640px){
	body.hc-pg--story .hc-pg-storynav{grid-template-columns:1fr}
}

/* Cover intro (the story's opening paragraph, moved here from the body). */
body.hc-pg--story .hc-pg-story-intro{margin-top:20px}
body.hc-pg--story .hc-pg-story-intro p{margin:0 0 20px;font-size:17px;line-height:1.75;color:var(--story-text)}
body.hc-pg--story .hc-pg-story-intro p:last-child{margin-bottom:0}
@media (max-width:720px){
	body.hc-pg--story .hc-pg-story-intro p{font-size:16px}
}
body.hc-pg--story .hc-pg-storynav--single{grid-template-columns:1fr}

/* The stories' page CSS sized everything border-box (max-widths include padding),
   and indented lists 24px (body) / 19px (sources) / 20px (contents). */
body.hc-pg--story .hc-pg-col #main-content .hcp,
body.hc-pg--story .hc-pg-col #main-content .hcp *,
body.hc-pg--story .hc-pg-col #main-content .hcp *::before,
body.hc-pg--story .hc-pg-col #main-content .hcp *::after{box-sizing:border-box}
body.hc-pg--story .hc-pg-col #main-content .hcp ul{padding-left:24px}
body.hc-pg--story .hc-pg-col #main-content .hcp .hcp-sources ul{padding-left:19px}
body.hc-pg--story .hc-pg-col #main-content .hcp .hcp-toc ul{padding-left:20px}
