/* Blog post template (2026-11-12). Loaded after insights.css (reuses its cards, deco rings and closing band); prefix po-. */

/* ---------- 1. head ---------- */
.po-nw{white-space:nowrap}
.po-hero{position:relative;isolation:isolate;overflow:hidden;margin:0 max(15px,calc((100% - 1770px) / 2));border-radius:30px;background:#5626c4;color:#fff}
.po-hero-in{max-width:1180px;padding:48px 0 230px}
.po-crumbs ol{display:flex;flex-wrap:wrap;gap:4px 0;font-size:14px;line-height:20px;color:rgba(255,255,255,.82)}
.po-crumbs li + li::before{content:"/";margin:0 10px;color:rgba(255,255,255,.5)}
.po-crumbs a{color:#fff;text-underline-offset:3px}
.po-crumbs [aria-current]{max-width:42ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.po-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:40px;font-size:14px;line-height:20px;font-weight:600}
.po-meta span:first-child{padding:5px 14px;border:1px solid rgba(255,255,255,.45);border-radius:60px}
.po-hero h1{max-width:980px;margin-top:20px;font-size:clamp(36px,4.4vw,64px);line-height:1.05;font-weight:800;letter-spacing:-.03em;text-wrap:balance}
.po-lead{max-width:760px;margin-top:22px;font-size:20px;line-height:31px;color:rgba(255,255,255,.92)}
.po-cover{position:relative;z-index:1;max-width:1180px;margin-top:-180px}
.po-cover img{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:28px;background:#e6e2f0;box-shadow:0 34px 70px -34px rgba(31,19,54,.5)}

/* ---------- 2. body ---------- */
.po-layout{display:grid;grid-template-columns:260px minmax(0,720px);justify-content:center;gap:80px;max-width:1180px;padding:72px 0 16px}
.po-side{position:sticky;top:120px;align-self:start}
.po-toc > p{font-size:13px;line-height:18px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5B6170}
.po-toc ol{margin-top:14px;border-left:2px solid #E3E8F2}
.po-toc a{display:block;margin-left:-2px;padding:8px 0 8px 16px;border-left:2px solid transparent;font-size:15px;line-height:21px;color:var(--body-text);text-decoration:none;transition:color .2s,border-color .2s}
.po-toc a:hover{color:var(--maroon);border-left-color:var(--maroon)}
.po-join{margin-top:32px;padding:24px;border-radius:20px;background:#F5F1FC}
.po-join p{margin-bottom:16px;font-size:17px;line-height:24px;font-weight:700}
.po-body{font-size:19px;line-height:32px;color:#3b3f44}
.po-body > * + *{margin-top:22px}
.po-body h2{margin-top:56px;font-size:clamp(26px,2.4vw,34px);line-height:1.2;font-weight:700;letter-spacing:-.01em;color:var(--ink);scroll-margin-top:120px}
.po-body h2:first-child{margin-top:0}
.po-body h3{margin-top:40px;font-size:23px;line-height:30px;font-weight:700;color:var(--ink)}
.po-body h2 + *,.po-body h3 + *{margin-top:16px}
.po-body hr{margin-top:48px;border:0;border-top:1px solid #E3E8F2}
.po-body hr + *{margin-top:48px}
.po-body li{position:relative;padding-left:30px}
.po-body li + li{margin-top:10px}
.po-body ul > li::before{content:"";position:absolute;left:6px;top:12px;width:8px;height:8px;border-radius:50%;background:var(--maroon)}
.po-body ol{list-style:decimal;padding-left:24px}
.po-body ol > li{padding-left:6px}
.po-body strong{font-weight:700;color:var(--ink)}
.po-body a{color:var(--maroon);text-underline-offset:3px}
.po-body blockquote{padding-left:20px;border-left:3px solid var(--maroon);font-size:22px;line-height:34px;color:var(--ink)}

/* ---------- 404 ---------- */
.po-404 .po-hero-in{padding:80px 0 96px}
.po-404 h1{margin-top:16px}
.po-404-links{margin-top:32px}

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .po-hero-in{padding:40px 0 190px}
  .po-cover{margin-top:-150px}
  .po-cover img{aspect-ratio:16/9}
  .po-layout{grid-template-columns:minmax(0,720px);padding-top:56px}
  .po-side{display:none}
}
@media (max-width:767px){
  .po-hero{border-radius:20px}
  .po-hero-in{padding:32px 0 130px}
  .po-crumbs [aria-current]{max-width:24ch}
  .po-meta{margin-top:28px}
  .po-hero h1{font-size:32px;line-height:1.1}
  .po-lead{font-size:17px;line-height:27px}
  .po-cover{margin-top:-100px}
  .po-cover img{border-radius:18px}
  .po-layout{padding-top:40px}
  .po-body{font-size:17px;line-height:29px}
  .po-body h2{margin-top:44px;font-size:24px}
  .po-body h3{margin-top:32px;font-size:20px;line-height:27px}
  .po-body hr,.po-body hr + *{margin-top:36px}
  .po-404 .po-hero-in{padding:52px 0 60px}
}
@media (prefers-reduced-motion:reduce){.po-toc a{transition:none}}

/* ---- 2026-11-16: guide cover = the guide's UI scene on its pastel stage (user: no stock cover photos); same scene as its
   Insights card, drawn larger. Guides without a scene keep their image. ---- */
.po-cover .po-sc{position:relative;inset:auto;aspect-ratio:5/2;border-radius:28px;box-shadow:0 34px 70px -34px rgba(31,19,54,.5)}
.po-cover .in-sc-card{width:min(54%,560px);padding:26px 30px;border-radius:22px;font-size:16px;line-height:22px}
.po-cover .in-sc-h{margin-bottom:14px}
.po-cover .in-sc-h b{font-size:18px;line-height:24px}
.po-cover .in-sc-h span{font-size:14px}
.po-cover .in-sc-bars li{grid-template-columns:130px minmax(0,1fr) 84px;gap:14px;padding:9px 0}
.po-cover .in-sc-bars i{height:10px}
.po-cover .in-sc-rows li{padding:12px 0}
.po-cover .in-sc-rows small{font-size:13px}
.po-cover .in-sc-pill{right:9%;bottom:14%;padding:10px 20px 10px 10px}
.po-cover .in-sc-pill i{width:34px;height:34px}
.po-cover .in-sc-pill b{font-size:15px;line-height:20px}
.po-cover .in-sc-pill small{font-size:13px}
@media (max-width:1024px){.po-cover .po-sc{aspect-ratio:16/9}.po-cover .in-sc-card{width:min(70%,560px)}}
@media (max-width:767px){
  .po-cover .po-sc{aspect-ratio:4/3;border-radius:18px}
  .po-cover .in-sc-card{width:86%;padding:14px 16px;font-size:13px;line-height:18px}
  .po-cover .in-sc-h b{font-size:14px}
  .po-cover .in-sc-bars li{grid-template-columns:84px minmax(0,1fr) 60px;padding:5px 0}
  .po-cover .in-sc-rows li{padding:8px 0}
}

/* 2026-11-16: closing panel restored on guide pages; its card heading uses the light section weight like the other closing panels */
.in-cta-card h2{font-weight:300;letter-spacing:-.01em}

/* ---- 2026-11-16: guide header type = homepage hero type (user: page heroes looked odd). Layout unchanged; the h1 takes
   the homepage hero size, weight and tracking (no lavender split for article titles) and the lead its size and colour. ---- */
.po-hero h1{margin-top:16px;font-size:clamp(40px,4.5vw,66px);line-height:1}
.po-lead{margin-top:24px;font-size:18px;line-height:1.6;color:#F1E8FB}
@media (max-width:767px){.po-hero h1{font-size:36px;line-height:1}.po-lead{margin-top:20px;font-size:17px;line-height:27px}}

/* 2026-11-17: tables inside posts (first used by the beginners guide): rounded card, zebra rows, scrolls sideways on phones */
.po-body table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:separate;border-spacing:0;margin:24px 0;border:1px solid #E4E0FE;border-radius:16px;font-size:16px;line-height:24px}
.po-body thead th{background:#F5F1FC;color:#1F1336;font-weight:700;text-align:left;padding:12px 16px;white-space:nowrap}
.po-body td{padding:10px 16px;border-top:1px solid #EFEBF8;vertical-align:top}
.po-body tbody tr:nth-child(even) td{background:#FBFAFE}
.po-body td:nth-child(3){font-weight:700;color:#5626C4;white-space:nowrap}

/* 2026-11-17 post tables on phones: each row becomes a small card (name + commission on top, niche and "best for" under it) */
@media (max-width:600px){
  .po-body table{display:block;border:0;border-radius:0;overflow:visible;font-size:15px;line-height:22px}
  .po-body thead{display:none}
  .po-body tbody{display:grid;gap:10px}
  .po-body tbody tr{display:grid;grid-template-columns:1fr auto;column-gap:12px;row-gap:2px;padding:12px 14px;border:1px solid #E4E0FE;border-radius:14px;background:#fff}
  .po-body tbody tr:nth-child(even) td{background:none}
  .po-body td{padding:0;border:0}
  .po-body td:nth-child(1){grid-column:1;grid-row:1;font-weight:700}
  .po-body td:nth-child(3){grid-column:2;grid-row:1;text-align:right}
  .po-body td:nth-child(2){grid-column:1/-1;grid-row:2;font-size:14px;color:#6b6f76}
  .po-body td:nth-child(4){grid-column:1/-1;grid-row:3;font-size:14px;color:#6b6f76}
}
