/* =====================================================================
   «Тмин» — «Кулинарная книга»
   Воздушный тактильный фуд-журнал: кремовая бумага, терракота, олива, горчица.
   Prata — заголовки, Onest — текст, Caveat — рукописные пометки (дозированно).
   Все селекторы внутри .theme-tmin, свои классы — с префиксом tm-.
   ===================================================================== */

.theme-tmin {
  --tm-cream: #FBF6EE;
  --tm-paper: #FFFDF9;
  --tm-linen: #F3EADC;
  --tm-linen-2: #EBDDC8;
  --tm-ink: #2B2118;
  --tm-cocoa: #3B2A1E;
  --tm-body: #3A2E24;
  --tm-muted: #74645A;
  --tm-line: rgba(43, 33, 24, .12);
  --tm-line-soft: rgba(43, 33, 24, .07);
  --tm-terra: #C2552D;
  --tm-terra-ink: #A5421E;
  --tm-terra-tint: #F7E3D8;
  --tm-olive: #6B7F3A;
  --tm-olive-ink: #4F5F26;
  --tm-olive-tint: #E9ECDA;
  --tm-mustard: #E2A93B;
  --tm-mustard-tint: #F9ECCF;
  --tm-serif: var(--f-prata), 'Prata', Georgia, serif;
  --tm-sans: var(--f-onest), 'Onest', system-ui, sans-serif;
  --tm-hand: var(--f-caveat), 'Caveat', 'Segoe Print', cursive;
  --tm-r: 24px;
  --tm-shadow: 0 1px 0 rgba(43, 33, 24, .04), 0 22px 44px -30px rgba(59, 42, 30, .38);
  background:
    radial-gradient(1100px 520px at 88% -120px, rgba(226, 169, 59, .12), transparent 70%),
    radial-gradient(900px 480px at -10% 140px, rgba(107, 127, 58, .06), transparent 70%),
    var(--tm-cream);
  color: var(--tm-ink);
  font-family: var(--tm-sans);
}
.theme-tmin ::selection { background: var(--tm-mustard-tint); color: var(--tm-ink); }
.theme-tmin h1, .theme-tmin h2, .theme-tmin h3 { font-family: var(--tm-serif); font-weight: 400; letter-spacing: -.012em; }
.theme-tmin a:focus-visible, .theme-tmin button:focus-visible, .theme-tmin summary:focus-visible {
  outline: 2px solid var(--tm-terra); outline-offset: 3px; border-radius: 12px;
}
.theme-tmin .tm-hand { font-family: var(--tm-hand); font-weight: 500; }
.theme-tmin .cover { background: var(--tm-linen); }

/* ---------- кнопки, пилюли, чипсы ---------- */
.theme-tmin .tm-btn, .theme-tmin .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--tm-terra); color: #fff; font: 600 15px/1 var(--tm-sans); letter-spacing: .005em;
  box-shadow: 0 14px 26px -16px rgba(165, 66, 30, .9);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.theme-tmin .btn { min-height: 46px; padding: 0 22px; font-size: 14.5px; opacity: 1; }
.theme-tmin .tm-btn:hover, .theme-tmin .btn:hover { background: var(--tm-terra-ink); transform: translateY(-2px); opacity: 1; }
.theme-tmin .tm-btn span { transition: transform .2s ease; }
.theme-tmin .tm-btn:hover span { transform: translateX(4px); }
.theme-tmin .btn.ghost { background: var(--tm-paper); color: var(--tm-ink); box-shadow: inset 0 0 0 1px var(--tm-line); }
.theme-tmin .btn.ghost:hover { background: var(--tm-linen); }
.theme-tmin .btn:disabled { opacity: .6; cursor: progress; transform: none; }

.theme-tmin .tm-pill {
  display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px;
  background: var(--tm-olive-tint); color: var(--tm-olive-ink);
  font: 600 11.5px/1.1 var(--tm-sans); letter-spacing: .12em; text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.theme-tmin a.tm-pill:hover { background: var(--tm-olive); color: #fff; }

.theme-tmin .tm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.theme-tmin .tm-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px;
  background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line);
  font: 500 14px/1 var(--tm-sans); color: var(--tm-ink); white-space: nowrap;
}
.theme-tmin .tm-chip svg { color: var(--tm-terra); flex: none; }
.theme-tmin .tm-chips--sm { gap: 7px 14px; }
.theme-tmin .tm-chips--sm .tm-chip { height: auto; padding: 0; gap: 6px; font-size: 13px; background: none; box-shadow: none; color: var(--tm-muted); }
.theme-tmin .tm-diff { display: inline-flex; gap: 3px; align-items: center; }
.theme-tmin .tm-diff i { width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1.3px var(--tm-terra); }
.theme-tmin .tm-diff i.on { background: var(--tm-terra); }

.theme-tmin .tm-cat { font: 600 11.5px/1.2 var(--tm-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tm-olive-ink); }

/* =====================================================================
   ШАПКА
   ===================================================================== */
.theme-tmin .tm-header { position: relative; z-index: 20; padding-top: 22px; border-bottom: 1px solid var(--tm-line); }
.theme-tmin .tm-masthead {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "date logo tools" ". tag ."; align-items: center; column-gap: 24px;
}
.theme-tmin .tm-dateline { grid-area: date; margin: 0; font: 600 11px/1.3 var(--tm-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tm-muted); }
.theme-tmin .tm-logo { grid-area: logo; display: inline-flex; align-items: center; gap: 8px; color: var(--tm-ink); justify-self: center; }
.theme-tmin .tm-logo-sprig { color: var(--tm-olive); transform: rotate(-14deg) translateY(-8px); transition: transform .5s cubic-bezier(.2, .7, .2, 1.3); }
.theme-tmin .tm-logo:hover .tm-logo-sprig { transform: rotate(-2deg) translateY(-10px); }
.theme-tmin .tm-logo-word { font-family: var(--tm-serif); font-size: clamp(42px, 4.4vw, 60px); line-height: .95; letter-spacing: -.015em; }
.theme-tmin .tm-tools { grid-area: tools; justify-self: end; display: flex; gap: 8px; align-items: center; }
.theme-tmin .tm-search {
  display: inline-flex; gap: 9px; align-items: center; height: 42px; padding: 0 18px 0 15px; border-radius: 999px;
  background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line); font: 500 14px/1 var(--tm-sans); color: var(--tm-ink);
  transition: background-color .2s, box-shadow .2s;
}
.theme-tmin .tm-search svg { color: var(--tm-terra); }
.theme-tmin .tm-search:hover, .theme-tmin .tm-search.is-on { background: var(--tm-linen); box-shadow: inset 0 0 0 1px var(--tm-line); }
.theme-tmin .tm-round {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--tm-ink);
  box-shadow: inset 0 0 0 1px var(--tm-line); transition: background-color .2s, color .2s;
}
.theme-tmin .tm-round:hover { background: var(--tm-terra); color: #fff; box-shadow: none; }
.theme-tmin .tm-tagline { grid-area: tag; margin: 12px 0 0; text-align: center; font: 500 11px/1.3 var(--tm-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--tm-muted); }

.theme-tmin .tm-navrow { position: relative; display: flex; justify-content: center; padding-top: 22px; padding-bottom: 20px; }
.theme-tmin .tm-nav { position: relative; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.theme-tmin .tm-nav a {
  padding: 10px 19px; border-radius: 999px; font: 500 14.5px/1.15 var(--tm-sans); color: var(--tm-ink); white-space: nowrap;
  background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line);
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.theme-tmin .tm-nav a:hover { background: var(--tm-linen); transform: translateY(-1px); }
.theme-tmin .tm-nav a.is-on { background: var(--tm-terra); color: #fff; box-shadow: 0 10px 20px -14px rgba(165, 66, 30, .9); }
.theme-tmin .tm-head-note {
  position: absolute; right: calc(100% + 6px); top: -16px; margin: 0; display: flex; align-items: flex-start;
  font-family: var(--tm-hand); font-weight: 500; font-size: 24px; line-height: 1; color: var(--tm-terra); pointer-events: none;
}
.theme-tmin .tm-head-note span { transform: rotate(-5deg); display: inline-block; white-space: nowrap; }
.theme-tmin .tm-head-arrow { width: 40px; height: 26px; margin: 16px 0 0 2px; transform: rotate(4deg); color: var(--tm-terra); }

/* =====================================================================
   ГЛАВНАЯ
   ===================================================================== */
.theme-tmin .tm-home { padding-bottom: 8px; }

/* --- hero: заголовок + обложка-арка --- */
.theme-tmin .tm-hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 6vw, 104px);
  align-items: center; padding-top: clamp(36px, 5vw, 76px); padding-bottom: clamp(16px, 2vw, 24px);
}
.theme-tmin .tm-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 0 0 22px; }
.theme-tmin .tm-eyebrow .tm-hand { font-size: 29px; line-height: 1; color: var(--tm-terra); transform: rotate(-3deg); display: inline-block; }
.theme-tmin .tm-hero-title { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.03; letter-spacing: -.022em; margin: 0 0 24px; }
.theme-tmin .tm-hero-title.is-mid { font-size: clamp(35px, 3.9vw, 56px); line-height: 1.05; }
.theme-tmin .tm-hero-title.is-long { font-size: clamp(31px, 3.3vw, 48px); line-height: 1.07; }
.theme-tmin .tm-hero-title a { transition: color .2s; }
.theme-tmin .tm-hero-title a:hover { color: var(--tm-terra-ink); }
.theme-tmin .tm-hero-lead { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.65; color: var(--tm-muted); max-width: 52ch; margin: 0 0 28px; }
.theme-tmin .tm-hero-foot { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 36px; }
.theme-tmin .tm-hero-meta { display: inline-flex; gap: 8px; align-items: center; font: 14px/1.3 var(--tm-sans); color: var(--tm-muted); }
.theme-tmin .tm-hero-meta i, .theme-tmin .tm-m-meta i, .theme-tmin .tm-toc-sub i, .theme-tmin .tm-shelf-meta i,
.theme-tmin .tm-byline-meta i, .theme-tmin .tm-foot-bottom i { font-style: normal; opacity: .55; }

