/* blognet base: shared structure. Colours, fonts and the hero look come from themes/<theme>.css. Mobile first. */
:root {
  --bg: #fbfaf7; --paper: #ffffff; --ink: #191917; --ink-2: #3d3b36; --muted: #6b675f; --line: #e8e4db;
  --accent: #0f6e5c; --accent-2: #0b5546; --accent-soft: #e7f2ee; --warm: #f4efe4; --star: #e3a008;
  --good: #edf6ef; --good-line: #cfe6d5; --bad: #fbf0ee; --bad-line: #f1d6d0;
  --head: Georgia, serif; --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --head-w: 600; --head-ls: -.01em; --r: 14px; --btn-r: 999px;
  --shadow: 0 1px 2px rgba(25,25,23,.04), 0 8px 24px rgba(25,25,23,.06);
  --hero-bg: var(--bg); --hero-ink: var(--ink); --hero-ink-2: var(--ink-2); --hero-kicker: var(--accent);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { font-family: var(--head); font-weight: var(--head-w); line-height: 1.18; color: var(--ink); letter-spacing: var(--head-ls); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: .2em 0 .35em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); margin: 2.2em 0 .6em; }
h3 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 50; }
.kicker { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; font-family: var(--sans); }

/* header */
.site-head { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.brand b { font-family: var(--head); font-size: 1.3rem; font-weight: 700; letter-spacing: var(--head-ls); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font: 700 1rem var(--head); flex: none; }
.mark.big { width: 120px; height: 120px; border-radius: 28px; font-size: 3rem; }
.nav { display: flex; gap: 24px; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font: inherit; font-size: .9rem; color: var(--ink); }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 12px 20px 18px; gap: 12px; }
  .nav.open { display: flex; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border-radius: var(--btn-r); padding: 12px 22px; text-decoration: none; font-weight: 600; font-size: .95rem; border: 0; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--accent-2); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ink-2); color: var(--ink); }

/* hero (theme decides the look) */
.hero { padding: 64px 0 56px; background: var(--hero-bg); color: var(--hero-ink); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; }
.hero h1 { color: var(--hero-ink); margin-top: .3em; }
.hero .kicker { color: var(--hero-kicker); }
.hero p.lead { font-size: 1.16rem; color: var(--hero-ink-2); max-width: 620px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.hero .me { width: 300px; aspect-ratio: 4/5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.hero .monogram { display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.hero .monogram span { font: 700 5.5rem var(--head); color: #fff; letter-spacing: -.02em; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: var(--hero-ink-2); }
.hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hero-kicker); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; } .hero .me { width: 150px; order: -1; border-radius: 20px; } .hero .monogram span { font-size: 3rem; } .hero { padding: 36px 0 40px; } }

/* sections */
.section { padding: 52px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--warm); }
.card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-size: .8rem; color: var(--muted); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--ink-2); font-size: .92rem; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.pill span { color: var(--muted); }

/* featured */
.featured { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, .85fr); gap: 32px; align-items: start; border-bottom: 1px solid var(--line); }
.feat-img img { border-radius: var(--r); aspect-ratio: 16/10; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.feat-main h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); margin: .25em 0 .4em; }
.feat-main h2 a { color: var(--ink); text-decoration: none; }
.feat-main h2 a:hover { color: var(--accent); }
.feat-main p { color: var(--ink-2); }
.feat-main .btn { margin-top: 14px; }
.feat-side { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.feat-side > b { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--sans); }
.feat-side ol { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: n; }
.feat-side li { counter-increment: n; border-top: 1px solid var(--line); }
.feat-side li:first-child { border-top: 0; }
.feat-side li a { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 6px; padding: 11px 0; text-decoration: none; color: var(--ink); font-family: var(--head); font-size: 1.05rem; font-weight: var(--head-w); line-height: 1.3; }
.feat-side li a::before { content: counter(n, decimal-leading-zero); grid-row: 1 / span 2; font: 600 .78rem var(--sans); color: var(--accent); padding-top: 3px; }
.feat-side li a .kicker { font-size: .64rem; margin-bottom: 2px; }
.feat-side li a:hover { color: var(--accent); }
@media (max-width: 1000px) { .featured { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .feat-side { grid-column: 1 / -1; } }
@media (max-width: 680px) { .featured { grid-template-columns: minmax(0, 1fr); gap: 22px; } }
.pr-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; font-size: .84rem; color: var(--muted); }
.pr-meta a.kicker { text-decoration: none; }

