/* Viselumo blog. Reuses the site tokens (brand, radius, type) and adds editorial layout. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --brand: #E8442A; --brand-light: #FEF0EE; --brand-dark: #C13A22;
  --text-primary: #111111; --text-secondary: #555555; --text-muted: #6B6B6B;
  --bg-primary: #ffffff; --bg-secondary: #F7F7F5;
  --border: rgba(0,0,0,0.09); --border-md: rgba(0,0,0,0.14);
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 24px; --radius-pill: 50px;
  --link: #C13A22;   /* brand-dark keeps 5.4:1 contrast on white for body links */
}
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.5; -webkit-font-smoothing: antialiased; }
@media (min-width: 761px) { body { zoom: 1.25; } }   /* same scale as the rest of the site */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid rgba(232,68,42,0.45); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--text-primary); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 100; font-size: 14px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* NAV (matches the main site) */
nav.site-nav { display: flex; align-items: center; justify-content: space-between; padding: 20px max(40px, calc((100% - 1100px) / 2 + 40px)); border-bottom: 1px solid var(--border); width: 100%; background: var(--bg-primary); }
.logo { text-decoration: none; color: inherit; display: inline-flex; }
.logo .logo-wm { height: 34px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; color: var(--text-secondary); text-decoration: none; white-space: nowrap; }
.nav-links a:hover { color: var(--text-primary); }
.nav-links a[aria-current="page"] { font-weight: 600; color: var(--text-primary); }
.nav-links a.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border-radius: var(--radius-pill); padding: 12px 22px 12px 24px; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.nav-links a.nav-cta:hover { color: #fff; background: var(--brand-dark); transform: translateY(-1px); }
@media (max-width: 540px) {
  nav.site-nav { padding: 14px 16px; }
  .logo .logo-wm { height: 21px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 13px; }
  .nav-links a:not([aria-current="page"]):not(.nav-cta) { display: none; }
  .nav-links a.nav-cta { padding: 9px 14px; }
  .nav-cta svg, .nav-cta-x { display: none; }
}

/* LAYOUT */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }

/* BREADCRUMB */
.crumbs { font-size: 13px; color: var(--text-muted); padding: 28px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: #B5B5B1; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text-primary); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--text-primary); }

/* CHIPS */
.series-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--brand-dark); background: var(--brand-light); padding: 6px 12px; border-radius: var(--radius-pill); }
.series-label .num { background: var(--brand-dark); color: #fff; border-radius: var(--radius-pill); padding: 1px 8px; letter-spacing: 0.4px; }
.category { font-size: 12px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--brand-dark); }

/* ARTICLE HEADER */
.post-hero { max-width: 780px; margin: 0 auto; padding: 40px 0 8px; text-align: center; }
.post-hero .chips { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; align-items: center; margin-bottom: 20px; }
.post-hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -1.2px; font-weight: 600; text-wrap: balance; margin-bottom: 18px; }
.post-hero .excerpt { font-size: 18px; line-height: 1.6; color: var(--text-secondary); max-width: 640px; margin: 0 auto 24px; }
.meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 14px; color: var(--text-muted); }
.meta strong { color: var(--text-primary); font-weight: 600; }
.meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #C9C9C5; margin-right: 18px; vertical-align: middle; }
.hero-art { max-width: 920px; margin: 36px auto 0; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 24px 48px -28px rgba(193,58,34,0.35); background: var(--brand-light); }
.hero-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 760px) { .hero-art { border-radius: var(--radius-lg); margin-top: 28px; } .post-hero { padding-top: 28px; } .meta span + span::before { display: none; } }

