/* RankSite v4: the content-site design (siteType "content": review / affiliate / niche-authority sites; Avi 2026-10-12).
   Loaded only by V4Layout on a content site, after v4.css (whose tokens, reset and shared blocks it builds on). Editorial
   and calm: a warm neutral page, big confident type, card grids, a light header, no lead-gen. Every rule is scoped to
   html[data-site="content"], so it can never reach a service site even if loaded by mistake. */

/* ---------- tokens: warm neutrals (light; a dark site keeps v4's dark tokens) ---------- */
html[data-site="content"]:is([data-theme="light"],:not([data-theme])){
  --bg:#faf7f2; --bg-alt:#f3eee6; --bg-alt2:#ebe4d8;
  --ink:#1d1a16; --ink-soft:#57514a; --ink-mute:#6f685e; --line:#e3dbcf;
  --card-shadow:rgba(52,40,20,.10); --chip-bg:#efe9df;
  --ed-card:#fffdf9;
}
@media (prefers-color-scheme:light){html[data-site="content"][data-theme="auto"]{
  --bg:#faf7f2; --bg-alt:#f3eee6; --bg-alt2:#ebe4d8; --ink:#1d1a16; --ink-soft:#57514a; --ink-mute:#6f685e; --line:#e3dbcf;
  --card-shadow:rgba(52,40,20,.10); --chip-bg:#efe9df; --ed-card:#fffdf9;
}}
html[data-site="content"]{--ed-card:var(--bg);--ed-ink-accent:var(--accent-ink);--ed-section:76px}
html[data-site="content"][data-theme="dark"]{--ed-card:var(--bg-alt2);--ed-ink-accent:var(--accent-on-dark)}
@media (prefers-color-scheme:dark){html[data-site="content"][data-theme="auto"]{--ed-card:var(--bg-alt2);--ed-ink-accent:var(--accent-on-dark)}}
html[data-site="content"] body{background:var(--bg);color:var(--ink)}
html[data-site="content"] .section{padding:var(--ed-section) 0}
@media(max-width:700px){html[data-site="content"]{--ed-section:52px}}

/* ---------- header: light, quiet (no button, no phone) ---------- */
html[data-site="content"] .site-header{background:color-mix(in srgb,var(--bg) 94%,transparent);color:var(--ink);border-bottom:1px solid var(--line)}
html[data-site="content"] .site-header .logo{color:var(--ink)}
html[data-site="content"] .site-header .logo small{color:var(--ink-mute)}
html[data-site="content"] .nav a,html[data-site="content"] .dd-btn{color:var(--ink-soft)}
html[data-site="content"] .nav a:hover,html[data-site="content"] .nav-dd:hover .dd-btn,html[data-site="content"] .dd-btn:focus-visible{color:var(--ink);background:var(--chip-bg)}
html[data-site="content"] .nav a[aria-current]{color:var(--ink)}
html[data-site="content"] .dd{background:var(--ed-card);border-color:var(--line);box-shadow:0 22px 44px var(--card-shadow)}
html[data-site="content"] .nav .dd a[aria-current]{background:var(--chip-bg)}
html[data-site="content"] .nav .dd .dd-all{border-top-color:var(--line);color:var(--ed-ink-accent)}
html[data-site="content"] .nav .dd .dd-all:hover{color:var(--ink)}
html[data-site="content"] .menu-btn>summary{border-color:var(--line);background:var(--ed-card);color:var(--ink)}
html[data-site="content"] .menu-panel{background:var(--bg);border-bottom-color:var(--line);color:var(--ink)}
html[data-site="content"] .menu-panel a,html[data-site="content"] .menu-panel summary{border-bottom-color:var(--line)}
/* the menu row (Avi, 2026-10-16): it may shrink to the room it has (v4.js then moves what doesn't fit into "More ▾", from
   the end); without the script it wraps onto a second row, so every item stays reachable */
