/* InPersona Blog — editorial fashion-magazine treatment.
 *
 * Brand tokens (mirror frontend/design/tokens/colors.css):
 *   --accent       : #EE931B (Primary Amber) — used sparingly, single CTA color
 *   --bg-page      : #FAF9F6 (warm off-white, editorial paper)
 *   --bg-surface   : #FFFFFF
 *   --text         : #1A1A1A (near-black, never pure)
 *   --text-muted   : #6B6B6B
 *   --border       : rgba(26, 26, 26, 0.08)
 *
 * Typography pairing (already preloaded by layout.twig):
 *   IBM Plex Serif — display + ledes (editorial weight)
 *   Manrope        — body + UI (humanist sans)
 *
 * Grid: 12-col logical, --max-prose=720px reading column. Featured cards may
 * break out to --max-feature=1080px. Hero / footer / nav span --max-shell=1280.
 */

:root {
  --accent: #EE931B;
  --accent-deep: #C97A0F;
  --accent-soft: #FFF4E1;
  --bg-page: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-paper: #F4F1EA;
  --bg-inverted: #141414;
  --text: #1A1A1A;
  --text-secondary: #2B2B2B;
  --text-muted: #6B6B6B;
  --text-faint: #A6A29B;
  --border: rgba(26, 26, 26, 0.08);
  --border-strong: rgba(26, 26, 26, 0.16);
  --rule: rgba(26, 26, 26, 0.12);
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.02), 0 8px 32px rgba(0, 0, 0, 0.04);
  --shadow-lift: 0 4px 8px rgba(0, 0, 0, 0.04), 0 20px 48px rgba(0, 0, 0, 0.08);
  --radius-card: 4px;
  --radius-image: 2px;
  --radius-pill: 999px;
  --max-shell: 1240px;
  --max-feature: 1080px;
  --max-prose: 680px;
  --transition: 200ms cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-serif: "IBM Plex Serif", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--transition); }

.shell { max-width: var(--max-shell); margin: 0 auto; padding: 0 40px; }
@media (max-width: 880px) { .shell { padding: 0 24px; } }
@media (max-width: 480px) { .shell { padding: 0 18px; } }

/* ─── Header ─────────────────────────────────────────────────────────── */
.blog-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-page) 86%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.blog-header .shell {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
}
.brand > span { white-space: nowrap; }
.brand .logo { height: 24px; width: auto; display: block; }
.brand .sub {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
}
.links {
  display: flex; align-items: center; gap: 28px;
  font-size: 14px;
}
.links a {
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}
.links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 1px;
  width: 0; background: var(--accent); transition: width var(--transition);
}
.links a:hover { color: var(--text); }
.links a:hover::after { width: 100%; }
.links .pill {
  padding: 9px 18px; border-radius: var(--radius-pill);
  background: var(--bg-inverted); color: #fff;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.links .pill.icon-only {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border-radius: 50%;
}
.links .pill.icon-only svg { display: block; }
.links .pill:hover { background: var(--accent); transform: translateY(-1px); }
.links .pill::after { display: none; }
@media (max-width: 720px) {
  .blog-header .shell { padding-top: 14px; padding-bottom: 14px; gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand .logo { height: 22px; }
  .brand .sub { display: none; }
  .links { gap: 12px; }
  .links a:not(.pill) { display: none; }
  .links .pill { padding: 7px 12px; font-size: 12px; }
}
@media (max-width: 720px) {
  .links .pill.icon-only { width: 32px; height: 32px; }
  .links .pill.icon-only svg { width: 16px; height: 16px; }
}
@media (max-width: 380px) {
  .brand { font-size: 16px; }
  .brand .logo { height: 20px; }
}

/* ─── Eyebrow (shared) ───────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 1px; background: var(--accent);
  display: inline-block;
}

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
  max-width: var(--max-feature); margin: 0 auto;
  padding: 88px 0 56px;
  position: relative;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 6.5vw, 72px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  color: var(--text);
}
.hero h1 em {
  font-style: italic; color: var(--accent-deep);
  font-weight: 500;
}
.hero .lede {
  font-size: 20px; line-height: 1.55; color: var(--text-muted);
  margin: 0; max-width: 600px;
}
@media (max-width: 720px) {
  .hero { padding: 36px 0 24px; }
  .hero h1 { letter-spacing: -0.02em; margin-bottom: 14px; }
  .hero .lede { font-size: 16px; }
}

/* ─── Tag rail ───────────────────────────────────────────────────────── */
.tag-rail {
  max-width: var(--max-feature); margin: 0 auto 64px;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding-top: 8px;
}
.tag-rail a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-surface);
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 500;
  color: var(--text-secondary);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}
