/* ============================================
   Журнал — Кристина Козлова
   Blog / magazine extension stylesheet
   Matches the editorial luxury aesthetic of the main site
   ============================================ */

/* ---------- Tokens ---------- */
:root {
  --c-cream:        #f4ede4;
  --c-cream-2:      #ebe2d4;
  --c-paper:        #faf6f0;
  --c-ink:          #1c1614;
  --c-ink-soft:     #3a322d;
  --c-mute:         #7a6f66;
  --c-rule:         #d6cabb;
  --c-blush:        #c89a8a;
  --c-blush-deep:   #8a5a4d;
  --c-gold:         #b89968;

  --ff-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --ff-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1200px;
  --maxw-narrow: 720px;
  --pad:  clamp(24px, 5vw, 56px);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
em, .italic { font-style: italic; font-family: var(--ff-display); font-weight: 400; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.container-narrow {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Typography utility ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-blush-deep);
  margin: 0 0 16px;
}
.eyebrow.muted { color: var(--c-mute); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 16px 28px;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: all .35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn-dark {
  background: var(--c-ink);
  color: var(--c-paper);
}
.btn-dark:hover { background: var(--c-blush-deep); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
}
.btn-ghost:hover { background: var(--c-ink); color: var(--c-paper); }

.btn-sm { padding: 10px 20px; font-size: 12px; }

.btn-link {
  padding: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .14em;
  font-weight: 500;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  transition: color .3s var(--ease);
}
.btn-link:hover { color: var(--c-blush-deep); }

/* ============================================
   HEADER (mirrors main site)
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--c-rule); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
}
.logo-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--c-ink);
  color: var(--c-paper);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
}
.logo-name {
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .02em;
  font-weight: 500;
}

.nav-main {
  display: flex;
  gap: 30px;
}
.nav-main a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav-main a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-blush-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.nav-main a:hover,
.nav-main a.is-active { color: var(--c-blush-deep); }
.nav-main a:hover::after,
.nav-main a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; gap: 5px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 1.5px;
  background: var(--c-ink);
  transition: all .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 var(--pad) 28px;
  gap: 8px;
  border-top: 1px solid var(--c-rule);
}
.nav-mobile a {
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-rule);
}
.nav-mobile.open { display: flex; }

/* ============================================
   JOURNAL HUB (Журнал — главная)
   ============================================ */
.journal-intro {
  padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px);
  text-align: center;
}
.journal-intro .eyebrow { color: var(--c-mute); }
.journal-intro h1 {
  font-family: var(--ff-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  font-weight: 400;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.journal-intro h1 em { color: var(--c-blush-deep); }
.journal-intro p.lede {
  max-width: 580px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--c-ink-soft);
  line-height: 1.7;
}

.journal-rule {
  height: 1px;
  background: var(--c-rule);
  margin: clamp(40px, 5vw, 64px) 0;
}

/* ---------- Featured (large card) ---------- */
.featured {
  padding: clamp(20px, 3vw, 36px) 0;
}
.featured-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--c-cream);
  border-radius: 8px;
  overflow: hidden;
}
.featured-card .media {
  aspect-ratio: 4/5;
  overflow: hidden;
}
.featured-card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.featured-card:hover .media img { transform: scale(1.04); }
.featured-card .text {
  padding: clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(24px, 4vw, 56px) 0;
}
.featured-card h2 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  margin: 16px 0 20px;
  letter-spacing: -0.005em;
}
.featured-card h2 a { color: var(--c-ink); }
.featured-card h2 a:hover { color: var(--c-blush-deep); }
.featured-card .excerpt {
  color: var(--c-ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 28px;
}
.featured-card .meta {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-mute);
}