html[data-site="content"] .site-header .nav{flex:0 1 auto;min-width:0}
html[data-site="content"]:not(.js) .site-header .nav{flex-wrap:wrap;justify-content:flex-end}
html[data-site="content"] .site-header .nav [hidden]{display:none!important}
html[data-site="content"] .nav .more-btn{display:inline-flex;align-items:center;gap:4px;width:auto;height:auto;padding:9px 10px 9px 12px;font:inherit;font-size:.92rem;font-weight:700;white-space:nowrap}
html[data-site="content"] .nav-more .dd{left:auto;right:-6px}
html[data-site="content"] .nav .more-sub{list-style:none;margin:0 0 4px;padding:0 0 0 12px}
html[data-site="content"] .nav .more-sub a{font-size:.86rem;font-weight:600;padding:7px 12px}

/* ---------- inner pages' top banner (category, blog, about …): light and editorial, like the homepage hero ----------
   Token-based, so a dark-theme content site keeps a dark banner. */
html[data-site="content"] .page-hero{background:var(--bg);color:var(--ink);border-bottom:1px solid var(--line);padding:56px 0 52px}
html[data-site="content"] .page-hero::before{display:none}
html[data-site="content"] .page-hero h1{color:var(--ink);letter-spacing:-.03em}
html[data-site="content"] .page-hero .lead,html[data-site="content"] .post-summary{color:var(--ink-soft)}
html[data-site="content"] .page-hero .answer-box{background:var(--ed-card);color:var(--ink-soft);border:1px solid var(--line);border-left:3px solid var(--accent)}
html[data-site="content"] .page-hero .answer-box strong{color:var(--ink)}
html[data-site="content"] .page-hero .eyebrow.on-dark{color:var(--ed-ink-accent)}
html[data-site="content"] .crumbs,html[data-site="content"] .crumbs a{color:var(--ink-mute)}
html[data-site="content"] .crumbs a:hover,html[data-site="content"] .crumbs [aria-current]{color:var(--ink)}
html[data-site="content"] .ph-facts li{background:var(--ed-card);border-color:var(--line);color:var(--ink)}
html[data-site="content"] .ph-facts .i,html[data-site="content"] .post-meta .i{color:var(--ed-ink-accent)}
html[data-site="content"] .ph-media .ph-img{box-shadow:0 24px 50px var(--card-shadow);border-color:var(--line)}
html[data-site="content"] .post-cat{background:var(--chip-bg);border-color:var(--line);color:var(--ed-ink-accent)}
html[data-site="content"] a.post-cat:hover{border-color:var(--ed-ink-accent)}
html[data-site="content"] .post-avatar{border-color:var(--line)}
html[data-site="content"] .post-meta,html[data-site="content"] .post-by small{color:var(--ink-mute)}
html[data-site="content"] .post-by b{color:var(--ink)}
html[data-site="content"] .post-links a{border-color:var(--line);color:var(--ink)}
@media(max-width:560px){html[data-site="content"] .page-hero{padding:32px 0 36px}}

/* ---------- shared pieces ---------- */
html[data-site="content"] .ed-eyebrow{display:inline-block;font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ed-ink-accent);margin-bottom:10px}
html[data-site="content"] .ed-head{max-width:720px;margin-bottom:32px}
html[data-site="content"] .ed-head h2{font-size:clamp(1.85rem,3.3vw,2.7rem);line-height:1.08;letter-spacing:-.025em;margin:0}
html[data-site="content"] .ed-head-row{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
html[data-site="content"] .ed-more{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:.92rem;color:var(--ed-ink-accent)}
html[data-site="content"] .ed-more .i{transition:transform .2s}
html[data-site="content"] .ed-more:hover .i{transform:translateX(3px)}
html[data-site="content"] .ed-tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ed-ink-accent);margin-bottom:8px}
html[data-site="content"] .ed-meta{display:block;font-size:.82rem;color:var(--ink-mute);margin-top:10px}

