/* RP Release Notes — dark theme. Tokens + type scale mirror the Figma "Web-Designs" variables.
   See claudePlans/todo/releases-redesign-2026-07-13.md. */

/* ── Fonts (self-hosted, variable) ───────────────────────────────────────── */
@font-face {
  font-family: 'Funnel Display';
  src: url('/assets/funnel-display.woff2') format('woff2');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Martian Mono';
  src: url('/assets/martian-mono.woff2') format('woff2');
  font-weight: 300 500;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TASA Orbiter';
  src: url('/assets/tasa-orbiter.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  --rp-red: #fc2230;
  --rp-red-dark: #881c24;
  --white: #ffffff;
  --black: #000000;
  --text-primary: #f4f6f8;
  --text-secondary: rgba(244, 246, 248, 0.56);
  --border: rgba(244, 246, 248, 0.1);
  --bg-strong: #141517;
  --bg: #2e2f32;
  --surface: rgba(20, 21, 23, 0.5);
  --surface-alt: rgba(37, 38, 39, 0.5);
  --surface-0: rgba(20, 21, 23, 0);

  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-s: 12px;
  --sp-m: 16px;
  --sp-l: 24px;
  --sp-xl: 32px;
  --sp-xxl: 64px;
  --wrapper: 48px;
  --vertical: 64px;
  --maxw: 1440px;

  --font-display: 'Funnel Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'TASA Orbiter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Martian Mono', ui-monospace, monospace;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg-strong);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.32;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

/* Visible keyboard focus (mouse/touch focus stays clean via :focus-visible). */
:focus-visible {
  outline: 2px solid var(--rp-red);
  outline-offset: 2px;
  border-radius: 2px;
}
/* Smooth in-page scroll for permalink anchors, disabled for reduced-motion users. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
h1,
p {
  margin: 0;
}

/* Centered content column; full-bleed sections wrap their bg/borders around this. */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--wrapper);
}

/* ── Header (scrolls away — it is the version/date rail that sticks, not this) ─ */
.site-header {
  position: relative;
  z-index: 1;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 -1px 0 var(--border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding-block: var(--sp-l);
  gap: var(--sp-m);
}
.site-header-main {
  display: flex;
  align-items: center;
  gap: var(--sp-m);
  flex: 1 1 0;
  min-width: 0;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 28px;
  width: auto;
}
.brand-tag {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.3s;
}
.brand-tag:hover {
  color: var(--text-primary);
}
.brand-divider {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--border);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-m);
}
.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.1px;
  color: var(--text-primary);
  /* Transparent border keeps inactive/active items baseline-aligned. */
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s;
}
.nav-item:hover,
.nav-item.active {
  border-bottom-color: var(--text-primary);
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding-inline: var(--sp-xl);
  border-radius: var(--sp-xxl);
  background: var(--rp-red);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.1px;
  white-space: nowrap;
  transition: background 0.3s;
}
.cta:hover {
  background: var(--rp-red-dark);
}
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: none;
}

/* ── Mobile menu overlay (toggled by #menu-cb; shown only ≤768px) ─────────── */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30;
}
.menu-backdrop {
  position: absolute;
  inset: 0;
  cursor: default;
}
.menu-panel {
  position: relative;
  background: var(--surface-alt);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0 0 var(--sp-m) var(--sp-m);
  overflow: hidden;
}
.menu-panel-head {
  box-shadow: inset 0 -1px 0 var(--border);
}
.menu-panel-head-inner {
  display: flex;
  align-items: center;
  min-height: 92px;
  padding-block: var(--sp-l);
  gap: var(--sp-m);
}
.menu-panel-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-s);
  flex: 1 1 0;
  min-width: 0;
}
.menu-links {
  display: flex;
  align-items: stretch;
  gap: var(--sp-m);
  background: var(--surface);
}
.menu-link {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-l);
}
.menu-link img {
  width: 48px;
  height: 48px;
}
.menu-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.1px;
  color: var(--text-primary);
  border-bottom: 2px solid transparent;
}
.menu-link.active span {
  border-bottom-color: var(--text-primary);
}

