/* ============================================================
   GAME SEED ASSETS — blog.css
   Light reading theme on top of style.css. Same greens, same
   Baloo 2 headings / DM Sans body; only the tokens flip.
   ============================================================ */

body.blog {
  --bg: #fbfcf8;
  --surface: #ffffff;
  --surface-2: #f3f6ef;
  --line: rgba(14, 30, 18, 0.1);
  --line-g: rgba(62, 150, 40, 0.32);
  --green: #3f9a25;          /* darker green: readable as text on white */
  --green-l: #2f7d1a;
  --text: #15201a;
  --muted: rgba(21, 32, 26, 0.72);
  --dim: rgba(21, 32, 26, 0.5);
  background: var(--bg);
  color: var(--text);
}
body.blog ::selection { background: #c9f0a8; color: #10200f; }
body.blog .grad { background: linear-gradient(120deg, #3f9a25, #5cbf2e 60%, #7fd34a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* nav + footer on white */
body.blog .nav, body.blog .nav.scrolled { background: rgba(251, 252, 248, 0.94); border-bottom: 1px solid var(--line); }
body.blog .nav-links a:hover { background: rgba(14, 30, 18, 0.05); }
body.blog .btn-green { color: #071206; }
body.blog .btn-ghost { background: #fff; }
@media (max-width: 860px) {
  body.blog .nav-links { background: rgba(251, 252, 248, 0.99); }
}
body.blog .footer { background: var(--surface-2); }

/* related asset cards keep their own look on white */
body.blog .cap { box-shadow: 0 1px 0 rgba(14, 30, 18, 0.04); }
body.blog .cap-media { background: #eef2ea; }
body.blog .tag { color: #2f7d1a; background: rgba(63, 154, 37, 0.09); }
body.blog .tag-price { color: var(--text); background: #f1f3ee; }
body.blog .store-chip { background: #fff; }

/* ── article ─────────────────────────────────────────────── */
.bp { padding: calc(var(--nav-h) + 34px) 0 40px; }
.bp-article { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.bp-head { max-width: 760px; margin: 0 auto 30px; text-align: left; }
.bp-kicker { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.bp-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.06; letter-spacing: -0.01em; margin-bottom: 16px; }
.bp-dek { font-size: 1.16rem; line-height: 1.6; color: var(--muted); }
.bp-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 0.86rem; color: var(--dim); line-height: 1.4; }
.bp-byline img { width: 34px; height: 34px; border-radius: 50%; background: #0b120d; padding: 5px; }
.bp-byline b { color: var(--text); font-weight: 600; }

.bp-hero { margin: 0 auto 44px; max-width: 1040px; }
.bp-hero img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; background: #0b120d; box-shadow: 0 30px 60px -40px rgba(14, 30, 18, 0.45); }
.bp-hero figcaption, .bp-body figcaption { font-size: 0.84rem; color: var(--dim); margin-top: 10px; line-height: 1.5; }
.bp-hero figcaption { text-align: center; }

.bp-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; }
.bp-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; font-size: 0.86rem; }
.bp-toc p { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.bp-toc ol { list-style: none; border-left: 2px solid var(--line); }
.bp-toc li a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.bp-toc li a:hover { color: var(--green); border-left-color: var(--green); }

/* body copy: tuned for long reading */
.bp-body { font-size: 1.08rem; line-height: 1.75; color: #1d2a22; }
.bp-body > * + * { margin-top: 1.15em; }
.bp-body h2 { font-size: clamp(1.55rem, 2.6vw, 1.95rem); line-height: 1.15; margin-top: 2.2em; color: var(--text); }
.bp-body h3 { font-size: 1.22rem; line-height: 1.25; margin-top: 1.8em; color: var(--text); }
.bp-body h2 + *, .bp-body h3 + * { margin-top: 0.6em; }
.bp-body a { color: var(--green-l); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bp-body a:hover { color: var(--green); }
.bp-body strong { color: var(--text); }
.bp-body ul, .bp-body ol { padding-left: 1.3em; }
.bp-body ul { list-style: disc; }
.bp-body ol { list-style: decimal; }
.bp-body li + li { margin-top: 0.45em; }
.bp-body li::marker { color: var(--green); }
.bp-body code { font-family: var(--mono); font-size: 0.88em; background: #eef2ea; padding: 2px 6px; border-radius: 6px; }
.bp-body blockquote { border-left: 3px solid var(--green); padding: 4px 0 4px 20px; color: var(--muted); font-style: italic; }
.bp-body blockquote cite { display: block; margin-top: 6px; font-style: normal; font-size: 0.86rem; color: var(--dim); }
.bp-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.bp-body figure { margin-top: 1.8em; margin-bottom: 1.8em; }
.bp-body figure img, .bp-body figure video { width: 100%; border-radius: 14px; border: 1px solid var(--line); background: #0b120d; }
.bp-body figure.plain img { background: transparent; border: 0; }
.bp-body figure svg { width: 100%; height: auto; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.bp-body .wide { margin-left: -60px; margin-right: -60px; }
.bp-body .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.bp-body .pair figure { margin: 0; }

/* callouts, tables, checklists */
.note { background: #f1f7ea; border: 1px solid rgba(63, 154, 37, 0.25); border-radius: 14px; padding: 16px 20px; font-size: 0.98rem; }
.note b:first-child { display: block; font-family: var(--display); font-size: 1.02rem; margin-bottom: 4px; }
.note.warn { background: #fff7e8; border-color: rgba(214, 150, 30, 0.35); }
.bp-body table { width: 100%; border-collapse: collapse; font-size: 0.94rem; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: block; overflow-x: auto; }
.bp-body thead th { background: #f1f4ed; font-family: var(--display); font-weight: 700; text-align: left; font-size: 0.95rem; }
.bp-body th, .bp-body td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bp-body tr:last-child td { border-bottom: 0; }
.bp-body .src { font-size: 0.8rem; color: var(--dim); }
.checklist { list-style: none !important; padding-left: 0 !important; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--green); }
.pull { font-family: var(--display); font-weight: 700; font-size: 1.45rem; line-height: 1.3; color: var(--text); padding: 6px 0 6px 22px; border-left: 4px solid var(--green); }

/* after the article */
.bp-after { max-width: 1040px; margin: 70px auto 0; padding: 0 28px; }
.bp-cta { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 28px 30px; border-radius: 20px; background: #0d130f; color: #f2f6f2; }
.bp-cta h2 { font-size: 1.5rem; color: #f2f6f2; margin-bottom: 6px; }
.bp-cta p { color: rgba(242, 246, 242, 0.7); max-width: 520px; font-size: 0.98rem; }
.bp-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.bp-cta .btn-ghost { background: transparent; color: #f2f6f2; border-color: rgba(255, 255, 255, 0.2); }
.bp-sub { font-size: 1.45rem; margin: 54px 0 18px; }
.bp-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bp-more a { display: block; height: 100%; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.3; transition: border-color 0.2s, transform 0.25s var(--ease); }
.bp-more a span { display: block; font-family: var(--mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.bp-more a:hover { border-color: var(--line-g); transform: translateY(-3px); }

/* ── blog home ───────────────────────────────────────────── */
.bp-home { max-width: 1120px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.bp-home-head { max-width: 720px; margin-bottom: 40px; }
.bp-home-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.04; margin-bottom: 14px; }
.bp-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s; }
.bp-card:hover { transform: translateY(-4px); border-color: var(--line-g); box-shadow: 0 24px 40px -30px rgba(14, 30, 18, 0.45); }
.bp-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #0b120d; }
.bp-card-body { padding: 18px 20px 22px; }
.bp-card h2 { font-size: 1.3rem; line-height: 1.2; margin: 6px 0 8px; }
.bp-card h2 a:hover { color: var(--green); }
.bp-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.bp-meta { display: flex; gap: 14px; font-family: var(--mono); font-size: 0.68rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green) !important; }
.bp-meta span + span { color: var(--dim); }
.bp-feature .bp-card { display: grid; grid-template-columns: 1.15fr 1fr; }
.bp-feature .bp-card-body { padding: 34px; align-self: center; }
.bp-feature .bp-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.bp-feature .bp-card p { font-size: 1.04rem; }
.bp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; }

@media (max-width: 1080px) {
  .bp-layout { grid-template-columns: minmax(0, 720px); }
  .bp-toc { position: static; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
  .bp-body .wide { margin-left: 0; margin-right: 0; }
}
@media (max-width: 760px) {
  .bp-feature .bp-card { grid-template-columns: 1fr; }
  .bp-feature .bp-card-body { padding: 20px; }
  .bp-grid, .bp-more { grid-template-columns: 1fr; }
  .bp-body { font-size: 1.02rem; }
  .bp-body .pair { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .bp-article, .bp-after, .bp-home { padding-left: 18px; padding-right: 18px; }
  .bp-cta { padding: 22px; }
}

/* the logo mark is white: give it a dark chip on the light nav and footer */
body.blog .brand img, body.blog .footer-brand img { background: #0d130f; border-radius: 9px; padding: 4px; box-sizing: content-box; }
body.blog .brand img { width: 28px; height: 28px; }

/* line the headline up with the article column (the TOC sits to its left) */
@media (min-width: 1081px) {
  .bp-head { max-width: 996px; padding-left: 276px; }
}
