/* Public page roles: newspaper distributors and section-focused reading pages. */
body.kp-page-hub:not(:has(.kp-hero)) .kp-article-heading{max-width:100%;padding-bottom:24px;margin-bottom:28px;border-bottom:3px double var(--border)}
body.kp-page-hub .kp-article-grid{display:block}
body.kp-page-hub .kp-article-rail,body.kp-page-hub .kp-toc-mobile{display:none}
body.kp-page-hub .kp-article :is(.kp-legacy-content,.kp-components){max-width:none}
body.kp-page-hub .kp-legacy-content :is(.kp-standard-doc-card>div,.kp-standard-doc-content){max-width:none}
body.kp-page-hub .kp-hub-section-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start;margin-top:24px}
body.kp-page-hub .kp-hub-section{min-width:0;padding:20px 0 24px;border-top:3px solid var(--petrol);border-bottom:1px solid var(--border);background:var(--surface)}
body.kp-page-hub .kp-hub-section:first-child{grid-column:span 2}
body.kp-page-hub .kp-hub-section>h2:first-of-type{font-size:26px;margin-top:0}
body.kp-page-hub .kp-hub-section:first-child>h2:first-of-type{font-size:32px}
body.kp-page-hub .kp-hub-section :is(p,li){font-size:17px;line-height:1.65}
body.kp-page-hub .kp-hub-section ul{padding-left:22px}
body.kp-page-hub .kp-hub-section li{padding-block:5px}
body.kp-page-hub .kp-hub-section :is(table,img){max-width:100%}
body.kp-page-detail .kp-article-heading{padding-bottom:24px;margin-bottom:28px;border-bottom:3px double var(--border)}
body.kp-page-detail :is(.kp-toc,.kp-toc-mobile){background:#edf5f5;border:1px solid #bdd7d9;border-left:4px solid var(--petrol);border-radius:0;padding:18px}
body.kp-page-detail .kp-toc{position:sticky;top:24px;max-height:calc(100vh - 48px);overflow:auto}
body.kp-page-detail :is(.kp-toc,.kp-toc-mobile) ol{list-style:none;margin:0;padding:0;counter-reset:toc}
body.kp-page-detail :is(.kp-toc,.kp-toc-mobile) li{padding:0;border-top:1px solid #d0e1e2;counter-increment:toc}
body.kp-page-detail :is(.kp-toc,.kp-toc-mobile) a{display:flex;gap:10px;align-items:baseline;padding:10px 6px;font:600 15px/1.45 Arial,sans-serif;text-decoration:none}
body.kp-page-detail :is(.kp-toc,.kp-toc-mobile) a:before{content:counter(toc,decimal-leading-zero);color:var(--petrol);font-size:12px;flex-shrink:0}
body.kp-page-detail :is(.kp-toc,.kp-toc-mobile) a:hover,body.kp-page-detail :is(.kp-toc,.kp-toc-mobile) a[aria-current="location"]{background:#fff;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
body.kp-page-detail .kp-toc-mobile summary{font-size:16px;line-height:1.5;color:var(--ink)}
body.kp-page-detail .kp-detail-section{margin:0 0 32px;padding-top:24px;border-top:1px solid var(--border);scroll-margin-top:28px}
body.kp-page-detail .kp-detail-section>h2:first-of-type{margin-top:0;padding-left:14px;border-left:3px solid var(--petrol)}
body.kp-page-detail .kp-detail-section>h2:target{background:#edf5f5;padding-top:10px;padding-bottom:10px}
body.kp-page-detail .kp-detail-section :is(figure,img){max-width:100%}
@media(max-width:1000px){body.kp-page-hub .kp-hub-section-group{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body.kp-page-hub .kp-hub-section-group{grid-template-columns:1fr;gap:20px}body.kp-page-hub .kp-hub-section:first-child{grid-column:auto}body.kp-page-hub .kp-hub-section>h2:first-of-type,body.kp-page-hub .kp-hub-section:first-child>h2:first-of-type{font-size:26px}body.kp-page-detail .kp-detail-section{padding-top:20px;margin-bottom:28px}}
@media print{body.kp-page-detail .kp-toc,body.kp-page-detail .kp-toc-mobile{display:none}body.kp-page-hub .kp-hub-section-group{display:block}}

/* A small topical hub linked from home and the independent guide index. */
.kp-types-tile{display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:28px;align-items:center;margin:28px 0 36px;padding:24px;border:1px solid var(--border);border-top:3px solid var(--petrol);background:#edf5f5}
.kp-home-advice>.kp-types-tile{margin:32px}
.kp-types-tile figure{margin:0;min-width:0}.kp-types-tile img{display:block;width:100%;height:auto;aspect-ratio:400/267;object-fit:cover}.kp-types-tile figcaption{font:11px/1.5 Arial,sans-serif;color:#526b75;padding-top:5px}
.kp-types-tile>div{min-width:0}.kp-types-tile h2{font-size:29px;line-height:1.2;margin:0 0 16px}.kp-types-tile h2 a{color:var(--ink);text-decoration:none}.kp-types-tile h2 a:hover{text-decoration:underline}.kp-types-tile p:last-child{font-size:17px;line-height:1.6;margin:0;color:#315563}
@media(max-width:650px){.kp-types-tile{grid-template-columns:1fr;gap:20px;padding:20px}.kp-home-advice>.kp-types-tile{margin:24px 20px}.kp-types-tile h2{font-size:26px}}

/* Whole reading rail follows the article; the next block remains in normal flow. */
body.kp-page-detail .kp-article-rail{position:sticky;top:24px;align-self:start;max-height:calc(100vh - 48px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
body.kp-page-detail .kp-article-rail>.kp-toc{position:static;max-height:none;overflow:visible}

.kp-magazine-grid>.kp-magazine-seasonal{grid-column:1/-1;padding:24px;background:var(--teal);border-top:1px solid var(--border)}
.kp-magazine-seasonal .kp-magazine-links{display:flex;gap:24px;flex-wrap:wrap}.kp-magazine-seasonal .kp-magazine-links li+li{border:0}

/* Scoped advisory imagery, Markus54311. */
.kp-advice-photo{margin:0 0 1.6rem;max-width:100%}.kp-advice-photo img{display:block;width:100%;max-width:100%;height:auto;border-radius:6px}.kp-advice-photo figcaption{font-size:.86rem;line-height:1.45;color:#52616b;margin-top:.45rem}