/* ── Hero (home) ──────────────────────────────────────────────────────────── */
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.2px;
}
.hero--home .hero-home-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 680px;
}
.hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-l);
  padding-inline: clamp(24px, 8vw, 112px);
  padding-bottom: var(--sp-l);
}
.hero-main .hero-title {
  font-size: 76px;
  line-height: 0.84;
  color: var(--text-primary);
}
.hero-lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.32;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
}
.hero-cards {
  display: flex;
  align-items: center;
  gap: var(--sp-m);
}

/* ── App cards (home) ─────────────────────────────────────────────────────── */
.app-card {
  flex: 1 1 0;
  min-width: 0;
  height: 328px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-l);
  padding: var(--sp-xl) var(--sp-l);
  border-radius: var(--sp-m);
  background: var(--black);
  transition: background 0.3s;
}
.app-card:hover {
  background: var(--bg);
}
.app-card-icon {
  width: 96px;
  height: 96px;
}
.app-card-word {
  height: 16px;
  width: auto;
}
.app-card-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xs);
  width: 100%;
}
.app-card-updated {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.32;
  color: var(--text-secondary);
  text-align: center;
}

/* Tag pill (version) */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding-inline: var(--sp-xs);
  border-radius: var(--sp-xxs);
  background: var(--bg);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.32;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-strong);
  box-shadow: inset 0 1px 0 var(--border);
}
.site-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-xl);
  padding-block: var(--vertical);
}
.footer-wordmark {
  height: 12px;
  width: auto;
}
.footer-nav {
  display: flex;
  width: 100%;
  gap: var(--sp-xl);
  align-items: flex-start;
  padding-bottom: var(--sp-xl);
}
.footer-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-m);
}
.footer-col--apps {
  flex: 0 0 448px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.32;
  letter-spacing: -0.2px;
  color: var(--text-primary);
}
.footer-apps {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.footer-app {
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-app-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.footer-app-word {
  height: 11.455px;
  width: auto;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.footer-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}
.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--sp-m);
}
/* The icon SVGs are filled with --text-primary's color; 0.56 opacity matches --text-secondary
   at rest and hovering to 1 lands exactly on text-primary. */
.footer-socials img {
  width: 20px;
  height: 20px;
  opacity: 0.56;
  transition: opacity 0.3s;
}
.footer-socials a:hover img {
  opacity: 1;
}
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xxs) var(--sp-xs);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
}
.footer-tags a {
  transition: color 0.3s;
}
.footer-tags a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}
.footer-legal {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: var(--sp-xl);
}
.footer-copy {
  flex: 0 0 448px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.32;
  letter-spacing: 0.2px;
  color: var(--text-secondary);
}
.footer-legal-links {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-xs) var(--sp-m);
}
.footer-legal-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.32;
  letter-spacing: 0.2px;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.3s;
}
.footer-legal-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}
.footer-bbb {
  height: 32px;
  width: auto;
  flex: none;
}

/* ── Feed hero ────────────────────────────────────────────────────────────── */
/* Content is centered in the max-width (aligned with the header/feed); the diagonal pattern is pinned
   to the viewport's right edge so it never leaves a gap on ultra-wide screens. */
.hero--feed {
  position: relative;
  overflow: hidden;
}
.hero-feed-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  min-height: 382px;
  padding-left: var(--wrapper);
}
.hero-feed-main {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-l);
  padding: 0 clamp(24px, 8vw, 112px) var(--sp-l);
}
.hero-title--feed {
  font-size: 76px;
  line-height: 0.84;
  color: var(--text-primary);
}
.feed-logo {
  display: flex;
  align-items: center;
  gap: 7px;
}
.feed-logo-icon {
  width: 28px;
  height: 28px;
}
.feed-logo-type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4.455px;
}
.feed-logo-rp {
  height: 7.636px;
  width: auto;
}
.feed-logo-word {
  height: 11.455px;
  width: auto;
}
/* Three copies of the tile sit in a row; the box clips whatever doesn't fit, so the strip stays
   filled at every width (the extra copies matter in the ≤1024px stacked layout below). */