.tag-rail a::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--tag-color, var(--accent));
  flex-shrink: 0;
}
.tag-rail a:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-1px);
}
.tag-rail .count {
  font-variant-numeric: tabular-nums;
  color: var(--text-faint); font-size: 12px;
  margin-left: -2px;
}

/* ─── Featured (first post, magazine cover) ──────────────────────────── */
.featured {
  max-width: var(--max-feature); margin: 0 auto 96px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
.featured .cover {
  position: relative; overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg-paper);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lift);
}
.featured .cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.featured:hover .cover img { transform: scale(1.03); }
.featured .body { padding-right: 8px; }
.featured h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 18px;
}
.featured h2 a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 96%;
  transition: background-size 320ms ease;
}
.featured h2 a:hover { background-size: 100% 2px; }
.featured p {
  font-size: 17px; line-height: 1.65; color: var(--text-muted);
  margin: 0 0 24px;
  max-width: 46ch;
}
.featured .meta {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted);
}
.featured .meta time { font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
@media (max-width: 880px) {
  .featured {
    grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px;
  }
  .featured .cover { aspect-ratio: 4 / 3; box-shadow: var(--shadow-soft); }
  .featured .body { padding-right: 0; }
  .featured h2 { margin-bottom: 12px; }
  .featured p { margin-bottom: 16px; font-size: 15px; }
}

/* ─── Section head (between featured and grid) ───────────────────────── */
.section-head {
  max-width: var(--max-feature); margin: 0 auto 36px;
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.section-head h3 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.005em;
  margin: 28px 0 0;
}
.section-head .count {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-faint);
}

/* ─── Posts grid ─────────────────────────────────────────────────────── */
.posts {
  max-width: var(--max-feature); margin: 0 auto;
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 64px 48px;
}
@media (max-width: 720px) { .posts { grid-template-columns: 1fr; gap: 36px; } }

.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card .cover {
  position: relative; overflow: hidden;
  border-radius: var(--radius-image);
  background: var(--bg-paper);
  aspect-ratio: 4 / 3;
}
.post-card .cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.post-card:hover .cover img { transform: scale(1.04); }
.post-card .meta {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.post-card .meta time { font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.post-card .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }
.post-card h2 {
  font-family: var(--font-serif);
  font-size: 26px; line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 600;
  margin: 0;
}
.post-card h2 a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0 2px; background-repeat: no-repeat;
  background-position: 0 96%;
  transition: background-size 320ms ease;
}
.post-card h2 a:hover { background-size: 100% 2px; }
.post-card p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.post-card .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2px; }
.post-card .tags a {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.post-card .tags a:hover { color: var(--accent-deep); }

/* ─── Pagination ─────────────────────────────────────────────────────── */
.pagination {
  max-width: var(--max-feature); margin: 80px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500; color: var(--text-muted);
}
.pagination a { color: var(--text); }
.pagination a:hover { color: var(--accent-deep); }
.pagination .center {
  font-variant-numeric: tabular-nums;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-faint);
}

/* ─── Empty state ────────────────────────────────────────────────────── */
.empty, .empty-state {
  grid-column: 1 / -1;
  max-width: var(--max-prose); margin: 0 auto;
  text-align: center; padding: 96px 24px;
}
.empty-state h1 {
  font-family: var(--font-serif);
  font-size: 96px; margin: 0 0 16px; color: var(--accent);
  letter-spacing: -0.02em; font-weight: 600;
}
.empty-state p { color: var(--text-muted); font-size: 17px; margin: 0 0 24px; }
.empty-state .cta {
  display: inline-block; padding: 12px 24px;
  background: var(--bg-inverted); color: #fff;
  border-radius: var(--radius-pill); font-weight: 600;
  transition: background var(--transition);
}
.empty-state .cta:hover { background: var(--accent); }