/* ARTICLE + TOC */
.post-layout { max-width: 760px; margin: 48px auto 0; }
.toc { margin-bottom: 36px; }
.toc details { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-md); }
.toc summary { cursor: pointer; padding: 14px 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-primary); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text-secondary); border-bottom: 2px solid var(--text-secondary); transform: rotate(45deg); transition: transform .15s; margin-right: 4px; }
.toc details[open] summary::after { transform: rotate(-135deg); }
.toc ol { list-style: none; padding: 0 18px 14px; }
.toc li a { display: block; padding: 7px 0 7px 12px; font-size: 14px; line-height: 1.4; color: var(--text-secondary); text-decoration: none; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--text-primary); }
.toc li a[aria-current="true"] { color: var(--brand-dark); font-weight: 600; border-left-color: var(--brand); }
@media (min-width: 1180px) {
  .post-layout { max-width: 960px; display: grid; grid-template-columns: 210px minmax(0, 680px); gap: 50px; align-items: start; }
  .toc { position: sticky; top: 96px; margin: 0; }
  .toc details { background: none; border: 0; border-radius: 0; }
  .toc summary { cursor: default; pointer-events: none; padding: 0 0 12px 12px; }
  .toc summary::after { display: none; }
  .toc ol { padding: 0; border-left: 1px solid var(--border); }
  .toc li a { margin-left: -1px; }
}

/* PROSE */
.prose { font-size: 17px; line-height: 1.75; color: #222; min-width: 0; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.6px; font-weight: 600; color: var(--text-primary); margin-top: 2.4em; scroll-margin-top: 88px; }
.prose h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.2px; font-weight: 600; color: var(--text-primary); margin-top: 1.9em; scroll-margin-top: 88px; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose h2 .anchor, .prose h3 .anchor { margin-left: 8px; font-weight: 400; color: #B5B5B1; text-decoration: none; opacity: 0; transition: opacity .15s; }
.prose h2:hover .anchor, .prose h3:hover .anchor, .prose .anchor:focus-visible { opacity: 1; }
.prose a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--brand); }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2.4em 0; }
.prose p.query { font-size: 18px; font-style: italic; color: var(--text-primary); background: var(--brand-light); border-left: 4px solid var(--brand); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: 16px 20px; line-height: 1.55; }
.prose p.lead-in { margin-top: 1.7em; margin-bottom: -0.45em; font-size: 16px; color: var(--text-primary); }
.prose p.lead-in + p { margin-top: 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border-md); border-radius: var(--radius-md); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 560px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.table-wrap thead th { background: var(--bg-secondary); font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-primary); }
.table-wrap thead th:last-child { color: var(--brand-dark); }
.table-wrap tbody th { font-weight: 600; color: var(--text-primary); background: #FCFCFB; white-space: nowrap; }
.table-wrap tbody tr:last-child th, .table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap:focus-visible { outline-offset: 2px; }
.prose .sr-hint { font-size: 13px; color: var(--text-muted); }

/* SHARE */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.share-label { font-size: 14px; font-weight: 600; margin-right: 6px; }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; min-width: 40px; padding: 0 14px; font: inherit; font-size: 14px; font-weight: 500; color: var(--text-primary); background: #fff; border: 1px solid var(--border-md); border-radius: var(--radius-pill); text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s; }
.share a:hover, .share button:hover { border-color: var(--text-primary); background: var(--bg-secondary); }
.share svg { flex-shrink: 0; }
.share .live { font-size: 13px; color: var(--text-muted); }

/* SERIES BOX */
.series-box { margin-top: 36px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-secondary); font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.series-box h2 { margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-primary); line-height: 1.3; }
.series-box .next { margin-top: 12px; color: var(--text-primary); }
.series-box .next span { color: var(--text-muted); }