.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 382px;
  height: 382px;
  display: flex;
  overflow: hidden;
}
.hero-pattern img {
  width: 382px;
  height: 382px;
  flex: none;
}

/* ── Release note (timeline) ─────────────────────────────────────────────── */
/* One horizontal divider below the hero (first note only); the rail starts just above the first dot.
   Between notes there are NO horizontal lines and the rail runs continuously (no per-note gap). */
.release-note {
  scroll-margin-top: var(--sp-l);
}
.release-note:first-of-type {
  box-shadow: inset 0 1px 0 var(--border);
}
.release-note:first-of-type .rn-line-wrap {
  padding-top: var(--wrapper);
}
.release-note-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--wrapper);
  display: flex;
  align-items: flex-start;
}
.rn-meta {
  width: 448px;
  flex: none;
  display: flex;
  gap: var(--sp-xs);
  align-self: stretch;
}
.rn-line-wrap {
  width: 16px;
  flex: none;
  display: flex;
  justify-content: center;
}
.rn-line {
  width: 1px;
  align-self: stretch;
  background: var(--border);
}
.rn-info {
  position: sticky;
  top: 0;
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: var(--sp-s);
  padding-block: var(--wrapper);
}
.rn-dot {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-primary);
}
.rn-date {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.32;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
  white-space: nowrap;
}
.rn-main {
  flex: 1 1 auto;
  max-width: 672px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-l);
  padding-top: var(--wrapper);
  padding-bottom: var(--vertical);
}
.rn-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.1px;
  color: var(--text-primary);
  margin: 0;
}

/* ── Release-note body (rendered markdown) ───────────────────────────────── */
.entry-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: var(--sp-l) 0 var(--sp-s);
}
.entry-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 28px 0 var(--sp-s);
}
.entry-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: var(--sp-m) 0 var(--sp-s);
}
/* Platform label before a diet note section whose iOS/Android bodies diverge (e.g. 1.9). */
.entry-body .platform-split {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.32;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rp-red);
  margin: var(--sp-l) 0 var(--sp-s);
}
.entry-body p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
  margin: 0 0 var(--sp-xs);
}
.entry-body > :first-child {
  margin-top: 0;
}
.entry-body p:last-child {
  margin-bottom: 0;
}
.entry-body a {
  color: var(--text-primary);
  text-decoration: underline;
}
.entry-body ul,
.entry-body ol {
  margin: 0 0 var(--sp-xs);
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.32;
  letter-spacing: -0.1px;
  color: var(--text-secondary);
}
.entry-body li {
  margin: var(--sp-xxs) 0;
}
.entry-body img {
  display: block;
  max-width: 100%;
  border-radius: var(--sp-xs);
}
.entry-body p:has(img) {
  margin: var(--sp-s) 0 0;
}
.entry-body .col-2 {
  display: flex;
  gap: var(--sp-m);
  align-items: flex-start;
  margin-top: 28px;
}
.entry-body .img-block {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-s);
}
.entry-body .img-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}
.entry-body .img-block img {
  width: 100%;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination {
  box-shadow: inset 0 1px 0 var(--border);
}
.pagination-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--wrapper);
}
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xxs);
  min-height: 40px;
  min-width: 40px;
  padding: var(--sp-xs) var(--sp-s);
  border-radius: var(--sp-xxs);
  background: var(--bg-strong);
  transition: background 0.3s;
}
.page-btn:hover {
  background: var(--bg);
}
.page-btn span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  letter-spacing: -0.1px;
  color: var(--text-primary);
}
.page-caret {
  width: 16px;
  height: 16px;
}