.theme-tmin .tm-hero-media, .theme-tmin .tm-ah-media { position: relative; width: 100%; max-width: 500px; justify-self: center; padding: 30px 30px 0 0; margin: 0; }
.theme-tmin .tm-arch {
  position: relative; z-index: 1; display: block; overflow: hidden; isolation: isolate;
  border-radius: 50% 50% var(--tm-r) var(--tm-r) / 40% 40% var(--tm-r) var(--tm-r);
  box-shadow: 0 50px 90px -56px rgba(59, 42, 30, .7), 0 0 0 10px var(--tm-paper), 0 0 0 11px var(--tm-line);
  background: var(--tm-linen);
}
.theme-tmin .tm-arch .cover { border-radius: inherit; }
.theme-tmin .tm-arch::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0) 55%, rgba(194, 85, 45, .12));
}
.theme-tmin .tm-hero-outline {
  position: absolute; z-index: 0; top: 0; right: 0; left: 30px; bottom: 30px; pointer-events: none;
  border: 1.5px solid rgba(194, 85, 45, .45);
  border-radius: 50% 50% var(--tm-r) var(--tm-r) / 40% 40% var(--tm-r) var(--tm-r);
}
.theme-tmin .tm-hero-sun {
  position: absolute; z-index: 0; width: 40%; aspect-ratio: 1; border-radius: 50%; left: -14%; bottom: 12%;
  background: radial-gradient(circle at 35% 30%, #EFC064, var(--tm-mustard) 70%);
}
.theme-tmin .tm-stamp { position: absolute; z-index: 2; width: 124px; height: 124px; right: -10px; bottom: 64px; filter: drop-shadow(0 12px 18px rgba(59, 42, 30, .18)); }
.theme-tmin .tm-stamp-bg { fill: var(--tm-paper); }
.theme-tmin .tm-stamp-in { fill: none; stroke: rgba(194, 85, 45, .35); stroke-width: 1; stroke-dasharray: 2 3; }
.theme-tmin .tm-stamp text { font: 600 10.5px var(--tm-sans); letter-spacing: .1em; text-transform: uppercase; fill: var(--tm-terra-ink); }
.theme-tmin .tm-stamp-ring { transform-origin: 60px 60px; transform-box: view-box; animation: tm-spin 40s linear infinite; }
.theme-tmin .tm-stamp svg { color: var(--tm-olive); }
@keyframes tm-spin { to { transform: rotate(360deg); } }

.theme-tmin .tm-hero-note {
  position: absolute; z-index: 2; left: -46px; top: -6px; margin: 0; display: flex; flex-direction: column; align-items: flex-start;
  font-family: var(--tm-hand); font-weight: 500; font-size: 27px; line-height: 1; color: var(--tm-ink); pointer-events: none;
}
.theme-tmin .tm-hero-note span { order: -1; transform: rotate(-7deg); white-space: nowrap; }
.theme-tmin .tm-hero-note-arrow { width: 58px; height: 36px; color: var(--tm-terra); margin: 4px 0 0 30px; transform: rotate(8deg); }

/* --- заголовки секций --- */
.theme-tmin .tm-section { padding-top: clamp(56px, 7vw, 112px); }
.theme-tmin .tm-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 3vw, 44px); }
.theme-tmin .tm-sec-hand {
  position: relative; display: inline-block; margin: 0 0 10px; font-family: var(--tm-hand); font-weight: 500;
  font-size: 27px; line-height: 1; color: var(--tm-terra); transform: rotate(-2deg); transform-origin: left center;
}
.theme-tmin .tm-sec-squiggle { position: absolute; left: -2px; right: -6px; bottom: -9px; width: calc(100% + 8px); height: 9px; color: var(--tm-mustard); }
.theme-tmin .tm-sec-head h2 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.06; letter-spacing: -.02em; }
.theme-tmin .tm-more { display: inline-flex; gap: 8px; align-items: center; padding: 10px 0; white-space: nowrap; font: 600 14.5px/1 var(--tm-sans); color: var(--tm-terra-ink); }
.theme-tmin .tm-more span { transition: transform .2s; }
.theme-tmin .tm-more:hover span { transform: translateX(4px); }

/* --- «Что приготовить сегодня» --- */
.theme-tmin .tm-today { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 32px); }
.theme-tmin .tm-card { display: flex; flex-direction: column; gap: 18px; color: var(--tm-ink); }
.theme-tmin .tm-card-media { position: relative; border-radius: 30px; overflow: hidden; isolation: isolate; box-shadow: var(--tm-shadow); }
.theme-tmin .tm-card-media .cover { border-radius: 0; }
.theme-tmin .tm-card-cat {
  position: absolute; left: 12px; top: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 253, 249, .94);
  font: 600 10.5px/1 var(--tm-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--tm-olive-ink);
}
.theme-tmin .tm-card-body { display: flex; flex-direction: column; gap: 14px; padding: 0 4px; }
.theme-tmin .tm-card h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.24; transition: color .2s; }
.theme-tmin .tm-card:hover h3 { color: var(--tm-terra-ink); }
.theme-tmin .tm-card-meta { font: 13px var(--tm-sans); color: var(--tm-muted); }

