/* ============================================================
   Р’РљРЈРЎРќРћРўРђ вЂ” РґРёР·Р°Р№РЅ-СЃРёСЃС‚РµРјР° РїСЂРѕС‚РѕС‚РёРїР° v2
   Editorial food blog. РЁСЂРёС„С‚С‹: Prata (display) + Manrope (body)
   РџР°Р»РёС‚СЂР° СѓС‚РІРµСЂР¶РґРµРЅР° РІР»Р°РґРµР»СЊС†РµРј (РєСЂРµРј/Р±РµР¶/С‚РµСЂСЂР°РєРѕС‚Р°/Р·РµР»С‘РЅС‹Р№).
   ============================================================ */

:root {
  --cream: #fbf6ec;
  --beige: #f4ead9;
  --sand: #e6d9c2;
  --terra: #c1673f;
  --terra-dark: #a3502f;
  --green: #6b7f4e;
  --green-dark: #52613a;
  --dark: #3a2f28;
  --muted: #8a7a6c;
  --white: #ffffff;

  --font-display: 'Prata', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 30px rgba(58, 47, 40, 0.10);
  --shadow-hover: 0 18px 40px rgba(58, 47, 40, 0.16);

  --container: 1200px;
  --container-narrow: 1000px;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--terra-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terra); }

::selection { background: var(--beige); color: var(--dark); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Фикс мобильного горизонтального скролла: body — flex-колонка (липкий футер).
   У flex-элементов margin:0 auto отключает align-items:stretch, и блок статьи
   растягивается до min-content (шире экрана при широком контенте — таблица и т.п.).
   Принудительно делаем прямых потомков body на всю ширину (max-width сохраняется). */
body > * { width: 100%; min-width: 0; }

/* ---------- РЁР°РїРєР° ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .01em; color: var(--dark); white-space: nowrap; }
.brand:hover { color: var(--terra); }
.brand .dot { color: var(--terra); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  display: inline-block; padding: 9px 14px; border-radius: var(--radius-pill);
  font-size: .9375rem; font-weight: 600; color: var(--dark);
}
.nav-links a:hover { background: var(--beige); color: var(--terra-dark); }
.nav-links .is-active { background: var(--dark); color: var(--cream); }
.nav-links .is-active:hover { background: var(--dark); color: var(--cream); }
.nav-cta {
  padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--terra); color: var(--cream) !important;
  font-weight: 700; transition: background .2s ease;
}
.nav-cta:hover { background: var(--terra-dark); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger svg { width: 26px; height: 26px; stroke: var(--dark); }
#nav-toggle { display: none; }

/* ---------- РљРЅРѕРїРєРё ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  line-height: 1; cursor: pointer; border: 0; text-decoration: none;
  transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--terra); color: var(--cream); }
.btn-primary:hover { background: var(--terra-dark); color: var(--cream); box-shadow: var(--shadow-hover); }
.btn-dark { background: var(--dark); color: var(--cream); }
.btn-dark:hover { background: #2a211c; color: var(--cream); }
.btn-ghost { background: transparent; color: var(--dark); box-shadow: inset 0 0 0 1.5px var(--sand); }
.btn-ghost:hover { background: var(--beige); box-shadow: inset 0 0 0 1.5px var(--terra); }
.btn-cream { background: var(--cream); color: var(--dark); }
.btn-cream:hover { background: var(--white); color: var(--terra-dark); }

/* ---------- Hero РіР»Р°РІРЅРѕР№ ---------- */
.hero {
  position: relative;
  max-width: var(--container); margin: 0 auto; padding: 72px 24px 56px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--green); border-radius: 2px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  line-height: 1.12; color: var(--dark); letter-spacing: -0.01em;
}
.hero h1 em { font-style: normal; color: var(--terra); }
.hero-lead { margin-top: 20px; font-size: 1.1875rem; color: var(--muted); max-width: 46ch; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: .875rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.hero-media .frame img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hero-chip {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(251, 246, 236, 0.94); backdrop-filter: blur(8px);
  padding: 12px 18px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  font-size: .9375rem; font-weight: 700; color: var(--dark);
  display: flex; align-items: center; gap: 10px;
}
.hero-chip .tag { background: var(--green); color: var(--cream); border-radius: var(--radius-pill); padding: 3px 10px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.hero-float {
  position: absolute; right: -14px; top: -14px;
  z-index: 2;
  background: var(--terra); color: var(--cream);
  width: 78px; height: 78px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.125rem; line-height: 1.05;
  box-shadow: var(--shadow-hover); transform: rotate(8deg);
}
.hero-float small { font-family: var(--font-body); font-size: .625rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* На десктопе (две колонки) картинка hero — 3:2: выше исходной 16:9,
   но без сильной обрезки боков (как в квадрате 1:1). Средний вариант. */
@media (min-width: 769px) {
  .hero-media .frame img { aspect-ratio: 3 / 2; }
}

/* ---------- РџРёР»СЋР»Рё РєР°С‚РµРіРѕСЂРёР№ ---------- */
.cat-pills { max-width: var(--container); margin: 0 auto; padding: 8px 24px 40px; }
.pills-scroll { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 4px 2px; }
.pills-scroll::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto; padding: 10px 18px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--sand);
  font-size: .9375rem; font-weight: 600; color: var(--dark);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.pill:hover { border-color: var(--terra); color: var(--terra-dark); transform: translateY(-1px); }
.pill.is-active { background: var(--dark); border-color: var(--dark); color: var(--cream); }

/* ---------- РЎРµРєС†РёРё ---------- */
.section { padding: 64px 0; }
.section-head { max-width: var(--container); margin: 0 auto; padding: 0 24px; margin-bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-kicker { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.5rem); line-height: 1.2; color: var(--dark); }
.section-link { font-size: .9375rem; font-weight: 700; color: var(--terra-dark); white-space: nowrap; }
.section-link:hover { color: var(--terra); }

/* ---------- РљР°СЂС‚РѕС‡РєРё СЂРµС†РµРїС‚РѕРІ ---------- */
.recipe-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.recipe-card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.recipe-thumb { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.recipe-thumb-link { position: absolute; inset: 0; }
.recipe-thumb-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.recipe-card:hover .recipe-thumb-link img { transform: scale(1.05); }
.recipe-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(251, 246, 236, 0.94); backdrop-filter: blur(6px);
  color: var(--green-dark); border-radius: var(--radius-pill);
  padding: 5px 13px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
}
.recipe-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.recipe-title { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; line-height: 1.35; margin-bottom: 8px; }
.recipe-title a { color: var(--dark); }
.recipe-title a:hover { color: var(--terra); }
.recipe-excerpt { font-size: .9375rem; color: var(--muted); margin-bottom: 18px; flex: 1; }
.recipe-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: .84375rem; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--sand);
}
.recipe-meta span { display: inline-flex; align-items: center; gap: 6px; }
.recipe-meta svg { width: 16px; height: 16px; stroke: var(--terra); fill: none; stroke-width: 1.8; }

