/* Site skin: the app's own brand on every public Hub page (blog, guides, SEO pages, authors).
   Sellwares: tokens from sellwares.com's home page (fonts Bricolage Grotesque / Plus Jakarta Sans / IBM Plex Mono,
   green #0E6B4F, mint #3DDC97, night #06120D). Styling only: no markup or text changes. Loaded after base.css. */
body.artpage {
  --bg:#F1F6F4; --surface:#FFFFFF; --surface-2:#E7F0EC; --ink:#0E1A16; --muted:#3A4C46; --faint:#5E716A;
  --line:#DCE7E3; --line-2:#E7F0EC;
  --accent:#0E6B4F; --accent-hover:#0A4E3A; --accent-ink:#FFFFFF; --accent-soft:#E4F2EC;
  --info:#0E6B4F; --ok:#0E6B4F; --mint:#3DDC97; --gold:#F2B33D; --night:#06120D; --night2:#0B2A20;
  --shadow:0 1px 2px rgba(14,26,22,.06),0 18px 40px -18px rgba(14,26,22,.28);
  --f-display:'Bricolage Grotesque','Plus Jakarta Sans',system-ui,sans-serif;
  --f-body:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --f-mono:'IBM Plex Mono',ui-monospace,Consolas,monospace;
  font-family:var(--f-body); color:var(--ink);
  background:
    radial-gradient(900px 420px at 85% -120px, rgba(61,220,151,.20), transparent 70%),
    radial-gradient(700px 380px at -10% 0, rgba(14,107,79,.10), transparent 70%),
    var(--bg) no-repeat;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body.artpage {
  --bg:#06120D; --surface:#0B1B15; --surface-2:#10261D; --ink:#E8F3EE; --muted:#A9C2B8; --faint:#8DA79D;
  --line:#1C3A2E; --line-2:#14301F; --accent:#3DDC97; --accent-hover:#6BE8B1; --accent-ink:#06120D; --accent-soft:#10301F; --info:#3DDC97;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 18px 40px -18px rgba(0,0,0,.6);
} }
:root[data-theme="dark"] body.artpage {
  --bg:#06120D; --surface:#0B1B15; --surface-2:#10261D; --ink:#E8F3EE; --muted:#A9C2B8; --faint:#8DA79D;
  --line:#1C3A2E; --line-2:#14301F; --accent:#3DDC97; --accent-hover:#6BE8B1; --accent-ink:#06120D; --accent-soft:#10301F; --info:#3DDC97;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 18px 40px -18px rgba(0,0,0,.6);
}
.artpage ::selection { background:var(--mint); color:#06120D; }

/* ---------- header: the same bar as the home page ---------- */
.artpage .arthead { background:color-mix(in srgb,var(--bg) 82%,transparent); border-bottom:1px solid var(--line); }
.artpage .arthead-in { min-height:66px; }
.artpage .arthead .logo { gap:9px; font:800 19px/1 var(--f-display); letter-spacing:-.02em; color:var(--ink); text-decoration:none; }
.artpage .arthead .logo .mark { border-radius:10px; box-shadow:0 3px 0 #0A4E3A; }
.artpage .artnav a { font:700 14.5px var(--f-body); color:var(--muted); padding:6px 2px; border-bottom:2px solid transparent; }
.artpage .artnav a:hover { color:var(--ink); border-bottom-color:var(--mint); }
.artpage .btn.primary { background:var(--accent); color:var(--accent-ink); border:0; border-radius:10px; font:800 13.5px var(--f-body);
  box-shadow:0 4px 0 #0A4E3A, 0 10px 22px -10px rgba(14,107,79,.6); transition:transform .12s, box-shadow .12s; }
.artpage .btn.primary:hover { background:var(--accent-hover); transform:translateY(-1px); box-shadow:0 5px 0 #0A4E3A, 0 14px 26px -10px rgba(14,107,79,.65); }
.artpage .btn.primary:active { transform:translateY(3px); box-shadow:0 1px 0 #0A4E3A; }
.artpage .arthead .btn.primary::after { content:' →'; }

/* reading progress */
.artpage .artprog i { background:linear-gradient(90deg,var(--accent),var(--mint)); height:3px; }

/* ---------- top of the article ---------- */
.artpage .artcrumb a { color:var(--muted); font-weight:600; } .artpage .artcrumb a:hover { color:var(--accent); }
.artpage .eyebrow { display:inline-flex; align-items:center; gap:8px; width:max-content; font:700 11.5px var(--f-mono); letter-spacing:.08em;
  text-transform:uppercase; color:var(--accent); background:var(--accent-soft); border:1px solid color-mix(in srgb,var(--accent) 22%,transparent);
  padding:5px 10px 5px 8px; border-radius:999px; }
.artpage .eyebrow::before { content:''; width:7px; height:7px; border-radius:50%; background:var(--mint); box-shadow:0 0 0 3px color-mix(in srgb,var(--mint) 30%,transparent); }
.artpage .arttop h1 { font:800 clamp(32px,5.4vw,52px)/1.04 var(--f-display); letter-spacing:-.045em; color:var(--ink); text-wrap:balance; }
.artpage .artlede { font:500 19px/1.6 var(--f-body); color:var(--muted); text-wrap:pretty; }
.artpage .artmeta { font-size:13.5px; color:var(--faint); padding-top:6px; }
.artpage .artby img, .artpage .ab-img { border-radius:50%; box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--mint); }
.artpage .artby b { color:var(--ink); font-weight:800; }

/* the short answer box */
.artpage .arttldr { position:relative; background:linear-gradient(135deg,var(--accent-soft),var(--surface) 70%); border:1px solid color-mix(in srgb,var(--accent) 25%,var(--line));
  border-left:0; border-radius:18px; padding:18px 20px 18px 24px; box-shadow:var(--shadow); overflow:hidden; }
.artpage .arttldr::before { content:''; position:absolute; inset:0 auto 0 0; width:6px; background:linear-gradient(var(--accent),var(--mint)); }
.artpage .arttldr b { font:700 11.5px var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--accent); }
.artpage .arttldr b::before { content:'⚡ '; }
.artpage .arttldr p { font:600 16.5px/1.6 var(--f-body); color:var(--ink); margin:6px 0 0; }

/* contents */
.artpage .artside-toc { padding:14px 14px 12px; }
.artpage .arttoc, .artpage .artside-toc { background:var(--surface); border:1px solid var(--line); border-radius:16px; box-shadow:var(--shadow); }
.artpage .arttoc b, .artpage .artside-toc b { font:700 11.5px var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--faint); }
.artpage .arttoc a, .artpage .artside-toc a { color:var(--muted); font-weight:600; text-decoration:none; }
.artpage .arttoc a:hover, .artpage .artside-toc a:hover, .artpage .artside-toc a.on, .artpage .artside-toc a[aria-current] { color:var(--accent); }
.artpage .artside-toc li::marker, .artpage .arttoc li::marker { color:var(--mint); font-weight:800; }
.artpage .artshare button, .artpage .artshare a { border-radius:10px; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
.artpage .artshare button:hover, .artpage .artshare a:hover { border-color:var(--accent); color:var(--accent); }

/* ---------- body ---------- */
.artpage .artbody { font:400 17.5px/1.75 var(--f-body); color:var(--ink); }
.artpage .artbody p { color:color-mix(in srgb,var(--ink) 88%,var(--muted)); }
.artpage .artbody strong, .artpage .artbody b { color:var(--ink); font-weight:800; }
.artpage .artbody h2 { font:800 clamp(25px,3.6vw,32px)/1.15 var(--f-display); letter-spacing:-.035em; margin:48px 0 12px; padding-top:14px; position:relative; }
.artpage .artbody h2::before { content:''; position:absolute; top:0; left:0; width:44px; height:5px; border-radius:5px; background:linear-gradient(90deg,var(--accent),var(--mint)); }
.artpage .artbody h3 { font:800 20.5px/1.3 var(--f-display); letter-spacing:-.02em; color:var(--ink); }
.artpage .artbody a { color:var(--accent); font-weight:700; text-decoration:underline; text-decoration-color:color-mix(in srgb,var(--mint) 70%,transparent);
  text-decoration-thickness:2px; text-underline-offset:4px; transition:text-decoration-color .15s, background .15s; }
.artpage .artbody a:hover { text-decoration-color:var(--accent); background:var(--accent-soft); border-radius:4px; }
.artpage .artbody ul > li::marker { color:var(--accent); }

/* numbered lists become step badges (the short answer and every step list) */
.artpage .artbody ol { list-style:none; padding-left:0; counter-reset:step; gap:10px; }
.artpage .artbody ol > li { counter-increment:step; position:relative; padding:12px 14px 12px 56px; background:var(--surface); border:1px solid var(--line);
  border-radius:14px; box-shadow:0 1px 2px rgba(14,26,22,.04); }
.artpage .artbody ol > li::before { content:counter(step); position:absolute; left:12px; top:11px; width:30px; height:30px; display:grid; place-items:center;
  border-radius:9px; background:var(--accent); color:var(--accent-ink); font:800 14.5px/1 var(--f-display); box-shadow:0 3px 0 #0A4E3A; }

/* images, photo credits */
.artpage .artbody img { border-radius:18px; border:1px solid var(--line); box-shadow:var(--shadow); margin:22px 0 8px; transition:transform .2s; }
.artpage .artbody a:has(> img) { background:none !important; text-decoration:none; display:block; }
.artpage .artbody a:hover > img { transform:translateY(-2px); }
.artpage .artbody p:has(> em:only-child) { font-size:12.5px; color:var(--faint); margin-top:-2px; }
.artpage .artbody p:has(> em:only-child) a { font-weight:600; color:var(--faint); text-decoration-thickness:1px; }

/* tables */
.artpage .arttable { border:1px solid var(--line); border-radius:16px; background:var(--surface); box-shadow:var(--shadow); }
.artpage .arttable caption { caption-side:top; text-align:left; padding:12px 14px 10px; font:700 11.5px var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--faint); }
.artpage .arttable th { background:var(--night2); color:#E8F3EE; font:700 12.5px var(--f-mono); letter-spacing:.04em; text-transform:uppercase; padding:12px 14px; }
.artpage .arttable td { padding:11px 14px; border-top:1px solid var(--line-2); vertical-align:top; }
.artpage .arttable tbody tr:nth-child(even) td { background:color-mix(in srgb,var(--surface-2) 45%,var(--surface)); }
.artpage .arttable tbody tr:hover td { background:var(--accent-soft); }
.artpage .arttable td:first-child { font-weight:700; color:var(--ink); }
/* row labels (tables whose top-left header is empty) are <th scope="row">: same look as a bold first cell */
.artpage .arttable tbody th[scope="row"] { background:transparent; color:var(--ink); font-family:inherit; font-size:inherit; font-weight:700;
  letter-spacing:0; text-transform:none; text-align:left; padding:11px 14px; border-top:1px solid var(--line-2); vertical-align:top; }
.artpage .arttable tbody tr:nth-child(even) th[scope="row"] { background:color-mix(in srgb,var(--surface-2) 45%,var(--surface)); }
.artpage .arttable tbody tr:hover th[scope="row"] { background:var(--accent-soft); }

.artpage .artbody blockquote { border-left:5px solid var(--mint); background:var(--accent-soft); color:var(--ink); border-radius:0 14px 14px 0; }
.artpage .artbody code { font-family:var(--f-mono); background:var(--accent-soft); border-color:color-mix(in srgb,var(--accent) 20%,transparent); color:var(--accent-hover); }

/* ---------- call to action: the home page's dark green card ---------- */
.artpage .artcta { position:relative; overflow:hidden; border-radius:24px; padding:26px 26px; color:#E8F3EE;
  background:radial-gradient(520px 260px at 100% 0, rgba(61,220,151,.35), transparent 70%), linear-gradient(160deg,#19573A,#06120D 75%);
  box-shadow:0 30px 60px -28px rgba(0,0,0,.6); }
.artpage .artcta b { font:800 23px/1.15 var(--f-display); letter-spacing:-.02em; color:#fff; }
.artpage .artcta span { color:#A9C2B8; font-size:15px; }
.artpage .artcta .btn.primary { background:var(--mint); color:#06120D; box-shadow:0 4px 0 #1E9E68, 0 12px 28px -12px rgba(61,220,151,.8); }
.artpage .artcta .btn.primary:hover { background:#6BE8B1; }
.artpage .artcta .btn.primary::after { content:' →'; }

/* ---------- FAQ, sources, author, related ---------- */
.artpage .artfaq h2, .artpage .artsrc h2, .artpage .artrel h2 { font:800 26px var(--f-display); letter-spacing:-.03em; }
.artpage .artfaq details { background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:0; margin-bottom:10px; overflow:hidden; transition:border-color .15s; }
.artpage .artfaq summary { list-style:none; cursor:pointer; padding:16px 52px 16px 18px; font:700 16px/1.4 var(--f-body); position:relative; }
.artpage .artfaq summary::-webkit-details-marker { display:none; }
.artpage .artfaq summary::after { content:'+'; position:absolute; right:16px; top:50%; translate:0 -50%; width:26px; height:26px; display:grid; place-items:center;
  border-radius:8px; background:var(--accent-soft); color:var(--accent); font:800 18px/1 var(--f-display); transition:transform .2s; }
.artpage .artfaq details[open] { border-color:color-mix(in srgb,var(--accent) 40%,var(--line)); }
.artpage .artfaq details[open] summary::after { content:'–'; background:var(--accent); color:var(--accent-ink); }
.artpage .artfaq details p { padding:0 18px 16px; margin:0; color:var(--muted); line-height:1.65; }
.artpage .artsrc ol { list-style:none; padding:0; counter-reset:src; }
.artpage .artsrc li { counter-increment:src; padding-left:30px; position:relative; }
.artpage .artsrc li::before { content:counter(src); position:absolute; left:0; top:2px; width:20px; height:20px; display:grid; place-items:center; border-radius:6px;
  background:var(--surface-2); color:var(--accent); font:700 11.5px var(--f-mono); }
.artpage .artsrc a { color:var(--accent); font-weight:600; }
.artpage .artauthor { background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:20px; box-shadow:var(--shadow); }
.artpage .artauthor .aa-img { border-radius:50%; box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--mint); }
.artpage .artauthor .hint { font:700 11px var(--f-mono); letter-spacing:.1em; text-transform:uppercase; color:var(--faint); }
.artpage .artauthor .aa-name { font:800 19px var(--f-display); color:var(--ink); text-decoration:none; }
.artpage .artauthor .aa-role { color:var(--accent); font-weight:700; font-size:14px; }
.artpage .arthelp { border:1px dashed var(--line); border-radius:16px; background:transparent; }
.artpage .arthelp button { border-radius:10px; border:1px solid var(--line); background:var(--surface); font-weight:700; }
.artpage .arthelp button:hover { border-color:var(--accent); color:var(--accent); }
.artpage .relcard, .artpage .artitem { position:relative; background:var(--surface); border:1px solid var(--line); border-radius:18px; box-shadow:0 1px 2px rgba(14,26,22,.05);
  transition:transform .15s, box-shadow .15s, border-color .15s; }
.artpage .relcard:hover, .artpage .artitem:hover { transform:translateY(-3px); border-color:var(--accent); box-shadow:var(--shadow); }
.artpage .relcard b, .artpage .artitem b { font:800 17px/1.3 var(--f-display); letter-spacing:-.02em; color:var(--ink); }
.artpage .relcard { padding-bottom:38px; }
.artpage .relcard::after { content:'→'; position:absolute; right:16px; bottom:12px; color:var(--accent); font-weight:800; transition:transform .15s; }
.artpage .relcard:hover::after { transform:translateX(3px); }

/* ---------- Related ("Keep reading"): night panel, picture cards, featured first card ---------- */
.artpage .artrel { position:relative; margin:44px 0 8px; padding:30px 28px; border-radius:28px; color:#E8F3EE; overflow:hidden; isolation:isolate;
  background:radial-gradient(520px 260px at 92% -60px, rgba(61,220,151,.28), transparent 70%), radial-gradient(420px 240px at -40px 110%, rgba(242,179,61,.14), transparent 70%), linear-gradient(160deg,#0B2A20,#06120D 70%); }
.artpage .artrel::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.5; background-image:radial-gradient(rgba(61,220,151,.16) 1px, transparent 1.4px); background-size:22px 22px;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 55%); mask-image:linear-gradient(180deg,#000,transparent 55%); }
.artpage .artrel .relhead { display:flex; flex-direction:column; gap:8px; margin-bottom:20px; }
.artpage .artrel .eyebrow { align-self:flex-start; font:700 11px/1 var(--f-mono); letter-spacing:.14em; text-transform:uppercase; color:#06120D; background:var(--mint); padding:7px 10px; border-radius:999px; }
.artpage .artrel h2 { margin:0; color:#FFFFFF; font:800 clamp(26px,3.4vw,34px)/1.08 var(--f-display); letter-spacing:-.035em; }
.artpage .artrel .relgrid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.artpage .artrel .relgrid > li { display:flex; min-width:0; margin:0; padding:0; }
.artpage .artrel .relgrid > li::before { content:none; }
.artpage .artrel .rel-n2, .artpage .artrel .rel-n4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.artpage .artrel .rel-n1 { grid-template-columns:1fr; }
.artpage .artrel .relcard { display:flex; flex-direction:column; width:100%; padding:0; gap:0; overflow:hidden; border-radius:20px; border:1px solid rgba(255,255,255,.08);
  background:var(--surface); color:var(--ink); text-decoration:none; box-shadow:0 20px 40px -24px rgba(0,0,0,.7);
  transition:transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, border-color .18s; }
.artpage .artrel .relcard::after { content:none; }
.artpage .artrel .relcard:hover { transform:translateY(-4px); border-color:var(--mint); box-shadow:0 0 0 1px var(--mint), 0 26px 50px -22px rgba(61,220,151,.45); }
.artpage .artrel .relcard:focus-visible { outline:3px solid var(--mint); outline-offset:3px; }
.artpage .artrel .rc-img { position:relative; display:block; aspect-ratio:16/9; overflow:hidden; background:#0B2A20; flex:none; }
.artpage .artrel .rc-img img { width:100%; height:100%; object-fit:cover; display:block; margin:0; border-radius:0; transition:transform .5s cubic-bezier(.2,.8,.2,1); }
.artpage .artrel .relcard:hover .rc-img img, .artpage .artrel .relcard:hover .rc-cover i { transform:scale(1.06); }
.artpage .artrel .rc-cover { position:absolute; inset:0; display:grid; place-items:center; background-size:18px 18px, 100% 100%; }
.artpage .artrel .rc-cover i { font-style:normal; font-size:44px; line-height:1; width:84px; height:84px; display:grid; place-items:center; border-radius:24px; color:#fff;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.22); box-shadow:0 14px 30px -12px rgba(0,0,0,.5), 0 0 0 10px rgba(255,255,255,.04); transition:transform .4s; }
.artpage .artrel .rc-h0 { background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1.4px), linear-gradient(135deg,#06120D,#0E6B4F); }
.artpage .artrel .rc-h1 { background-image:radial-gradient(rgba(255,255,255,.16) 1px,transparent 1.4px), linear-gradient(135deg,#0E6B4F,#3DDC97); }
.artpage .artrel .rc-h2 { background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1.4px), linear-gradient(135deg,#0B2A20,#19573A 60%,#F2B33D); }
.artpage .artrel .rc-h3 { background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1.4px), linear-gradient(135deg,#15906B,#0B2A20); }
.artpage .artrel .rc-kind { position:absolute; left:12px; top:12px; font:700 10.5px/1 var(--f-mono); font-style:normal; letter-spacing:.1em; text-transform:uppercase;
  padding:7px 9px; border-radius:999px; background:rgba(255,255,255,.94); color:#0E1A16; box-shadow:0 4px 12px -4px rgba(0,0,0,.35); }
.artpage .artrel .rc-guide .rc-kind { background:var(--mint); color:#06120D; }
.artpage .artrel .rc-blog .rc-kind { background:var(--gold); color:#2A1A00; }
.artpage .artrel .rc-tool .rc-kind, .artpage .artrel .rc-page .rc-kind { background:#06120D; color:#3DDC97; }
.artpage .artrel .rc-b { display:flex; flex-direction:column; gap:7px; padding:16px 18px 18px; flex:1; min-width:0; }
.artpage .artrel .rc-meta { font:600 11.5px/1.3 var(--f-mono); letter-spacing:.02em; color:var(--faint); }
.artpage .artrel .relcard b { font:800 18px/1.25 var(--f-display); letter-spacing:-.02em; color:var(--ink);
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.artpage .artrel .rc-desc { font:500 14px/1.55 var(--f-body); color:var(--muted); display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.artpage .artrel .rc-go { margin-top:auto; padding-top:6px; font:800 13.5px var(--f-body); color:var(--accent); display:inline-flex; gap:6px; align-items:center; }
.artpage .artrel .rc-go i { font-style:normal; transition:transform .18s; }
.artpage .artrel .relcard:hover .rc-go i { transform:translateX(4px); }
/* featured first card: two columns wide, picture beside the text */
.artpage .artrel .rc-feat { grid-column:span 2; }
.artpage .artrel .rel-n1 .rc-feat, .artpage .artrel .rel-n2 .rc-feat { grid-column:auto; }
.artpage .artrel .rel-n5 .rc-feat .relcard, .artpage .artrel .rel-n1 .rc-feat .relcard { flex-direction:row; }
.artpage .artrel .rel-n5 .rc-feat .rc-img, .artpage .artrel .rel-n1 .rc-feat .rc-img { aspect-ratio:auto; width:46%; min-height:250px; }
.artpage .artrel .rc-feat .rc-b { padding:20px 22px; justify-content:center; }
.artpage .artrel .rc-feat b { font-size:clamp(19px,1.8vw,23px); -webkit-line-clamp:4; }
.artpage .artrel .rc-feat .rc-desc { -webkit-line-clamp:4; }
.artpage .artrel .rc-feat .rc-cover i { width:110px; height:110px; font-size:58px; border-radius:30px; }
@media (max-width:960px) {
  .artpage .artrel .relgrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .artpage .artrel .rel-n3 > li:first-child, .artpage .artrel .rel-n5 .rc-feat { grid-column:1 / -1; }
  .artpage .artrel .rel-n3 > li:first-child .relcard { flex-direction:row; }
  .artpage .artrel .rel-n3 > li:first-child .rc-img { aspect-ratio:auto; width:50%; min-height:210px; }
}
/* phones: one column; the first card keeps a big picture, the rest become compact rows with a square thumbnail */
@media (max-width:640px) {
  .artpage .artrel { margin:36px -6px 8px; padding:22px 14px 16px; border-radius:22px; }
  .artpage .artrel .relhead { margin-bottom:16px; }
  .artpage .artrel .relgrid, .artpage .artrel .rel-n2, .artpage .artrel .rel-n4 { grid-template-columns:1fr; gap:12px; }
  .artpage .artrel .relgrid > li { grid-column:auto !important; }
  .artpage .artrel .relgrid > li:first-child .relcard { flex-direction:column !important; }
  .artpage .artrel .relgrid > li:first-child .rc-img { width:100% !important; min-height:0 !important; aspect-ratio:16/9 !important; }
  .artpage .artrel .relgrid > li:first-child .rc-b { padding:16px 16px 18px; }
  .artpage .artrel .relgrid > li:not(:first-child) .relcard { flex-direction:row; border-radius:16px; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-img { width:104px; aspect-ratio:auto; min-height:104px; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-cover i { width:54px; height:54px; font-size:28px; border-radius:16px; box-shadow:none; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-kind { left:6px; top:6px; font-size:9px; padding:5px 6px; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-b { padding:12px 14px; gap:4px; }
  .artpage .artrel .relgrid > li:not(:first-child) b { font-size:16px; -webkit-line-clamp:2; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-desc { font-size:13px; -webkit-line-clamp:2; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-go { display:none; }
  .artpage .artrel .relcard:hover { transform:none; }
}
@media (prefers-reduced-motion: reduce) { .artpage .artrel .relcard, .artpage .artrel .rc-img img, .artpage .artrel .rc-cover i { transition:none; } }

/* the author line at the foot of each card */
.artpage .artrel .rc-foot { margin-top:auto; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 10px; padding-top:12px; border-top:1px solid #E7F0EC; }
.artpage .artrel .rc-foot .rc-go { margin:0 0 0 auto; padding:0; white-space:nowrap; }
.artpage .artrel .rc-auth { display:flex; align-items:center; gap:8px; min-width:0; }
.artpage .artrel .rc-auth img, .artpage .artrel .rc-auth > i { width:28px; height:28px; flex:none; border-radius:50%; object-fit:cover; margin:0; box-shadow:0 0 0 2px #FFFFFF, 0 0 0 3.5px #3DDC97; }
.artpage .artrel .rc-auth > i { display:grid; place-items:center; font:800 11px/1 system-ui,sans-serif; font-style:normal; color:#FFFFFF; background:#0E6B4F; }
.artpage .artrel .rc-auth > span { display:flex; align-items:center; gap:6px; min-width:0; }
.artpage .artrel .rc-auth strong { display:inline; font:700 13px/1.2 'Plus Jakarta Sans',system-ui,sans-serif; color:#0E1A16; white-space:nowrap; }
.artpage .artrel .rc-fb { flex:none; font:700 9.5px/1 'IBM Plex Mono',ui-monospace,monospace; letter-spacing:.08em; text-transform:uppercase; padding:4px 6px; border-radius:999px; background:#F2B33D; color:#2A1A00; }
@media (max-width:640px) {
  .artpage .artrel .relgrid > li:not(:first-child) .rc-foot { border-top:0; padding-top:2px; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-auth img, .artpage .artrel .relgrid > li:not(:first-child) .rc-auth > i { width:20px; height:20px; box-shadow:0 0 0 1.5px #3DDC97; font-size:8px; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-auth strong { font-size:12px; }
  .artpage .artrel .relgrid > li:not(:first-child) .rc-fb { font-size:8.5px; padding:3px 5px; }
}
.artpage .artrel .rc-foot { border-top-color:var(--line); } .artpage .artrel .rc-auth strong { color:var(--ink); } .artpage .artrel .rc-auth img, .artpage .artrel .rc-auth > i { box-shadow:0 0 0 2px var(--surface), 0 0 0 3.5px var(--mint); }
/* ---------- author box: green banner, photo over it, expertise chips (this article's topics lit), stats, profiles ---------- */
.artpage .artauthor { position:relative; display:block; margin:40px 0 8px; padding:0 26px 22px; overflow:hidden; border-radius:24px; border:1px solid var(--line); background:var(--surface); box-shadow:var(--shadow); }
.artpage .artauthor .aa-band { height:92px; margin:0 -26px; background:radial-gradient(360px 160px at 88% -20px, rgba(61,220,151,.55), transparent 70%), radial-gradient(260px 140px at 8% 130%, rgba(242,179,61,.28), transparent 70%), linear-gradient(120deg,#06120D,#0E6B4F 70%,#15906B); position:relative; }
.artpage .artauthor .aa-band::after { content:""; position:absolute; inset:0; background-image:radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.4px); background-size:18px 18px; -webkit-mask-image:linear-gradient(90deg,transparent,#000 40%); mask-image:linear-gradient(90deg,transparent,#000 40%); }
.artpage .artauthor .aa-head { display:flex; align-items:flex-start; gap:18px; margin-top:-48px; position:relative; }
.artpage .artauthor .aa-pic { flex:none; display:block; border-radius:50%; padding:4px; background:var(--surface); box-shadow:0 10px 24px -10px rgba(6,18,13,.45); }
.artpage .artauthor .aa-img { display:block; width:104px; height:104px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 3px var(--mint); }
.artpage .artauthor .aa-pic.is-founder .aa-img { box-shadow:0 0 0 3px var(--gold); }
.artpage .artauthor .aa-img.noimg { display:grid; place-items:center; font:800 30px var(--f-display); color:#fff; background:linear-gradient(145deg,#15906B,#0A4E3A); }
.artpage .artauthor .aa-id { display:flex; flex-wrap:wrap; align-items:center; gap:2px 10px; min-width:0; padding-top:60px; }
.artpage .artauthor .hint { flex-basis:100%; font:700 11px/1.4 var(--f-mono); letter-spacing:.14em; text-transform:uppercase; color:var(--faint); }
.artpage .artauthor .aa-name { font:800 clamp(22px,2.6vw,27px)/1.1 var(--f-display); letter-spacing:-.03em; color:var(--ink); text-decoration:none; }
.artpage .artauthor .aa-name:hover { color:var(--accent); }
.artpage .artauthor .aa-fb { font:700 10px/1 var(--f-mono); letter-spacing:.1em; text-transform:uppercase; padding:5px 8px; border-radius:999px; background:var(--gold); color:#2A1A00; }
.artpage .artauthor .aa-role { flex-basis:100%; margin-top:4px; font:700 14.5px/1.4 var(--f-body); color:var(--accent); opacity:1; }
.artpage .artauthor .aa-bio { margin:16px 0 0; font:500 15.5px/1.7 var(--f-body); color:var(--muted); max-width:66ch; }
.artpage .artauthor .aa-skills { margin-top:16px; }
.artpage .artauthor .aa-lbl { display:block; margin-bottom:8px; font:700 11px/1 var(--f-mono); letter-spacing:.12em; text-transform:uppercase; color:var(--faint); }
.artpage .artauthor .aa-skills ul { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:7px; }
.artpage .artauthor .aa-skills li { margin:0; padding:6px 11px; border-radius:999px; font:600 12.5px/1.2 var(--f-body); color:var(--muted); background:var(--surface-2); border:1px solid var(--line); }
.artpage .artauthor .aa-skills li::before { content:none; }
.artpage .artauthor .aa-skills li.hit { color:#06120D; background:linear-gradient(135deg,#3DDC97,#A8F0CF); border-color:transparent; font-weight:800; }
.artpage .artauthor .aa-skills li.hit::before { content:"✓ "; }
.artpage .artauthor .aa-foot { display:flex; flex-wrap:wrap; align-items:center; gap:12px 16px; margin-top:20px; padding-top:16px; border-top:1px dashed var(--line); }
.artpage .artauthor .aa-stat { font:500 13.5px/1.4 var(--f-body); color:var(--muted); }
.artpage .artauthor .aa-stat b { font:800 15px var(--f-display); color:var(--ink); }
.artpage .artauthor .aa-stat i { font-style:normal; margin:0 7px; color:var(--faint); }
.artpage .artauthor .aa-links { display:flex; flex-wrap:wrap; gap:6px; margin:0; }
.artpage .artauthor .aa-links a { font:700 12.5px/1 var(--f-body); padding:7px 11px; border-radius:999px; border:1px solid var(--line); color:var(--ink); text-decoration:none; background:var(--surface); transition:border-color .15s, color .15s; }
.artpage .artauthor .aa-links a:hover { border-color:var(--accent); color:var(--accent); }
.artpage .artauthor .aa-links a::after { content:" ↗"; color:var(--faint); }
.artpage .artauthor .aa-more { margin-left:auto; font:800 14px var(--f-body); color:var(--accent-ink); background:var(--accent); padding:10px 16px; border-radius:12px; text-decoration:none; box-shadow:0 4px 0 #0A4E3A; transition:transform .12s, box-shadow .12s; white-space:nowrap; }
.artpage .artauthor .aa-more:hover { transform:translateY(-1px); box-shadow:0 5px 0 #0A4E3A; }
.artpage .artauthor .aa-more i { font-style:normal; }
@media (max-width:640px) {
  .artpage .artauthor { margin:32px -4px 8px; padding:0 16px 18px; border-radius:20px; }
  .artpage .artauthor .aa-band { height:78px; margin:0 -16px; }
  .artpage .artauthor .aa-head { flex-direction:column; align-items:flex-start; gap:10px; margin-top:-46px; }
  .artpage .artauthor .aa-img { width:88px; height:88px; }
  .artpage .artauthor .aa-id { padding-top:0; }
  .artpage .artauthor .aa-bio { font-size:15px; line-height:1.65; }
  .artpage .artauthor .aa-skills ul { gap:6px; }
  .artpage .artauthor .aa-skills li { font-size:12px; padding:5px 10px; }
  .artpage .artauthor .aa-foot { flex-direction:column; align-items:stretch; gap:12px; }
  .artpage .artauthor .aa-more { margin-left:0; text-align:center; padding:13px 16px; }
}
/* blog index */
.artpage .artindex h1 { font:800 clamp(34px,5.4vw,54px)/1.04 var(--f-display); letter-spacing:-.045em; }

/* ---------- footer: the home page's night footer ---------- */
.artpage .site-foot { background:var(--night); color:#A9C2B8; border-top:0; margin-top:40px;
  background-image:radial-gradient(700px 300px at 90% 0, rgba(61,220,151,.12), transparent 70%); }
.artpage .site-foot h3 { font:700 11.5px var(--f-mono); letter-spacing:.12em; text-transform:uppercase; color:#6FA58F; }
.artpage .site-foot a { color:#D6E6DF; }
.artpage .site-foot a:hover { color:var(--mint); }
/* base.css draws footer links as white cards on phones (and a light hover): on the night footer that left
   #D6E6DF text on white, 1.29:1 (PageSpeed contrast fail on every Hub page, 13 Nov 2026) */
.artpage .site-foot .fl a, .artpage .site-foot .fl button { background:rgba(255,255,255,.035); border-color:rgba(255,255,255,.09); }
.artpage .site-foot .fl a:hover, .artpage .site-foot .fl button:hover { background:rgba(61,220,151,.10); color:var(--mint); }
@media (min-width:761px) { .artpage .site-foot .fl a, .artpage .site-foot .fl button { background:none; } }
.artpage .site-foot .logo { color:#fff; }
.artpage .site-foot .fnote, .artpage .site-foot .legalrow { color:#8DA79D; }
.artpage .site-foot .fli { color:var(--mint); }
.artpage .site-foot .ffeat { border-top-color:rgba(255,255,255,.08); }
.artpage .site-foot .ffeat span { color:#7FA394; }
.artpage .site-foot .seg button { color:#A9C2B8; }
.artpage .site-foot .seg { background:#0B2A20; border-color:#14301F; }
.artpage .site-foot .seg button[aria-pressed="true"] { background:#1C4A37; color:#fff; box-shadow:none; }

@media (max-width:760px) {
  .artpage .artbody { font-size:16.5px; }
  .artpage .artbody ol > li { padding:11px 12px 11px 50px; }
  .artpage .artbody ol > li::before { left:10px; width:28px; height:28px; }
  .artpage .artcta { padding:22px 20px; }
  .artpage .arttable th { padding:10px 10px; font-size:10.5px; }
  .artpage .arttable td, .artpage .arttable tbody th[scope="row"] { padding:9px 10px; font-size:14px; }
}
@media (prefers-reduced-motion: reduce) { .artpage * { transition:none !important; } }