/* ── Mobile (≤768px) ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --wrapper: 16px;
    --vertical: 48px;
  }

  /* Header → hamburger */
  .site-header-inner {
    min-height: 92px;
  }
  .site-header-main {
    gap: var(--sp-s);
  }
  .brand-tag {
    font-size: 12px;
  }
  .brand-tag-line {
    display: block;
  }
  .brand-divider,
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .menu-cb:checked ~ .menu-overlay {
    display: block;
  }
  /* Keyboard-operable: un-hide the toggle checkbox as sr-only (focusable), and mirror its focus ring
     onto the visible hamburger so Tab + Space opens the menu. */
  .menu-cb {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .menu-cb:focus-visible ~ .site-header .menu-toggle {
    outline: 2px solid var(--rp-red);
    outline-offset: 2px;
  }
  /* CTA (feed pages only) → full-width row below the logo row */
  .site-header-inner {
    flex-wrap: wrap;
    gap: var(--sp-m);
  }
  .site-header-main {
    order: 1;
  }
  .menu-toggle {
    order: 2;
  }
  .cta {
    order: 3;
    flex-basis: 100%;
    width: 100%;
  }

  /* Hero → stacked */
  .hero--home .hero-home-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-bottom: var(--vertical);
  }
  .hero-main {
    padding: var(--sp-xl) var(--sp-xl) var(--sp-xl) 0;
  }
  .hero-main .hero-title {
    font-size: 52px;
  }
  .hero-cards {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .app-card {
    width: 100%;
    height: auto;
  }
  .app-card-icon {
    width: 72px;
    height: 72px;
  }

  /* Footer → stacked columns with dividers */
  .site-footer-inner {
    padding-block: var(--vertical);
  }
  .footer-nav {
    flex-direction: column;
    gap: var(--sp-l);
    padding-bottom: 0;
  }
  .footer-col,
  .footer-col--apps {
    flex: none;
    width: 100%;
    box-shadow: inset 0 -1px 0 var(--border);
    padding-bottom: var(--sp-l);
  }
  .footer-col:last-child {
    box-shadow: none;
    padding-bottom: 0;
  }
  .footer-legal {
    flex-wrap: wrap;
    align-items: flex-end;
    gap: var(--sp-xl) var(--sp-m);
  }
  .footer-legal-links {
    order: 1;
    flex: 0 0 100%;
    flex-wrap: wrap;
  }
  .footer-copy {
    order: 2;
    flex: 1 1 0;
  }
  .footer-bbb {
    order: 3;
  }

  /* Feed hero → stacked, pattern strip below */
  .hero--feed .hero-feed-inner {
    flex-direction: column;
    align-items: stretch;
    padding-left: 0;
    min-height: 0;
  }
  .hero-feed-main {
    padding: var(--sp-xl) var(--sp-m);
  }
  .hero-title--feed {
    font-size: 52px;
  }
  .hero-pattern {
    position: static;
    width: auto;
    height: 120px;
    margin-left: var(--sp-m);
    overflow: hidden;
  }
  .hero-pattern img {
    width: 377px;
    height: 377px;
  }

  /* Release note → stacked; sticky horizontal meta bar (no rail) */
  .release-note {
    box-shadow: none;
  }
  .release-note-inner {
    flex-direction: column;
    max-width: none;
    padding-inline: 0;
  }
  .rn-meta {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 2;
    background: linear-gradient(180deg, var(--bg-strong) 0%, var(--surface-0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  .rn-line-wrap {
    display: none;
  }
  .rn-info {
    position: static;
    width: 100%;
    justify-content: space-between;
    gap: 0;
    padding: var(--sp-m);
  }
  .rn-dot {
    left: -4px;
  }
  .rn-main {
    width: 100%;
    max-width: none;
    padding: var(--sp-xl) var(--sp-m) var(--vertical);
    gap: var(--sp-xl);
    z-index: 1;
  }
  .rn-title {
    font-size: 28px;
  }
  .entry-body h2 {
    margin-top: var(--sp-xl);
  }
  .entry-body h3 {
    margin-top: var(--sp-l);
  }
  .entry-body p:has(img) {
    margin-top: var(--sp-xs);
  }
  .entry-body .col-2 {
    flex-direction: column;
    gap: var(--sp-m);
    margin-top: var(--sp-l);
  }
  .entry-body .img-block {
    gap: var(--sp-xs);
  }

  /* Pagination → tighter padding */
  .pagination-inner {
    padding: var(--sp-m);
  }
}
