/* ============================================================
   blog.css — components for /blog/* pages.
   Palette is the 5 flagon.ai colors (already defined in visual-system.css).
   ============================================================ */

/* ── Sub-nav — sticky category strip, no fill ──
   Pattern adapted from the Claude Design "Blog Page.html" handoff: pill tabs
   with count chips, ember-underlined active state, expandable search, and a
   left-bordered tools group on the right. Palette mapped to our olive/ember.
   Container itself is transparent — page background reads through; a single
   hairline at the bottom is the only separator. */
.blog-subnav {
  position: sticky;
  top: 72px;
  z-index: 50;
  margin-top: 28px;
  background: transparent;
  border-bottom: 1px solid rgba(65, 54, 32, 0.16);
}

/* Blog-only: float nav scrolls away, strip pins to viewport top. */
/* `overflow-x: hidden` on body creates a scroll container that breaks sticky
   against the viewport. `clip` clips the same way without becoming one. */
body.blog-strip-mode { overflow-x: clip; }
body.blog-strip-mode .fnav-area {
  position: absolute;
}
body.blog-strip-mode .blog-subnav {
  top: 0;
  margin-top: 88px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 160ms ease, backdrop-filter 160ms ease;
}
body.blog-strip-mode .blog-subnav.is-stuck {
  background: rgba(251, 244, 220, 0.88);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.blog-subnav-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: stretch; justify-content: space-between;
  padding: 0 32px; gap: 20px;
  height: 56px;
}

/* ── Tab links — rounded pill tabs, active = filled olive + ember tick ── */
.blog-subnav-tabs {
  display: flex; align-items: center; gap: 4px;
  flex: 1; min-width: 0;
  overflow-x: auto; scrollbar-width: none;
}
.blog-subnav-tabs::-webkit-scrollbar { display: none; }

.blog-tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  font-size: 13.5px; font-weight: 500;
  color: #413620;
  text-decoration: none; white-space: nowrap;
  letter-spacing: -0.005em;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.blog-tab:hover { background: rgba(65, 54, 32, 0.06); }
.blog-tab[aria-current="page"] {
  color: #FAF6E6;
  background: #413620;
  border-color: #413620;
  font-weight: 600;
}

/* Count chip inside each tab */
.blog-tab .count {
  font-size: 10.5px; font-weight: 600;
  color: rgba(65, 54, 32, 0.62);
  background: rgba(65, 54, 32, 0.07);
  padding: 2px 6px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  transition: background 0.16s ease, color 0.16s ease;
}
.blog-tab[aria-current="page"] .count {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.16);
}
/* Ember tick under the active tab — brand signature from the design */
.blog-tab[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  width: 18px; height: 2px;
  background: #FF5B1F;
  border-radius: 2px;
  transform: translateX(-50%);
}

/* ── Right-side tools — separated by a hairline rule ── */
.blog-subnav-actions {
  display: inline-flex; align-items: center; gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(65, 54, 32, 0.08);
}
.blog-search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 30px; border-radius: 999px;
  color: rgba(65, 54, 32, 0.55);
  background: transparent; cursor: pointer;
  border: 1px solid rgba(65, 54, 32, 0.08);
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.blog-search-btn:hover {
  color: #413620;
  border-color: rgba(65, 54, 32, 0.16);
}
.blog-search-btn svg { width: 14px; height: 14px; }
.blog-subnav-cta svg { width: 13px; height: 13px; }
.blog-search-box {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; height: 30px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid #413620;
  border-radius: 999px;
}
.blog-search-box-icon { width: 14px; height: 14px; color: rgba(65, 54, 32, 0.55); flex-shrink: 0; }
.blog-search-input {
  font: inherit; font-size: 13px; color: #413620;
  background: transparent; border: 0; outline: 0;
  padding: 0; width: 200px; min-width: 0;
  letter-spacing: -0.005em;
}
.blog-search-input::placeholder { color: rgba(65, 54, 32, 0.45); }
.blog-search-close {
  font-size: 13px; color: rgba(65, 54, 32, 0.45);
  background: none; border: none; cursor: pointer;
  padding: 2px 4px; line-height: 1;
  transition: color 0.12s;
}
.blog-search-close:hover { color: #413620; }

/* CTA — ember subscribe pill (inset highlight + soft ember glow) */
.blog-subnav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 18px; height: 36px;
  background: #FF5B1F; color: #FFFFFF;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em;
  border-radius: 999px;
  text-decoration: none; white-space: nowrap;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 -1px 0 rgba(0, 0, 0, 0.18) inset,
    0 6px 16px -8px rgba(255, 91, 31, 0.55);
  transition: transform 0.12s ease, background 0.16s ease;
}
.blog-subnav-cta:hover {
  background: #E84F18;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .blog-subnav-inner { padding: 0 16px; gap: 12px; }
  .blog-subnav-actions { padding-left: 10px; gap: 6px; }
}