/* ─── Single post ────────────────────────────────────────────────────── */
.article {
  max-width: var(--max-prose); margin: 0 auto;
  padding: 72px 0 96px;
}
.article-head { text-align: left; margin-bottom: 52px; max-width: var(--max-prose); }
.article-head .meta {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.article-head .meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-faint); }
.article-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 5.5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 24px;
}
.article-head .lede {
  font-size: 21px; line-height: 1.5;
  color: var(--text-secondary); font-style: italic;
  font-family: var(--font-serif);
  margin: 0 0 28px;
}
.article-head .tags { display: flex; flex-wrap: wrap; gap: 14px; }
.article-head .tags a {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-deep);
}
.article-head .tags a:hover { color: var(--accent); }

.article .cover {
  margin: 0 0 56px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: var(--max-feature);
  margin-left: 50%; transform: translateX(-50%);
  width: min(100vw - 48px, var(--max-feature));
}
.article .cover img { width: 100%; height: auto; }
@media (max-width: 720px) {
  .article { padding: 32px 0 56px; }
  .article-head { margin-bottom: 28px; }
  .article-head .meta { margin-bottom: 14px; }
  .article-head h1 { margin-bottom: 14px; letter-spacing: -0.02em; }
  .article-head .lede { font-size: 17px; margin-bottom: 18px; }
  .article .cover {
    margin: 0 0 28px;
    width: 100%;
    margin-left: 0; transform: none;
    border-radius: var(--radius-image);
    box-shadow: none;
  }
  .post-card { gap: 12px; }
  .post-card h2 { font-size: 20px; line-height: 1.22; }
  .article-foot { margin-top: 48px; padding-top: 24px; }
  .blog-footer { margin-top: 64px; }
  .blog-footer .pitch h2 { font-size: 22px; }
}

/* Prose (TipTap-generated HTML) */
.prose {
  font-family: var(--font-serif);
  font-size: 19px; line-height: 1.78;
  color: var(--text);
}
.prose > * + * { margin-top: 1.1em; }
.prose > *:first-child { margin-top: 0; }

.prose > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 4.8em; font-weight: 600;
  float: left; line-height: 0.85;
  padding: 0.08em 0.14em 0 0;
  color: var(--accent-deep);
}

.prose h2 {
  font-family: var(--font-serif);
  font-size: 30px; line-height: 1.2;
  letter-spacing: -0.01em; font-weight: 600;
  margin-top: 64px;
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: 24px; line-height: 1.3;
  letter-spacing: -0.005em; font-weight: 600;
  margin-top: 44px;
}
.prose a {
  color: var(--text);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 92%;
  transition: background-size 200ms ease;
}
.prose a:hover { background-position: 0 100%; }

.prose strong { font-weight: 600; }
.prose em { font-style: italic; }

.prose ul, .prose ol { padding-left: 28px; }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--accent); }

.prose blockquote {
  margin: 40px 0;
  padding: 0 0 0 28px;
  border-left: 2px solid var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px; line-height: 1.5;
  color: var(--text-secondary);
}

.prose img { border-radius: var(--radius-image); margin: 40px 0; box-shadow: var(--shadow-soft); }
.prose figure { margin: 40px 0; }
.prose figcaption {
  font-family: var(--font-sans);
  font-size: 13px; color: var(--text-muted);
  text-align: center; margin-top: 12px;
}

.prose code {
  font-family: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.88em;
  background: rgba(26, 26, 26, 0.04);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
}
.prose pre {
  background: var(--bg-inverted); color: #ECECEC;
  padding: 24px 28px; border-radius: var(--radius-card);
  overflow-x: auto;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 14px; line-height: 1.6;
  font-feature-settings: "calt", "ss02";
  margin: 40px 0;
}
.prose pre code { background: transparent; border: 0; padding: 0; color: inherit; }