/* Р¤РёС‚С‡Р° (РІС‹РґРµР»РµРЅРЅР°СЏ РєР°СЂС‚РѕС‡РєР°) */
.feature-card {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  background: var(--dark); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  box-shadow: var(--shadow-hover); color: var(--cream);
}
.feature-media { position: relative; min-height: 380px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature-kicker { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.feature-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.625rem); line-height: 1.2; color: var(--cream); }
.feature-text { color: rgba(251, 246, 236, 0.78); max-width: 50ch; }
.feature-meta { display: flex; gap: 18px; font-size: .875rem; color: rgba(251, 246, 236, 0.7); }

/* ---------- Р›РµРЅС‚Р° "РєР°Рє СЌС‚Рѕ СѓСЃС‚СЂРѕРµРЅРѕ" ---------- */
.how { background: var(--beige); }
.how-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.how-item { position: relative; padding: 28px 26px; background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius-lg); }
.how-num { font-family: var(--font-display); font-size: 2.25rem; color: var(--terra); opacity: .85; line-height: 1; }
.how-item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; margin: 14px 0 8px; color: var(--dark); }
.how-item p { font-size: .9375rem; color: var(--muted); }

/* ---------- РџРѕРґРїРёСЃРєР° ---------- */
.newsletter { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.newsletter-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px);
  color: var(--cream); text-align: center; position: relative; overflow: hidden;
}
.newsletter-box h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.375rem); color: var(--cream); margin-bottom: 12px; }
.newsletter-box p { color: rgba(251, 246, 236, 0.8); max-width: 52ch; margin: 0 auto 28px; }
.newsletter-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 460px; margin: 0 auto; }
.newsletter-form input {
  flex: 1 1 240px; padding: 14px 18px; border-radius: var(--radius-pill); border: 0;
  font-family: var(--font-body); font-size: 1rem; color: var(--dark); background: var(--cream);
}
.newsletter-form input:focus { outline: 3px solid rgba(251, 246, 236, 0.5); outline-offset: 0; }
.newsletter-note { margin-top: 14px; font-size: .8125rem; color: rgba(251, 246, 236, 0.65); }
.newsletter-done { padding: 8px 0; }
.newsletter-done-icon {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  background: rgba(251, 246, 236, 0.16); border: 2px solid rgba(251, 246, 236, 0.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--cream);
}
.newsletter-done h2 { margin-bottom: 10px; }
.newsletter-done p { margin-bottom: 0; }
.newsletter-error .newsletter-done-icon { border-color: #ffd9c9; color: #ffd9c9; }

/* ---------- РҐР»РµР±РЅС‹Рµ РєСЂРѕС€РєРё ---------- */
.breadcrumbs { max-width: var(--container); margin: 0 auto; padding: 24px 24px 0; font-size: .84375rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--terra-dark); }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs .cur, .breadcrumbs .current { color: var(--dark); font-weight: 700; }

/* ---------- РЁР°РїРєР° РєР°С‚РµРіРѕСЂРёРё ---------- */
.cat-hero { background: var(--beige); }
.cat-hero-inner, .cat-hero > .cat-kicker, .cat-hero h1, .cat-hero .cat-lead, .cat-hero .cat-stats, .cat-hero .cat-filter { max-width: var(--container); margin-left: auto; margin-right: auto; }
.cat-hero { padding: 56px 24px 44px; text-align: center; }
.cat-kicker { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.cat-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); color: var(--dark); margin-top: 12px; }
.cat-lead { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 1.125rem; }
.cat-stats { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.stat-chip { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-pill); padding: 8px 18px; font-size: .875rem; font-weight: 700; color: var(--dark); display: inline-flex; align-items: center; gap: 8px; }
.stat-chip b { color: var(--terra); }
.cat-filter { justify-content: center; margin-top: 28px; }

/* ---------- РџРѕРёСЃРє ---------- */
.search-hero { background: var(--beige); padding: 56px 24px 44px; text-align: center; }
.search-hero > .cat-kicker, .search-hero h1, .search-hero .cat-lead, .search-hero .search-form, .search-hero .cat-filter { max-width: var(--container); margin-left: auto; margin-right: auto; }
.search-hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); color: var(--dark); margin-top: 12px; }
.search-form { display: flex; gap: 12px; justify-content: center; max-width: 640px; margin: 28px auto 0; }
.search-input {
  flex: 1 1 auto; min-width: 0; height: 54px; padding: 0 20px;
  border-radius: var(--radius-pill); border: 1px solid var(--sand);
  background: var(--white); font-family: var(--font-body); font-size: 1rem; color: var(--dark);
  outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(193, 103, 63, 0.18); }
