/*
Theme Name: Тандем Editorial
Theme URI: https://tandem.ru
Author: Тандем
Description: Чистый светлый журнал с сайдбаром — о близости, доверии и сексуальном здоровье пары.
Version: 1.0
Text Domain: tandem-editorial
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@400;500;600&display=swap&subset=cyrillic,latin');

/* ===== TOKENS ===== */
:root {
  --bg:      #fbfbfc;
  --surface: #ffffff;
  --surface2:#f3f4f6;
  --ink:     #16202b;
  --muted:   #6b7a8d;
  --line:    #e3e7ed;
  --accent:  #2f4a6b;
  --accent-h:#23374f;
  --tint:    #eef2f7;

  --serif:   'Lora', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;

  --maxw:    1200px;
  --col-main:680px;
  --col-side:300px;
  --gap:     48px;

  --tr: .2s ease;
  --radius: 3px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--accent-h); }
ul, ol { list-style: none; }

/* ===== LAYOUT SHELL ===== */
.site-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.site-main  { flex: 1; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; left: -999px; top: 6px; z-index: 9999;
  background: var(--accent); color: #fff; padding: 8px 16px;
  font-family: var(--sans); font-size: .8rem; border-radius: 2px;
}
.skip-link:focus { left: 10px; }

/* ================================================================
   HEADER — logo left, nav right, hairline bottom
   ================================================================ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 28px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.site-logo .logo-mark svg { display: block; }
.site-logo .logo-word {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1;
}

/* Category nav (right side) */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 2px 4px;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--tr), background var(--tr);
}
.site-nav a:hover {
  color: var(--accent);
  background: var(--tint);
}

/* Mobile burger */
.site-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
  flex-shrink: 0;
}
.site-burger svg { display: block; }

/* Mobile drawer */
.site-drawer {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  z-index: 99;
  background: rgba(255,255,255,.98);
  flex-direction: column;
  padding: 1.5rem 28px;
  gap: 0;
  border-top: 1px solid var(--line);
  overflow-y: auto;
}
.site-drawer.is-open { display: flex; }
.site-drawer a {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--tr);
}
.site-drawer a:hover { color: var(--accent); }

/* ================================================================
   INTRO — editorial manifesto block (single H1 on homepage)
   ================================================================ */
.intro {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 56px 28px 52px;
}
.intro__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  max-width: 62ch;
}
.intro__rule {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 26px;
}
.intro__title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.intro__desc {
  font-family: var(--sans);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
}