/* ---------- editorial hero ---------- */
html[data-site="content"] .ed-hero{background:var(--bg);padding:84px 0 64px;border-bottom:1px solid var(--line)}
html[data-site="content"] .ed-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:56px;align-items:center}
html[data-site="content"] .ed-hero[data-variant="text"] .ed-hero-grid{grid-template-columns:minmax(0,1fr)}
html[data-site="content"] .ed-hero[data-variant="text"] .ed-hero-copy{max-width:880px}
html[data-site="content"] .ed-hero h1{font-size:clamp(2.6rem,5.6vw,4.6rem);line-height:1.02;letter-spacing:-.035em;margin:0 0 20px;color:var(--ink)}
html[data-site="content"] .ed-hero h1 em{font-style:normal;color:var(--ed-ink-accent)}
html[data-site="content"] .ed-dek{font-size:clamp(1.1rem,1.6vw,1.3rem);line-height:1.55;color:var(--ink-soft);max-width:58ch;margin:0 0 30px}
html[data-site="content"] .ed-hero-media{margin:0;border-radius:calc(var(--radius) + 6px);overflow:hidden;aspect-ratio:3/2;background:var(--bg-alt2)}
html[data-site="content"] .ed-hero-media img{width:100%;height:100%;object-fit:cover}
@media(max-width:900px){
  html[data-site="content"] .ed-hero{padding:52px 0 44px}
  html[data-site="content"] .ed-hero-grid{grid-template-columns:minmax(0,1fr);gap:32px}
}

/* ---------- email signup ---------- */
html[data-site="content"] .ed-nl{display:flex;gap:10px;max-width:480px;flex-wrap:wrap}
html[data-site="content"] .ed-nl input[type="email"]{flex:1 1 220px;min-width:0;height:50px;padding:0 16px;border:1.5px solid var(--line);border-radius:10px;background:var(--ed-card);color:var(--ink);font:inherit}
html[data-site="content"] .ed-nl input[type="email"]:focus{outline:none;border-color:var(--accent)}
html[data-site="content"] .ed-nl .btn{height:50px}
html[data-site="content"] .ed-nl .lf-status{flex-basis:100%;margin:4px 0 0;font-size:.88rem;color:var(--ink-soft)}
html[data-site="content"] .ed-nl-done{font-weight:700;color:var(--ink)}