/* ---------- Section headings ---------- */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 48px) 0 clamp(16px, 2vw, 24px);
  border-bottom: 1px solid var(--c-rule);
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-head h2 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.005em;
}
.section-head h2 em { color: var(--c-blush-deep); }
.section-head .more {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mute);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}
.section-head .more:hover { color: var(--c-blush-deep); }

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  background: var(--c-cream);
  transition: transform .4s var(--ease);
}
.cat-card .media {
  position: absolute; inset: 0;
}
.cat-card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.cat-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,22,20,.78) 0%, rgba(28,22,20,.18) 50%, rgba(28,22,20,0) 100%);
}
.cat-card .label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 3vw, 32px);
  color: var(--c-paper);
}
.cat-card .label .kicker {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .7;
  margin-bottom: 6px;
}
.cat-card .label h3 {
  font-family: var(--ff-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 400;
  margin: 0;
  line-height: 1.05;
}
.cat-card:hover .media img { transform: scale(1.06); }
.cat-card:hover { transform: translateY(-3px); }

/* ---------- Article cards (grid) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 3vw, 40px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.card {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.card .media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 18px;
  background: var(--c-cream);
}
.card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.card:hover .media img { transform: scale(1.05); }
.card .kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-blush-deep);
  margin-bottom: 8px;
  font-weight: 500;
}
.card h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.card h3 a { color: var(--c-ink); }
.card h3 a:hover { color: var(--c-blush-deep); }
.card .excerpt {
  color: var(--c-ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.card .meta {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-top: auto;
}

/* ---------- Article cards grid (category pages) ---------- */
.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 560px) {
  .article-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Compact list (for category pages "all articles") ---------- */
.list {
  padding-bottom: clamp(40px, 5vw, 64px);
}
.list-group {
  display: grid;
  gap: 0;
  scroll-margin-top: 90px;
}
.list-group-label {
  margin: 0;
  padding: clamp(28px, 4vw, 44px) 0 clamp(12px, 2vw, 20px);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-blush-deep);
  border-top: 2px solid var(--c-blush-deep);
}
.list-group:first-child .list-group-label {
  border-top: none;
  padding-top: 0;
}
.list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--c-rule);
}
.list-item:last-child { border-bottom: 1px solid var(--c-rule); }
.list-item .media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--c-cream);
}
.list-item .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.list-item:hover .media img { transform: scale(1.04); }
.list-item .text .kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 6px;
}
.list-item .text h3 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  margin: 0 0 8px;
  line-height: 1.2;
}
.list-item .text h3 a { color: var(--c-ink); }
.list-item .text h3 a:hover { color: var(--c-blush-deep); }
.list-item .text .excerpt {
  color: var(--c-ink-soft);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Main category nav strip ---------- */
.cat-nav {
  padding-top: clamp(16px, 2vw, 24px);
  padding-bottom: clamp(8px, 1.5vw, 14px);
}
.cat-nav-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-rule);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-ink-soft);
  background: var(--c-paper);
  transition: all .3s var(--ease);
}
.cat-nav-pill:hover,
.cat-nav-pill.is-active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}
.cat-nav-pill .count {
  margin-left: 8px;
  font-size: 11px;
  opacity: .55;
}

/* ---------- Subcategory pills ---------- */
.subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-bottom: clamp(28px, 4vw, 40px);
}
.subcat-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-rule);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-ink-soft);
  background: var(--c-paper);
  transition: all .3s var(--ease);
}
.subcat-pill:hover,
.subcat-pill.is-active {
  background: var(--c-ink);
  color: var(--c-paper);
  border-color: var(--c-ink);
}
.subcat-pill .count {
  margin-left: 8px;
  font-size: 11px;
  opacity: .55;
}

.subcat-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding-bottom: clamp(28px, 4vw, 40px);
}
.subcat-group {
  border: 1px solid var(--c-rule);
  border-radius: 18px;
  padding: 20px 20px 16px;
  background: var(--c-paper);
}
.subcat-group .eyebrow {
  margin: 0 0 14px;
  color: var(--c-ink-soft);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.subcat-group .subcats {
  gap: 10px 10px;
}

/* ============================================
   CATEGORY PAGE HERO
   ============================================ */
.cat-hero {
  padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 32px);
}
.cat-hero .eyebrow { color: var(--c-mute); }
.cat-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.cat-hero h1 em { color: var(--c-blush-deep); }
.cat-hero .lede {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.breadcrumb {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-mute);
  padding: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 560px) {
  .breadcrumb {
    padding-left: 24px;
    padding-right: 24px;
  }
}
.breadcrumb a { color: var(--c-mute); transition: color .3s var(--ease); }
.breadcrumb a:hover { color: var(--c-blush-deep); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--c-ink); }

/* Social icons above H1 on blog pages */
.blog-social-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.blog-social-nav a {
  display: flex;
  align-items: center;
  color: var(--c-mute);
  transition: color .2s;
}
.blog-social-nav a:hover { color: var(--c-ink); }
.blog-social-nav svg { display: block; }

