/* Blog / article pages — lightweight, same visual language as the homepage */
:root { --orange: #ff6b1a; --bg: #080808; --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --serif: "Playfair Display", Georgia, serif; }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: rgba(255,255,255,.78); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--orange); color: #000; }

.a-nav { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; background: rgba(8,8,8,.88); border-bottom: 1px solid rgba(255,255,255,.06); }
@media (min-width: 768px) { .a-nav { padding: 1.25rem 5rem; } }
.a-brand { display: flex; align-items: baseline; gap: .5rem; color: #fff; }
.a-brand:hover { text-decoration: none; opacity: .8; }
.a-brand b { font-weight: 900; letter-spacing: -.05em; font-size: 1.125rem; }
.a-brand span { font-size: 9px; letter-spacing: .35em; text-transform: uppercase; color: var(--orange); }
.a-nav nav { display: flex; gap: 1.5rem; font-size: 11px; text-transform: uppercase; letter-spacing: .25em; }
.a-nav nav a { color: rgba(255,255,255,.5); }
.a-nav nav a:hover { color: #fff; text-decoration: none; }

.article { max-width: 46rem; margin: 0 auto; padding: 4rem 1.5rem 6rem; }
.crumbs { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 2.5rem; }
.crumbs a { color: rgba(255,255,255,.5); }
.kicker { font-size: 10px; color: var(--orange); letter-spacing: .5em; text-transform: uppercase; font-weight: 500; margin: 0 0 1.25rem; }
.article h1 { color: #fff; font-weight: 900; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(2.2rem, 5.5vw, 3.75rem); margin: 0 0 1.5rem; }
.meta { font-size: 12px; color: rgba(255,255,255,.35); letter-spacing: .05em; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.article h2 { color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin: 3rem 0 1rem; }
.article p, .article li { font-size: 1.0625rem; line-height: 1.75; font-weight: 300; }
.article p { margin: 0 0 1.25rem; }
.article strong { color: #fff; font-weight: 600; }
.article em { font-family: var(--serif); color: rgba(255,255,255,.92); }
.article u { text-decoration-color: rgba(255,107,26,.6); text-underline-offset: 3px; }

pre { background: #111; border: 1px solid rgba(255,255,255,.08); border-radius: .75rem; padding: 1.1rem 1.25rem; overflow-x: auto; margin: 0 0 1.5rem; }
code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9rem; color: #ffd7bf; }
p code, li code { background: rgba(255,255,255,.06); padding: .1em .35em; border-radius: .3em; }

.table-wrap { overflow-x: auto; margin: 0 0 2rem; border: 1px solid rgba(255,255,255,.08); border-radius: .75rem; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
caption { text-align: left; padding: 1rem 1.25rem; color: #fff; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.08); }
th, td { padding: .7rem 1.25rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,.05); white-space: nowrap; }
th { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 500; }
td:first-child { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.03); }

.note { border-left: 2px solid var(--orange); background: rgba(255,107,26,.06); padding: 1rem 1.25rem; border-radius: 0 .75rem .75rem 0; margin: 2rem 0; }
.note p:last-child { margin: 0; }

/* Proportional ad-size preview (replaces the old GIF) */
.sizes { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; margin: 0 0 2.5rem; padding: 1.5rem; border: 1px solid rgba(255,255,255,.08); border-radius: .75rem; background: #0d0d0d; }
.sz { position: relative; border: 1px solid rgba(255,107,26,.55); background: rgba(255,107,26,.07); display: flex; align-items: center; justify-content: center; font-size: 10px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.sz span { padding: 2px 4px; white-space: nowrap; }

.more { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08); }
.more h2 { font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.4); font-weight: 500; margin: 0 0 1rem; }
.more ul { list-style: none; padding: 0; margin: 0; }
.more li a { display: block; padding: .9rem 0; color: #fff; font-weight: 700; letter-spacing: -.02em; border-bottom: 1px solid rgba(255,255,255,.06); }
.more li a:hover { color: var(--orange); text-decoration: none; }

.a-foot { border-top: 1px solid rgba(255,255,255,.06); padding: 2rem 1.5rem; text-align: center; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.25); }
.a-foot a { color: rgba(255,255,255,.45); }

/* ── Imported posts ─────────────────────────────────────── */
.article h3 { color: #fff; font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; margin: 2.25rem 0 .75rem; }
.article img { max-width: 100%; height: auto; border-radius: .5rem; margin: .5rem 0 1rem; }
.article ul, .article ol { padding-left: 1.25rem; margin: 0 0 1.5rem; }
.article blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 2px solid rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.article td { white-space: normal; }
.li-meta { display: block; margin-bottom: .3rem; font-size: 10px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.more.list li a { padding: 1.1rem 0; }
.cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.cats a { padding: .45rem 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cats a:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }
