/* Idea collections, comparisons, guides, the idea library hub (/ideas/, /ideas/page-N/) and template pages (/templates/<slug>/)
   in the homepage-S design language (pt1102 phase 2b). These pages carry body.pt-art (so the article reading design in
   articles.css applies as-is: hero, reading column, "On this page", tables, FAQ, sign-up, related cards, sticky bar) plus
   body.pt-idea for the rules below: collection picks, house-ad end card, free-download card, look-inside strip and the hub.
   Loaded only on those pages; CSS only, no markup inside <main> changed. */

/* ---------- hero: buttons sit a calm step below the byline ---------- */
body.pt-idea .article-hero .btn-row{margin-top:28px;gap:10px}
body.pt-idea .article-hero .btn .arr-dn{font-size:14px}

/* ---------- product cards (picks, "Ready to use", shop band): crisp rounded card, rounded image tile, price row on the baseline ---------- */
body.pt-idea:where(:not(.pt-keep)) .product-card{display:flex;flex-direction:column;padding:8px 8px 18px;border-radius:var(--pt-r)}
body.pt-idea:where(:not(.pt-keep)) .product-card .thumb{border-radius:14px;margin-bottom:16px;background:var(--cream)}
body.pt-idea:where(:not(.pt-keep)) .product-card .body{padding:0 10px}
body.pt-idea:where(:not(.pt-keep)) .product-card .card-format{align-self:flex-start;background:var(--gl);color:var(--g);font-size:11px;font-weight:600;letter-spacing:.12em}
body.pt-idea:where(:not(.pt-keep)) .product-card h3{font-size:17px;line-height:1.3;margin:10px 0 6px}
body.pt-idea:where(:not(.pt-keep)) .product-card h3 a{color:var(--ink)}
body.pt-idea:where(:not(.pt-keep)) .product-card .body>p:not(.card-format):not(.small){color:var(--mute);font-size:14px;line-height:1.55;margin:0 0 18px}
body.pt-idea:where(:not(.pt-keep)) .product-card .price-row{font-size:16px;font-weight:650;color:var(--ink);padding-top:14px;border-top:1px solid var(--line2)}
body.pt-idea:where(:not(.pt-keep)) .product-card .price s{color:var(--mute);font-weight:500;font-size:14px;margin-left:2px}
body.pt-idea:where(:not(.pt-keep)) .product-card .badge{box-shadow:none;font-weight:600}
/* template pages: "Ready to use" picks inside the reading column */
body.pt-idea .products .grid-3{gap:12px}
body.pt-idea .products .product-card h3{font-size:16px}