@media (max-width: 720px) {
  .intro { padding: 40px 20px 36px; }
  .intro__title { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .intro__rule { margin-bottom: 20px; }
}

/* ================================================================
   FRONT PAGE — 2-COLUMN LAYOUT
   [main ~680px]   [sidebar ~300px]
   ================================================================ */
.fp-outer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.fp-body {
  display: grid;
  grid-template-columns: var(--col-main) var(--col-side);
  gap: var(--gap);
  align-items: start;
  padding: 52px 0 72px;
}

/* ---- MAIN COLUMN ---- */
.fp-main { min-width: 0; }

/* Featured post */
.fp-featured { margin-bottom: 48px; }

.fp-featured__thumb {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  margin-bottom: 24px;
}
.fp-featured__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.fp-featured:hover .fp-featured__thumb img { transform: scale(1.03); }

.fp-featured__kicker {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.fp-featured__title {
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 14px;
}
.fp-featured__title a { color: var(--ink); }
.fp-featured__title a:hover { color: var(--accent); }
.fp-featured__lead {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.fp-featured__meta {
  font-size: .72rem;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.fp-featured__meta .meta-dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .5;
  flex-shrink: 0;
}

/* Divider */
.fp-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}

/* Recent posts vertical list */
.fp-list { display: flex; flex-direction: column; }

.fp-list-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.fp-list-item:first-child { border-top: none; }
.fp-list-item:last-child  { border-bottom: none; }

.fp-list-item__thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  flex-shrink: 0;
}
.fp-list-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fp-list-item:hover .fp-list-item__thumb img { transform: scale(1.05); }

.fp-list-item__body { min-width: 0; }
.fp-list-item__cat {
  display: inline-block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.fp-list-item__title {
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}
.fp-list-item__title a { color: var(--ink); }
.fp-list-item__title a:hover { color: var(--accent); }
.fp-list-item__excerpt {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fp-list-item__meta { font-size: .68rem; color: var(--muted); }

/* ---- SIDEBAR ---- */
.fp-sidebar { min-width: 0; position: sticky; top: 84px; }

.sb-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.sb-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.sb-heading {
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

/* About block */
.sb-about__text {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.72;
}

/* Fresh posts list (sidebar) */
.sb-fresh { display: flex; flex-direction: column; }
.sb-fresh-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.sb-fresh-item:first-child { padding-top: 0; }
.sb-fresh-item:last-child  { border-bottom: none; padding-bottom: 0; }

.sb-fresh-item__cat {
  display: block;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.sb-fresh-item__title {
  font-family: var(--serif);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--tr);
}
.sb-fresh-item:hover .sb-fresh-item__title { color: var(--accent); }

/* Categories list (sidebar) */
.sb-cats { display: flex; flex-direction: column; }
.sb-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .875rem;
  color: var(--ink);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--tr);
}
.sb-cats a:last-child { border-bottom: none; }
.sb-cats a:hover { color: var(--accent); }
.sb-cats a span {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 400;
}

/* ================================================================
   CATEGORY SECTIONS (below the 2-col layout)
   Clean 3-column card rows, section-per-category
   ================================================================ */
.fp-sections { background: var(--bg); }

.cat-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 52px 28px;
  border-top: 1px solid var(--line);
}
.cat-section:last-child { padding-bottom: 72px; }

.cat-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.cat-section__title {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink);
}
.cat-section__all {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--tr);
}
.cat-section__all:hover { color: var(--accent); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}

/* Card */
.cat-card { display: flex; flex-direction: column; }
.cat-card__thumb {
  display: block;
  aspect-ratio: 16/11;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  margin-bottom: 14px;
}
.cat-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-card:hover .cat-card__thumb img { transform: scale(1.04); }
.cat-card__cat {
  display: block;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.cat-card__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 6px;
  color: var(--ink);
  transition: color var(--tr);
  flex: 1;
}
.cat-card:hover .cat-card__title { color: var(--accent); }
.cat-card__title a { color: inherit; }
.cat-card__meta { font-size: .68rem; color: var(--muted); }

/* ================================================================
   SINGLE POST
   ================================================================ */
.single-outer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.single-layout {
  display: grid;
  grid-template-columns: var(--col-main) var(--col-side);
  gap: var(--gap);
  align-items: start;
  padding: 52px 0 72px;
}

.single-article { min-width: 0; }

/* Featured image */
.single-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  margin-bottom: 32px;
}
.single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category kicker */
.single-kicker {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.single-kicker a { color: var(--accent); }
.single-kicker a:hover { color: var(--accent-h); }

/* H1 */
.single-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 22px;
}

/* Byline */
.single-byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.single-byline .av { flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.single-byline b { color: var(--ink); font-weight: 600; }
.single-byline .bl-dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .5;
  flex-shrink: 0;
}