/* --- плитки рубрик --- */
.theme-tmin .tm-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); }
.theme-tmin .tm-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 30px 12px 26px;
  border-radius: 28px; background: var(--tile-bg); color: var(--tm-ink);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.theme-tmin .tm-tile:hover { transform: translateY(-5px); box-shadow: 0 26px 40px -30px rgba(59, 42, 30, .55); }
.theme-tmin .tm-tile-icon {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px;
  background: var(--tm-paper); color: var(--tile-ink); box-shadow: 0 12px 24px -16px rgba(59, 42, 30, .5);
  transition: transform .45s cubic-bezier(.2, .7, .2, 1.4);
}
.theme-tmin .tm-tile:hover .tm-tile-icon { transform: rotate(-10deg) scale(1.05); }
.theme-tmin .tm-tile-name { display: flex; align-items: center; justify-content: center; min-height: 2.4em; font-family: var(--tm-serif); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.2; }
.theme-tmin .tm-tile-hint { font-family: var(--tm-hand); font-size: 20px; line-height: 1; color: var(--tile-ink); }
.theme-tmin .tm-tone-terra { --tile-bg: var(--tm-terra-tint); --tile-ink: var(--tm-terra-ink); }
.theme-tmin .tm-tone-olive { --tile-bg: var(--tm-olive-tint); --tile-ink: var(--tm-olive-ink); }
.theme-tmin .tm-tone-mustard { --tile-bg: var(--tm-mustard-tint); --tile-ink: #8C5F0E; }
.theme-tmin .tm-tone-linen { --tile-bg: var(--tm-linen); --tile-ink: var(--tm-cocoa); }

/* --- мозаика «Свежее» --- */
.theme-tmin .tm-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.8vw, 44px); align-items: start; }
.theme-tmin .tm-mosaic-col { display: flex; flex-direction: column; gap: clamp(36px, 3.6vw, 56px); }
.theme-tmin .tm-m-card { display: block; color: var(--tm-ink); }
.theme-tmin .tm-m-media { border-radius: 26px; overflow: hidden; isolation: isolate; box-shadow: var(--tm-shadow); }
.theme-tmin .tm-m-media .cover { border-radius: 0; }
.theme-tmin .tm-m-body { display: block; padding: 18px 4px 0; }
.theme-tmin .tm-m-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.theme-tmin .tm-m-time { display: inline-flex; gap: 5px; align-items: center; font: 500 13px/1 var(--tm-sans); color: var(--tm-muted); white-space: nowrap; }
.theme-tmin .tm-m-time svg { color: var(--tm-terra); }
.theme-tmin .tm-m-card h3 { font-size: clamp(21px, 1.75vw, 25px); line-height: 1.2; transition: color .2s; }
.theme-tmin .tm-m-card:hover h3 { color: var(--tm-terra-ink); }
.theme-tmin .tm-m-card p { margin: 12px 0 0; color: var(--tm-muted); font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-tmin .tm-m-meta { display: flex; gap: 8px; margin-top: 12px; font: 13px/1.3 var(--tm-sans); color: var(--tm-muted); }
/* карточка «без фото» — страница кулинарной книги */
.theme-tmin .tm-t-card {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 30px 28px; border-radius: 28px; color: var(--tm-ink);
  background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line-soft), var(--tm-shadow);
}
.theme-tmin .tm-t-card .tm-m-top { margin: 0; }
.theme-tmin .tm-t-sprig { color: var(--tm-olive); transform: rotate(14deg); opacity: .8; }
.theme-tmin .tm-t-card h3 { font-size: clamp(25px, 2.2vw, 31px); line-height: 1.12; letter-spacing: -.018em; transition: color .2s; }
.theme-tmin .tm-t-card:hover h3 { color: var(--tm-terra-ink); }
.theme-tmin .tm-t-card p { margin: 0; color: var(--tm-muted); font-size: 15.5px; line-height: 1.62; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.theme-tmin .tm-t-card .tm-chips { padding-top: 14px; border-top: 1px dashed var(--tm-line); }
.theme-tmin .tm-t-go { display: inline-flex; align-items: center; gap: 8px; font: 500 22px/1 var(--tm-hand); color: var(--tm-terra); }
.theme-tmin .tm-t-arrow { width: 40px; height: 18px; margin-top: 4px; transition: transform .25s; }
.theme-tmin .tm-t-card:hover .tm-t-arrow { transform: translateX(5px); }

/* «Секрет шефа» — записка на клейкой ленте */
.theme-tmin .tm-secret {
  position: relative; padding: 36px 30px 30px; margin-top: 14px;
  border-radius: 6px 22px 8px 20px / 20px 8px 22px 6px; background: var(--tm-mustard-tint);
  transform: rotate(-1.4deg); box-shadow: 0 22px 32px -26px rgba(59, 42, 30, .55);
}
.theme-tmin .tm-secret--olive { background: var(--tm-olive-tint); transform: rotate(1.3deg); }
.theme-tmin .tm-secret::before {
  content: ''; position: absolute; top: -13px; left: 50%; width: 96px; height: 26px; transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 253, 249, .72); box-shadow: 0 1px 2px rgba(59, 42, 30, .08);
  clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 95%, 0 50%);
}
.theme-tmin .tm-secret-label { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px/1 var(--tm-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tm-terra-ink); }
.theme-tmin .tm-secret-label svg { color: var(--tm-olive); }
.theme-tmin .tm-secret p { margin: 14px 0 0; font-family: var(--tm-hand); font-weight: 500; font-size: 28px; line-height: 1.16; color: var(--tm-cocoa); }

/* --- «Оглавление месяца» --- */
.theme-tmin .tm-toc-band { position: relative; margin-top: clamp(64px, 8vw, 120px); padding: clamp(56px, 7vw, 104px) 0; background: var(--tm-linen); }
.theme-tmin .tm-toc-band::before, .theme-tmin .tm-toc-band::after {
  content: ''; position: absolute; left: 0; right: 0; height: 14px;
  background: radial-gradient(circle at 14px 14px, var(--tm-linen) 13.5px, transparent 14px) 0 0 / 28px 14px repeat-x;
}
.theme-tmin .tm-toc-band::before { top: -13px; }
.theme-tmin .tm-toc-band::after { bottom: -13px; transform: scaleY(-1); }
.theme-tmin .tm-toc-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.6fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.theme-tmin .tm-toc-intro { position: sticky; top: 32px; }
.theme-tmin .tm-toc-intro h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.04; letter-spacing: -.02em; }
.theme-tmin .tm-toc-intro p:not(.tm-sec-hand) { color: var(--tm-muted); max-width: 32ch; margin: 18px 0 0; font-size: 16.5px; }
.theme-tmin .tm-toc-sprig { display: block; margin-top: 28px; color: var(--tm-olive); opacity: .55; transform: rotate(-16deg); }
.theme-tmin .tm-toc { list-style: none; margin: 0; padding: 0; }
.theme-tmin .tm-toc li + li { border-top: 1px solid rgba(43, 33, 24, .1); }
.theme-tmin .tm-toc a { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 6px; padding: 22px 0; color: var(--tm-ink); }
.theme-tmin .tm-toc li:first-child a { padding-top: 4px; }
.theme-tmin .tm-toc-n { font-family: var(--tm-serif); font-size: 30px; line-height: 1; color: var(--tm-terra); padding-top: 2px; }
.theme-tmin .tm-toc-line { display: flex; align-items: flex-end; gap: 14px; }
.theme-tmin .tm-toc-line h3 { flex: 0 1 auto; max-width: 80%; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.25; transition: color .2s; }
.theme-tmin .tm-toc a:hover h3 { color: var(--tm-terra-ink); }
.theme-tmin .tm-toc-dots { flex: 1 1 auto; min-width: 28px; height: 1px; margin-bottom: .5em; background: radial-gradient(circle, rgba(43, 33, 24, .38) 1.1px, transparent 1.4px) 0 50% / 7px 4px repeat-x; height: 4px; }
.theme-tmin .tm-toc-time { flex: none; font: 500 14px/1.2 var(--tm-sans); color: var(--tm-muted); white-space: nowrap; padding-bottom: .3em; }
.theme-tmin .tm-toc-sub { display: flex; gap: 8px; margin-top: 8px; font: 13px/1.3 var(--tm-sans); color: var(--tm-muted); }