.article-head {
  padding: clamp(20px, 4vw, 48px) 0 clamp(24px, 4vw, 40px);
  text-align: center;
}
.article-head .eyebrow {
  display: inline-block;
}
.article-head h1 {
  font-family: var(--ff-display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  font-weight: 400;
  margin: 0 auto 20px;
  letter-spacing: -0.01em;
  max-width: 880px;
}
.article-head .lede {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--c-ink-soft);
  font-style: italic;
  font-family: var(--ff-display);
  font-weight: 400;
}
.article-head .meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-mute);
}
.article-head .meta .sep { opacity: .5; }

.article-hero {
  margin: 0 auto clamp(32px, 5vw, 56px);
  max-width: 1100px;
  padding: 0 var(--pad);
}
.article-hero img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--c-cream);
}

/* Portrait hero — keeps original 9:16 ratio at all sizes */
.article-hero--portrait img {
  aspect-ratio: 9/16;
  max-height: 80vh;
  object-fit: cover;
  object-position: center top;
}

/* Desktop: narrow the container so 9:16 is compact, not full-width */
@media (min-width: 700px) {
  .article-hero--portrait {
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .article-hero--portrait img {
    max-height: none; /* ratio drives height at 380px width = ~675px tall */
  }
}

.article-inline-figure {
  display: block;
  width: 100%;
  max-width: var(--maxw-narrow);
  margin: 0 auto clamp(28px, 4vw, 48px);
  padding: 0 var(--pad);
}
.article-inline-figure img {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}
.article-inline-figure video {
  display: block;
  width: 100%;
  border-radius: 6px;
}
/* Desktop: same vh cap as mobile — no hard-crop on portrait images */
@media (min-width: 700px) {
  .article-inline-figure img {
    max-height: 60vh;
  }
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: var(--maxw-narrow);
  margin: 0 auto clamp(28px, 4vw, 48px);
  padding: 32px 24px;
  min-height: 120px;
  border: 1px dashed var(--c-rule, #d8d2c8);
  border-radius: 6px;
  background: var(--c-bg-subtle, #fafaf9);
  color: var(--c-text-muted, #999);
  font-size: 0.85rem;
  line-height: 1.5;
  font-style: italic;
}

.article-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.article-body p {
  margin: 0 0 1.4em;
}
.article-body p:first-child::first-letter {
  font-family: var(--ff-display);
  font-size: 2em;
  line-height: 1;
  color: var(--c-blush-deep);
  font-weight: 400;
  vertical-align: baseline;
}
.article-body h2 {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  color: var(--c-ink);
  margin: 1.6em 0 .6em;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
.article-body h3 {
  font-family: var(--ff-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 1.6em 0 .5em;
  letter-spacing: 0.01em;
}
.article-body blockquote {
  margin: 2em 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--c-blush);
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--c-ink);
  font-style: italic;
}
.article-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
}
.article-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: .6em;
}
.article-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .8em;
  width: 12px; height: 1px;
  background: var(--c-blush-deep);
}
.article-body strong { color: var(--c-ink); font-weight: 600; }
.article-body em { font-family: var(--ff-display); font-style: italic; }
.article-body a {
  color: var(--c-blush-deep);
  text-decoration: underline;
  text-decoration-color: var(--c-blush);
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--c-ink); }
/* Callout lines linking to satellites/pillar */
.article-micro-link {
  font-size: 14px;
  color: var(--c-mute);
  font-style: italic;
  margin-bottom: 20px;
}
.article-micro-link a {
  color: var(--c-blush-deep);
  text-decoration: underline;
  text-decoration-color: var(--c-blush);
  text-underline-offset: 2px;
  font-style: normal;
}
.article-micro-link a:hover { color: var(--c-ink); }

.author-bio {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border-radius: 12px;
  background: var(--c-cream);
  margin: 32px 0;
}
.author-bio__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}
.author-bio__name {
  font-weight: 600;
  color: var(--c-ink-soft);
  margin: 0 0 4px;
}
.author-bio__desc {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--c-mute);
  line-height: 1.5;
}
.author-bio__link {
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 480px) {
  .author-bio { flex-direction: column; text-align: center; }
}

.article-tags {
  border-top: 1px solid var(--c-rule);
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.article-tags .lab {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-right: 8px;
}
.article-tags a {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--c-cream);
  color: var(--c-ink-soft);
  letter-spacing: 0.02em;
  transition: all .3s var(--ease);
}
.article-tags a:hover {
  background: var(--c-ink);
  color: var(--c-paper);
}

/* ============================================
   ARTICLE ASK FORM
   ============================================ */