/* Prose */
.single-prose {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--ink);
}
.single-prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: .8;
  color: var(--accent);
  padding-right: 10px;
  padding-top: 6px;
}
.single-prose p { margin-bottom: 1.4em; }
.single-prose h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 2em 0 .6em;
  color: var(--ink);
  letter-spacing: -.01em;
}
.single-prose h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.7em 0 .5em;
  color: var(--ink);
}
.single-prose a {
  color: var(--accent);
  border-bottom: 1px solid rgba(47,74,107,.25);
  transition: border-color var(--tr);
}
.single-prose a:hover { border-color: var(--accent); }
.single-prose ul,
.single-prose ol { padding-left: 1.4rem; margin-bottom: 1.4em; list-style: disc; }
.single-prose ol { list-style: decimal; }
.single-prose li { margin-bottom: .4em; }
.single-prose figure { margin: 2em 0; }
.single-prose figure img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.single-prose blockquote {
  margin: 2em 0;
  padding: 1rem 1.4rem;
  border-left: 3px solid var(--accent);
  background: var(--tint);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.single-prose blockquote p { margin: 0; }
.single-prose img {
  border-radius: var(--radius);
  margin: 1.8em auto;
  max-width: 100%;
}

/* Related posts */
.single-related {
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.single-related__label {
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 18px;
}
.rel-card { display: flex; flex-direction: column; }
.rel-card__thumb {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  margin-bottom: 10px;
}
.rel-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.rel-card:hover .rel-card__thumb img { transform: scale(1.04); }
.rel-card__cat {
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 5px;
}
.rel-card__title {
  font-family: var(--serif);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--tr);
}
.rel-card:hover .rel-card__title { color: var(--accent); }

/* Single sidebar */
.single-sidebar { min-width: 0; position: sticky; top: 84px; }

/* ================================================================
   ARCHIVE
   ================================================================ */
.arch-lead {
  text-align: center;
  padding: 56px 28px 0;
  max-width: var(--maxw);
  margin: 0 auto;
}
.arch-lead .kicker {
  display: inline-block;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.arch-lead h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.arch-lead .arch-desc {
  font-size: .9rem;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 auto;
  line-height: 1.65;
}

.arch-grid {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 0 28px 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.arch-pager {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px 60px;
  text-align: center;
}
.arch-pager .page-numbers {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.arch-pager .page-numbers a,
.arch-pager .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: var(--radius);
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}
.arch-pager .page-numbers a:hover,
.arch-pager .page-numbers .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ================================================================
   FOOTER — brand + categories + copyright
   ================================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 60px 28px 32px;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

/* Brand column */
.foot-brand { display: flex; flex-direction: column; }
.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.foot-logo .logo-word {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
}
.foot-tagline {
  font-size: .82rem;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
  max-width: 24ch;
}

/* Categories column */
.foot-cats__heading {
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 14px;
}
.foot-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.foot-cats__list a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--tr);
}
.foot-cats__list a:hover { color: #fff; }

/* Bottom bar */
.foot-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.foot-bottom strong { color: rgba(255,255,255,.5); font-weight: 500; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  :root {
    --col-main: 1fr;
    --col-side: 260px;
    --gap: 36px;
  }
}

@media (max-width: 900px) {
  .fp-body {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 0 56px;
  }
  .fp-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    position: static;
  }
  .sb-block { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

  .single-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 0 56px;
  }
  .single-sidebar {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 32px;
    position: static;
  }
  .single-sidebar .sb-block { border-bottom: none; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-grid { grid-template-columns: repeat(2, 1fr); }
  .rel-grid  { grid-template-columns: repeat(2, 1fr); }

  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-burger { display: flex; align-items: center; }

  .fp-sidebar { grid-template-columns: 1fr; }
  .single-sidebar { grid-template-columns: 1fr; }
  .sb-block {
    border-bottom: 1px solid var(--line);
    margin-bottom: 32px;
    padding-bottom: 32px;
  }
  .sb-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .cat-grid,
  .arch-grid,
  .rel-grid { grid-template-columns: 1fr; }
  .fp-list-item {
    grid-template-columns: 80px 1fr;
    gap: 14px;
    padding: 18px 0;
  }
  .single-prose > p:first-of-type::first-letter { font-size: 3.2rem; }
  .arch-lead,
  .arch-grid,
  .arch-pager,
  .fp-outer,
  .single-outer { padding-left: 20px; padding-right: 20px; }
  .site-header__inner { padding: 0 20px; }
  .cat-section { padding: 36px 20px; }
  .site-footer { padding-left: 20px; padding-right: 20px; }
}