.search-submit { flex-shrink: 0; height: 54px; padding: 0 28px; }
.search-count { font-size: .875rem; font-weight: 700; color: var(--muted); }

/* ---------- РџР°РіРёРЅР°С†РёСЏ ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin: 56px 0 96px; }
.page-link, .page {
  min-width: 44px; height: 44px; padding: 0 16px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--sand);
  font-size: .9375rem; font-weight: 700; color: var(--dark);
}
.page-link:hover, .page:hover { border-color: var(--terra); color: var(--terra-dark); }
.page-link.is-active, .page.is-current { background: var(--dark); border-color: var(--dark); color: var(--cream); }
.page-next {
  height: 44px; padding: 0 22px; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--terra); border: 1px solid var(--terra);
  font-weight: 700; font-size: .9375rem; color: var(--cream);
}
.page-next:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: var(--cream); }
/* Вся «кружок» кликабелен: ссылка абсолютно растянута на pill,
   а не только на текст цифры. */
.pagination .page,
.pagination .page-next { position: relative; }
.pagination .page { padding: 0; display: flex; align-items: center; justify-content: center; }
.pagination .page-next { padding: 0 22px; display: flex; align-items: center; justify-content: center; min-width: 108px; }
.pagination .page a,
.pagination .page-next a {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.pagination .page-next a,
.pagination .page-next a:hover { color: var(--cream); }

/* ---------- РЎРўРђРўР¬РЇ ---------- */
.article { max-width: var(--container); margin: 0 auto; padding: 40px 24px 72px; }
.article-head { max-width: 820px; margin: 0 auto; text-align: center; }
.article-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green-dark); }
.article-kicker::before, .article-kicker::after { content: ""; width: 24px; height: 2px; background: var(--green); border-radius: 2px; }
.article h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.15; margin-top: 18px; color: var(--dark);
}
.article-lead { max-width: 60ch; margin: 20px auto 0; color: var(--muted); font-size: 1.1875rem; }
.article-meta {
  display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 24px; font-size: .875rem; color: var(--muted);
}
.article-meta .avatar, .article-meta .meta-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--terra); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .875rem; }
.article-meta .meta-who { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.4; }
.article-meta .meta-author { font-weight: 700; color: var(--dark); }
.article-meta .meta-date { font-size: .8125rem; color: var(--muted); }
.article-meta .meta-share { display: flex; gap: 8px; margin-left: 8px; }
.article-meta .meta-share a,
.article-meta .meta-share button { font-size: .8125rem; font-weight: 700; color: var(--terra-dark); padding: 6px 12px; border: 1px solid var(--sand); border-radius: var(--radius-pill); }
.article-meta .meta-share a:hover,
.article-meta .meta-share button:hover { background: var(--beige); border-color: var(--terra); }
.article-meta .meta-share button { font-family: inherit; line-height: inherit; background: transparent; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.article-meta b { color: var(--dark); }
.article-meta .sep { opacity: .4; }

/* ---------- Попап «Поделиться» ---------- */
.share-popup { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.share-popup[hidden] { display: none; }
.share-popup-backdrop { position: absolute; inset: 0; background: rgba(58, 47, 40, 0.5); }
.share-popup-card { position: relative; width: 100%; max-width: 340px; padding: 24px; background: var(--cream); border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); }
.share-popup-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.25rem; line-height: 1; color: var(--muted); }
.share-popup-close:hover { background: var(--beige); color: var(--dark); }
.share-popup-title { font-family: var(--font-display); font-size: 1.1875rem; color: var(--dark); margin-bottom: 16px; }
.share-popup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 1px solid var(--sand); border-radius: var(--radius-md); text-decoration: none; color: var(--dark); font-size: .8125rem; font-weight: 600; transition: background .2s ease, border-color .2s ease; }
.share-item:hover { background: var(--white); border-color: var(--terra); color: var(--dark); }
.share-item-icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.share-item-icon svg { width: 20px; height: 20px; }
.share-tg .share-item-icon { background: #2AABEE; }
.share-vk .share-item-icon { background: #0077FF; }
.share-wa .share-item-icon { background: #25D366; }
.share-ok .share-item-icon { background: #EE8208; }
.share-copy { width: 100%; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--sand); border-radius: var(--radius-pill); background: var(--white); color: var(--terra-dark); font-family: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.share-copy:hover { background: var(--beige); border-color: var(--terra); }

/* Hero СЃС‚Р°С‚СЊРё вЂ” 16:9, РїСЂРµРІСЊСЋ */
.article-hero { max-width: 1000px; margin: 36px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-hero figcaption { padding: 12px 18px; background: var(--beige); font-size: .8125rem; color: var(--muted); }

/* РћР±С‘СЂС‚РєР° РєРѕРЅС‚РµРЅС‚Р° СЃС‚Р°С‚СЊРё (РІРїРёСЃС‹РІР°РµРј HTML СЃС‚Р°С‚РµР№) */
.article-prose { max-width: 760px; margin: 0 auto; }
.article-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.0625rem); color: var(--terra-dark); margin: 44px 0 16px; line-height: 1.25; }
.article-prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.375rem; margin: 32px 0 10px; color: var(--dark); }
.article-prose p { margin-bottom: 18px; }
.article-prose ul, .article-prose ol { margin: 0 0 20px 1.4em; }
.article-prose li { margin-bottom: 6px; }
.article-prose blockquote { border-left: 4px solid var(--terra); background: var(--beige); padding: 20px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 24px 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--dark); }
.article-prose strong { color: var(--dark); font-weight: 700; }
.article-prose .story p:first-letter { font-size: 220%; float: left; line-height: .9; padding-right: 10px; padding-top: 4px; color: var(--terra); font-family: var(--font-display); }

/* РљР°СЂС‚РѕС‡РєР° РїР°СЂР°РјРµС‚СЂРѕРІ СЂРµС†РµРїС‚Р° */
.recipe-card-params {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-md);
  padding: 20px 24px; margin: 30px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  box-shadow: var(--shadow-soft);
}
.recipe-card-params .param { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.article-prose .recipe-card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-md);
  padding: 18px 22px; margin: 26px 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .9375rem;
}
.article-prose .recipe-card div { display: flex; align-items: center; gap: 6px; }
.article-prose .recipe-card span { color: var(--muted); }
.article-prose .recipe-card b { color: var(--dark); }
.recipe-card-params .param-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.recipe-card-params .param-value { font-size: 1.0625rem; font-weight: 700; color: var(--dark); line-height: 1.3; }