.article-ask {
  padding: 36px 0 44px;
}
.article-ask-inner {
  background: var(--c-cream);
  border-radius: 3px;
  padding: 28px 32px 32px;
}
.article-ask h3 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: var(--c-ink);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.article-ask-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article-ask-form textarea,
.article-ask-form input[type="text"] {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--c-ink);
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-radius: 2px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color .2s;
}
.article-ask-form textarea {
  min-height: 76px;
  resize: vertical;
  line-height: 1.5;
}
.article-ask-form textarea:focus,
.article-ask-form input[type="text"]:focus {
  border-color: var(--c-blush);
}
.article-ask-form textarea::placeholder,
.article-ask-form input[type="text"]::placeholder {
  color: var(--c-mute);
}
.article-ask-btn {
  align-self: flex-start;
  margin-top: 4px;
  font-family: var(--ff-body);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-paper);
  background: var(--c-ink);
  border: none;
  border-radius: 2px;
  padding: 13px 24px;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.article-ask-btn:hover { background: var(--c-blush-deep); }
.article-ask-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Related */
.related {
  background: var(--c-cream);
  padding: clamp(48px, 6vw, 80px) 0;
}
.related .section-head {
  border-color: var(--c-rule);
}

/* ============================================
   FOOTER (mirrors main site)
   ============================================ */
.site-footer {
  background: var(--c-ink);
  color: var(--c-paper);
  padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
  margin-top: clamp(60px, 8vw, 100px);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-display);
  font-size: 20px;
}
.footer-logo .logo-mark {
  background: var(--c-paper);
  color: var(--c-ink);
}
.footer-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-rule);
}
.footer-top {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--c-paper);
  padding-bottom: 2px;
  transition: color .3s var(--ease);
}
.footer-top:hover { color: var(--c-blush); }

/* ============================================
   SEARCH MODAL
   ============================================ */