/* --- полки рубрик --- */
.theme-tmin .tm-shelves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); }
.theme-tmin .tm-shelf { background: var(--tm-paper); border-radius: 28px; padding: 22px 24px 10px; box-shadow: inset 0 0 0 1px var(--tm-line-soft), var(--tm-shadow); }
.theme-tmin .tm-shelf-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px dashed var(--tm-line); }
.theme-tmin .tm-shelf-icon { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--tm-linen); color: var(--tm-terra-ink); }
.theme-tmin .tm-shelf-head h3 { flex: 1; font-size: 23px; line-height: 1.15; }
.theme-tmin .tm-shelf-head h3 a:hover { color: var(--tm-terra-ink); }
.theme-tmin .tm-shelf-all { font-family: var(--tm-hand); font-weight: 500; font-size: 22px; line-height: 1; color: var(--tm-terra-ink); white-space: nowrap; }
.theme-tmin .tm-shelf ul { list-style: none; margin: 0; padding: 0; }
.theme-tmin .tm-shelf li + li { border-top: 1px solid var(--tm-line-soft); }
.theme-tmin .tm-shelf-item { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; color: var(--tm-ink); }
.theme-tmin .tm-plate { border-radius: 50%; box-shadow: 0 0 0 4px var(--tm-paper), 0 0 0 5px var(--tm-line); }
.theme-tmin .tm-shelf-item h4 { margin: 0; font: 500 15.5px/1.38 var(--tm-sans); color: var(--tm-ink); transition: color .2s; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-tmin .tm-shelf-item:hover h4 { color: var(--tm-terra-ink); }
.theme-tmin .tm-shelf-meta { display: flex; gap: 6px; margin-top: 5px; font: 12.5px/1.3 var(--tm-sans); color: var(--tm-muted); }

.theme-tmin .tm-empty { text-align: center; padding: 96px 0; color: var(--tm-muted); }
.theme-tmin .tm-empty svg { color: var(--tm-olive); margin: 0 auto 18px; display: block; }
.theme-tmin .tm-empty h2 { font-size: 40px; color: var(--tm-ink); }

/* =====================================================================
   ПОДВАЛ
   ===================================================================== */
.theme-tmin .tm-footer { margin-top: clamp(72px, 9vw, 132px); padding-bottom: 34px; font-family: var(--tm-sans); }
.theme-tmin .tm-sub {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 32px 48px;
  padding: clamp(36px, 5vw, 76px); border-radius: 40px; color: #FFF5EA;
  background:
    radial-gradient(560px 340px at 96% 0%, rgba(232, 178, 72, .42), transparent 70%),
    radial-gradient(600px 360px at 10% 120%, rgba(140, 50, 20, .35), transparent 70%),
    linear-gradient(135deg, #C95D35, #B9491F);
}
.theme-tmin .tm-sub-text { position: relative; z-index: 1; }
.theme-tmin .tm-sub-hand { margin: 0 0 10px; font-size: 29px; line-height: 1; color: #FCD9A2; transform: rotate(-2deg); transform-origin: left; }
.theme-tmin .tm-sub h2 { font-size: clamp(32px, 3.7vw, 54px); line-height: 1.05; color: #fff; max-width: 17ch; letter-spacing: -.02em; }
.theme-tmin .tm-sub p:not(.tm-sub-hand) { margin: 18px 0 0; max-width: 46ch; color: rgba(255, 245, 234, .86); font-size: 16.5px; line-height: 1.6; }
.theme-tmin .tm-sub-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.theme-tmin .tm-btn--light { background: #FFF5EA; color: var(--tm-terra-ink); box-shadow: 0 16px 30px -18px rgba(59, 42, 30, .8); }
.theme-tmin .tm-btn--light:hover { background: #fff; }
.theme-tmin .tm-btn--line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 245, 234, .55); }
.theme-tmin .tm-btn--line:hover { background: rgba(255, 245, 234, .12); }
.theme-tmin .tm-sub-deco { position: absolute; right: 24%; bottom: -54px; color: rgba(255, 245, 234, .14); transform: rotate(-12deg); pointer-events: none; }
.theme-tmin .tm-sub-deco svg { width: 210px; height: 210px; }

.theme-tmin .tm-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.3fr); gap: 40px; padding: clamp(48px, 6vw, 72px) 0 44px; }
.theme-tmin .tm-logo--sm { justify-self: start; }
.theme-tmin .tm-logo--sm .tm-logo-word { font-size: 38px; }
.theme-tmin .tm-logo--sm .tm-logo-sprig { transform: rotate(-14deg) translateY(-6px); }
.theme-tmin .tm-foot-brand p:not(.tm-foot-hand) { color: var(--tm-muted); max-width: 36ch; font-size: 15px; line-height: 1.6; margin: 18px 0 0; }
.theme-tmin .tm-foot-hand { position: relative; display: inline-block; margin: 18px 0 0; font-size: 25px; line-height: 1; color: var(--tm-terra); transform: rotate(-2deg); }
.theme-tmin .tm-foot-squiggle { position: absolute; left: 0; bottom: -9px; width: 100%; height: 8px; color: var(--tm-mustard); }
.theme-tmin .tm-footer nav h3 { margin: 6px 0 18px; font: 700 11px/1 var(--tm-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tm-muted); }
.theme-tmin .tm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 15px; }
.theme-tmin .tm-footer ul a { transition: color .2s; }
.theme-tmin .tm-footer ul a:hover { color: var(--tm-terra-ink); }
.theme-tmin .tm-foot-net ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.theme-tmin .tm-foot-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--tm-line); font-size: 13px; color: var(--tm-muted); }
.theme-tmin .tm-foot-bottom span { display: inline-flex; gap: 10px; }
.theme-tmin .tm-foot-bottom a:hover { color: var(--tm-terra-ink); }

/* =====================================================================
   СТАТЬЯ / РЕЦЕПТ
   ===================================================================== */
.theme-tmin .progress { height: 3px; background: linear-gradient(90deg, var(--tm-olive), var(--tm-mustard), var(--tm-terra)); }
.theme-tmin .breadcrumbs { font-size: 13px; color: var(--tm-muted); padding-top: 26px; gap: 10px; }
.theme-tmin .breadcrumbs span { opacity: .5; }
.theme-tmin .breadcrumbs a:hover { color: var(--tm-terra-ink); }
.theme-tmin .article > .breadcrumbs { max-width: var(--wrap); }

