/* R76 GTA 6 blog. Loaded only on blog pages, after gta6.css (the guide's sunset palette). Mobile first (375 px),
   comfortable reading width, one dominant action per page. No motion beyond a short hover lift (and none if reduced). */
.gx-blog .bl-wrap { max-width: 1080px; }
.bl-mast { padding: 18px 0 8px; }
.bl-mast h1 { margin: 4px 0 10px; font: 800 clamp(30px, 6vw, 52px)/1.04 var(--display); letter-spacing: -.03em; color: var(--gx-ink); }
.bl-mast .lede { margin: 0 0 16px; max-width: 62ch; color: #ecdfee; font-size: clamp(16px, 2.2vw, 18px); line-height: 1.55; }
.bl-kicker { margin: 0; color: var(--gx-sun); font: 700 12px/1.4 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.bl-kicker a { color: inherit; }
.bl-topics ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bl-topics a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--gx-line); border-radius: 999px; background: var(--gx-panel); color: var(--gx-ink); font: 700 14px/1.2 var(--body); text-decoration: none; }
.bl-topics a:hover, .bl-topics a:focus-visible { border-color: var(--gx-coral); }
.bl-topics a[aria-current="page"] { background: linear-gradient(135deg, var(--gx-pink), var(--gx-coral)); border-color: transparent; color: #1b0716; }
.bl-sec { margin: 30px 0; }
.bl-sec > h2, .bl-src h2, .bl-related h2 { margin: 0 0 14px; font: 800 clamp(22px, 3.2vw, 28px)/1.15 var(--display); letter-spacing: -.02em; }

/* Cards: the headline link covers the card (one tab stop, no nested links). */
.bl-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--gx-line); border-radius: 20px; background: var(--gx-panel); transition: transform .18s ease, border-color .18s ease; }
.bl-card:hover { transform: translateY(-2px); border-color: rgba(255, 138, 101, .55); }
.bl-card:focus-within { border-color: var(--gx-coral); box-shadow: 0 0 0 3px rgba(255, 138, 101, .35); }
.bl-card h2, .bl-card h3, .bl-card h4 { margin: 6px 0 6px; font: 800 18px/1.25 var(--display); letter-spacing: -.01em; }
.bl-card h2 a, .bl-card h3 a, .bl-card h4 a { color: var(--gx-ink); text-decoration: none; }
.bl-card h2 a::after, .bl-card h3 a::after, .bl-card h4 a::after { content: ""; position: absolute; inset: 0; }
.bl-card a:focus-visible { outline: none; }
.bl-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--gx-plum-2); }
.bl-img img { width: 100%; height: 100%; object-fit: cover; }
.bl-txt { padding: 14px 16px 16px; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; color: #d9c6dd; font: 600 13px/1.4 var(--body); }
.bl-topic { color: var(--gx-sun); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
a.bl-topic { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.bl-new, .bl-series { padding: 2px 8px; border-radius: 999px; background: rgba(69, 217, 200, .16); color: var(--gx-teal); font-size: 12px; font-weight: 800; }
.bl-dek { margin: 0; color: #e6d8e8; font-size: 15px; line-height: 1.5; }
.bl-lead h2 { font-size: clamp(24px, 4.6vw, 36px); line-height: 1.1; letter-spacing: -.02em; }
.bl-lead .bl-dek { font-size: clamp(15px, 2vw, 17px); }
.bl-lead .bl-txt { padding: 16px 18px 20px; }
.bl-top .bl-lead { border-color: rgba(255, 138, 101, .45); background: linear-gradient(160deg, rgba(255, 92, 138, .14), rgba(46, 20, 72, .7) 55%); }
.bl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.bl-grid > .bl-lead { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .bl-top .bl-lead { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; }
  .bl-top .bl-lead .bl-img { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .bl-top .bl-lead .bl-txt { padding: 26px 28px; }
}

/* Topic sections and compact lists */
.bl-tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.bl-tsec { padding: 18px; border: 1px solid var(--gx-line); border-radius: 20px; background: rgba(28, 11, 46, .55); }
.bl-tsec-h h3 { margin: 0 0 4px; font: 800 20px/1.2 var(--display); }
.bl-tsec-h h3 a { color: var(--gx-ink); text-decoration: none; }
.bl-tsec-h p { margin: 0 0 10px; color: #d9c6dd; font-size: 14px; line-height: 1.5; }
.bl-list { display: grid; gap: 8px; }
.bl-compact { border-radius: 14px; background: rgba(46, 20, 72, .5); }
.bl-compact .bl-txt { padding: 10px 12px; }
.bl-compact h4 { font: 700 15px/1.35 var(--body); margin: 2px 0 0; }
.bl-more, .bl-back, .bl-next { margin: 12px 0 0; font-weight: 700; }
.bl-more a, .bl-back a, .bl-next a { color: var(--gx-sun); display: inline-block; padding: 6px 0; }

/* Archive */
.bl-month { margin: 18px 0 6px; color: var(--gx-sun); font: 800 14px/1.3 var(--body); letter-spacing: .08em; text-transform: uppercase; }
.bl-archive { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--gx-line); }
.bl-archive li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--gx-line); }
.bl-archive time { color: #cdb9d2; font-size: 13px; padding-top: 3px; }
.bl-archive a { color: var(--gx-ink); font-weight: 700; overflow-wrap: anywhere; }
.bl-arch-topic { grid-column: 2; color: #bba7c0; font-size: 13px; }

/* Routes to the rest of the site */
.bl-routes ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bl-routes a { display: block; min-height: 44px; padding: 14px 16px; border: 1px solid var(--gx-line); border-radius: 16px; background: var(--gx-panel); color: var(--gx-ink); text-decoration: none; }
.bl-routes b { display: block; font: 800 16px/1.3 var(--display); }
.bl-routes span { color: #d9c6dd; font-size: 14px; }
.bl-fine { margin: 26px 0 10px; color: #bba7c0; font-size: 13px; }

/* Article */
.bl-article { max-width: 720px; margin: 0 auto; overflow-wrap: break-word; }
.bl-ahead { padding: 10px 0 6px; }
.bl-ahead h1 { margin: 6px 0 12px; font: 800 clamp(28px, 5.4vw, 44px)/1.08 var(--display); letter-spacing: -.025em; color: var(--gx-ink); }
.bl-ahead .lede { margin: 0 0 12px; color: #ecdfee; font-size: clamp(17px, 2.3vw, 19px); line-height: 1.55; }
.bl-by { margin: 0 0 18px; color: #d9c6dd; font-size: 14px; line-height: 1.6; }
.bl-by span { color: var(--gx-ink); font-weight: 700; }
.bl-answer { margin: 0 0 24px; padding: 18px 20px; border: 1px solid rgba(69, 217, 200, .4); border-left: 4px solid var(--gx-teal); border-radius: 16px; background: rgba(69, 217, 200, .07); }
.bl-answer h2 { margin: 0 0 8px; font: 800 14px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gx-teal); }
.bl-answer p { margin: 0 0 8px; font-size: 17px; line-height: 1.6; }
.bl-answer p:last-child, .bl-answer ul:last-child { margin-bottom: 0; }
.bl-body h2 { margin: 34px 0 10px; font: 800 clamp(21px, 3vw, 26px)/1.2 var(--display); letter-spacing: -.015em; color: var(--gx-ink); scroll-margin-top: 90px; }
.bl-body h3 { margin: 22px 0 8px; font: 800 18px/1.3 var(--body); }
.bl-body p, .bl-body li { color: #eee3f0; font-size: 17px; line-height: 1.7; }
.bl-body ol, .bl-body ul { padding-left: 22px; }
.bl-body li { margin: 6px 0; }
.bl-table { width: 100%; overflow-x: auto; margin: 14px 0 20px; border: 1px solid var(--gx-line); border-radius: 14px; }
.bl-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bl-table th, .bl-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--gx-line); }
.bl-table th { color: var(--gx-sun); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; background: rgba(28, 11, 46, .7); }
.bl-table tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  .bl-table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .bl-table.stack tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--gx-line); }
  .bl-table.stack td { display: block; padding: 3px 0; border: 0; }
  .bl-table.stack td[data-k]::before { content: attr(data-k) ": "; color: var(--gx-sun); font-weight: 700; }
}
.bl-note { margin: 22px 0; padding: 16px 18px; border: 1px solid var(--gx-line); border-radius: 16px; background: rgba(28, 11, 46, .6); }
.bl-note h2 { margin: 0 0 6px; font: 800 15px/1.3 var(--body); color: var(--gx-sun); }
.bl-note p { margin: 0 0 6px; }
.bl-spoiler { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 92, 138, .18); color: #ffb0c6; font-size: 12px; font-weight: 800; }
.bl-src { margin: 30px 0 10px; padding-top: 10px; border-top: 1px solid var(--gx-line); }
.bl-src ul { margin: 0; padding-left: 20px; }
.bl-src li { margin: 8px 0; color: #e6d8e8; font-size: 15px; overflow-wrap: anywhere; }
.bl-src .tag { margin-left: 4px; font-size: 11px; padding: 3px 8px; }
.bl-sdate { color: #bba7c0; font-size: 13px; }
.bl-related { max-width: 1080px; }
.gx-blog .newsletter-early { max-width: 1080px; }

/* Preview-only monetization blocks (never in production output; tests/blog.test.mjs). */
.ad-pv { margin: 26px auto; max-width: 760px; }
.ad-pv .ad-label { margin: 0 0 6px; color: #bba7c0; font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.ad-pv .ad-box { display: grid; place-content: center; gap: 4px; height: 100px; max-width: 320px; margin: 0 auto; padding: 8px; border: 1px dashed rgba(255, 179, 107, .55); border-radius: 14px; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 12px, transparent 12px 24px); text-align: center; color: #e6d8e8; }
.ad-pv-k { font-weight: 800; }
.ad-pv-c { color: #cdb9d2; font-size: 14px; }
.ad-pv .ad-why { margin: 6px 0 0; color: #bba7c0; font-size: 13px; }
.ad-pv[hidden] { display: none; }
.bl-support { margin: 26px 0; padding: 18px 20px; border: 1px solid rgba(255, 209, 102, .4); border-radius: 16px; background: rgba(255, 209, 102, .06); }
.bl-support h2 { margin: 0 0 6px; font: 800 18px/1.3 var(--display); }
@media (prefers-reduced-motion: reduce) { .bl-card { transition: none; } .bl-card:hover { transform: none; } }
/* Phones: the latest list reads like a publication's river (thumbnail + headline), only the lead card is full-bleed. */
@media (max-width: 640px) {
  .bl-grid .bl-card:not(.bl-lead) { flex-direction: row; align-items: stretch; }
  .bl-grid .bl-card:not(.bl-lead) .bl-img { flex: 0 0 96px; aspect-ratio: auto; min-height: 96px; }
  .bl-grid .bl-card:not(.bl-lead) .bl-txt { padding: 10px 12px; min-width: 0; }
  .bl-grid .bl-card:not(.bl-lead) h2, .bl-grid .bl-card:not(.bl-lead) h3 { font-size: 16px; line-height: 1.3; }
  .bl-grid .bl-card:not(.bl-lead) .bl-dek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; }
  .bl-grid { gap: 10px; }
  .bl-meta { font-size: 12px; }
}
@media (min-width: 500px) { .ad-pv .ad-box { max-width: 468px; height: 60px; } .ad-pv .ad-pv-c { display: none; } }
@media (min-width: 768px) { .ad-pv .ad-box { max-width: 728px; height: 90px; } .ad-pv .ad-pv-c { display: inline; } }
.ad-pv[data-state="nofill"] .ad-box > * { visibility: hidden; }
.bl-timeline { list-style: none; padding: 0; margin: 14px 0 20px; border-left: 2px solid rgba(255, 138, 101, .5); }
.bl-timeline li { position: relative; margin: 0 0 14px; padding-left: 18px; }
.bl-timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gx-coral); box-shadow: 0 0 0 3px rgba(255, 138, 101, .25); }
details.bl-note summary { cursor: pointer; font-weight: 800; color: var(--gx-ink); min-height: 44px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
details.bl-note[open] summary { margin-bottom: 8px; }
.bl-anchor { padding: 2px 8px; border-radius: 999px; background: rgba(255, 179, 107, .18); color: var(--gx-sun); font-size: 12px; font-weight: 800; }
/* R78 (MCR11 §5 tap targets): source links are list items, not inline text, so they get a 24 px target. */
.bl-src li a { display: inline-block; min-height: 24px; padding: 3px 0; }
/* MCR11 growth #5/#6 (11/25): on phones the lead's headline comes before its image, and an article's short answer
   comes before the tall hero image. */
.bl-jump { margin: 10px 0 0; font-weight: 700; }
.bl-jump a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gx-sun); }
.bl-answer .bl-jump a { color: var(--gx-teal); min-height: 32px; }
@media (max-width: 640px) {
  .bl-lead .bl-img { order: 2; }
  .bl-article { display: flex; flex-direction: column; }
  .bl-article > .bl-ahead { order: -2; }
  .bl-article > .bl-answer { order: -1; }
}