/* РРЅРіСЂРµРґРёРµРЅС‚С‹ */
.ingredients {
  background: var(--beige); border: 1px solid var(--sand);
  border-radius: var(--radius-lg); padding: 28px 30px; margin: 30px 0;
}
.ingredients h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.ingredients ul { list-style: none; margin: 0; }
.ingredients li {
  padding: 11px 0; border-bottom: 1px dashed var(--sand);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 1.03125rem;
}
.ingredients li:last-child { border-bottom: none; }
.ingredients .ing-name, .ingredients .name { font-weight: 700; color: var(--dark); }
.ingredients .ing-amount, .ingredients .amt { color: var(--terra-dark); font-weight: 600; white-space: nowrap; }

/* РЁР°РіРё */
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin: 30px 0; align-items: start; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--terra); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem;
  box-shadow: var(--shadow-soft); position: relative;
}
.step-num::after {
  content: ""; position: absolute; top: 56px; left: 50%; width: 2px; height: 24px;
  background: var(--sand); transform: translateX(-50%);
}
.step:last-of-type .step-num::after { display: none; }
.step-title { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--dark); margin: 0 0 6px; line-height: 1.3; }
.step-body p { margin-bottom: 12px; }
.step-body img { width: 100%; border-radius: var(--radius-md); margin-top: 4px; box-shadow: var(--shadow-soft); aspect-ratio: 16/10; object-fit: cover; }

/* FAQ */
.faq { margin: 12px 0; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-md); overflow: hidden; }
.faq summary {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 18px 22px; font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; color: var(--dark);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--terra); flex: 0 0 auto;
  transition: transform .25s ease;
}
.faq[open] summary::after { content: "\2212"; }
.faq p { padding: 0 22px 18px; color: var(--muted); font-size: .96875rem; }

/* CTA-блок подписки на соцсети + email (v2.8.1) */
.cta-subscribe {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% -20%, rgba(199, 103, 63, .16) 0%, rgba(199, 103, 63, 0) 42%),
    radial-gradient(130% 130% at -10% 110%, rgba(107, 127, 78, .14) 0%, rgba(107, 127, 78, 0) 45%),
    var(--beige);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 46px clamp(22px, 5vw, 64px);
  margin: 44px 0;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.cta-subscribe::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra), var(--green), var(--terra));
}
.cta-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.375rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 12px;
}
.cta-text {
  color: var(--muted);
  max-width: 46ch; margin: 0 auto 30px;
  font-size: 1.0625rem; line-height: 1.6;
}
.cta-socials {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 32px;
}
.cta-social {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 15px 26px; border-radius: var(--radius-pill);
  color: #fff; font-weight: 800; font-size: 1.0625rem; line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(58, 47, 40, .14);
  transition: transform .18s ease, box-shadow .22s ease, filter .18s ease;
}
.cta-social:hover {
  color: #fff; text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  filter: brightness(1.06);
}
.cta-social:active { transform: translateY(-1px) scale(.99); }
.cta-social svg { width: 22px; height: 22px; flex-shrink: 0; }
.cta-social span { white-space: nowrap; }
.cta-social-tg  { background: #2AABEE; }
.cta-social-dzen { background: var(--white); color: var(--dark); box-shadow: inset 0 0 0 1.5px rgba(58, 47, 40, .18), 0 6px 18px rgba(58, 47, 40, .14); }
.cta-social-dzen:hover { color: var(--dark); filter: brightness(.98); }
.cta-social-pin { background: #E60023; }

.cta-newsletter {
  display: flex; gap: 10px; align-items: center;
  justify-content: center; flex-wrap: wrap;
  max-width: 560px; margin: 0 auto;
}
.cta-newsletter .btn { height: 52px; padding: 0 26px; font-weight: 800; }
.cta-email {
  flex: 1 1 280px; min-width: 0; height: 52px; padding: 0 20px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--sand);
  background: var(--white);
  font-family: var(--font-body); font-size: 1rem; color: var(--dark);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta-email::placeholder { color: var(--muted); }
.cta-email:focus {
  outline: none;
  border-color: var(--terra);
  box-shadow: 0 0 0 4px rgba(193, 103, 63, .18);
}
.cta-done {
  display: flex; align-items: stretch;
  max-width: 560px; margin: 0 auto; text-align: left;
  background: var(--white); border: 1.5px solid var(--sand);
  border-radius: var(--radius-md); overflow: hidden;
}
.cta-done-icon {
  flex: 0 0 84px; align-self: stretch;
  background: var(--green); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800;
}
.cta-done-text {
  flex: 1 1 auto;
  padding: 18px 22px;
  display: flex; flex-direction: column; justify-content: center;
  font-size: .96875rem; color: var(--muted);
}
.cta-done-text b { color: var(--dark); font-weight: 800; font-size: 1.0625rem; margin-bottom: 3px; }
.cta-error .cta-done-icon { background: var(--terra); }
.cta-error { border-color: rgba(193, 103, 63, .45); }

@media (max-width: 560px) {
  .cta-subscribe { padding: 34px 20px; }
  .cta-social { width: 100%; justify-content: center; }
  .cta-newsletter .btn { width: 100%; }
}

/* Р—Р°РјРµС‚РєР° РІ РєРѕРЅС†Рµ СЃС‚Р°С‚СЊРё */
/* Блок «на заметку» — акцентный callout в стиле темы */
.note, .article-note {
  position: relative;
  background: var(--beige);
  border-left: 4px solid var(--terra);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px 20px 54px;
  margin: 30px 0;
  font-size: .96875rem;
  line-height: 1.65;
  color: var(--dark);
}
.note::before, .article-note::before {
  content: "";
  position: absolute;
  left: 20px; top: 21px;
  width: 22px; height: 22px;
  background-color: var(--terra);
  -webkit-mask: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"/></svg>') center / contain no-repeat;
}
.note strong, .article-note strong { color: var(--terra-dark); }

/* Блок «Коротко» — быстрый ответ статьи (featured snippet callout).
   Семья с .note и .cta-subscribe: фирменная градиентная полоса сверху,
   терракотовая молния, серифная плашка «КОРОТКО». */
.quick-answer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(130% 130% at 96% -18%, rgba(193, 103, 63, .13) 0%, rgba(193, 103, 63, 0) 42%),
    radial-gradient(130% 130% at -6% 112%, rgba(107, 127, 78, .11) 0%, rgba(107, 127, 78, 0) 46%),
    var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 26px 28px 26px 62px;
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
}
.quick-answer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--green), var(--terra));
}
.quick-answer::after {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 24px; height: 24px;
  transform: translateY(-50%);
  background-color: var(--terra);
  -webkit-mask: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 2 3 14h7l-1 8 10-12h-7l1-8z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 2 3 14h7l-1 8 10-12h-7l1-8z"/></svg>') center / contain no-repeat;
}
.quick-answer b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--terra-dark);
  margin-right: 8px;
}