.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--c-rule);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--c-mute);
  background: var(--c-paper);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.search-trigger:hover {
  color: var(--c-ink);
  border-color: var(--c-ink-soft);
}
.search-trigger svg { stroke: currentColor; opacity: .8; }
.search-trigger .search-trigger-key {
  font-size: 10px;
  letter-spacing: .12em;
  border: 1px solid var(--c-rule);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
  font-family: var(--ff-body);
  color: var(--c-mute);
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: start center;
  padding: clamp(20px, 6vw, 80px) var(--pad);
}
.search-modal[hidden] { display: none; }
body.search-open { overflow: hidden; }
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 22, 20, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.search-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--c-paper);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(28, 22, 20, 0.25);
  overflow: hidden;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--c-rule);
}
.search-bar .search-icon { color: var(--c-mute); flex: none; }
.search-bar input {
  flex: 1;
  border: 0;
  background: none;
  font-family: var(--ff-body);
  font-size: 17px;
  color: var(--c-ink);
  outline: none;
  padding: 8px 0;
  font-weight: 400;
}
.search-bar input::placeholder {
  color: var(--c-mute);
  font-weight: 400;
}
.search-close {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: 24px;
  color: var(--c-mute);
  border-radius: 50%;
  transition: all .25s var(--ease);
  flex: none;
}
.search-close:hover {
  color: var(--c-ink);
  background: var(--c-cream);
}
.search-results {
  overflow-y: auto;
  padding: 12px 0;
}
.search-hint {
  margin: 0;
  padding: 16px 24px;
  color: var(--c-mute);
  font-size: 14px;
  text-align: center;
}
.search-count {
  margin: 0;
  padding: 8px 24px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-mute);
}
.search-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.search-hit {
  border-top: 1px solid var(--c-rule);
}
.search-hit:first-child { border-top: 0; }
.search-hit a {
  display: block;
  padding: 14px 24px;
  transition: background .2s var(--ease);
}
.search-hit a:hover { background: var(--c-cream); }
.search-hit-cat {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-blush-deep);
  font-weight: 500;
  margin-bottom: 4px;
}
.search-hit-title {
  font-family: var(--ff-display);
  font-size: 18px;
  line-height: 1.25;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.search-hit-excerpt {
  font-size: 13px;
  color: var(--c-ink-soft);
  line-height: 1.5;
}
.search-hit mark {
  background: rgba(200, 154, 138, 0.25);
  color: var(--c-ink);
  padding: 0 2px;
  border-radius: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-row > .btn { display: none; }
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card .text {
    padding: 0 clamp(24px, 4vw, 40px) clamp(24px, 4vw, 40px);
  }
  .list-item {
    grid-template-columns: 130px 1fr;
    gap: 16px;
  }
}
.article-all-cats {
  padding: 20px 0 clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--c-rule);
  margin-top: 0;
}
.article-all-cats .section-head {
  border-bottom: none;
  margin-bottom: 20px;
}
.article-ask {
  padding: 24px 0 16px;
}
.article-all-cats .cat-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .article-all-cats .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 400px) {
  .article-all-cats .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .article-all-cats .cat-card {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 560px) {
  .section-head {
    flex-direction: column;
    align-items: start;
    gap: 8px;
  }

  /* Article H1 smaller on mobile */
  .article-head h1 {
    font-size: clamp(26px, 7vw, 36px);
  }
  .article-head .lede {
    font-size: 16px;
  }

  /* Article body */
  .article-body {
    font-size: 16px;
  }

  /* Ask form: reduce inner padding on mobile */
  .article-ask-inner {
    padding: 20px 16px 24px;
  }
  /* Ask button full-width on mobile */
  .article-ask-btn {
    align-self: stretch;
    text-align: center;
    width: 100%;
  }

  /* List item thumbnail: taller on small screens */
  .list-item {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: start;
  }
  .list-item .media {
    aspect-ratio: 3/4;
  }

  .footer-row { justify-content: center; text-align: center; }
}

/* ── Blog sections nav bar ───────────────────────────────────────────────── */
.blog-sections-bar {
  background: var(--c-cream-2);
  border-bottom: 1px solid var(--c-rule);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;          /* nav is flex so details sits outside the scroll area */
  align-items: stretch;
}
.blog-sections-bar__inner {
  flex: 1;
  min-width: 0;           /* allow shrink */
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
  padding: 0;
}
.blog-sections-bar__inner::-webkit-scrollbar { display: none; }
.blog-sections-bar a {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  text-decoration: none;
  padding: 10px 14px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  flex-shrink: 0;
}
.blog-sections-bar a:hover,
.blog-sections-bar a.is-active {
  color: var(--c-ink);
  border-bottom-color: var(--c-blush-deep);
}

/* "Ещё" dropdown — sibling of __inner, not inside it, so dropdown escapes overflow */
.blog-sections-more { flex-shrink: 0; position: relative; display: flex; align-items: center; }
.blog-sections-more summary {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .15s;
}
.blog-sections-more summary::-webkit-details-marker { display: none; }
.blog-sections-more summary::after { content: " ▾"; font-size: 9px; }
.blog-sections-more[open] summary { color: var(--c-ink); }
.blog-sections-more__menu {
  position: absolute;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  min-width: 200px;
  padding: 6px 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.blog-sections-more__menu a {
  padding: 8px 16px;
  border-bottom: none;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
}
.blog-sections-more__menu a:hover { background: var(--c-cream); }

/* Section landing page header */
.journal-section-head {
  padding: clamp(32px, 5vw, 64px) 0 clamp(24px, 3vw, 40px);
  background: var(--c-paper);
  text-align: center;
}
.journal-section-head h1 {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  margin: 8px 0 12px;
}
.journal-section-head .lede {
  font-size: 16px;
  color: var(--c-mute);
  max-width: 560px;
  margin: 0 auto;
}

/* Back link on subsection pages */
.back-section-link {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--c-mute);
  text-decoration: none;
  transition: color .15s;
}
.back-section-link:hover { color: var(--c-ink); }

/* ── Cat-grid: 2 columns on mobile ────────────────────────────────────────── */
@media (max-width: 560px) {
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .cat-card .label h3 {
    font-size: 17px;
  }
  .cat-card .label {
    padding: 12px 14px;
  }
}

/* ── Sections bar: don't stick on mobile (prevents header overlap & menu block) */
@media (max-width: 900px) {
  .blog-sections-bar {
    position: relative;
    top: auto;
  }
}

/* ── Subcategory cards: compact size on mobile ─────────────────────────────── */
@media (max-width: 560px) {
  .cat-grid--sub {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cat-grid--sub .cat-card {
    aspect-ratio: 4/3;
  }
  .cat-grid--sub .cat-card .label h3 {
    font-size: 14px;
    line-height: 1.2;
  }
  .cat-grid--sub .cat-card .label {
    padding: 8px 10px;
  }
  .cat-grid--sub .cat-card .label .kicker {
    display: none;
  }
}

/* ── Mobile: hide sections bar entirely (breadcrumb + menu handle nav) ──── */
@media (max-width: 900px) {
  .blog-sections-bar {
    display: none;
  }
}

/* ── Mobile: subcategory tiles → compact pills (see all at once) ─────────── */
@media (max-width: 900px) {
  .cat-grid--sub {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    grid-template-columns: unset;
    padding-bottom: 24px;
  }
  .cat-grid--sub .cat-card {
    aspect-ratio: unset;
    width: auto;
    height: 40px;
    border-radius: 20px;
    background: var(--c-cream-2);
    border: 1px solid var(--c-rule);
    transform: none !important;
    flex: 0 0 auto;
  }
  .cat-grid--sub .cat-card .media { display: none; }
  .cat-grid--sub .cat-card .veil  { display: none; }
  .cat-grid--sub .cat-card .label {
    position: static;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 16px;
    color: var(--c-ink);
  }
  .cat-grid--sub .cat-card .label h3 {
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    color: var(--c-ink);
    white-space: nowrap;
    font-style: normal;
  }
  .cat-grid--sub .cat-card .label .kicker { display: none; }
  .cat-grid--sub .cat-card:hover { transform: none; background: var(--c-cream); }
}

/* ── Subcategory grid: no image preview on ANY screen size ───────────────── */
.cat-grid--sub {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.cat-grid--sub .cat-card {
  aspect-ratio: unset;
  height: 52px;
  background: var(--c-cream-2);
  border: 1px solid var(--c-rule);
}
.cat-grid--sub .cat-card .media { display: none; }
.cat-grid--sub .cat-card .veil  { display: none; }
.cat-grid--sub .cat-card .label {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  color: var(--c-ink);
}
.cat-grid--sub .cat-card .label .kicker { display: none; }
.cat-grid--sub .cat-card .label h3 {
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--c-ink);
  line-height: 1.2;
  font-style: normal;
}
.cat-grid--sub .cat-card:hover {
  background: var(--c-cream);
  transform: translateY(-1px);
}

/* ── Section page: tighter spacing with compact subcategory pills ─────────── */
.journal-section-head {
  padding: clamp(16px, 3vw, 32px) 0 clamp(10px, 2vw, 20px);
}
.journal-section-head .lede {
  margin-top: 6px;
}
/* Override the inline padding-top/bottom on subcategory grid sections */
.container:has(.cat-grid--sub) {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* ── Skincare cluster: featured pillar card ──────────────────────────────── */
.pillar-featured {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  text-decoration: none;
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 32px);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.pillar-featured:hover {
  box-shadow: 0 8px 32px rgba(28,22,20,.1);
  transform: translateY(-2px);
}
.pillar-img {
  width: 220px;
  min-width: 0;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 6px;
  align-self: stretch;
}
.pillar-img img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 6px;
}
.pillar-badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-blush-deep);
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.pillar-text h2 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--c-ink);
  margin: 8px 0 10px;
  line-height: 1.15;
}
.pillar-text .excerpt {
  font-size: 14px;
  color: var(--c-mute);
  line-height: 1.6;
  margin-bottom: 14px;
}
.pillar-cta {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-blush-deep);
  letter-spacing: .04em;
}
@media (max-width: 560px) {
  .pillar-featured {
    grid-template-columns: 1fr;
  }
  .pillar-img { display: none; }
}