/* ── Blog index hero ── */
.blog-hero {
  text-align: center; padding: 56px 32px 48px;
  max-width: 900px; margin: 0 auto;
}
.blog-hero .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: #6B1F2A; text-transform: uppercase; margin-bottom: 16px;
}
.blog-hero h1 {
  font-size: clamp(32px, 4.5vw, 56px); font-weight: 800;
  color: #413620; line-height: 1.1; letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.blog-hero p {
  font-size: clamp(15px, 1.5vw, 17px); color: rgba(65, 54, 32, 0.72);
  line-height: 1.6; margin: 0;
}

/* ── Featured strip (asymmetric: 1.6fr + 1fr stack) ── */
.blog-featured-strip {
  max-width: 1240px; margin: 0 auto; padding: 32px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px;
}
@media (max-width: 900px) {
  .blog-featured-strip { grid-template-columns: 1fr; padding: 24px 20px; }
}

.featured-post-card {
  background: #FAF6E6; border: 1px solid rgba(65, 54, 32, 0.10);
  border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: #413620;
  transition: transform 0.2s, box-shadow 0.2s;
}
.featured-post-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(65, 54, 32, 0.12); }
.featured-post-card .img {
  aspect-ratio: 16/9; background: linear-gradient(135deg, #FFEB9A 0%, #FF5B1F 100%);
  background-size: cover; background-position: center;
}
.featured-post-card .body { padding: 20px 24px 24px; }
.featured-post-card .meta { font-size: 11px; color: rgba(65, 54, 32, 0.55); margin-top: 10px; }
.featured-post-card h3 { font-size: 22px; font-weight: 800; color: #413620; margin: 8px 0 10px; line-height: 1.2; }

.featured-post-stack { display: flex; flex-direction: column; gap: 12px; }

/* ── Standard post card (grid variant) ── */
.post-card {
  background: #FAF6E6; border: 1px solid rgba(65, 54, 32, 0.10);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; color: #413620;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(65, 54, 32, 0.10); }
.post-card .img {
  aspect-ratio: 16/9; background: linear-gradient(135deg, #FFEB9A 0%, #FF5B1F 100%);
  background-size: cover; background-position: center;
}
.post-card.olive .img { background: linear-gradient(135deg, #413620 0%, #6a5a3a 100%); }
.post-card .body { padding: 16px 18px 18px; }
.post-card h3 { font-size: 15px; font-weight: 700; color: #413620; line-height: 1.3; margin: 6px 0 6px; }
.post-card .excerpt { font-size: 13px; color: rgba(65, 54, 32, 0.68); line-height: 1.5; margin: 0 0 10px; }
.post-card .meta { font-size: 11px; color: rgba(65, 54, 32, 0.55); }

.post-card.compact { flex-direction: row; align-items: stretch; }
.post-card.compact .img { aspect-ratio: 1; width: 88px; flex-shrink: 0; }
.post-card.compact .body { padding: 12px 14px; }
.post-card.compact h3 { font-size: 13px; margin: 4px 0; }
.post-card.compact .excerpt { display: none; }

.post-tag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #6B1F2A;
  background: rgba(107, 31, 42, 0.08); border: 1px solid rgba(107, 31, 42, 0.22);
  padding: 3px 9px; border-radius: 999px;
}

/* ── Grid layout for archive sections ── */
.blog-section-heading {
  max-width: 1240px; margin: 32px auto 16px; padding: 0 32px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.blog-section-heading h2 {
  font-size: 22px; font-weight: 800; color: #413620; margin: 0;
  letter-spacing: -0.02em;
}
.blog-grid {
  max-width: 1240px; margin: 0 auto; padding: 0 32px 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; padding: 0 20px 24px; } }

/* ── Pagination ── */
.blog-pagination {
  max-width: 1240px; margin: 16px auto 40px; padding: 0 32px;
  display: flex; gap: 8px; justify-content: center; align-items: center;
}
.blog-pagination a, .blog-pagination span {
  min-width: 36px; height: 36px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1px solid rgba(65, 54, 32, 0.15);
  background: transparent; color: #413620; text-decoration: none;
}
.blog-pagination a:hover { background: rgba(65, 54, 32, 0.06); }
.blog-pagination .current { background: #413620; color: #F8EFD3; border-color: #413620; }
.blog-pagination .disabled { opacity: 0.4; pointer-events: none; }

/* ── Single-post hero ── */
.post-hero {
  max-width: 760px; margin: 0 auto; padding: 56px 32px 24px; text-align: center;
}
.post-hero .breadcrumbs {
  font-size: 12px; color: rgba(65, 54, 32, 0.6);
  margin-bottom: 18px; text-align: left;
}
.post-hero .breadcrumbs a { color: rgba(65, 54, 32, 0.7); text-decoration: none; }
.post-hero .breadcrumbs a:hover { color: #6B1F2A; }
.post-hero h1 {
  font-size: clamp(30px, 4vw, 48px); font-weight: 800;
  color: #413620; line-height: 1.1; letter-spacing: -0.03em;
  margin: 14px 0 12px;
}
.post-hero .subtitle {
  font-size: clamp(15px, 1.5vw, 18px); color: rgba(65, 54, 32, 0.72);
  line-height: 1.5; margin: 0 0 18px;
}
.post-hero .byline {
  font-size: 13px; color: rgba(65, 54, 32, 0.65); margin-bottom: 28px;
}
.post-hero .byline a { color: #6B1F2A; text-decoration: none; font-weight: 600; }
.post-hero-image {
  max-width: 1080px; margin: 0 auto 48px; padding: 0 32px;
}
.post-hero-image img {
  width: 100%; aspect-ratio: 16/8;
  object-fit: cover; border-radius: 18px;
  box-shadow: 0 16px 48px rgba(65, 54, 32, 0.14);
  border: 1px solid rgba(65, 54, 32, 0.10);
}

/* ── Two-column post body layout ── */
.post-layout {
  max-width: 1080px; margin: 0 auto; padding: 0 32px 64px;
  display: grid; grid-template-columns: 220px 1fr; gap: 48px;
  align-items: start;
}
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 48px; }
}

.post-toc {
  position: sticky; top: 140px;
  font-size: 13px;
}
.post-toc .label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  color: rgba(65, 54, 32, 0.55); text-transform: uppercase; margin-bottom: 10px;
}
.post-toc a {
  display: block; padding: 6px 0 6px 12px;
  color: rgba(65, 54, 32, 0.72); text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.post-toc a:hover, .post-toc a.active {
  color: #FF5B1F; border-left-color: #FF5B1F;
}
.post-toc.h3 a { padding-left: 22px; font-size: 12px; }
/* Mobile: drop sticky, render as a clearly-bounded card so it cannot be
   visually confused with the post body when scrolling.
   !important defeats `nav:not(.fnav-area) { position: relative }` in
   templates/interior.html, which otherwise wins on specificity and leaves
   the `top: 140px` from the desktop sticky rule applied — pushing the TOC
   down 140px so the post body's H2 visually overlaps it. */
@media (max-width: 900px) {
  .post-layout { display: block; }
  .post-toc {
    position: relative !important;
    top: auto !important;
    background: rgba(65, 54, 32, 0.04);
    border: 1px solid rgba(65, 54, 32, 0.10);
    border-radius: 12px;
    padding: 14px 16px 10px;
    margin-bottom: 24px;
  }
  .post-toc .label { margin-bottom: 6px; }
  .post-toc a { padding: 5px 0 5px 12px; }
}

.post-body {
  max-width: 680px;
  font-size: 17px; line-height: 1.75; color: #413620;
}
.post-body h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 36px 0 14px; color: #413620; }
.post-body h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: #413620; }
.post-body p  { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: #6B1F2A; text-decoration: underline; text-underline-offset: 3px; }
.post-body img { width: 100%; border-radius: 12px; margin: 24px 0; }
.post-body pre {
  background: #FAF6E6; border: 1px solid rgba(65, 54, 32, 0.10);
  border-radius: 10px; padding: 16px; overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px;
}
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: rgba(65, 54, 32, 0.06); padding: 1px 6px; border-radius: 4px; }
.post-body pre code { background: transparent; padding: 0; }
.post-pullquote {
  border-left: 3px solid #FF5B1F; padding: 8px 0 8px 18px;
  font-style: italic; font-size: 20px; color: #413620;
  margin: 28px 0;
}
.post-callout {
  background: #FAF6E6; border: 1px solid rgba(65, 54, 32, 0.12);
  border-radius: 12px; padding: 18px 22px;
  margin: 24px 0;
}

/* ── End-of-post author card / share row ── */
.post-end {
  max-width: 680px; margin: 32px auto 0; padding: 0 32px;
}
.author-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #FAF6E6; border: 1px solid rgba(65, 54, 32, 0.10);
  border-radius: 14px; padding: 18px;
  text-decoration: none; color: #413620;
}
.author-card .avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: #413620; color: #F8EFD3;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  background-size: cover; background-position: center;
}
.author-card .info { flex: 1; }
.author-card .name { font-size: 15px; font-weight: 700; color: #413620; margin: 0 0 3px; }
.author-card .role { font-size: 12px; color: rgba(65, 54, 32, 0.65); margin: 0 0 6px; }
.author-card .bio  { font-size: 13px; color: rgba(65, 54, 32, 0.72); line-height: 1.5; margin: 0; }
.author-card.compact { padding: 10px 12px; }
.author-card.compact .avatar { width: 36px; height: 36px; font-size: 13px; }
.author-card.compact .bio { display: none; }

/* ── Inline newsletter (mid-post) ── */
.inline-newsletter {
  background: #413620; color: #F8EFD3;
  border-radius: 16px; padding: 24px;
  display: flex; gap: 20px; align-items: center;
  margin: 32px 0;
}
.inline-newsletter .copy { flex: 1; }
.inline-newsletter .eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  color: rgba(242, 232, 197, 0.7); text-transform: uppercase;
}
.inline-newsletter h4 { font-size: 18px; font-weight: 800; color: #F8EFD3; margin: 6px 0 6px; }
.inline-newsletter p { font-size: 13px; color: rgba(242, 232, 197, 0.85); margin: 0; }
.inline-newsletter form { display: flex; gap: 8px; flex-shrink: 0; }
.inline-newsletter input {
  background: rgba(242, 232, 197, 0.95); color: #413620; border: none;
  padding: 10px 14px; border-radius: 999px; font-size: 13px; min-width: 220px;
}
.inline-newsletter button {
  background: #FF5B1F; color: #F8EFD3; border: 1.5px solid #F8EFD3;
  padding: 9px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 700; cursor: pointer;
}
@media (max-width: 700px) {
  .inline-newsletter { flex-direction: column; align-items: stretch; }
  .inline-newsletter form { width: 100%; }
  .inline-newsletter input { min-width: 0; flex: 1; }
}

/* ── Related posts row ── */
.related-posts {
  max-width: 1080px; margin: 64px auto 0; padding: 32px;
  border-top: 1px solid rgba(65, 54, 32, 0.10);
}
.related-posts .label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: #6B1F2A; text-transform: uppercase; margin-bottom: 18px;
  text-align: center;
}
.related-posts .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 900px) { .related-posts .grid { grid-template-columns: 1fr; } }

/* ── Tag chips at end of post ── */
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.post-tags .tag {
  font-size: 11px; color: rgba(65, 54, 32, 0.72);
  background: rgba(65, 54, 32, 0.06); padding: 4px 10px; border-radius: 999px;
  text-decoration: none;
}

/* ── Category/Author hero ── */
.archive-hero {
  max-width: 1080px; margin: 0 auto; padding: 80px 32px 24px;
  text-align: center;
}
.archive-hero .eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  color: #6B1F2A; text-transform: uppercase; margin-bottom: 14px;
}
.archive-hero h1 {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  color: #413620; letter-spacing: -0.03em; margin: 0 0 12px;
}
.archive-hero .description {
  font-size: 16px; color: rgba(65, 54, 32, 0.72);
  max-width: 560px; margin: 0 auto 8px;
}
.archive-hero .count {
  font-size: 12px; color: rgba(65, 54, 32, 0.55);
  margin-top: 6px;
}

.author-archive-hero {
  display: flex; gap: 28px; align-items: center; text-align: left;
  max-width: 1080px; margin: 0 auto; padding: 72px 32px 24px;
}
.author-archive-hero .avatar {
  width: 120px; height: 120px; border-radius: 50%; flex-shrink: 0;
  background: #413620; color: #F8EFD3;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800;
  background-size: cover; background-position: center;
}
.author-archive-hero .info { flex: 1; }
.author-archive-hero h1 { font-size: 36px; font-weight: 800; color: #413620; margin: 0 0 4px; }
.author-archive-hero .role { font-size: 14px; color: rgba(65, 54, 32, 0.65); margin: 0 0 12px; }
.author-archive-hero .bio  { font-size: 15px; color: rgba(65, 54, 32, 0.78); line-height: 1.6; margin: 0 0 12px; }
.author-archive-hero .links a {
  font-size: 12px; color: #6B1F2A; margin-right: 14px; text-decoration: none; font-weight: 600;
}
@media (max-width: 700px) {
  .author-archive-hero { flex-direction: column; text-align: center; }
}

/* ============================================================
   Mobile polish — applies under 640px.
   Keeps the desktop layout intact, just tightens padding,
   shrinks oversized chrome, and reflows things that overflow.
   ============================================================ */
@media (max-width: 640px) {
  /* Subnav: tighten chrome, hide the secondary tools that overflow */
  .blog-subnav { margin-top: 16px; }
  .blog-subnav-inner { height: 48px; padding: 0 12px; gap: 8px; }
  .blog-tab { padding: 6px 10px; font-size: 12.5px; gap: 5px; }
  .blog-tab .count { font-size: 10px; padding: 1px 5px; }
  .blog-subnav-actions { padding-left: 8px; gap: 6px; }
  .blog-search-btn { width: 32px; height: 28px; }
  .blog-subnav-cta { padding: 0 12px; height: 30px; font-size: 12px; }
  .blog-search-input { width: 130px; }
  body.blog-strip-mode .blog-subnav { margin-top: 78px; }

  /* Hero */
  .blog-hero { padding: 36px 20px 28px; }
  .blog-hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .blog-hero p { font-size: 14px; }

  /* Featured strip */
  .blog-featured-strip { padding: 16px; gap: 14px; }
  .featured-post-card .body { padding: 16px 18px 18px; }
  .featured-post-card h3 { font-size: 18px; }

  /* Standard post grid + section headings */
  .blog-section-heading { padding: 0 20px; margin: 24px auto 12px; }
  .blog-section-heading h2 { font-size: 18px; }
  .blog-grid { padding: 0 16px 20px; gap: 14px; }
  .post-card h3 { font-size: 14px; }
  .post-card .excerpt { font-size: 12px; }
  .post-card.compact .img { width: 76px; }

  /* Pagination */
  .blog-pagination { padding: 0 16px; margin: 12px auto 28px; gap: 6px; flex-wrap: wrap; }
  .blog-pagination a, .blog-pagination span { min-width: 32px; height: 32px; padding: 0 9px; font-size: 12px; }

  /* Single-post hero */
  .post-hero { padding: 32px 20px 16px; }
  .post-hero h1 { font-size: clamp(24px, 7vw, 32px); }
  .post-hero .subtitle { font-size: 14px; }
  .post-hero .byline { margin-bottom: 20px; }
  .post-hero-image { padding: 0 16px; margin: 0 auto 28px; }
  .post-hero-image img { aspect-ratio: 16/10; border-radius: 12px; }

  /* Two-column body — already collapses at 900px; tighten further */
  .post-layout { padding: 0 16px 36px; gap: 16px; }
  .post-body { font-size: 16px; line-height: 1.7; }
  .post-body h2 { font-size: 22px; margin: 28px 0 10px; }
  .post-body h3 { font-size: 18px; margin: 22px 0 8px; }
  .post-body p { margin: 0 0 14px; }
  .post-body img { border-radius: 8px; margin: 16px 0; }
  .post-pullquote { font-size: 17px; margin: 20px 0; padding-left: 14px; }
  .post-callout { padding: 14px 16px; margin: 18px 0; }
  .post-end { padding: 0 16px; margin-top: 24px; }
  .author-card { padding: 14px; gap: 12px; }
  .author-card .avatar { width: 44px; height: 44px; font-size: 15px; }
  .author-card .name { font-size: 14px; }
  .author-card .bio { font-size: 12px; }

  /* Inline newsletter — already stacks at 700px; trim padding */
  .inline-newsletter { padding: 18px; margin: 24px 0; gap: 14px; }
  .inline-newsletter h4 { font-size: 16px; }
  .inline-newsletter input { padding: 9px 12px; font-size: 12px; }
  .inline-newsletter button { padding: 9px 16px; font-size: 12px; }

  /* Related posts */
  .related-posts { padding: 24px 16px; margin-top: 40px; }
  .related-posts .grid { gap: 12px; }

  /* Tags row */
  .post-tags { gap: 6px; margin: 14px 0; }

  /* Archive hero */
  .archive-hero { padding: 52px 20px 16px; }
  .archive-hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .archive-hero .description { font-size: 14px; }

  /* Author archive hero — already columns at 700px; downsize avatar */
  .author-archive-hero { padding: 48px 20px 16px; gap: 16px; }
  .author-archive-hero .avatar { width: 80px; height: 80px; font-size: 26px; }
  .author-archive-hero h1 { font-size: 26px; }
  .author-archive-hero .bio { font-size: 13px; }
}