@media (max-width: 560px) {
  .quick-answer { padding: 22px 20px 22px 46px; }
  .quick-answer::after { left: 16px; width: 20px; height: 20px; }
}

/* Блок «Важно» — предупреждение. Тот же каркас, что у .quick-answer,
   но в красно-терракотовом тоне (тревожность без выхода из палитры). */
.warning {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(130% 130% at 96% -18%, rgba(179, 74, 47, .12) 0%, rgba(179, 74, 47, 0) 42%),
    radial-gradient(130% 130% at -6% 112%, rgba(193, 103, 63, .08) 0%, rgba(193, 103, 63, 0) 46%),
    #fdf6f1;
  border: 1px solid #eccdb8;
  border-radius: var(--radius-md);
  padding: 26px 28px 26px 62px;
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
}
.warning::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #b34a2f, var(--terra), #b34a2f);
}
.warning::after {
  content: "";
  position: absolute;
  left: 22px; top: 50%;
  width: 24px; height: 24px;
  transform: translateY(-50%);
  background-color: #b34a2f;
  -webkit-mask: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2 1 21h22L12 2zm1 13h-2v2h2v-2zm0-6h-2v4h2v-4z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2 1 21h22L12 2zm1 13h-2v2h2v-2zm0-6h-2v4h2v-4z"/></svg>') center / contain no-repeat;
}
.warning b {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #a23a22;
  margin-right: 8px;
}

@media (max-width: 560px) {
  .warning { padding: 22px 20px 22px 46px; }
  .warning::after { left: 16px; width: 20px; height: 20px; }
}