.theme-tmin .tm-ah {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 104px);
  align-items: center; padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(40px, 5vw, 72px);
}
.theme-tmin .tm-ah-title { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.04; letter-spacing: -.022em; margin: 0 0 24px; }
.theme-tmin .tm-ah-title.is-mid { font-size: clamp(34px, 4.1vw, 58px); }
.theme-tmin .tm-ah-title.is-long { font-size: clamp(31px, 3.5vw, 50px); line-height: 1.07; }
.theme-tmin .tm-ah-lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.6; color: var(--tm-muted); margin: 0 0 30px; max-width: 54ch; }
.theme-tmin .tm-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; margin: 0 0 32px; padding: 0;
  border-radius: 999px; background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line), var(--tm-shadow); width: fit-content; max-width: 100%;
}
.theme-tmin .tm-facts > div { padding: 14px 26px 15px; }
.theme-tmin .tm-facts > div + div { border-left: 1px dashed var(--tm-line); }
.theme-tmin .tm-facts dt { font: 600 10.5px/1 var(--tm-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tm-muted); margin: 0 0 8px; }
.theme-tmin .tm-facts dd { margin: 0; display: flex; align-items: center; gap: 8px; font: 400 19px/1.15 var(--tm-serif); color: var(--tm-ink); white-space: nowrap; }
.theme-tmin .tm-facts dd svg { color: var(--tm-terra); flex: none; }
.theme-tmin .tm-facts .tm-diff i { width: 7px; height: 7px; }
.theme-tmin .tm-byline { display: flex; align-items: center; gap: 14px; font-family: var(--tm-sans); }
.theme-tmin .tm-byline b { display: block; font-weight: 600; font-size: 15px; }
.theme-tmin .tm-byline-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 13.5px; color: var(--tm-muted); margin-top: 2px; }
.theme-tmin .tm-ah-media { max-width: 470px; }
.theme-tmin .tm-ah-note { left: -58px; }

/* «Перейти к рецепту» */
.theme-tmin .jump { margin: 0 0 1.8em; }
.theme-tmin .jump .btn { background: var(--tm-olive); box-shadow: 0 14px 26px -16px rgba(79, 95, 38, .9); }
.theme-tmin .jump .btn:hover { background: var(--tm-olive-ink); }

/* текст: воздух и тёплые акценты */
.theme-tmin .article-body { padding-top: 4px; }
.theme-tmin .prose { font-size: clamp(17.5px, 1.2vw, 19px); line-height: 1.82; color: var(--tm-body); }
.theme-tmin .prose > * + * { margin-top: 1.25em; }
.site.theme-tmin .prose:not(.prose-cont) > p:first-child::first-letter {
  float: left; font-family: var(--tm-serif); font-weight: 400; font-size: 4em; line-height: .8; padding: .1em .14em 0 0; color: var(--tm-terra);
}
.theme-tmin .prose > h2 { font-size: clamp(27px, 2.4vw, 35px); line-height: 1.15; margin-top: 2.1em; color: var(--tm-ink); }
.theme-tmin .prose > h2::before {
  content: ''; display: block; width: 54px; height: 12px; margin-bottom: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12' fill='none' stroke='%23E2A93B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M2 7c6-5 11 2 17-1s10-4 16 0 11 3 17-1 5-2 6-1'/%3E%3C/svg%3E") no-repeat 0 50% / contain;
}
.theme-tmin .prose > h3 { font-size: clamp(21px, 1.8vw, 24px); margin-top: 1.7em; color: var(--tm-ink); }
.theme-tmin .prose strong { font-weight: 600; color: var(--tm-ink); }
.theme-tmin .prose a { color: var(--tm-terra-ink); text-decoration-color: rgba(194, 85, 45, .4); text-decoration-thickness: 1.5px; }
.theme-tmin .prose a:hover { text-decoration-color: currentColor; }
.theme-tmin .prose ul { list-style: none; padding-left: 0; }
.theme-tmin .prose ul > li { position: relative; padding-left: 32px; }
.theme-tmin .prose ul > li::before {
  content: ''; position: absolute; left: 4px; top: .66em; width: 14px; height: 8px; border-radius: 0 100% 0 100%;
  background: var(--tm-olive); transform: rotate(-24deg);
}
.theme-tmin .prose ol { list-style: none; padding-left: 0; counter-reset: tm-li; }
.theme-tmin .prose ol > li { position: relative; padding-left: 40px; counter-increment: tm-li; }
.theme-tmin .prose ol > li::before { content: counter(tm-li); position: absolute; left: 4px; top: -.18em; font: 600 1.55em/1.2 var(--tm-hand); color: var(--tm-terra); }
.theme-tmin .prose li + li { margin-top: .6em; }
.theme-tmin .prose > blockquote {
  position: relative; margin: 2.4em 0; padding: 34px 34px 30px; border: 0;
  border-radius: 6px 24px 8px 22px / 22px 8px 24px 6px; background: var(--tm-mustard-tint);
  font: 500 1.5em/1.22 var(--tm-hand); color: var(--tm-cocoa); transform: rotate(-.5deg);
  box-shadow: 0 24px 34px -30px rgba(59, 42, 30, .6);
}
.theme-tmin .prose > blockquote::before {
  content: 'На заметку'; display: block; margin-bottom: 12px; font: 700 11.5px/1 var(--tm-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tm-terra-ink);
}
.theme-tmin .prose > blockquote::after {
  content: ''; position: absolute; top: -12px; left: 34px; width: 92px; height: 24px; transform: rotate(-5deg);
  background: rgba(255, 253, 249, .75); clip-path: polygon(3% 0, 97% 4%, 100% 50%, 96% 100%, 2% 95%, 0 50%);
}
.theme-tmin .prose blockquote p + p { margin-top: .6em; }
.theme-tmin .prose hr { height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12' fill='none' stroke='%23C2552D' stroke-opacity='.5' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M2 7c6-5 11 2 17-1s10-4 16 0 11 3 17-1 5-2 6-1'/%3E%3C/svg%3E") no-repeat 50% 50% / 60px 12px; margin: 2.4em 0; }
.theme-tmin .prose table { font-family: var(--tm-sans); font-size: .88em; }
.theme-tmin .prose th { font-weight: 600; color: var(--tm-ink); border-bottom: 1.5px solid var(--tm-terra); }
.theme-tmin .prose td { border-bottom: 1px dashed var(--tm-line); }

/* «Читайте также» внутри текста */
.theme-tmin .inline-read {
  position: relative; margin: 2.6em 0; padding: 22px 26px 22px 96px; border: 0; border-radius: 26px;
  background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line), var(--tm-shadow); gap: 4px;
}
.theme-tmin .inline-read::before {
  content: ''; position: absolute; left: 24px; top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
  background: var(--tm-olive-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%234F5F26' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M16.6 30.5c-.9-4.6.4-10.2-.4-17.6M16.2 12.9 8.6 7.1M16.2 12.9 12 4.6M16.2 12.9l.5-9.5M16.2 12.9l4.5-8.1M16.2 12.9l7.4-5.4M16.4 23.4c2.6-1 4.9-2.9 6.5-5.7M16.3 25.6c-2.4-.6-4.4-2.1-5.8-4.3'/%3E%3C/svg%3E") no-repeat 50% 50% / 30px;
}
.theme-tmin .inline-read-label { font: 500 22px/1 var(--tm-hand); letter-spacing: 0; text-transform: none; color: var(--tm-terra); }
.theme-tmin .inline-read a { font-family: var(--tm-serif); font-weight: 400; font-size: 1.12em; line-height: 1.3; color: var(--tm-ink); }
.theme-tmin .inline-read a:hover { color: var(--tm-terra-ink); }

/* Рецепт — печатная карточка из картотеки */
.theme-tmin .recipe-card {
  position: relative; margin-top: 64px; padding: clamp(30px, 4.4vw, 60px) clamp(22px, 4.4vw, 60px) clamp(26px, 3.6vw, 48px);
  border-radius: 12px; background: #FFFDF8;
  box-shadow:
    0 0 0 1px rgba(43, 33, 24, .07),
    12px 14px 0 0 var(--tm-linen), 12px 14px 0 1px rgba(43, 33, 24, .06),
    0 50px 80px -50px rgba(59, 42, 30, .55);
}
.theme-tmin .recipe-card::before, .theme-tmin .recipe-card::after {
  content: ''; position: absolute; top: -12px; width: 110px; height: 28px; background: rgba(226, 169, 59, .38);
  clip-path: polygon(2% 6%, 98% 0, 100% 52%, 97% 100%, 1% 94%, 3% 48%);
}
.theme-tmin .recipe-card::before { left: 26px; transform: rotate(-6deg); }
.theme-tmin .recipe-card::after { right: 26px; transform: rotate(5deg); background: rgba(107, 127, 58, .3); }
.theme-tmin .recipe-card h2 {
  font-size: clamp(34px, 3.4vw, 46px); line-height: 1; margin: 0 0 30px; padding-bottom: 22px;
  border-bottom: 1.5px solid rgba(194, 85, 45, .55); box-shadow: 0 5px 0 -4px rgba(194, 85, 45, .25);
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
.theme-tmin .recipe-card h2::after { content: 'из кулинарной книги «Тмин»'; font: 500 23px/1 var(--tm-hand); color: var(--tm-terra); letter-spacing: 0; transform: rotate(-2deg); }
.theme-tmin .recipe-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(26px, 4vw, 56px); }
.theme-tmin .recipe-cols h3 { font: 700 11.5px/1.3 var(--tm-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tm-terra-ink); margin: 0 0 10px; }
.theme-tmin .ingredients { font-size: 15.5px; }
.theme-tmin .ingredients li { align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(43, 33, 24, .16); }
.theme-tmin .ingredients label { align-items: flex-start; gap: 12px; line-height: 1.45; }
.theme-tmin .ingredients input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 1px 0 0; cursor: pointer;
  border-radius: 6px; border: 1.5px solid rgba(43, 33, 24, .32); background: #fff no-repeat 50% 50% / 14px;
  transition: background-color .15s, border-color .15s;
}
.theme-tmin .ingredients input:hover { border-color: var(--tm-olive); }
.theme-tmin .ingredients input:checked {
  background-color: var(--tm-olive); border-color: var(--tm-olive);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
}
.theme-tmin .ingredients input:focus-visible { outline: 2px solid var(--tm-terra); outline-offset: 2px; }
.theme-tmin .ingredients input:checked + span { text-decoration: line-through; text-decoration-color: var(--tm-terra); opacity: .5; }
.theme-tmin .ingredients .amt { white-space: normal; text-align: right; max-width: 48%; font-weight: 600; color: var(--tm-ink); line-height: 1.45; }
.theme-tmin .steps { gap: 0; }
.theme-tmin .steps li { grid-template-columns: 50px 1fr; gap: 10px; padding: 16px 0; border-bottom: 1px dashed rgba(43, 33, 24, .16); font-size: 16.5px; line-height: 1.65; }
.theme-tmin .steps li:first-child { padding-top: 6px; }
.theme-tmin .steps li:last-child { border-bottom: 0; }
.theme-tmin .steps li::before {
  content: counter(step, decimal-leading-zero); width: auto; height: auto; display: block; border-radius: 0; background: none;
  font: 400 26px/1 var(--tm-serif); color: var(--tm-terra); padding-top: 2px; place-items: initial;
}