/* ── Category cluster section heading (non-clickable H2 separator) ───────── */
.cluster-section-heading {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--c-ink-soft);
  margin: 32px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-rule);
}

/* ── Cluster tile blocks ─────────────────────────────────────────────────── */
.cluster-tiles-section {
  margin: 40px 0 8px;
}
.cluster-tiles-heading {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--c-ink);
}
.cluster-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.cluster-tile {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: start;
  text-decoration: none;
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  border-radius: 8px;
  padding: 14px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.cluster-tile:hover {
  box-shadow: 0 4px 16px rgba(28,22,20,.09);
  transform: translateY(-2px);
}
.cluster-tile__img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}
.cluster-tile__text h3 {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 5px;
  line-height: 1.35;
}
.cluster-tile__text p {
  font-size: 12px;
  color: var(--c-mute);
  line-height: 1.5;
  margin: 0;
}
/* Satellite backlink tile to pillar */
.pillar-back-tile {
  margin: 32px 0 8px;
}
.cluster-tile--pillar {
  grid-template-columns: 100px 1fr;
  background: var(--c-paper);
  border-color: var(--c-blush);
}
.cluster-tile--pillar .cluster-tile__img img {
  width: 100px;
  height: 100px;
}
.cluster-tile--pillar .cluster-tile__text h3 {
  font-size: 14px;
}
@media (max-width: 560px) {
  .cluster-tiles {
    grid-template-columns: 1fr;
  }
}