/* Лид в контенте статьи */
.article-prose .lead {
  font-size: 1.1875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Сравнительная таблица (table.compare) */
.article-prose table.compare, .entry-content table.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 26px 0;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--dark);
}
.article-prose table.compare th, .entry-content table.compare th {
  background: var(--terra);
  color: var(--cream);
  text-align: left;
  padding: 13px 16px;
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--terra-dark);
}
.article-prose table.compare td, .entry-content table.compare td {
  padding: 12px 16px;
  border-bottom: 1px dashed var(--sand);
  vertical-align: top;
}
.article-prose table.compare td + td, .entry-content table.compare td + td { border-left: 1px dashed var(--sand); }
.article-prose table.compare tbody tr:last-child td, .entry-content table.compare tbody tr:last-child td { border-bottom: none; }
.article-prose table.compare tbody tr:nth-child(even), .entry-content table.compare tbody tr:nth-child(even) { background: rgba(193, 103, 63, .05); }
.article-prose table.compare tbody tr:hover, .entry-content table.compare tbody tr:hover { background: var(--beige); }
@media (max-width: 640px) {
  .article-prose table.compare, .entry-content table.compare { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
}

/* Альтернатива в ингредиентах: (можно куриный...) */
.ingredients .alt {
  color: var(--muted);
  font-size: .84375rem;
  font-weight: 500;
}

/* РџРѕС…РѕР¶РёРµ СЂРµС†РµРїС‚С‹ */
.related { background: var(--beige); padding: 64px 0; margin-top: 24px; }

/* РРЅР»Р°Р№РЅ-Р±Р»РѕРє В«РџРѕС…РѕР¶РёРµ СЂРµС†РµРїС‚С‹В» РІРЅСѓС‚СЂРё СЃС‚Р°С‚СЊРё (РїРµСЂРµР»РёРЅРєРѕРІРєР° РєРѕРєРѕРЅРѕРІ) */
.related-links { margin: 34px 0 10px; }
.related-links h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--terra-dark); margin: 0 0 4px; }
.related-links .related-hub { display: inline-block; font-family: var(--font-body); font-size: .8125rem; font-weight: 700; color: var(--terra-dark); text-decoration: none; margin: 0 0 18px; }
.related-links .related-hub:hover { color: var(--terra); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card { display: block; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); text-decoration: none; color: var(--dark); transition: transform .25s ease, box-shadow .25s ease; }
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.related-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--beige); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.related-card:hover .related-thumb img { transform: scale(1.05); }
.related-badge { position: absolute; top: 10px; left: 10px; background: rgba(251,246,236,.94); color: var(--green-dark); border-radius: var(--radius-pill); padding: 4px 10px; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.related-body { display: block; padding: 12px 14px 14px; }
.related-title { display: block; font-family: var(--font-body); font-weight: 700; font-size: .9375rem; line-height: 1.45; color: var(--dark); margin-bottom: 8px; }
.related-card:hover .related-title { color: var(--terra); }
.related-meta { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.related-meta svg { width: 14px; height: 14px; stroke: var(--terra); fill: none; stroke-width: 1.8; }
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- РћР±С‹С‡РЅР°СЏ СЃС‚СЂР°РЅРёС†Р° ---------- */
.page-single { max-width: var(--container); margin: 0 auto; padding: 40px 24px 80px; }
.page-single-inner { max-width: 760px; margin: 0 auto; }
.page-head { text-align: center; margin-bottom: 32px; }
.page-kicker { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); color: var(--dark); margin-top: 14px; line-height: 1.15; }
.page-hero { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); margin-bottom: 40px; }
.page-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.page-prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.625rem; color: var(--terra-dark); margin: 40px 0 14px; }
.page-prose h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--dark); margin-bottom: 8px; }
.page-prose p { margin-bottom: 18px; color: var(--dark); }
.page-prose p.lead { font-size: 1.1875rem; color: var(--muted); }
.page-prose .text-link { font-weight: 700; color: var(--terra-dark); }
.page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 8px; }
.page-card { background: var(--beige); border: 1px solid var(--sand); border-radius: var(--radius-md); padding: 22px 20px; }
.page-author { display: flex; align-items: flex-start; gap: 24px; margin: 24px 0 8px; padding: 24px; background: var(--beige); border: 1px solid var(--sand); border-radius: var(--radius-md); }
.page-prose .page-author img, .article .page-author img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.page-author .page-author-body p { margin-bottom: 12px; }
@media (max-width: 600px) { .page-author { flex-direction: column; align-items: center; text-align: center; } }

.page-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.125rem; color: var(--dark); margin-bottom: 8px; }
.page-card p { font-size: .9375rem; color: var(--muted); margin-bottom: 0; }

/* ---------- 404 ---------- */
.nf { max-width: 720px; margin: 0 auto; padding: 100px 24px; text-align: center; }
.nf-code { font-family: var(--font-display); font-size: clamp(6rem, 4rem + 8vw, 10rem); line-height: 1; color: var(--terra); opacity: .9; }
.nf-box h1 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; color: var(--dark); margin: 8px 0 12px; }
.nf-box p { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Р¤СѓС‚РµСЂ ---------- */
.site-footer { background: var(--dark); color: rgba(251, 246, 236, 0.75); margin-top: auto; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { color: var(--cream); font-size: 1.625rem; }
.footer-brand p { margin-top: 14px; font-size: .9375rem; max-width: 32ch; color: rgba(251, 246, 236, 0.6); }
.footer-col .footer-title { font-family: var(--font-display); font-weight: 400; font-size: 1.0625rem; color: var(--cream); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(251, 246, 236, 0.7); font-size: .9375rem; }
.footer-col a:hover { color: var(--cream); }
.social-links a { display: flex; align-items: center; gap: 10px; }
.social-links svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .75; transition: opacity .2s ease, transform .2s ease; }
.social-links a:hover svg { opacity: 1; transform: translateY(-1px); color: var(--terra); }
.social-links a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid rgba(251, 246, 236, 0.14); }
.footer-bottom-inner { max-width: var(--container); margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84375rem; color: rgba(251, 246, 236, 0.5); }
.footer-bottom .dot { color: var(--terra); }