/* ---------- end-of-content house ad: the homepage cream card, image right, buttons on one row ---------- */
body.pt-idea .ha-end{background:var(--cream);border:1px solid var(--line);border-radius:var(--pt-r);box-shadow:none;padding:clamp(18px,2.4vw,28px);max-width:var(--pt-col);margin-top:40px}
body.pt-idea .ha-end h2{font-size:clamp(1.45rem,2vw,1.75rem);line-height:1.15;margin:.35em 0 .3em}
body.pt-idea .ha-end .btn-row{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 10px}
body.pt-idea .ha-end .btn-row .btn{margin:0}
body.pt-idea .ha-end-fig{border-radius:var(--pt-r-sm);background:#fff;border:1px solid var(--line2)}
@media (min-width:640px){body.pt-idea .ha-end{grid-template-columns:minmax(0,1fr) 11rem;gap:24px}}

/* ---------- free download (download-intent collections): cream card, left-aligned like the homepage kit ---------- */
body.pt-idea .free-dl{padding-top:clamp(8px,1vw,16px);padding-bottom:clamp(20px,2.5vw,36px)}
body.pt-idea .free-dl-card{background:var(--cream);border:1px solid var(--line);border-radius:24px;box-shadow:none;text-align:left;max-width:none;margin:0;padding:clamp(24px,3.5vw,44px)}
body.pt-idea .free-dl-card h2{font-size:clamp(1.6rem,2.4vw,2.15rem);line-height:1.12;margin:.6em 0 .35em;max-width:40rem}
body.pt-idea .free-dl-card p{margin-left:0;margin-right:0;color:var(--mute);font-size:16px;line-height:1.6}
body.pt-idea .free-dl-card .btn-row{justify-content:flex-start;gap:10px}
body.pt-idea .free-dl-card .chip{box-shadow:none;border-color:var(--line);font-weight:500;font-size:13px}
body.pt-idea .free-dl-card .chip .dot{background:var(--gl);color:var(--g)}
body.pt-idea .free-dl-card .small{font-size:13px}
@media (min-width:901px){
  /* wide screens: heading left, copy right, then the button row across the full card (long email-button labels stay on one line,
     so the site.js label fit never re-wraps them after the web font loads) */
  body.pt-idea .free-dl-card{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);column-gap:clamp(40px,5vw,72px);align-items:start}
  body.pt-idea .free-dl-card>*{grid-column:1/-1}
  body.pt-idea .free-dl-card>.chip{grid-column:1;grid-row:1;justify-self:start;align-self:start;margin:0}
  body.pt-idea .free-dl-card>h2{grid-column:1;grid-row:1;align-self:start;margin:52px 0 0}
  body.pt-idea .free-dl-card>p:not(.chip):not(.small){grid-column:2;grid-row:1;margin:0}
  body.pt-idea .free-dl-card .btn-row{margin:28px 0 0}
  body.pt-idea .free-dl-card>.small{margin:12px 0 0}
}

/* ---------- template pages: look-inside strip, feature image, pin ---------- */
body.pt-idea .look-inside{padding-top:clamp(36px,4.5vw,64px);padding-bottom:clamp(16px,2vw,28px);background:linear-gradient(var(--line2),var(--line2)) 50% 0/calc(100% - 2 * var(--hs-gut)) 1px no-repeat}
body.pt-idea .look-inside .section-head{margin-bottom:24px;gap:24px}
body.pt-idea .look-inside .section-head h2{font-size:clamp(1.75rem,2.7vw,2.4rem);line-height:1.1;margin:.25em 0 0}
body.pt-idea .look-inside .li-note{max-width:24rem;color:var(--mute);font-size:14px;margin:0}
body.pt-idea .li-strip{gap:16px}
body.pt-idea .li-item img{border-radius:14px;border-color:var(--line)}
body.pt-idea .li-item:hover img{transform:none;box-shadow:none;border-color:var(--gm)}
body.pt-idea .li-item span{font-size:13px;font-weight:500;color:var(--mute)}
body.pt-idea .tpl-feature img{border-radius:var(--pt-r-sm)!important;border-color:var(--line)!important}
body.pt-idea .tpl-feature figcaption,body.pt-idea .tpl-pin figcaption{color:var(--mute);font-size:13px;margin-top:8px}
body.pt-idea .tpl-pin img{border-radius:var(--pt-r-sm)!important;border:1px solid var(--line2)}