/* ── Spec-exact class names: related-cluster + back-to-pillar ─────────────── */
.related-cluster {
  margin: 40px 0 8px;
  padding: 0;
}
.related-cluster h2 {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--c-ink);
}
.related-cluster__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.related-tile {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
}
.related-tile:hover { border-color: var(--c-blush); background: var(--c-cream-2); }
.related-tile img {
  width: 80px;
  height: 54px;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}
.related-tile h3 {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0 0 4px;
}
.related-tile p {
  font-size: 12px;
  color: var(--c-mute);
  line-height: 1.5;
  margin: 0;
}
/* Back-to-pillar tile in satellites */
.back-to-pillar {
  margin: 32px 0 8px;
}
.back-to-pillar__tile {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  background: var(--c-paper);
  border: 1px solid var(--c-blush);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.back-to-pillar__tile:hover { border-color: var(--c-blush-deep); }
.back-to-pillar__tile img {
  width: 100px;
  height: 68px;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}
.back-to-pillar__tile h3 {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 6px;
}
.back-to-pillar__tile p {
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.5;
  margin: 0;
}
/* Badge on pillar category card */
.badge-pillar {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--c-blush);
  color: #fff;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}
/* In-body article image (spec class name) — same behaviour as article-inline-figure */
.article-image {
  display: block;
  width: 100%;
  max-width: var(--maxw-narrow);
  margin: 0 auto clamp(28px, 4vw, 48px);
  padding: 0 var(--pad);
}
.article-image img {
  display: block;
  width: 100%;
  max-height: 60vh;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}
.article-image figcaption {
  font-size: 13px;
  color: var(--c-mute);
  margin-top: 8px;
  font-style: italic;
}

/* Numbered lists inside article body (checklists, ranked items) */
.article-body ol {
  margin: 0 0 1.4em;
  padding-left: 1.3em;
}
.article-body ol li {
  margin-bottom: .6em;
  padding-left: .4em;
}
@media (max-width: 560px) {
  .related-cluster__grid { grid-template-columns: 1fr; }
  .back-to-pillar__tile { grid-template-columns: 80px 1fr; }
}

/* ── Blog root: category list cards ─────────────────────────── */
.cat-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 0 0 48px;
}
@media (min-width: 768px)  { .cat-list { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .cat-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.cat-list-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  min-height: 80px;
  background: var(--c-paper);
  border: 1px solid var(--c-rule);
  border-radius: 12px;
  text-decoration: none;
  color: var(--c-ink);
  transition: background 150ms var(--ease), box-shadow 150ms var(--ease), transform 150ms var(--ease);
}
.cat-list-card:hover {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.cat-list-card:active {
  background: var(--c-cream-2);
  transform: scale(0.98);
}
.cat-list-card__body {
  flex: 1;
  min-width: 0;
}
.cat-list-card__title {
  font-family: var(--ff-body);
  font-size: 17px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 4px;
  line-height: 1.2;
}
.cat-list-card__desc {
  font-size: 13px;
  color: var(--c-mute);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-list-card__count {
  font-size: 11px;
  font-family: var(--ff-body);
  font-weight: 500;
  color: var(--c-blush-deep);
  background: var(--c-cream);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cat-list-card__arrow {
  color: var(--c-rule);
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 150ms var(--ease), color 150ms;
}
.cat-list-card:hover .cat-list-card__arrow {
  transform: translateX(3px);
  color: var(--c-blush-deep);
}
@media (min-width: 768px) {
  .cat-list-card { padding: 20px; }
  .cat-list-card__title { font-size: 18px; }
}
.cat-list-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--c-mute);
  font-size: 15px;
}
.cat-list-empty a { color: var(--c-blush-deep); }

/* Blog root: journal header */
.journal-hero { padding: 48px 0 32px; }
.journal-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  margin: 0 0 12px;
  color: var(--c-ink);
}
.journal-hero .lede {
  font-size: 15px;
  color: var(--c-mute);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}

/* ============================================
   ARTICLE CTA BLOCK
   ============================================ */
.article-cta {
  background: var(--c-cream);
  border-left: 3px solid var(--c-ink-soft);
  border-radius: 4px;
  padding: 20px 24px;
  margin: clamp(28px, 4vw, 48px) 0;
}
.article-cta p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.65;
}
.article-cta p:last-child {
  margin-bottom: 0;
}