/* topic tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tiles { gap: 10px; } .tile { padding: 14px !important; } .tile b { font-size: 1.02rem !important; } .tile p { font-size: .84rem !important; } }
@media (max-width: 340px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, transform .15s; position: relative; }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.tile .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--c); opacity: .9; margin-bottom: 6px; }
.tile b { font-family: var(--head); font-size: 1.18rem; color: var(--ink); font-weight: var(--head-w); }
.tile p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.5; flex: 1; }
.tile .n { font-size: .8rem; font-weight: 600; color: var(--accent); }

/* post list */
.post-list { border-top: 1px solid var(--line); }
.post-row { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; }
.post-row .pr-img img { border-radius: 10px; aspect-ratio: 16/10; object-fit: cover; }
.post-row h3 { margin: 6px 0 6px; font-size: 1.35rem; }
.post-row h3 a { color: var(--ink); text-decoration: none; }
.post-row h3 a:hover { color: var(--accent); }
.post-row p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.6; }
@media (max-width: 560px) { .post-row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; } .post-row h3 { font-size: 1.1rem; } .post-row p { display: none; } }

/* about strip */
.aboutstrip { background: var(--warm); border-radius: calc(var(--r) + 6px); padding: 34px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 26px; align-items: center; }
.aboutstrip img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.aboutstrip h2 { margin: 0 0 .4em; }
@media (max-width: 620px) { .aboutstrip { grid-template-columns: 1fr; padding: 24px; } }
.about-img { width: 200px; border-radius: 20px; margin: 8px 0 24px; }