/* =========================== idea library hub /ideas/ + /ideas/page-N/ =========================== */
body.pt-idea .page-hero{background:#fff!important;padding:clamp(28px,4vw,56px) 0 clamp(8px,1.5vw,16px);border:0;overflow:visible}
body.pt-idea .page-hero::before,body.pt-idea .page-hero::after{display:none!important}
body.pt-idea .page-hero .crumbs ol{font-size:13px;color:var(--mute);margin:0 0 18px;gap:6px}
body.pt-idea .page-hero .crumbs li+li::before{content:"/";margin-right:6px;opacity:.45}
body.pt-idea .page-hero .crumbs a{color:var(--mute)}
body.pt-idea .page-hero .crumbs a:hover{color:var(--g)}
body.pt-idea .page-hero h1{font-size:clamp(2.3rem,4.4vw,3.6rem);line-height:1.05;margin:12px 0 16px;max-width:none}
body.pt-idea .page-hero h1 .accent{font-family:var(--hs-serif);font-weight:500;color:var(--g)}
body.pt-idea .page-hero .lede{font-size:clamp(1.05rem,1.35vw,1.2rem);line-height:1.55;color:var(--mute);max-width:40rem;margin:0}
body.pt-idea .page-hero .lede a{color:var(--g);text-decoration-color:var(--gm)}
/* one category = one section: serif head on a hairline, "Shop ... ->" link like the homepage section heads */
body.pt-idea .cat-head{margin:clamp(40px,5vw,64px) 0 20px;padding-top:clamp(28px,3vw,40px);border-top:1px solid var(--line2);align-items:end;gap:24px}
body.pt-idea .cat-head h2{font-size:clamp(1.6rem,2.4vw,2.1rem);line-height:1.1}
body.pt-idea .cat-head a.small{display:inline-flex;align-items:center;min-height:44px;margin:-10px 0;font-size:15px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap}
body.pt-idea .cat-head a.small:hover{color:var(--g)}
/* hub cards: white with a hairline (120 per page reads calmer than solid cream), cream on hover; related grids keep the article cream cards */
body.pt-idea .page-hero+.wrap .idea-grid .idea-card{background:#fff;min-height:84px}
body.pt-idea .page-hero+.wrap .idea-grid .idea-card:hover{background:var(--cream)}
/* pager: 44px pills */
body.pt-idea .pager{flex-wrap:wrap;gap:8px;margin:clamp(40px,5vw,56px) 0 0;padding-top:28px;border-top:1px solid var(--line2)}
body.pt-idea .pager a{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:999px;font-weight:600;font-size:15px;color:var(--ink);background:#fff;transition:border-color .2s,background-color .2s}
body.pt-idea .pager a:hover{border-color:var(--g);color:var(--g)}
body.pt-idea .pager a[aria-current]{background:var(--g);border-color:var(--g);color:#fff}
/* sign-up + shop band: one homepage section gap, not two */
body.pt-idea .page-hero~.wrap.section:has(.hb-signup-wrap){padding-top:clamp(56px,7vw,96px);padding-bottom:0}
body.pt-idea:where(:not(.pt-keep)) .page-hero~.hub-copy+.wrap.section:has(.hb-signup-wrap){padding-top:clamp(40px,5vw,64px)}
body.pt-idea:where(:not(.pt-keep)) .hub-copy .faq-wrap{max-width:var(--pt-col)}

/* narrow cards (4-up at 1001-1200px, the 3-up template column, the hub shop band): a real crossed-out price stacks under the price,
   so the cart + Buy controls never drop to a second line */
@media (max-width:1200px){
  body.pt-idea:where(:not(.pt-keep)) .product-card .price-row{flex-wrap:nowrap}
  body.pt-idea:where(:not(.pt-keep)) .product-card .price{display:flex;flex-direction:column;line-height:1.2}
  body.pt-idea:where(:not(.pt-keep)) .product-card .price s{margin:0;font-size:12.5px}
}
body.pt-idea .products .product-card .price-row{flex-wrap:nowrap}
body.pt-idea .products .product-card .price{display:flex;flex-direction:column;line-height:1.2}
body.pt-idea .products .product-card .price s{margin:0;font-size:12.5px}
@media (max-width:760px){
  body.pt-idea .look-inside .section-head{flex-direction:column;align-items:flex-start;gap:8px}
}
@media (max-width:560px){
  body.pt-idea .page-hero{padding-top:20px}
  body.pt-idea .page-hero h1{font-size:2.1rem;line-height:1.08}
  body.pt-idea .cat-head{flex-wrap:wrap;row-gap:0}
  body.pt-idea .page-hero+.wrap .idea-grid .idea-card{min-height:0}
  body.pt-idea .ha-end-fig{max-width:11rem}
  /* product cards on phones: compact rows (image tile left, name + price right) instead of four full-screen cards; the blurb
     steps aside like it does on the shop grid */
  body.pt-idea:where(:not(.pt-keep)) .product-card{display:grid;grid-template-columns:104px minmax(0,1fr);column-gap:14px;align-items:start;padding:10px 12px 10px 10px;border-radius:18px}
  body.pt-idea:where(:not(.pt-keep)) .product-card .thumb{margin:0;border-radius:12px}
  body.pt-idea:where(:not(.pt-keep)) .product-card .badge{font-size:10px;padding:2px 7px;top:5px;right:5px;left:auto}
  body.pt-idea:where(:not(.pt-keep)) .product-card .body{padding:2px 0 0}
  body.pt-idea:where(:not(.pt-keep)) .product-card .card-format{font-size:10px;padding:3px 8px}
  body.pt-idea:where(:not(.pt-keep)) .product-card h3,body.pt-idea .products .product-card h3{font-size:15.5px;margin:6px 0 0}
  body.pt-idea:where(:not(.pt-keep)) .product-card h3 .card-link{padding:12px 0;margin:-12px 0}
  body.pt-idea:where(:not(.pt-keep)) .product-card .body>p:not(.card-format):not(.small){display:none}
  body.pt-idea:where(:not(.pt-keep)) .product-card .price-row{border-top:0;padding-top:6px;margin-top:4px;font-size:15px}
  body.pt-idea:where(:not(.pt-keep)) .product-card .price-row{flex-wrap:nowrap}
  body.pt-idea:where(:not(.pt-keep)) .product-card .price{display:flex;flex-direction:column;line-height:1.2}
  body.pt-idea:where(:not(.pt-keep)) .product-card .price s{margin:0;font-size:12.5px}
  body.pt-idea .products .grid-3,body.pt-idea .shop-band .grid-4{grid-template-columns:1fr;gap:10px}
  /* hub: two compact cards per row (120 one-per-row cards made a 19,000px page) */
  body.pt-idea .page-hero+.wrap .idea-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  body.pt-idea .page-hero+.wrap .idea-grid .idea-card{padding:12px 12px 14px;border-radius:14px}
  body.pt-idea .page-hero+.wrap .idea-grid .idea-card small{font-size:10px;letter-spacing:.12em;margin-bottom:4px}
  body.pt-idea .page-hero+.wrap .idea-grid .idea-card b{font-size:14.5px;line-height:1.3}
  body.pt-idea .cat-head a.small{margin:-6px 0 -10px}
  body.pt-idea .pager{gap:6px}
  body.pt-idea .pager a{padding:0 8px}
}
/* phones: the offer-box product name gets a 44px hit area without moving the layout */
@media (max-width:820px),(pointer:coarse){body.pt-idea .hx-offer .hx-offer-name a{display:inline-block;padding:10px 0;margin:-10px 0}}
/* hub hero: fixed line boxes above the H1, so the web-font swap cannot nudge the heading (CLS 0) */
body.pt-idea .page-hero .crumbs ol,body.pt-idea .page-hero .crumbs li{line-height:20px}
body.pt-idea .page-hero .eyebrow{line-height:16px;margin:0}

/* sa1104 (t1339u): "Our picks" sits in the reading column right after the short answer */
.picks.picks-in,body.pt-idea .picks.picks-in{margin:clamp(24px,3vw,36px) 0;padding:0;background:none}
.picks-in .picks-h,body.pt-idea .picks-in .picks-h{font-size:clamp(1.5rem,2.2vw,1.75rem);line-height:1.1;margin:0 0 16px;text-wrap:balance}
@media (min-width:640px){body.pt-idea .picks-in .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}body.pt-idea .picks-in .grid-4:has(>:nth-child(3)):not(:has(>:nth-child(4))){grid-template-columns:repeat(3,minmax(0,1fr))}}
/* kpstyle (t1320u): "Our picks" sits in the reading column right after the short answer (the old full-width section rules are gone) */
body.pt-idea .picks-in{margin:clamp(24px,3vw,36px) 0;padding:0}
body.pt-idea .picks-in .picks-h{font-size:clamp(1.5rem,2.2vw,1.75rem);line-height:1.1;margin:0 0 16px;text-wrap:balance}
body.pt-idea .picks-in .grid-4{margin-top:0;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
body.pt-idea .picks-in .grid-4[data-count="1"]{grid-template-columns:minmax(0,26rem)}
@media (min-width:640px){body.pt-idea .picks-in .grid-4[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:639px){body.pt-idea .picks-in .grid-4,body.pt-idea .picks-in .grid-4[data-count]{grid-template-columns:1fr;gap:12px}}

/* kpstyle (t1320u): /tools/* + /guides/ hubs: the calculator keeps its own wrap + the centred ~800px copy column (tools.css/style.css); the reading-column margins must not left-align it */
body.pt-keep .wrap.prose>*{margin-left:auto;margin-right:auto}

@media (min-width:561px){body.pt-keep main{font-size:1.0625rem;line-height:1.65}}
@media (max-width:560px){body.pt-keep main{font-size:1rem;line-height:1.65}}
/* kpstyle: home-s.css + articles.css retint the root tokens on body; the calculators and guide hubs keep the original style.css palette (so tools.css buttons, cards and text read as before) */
body.pt-keep main{--ink:#10231E;--evergreen:#17493B;--fern:#1F6B53;--mint:#E3EFE6;--clay:#B4532A;--paper:#FBF8F3;--linen:#F3EEE6;--muted:#5B6660;--line:#E7E1D7}
body.pt-keep main .page-hero{--ink:#1C2420;--line:#E7E4DE;--muted:#5E6862}
/* kpstyle (t1320u): tools + guide hub H1 = kung pao H1 (same clamp as .article-hero h1) */
body.pt-keep.pt-art main .hx-offer .btn-outline,body.pt-keep .kit-close{color:#10231E}
body.pt-keep .page-hero h1{font-size:clamp(2.1rem,3.7vw,3.4rem);line-height:1.06}
@media (max-width:560px){body.pt-keep .page-hero h1{font-size:2rem;line-height:1.1}}
/* kpstyle (t1320u): comparison H2/H3 = kung pao body headings (.prose h2 clamp 25.6px at 1024, h3 17px), incl. verdict + cmp-* sections */
body.pt-idea .cmp [class*="cmp-"] h2{font-size:clamp(1.6rem,2.3vw,2.05rem);line-height:1.15}
body.pt-idea .cmp [class*="cmp-"] h3{font-size:clamp(1.22rem,1.6vw,1.38rem);line-height:1.3}

/* kpstyle (reading-match): every reading page = the boiled-eggs article. */
/* hero: ideas + comparisons use the article hero grid sizing (660.8 + 256 at 1024) */
@media (min-width:1001px){body.pt-art .article-hero-grid.seo-hero-grid,body.pt-art .article-hero-grid.cmp-hero-grid{grid-template-columns:minmax(0,var(--pt-col)) minmax(var(--pt-aside),1fr);gap:clamp(40px,4vw,56px)}}
@media (max-width:1000px){body.pt-art .article-hero-grid.seo-hero-grid,body.pt-art .article-hero-grid.cmp-hero-grid{grid-template-columns:minmax(0,1fr)}}
body.pt-idea .cmp-hero .crumbs{margin-bottom:0}
body.pt-idea .cmp-hero-grid .cmp-vs{min-width:0}
/* FAQ = plain prose in the article format (h2 + bold run-in question paragraphs) */
body.pt-art .prose.faq-prose{max-width:var(--pt-col);margin:0}
body.pt-idea .hub-copy .prose.faq-prose{max-width:var(--pt-col)}
/* comparison quick verdict = the article short-answer blockquote */
body.pt-idea .cmp-verdict{position:static;overflow:visible;background:#FBF8F3;border:0;border-left:3px solid #1E5B43;border-radius:0;box-shadow:none;padding:18px 22px;margin:0 0 25.6px;font-size:17px;line-height:1.75;color:#1C2420}
body.pt-idea .cmp-verdict::after{display:none}
body.pt-idea .cmp-verdict .cmp-answer{font-size:17px;line-height:1.75;color:#1C2420;margin:0 0 19.55px}
body.pt-idea .cmp-verdict .cmp-picks{gap:8px}
body.pt-idea .cmp-verdict .cmp-picks li,body.pt-idea .cmp-verdict .cmp-picks b,body.pt-idea .cmp-verdict .cmp-pick-why,body.pt-idea .cmp-verdict .cmp-pick-go{font-size:17px;line-height:1.75;color:#1C2420}
body.pt-idea .cmp-verdict .cmp-pick-label{line-height:1.75}
@media (max-width:560px){body.pt-idea .cmp-verdict,body.pt-idea .cmp-verdict .cmp-answer,body.pt-idea .cmp-verdict .cmp-picks li,body.pt-idea .cmp-verdict .cmp-picks b,body.pt-idea .cmp-verdict .cmp-pick-why,body.pt-idea .cmp-verdict .cmp-pick-go{font-size:16.5px}body.pt-idea .cmp-verdict .cmp-answer{margin-bottom:18.975px}}

/* tools + guide hubs: article typography on the reading text (widgets keep their own look) */
body.pt-keep .page-hero h1{margin:0 0 18px;color:#1C2420}
body.pt-keep .page-hero .lede{max-width:608px}
body.pt-keep .page-hero .crumbs ol,body.pt-keep .page-hero .crumbs li{font-size:16px;line-height:25.6px}
@media (min-width:1001px){body.pt-keep .page-hero h1{max-width:660.8px}}
body.pt-keep .wrap.prose>:is(p,h2,h3,ul,ol,.tl-scroll,table,.faq-prose){max-width:672px}
body.pt-keep:not(.th) .prose h2{color:#1C2420}
body.pt-keep:not(.th) .prose h3{color:#1C2420}
body.pt-keep .wrap.prose>:is(ul,ol),body.pt-keep .prose>:is(ul,ol){padding-left:1.4em}
body.pt-keep .prose li{margin:.45em 0;padding-left:.2em}
body.pt-keep:not(.th) .prose p a:not(.btn),body.pt-keep:not(.th) .prose li a:not(.btn){color:#1E5B43;text-decoration-color:#CFE3D6;text-underline-offset:.2em}
body.pt-keep .prose table:not(.cv-month){display:table;width:100%;border-collapse:separate;border-spacing:0;font-size:15px;line-height:1.55;margin:24px 0 27px;border:1px solid #E7E4DE;border-radius:16px;background:#fff}
body.pt-keep .prose table:not(.cv-month) th{background:#FBF8F3;color:#1C2420;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;line-height:1.55;padding:13px 16px;border-bottom:1px solid #E7E4DE}
body.pt-keep .prose table:not(.cv-month) td{font-size:15px;line-height:1.55;padding:13px 16px;border-bottom:1px solid #F0EEEA;color:#2A322E}
body.pt-keep .prose table:not(.cv-month) tr:last-child td{border-bottom:0}
body.pt-keep .prose .tl-scroll{overflow-x:visible}
body.pt-keep .prose .tl-scroll>table{margin:24px 0 27px}
@media (max-width:700px){body.pt-keep .prose table:not(.cv-month){display:block;width:auto;overflow-x:auto}}
body.pt-keep main .crumbs{font-size:16px;line-height:25.6px}
body.pt-keep main .crumbs ol{margin-bottom:0}
body.pt-keep .prose strong{font-weight:650}
body.pt-keep:not(.th) .prose strong{color:#1C2420}
body.pt-keep main .wrap:not(.calc):not(.tl-cat):not(.sticky-inner):not(.calc-answer){padding-left:var(--hs-gut)!important;padding-right:var(--hs-gut)!important}

/* Missing recipe photos reserve no image column or frame. */
body.pt-art .article-hero-grid.seo-hero-grid.recipe-no-photo{grid-template-columns:minmax(0,1fr);gap:0}
/* stepbadge_20261112: same gutter guard for pt-keep pages that load ideas.css without articles.css */
body.pt-keep .prose .steps-light li{padding-left:3.6rem;min-height:3.2rem}
