/* ============================================================
   nock_niel — blog styles
   Loaded on blog pages *after* css/style.css, which supplies the
   design tokens (:root), nav, footer, reveals and section-heading
   styles. This file only adds what the blog needs on top:
   listing cards, and the post reading layout.
   ============================================================ */

/* current-section nav link stays underlined */
.nav-links a.active::after { transform: scaleX(1); }

/* ============ BLOG HEADER (listing page) ============ */
#blogHero {
  background:
    radial-gradient(ellipse 90% 60% at 75% 15%, rgba(225,6,0,.14), transparent 60%),
    var(--black);
  padding: 170px 0 90px;
}
#blogHero .sec-title .ghost { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.blog-lede { max-width: 560px; font-size: 17px; color: #cfcabf; }
.blog-lede strong { color: var(--paper); }

/* ============ POST LIST ============ */
#posts {
  background: var(--black); padding: 30px 0 130px;
  background-image: linear-gradient(rgba(225,6,0,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(225,6,0,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid #2a2a2a; padding: 34px 28px;
  background: rgba(20,20,20,.6);
  text-decoration: none; color: var(--paper);
  transition: border-color .3s ease, transform .3s ease;
}
.post-card:hover { border-color: var(--red); transform: translateY(-6px); }
.post-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--grey);
}
.post-tag { color: #fff; background: var(--red); padding: 4px 9px; }
.post-card h3 { font-size: clamp(24px, 3vw, 34px); }
.post-card:hover h3 { color: var(--red); }
.post-card p { font-size: 15px; color: #a9a49a; flex: 1; }
.post-read {
  font-size: 12px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase;
}

/* "more coming" placeholder — not a link */
.post-card.soon { border-style: dashed; opacity: .75; }
.post-card.soon:hover { transform: none; border-color: #2a2a2a; }
.post-card.soon:hover h3 { color: var(--paper); }

/* ============ POST PAGE — HERO ============ */
.post-hero {
  background:
    radial-gradient(ellipse 90% 60% at 75% 15%, rgba(225,6,0,.14), transparent 60%),
    var(--black);
  padding: 170px 0 80px;
}
.post-hero .post-meta { margin-bottom: 22px; }
.post-title { font-size: clamp(40px, 7vw, 96px); color: var(--paper); }
.post-title .ghost { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.post-standfirst {
  margin-top: 28px; max-width: 620px; font-size: 19px; color: #cfcabf;
}
.post-standfirst strong { color: var(--paper); }

/* ============ POST PAGE — BODY ============ */
.post-body { background: var(--paper); color: var(--ink); padding: 90px 0 110px; }
.post-body article { max-width: 720px; }
.post-body p { margin-bottom: 24px; font-size: 18px; line-height: 1.75; color: #3c3a35; }
.post-body p strong { color: var(--ink); }
.post-body h2 {
  font-size: clamp(28px, 4vw, 44px); color: var(--ink);
  margin: 52px 0 20px;
}
.post-body h2 .slash { color: var(--red); }
.post-body ul, .post-body ol { margin: 0 0 24px 22px; }
.post-body li { margin-bottom: 10px; font-size: 18px; line-height: 1.7; color: #3c3a35; }
.post-body a { color: var(--red-dark); text-decoration-thickness: 2px; }
.post-body a:hover { color: var(--red); }
.post-body blockquote {
  font-family: var(--display); text-transform: uppercase;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.05;
  color: var(--ink); margin: 40px 0; padding-left: 20px;
  border-left: 6px solid var(--red);
}
.post-body figure { margin: 40px 0; }
.post-body figure img {
  width: 100%; height: auto;
  border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--red);
}
.post-body figcaption {
  margin-top: 18px; font-size: 13px; color: #7a7568;
  letter-spacing: .05em;
}
.post-body hr {
  border: none; height: 3px; width: 64px; background: var(--red);
  margin: 48px 0;
}

/* signature line at the end of a post */
.post-sign {
  margin-top: 56px; font-size: 13px; letter-spacing: .25em;
  text-transform: uppercase; font-weight: 700; color: #7a7568;
}
.post-sign b { color: var(--red); }

/* back link + prev/next row under the article */
.post-nav {
  margin-top: 64px; padding-top: 32px; border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px;
}
.post-nav a {
  text-decoration: none; font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink);
  transition: color .2s ease;
}
.post-nav a:hover { color: var(--red); }