/* ---------- topics (category grid) ---------- */
html[data-site="content"] .ed-cat-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
html[data-site="content"] .ed-cat-grid[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-site="content"] .ed-cat-grid[data-n="1"]{grid-template-columns:minmax(0,1fr);max-width:420px}
/* four topics: one row of four (no card left alone on a second row), two by two below 1100 px */
html[data-site="content"] .ed-cat-grid[data-n="4"]{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media(max-width:1100px){html[data-site="content"] .ed-cat-grid[data-n="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-site="content"] .ed-cat{display:flex;flex-direction:column;height:100%;background:var(--ed-card);border:1px solid var(--line);border-radius:calc(var(--radius) + 2px);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
html[data-site="content"] .ed-cat:hover{transform:translateY(-4px);box-shadow:0 18px 38px var(--card-shadow)}
html[data-site="content"] .ed-cat-img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--bg-alt2)}
html[data-site="content"] .ed-cat-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
html[data-site="content"] .ed-cat:hover .ed-cat-img img{transform:scale(1.04)}
html[data-site="content"] .ed-tint{display:grid;place-items:center;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 12%,var(--bg)),color-mix(in srgb,var(--accent) 26%,var(--bg)))}
html[data-site="content"] .ed-tint span{font-family:var(--font-display);font-size:3.2rem;font-weight:800;color:var(--ed-ink-accent)}
html[data-site="content"] .ed-cat-body{display:flex;flex-direction:column;gap:6px;padding:20px 22px 22px;flex:1}
html[data-site="content"] .ed-cat-title{font-family:var(--font-display);font-size:1.22rem;font-weight:750;letter-spacing:-.01em;color:var(--ink)}
html[data-site="content"] .ed-cat-blurb{font-size:.94rem;line-height:1.55;color:var(--ink-soft);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
html[data-site="content"] .ed-count{margin-top:auto;padding-top:8px;font-size:.74rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-mute)}
@media(max-width:960px){html[data-site="content"] .ed-cat-grid,html[data-site="content"] .ed-cat-grid[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* phones: one topic per row, a small photo beside its text (a short list, not a tall stack) */
@media(max-width:600px){
  html[data-site="content"] .ed-cat-grid,html[data-site="content"] .ed-cat-grid[data-n="2"],html[data-site="content"] .ed-cat-grid[data-n="4"]{grid-template-columns:minmax(0,1fr);gap:12px}
  html[data-site="content"] .ed-cat{flex-direction:row}
  html[data-site="content"] .ed-cat-img{flex:0 0 108px;aspect-ratio:auto;min-height:108px}
  html[data-site="content"] .ed-tint span{font-size:2rem}
  html[data-site="content"] .ed-cat-body{padding:14px 16px;gap:4px}
  html[data-site="content"] .ed-cat-title{font-size:1.08rem}
  html[data-site="content"] .ed-cat-blurb{font-size:.88rem;-webkit-line-clamp:2}
  html[data-site="content"] .ed-count{padding-top:4px}
}

/* ---------- article cards (featured articles, category pages) ---------- */
html[data-site="content"] .ed-card{display:flex;flex-direction:column;height:100%}
html[data-site="content"] .ed-card-img{display:block;aspect-ratio:16/10;border-radius:calc(var(--radius) + 2px);overflow:hidden;background:var(--bg-alt2);margin-bottom:16px}
html[data-site="content"] .ed-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
html[data-site="content"] .ed-card:hover .ed-card-img img{transform:scale(1.04)}
html[data-site="content"] .ed-card h3{font-size:1.18rem;line-height:1.3;letter-spacing:-.01em;margin:0 0 8px}
html[data-site="content"] .ed-card h3 a{color:var(--ink);background:linear-gradient(currentColor,currentColor) 0 100%/0 1.5px no-repeat;transition:background-size .3s}
html[data-site="content"] .ed-card:hover h3 a{background-size:100% 1.5px}
html[data-site="content"] .ed-card p{font-size:.95rem;line-height:1.6;color:var(--ink-soft);margin:0}
html[data-site="content"] .ed-card-lead h3{font-size:clamp(1.5rem,2.5vw,2.1rem);line-height:1.15;letter-spacing:-.02em}
html[data-site="content"] .ed-card-lead p{font-size:1.04rem}
html[data-site="content"] .ed-card-row{flex-direction:row;gap:16px;align-items:flex-start}
html[data-site="content"] .ed-card-row .ed-card-img{flex:0 0 132px;aspect-ratio:4/3;margin:0}
html[data-site="content"] .ed-card-row h3{font-size:1.04rem;margin:0}
html[data-site="content"] .ed-card-row .ed-tag{margin-bottom:4px}
html[data-site="content"] .ed-card-row .ed-meta{margin-top:6px}
html[data-site="content"] .ed-feat-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:44px;align-items:start}
html[data-site="content"] .ed-feat-grid.solo{grid-template-columns:minmax(0,1fr);max-width:820px}
html[data-site="content"] .ed-feat-list{list-style:none;display:grid;gap:0}
html[data-site="content"] .ed-feat-list li{padding:18px 0;border-bottom:1px solid var(--line)}
html[data-site="content"] .ed-feat-list li:first-child{padding-top:0}
html[data-site="content"] .ed-card-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 26px;margin-bottom:36px}
@media(max-width:960px){
  html[data-site="content"] .ed-feat-grid{grid-template-columns:minmax(0,1fr);gap:32px}
  html[data-site="content"] .ed-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  html[data-site="content"] .ed-card-grid{grid-template-columns:minmax(0,1fr)}
  html[data-site="content"] .ed-card-row .ed-card-img{flex-basis:104px}
}