.theme-tmin .source-note { font-size: 13.5px; }
.theme-tmin .tags { margin-top: 56px; gap: 8px; }
.theme-tmin .tag { padding: 8px 15px; border-radius: 999px; background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line); font-size: 13.5px; color: var(--tm-body); transition: background-color .2s, color .2s; }
.theme-tmin .tag:hover { background: var(--tm-olive); color: #fff; box-shadow: none; }
.theme-tmin .share-row { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--tm-line); }
.theme-tmin .share { font-size: 13.5px; gap: 10px; }
.theme-tmin .share a, .theme-tmin .share button { width: 40px; height: 40px; background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line); color: var(--tm-ink); font-size: 12px; transition: background-color .2s, color .2s; }
.theme-tmin .share a:hover, .theme-tmin .share button:hover { background: var(--tm-terra); color: #fff; box-shadow: none; }
.theme-tmin .inline-cta {
  margin-top: 44px; padding: 26px 30px; border-radius: 28px; background: var(--tm-olive-tint); box-shadow: none; gap: 18px;
}
.theme-tmin .inline-cta b { display: block; font: 400 22px/1.2 var(--tm-serif); color: var(--tm-ink); }
.theme-tmin .inline-cta .muted { color: var(--tm-olive-ink); margin-top: 4px; font-size: 15px; }

/* комментарии — тёплая «кухонная переписка» */
.theme-tmin .comments { margin-top: clamp(56px, 6vw, 80px); padding-top: 0; border-top: 0; }
.theme-tmin .comments h2 { font-size: clamp(30px, 3vw, 38px); align-items: center; }
.theme-tmin .comments h2 small { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px; background: var(--tm-terra-tint); color: var(--tm-terra-ink); font: 600 14px/1 var(--tm-sans); }
.theme-tmin .comments h2 small:empty { display: none; }
.theme-tmin .c-form { margin: 24px 0 40px; padding: 22px; gap: 12px; border-radius: 28px; background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line), var(--tm-shadow); }
.theme-tmin .c-form input, .theme-tmin .c-form textarea {
  border: 0; border-radius: 16px; padding: 14px 16px; background: var(--tm-cream); box-shadow: inset 0 0 0 1px var(--tm-line);
  font-family: var(--tm-sans); color: var(--tm-ink); transition: box-shadow .2s, background-color .2s;
}
.theme-tmin .c-form input::placeholder, .theme-tmin .c-form textarea::placeholder { color: #9A8A7C; }
.theme-tmin .c-form input:focus, .theme-tmin .c-form textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--tm-terra); }
.theme-tmin .c-form .hp { position: absolute; left: -9999px; width: 1px; }
.theme-tmin .c-note { color: var(--tm-muted); }
.theme-tmin .c-list { gap: 26px; }
.theme-tmin .c-item { grid-template-columns: 44px 1fr; gap: 14px; }
.theme-tmin .c-item .avatar { width: 44px !important; height: 44px !important; font-size: 15px !important; }
.theme-tmin .c-item .avatar:not([style*="--accent"]), .theme-tmin .tm-byline .avatar:not([style*="--accent"]) { background: var(--tm-linen) !important; color: var(--tm-terra-ink) !important; }
.theme-tmin .c-list > .c-item:nth-child(3n+2) > .avatar:not([style*="--accent"]) { background: var(--tm-olive-tint) !important; color: var(--tm-olive-ink) !important; }
.theme-tmin .c-list > .c-item:nth-child(3n) > .avatar:not([style*="--accent"]) { background: var(--tm-mustard-tint) !important; color: #8C5F0E !important; }
.theme-tmin .c-item .c-head { align-items: center; }
.theme-tmin .c-item .c-head b { font-weight: 600; }
.theme-tmin .c-badge { background: var(--tm-olive); color: #fff; font-weight: 600; letter-spacing: .04em; padding: 3px 9px; }
.theme-tmin .c-text {
  margin: 8px 0 10px; padding: 14px 18px; border-radius: 4px 22px 22px 22px; background: var(--tm-paper);
  box-shadow: inset 0 0 0 1px var(--tm-line-soft); color: var(--tm-body);
}
.theme-tmin .c-actions { gap: 18px; padding-left: 4px; }
.theme-tmin .c-actions button:hover, .theme-tmin .c-actions button.liked { color: var(--tm-terra); }
.theme-tmin .c-replies { margin-top: 20px; gap: 20px; padding-left: 20px; border-left: 2px dotted rgba(107, 127, 58, .45); }
.theme-tmin .c-replies .c-text { background: var(--tm-cream); }

/* «Читайте также» внизу статьи */
.theme-tmin .related { padding-top: clamp(64px, 7vw, 104px); }
.theme-tmin .related .section-head { align-items: flex-end; margin-bottom: 32px; flex-wrap: wrap; }
.theme-tmin .related .section-head h2 { font-size: clamp(32px, 3.4vw, 46px); }
.theme-tmin .related .section-head h2::before { content: 'ещё вкусного'; display: block; margin-bottom: 8px; font: 500 26px/1 var(--tm-hand); color: var(--tm-terra); letter-spacing: 0; transform: rotate(-2deg); transform-origin: left; }
.theme-tmin .related .section-head a { font: 600 14.5px/1.3 var(--tm-sans); color: var(--tm-terra-ink); padding-bottom: 8px; white-space: normal; }
.theme-tmin .related-grid { gap: clamp(18px, 2.4vw, 32px); }
.theme-tmin .related-card { gap: 12px; color: var(--tm-ink); }
.theme-tmin .related-card .cover { border-radius: 26px; box-shadow: var(--tm-shadow); margin-bottom: 6px; }
.theme-tmin .related-card .kicker { color: var(--tm-olive-ink); font-weight: 600; font-size: 11.5px; }
.theme-tmin .related-card h3 { font-size: 20px; line-height: 1.25; transition: color .2s; }
.theme-tmin .related-card:hover h3 { color: var(--tm-terra-ink); }

/* =====================================================================
   РУБРИКИ, ПОИСК, «О ПРОЕКТЕ»
   ===================================================================== */
.theme-tmin .listing { padding-bottom: 8px; }
.theme-tmin .page-head { position: relative; text-align: center; border-bottom: 0; padding: clamp(36px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); margin-bottom: clamp(16px, 2vw, 28px); }
.theme-tmin .page-head .kicker { display: inline-block; font: 500 28px/1 var(--tm-hand); letter-spacing: 0; text-transform: none; color: var(--tm-terra); transform: rotate(-3deg); margin-bottom: 10px; }
.theme-tmin .page-head h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: 1; letter-spacing: -.025em; }
.theme-tmin .page-head p { margin: 18px auto 0; color: var(--tm-muted); font-size: 16px; }
.theme-tmin .page-head::after {
  content: ''; display: block; width: 72px; height: 14px; margin: 26px auto 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12' fill='none' stroke='%23E2A93B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M2 7c6-5 11 2 17-1s10-4 16 0 11 3 17-1 5-2 6-1'/%3E%3C/svg%3E") no-repeat 50% 50% / contain;
}
.theme-tmin .narrow > .page-head .kicker { margin-bottom: 14px; }

.theme-tmin .listing .list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 40px); }
.theme-tmin .listing .list .list-row { display: flex; flex-direction: column; gap: 18px; padding: 0; border: 0; color: var(--tm-ink); }
.theme-tmin .listing .list .list-row .cover { border-radius: 26px; box-shadow: var(--tm-shadow); }
.theme-tmin .listing .list .list-row:first-child { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; }
.theme-tmin .listing .list .list-row:first-child .cover { aspect-ratio: 4 / 5 !important; border-radius: 50% 50% 26px 26px / 40% 40% 26px 26px; }
.theme-tmin .listing .list .list-row:first-child h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; }
.theme-tmin .listing .list .list-row:first-child p { -webkit-line-clamp: 5; }
.theme-tmin .listing .list-row h2 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.22; margin: 10px 0 10px; transition: color .2s; }
.theme-tmin .listing .list-row:hover h2 { color: var(--tm-terra-ink); }
.theme-tmin .listing .list-row p { margin: 0; color: var(--tm-muted); font-size: 15.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.theme-tmin .listing .list-row .meta { font-size: 12.5px; color: var(--tm-muted); gap: 8px; }
.theme-tmin .listing .list-row .meta .dot { width: 3px; height: 3px; }
/* поиск: строки без обёртки .list */
.theme-tmin .listing > .list-row { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; padding: 26px 0; border-bottom: 1px dashed var(--tm-line); align-items: center; color: var(--tm-ink); }
.theme-tmin .listing > .list-row .cover { border-radius: 22px; }
.theme-tmin .listing > .page-head + .list-row { padding-top: 6px; }
.theme-tmin .pager { align-items: center; gap: 14px; margin-top: 56px; font-size: 14px; }
.theme-tmin .search-form { margin: 26px auto 0; max-width: 640px; padding: 6px; border-radius: 999px; background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line), var(--tm-shadow); }
.theme-tmin .search-form input { border: 0; background: transparent; border-radius: 999px; padding: 12px 20px; font-size: 16px; color: var(--tm-ink); }
.theme-tmin .search-form input:focus { outline: none; }
.theme-tmin .search-form:focus-within { box-shadow: inset 0 0 0 1.5px var(--tm-terra), var(--tm-shadow); }
.theme-tmin .narrow > .prose { margin-top: 8px; }
.theme-tmin .narrow > div > .author { padding: 14px 18px; border-radius: 20px; background: var(--tm-paper); box-shadow: inset 0 0 0 1px var(--tm-line-soft); }
.theme-tmin .narrow > div > .author .avatar { background: var(--tm-olive-tint) !important; color: var(--tm-olive-ink) !important; }
.theme-tmin .narrow > div > .author:nth-child(odd) .avatar { background: var(--tm-terra-tint) !important; color: var(--tm-terra-ink) !important; }
.theme-tmin .author b { font-weight: 600; }

