.blog-page {
  padding-top: 64px;
}

.blog-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.blog-kicker {
  font-family: var(--fm);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
}

.blog-kicker a {
  color: inherit;
  text-decoration: none;
}

.blog-kicker a:hover {
  text-decoration: underline;
}

.blog-wrap > h1,
.blog-article > header h1 {
  font-family: var(--fh);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.blog-lead {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
}

.blog-muted {
  color: var(--muted);
}

.blog-list {
  display: grid;
  gap: 12px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--bdr);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  background: rgba(0, 255, 200, 0.04);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.blog-card:hover {
  border-color: var(--cyan);
  background: rgba(0, 255, 200, 0.08);
  transform: translateY(-1px);
}

.blog-card time,
.blog-article time {
  font-family: var(--fm);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card h2 {
  font-family: var(--fh);
  font-size: 1.25rem;
  color: #fff;
  margin: 0.35rem 0 0.4rem;
}

.blog-card p {
  color: var(--muted);
  margin: 0;
}

.blog-article header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--bdr);
}

.blog-body {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* :where keeps these as defaults. A <style> in the article overrides them. */
:where(.blog-body) h2,
:where(.blog-body) h3,
:where(.blog-body) h4 {
  font-family: var(--fh);
  color: #fff;
  margin: 1.6rem 0 0.6rem;
}

:where(.blog-body) p,
:where(.blog-body) ul,
:where(.blog-body) ol,
:where(.blog-body) blockquote {
  margin: 0 0 1rem;
}

:where(.blog-body) a {
  color: var(--cyan);
}

:where(.blog-body) img,
:where(.blog-body) iframe,
:where(.blog-body) video {
  max-width: 100%;
}

:where(.blog-body) blockquote {
  border-left: 3px solid var(--cyan);
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--muted);
}

:where(.blog-body) pre,
:where(.blog-body) code {
  font-family: var(--fm);
  font-size: 0.9em;
}

:where(.blog-body) pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 10px;
  background: #0b0b16;
  border: 1px solid var(--bdr);
}

:where(.blog-body) ul,
:where(.blog-body) ol {
  padding-left: 1.3rem;
}