/* ---------- РђРґР°РїС‚РёРІ ---------- */
@media (max-width: 1024px) {
  .hero { gap: 40px; }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-template-columns: 1fr; }
  .feature-media { min-height: 300px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .recipe-card-params { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  body { font-size: 1rem; }
  .nav-burger { display: block; margin-left: auto; }
  .nav-links {
    position: fixed; top: var(--header-h); right: 12px; left: auto; width: min(320px, calc(100vw - 24px)); z-index: 49;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius-lg);
    padding: 14px 14px 16px; box-shadow: var(--shadow-hover);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  #nav-toggle:checked ~ .nav-inner .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; font-size: 1.0625rem; }
  .nav-cta { text-align: center; }
  /* Сокращаем пустое пространство до хлебных крошек на мобильном — в первый экран влезает заголовок+картинка+начало текста */
  .article { padding: 12px 24px 48px; }
  .breadcrumbs, .rank-math-breadcrumb { padding: 6px 0 0; margin-bottom: 4px; }
  .article h1 { margin-top: 10px; }
  .article-lead { margin-top: 12px; }
  .article-meta { margin-top: 14px; }
  .article-hero { margin-top: 18px; }
  .hero { grid-template-columns: 1fr; padding: 48px 24px 40px; gap: 36px; }
  .hero h1 { font-size: clamp(2rem, 1.6rem + 2.4vw, 2.75rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  /* Мобайл: подпись-капшон уходит ПОД фото и не накрывает его —
     длинное название статьи больше не прячет картинку. */
  .hero-chip {
    position: static; margin-top: 14px;
    padding: 13px 16px; border-radius: var(--radius-lg);
    background: var(--white); border: 1px solid var(--sand); box-shadow: none;
    align-items: flex-start; line-height: 1.4;
  }
  .hero-chip .tag { flex-shrink: 0; }
  .hero-chip a { color: var(--dark); }
  .hero-chip a:hover { color: var(--terra-dark); }
  .hero-float { width: 60px; height: 60px; right: -8px; top: -8px; font-size: .9375rem; }
  .recipe-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step-num { width: 44px; height: 44px; font-size: 1.25rem; }
  .step-num::after { top: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .pills-scroll { margin: 0 -24px; padding: 4px 24px; }
  .recipe-card-params { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 18px; }
  .article-meta .meta-share { width: 100%; justify-content: center; margin-left: 0; }
  .search-form { flex-direction: column; }
  .search-submit { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .recipe-card:hover { transform: none; }
}

/* ============================================================
   РђР”РђРџРўРђР¦РРЇ РџРћР” WORDPRESS (v2.0)
   ============================================================ */

/* РњРµРЅСЋ WP: wp_nav_menu РѕР±РѕСЂР°С‡РёРІР°РµС‚ <ul> РІ <div> */
.menu-primary-container, .menu-container { margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-links .menu-item a { display: inline-block; padding: 9px 14px; border-radius: var(--radius-pill); font-size: .9375rem; font-weight: 600; color: var(--dark); }
.nav-links .menu-item a:hover { background: var(--beige); color: var(--terra-dark); }
.nav-links .current-menu-item > a, .nav-links .current-menu-ancestor > a, .nav-links .is-active { background: var(--dark); color: var(--cream) !important; }
.nav-links .nav-cta { background: var(--terra); color: var(--cream) !important; font-weight: 700; }
.nav-links .nav-cta:hover { background: var(--terra-dark); }

/* РљРѕРЅС‚РµРЅС‚ Р·Р°РїРёСЃРё вЂ” РѕР±С‘СЂС‚РєР° СЃС‚Р°С‚СЊРё */
.article-prose .entry-content { max-width: 100%; }
.article-prose img { max-width: 100%; height: auto; }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }
.entry-content .wp-caption, .wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .8125rem; color: var(--muted); padding: 8px 0 0; }

/* Р—Р°РіРѕР»РѕРІРєРё РІ РєРѕРЅС‚РµРЅС‚Рµ WP-СЂРµРґР°РєС‚РѕСЂР° */
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-display); font-weight: 400; color: var(--dark); line-height: 1.25; }
.entry-content h2 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.0625rem); color: var(--terra-dark); margin: 44px 0 16px; }
.entry-content h3 { font-size: 1.375rem; margin: 32px 0 10px; }
.entry-content h4 { font-size: 1.125rem; margin: 24px 0 8px; }
.entry-content p { margin-bottom: 18px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px 1.4em; }
.entry-content li { margin-bottom: 6px; }
.entry-content blockquote { border-left: 4px solid var(--terra); background: var(--beige); padding: 20px 24px; border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 24px 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--dark); }
.entry-content table { border-collapse: collapse; width: 100%; margin-bottom: 20px; }
.entry-content td, .entry-content th { padding: .5rem .75rem; border-bottom: 1px solid var(--sand); text-align: left; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }

/* РљРЅРѕРїРєРё WP РІ РєРѕРЅС‚РµРЅС‚Рµ */
.wp-block-button__link, .entry-content .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--terra); color: var(--cream) !important; text-decoration: none;
  padding: 13px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem; line-height: 1;
}
.wp-block-button__link:hover, .entry-content .wp-element-button:hover { background: var(--terra-dark); }

/* Р’РёРґРµРѕ/СЌРјР±РµРґС‹ */
.wp-block-embed, .entry-content iframe { max-width: 100%; border-radius: var(--radius-md); }

/* РњРµС‚Р°-Р·Р°РїРёСЃРё: С‚РµРіРё, СЂР°Р·РґРµР»РёС‚РµР»Рё */
.post-terms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.post-terms a, .entry-content .post-terms a {
  display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--white); border: 1px solid var(--sand);
  font-size: .8125rem; font-weight: 700; color: var(--terra-dark); text-decoration: none;
}
.post-terms a:hover { border-color: var(--terra); background: var(--beige); }

/* Р‘РµР№РґР¶ РєР°С‚РµРіРѕСЂРёРё РІ hero РєР°С‚РµРіРѕСЂРёРё */
.term-description { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 1.125rem; }
.cat-description { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 1.125rem; }

/* 404 Рё РїРѕРёСЃРє */
.nf .page, .search-hero .page { background: var(--white); }

/* РљРѕРјРјРµРЅС‚Р°СЂРёРё */
.comments-area { max-width: 760px; margin: 0 auto; padding: 0 24px 60px; }
.comment-list { list-style: none; margin: 0; }
.comment-list .comment { margin-bottom: 20px; }
.comment-list .comment-body { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-md); padding: 18px 22px; }
.comment-list .comment-author { font-weight: 700; color: var(--dark); }
.comment-list .comment-meta { font-size: .8125rem; color: var(--muted); margin-bottom: 8px; }
.comment-form { margin-top: 24px; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: .875rem; color: var(--dark); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--sand); border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 1rem; color: var(--dark); background: var(--white);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--terra); }
.comment-form .submit { background: var(--terra); color: var(--cream); border: 0; padding: 13px 26px; border-radius: var(--radius-pill); font-weight: 700; font-size: 1rem; cursor: pointer; }
.comment-form .submit:hover { background: var(--terra-dark); }