.prose hr { border: 0; margin: 64px auto; width: 60px; border-top: 2px solid var(--accent); }

.prose table {
  width: 100%; border-collapse: collapse; margin: 40px 0;
  font-family: var(--font-sans); font-size: 16px;
}
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--rule); text-align: left; }
.prose th {
  font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.18em;
}

@media (max-width: 720px) {
  .prose { font-size: 17px; line-height: 1.7; }
  .prose h2 { font-size: 22px; margin-top: 36px; }
  .prose h3 { font-size: 19px; margin-top: 28px; }
  .prose blockquote { font-size: 18px; margin: 24px 0; padding-left: 20px; }
  .prose pre { padding: 16px 18px; font-size: 13px; margin: 28px 0; }
  .prose img, .prose figure { margin: 24px 0; }
  .prose hr { margin: 40px auto; }
  .prose > p:first-of-type::first-letter { font-size: 3.6em; }
}

.article-foot {
  margin-top: 72px; padding-top: 36px;
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 14px; color: var(--text-muted);
}
.article-foot .back { color: var(--text); font-weight: 500; }
.article-foot .back:hover { color: var(--accent-deep); }
.article-foot .share { display: flex; gap: 18px; }
.article-foot .share a {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.article-foot .share a:hover { color: var(--accent-deep); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.blog-footer { margin-top: 128px; background: var(--bg-inverted); color: #C7C7C7; }
.blog-footer .shell {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px;
  padding-top: 80px; padding-bottom: 56px;
  max-width: var(--max-shell);
}
.blog-footer h4 {
  font-family: var(--font-sans);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: #888; margin: 0 0 20px;
}
.blog-footer .pitch h2 {
  font-family: var(--font-serif);
  color: #fff; font-size: 32px;
  margin: 0 0 14px; letter-spacing: -0.015em;
  font-weight: 500; line-height: 1.15;
}
.blog-footer .pitch h2 em { color: var(--accent); font-style: italic; }
.blog-footer .pitch p { font-size: 15px; max-width: 380px; margin: 0; line-height: 1.6; }
.blog-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.blog-footer a { color: #C7C7C7; }
.blog-footer a:hover { color: var(--accent); }
.blog-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px; color: #777;
  padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  letter-spacing: 0.02em;
}
.blog-footer .legal a { color: #777; }
@media (max-width: 880px) {
  .blog-footer .shell { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 56px; }
  .blog-footer .pitch { grid-column: 1 / -1; }
  .blog-footer .pitch h2 { font-size: 26px; }
}
@media (max-width: 480px) {
  .blog-footer .shell { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; }
  .blog-footer .legal { flex-direction: column; gap: 10px; text-align: center; }
}

/* ─── Reduced motion / focus ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ─── Breadcrumbs ────────────────────────────────────────────────── */
.breadcrumbs {
  max-width: var(--max-feature, 1080px);
  margin: 28px auto 0;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--accent-deep); }
.breadcrumbs .sep { color: var(--text-faint); }
.breadcrumbs .current { color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .breadcrumbs { font-size: 12px; gap: 6px; }
  .breadcrumbs .current {
    max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
}

/* ─── Related posts (Ещё по теме) ────────────────────────────────── */
.related {
  max-width: var(--max-prose, 680px);
  margin: 80px auto 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}
.related h3 {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.related li { padding: 0; }
.related a {
  display: grid; gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface);
  transition: border-color var(--transition), transform var(--transition);
}
.related a:hover {
  border-color: var(--border-strong, rgba(0,0,0,0.16));
  transform: translateY(-1px);
}
.related .r-meta {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.related .r-title {
  font-family: var(--font-serif);
  font-size: 19px; line-height: 1.25;
  font-weight: 600;
  color: var(--text);
}
.related .r-excerpt {
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.5;
  color: var(--text-muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 720px) {
  .related { margin-top: 56px; }
  .related .r-title { font-size: 17px; }
}