/* =====================================================================
   АДАПТИВ
   ===================================================================== */
@media (max-width: 1300px) {
  .theme-tmin .tm-head-note { display: none; }
}
@media (max-width: 1100px) {
  .theme-tmin .tm-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-tmin .tm-today { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-tmin .tm-shelves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-tmin .tm-foot-grid { grid-template-columns: 1fr 1fr; }
  .theme-tmin .listing .list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-tmin .tm-hero-note { left: -20px; }
  .theme-tmin .tm-card-media .cover { aspect-ratio: 4 / 3 !important; }
}
@media (max-width: 860px) {
  .theme-tmin .tm-dateline { display: none; }
  .theme-tmin .tm-masthead { grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: ". logo tools" "tag tag tag"; column-gap: 8px; }
  .theme-tmin .tm-tools > :not(.tm-search) { display: none; }
  .theme-tmin .tm-search { width: 42px; padding: 0; justify-content: center; }
  .theme-tmin .tm-search span { display: none; }
  .theme-tmin .tm-tagline { font-size: 10px; letter-spacing: .2em; margin-top: 8px; }
  .theme-tmin .tm-navrow { padding-top: 16px; padding-bottom: 14px; }
  .theme-tmin .tm-nav {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
    margin: 0 calc(-1 * var(--gap)); padding: 2px var(--gap); scroll-padding: 0 var(--gap);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .theme-tmin .tm-nav::-webkit-scrollbar { display: none; }
  .theme-tmin .tm-nav a { scroll-snap-align: start; padding: 9px 16px; font-size: 14px; }

  .theme-tmin .tm-hero, .theme-tmin .tm-ah { grid-template-columns: 1fr; gap: 36px; }
  .theme-tmin .tm-hero-media, .theme-tmin .tm-ah-media { order: -1; max-width: 380px; padding: 22px 22px 0 0; }
  .theme-tmin .tm-hero-outline { left: 22px; bottom: 22px; }
  .theme-tmin .tm-stamp { width: 100px; height: 100px; right: -6px; bottom: 40px; }
  .theme-tmin .tm-hero-note { left: -8px; top: -14px; font-size: 23px; }
  .theme-tmin .tm-hero-note-arrow { width: 44px; height: 28px; margin-left: 18px; }
  .theme-tmin .tm-hero-sun { left: -8%; }
  .theme-tmin .tm-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .theme-tmin .tm-mosaic-col { display: contents; }
  .theme-tmin .tm-toc-grid { grid-template-columns: 1fr; }
  .theme-tmin .tm-toc-intro { position: static; }
  .theme-tmin .tm-toc-sprig { display: none; }
  .theme-tmin .tm-sub { grid-template-columns: 1fr; }
  .theme-tmin .tm-sub-actions { flex-direction: row; flex-wrap: wrap; }
  .theme-tmin .recipe-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .theme-tmin .tm-header { padding-top: 16px; }
  .theme-tmin .tm-logo-word { font-size: 40px; }
  .theme-tmin .tm-logo-sprig { width: 28px; height: 28px; }
  .theme-tmin .tm-hero { padding-top: 26px; }
  .theme-tmin .tm-hero-media, .theme-tmin .tm-ah-media { max-width: 300px; }
  .theme-tmin .tm-hero-foot { margin-top: 28px; }
  .theme-tmin .tm-hero-foot .tm-btn { width: 100%; }
  .theme-tmin .tm-chip { height: 34px; padding: 0 13px; font-size: 13.5px; }
  .theme-tmin .tm-sec-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .theme-tmin .tm-sec-hand { font-size: 24px; }

  .theme-tmin .tm-today {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gap)); padding: 0 var(--gap) 24px; scroll-padding: 0 var(--gap);
  }
  .theme-tmin .tm-today::-webkit-scrollbar { display: none; }
  .theme-tmin .tm-today .tm-card { flex: 0 0 76%; scroll-snap-align: start; }
  .theme-tmin .tm-card-media .cover { aspect-ratio: 1 / 1 !important; }
  .theme-tmin .tm-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .theme-tmin .tm-tile { padding: 22px 10px 20px; border-radius: 24px; }
  .theme-tmin .tm-tile-icon { width: 70px; height: 70px; margin-bottom: 6px; }
  .theme-tmin .tm-tile-icon svg { width: 38px; height: 38px; }
  .theme-tmin .tm-mosaic { display: flex; flex-direction: column; gap: 40px; }
  .theme-tmin .tm-m-media .cover { aspect-ratio: 3 / 2 !important; }
  .theme-tmin .tm-mosaic-col { display: contents; }
  .theme-tmin .tm-secret { margin-left: 6px; margin-right: 6px; }
  .theme-tmin .tm-secret p { font-size: 26px; }
  .theme-tmin .tm-toc a { grid-template-columns: 46px minmax(0, 1fr); padding: 18px 0; }
  .theme-tmin .tm-toc-n { font-size: 24px; }
  .theme-tmin .tm-toc-line { display: block; }
  .theme-tmin .tm-toc-line h3 { max-width: none; font-size: 19.5px; }
  .theme-tmin .tm-toc-dots { display: none; }
  .theme-tmin .tm-toc-time { display: inline-flex; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 253, 249, .7); font-size: 12.5px; color: var(--tm-terra-ink); }
  .theme-tmin .tm-shelves {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gap)); padding: 4px var(--gap) 28px; scroll-padding: 0 var(--gap);
  }
  .theme-tmin .tm-shelves::-webkit-scrollbar { display: none; }
  .theme-tmin .tm-shelf { flex: 0 0 86%; scroll-snap-align: start; padding: 20px 18px 8px; border-radius: 24px; }

  .theme-tmin .tm-sub { border-radius: 30px; padding: 34px 24px; }
  .theme-tmin .tm-sub-actions .tm-btn { width: 100%; }
  .theme-tmin .tm-sub-deco { right: -30px; bottom: -40px; }
  .theme-tmin .tm-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .theme-tmin .tm-foot-brand, .theme-tmin .tm-foot-net { grid-column: 1 / -1; }

  .theme-tmin .tm-facts { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 22px; }
  .theme-tmin .tm-facts > div { padding: 12px 12px 13px; }
  .theme-tmin .tm-facts dt { font-size: 9.5px; letter-spacing: .12em; }
  .theme-tmin .tm-facts dd { font-size: 15.5px; gap: 6px; white-space: normal; flex-wrap: wrap; }
  .theme-tmin .tm-facts dd svg { width: 15px; height: 15px; }
  .theme-tmin .tm-byline { align-items: flex-start; }
  .theme-tmin .prose > blockquote { padding: 30px 22px 24px; font-size: 1.4em; }
  .theme-tmin .inline-read { padding: 76px 22px 22px; }
  .theme-tmin .inline-read::before { top: 20px; margin-top: 0; left: 22px; width: 44px; height: 44px; background-size: 26px; }
  .theme-tmin .recipe-card { margin-left: -6px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(43, 33, 24, .07), 8px 10px 0 0 var(--tm-linen), 8px 10px 0 1px rgba(43, 33, 24, .06), 0 40px 60px -44px rgba(59, 42, 30, .5); }
  .theme-tmin .recipe-card h2 { gap: 6px; flex-direction: column; align-items: flex-start; }
  .theme-tmin .recipe-card h2::after { font-size: 21px; }
  .theme-tmin .steps li { grid-template-columns: 40px 1fr; font-size: 16px; }
  .theme-tmin .steps li::before { font-size: 22px; }
  .theme-tmin .inline-cta { padding: 22px; }
  .theme-tmin .c-replies { padding-left: 12px; }
  .theme-tmin .c-replies .c-item { grid-template-columns: 34px 1fr; gap: 10px; }
  .theme-tmin .c-replies .c-item .avatar { width: 34px !important; height: 34px !important; font-size: 12px !important; }
  .theme-tmin .c-text { padding: 12px 15px; font-size: 15px; }

  .theme-tmin .listing .list { grid-template-columns: 1fr; gap: 0; }
  .theme-tmin .listing .list .list-row, .theme-tmin .listing .list .list-row:first-child, .theme-tmin .listing > .list-row {
    grid-column: auto; display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center;
    padding: 16px 0; border-bottom: 1px dashed var(--tm-line);
  }
  .theme-tmin .listing .list .list-row:first-child { padding-top: 0; }
  .theme-tmin .listing .list .list-row .cover, .theme-tmin .listing .list .list-row:first-child .cover, .theme-tmin .listing > .list-row .cover { aspect-ratio: 1 / 1 !important; border-radius: 50%; box-shadow: 0 0 0 4px var(--tm-paper), 0 0 0 5px var(--tm-line); }
  .theme-tmin .listing .list-row h2, .theme-tmin .listing .list .list-row:first-child h2 { font-size: 18px; line-height: 1.24; margin: 6px 0 0; }
  .theme-tmin .listing .list .list-row p, .theme-tmin .listing > .list-row p { display: none; }
  .theme-tmin .pager { flex-wrap: wrap; }
  .theme-tmin .related-grid { grid-template-columns: 1fr 1fr; }
  .theme-tmin .related-card h3 { font-size: 17px; }
  .theme-tmin .related-card .cover { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .theme-tmin *, .theme-tmin *::before, .theme-tmin *::after { transition: none !important; animation: none !important; }
  .theme-tmin a:hover .cover img { transform: none; }
}

/* печать: только рецепт */
@media print {
  .theme-tmin .tm-header, .theme-tmin .tm-footer, .theme-tmin .comments, .theme-tmin .related, .theme-tmin .share-row,
  .theme-tmin .inline-cta, .theme-tmin .tags, .theme-tmin .jump, .theme-tmin .progress, .theme-tmin .tm-ah-media,
  .theme-tmin .breadcrumbs, .theme-tmin .inline-read { display: none !important; }
  .theme-tmin { background: #fff; }
  .theme-tmin .tm-ah { grid-template-columns: 1fr; padding: 0; }
  .theme-tmin .recipe-card { box-shadow: none; margin: 24px 0 0; border: 1px solid #ccc; break-inside: avoid; }
  .theme-tmin .recipe-card::before, .theme-tmin .recipe-card::after { display: none; }
}