/* article */
.crumbs { font-size: .85rem; color: var(--muted); margin: 26px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.byline { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; margin: 6px 0 22px; flex-wrap: wrap; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--ink); font-weight: 600; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
.article-layout > * { min-width: 0; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.hero-img { border-radius: 18px; margin: 0 0 28px; width: 100%; aspect-ratio: 16/9; object-fit: cover; box-shadow: var(--shadow); }
.prose { font-size: 1.06rem; color: var(--ink-2); }
.prose h2 { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.prose th, .prose td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-family: var(--sans); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--warm); }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); margin: 0 0 24px; }
.tbl table { min-width: 560px; }
.tname { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.tname img { width: 24px; height: 24px; border-radius: 6px; }
.takeaways { background: var(--accent-soft); border-radius: var(--r); padding: 20px 24px; margin: 0 0 28px; }
.takeaways h2 { margin: 0 0 8px; font-size: 1.25rem; }
.takeaways ul { margin: 0; }
.note { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--line); padding: 2px 0 2px 14px; margin: 0 0 24px; }
.pick { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: 24px; margin: 0 0 28px; box-shadow: var(--shadow); }
.pick-head { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.pick-head .logo { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.pick-head .rank { font: 700 .78rem var(--sans); letter-spacing: .1em; color: var(--accent); }
.pick-head h3 { margin: 0; font-size: 1.45rem; }
.pick-head .bf { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.rating { font-size: .88rem; color: var(--muted); margin-top: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.stars { --r: 4; display: inline-block; font-size: 1rem; line-height: 1; letter-spacing: 1px; background: linear-gradient(90deg, var(--star) calc(var(--r) / 5 * 100%), #d8d2c4 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars::before { content: "★★★★★"; }
.visit { white-space: nowrap; }
@media (max-width: 620px) { .pick-head { grid-template-columns: 48px minmax(0, 1fr); } .pick-head .logo { width: 48px; height: 48px; } .pick-head .visit { grid-column: 1 / -1; justify-content: center; white-space: normal; text-align: center; } .pick { padding: 18px; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.facts div { background: var(--warm); border-radius: 12px; padding: 10px 14px; font-size: .93rem; }
.facts small { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }
.shot { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 18px; width: 100%; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.pc > div { border-radius: 12px; padding: 14px 16px; font-size: .95rem; }
.pc .pros { background: var(--good); border: 1px solid var(--good-line); }
.pc .cons { background: var(--bad); border: 1px solid var(--bad-line); }
.pc b { display: block; margin-bottom: 4px; color: var(--ink); }
.pc ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 620px) { .pc { grid-template-columns: 1fr; } }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; }
.sources { font-size: .88rem; color: var(--muted); }
.sources a { word-break: break-all; color: var(--muted); }
.authorbox { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; background: var(--warm); border-radius: 18px; padding: 22px; margin: 40px 0; }
.authorbox img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.authorbox p { margin: 4px 0 0; font-size: .95rem; color: var(--ink-2); }
.vendorbox { border: 1px dashed var(--line); border-radius: 14px; padding: 16px 18px; font-size: .92rem; color: var(--muted); margin: 0 0 24px; }
.toc { position: sticky; top: 92px; font-size: .9rem; }
.toc b { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 14px; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc li a:hover { color: var(--accent); }

/* forms */
.form { display: grid; gap: 14px; max-width: 620px; }
.form label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.form textarea { min-height: 130px; }
.form small { color: var(--muted); }

/* footer */
.site-foot { border-top: 1px solid var(--line); margin-top: 64px; padding: 44px 0 48px; font-size: .92rem; color: var(--muted); background: var(--foot-bg, transparent); }
.site-foot .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.site-foot b { color: var(--foot-ink, var(--ink)); display: block; margin-bottom: 8px; font-family: var(--head); font-size: 1.05rem; }
.site-foot a { color: var(--foot-link, var(--muted)); text-decoration: none; display: block; padding: 3px 0; }
.site-foot a:hover { color: var(--accent); }
.site-foot p { color: var(--foot-text, var(--muted)); }
.site-foot .copy { grid-column: 1 / -1; border-top: 1px solid var(--foot-line, var(--line)); padding-top: 18px; font-size: .85rem; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .wrap > div:first-child { grid-column: 1 / -1; } }

/* Online Jobs (online-jobs.org): confident career magazine, graphite + lime, serif display headings. */
:root {
  --bg: #f7f7f2; --paper: #ffffff; --ink: #14170f; --ink-2: #3a3f33; --muted: #6b7062; --line: #e3e4da;
  --accent: #4d7c0f; --accent-2: #3f6212; --accent-soft: #eef6de; --warm: #f0f1e8;
  --head: "DM Serif Display", Georgia, serif; --sans: "DM Sans", system-ui, sans-serif; --head-w: 400; --head-ls: -.005em;
  --r: 14px; --btn-r: 10px;
  --hero-bg: radial-gradient(800px 400px at 85% 20%, rgba(163,230,53,.18) 0%, transparent 60%), linear-gradient(160deg, #15180f 0%, #1f2416 60%, #171a10 100%);
  --hero-ink: #f6f7ee; --hero-ink-2: #c6cbb6; --hero-kicker: #a3e635;
}
.hero { padding: 80px 0 72px; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); }
.hero h1 em { font-style: italic; color: #a3e635; }
.hero .btn { background: #a3e635; color: #15180f; }
.hero .btn:hover { background: #bef264; color: #15180f; }
.hero .btn.ghost { background: transparent; color: #f6f7ee; border-color: rgba(255,255,255,.25); }
.hero .wrap { grid-template-columns: minmax(0, 1fr) 340px; }
.hero-art { position: relative; height: 320px; }
.hero-art span { position: absolute; left: 0; right: 0; height: 74px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.hero-art span::before { content: ""; position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 10px; background: #a3e635; opacity: .9; }
.hero-art span::after { content: ""; position: absolute; left: 72px; top: 24px; width: 55%; height: 10px; border-radius: 6px; background: rgba(255,255,255,.35); box-shadow: 0 18px 0 -2px rgba(255,255,255,.16); }
.hero-art span:nth-child(1) { top: 0; transform: translateX(30px); }
.hero-art span:nth-child(2) { top: 84px; }
.hero-art span:nth-child(2)::before { background: #facc15; }
.hero-art span:nth-child(3) { top: 168px; transform: translateX(18px); }
.hero-art span:nth-child(3)::before { background: #38bdf8; }
.hero-art span:nth-child(4) { top: 252px; transform: translateX(44px); opacity: .6; }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero-art { display: none; } }
.mark { border-radius: 10px; background: #15180f; color: #a3e635; font-family: var(--head); }
.kicker { color: var(--accent); }
.card h3, .post-row h3, .feat-main h2, .tile b { letter-spacing: 0; }
.tile .dot { border-radius: 8px; width: 30px; height: 30px; }
.aboutstrip { background: #15180f; color: #f6f7ee; }
.aboutstrip h2 { color: #fff; } .aboutstrip p { color: #c6cbb6; }
.aboutstrip a { color: #a3e635; }
.aboutstrip .mark.big { background: #a3e635; color: #15180f; }
.site-foot { background: #15180f; border-top: 0; --foot-ink: #fff; --foot-text: #aab09b; --foot-link: #d4d8c6; --foot-line: #2b3020; }
.site-foot a:hover { color: #a3e635; }