/* ---------- affiliate product card + disclosure ---------- */
html[data-site="content"] .ed-disclosure{max-width:72ch;margin:-12px 0 26px;padding-left:12px;border-left:3px solid var(--line);font-size:.84rem;line-height:1.5;color:var(--ink-mute)}
html[data-site="content"] .ed-picks{background:var(--bg-alt)}
html[data-site="content"] .ed-picks-grid{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
html[data-site="content"] .ed-picks-grid[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
html[data-site="content"] .ed-picks-grid[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px}
html[data-site="content"] .ed-picks-grid[data-n="1"]{grid-template-columns:minmax(0,1fr);max-width:420px}
html[data-site="content"] .ed-product{display:flex;flex-direction:column;height:100%;background:var(--ed-card);border:1px solid var(--line);border-radius:calc(var(--radius) + 2px);overflow:hidden}
/* (overflow hidden: without it a tall photo stretches the box past its aspect ratio) */
html[data-site="content"] .ed-product-img{aspect-ratio:4/3;overflow:hidden;background:#fff;display:grid;place-items:center;padding:16px;border-bottom:1px solid var(--line)}
html[data-site="content"] .ed-product-img img{width:100%;height:100%;min-height:0;object-fit:contain}
html[data-site="content"] .ed-product-body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 20px;flex:1}
html[data-site="content"] .ed-product-name{font-size:1.06rem;line-height:1.3;margin:0}
html[data-site="content"] .ed-product-name a{color:var(--ink)}
html[data-site="content"] .ed-product-name a:hover{color:var(--ed-ink-accent)}
html[data-site="content"] .ed-rating{display:inline-flex;align-items:center;gap:5px;font-weight:800;font-size:.9rem;color:var(--ink)}
html[data-site="content"] .ed-rating .i{color:var(--gold);font-size:1rem}
html[data-site="content"] .ed-rating small{font-weight:600;color:var(--ink-mute)}
html[data-site="content"] .ed-product-blurb{font-size:.92rem;line-height:1.55;color:var(--ink-soft);margin:0}
html[data-site="content"] .ed-pc{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:.84rem}
html[data-site="content"] .ed-pc b{display:block;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin-bottom:4px}
html[data-site="content"] .ed-pc ul{list-style:none;display:grid;gap:3px;color:var(--ink-soft)}
html[data-site="content"] .ed-pros li::before{content:"+ ";font-weight:800;color:#15803d}
html[data-site="content"] .ed-cons li::before{content:"– ";font-weight:800;color:#b42318}
html[data-site="content"] .ed-product-foot{margin-top:auto;padding-top:8px;display:flex;flex-direction:column;gap:8px}
html[data-site="content"] .ed-price{font-weight:800;font-size:.95rem;color:var(--ink)}
html[data-site="content"] .ed-product-foot .btn{width:100%}
/* the product's own badge ("Best overall"); beside the slot label when a card has both */
html[data-site="content"] .ed-badge{align-self:flex-start;font-size:.7rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ed-ink-accent);background:color-mix(in srgb,var(--accent) 12%,var(--ed-card));border-radius:999px;padding:4px 10px}
html[data-site="content"] .ed-tags{display:flex;flex-wrap:wrap;gap:6px;align-self:flex-start}
html[data-site="content"] .ed-sponsored{align-self:flex-start;font-size:.68rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute);border:1px solid var(--line);border-radius:999px;padding:3px 9px}
/* a category page's sponsored slot: a wide card between the article rows */
html[data-site="content"] .ed-slot{margin:0 0 40px}
html[data-site="content"] .ed-product[data-variant="slot"]{flex-direction:row;background:var(--ed-card)}
html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-img{flex:0 0 260px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}
html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-body{padding:24px 28px}
html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-name{font-size:1.3rem}
html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-foot{flex-direction:row;align-items:center;justify-content:space-between}
html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-foot .btn{width:auto}
@media(max-width:1060px){html[data-site="content"] .ed-picks-grid,html[data-site="content"] .ed-picks-grid[data-n="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  html[data-site="content"] .ed-product[data-variant="slot"]{flex-direction:column}
  html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-img{flex-basis:auto;aspect-ratio:16/9;border-right:0;border-bottom:1px solid var(--line)}
  html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-foot{flex-direction:column;align-items:stretch}
  html[data-site="content"] .ed-product[data-variant="slot"] .ed-product-foot .btn{width:100%}
}
@media(max-width:560px){
  html[data-site="content"] .ed-picks-grid,html[data-site="content"] .ed-picks-grid[data-n="3"],html[data-site="content"] .ed-picks-grid[data-n="2"]{grid-template-columns:minmax(0,1fr)}
  html[data-site="content"] .ed-product-img{aspect-ratio:16/9;padding:12px}
}

/* ---------- who runs this site (trust band) ---------- */
html[data-site="content"] .ed-trust{background:var(--bg-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
html[data-site="content"] .ed-trust-grid{display:grid;grid-template-columns:220px minmax(0,1fr);gap:56px;align-items:center}
html[data-site="content"] .ed-trust-grid.solo{grid-template-columns:minmax(0,1fr);max-width:880px}
html[data-site="content"] .ed-person{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px}
html[data-site="content"] .ed-avatar{width:150px;height:150px;border-radius:50%;object-fit:cover;border:4px solid var(--ed-card);box-shadow:0 12px 30px var(--card-shadow);margin-bottom:12px}
html[data-site="content"] .ed-avatar.initials{display:grid;place-items:center;background:var(--accent);color:var(--on-accent,#fff);font-family:var(--font-display);font-size:2.6rem;font-weight:800}
html[data-site="content"] .ed-person-name{font-weight:800;font-size:1.05rem}
html[data-site="content"] .ed-person-role{font-size:.88rem;color:var(--ink-mute)}
html[data-site="content"] .ed-trust h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.1;letter-spacing:-.02em;margin:0 0 16px}
html[data-site="content"] .ed-trust-text{font-size:1.08rem;line-height:1.7;color:var(--ink-soft);max-width:64ch;margin:0 0 20px}
html[data-site="content"] .ed-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
html[data-site="content"] .ed-chips li{padding:7px 14px;border:1px solid var(--line);border-radius:999px;background:var(--ed-card);font-size:.84rem;font-weight:700;color:var(--ink)}
@media(max-width:760px){
  html[data-site="content"] .ed-trust-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  /* the person after the text, as a byline: photo beside the name and role */
  html[data-site="content"] .ed-person{order:2;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center;justify-items:start;text-align:left}
  html[data-site="content"] .ed-avatar{grid-row:span 2;width:64px;height:64px;margin:0;border-width:3px}
  html[data-site="content"] .ed-avatar.initials{font-size:1.4rem}
  html[data-site="content"] .ed-person-name{align-self:end}
  html[data-site="content"] .ed-person-role{align-self:start}
  html[data-site="content"] .ed-person-name:last-child{grid-row:span 2;align-self:center}
}

/* ---------- newsletter band ---------- */
html[data-site="content"] .ed-nl-band{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:40px;align-items:center;background:color-mix(in srgb,var(--accent) 7%,var(--ed-card));border:1px solid var(--line);border-radius:calc(var(--radius) + 6px);padding:40px 44px}
html[data-site="content"] .ed-nl-band h2{font-size:clamp(1.5rem,2.6vw,2rem);letter-spacing:-.02em;margin:0 0 8px}
html[data-site="content"] .ed-nl-band p{color:var(--ink-soft);margin:0}
@media(max-width:860px){html[data-site="content"] .ed-nl-band{grid-template-columns:minmax(0,1fr);padding:30px 24px;gap:20px}}

/* ---------- category page ---------- */
html[data-site="content"] .ed-list-h{font-size:1.4rem;letter-spacing:-.01em;margin:0 0 22px}
html[data-site="content"] .ed-empty{color:var(--ink-soft)}
html[data-site="content"] .ed-empty a{font-weight:700;color:var(--ed-ink-accent)}
html[data-site="content"] .ed-cat-articles .wrap>:last-child{margin-bottom:0}
html[data-site="content"] .ed-cat-articles+.ed-newsletter{padding-top:0}

/* ---------- a post: editorial header, reading column, sticky contents, product boxes (phase 2, 2026-10-12) ---------- */
/* header: the text in a reading-width block (crumbs, topic, H1, dek, "By …" with the updated date), the photo wide below */
html[data-site="content"] .ed-post-hero{padding:48px 0 0;border-bottom:0}
html[data-site="content"] .ed-post-head{max-width:820px}
html[data-site="content"] .ed-post-hero h1{font-size:clamp(2.2rem,4.8vw,3.6rem);line-height:1.06;letter-spacing:-.03em;margin:14px 0 16px}
html[data-site="content"] .ed-post-hero .post-summary{font-size:clamp(1.1rem,1.6vw,1.28rem);line-height:1.55;max-width:62ch;margin:0 0 24px}
html[data-site="content"] .ed-byline{gap:10px 24px;padding-top:18px;border-top:1px solid var(--line)}
html[data-site="content"] .ed-byline .post-by img,html[data-site="content"] .ed-byline .post-by .av{width:44px;height:44px}
/* no photo: the initials on the brand colour (readable on the light page) */
html[data-site="content"] .ed-byline .post-by .av{background:var(--accent);color:var(--on-accent,#fff);font-size:.9rem}
html[data-site="content"] .ed-by{color:var(--ink-soft)}
html[data-site="content"] .ed-by b{display:inline;color:var(--ink)}
html[data-site="content"] .ed-by a:hover b{text-decoration:underline}
html[data-site="content"] .ed-post-photo{margin:36px 0 0;border-radius:calc(var(--radius) + 6px);overflow:hidden;aspect-ratio:2/1;background:var(--bg-alt2)}
html[data-site="content"] .ed-post-photo img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){
  html[data-site="content"] .ed-post-hero{padding:28px 0 0}
  html[data-site="content"] .ed-post-photo.tablet-photo{display:none}
  html[data-site="content"] .ed-byline{gap:10px 18px}
}

/* body: ~68 characters a line, darker text, quiet headings and bullets; the contents list sticky on the right */
html[data-site="content"] .ed-article{background:var(--bg);padding-top:52px}
html[data-site="content"] .ed-body-grid{grid-template-columns:minmax(0,1fr) 250px;gap:72px}
html[data-site="content"] .ed-article .prose{max-width:68ch;font-size:1.125rem;line-height:1.75;color:color-mix(in srgb,var(--ink) 84%,var(--ink-soft))}
html[data-site="content"] .ed-article .prose h2{font-size:clamp(1.6rem,2.6vw,2.1rem);letter-spacing:-.02em;line-height:1.15;margin-top:1.9em}
html[data-site="content"] .ed-article .prose h3{font-size:1.28rem;letter-spacing:-.01em}
html[data-site="content"] .ed-article .prose ul>li{padding-left:24px}
html[data-site="content"] .ed-article .prose ul>li::before{top:.68em;left:5px;width:7px;height:7px;border-radius:50%;background:var(--ed-ink-accent)}
html[data-site="content"] .ed-article .prose ol>li::before{background:var(--chip-bg);color:var(--ed-ink-accent);border-radius:50%}
html[data-site="content"] .ed-article .prose thead th{background:var(--bg-alt2);color:var(--ink)}
html[data-site="content"] .ed-article .prose tbody tr:nth-child(even) td{background:var(--bg-alt)}
/* the disclosure line right above each product box / sponsored slot */
html[data-site="content"] :is(.ed-slot,.ed-inline-product)>.ed-disclosure{margin:0 0 10px}
html[data-site="content"] .ed-article .side{position:static;align-self:stretch}
html[data-site="content"] .ed-article .toc-side{position:sticky;top:96px;background:none;border:0;border-left:1px solid var(--line);border-radius:0;padding:2px 0 2px 16px;max-height:calc(100vh - 120px);overflow-y:auto}
html[data-site="content"] .ed-article .toc-side h3{font-size:.74rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-mute);margin-bottom:10px}
html[data-site="content"] .ed-article .toc a{padding:6px 10px;font-size:.88rem;line-height:1.4}
html[data-site="content"] .ed-article .toc a::before{color:var(--ink-mute)}
html[data-site="content"] .ed-article .toc a[aria-current]{background:var(--chip-bg);color:var(--ink);font-weight:800}
html[data-site="content"] .ed-article .toc a[aria-current]::before{color:var(--ed-ink-accent)}
@media(max-width:1000px){
  html[data-site="content"] .ed-body-grid{grid-template-columns:minmax(0,1fr);gap:0}
  html[data-site="content"] .ed-article .side{display:none}
}
@media(max-width:600px){
  html[data-site="content"] .ed-article{padding-top:32px}
  html[data-site="content"] .ed-article .prose{font-size:1.06rem}
}

/* a product box in the text: a wide card (photo beside the text), clear of the text's own styles */
html[data-site="content"] .prose>.ed-inline-product{margin:2.2em 0}
html[data-site="content"] .ed-product[data-variant="inline"]{flex-direction:row;font-size:1rem;line-height:1.5;color:var(--ink)}
html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-img{flex:0 0 190px;aspect-ratio:auto;border-bottom:0;border-right:1px solid var(--line)}
html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-img img{border-radius:0}
html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-body{padding:20px 24px}
html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-foot{flex-direction:row;align-items:center;justify-content:space-between;flex-wrap:wrap}
html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-foot .btn{width:auto}
html[data-site="content"] .prose .ed-inline-product h3{margin:0;font-size:1.15rem;letter-spacing:-.01em}
html[data-site="content"] .prose .ed-inline-product a:not(.btn){text-decoration:none;font-weight:inherit}
html[data-site="content"] .prose .ed-inline-product .ed-pc ul{margin:0}
html[data-site="content"] .prose .ed-inline-product .ed-pc li{padding-left:0;margin:0}
html[data-site="content"] .prose .ed-inline-product .ed-pc li::before{position:static;display:inline;width:auto;height:auto;background:none;border-radius:0}
html[data-site="content"] .prose .ed-inline-product>*+*,html[data-site="content"] .prose .ed-inline-product .ed-product-body>*{margin-top:0}
@media(max-width:600px){
  html[data-site="content"] .ed-product[data-variant="inline"]{flex-direction:column}
  html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-img{flex-basis:auto;aspect-ratio:16/9;padding:12px;border-right:0;border-bottom:1px solid var(--line)}
  html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-foot{flex-direction:column;align-items:stretch}
  html[data-site="content"] .ed-product[data-variant="inline"] .ed-product-foot .btn{width:100%}
}

/* the footer: logo, topics, company, contact (a content site has no services or areas column) */
@media(min-width:1001px){html[data-site="content"] .foot-grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr}}
/* room between the columns and the bottom bar's line (a content site has no payments or badges row in between) */
html[data-site="content"] .foot-grid{padding-bottom:44px}
@media(max-width:520px){html[data-site="content"] .foot-grid{padding-bottom:32px}}

/* more articles under a post */
html[data-site="content"] .ed-related{background:var(--bg-alt);border-top:1px solid var(--line)}
html[data-site="content"] .ed-related .ed-card-grid{margin-bottom:0}
/* three cards: one row down to 700 px (no card left alone on a second row) */
@media(min-width:701px) and (max-width:960px){html[data-site="content"] .ed-related .ed-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px}html[data-site="content"] .ed-related .ed-card h3{font-size:1.02rem}}

/* long titles on small screens: an article, topic or product card's title at most 3 lines, ending in "…" */
@media(max-width:600px){
  html[data-site="content"] :is(.ed-card h3,.ed-cat-title,.ed-product-name){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
}