/* Article images — class directly on <img> (hero + inline) */
img.article-hero,
img.article-inline {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin: 24px auto;
  border-radius: 4px;
}

/* Portfolio photo gallery — used in pillar articles with many images */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 48px 0 16px;
}
@media (min-width: 640px) {
  .photo-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}
@media (min-width: 1024px) {
  .photo-gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
.photo-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  transition: opacity .2s;
}
.photo-gallery img:hover { opacity: .9; }
.photo-gallery-heading {
  font-family: var(--ff-display);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  color: var(--c-ink);
  margin: 0 0 20px;
}

/* Comparison tables */
.article-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.compare-table th,
.compare-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(28,22,20,.1);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--c-ink);
  color: var(--c-paper);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .03em;
  white-space: nowrap;
}
.compare-table tbody tr:nth-child(even) { background: rgba(200,154,138,.06); }
.compare-table tbody tr:hover { background: rgba(200,154,138,.12); }
.compare-table tbody td:first-child {
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-ink-soft);
}
@media (max-width: 560px) {
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 8px 10px; }
}

/* ── Cluster page layout (Макияж и другие разделы) ─────────────────────── */
.mk-cluster-block { margin-bottom: 8px; }
.mk-cluster-divider { height: 1px; background: var(--c-rule); margin: 0 0 48px; }

.mk-cluster-header { margin-bottom: 20px; }
.mk-cluster-badge {
  font-family: var(--ff-body);
  font-size: 10px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-blush-deep); display: block; margin-bottom: 6px;
}
.mk-cluster-title {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 400;
  color: var(--c-ink); margin: 0 0 4px;
  line-height: 1.15; letter-spacing: -.005em;
}
.mk-cluster-sub { font-size: 14px; color: var(--c-mute); margin: 0; }

/* Pillar "start here" card */
.mk-pillar {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 14px;
  transition: box-shadow .3s var(--ease), transform .25s var(--ease);
}
.mk-pillar:hover { box-shadow: 0 8px 32px rgba(28,22,20,.1); transform: translateY(-2px); }
.mk-pillar__img img { width: 280px; height: 100%; min-height: 210px; object-fit: cover; display: block; }
.mk-pillar__body {
  padding: clamp(20px, 3vw, 32px);
  display: flex; flex-direction: column; justify-content: center;
}
.mk-start-badge {
  display: inline-block;
  font-family: var(--ff-body); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-paper); background: var(--c-ink);
  padding: 4px 10px; border-radius: 3px; margin-bottom: 10px; width: fit-content;
}
.mk-pillar__type { font-size: 12px; color: var(--c-mute); display: block; margin-bottom: 6px; }
.mk-pillar__title {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 400;
  color: var(--c-ink); line-height: 1.2; margin: 0 0 10px;
}
.mk-pillar__excerpt { font-size: 14px; color: var(--c-mute); line-height: 1.6; margin-bottom: 14px; }
.mk-pillar__cta { font-size: 13px; font-weight: 600; color: var(--c-blush-deep); }

/* Satellite cards grid */
.mk-sat-label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-mute); display: block; margin-bottom: 10px;
}
.mk-sat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px; margin-bottom: 14px;
}
.mk-sat-card {
  background: var(--c-paper); border: 1px solid var(--c-rule);
  border-radius: 8px; padding: 14px 16px;
  text-decoration: none; display: block;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.mk-sat-card:hover { border-color: var(--c-blush); box-shadow: 0 4px 14px rgba(28,22,20,.06); }
.mk-sat-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-blush-deep); display: block; margin-bottom: 5px;
}
.mk-sat-title { font-size: 14px; font-weight: 600; color: var(--c-ink); line-height: 1.35; margin-bottom: 4px; }
.mk-sat-desc { font-size: 12px; color: var(--c-mute); line-height: 1.5; margin: 0; }
.mk-see-all {
  font-size: 13px; font-weight: 600; color: var(--c-ink-soft); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1px solid var(--c-rule); padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}
.mk-see-all:hover { color: var(--c-blush-deep); border-color: var(--c-blush-deep); }

@media (max-width: 640px) {
  .mk-pillar { grid-template-columns: 1fr; }
  .mk-pillar__img { display: block; width: 100%; max-height: 220px; overflow: hidden; }
  .mk-pillar__img img { width: 100%; height: 220px; min-height: unset; object-fit: cover; }
  .mk-sat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}