/* CTA */
.cta-block { margin-top: 36px; padding: 36px; border-radius: var(--radius-xl); background: var(--brand-light); border: 1px solid rgba(232,68,42,0.18); display: grid; gap: 10px; justify-items: start; }
.cta-block h2 { font-size: 24px; letter-spacing: -0.5px; line-height: 1.2; font-weight: 600; }
.cta-block p { font-size: 16px; line-height: 1.65; color: var(--text-secondary); max-width: 560px; }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 14px 24px; border-radius: var(--radius-pill); background: linear-gradient(135deg, #D4402A 0%, #C13A22 100%); color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(193,58,34,0.3), 0 10px 24px -10px rgba(232,68,42,0.6); transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn svg { transition: transform .18s ease; } .btn:hover svg { transform: translateX(3px); }
@media (max-width: 540px) { .cta-block { padding: 26px 20px; } .btn { width: 100%; justify-content: center; } }

/* RELATED */
.related { max-width: 1100px; margin: 72px auto 0; }
.related > h2 { font-size: 22px; letter-spacing: -0.4px; margin-bottom: 20px; }

/* LISTING */
.blog-hero { max-width: 760px; margin: 0 auto; padding: 56px 0 8px; text-align: center; }
.blog-hero .eyebrow { display: inline-block; margin-bottom: 16px; }
.blog-hero h1 { font-size: clamp(32px, 5.4vw, 52px); line-height: 1.08; letter-spacing: -1.4px; font-weight: 600; text-wrap: balance; margin-bottom: 18px; }
.blog-hero p { font-size: 18px; line-height: 1.6; color: var(--text-secondary); }
.section-title { font-size: 13px; font-weight: 700; letter-spacing: 0.7px; text-transform: uppercase; color: var(--text-muted); margin: 48px 0 16px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); border-color: var(--border-md); box-shadow: 0 22px 40px -26px rgba(17,17,17,0.35); }
.card:focus-within { border-color: var(--brand); }
.card-img { background: var(--brand-light); }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h2, .card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.4px; font-weight: 600; }
.card h2 a, .card h3 a { text-decoration: none; color: var(--text-primary); }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.card p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.card .foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; font-size: 13px; color: var(--text-muted); }
.card .read { font-size: 14px; font-weight: 600; color: var(--link); display: inline-flex; align-items: center; gap: 6px; }
.card:hover .read svg { transform: translateX(3px); } .read svg { transition: transform .18s ease; }
.card.featured { flex-direction: row; }
.card.featured .card-img { flex: 1.15; }
.card.featured .card-img img { height: 100%; aspect-ratio: auto; min-height: 280px; }
.card.featured .card-body { flex: 1; padding: 36px; justify-content: center; }
.card.featured h2 { font-size: 30px; letter-spacing: -0.8px; }
.card.featured p { font-size: 16px; }
@media (max-width: 860px) { .card.featured { flex-direction: column; } .card.featured .card-img img { aspect-ratio: 16 / 9; min-height: 0; } .card.featured .card-body { padding: 24px; } .card.featured h2 { font-size: 24px; } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.empty { text-align: center; padding: 64px 20px; color: var(--text-secondary); border: 1px dashed var(--border-md); border-radius: var(--radius-xl); margin-top: 48px; }

/* FOOTER (matches the main site) */
footer.site-footer { text-align: center; padding: 40px 20px; margin-top: 88px; color: var(--text-muted); font-size: 13px; border-top: 1px solid var(--border); }
footer.site-footer a { color: var(--text-secondary); text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
footer.site-footer .logo-wm { height: 32px; width: auto; display: inline-block; margin-bottom: 10px; }
footer.site-footer p + p { margin-top: 8px; }
@media print { nav.site-nav, .share, .cta-block, .toc, footer.site-footer { display: none; } body { zoom: 1; } }

/* motion.css makes every <nav> sticky with a white blur; keep breadcrumbs and TOC out of that */
nav.crumbs { position: static; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: auto; }
nav.toc { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 1; }
@media (max-width: 1179px) { nav.toc { position: static; } }

/* ---- Match the rest of viselumo.com: 1000px page width, 40px gutters, left aligned heroes ---- */
.wrap { max-width: 1000px; padding: 0 40px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }
.logo .logo-wm { height: 34px; }
.nav-links a.nav-cta { line-height: 1; font-size: 14px; letter-spacing: -0.1px; box-shadow: 0 1px 2px rgba(193,58,34,0.35), 0 6px 16px -6px rgba(232,68,42,0.55); }
footer.site-footer { margin-top: 72px; padding: 40px; }

/* hero blocks: same scale and alignment as the Examples page */
.blog-hero { max-width: none; padding: 40px 0 0; text-align: left; }
.blog-hero .eyebrow { background: none; padding: 0; border-radius: 0; font-size: 12px; letter-spacing: 1.4px; color: var(--brand); margin-bottom: 12px; }
.blog-hero h1 { font-size: 44px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 16px; text-wrap: balance; }
.blog-hero p { font-size: 17px; line-height: 1.65; max-width: 620px; }
.post-hero { max-width: none; text-align: left; padding: 32px 0 0; }
.post-hero .chips { justify-content: flex-start; }
.post-hero h1 { font-size: 40px; font-weight: 600; letter-spacing: -1.4px; line-height: 1.12; max-width: 760px; text-wrap: balance; }
.post-hero .excerpt { max-width: 620px; margin: 0 0 20px; font-size: 17px; line-height: 1.65; }
.meta { justify-content: flex-start; }
.hero-art { max-width: none; }
@media (min-width: 1180px) { .post-layout { max-width: none; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; } .prose, .share, .series-box, .cta-block { max-width: 680px; } }
@media (max-width: 720px) { .blog-hero h1 { font-size: 32px; letter-spacing: -1px; } .post-hero h1 { font-size: 30px; letter-spacing: -1px; } }
.post .crumbs { max-width: none; }

/* centered headers */
.blog-hero, .post-hero { text-align: center; }
.blog-hero h1, .post-hero h1, .blog-hero p, .post-hero .excerpt { margin-left: auto; margin-right: auto; }
.post-hero .chips, .meta { justify-content: center; }
.blog-hero .eyebrow { display: block; }
.crumbs ol { justify-content: flex-start; }
.hero-art img, .card-img img { aspect-ratio: 16 / 9; }
.card.featured .card-img img { aspect-ratio: auto; }
@media (max-width: 860px) { .card.featured .card-img img { aspect-ratio: 16 / 9; } }
/* featured card: show the whole image, text underneath */
.card.featured { flex-direction: column; }
.card.featured .card-img { flex: none; }
.card.featured .card-img img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
.card.featured .card-body { padding: 28px 32px 30px; }
.card.featured h2 { font-size: 28px; }
@media (max-width: 720px) { .card.featured .card-body { padding: 22px; } .card.featured h2 { font-size: 24px; } }

/* ---- Article hero: split layout (copy left, supplied visual right) ---- */
.post-hero.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; align-items: center; text-align: left; padding: 24px 0 8px; }
.post-hero.split .chips { justify-content: flex-start; margin-bottom: 22px; }
.post-hero.split h1 { max-width: none; margin: 0 0 18px; font-size: inherit; letter-spacing: 0; line-height: 1; }
.h1-big { display: block; font-size: clamp(40px, 5.2vw, 60px); font-weight: 800; letter-spacing: -2.4px; line-height: 1.02; color: var(--text-primary); }
.h1-big .accent { background: linear-gradient(90deg, #E8442A, #F29A2E); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-bottom: 0.08em; }
.h1-sub { display: block; margin-top: 14px; font-size: 20px; font-weight: 500; letter-spacing: -0.3px; line-height: 1.3; color: var(--text-secondary); }
.post-hero.split .excerpt { margin: 0 0 22px; max-width: 460px; font-size: 16px; }
.post-hero.split .meta { justify-content: flex-start; align-items: center; gap: 12px; padding: 18px 0 0; border-top: 1px solid var(--border); border-bottom: 0; }
.post-hero.split .meta span + span::before { display: none; }
.meta .avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: var(--brand); display: inline-flex; }
.meta .avatar img { width: 100%; height: 100%; }
.meta .by { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; }
.meta .by strong { font-size: 15px; }
.hero-visual { margin: 0; }
@media (max-width: 860px) {
  .post-hero.split { grid-template-columns: 1fr; gap: 12px; }
  .post-hero.split .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .h1-big { font-size: 38px; letter-spacing: -1.6px; }
  .h1-sub { font-size: 18px; }
}
@media (max-width: 760px) { .post-hero.split .meta span + span::before { display: none; } }

/* ---- Calmer hero and listing (less visual weight) ---- */
.post-hero.split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 40px; padding: 12px 0 0; }
.post-hero.split .chips { gap: 8px 10px; margin-bottom: 16px; }
.post-hero.split .series-label { background: none; padding: 0; font-size: 11.5px; letter-spacing: 1.2px; }
.post-hero.split .series-label .num { background: none; color: var(--brand-dark); padding: 0; }
.post-hero.split .series-label .num::before { content: "· "; }
.post-hero.split .category { display: none; }
.h1-big { font-size: clamp(34px, 4.2vw, 48px); font-weight: 700; letter-spacing: -1.8px; line-height: 1.05; }
.h1-sub { font-size: 17px; font-weight: 400; margin-top: 10px; letter-spacing: -0.1px; }
.post-hero.split h1 { margin-bottom: 14px; }
.post-hero.split .excerpt { font-size: 15px; line-height: 1.6; max-width: 420px; margin-bottom: 20px; color: var(--text-muted); }
.post-hero.split .meta { border-top: 0; padding-top: 0; gap: 10px; }
.meta .avatar { width: 32px; height: 32px; }
.meta .by strong { font-size: 14px; }
.meta .by { font-size: 12.5px; }
@media (max-width: 860px) { .h1-big { font-size: 34px; letter-spacing: -1.2px; } }

.card { box-shadow: none; }
.section-title { margin-top: 40px; }
@media (max-width: 860px) {
  .post-hero.split { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .post-hero.split .hero-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .post-hero.split .excerpt { max-width: none; }
}

/* ---- Hero visual: photo slot + HTML overlays (sizes scale with the container) ---- */
.hero-visual { position: relative; margin: 0; container-type: inline-size; aspect-ratio: 1300 / 1255; width: 100%; max-width: 560px; margin-left: auto; }
.hv-frame { position: absolute; left: 9.8%; top: 6.6%; width: 83.7%; height: 86.6%; border-radius: 3.1cqw; overflow: hidden; background: #E6DFD8; box-shadow: 0 3cqw 6cqw -2cqw rgba(120,50,30,.28); }
.hv-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-ring { position: absolute; left: 83.6%; top: 0.7%; width: 15.8%; aspect-ratio: 1; border-radius: 50%; border: 1.7cqw solid #E8442A; }
.hv-dot { position: absolute; left: 79.4%; top: 16%; width: 2cqw; aspect-ratio: 1; border-radius: 50%; background: #F29A2E; }
.hv-card { position: absolute; background: #fff; border-radius: 2.6cqw; box-shadow: 0 2cqw 5cqw -2cqw rgba(17,17,17,.28); color: var(--text-primary); }
.hv-label { display: flex; align-items: center; gap: 0.9cqw; font-size: 1.25cqw; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin: 0; }
.hv-answer .hv-label { color: var(--brand-dark); }
.hv-label i { width: 0.8cqw; aspect-ratio: 1; border-radius: 50%; background: var(--brand); }
.hv-check { left: 1.3%; top: 70.1%; width: 29.2%; padding: 2.1cqw 2.1cqw 1.2cqw; }
.hv-check ul { list-style: none; margin: 1.2cqw 0 0; padding: 0; }
.hv-check li { display: flex; align-items: center; gap: 1.2cqw; font-size: 1.7cqw; font-weight: 600; padding: 1.1cqw 0; border-top: 1px solid rgba(0,0,0,.07); }
.hv-check li:first-child { border-top: 0; }
.hv-check svg { width: 2.2cqw; height: 2.2cqw; flex: none; }
.hv-answer { left: 46.4%; top: 61.8%; width: 43.7%; padding: 2cqw; }
.hv-q { margin: 1.4cqw 0 0 auto; width: fit-content; max-width: 100%; background: #111; color: #fff; font-size: 1.7cqw; font-weight: 500; padding: 1.1cqw 1.6cqw; border-radius: 2cqw; }
.hv-res { margin-top: 1.5cqw; background: var(--bg-secondary); border-radius: 1.8cqw; padding: 1.4cqw; }
.hv-res p { margin: 0 0 1cqw; font-size: 1.4cqw; color: var(--text-secondary); }
.hv-pick { display: flex; align-items: center; gap: 1cqw; background: #fff; border: 0.16cqw solid var(--brand); border-radius: 1.3cqw; padding: 1.1cqw 1.2cqw; }
.hv-pick svg { width: 1.9cqw; height: 1.9cqw; flex: none; }
.hv-pick b { font-size: 1.7cqw; font-weight: 600; }
.hv-pick em { margin-left: auto; font-style: normal; font-size: 1.15cqw; font-weight: 700; color: var(--brand-dark); background: var(--brand-light); padding: 0.5cqw 1.1cqw; border-radius: 99px; }
.hv-comp { display: flex; align-items: center; gap: 1cqw; margin-top: 1cqw; padding: 0 1.2cqw; font-size: 1.55cqw; color: var(--text-muted); }
.hv-comp i { width: 1.9cqw; aspect-ratio: 1; border-radius: 50%; background: #DDDDD9; }
@media (max-width: 860px) { .hero-visual { max-width: 380px; margin: 0 auto; } }

/* ---- Hero share row ---- */
.hero-share { display: flex; align-items: center; gap: 8px; margin-top: 18px; }
.hs-label { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); margin-right: 4px; }
.hero-share a, .hero-share button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid var(--border-md); background: #fff; color: var(--text-secondary); cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.hero-share a:hover, .hero-share button:hover { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-light); }
.hero-share svg { width: 16px; height: 16px; }
.hs-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #111; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; }
.copy-link.show-tip .hs-tip { opacity: 1; }
@media (max-width: 860px) { .hero-share { justify-content: flex-start; } }

/* ---- Podcast player (compact) ---- */
.podcast { margin: 28px 0 4px; padding: 14px 18px; background: #fff; border: 1px solid var(--border-md); border-radius: var(--radius-lg); box-shadow: 0 14px 30px -26px rgba(193,58,34,.5); transition: border-color .2s, box-shadow .2s; }
.podcast.playing { border-color: rgba(232,68,42,.45); box-shadow: 0 14px 34px -24px rgba(232,68,42,.55); }
.pod-fallback { display: grid; gap: 4px; }
.pod-fallback[hidden], .pod-ui[hidden] { display: none; }
.pod-audio { width: 100%; margin-top: 8px; }
.pod-ui { display: flex; align-items: center; gap: 14px; }
.pod-body { flex: 1; min-width: 0; }
.pod-line { display: flex; align-items: baseline; gap: 10px; margin: 0; min-width: 0; }
.pod-kicker { font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--brand-dark); margin: 0; white-space: nowrap; flex: none; }
.pod-title { font-size: 15px; font-weight: 600; letter-spacing: -0.15px; line-height: 1.3; margin: 0; color: var(--text-primary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pod-track { display: flex; align-items: center; gap: 10px; margin-top: 2px; font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.pod-cur, .pod-dur { flex: none; min-width: 34px; }
.pod-dur { text-align: right; }
.pod-seek { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 20px; background: transparent; cursor: pointer; --p: 0%; margin: 0; }
.pod-seek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, #E8442A var(--p), rgba(0,0,0,.09) var(--p)); }
.pod-seek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(0,0,0,.09); }
.pod-seek::-moz-range-progress { height: 4px; border-radius: 4px; background: #E8442A; }
.pod-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: #E8442A; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); transition: transform .12s; }
.pod-seek::-moz-range-thumb { width: 8px; height: 8px; border-radius: 50%; background: #E8442A; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.pod-seek:hover::-webkit-slider-thumb, .pod-seek:focus-visible::-webkit-slider-thumb { transform: scale(1.3); }
.pod-seek:focus-visible { outline: 2px solid rgba(232,68,42,.45); outline-offset: 3px; border-radius: 6px; }
.pod-play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; box-shadow: 0 8px 16px -8px rgba(232,68,42,.8); transition: background .15s, transform .15s; }
.pod-play:hover { background: var(--brand-dark); transform: scale(1.05); }
.pod-play svg { width: 20px; height: 20px; }
.pod-play .ic-play { margin-left: 2px; }
.pod-play .ic-pause, .podcast.playing .pod-play .ic-play { display: none; }
.podcast.playing .pod-play .ic-pause { display: block; }
.pod-side { display: flex; align-items: center; gap: 2px; flex: none; }
.pod-skip { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--text-secondary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: color .15s, background .15s; }
.pod-skip svg { width: 24px; height: 24px; }
.pod-skip b { position: absolute; font-size: 7.5px; font-weight: 700; top: 50%; left: 50%; transform: translate(-50%, -42%); }
.pod-skip:hover { color: var(--brand-dark); background: var(--brand-light); }
.pod-speed { height: 28px; min-width: 42px; margin-left: 6px; padding: 0 10px; border-radius: 99px; border: 1px solid var(--border-md); background: #fff; color: var(--text-secondary); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: color .15s, border-color .15s, background .15s; }
.pod-speed:hover { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-light); }
.pod-play:focus-visible, .pod-skip:focus-visible, .pod-speed:focus-visible { outline: 3px solid rgba(232,68,42,.35); outline-offset: 2px; }
@media (max-width: 640px) {
  .podcast { padding: 12px 14px; }
  .pod-ui { gap: 12px; }
  .pod-skip { display: none; }
  .pod-speed { margin-left: 0; }
  .pod-title { font-size: 14px; }
  .pod-line .pod-kicker { display: none; }
}

/* ---- Transcript ---- */
.pod-transcript { margin: 10px -4px -2px; border-top: 1px solid var(--border); padding-top: 4px; }
.pod-transcript > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 4px 6px; font-size: 13px; font-weight: 600; color: var(--text-secondary); border-radius: 8px; }
.pod-transcript > summary::-webkit-details-marker { display: none; }
.pod-transcript > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.pod-transcript[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.pod-transcript > summary:hover { color: var(--brand-dark); }
.pod-transcript > summary:focus-visible { outline: 3px solid rgba(232,68,42,.35); outline-offset: 2px; }
.pt-tools { display: flex; gap: 8px; padding: 4px 4px 10px; }
.pt-tools button, .pt-tools a { font: inherit; font-size: 12.5px; font-weight: 600; color: var(--text-secondary); background: #fff; border: 1px solid var(--border-md); border-radius: 99px; padding: 6px 12px; cursor: pointer; text-decoration: none; transition: color .15s, border-color .15s, background .15s; }
.pt-tools button:hover, .pt-tools a:hover { color: var(--brand-dark); border-color: var(--brand); background: var(--brand-light); }
.pt-body { max-height: 340px; overflow-y: auto; padding: 4px 8px 4px 4px; font-size: 15px; line-height: 1.7; color: #2b2b2b; scrollbar-width: thin; }
.pt-body p { margin: 0 0 12px; }
.pt-body strong { color: var(--text-primary); font-weight: 600; }
.pt-body .ts { font: inherit; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--brand-dark); background: var(--brand-light); border: 0; border-radius: 6px; padding: 1px 7px; margin-right: 8px; cursor: pointer; }
.pt-body .ts:hover { background: #FBD9D3; }
.pt-body:focus-visible { outline: 2px solid rgba(232,68,42,.4); outline-offset: 2px; border-radius: 6px; }

/* ---- Featured card: compact horizontal layout ---- */
@media (min-width: 761px) {
  .card.featured { flex-direction: row; align-items: stretch; }
  .card.featured .card-img { flex: 0 0 40%; max-width: 40%; display: flex; }
  .card.featured .card-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; min-height: 0; align-self: center; }
  .card.featured .card-body { flex: 1; justify-content: center; padding: 22px 28px; gap: 8px; }
  .card.featured h2 { font-size: 22px; letter-spacing: -0.5px; line-height: 1.25; }
  .card.featured p { font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
.card h3 { font-size: 18px; }
.card .card-body { padding: 20px; }
.section-title { margin: 32px 0 14px; }
.blog-hero { padding-bottom: 0; }