/* РҐР»РµР±РЅС‹Рµ РєСЂРѕС€РєРё Rank Math */
.rank-math-breadcrumb { max-width: var(--container); margin: 0 auto; padding: 24px 24px 0; font-size: .84375rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rank-math-breadcrumb a { color: var(--muted); }
.rank-math-breadcrumb a:hover { color: var(--terra-dark); }
.rank-math-breadcrumb .separator { opacity: .5; margin: 0 3px; }

/* Р РµС†РµРїС‚РЅС‹Рµ Р±Р»РѕРєРё РёР· post meta (РµСЃР»Рё РёСЃРїРѕР»СЊР·СѓСЋС‚СЃСЏ) */
.recipe-facts { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-md); padding: 20px 24px; margin: 30px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; box-shadow: var(--shadow-soft); }
.recipe-facts .param { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.recipe-facts .param-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.recipe-facts .param-value { font-size: 1.0625rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
@media (max-width: 1024px) { .recipe-facts { grid-template-columns: repeat(2, 1fr); } }

/* РџСЂСЏС‡РµРј СЃР»РѕРјР°РЅРЅС‹Рµ РІСЃС‚СЂРѕРµРЅРЅС‹Рµ РІ РєРѕРЅС‚РµРЅС‚ РјРµС‚Р°-РґРµС„РѕР»С‚С‹ С‚РµРјС‹ */
.entry-content .wp-block-post-terms { display: none; }

/* ---------- РљР»Р°СЃСЃС‹ С€Р°Р±Р»РѕРЅРѕРІ С‚РµРјС‹ v2 ---------- */

/* Page: hero Р±РµР· РєР°СЂС‚РёРЅРєРё */
.page-hero-inner { max-width: 760px; margin: 0 auto; text-align: center; padding: 32px 0 8px; }
.page-hero-inner h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); color: var(--dark); margin-top: 14px; line-height: 1.15; }
.page-kicker { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.page-lead { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 1.125rem; }
.page-body { max-width: 760px; margin: 0 auto; }

/* Cat: eyebrow + grid */
.cat-eyebrow { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.cat-grid { max-width: var(--container); margin: 0 auto; padding: 8px 24px 0; }

/* Search: kicker/lead/results */
.search-kicker { font-size: .8125rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.search-lead { max-width: 620px; margin: 16px auto 0; color: var(--muted); font-size: 1.125rem; }
.search-results { max-width: var(--container); margin: 0 auto; padding: 8px 24px 0; }

/* Feature wrapper */
.feature-wrap { padding-top: 16px; }

/* 404 */
.nf-text { color: var(--muted); max-width: 46ch; margin: 0 auto 28px; }
.nf .search-form { max-width: 520px; }


/* CTA inside article content (override .article-prose h3) */
.article-prose .cta h3, .cta h3 { color: var(--cream); font-size: 1.5rem; }
.article-prose .cta p, .cta p { color: rgba(251, 246, 236, .92); }
/* База блока CTA внутри статьи (терракотовый градиент) */
.cta {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  margin: 40px 0;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.6;
}
.cta h3 { margin: 0 0 10px; }
.cta p { margin: 0 0 18px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.cta .btn-ghost { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(251, 246, 236, .6); background: rgba(251, 246, 236, .08); }
.cta .btn-ghost:hover { color: var(--terra-dark); background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.cta .btn-primary:hover { color: var(--cream); }

/* ---- Выпадающее меню «Категории» (v2.4) ---- */
.has-dropdown { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  padding: 9px 14px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: .9375rem; font-weight: 600; color: var(--dark);
}
.nav-drop-btn:hover { background: var(--beige); color: var(--terra-dark); }
.nav-drop-arrow { transition: transform .2s ease; }
.has-dropdown:hover .nav-drop-arrow,
.has-dropdown.open .nav-drop-arrow { transform: rotate(180deg); }
.has-dropdown .sub-menu {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60;
  min-width: 240px; list-style: none; margin: 6px 0 0; padding: 8px;
  background: var(--cream); border: 1px solid var(--sand); border-radius: 14px;
  box-shadow: var(--shadow-hover);
}
.has-dropdown:hover .sub-menu,
.has-dropdown:focus-within .sub-menu { display: block; }
.has-dropdown .sub-menu a {
  display: block; padding: 9px 12px; border-radius: 9px;
  font-size: .9375rem; font-weight: 600; color: var(--dark);
}
.has-dropdown .sub-menu a:hover { background: var(--beige); color: var(--terra-dark); }

/* Мобильная версия: dropdown раскрывается внутри бургера списком */
@media (max-width: 768px) {
  .has-dropdown .sub-menu {
    position: static; display: none; min-width: 0; width: 100%;
    border: 0; box-shadow: none; padding: 0 0 0 16px; margin: 4px 0 8px;
  }
  #nav-toggle:checked ~ .nav-inner .has-dropdown.open .sub-menu { display: block; }
  .nav-drop-btn { position: relative; width: 100%; justify-content: flex-start; padding: 13px 16px; }
  /* Стрелка «Категорий» — жёстко в правый верхний угол строки (не по центру). */
  .nav-drop-arrow { position: absolute; right: 16px; top: 8px; margin-left: 0; }

}

/* Native Pinterest hover "Save" button (no pinit.js) */
#vkn-pin-hover {
  position: fixed;
  z-index: 9999;
  display: none;
  width: max-content;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #E60023;
  color: #fff;
  font: 700 13px/1 Manrope, Arial, sans-serif;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  pointer-events: auto;
  transition: filter .12s ease;
}
#vkn-pin-hover svg { width: 16px; height: 16px; fill: #fff; }
#vkn-pin-hover:hover { filter: brightness(1.06); }
@media (hover: none) { #vkn-pin-hover { display: none !important; } }
