/* Guide card layout (generate-articles.mjs cardBody). Layered on guide-articles.css + articles.css.
   Colored hero, short answer + key-number tiles, jump chips, one card per section, FAQ cards, then
   author/sources side by side. Sticker borders match the rest of Kay's site; text on color is always ink. */
.guide-article.gc{max-width:1080px;margin-top:22px}
.gc .gc-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:26px;align-items:center;background:var(--gc-hero);border:3px solid var(--ink);border-radius:26px;box-shadow:6px 6px 0 var(--ink);padding:28px 32px}
.gc .gc-hero h1{font-size:clamp(34px,4.4vw,54px);line-height:1.04;margin:12px 0 12px}
.gc .gc-hero .article-deck{font-weight:700;margin:0 0 12px}
.gc .gc-hero .article-byline{margin:0;color:var(--ink)}
.gc .gc-hero .article-byline a{color:var(--ink)}
.gc-fan{position:relative;height:300px}
.gc-fan img{position:absolute;width:175px;height:auto;border:3px solid var(--ink);border-radius:16px;box-shadow:5px 5px 0 var(--ink);background:#fff}
.gc-fan img:nth-child(1){left:2%;top:26px;transform:rotate(-7deg)}
.gc-fan img:nth-child(2){left:27%;top:0;transform:rotate(2deg);z-index:2}
.gc-fan img:nth-child(3){left:52%;top:32px;transform:rotate(8deg)}
.gc-photo{border:3px solid var(--ink);border-radius:20px;box-shadow:6px 6px 0 var(--ink);overflow:hidden;aspect-ratio:4/3;background:#fff;transform:rotate(1.5deg)}
.gc-photo img{display:block;width:100%;height:100%;object-fit:cover}

.gc-top{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:26px 0 18px}
.gc .article-answer{grid-column:1/-1;margin:0;background:#fff;border:3px solid var(--ink);border-radius:22px;box-shadow:5px 5px 0 var(--ink);padding:16px 22px}
.gc .article-answer h2{font:400 26px/1.1 Chewy,cursive;margin:0 0 6px}
.gc .article-answer p{margin:0;font-weight:700;font-size:16.5px;line-height:1.6}
.gc .article-numbers{display:contents}
.gc .article-numbers li{background:#D6E6F5;box-shadow:5px 5px 0 var(--ink);border-radius:22px;padding:16px 18px 14px;gap:6px}
.gc .article-numbers li:nth-child(2){background:#FFDCC8}.gc .article-numbers li:nth-child(3){background:#FFF1C9}
.gc .article-numbers b{font-size:42px}
.gc .article-numbers span{font-size:14.5px;line-height:1.35}
.gc .article-numbers small{font:700 12.5px/1.4 Nunito,sans-serif;color:var(--muted);margin-top:auto}

.gc-toc{margin:0 0 18px}
.gc-toc h2{font:900 12px/1 Nunito,sans-serif;letter-spacing:.14em;text-transform:uppercase;margin:0 0 10px}
.gc-toc ol{list-style:none;margin:0;padding:0!important;display:flex;flex-wrap:wrap;gap:8px}
.gc-toc li{margin:0}
.gc-toc a{display:inline-flex;align-items:center;gap:6px;max-width:320px;background:#fff;border:2px solid var(--ink);border-radius:999px;padding:7px 12px;font:800 13.5px/1.25 Nunito,sans-serif;color:var(--ink);text-decoration:none}
.gc-toc a:hover{background:#D6E6F5}
.gc-toc b{font:400 16px/1 Chewy,cursive}

.gc-cards{display:grid;gap:16px}
.gc-card{background:#fff;border:3px solid var(--ink);border-radius:22px;box-shadow:5px 5px 0 var(--ink);scroll-margin-top:20px;overflow:hidden}
.gc-card summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 22px;cursor:default}
.gc-card summary::-webkit-details-marker{display:none}
.gc-card summary:focus-visible{outline:3px solid var(--acc2);outline-offset:-6px;border-radius:18px}
.gc-n{width:48px;height:48px;border-radius:14px;border:3px solid var(--ink);display:grid;place-items:center;font:400 26px/1 Chewy,cursive;background:var(--gc-tone)}
.gc-n.gc-dot{width:18px;height:18px;border-radius:50%;margin:0 15px}
.guide-article.gc .gc-card h2{font:400 clamp(23px,2.6vw,29px)/1.12 Chewy,cursive;margin:0}
.gc-pre{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gc-chev{display:none;font:400 24px/1 Chewy,cursive;transition:transform .2s}
.gc-card[open] .gc-chev{transform:rotate(180deg)}
.gc-in{padding:0 24px 20px 84px}
.gc-card.has-fig .gc-in{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:24px;align-items:start}
.gc-text>:first-child{margin-top:0}.gc-text>:last-child{margin-bottom:0}
.gc .gc-card .article-fig{float:none;width:auto;max-width:none;margin:4px 0 0}
.gc .gc-card .article-fig.fig-sm{width:auto}
.gc .data-table{border-width:2px;font-size:15px}
.gc .data-table thead th{background:#D6E6F5}

.gc .article-faq{margin-top:30px}
.gc .article-faq>h2,.gc .article-slides h2{font:400 30px/1.1 Chewy,cursive;margin:0 0 12px}
.gc-faqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.gc-faqs.one{grid-template-columns:minmax(0,1fr)}
.gc .faq-item{border:3px solid var(--ink);border-radius:20px;box-shadow:4px 4px 0 var(--ink);padding:14px 18px;background:#fff}
.gc .faq-item:nth-child(4n+1){background:#D6E6F5}.gc .faq-item:nth-child(4n+4){background:#FFDCC8}
.gc .article-faq h3{font:400 21px/1.18 Chewy,cursive;margin:0 0 6px}
.gc .faq-item p{margin:0;font-size:15.5px;line-height:1.55}
.gc .article-slides{margin-top:30px}
.gc .slide-strip li{flex-basis:220px}

.gc-end{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:18px;margin:30px 0 0;align-items:start}
.gc .author-box{margin:0}
.gc-end:not(:has(.article-sources)){grid-template-columns:minmax(0,1fr)}
.gc .article-sources{background:#D6E6F5;border:3px solid var(--ink);border-radius:22px;box-shadow:4px 4px 0 var(--ink);padding:16px 20px}
.gc .article-sources h2,.gc .related-guides h2{font:400 24px/1.1 Chewy,cursive;margin:0 0 8px}
.gc .article-sources ul{margin:0 0 8px}
.gc .article-sources li{margin:4px 0}
.gc .article-sources p{margin:0;font-size:13px;color:var(--muted)}
.gc .related-guides{margin-top:28px}
.gc .article-cta{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;background:var(--pop2);box-shadow:5px 5px 0 var(--ink)}
.gc .article-cta img{width:90px;height:auto}
.gc .article-cta h2{font:400 28px/1.1 Chewy,cursive;margin:0 0 4px}
.gc .article-cta p{margin:0}
.gc .article-cta .btn{box-shadow:4px 4px 0 #fff;white-space:nowrap}

@media(max-width:900px){
 .gc .gc-hero{grid-template-columns:minmax(0,1fr);padding:22px}
 .gc-fan{height:240px}.gc-fan img{width:140px}
 .gc-photo{max-width:380px}
 .gc-in{padding:0 22px 20px}
 .gc-card.has-fig .gc-in{grid-template-columns:minmax(0,1fr) 180px}
 .gc-end{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:600px){
 .guide-article.gc{padding:0 16px}
 .gc .gc-hero{padding:18px 16px;border-radius:20px;box-shadow:4px 4px 0 var(--ink)}
 .gc .gc-hero h1{font-size:34px}
 .gc .gc-hero .article-deck{font-size:16.5px}
 .gc-fan{height:200px}.gc-fan img{width:118px}
 .gc-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .gc .article-numbers li:last-child{grid-column:1/-1}
 .gc .article-numbers b{font-size:34px}
 .gc .article-answer{padding:14px 16px}
 .gc-toc{display:none}
 .gc-card{border-radius:18px;box-shadow:4px 4px 0 var(--ink)}
 .gc-card summary{padding:12px 14px;gap:10px;cursor:pointer}
 .gc-n{width:40px;height:40px;font-size:22px;border-radius:12px}
 .gc-n.gc-dot{width:16px;height:16px;margin:0 12px}
 .guide-article.gc .gc-card h2{font-size:21px}
 .gc-chev{display:block}
 .gc-in,.gc-card.has-fig .gc-in{display:block;padding:0 14px 16px}
 .gc .gc-card .article-fig{max-width:200px;margin:14px 0 0}
 .gc-faqs{grid-template-columns:minmax(0,1fr)}
 .gc .article-cta{grid-template-columns:minmax(0,1fr);padding:18px}
 .gc .article-cta img{display:none}
 .gc .article-cta .btn{white-space:normal}
}
@media(prefers-reduced-motion:reduce){.gc-chev{transition:none}}

/* Full-screen slide viewer (js/guide-cards.js). */
.gc-zoomable{cursor:zoom-in}
.gc-zoomable:focus-visible{outline:3px solid var(--acc2);outline-offset:3px}
.gc-fan{pointer-events:auto}
.gc-lb{position:fixed;inset:0;z-index:1000;background:rgba(20,26,34,.94);display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:calc(56px + env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) calc(20px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));touch-action:pan-y}
.gc-lb[hidden]{display:none}
.gc-lb{grid-template-columns:56px minmax(0,1fr) 56px}
.gc-lb-prev{grid-column:1}.gc-lb-next{grid-column:3}
.gc-lb figure{grid-column:2;grid-row:1;margin:0;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.gc-lb img{display:block;max-width:100%;max-height:calc(100dvh - 120px);width:auto;height:auto;object-fit:contain;border-radius:14px;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.45)}
.gc-lb-count{font:800 14px/1 Nunito,sans-serif;color:#fff}
.gc-lb button{font:400 34px/1 Chewy,cursive;color:var(--ink);background:#fff;border:3px solid var(--ink);border-radius:999px;width:52px;height:52px;display:grid;place-items:center;cursor:pointer;box-shadow:3px 3px 0 var(--ink)}
.gc-lb button:focus-visible{outline:3px solid var(--pop);outline-offset:3px}
.gc-lb-x{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:max(12px,env(safe-area-inset-right,0px))}
.gc-lb-nav[hidden]{display:none}
@media(max-width:600px){
 .gc-lb{grid-template-columns:minmax(0,1fr);padding-left:8px;padding-right:8px}
 .gc-lb figure{grid-column:1}
 .gc-lb-nav{position:absolute;bottom:calc(14px + env(safe-area-inset-bottom,0px));width:46px;height:46px}
 .gc-lb-prev{left:16px}.gc-lb-next{right:16px}
 .gc-lb img{max-height:calc(100dvh - 150px);border-radius:10px}
 .gc-lb figure{padding-bottom:50px}
}

/* 2026-11-26 review: the hero label sits on white so it reads as a button, the section dot is a small indent
   instead of its own column, body text starts at the card edge (no 84px gutter), and the slide beside each
   section is a little smaller so short sections don't leave empty space under the text. */
.gc-hero .eyebrow{background:#fff}
.gc-n.gc-dot{margin:0 0 0 4px}
.gc-card summary:has(.gc-dot){gap:12px}
.gc-in{padding-left:24px}
.gc-card.has-fig .gc-in{grid-template-columns:minmax(0,1fr) 180px}
@media(max-width:900px){.gc-card.has-fig .gc-in{grid-template-columns:minmax(0,1fr) 160px}}
@media(max-width:700px){.gc-in,.gc-card.has-fig .gc-in{padding:0 14px 16px}.gc-n.gc-dot{margin:0 0 0 2px}}
/* Checkbox lists (the first-model-visit checklist) */
.gc ul.check{list-style:none;padding:0;margin:6px 0 14px}
.gc ul.check li{display:flex;gap:12px;align-items:flex-start;margin:8px 0}
.gc ul.check .box{flex:none;width:18px;height:18px;border:2px solid var(--ink);border-radius:5px;margin-top:4px;background:#fff}
.gc ul.check label{display:flex;gap:12px;align-items:flex-start;cursor:pointer}
.gc ul.check input{-webkit-appearance:none;appearance:none;flex:none;display:grid;place-content:center;width:20px;height:20px;border:2px solid var(--ink);border-radius:5px;margin:3px 0 0;background:#fff;cursor:pointer}
.gc ul.check input:checked{background:var(--ink)}
.gc ul.check input:checked::after{content:"";width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:translateY(-1px) rotate(45deg)}
.gc ul.check input:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.gc ul.check input:checked+span{text-decoration:line-through;opacity:.6}
