/*
Theme Name: Mamasblog
Description: Семейная энциклопедия Серафимы Грань. Утверждённый дизайн от 16.11.2026.
Version: 2026.11.16.1
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: mamasblog
*/
@import url('./assets/onest.css');
@import url('./assets/golos.css');

:root {
  --paper: #ffffff;
  --ink: #202737;
  --muted: #647084;
  --blue: #3156bc;
  --blue-soft: #f0f4fc;
  --coral: #f79b87;
  --peach: #fff0e9;
  --lime: #dff39d;
  --lavender: #e9e4f7;
  --line: #dfe4ed;
  --soft: #f7f8fa;
  --display: 'Onest', sans-serif;
  --body: 'Golos Text', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); min-width: 0; overflow-wrap: break-word; }
.wrap { max-width: 1248px; margin: 0 auto; }
.campaign { background: var(--lime); font-size: 15px; line-height: 1.4; }
.campaign .wrap { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.campaign a { font-weight: 600; display: flex; align-items: center; gap: 7px; }
.campaign .icon { width: 16px; height: 16px; }
.header { border-bottom: 1px solid var(--line); }
.header .wrap { height: 104px; display: flex; align-items: center; gap: 35px; }
.brand { display: block; flex-shrink: 0; }
.wordmark { font-family: var(--display); font-size: 31px; font-weight: 800; letter-spacing: -1.6px; line-height: 1; }
.wordmark .sunmark { display: inline-flex; margin-left: 2px; color: var(--blue); vertical-align: middle; }
.sunmark svg { width: 24px; height: 24px; }
.brand-caption { color: var(--muted); font-size: 11px; margin-top: 7px; letter-spacing: .1px; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a.active { color: var(--blue); }
.nav .icon { width: 19px; }
.btn { min-height: 48px; border: 0; padding: 13px 22px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; line-height: 1.3; font-size: 16px; font-weight: 600; white-space: normal; text-align: center; }
.btn.blue { background: var(--blue); color: var(--paper); }
.btn.lime { background: var(--lime); color: var(--ink); }
.btn.white { background: var(--paper); color: var(--ink); }
.btn.outline { background: transparent; border: 1px solid var(--line); }
.btn.small { min-height: 42px; font-size: 14px; padding: 10px 16px; }
.btn .icon { width: 19px; height: 19px; flex-shrink: 0; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu { display: none; padding: 10px; border: 0; background: transparent; }
.cta-short { display:none; }
.hero { padding: 52px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.07fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 65px; line-height: 1.04; font-weight: 650; letter-spacing: -3.4px; }
.hero p { font-size: 21px; line-height: 1.52; max-width: 500px; margin-top: 24px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; }
.text-link { font-size: 15px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.hero-art { overflow: hidden; border-radius: 26px 26px 84px 26px; background: var(--blue-soft); position: relative; }
.hero-art img { width: 100%; aspect-ratio: 1.24; object-fit: cover; }
.art-note { position: absolute; bottom: 21px; left: 24px; background: var(--paper); padding: 9px 15px; border-radius: 7px; font-size: 13px; transform: rotate(-3deg); }
.topics { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; }
.topic { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; }
.topic .icon { color: var(--blue); width: 25px; }
.section { padding: 54px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 27px; gap: 20px; }
.section h2 { font-size: 36px; font-weight: 600; letter-spacing: -1.4px; line-height: 1.16; }
.section-head > p { color: var(--muted); font-size: 16px; }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 25px; }
.story { min-width: 0; }
.story-picture { height: 228px; border-radius: 15px; overflow: hidden; background: var(--blue-soft); position: relative; }
.story-picture img { width: 100%; height: 100%; object-fit: contain; }
.story-picture.comic-thumb { display: grid; place-items: center; background: #fff7eb; }
.comic-thumb .comic-panel { height: 100%; aspect-ratio: 1; max-width: 100%; overflow: hidden; }
.story-picture.comic-thumb img { width: auto; height: 100%; max-width: none; }
.story-picture.diagram { display: grid; place-items: center; background: var(--lavender); }
.story-picture.diagram svg { width: 200px; height: 160px; }
.tag { display: inline-block; color: var(--blue); font-size: 13px; font-weight: 500; margin-top: 16px; }
.story h3 { font-size: 23px; line-height: 1.23; font-weight: 600; letter-spacing: -.6px; margin-top: 8px; }
.story p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.plan-band { background: var(--lavender); border-radius: 24px; display: grid; grid-template-columns: minmax(0,1fr) 400px; gap: 55px; overflow: hidden; padding: 42px 48px 0; min-height: 410px; }
.plan-logo { width: 92px; height: 36px; object-fit: contain; object-position: left center; }
.plan-band h2 { font-size: 39px; max-width: 550px; margin-top: 21px; line-height: 1.12; letter-spacing: -1.6px; }
.plan-band p { font-size: 18px; color: var(--muted); line-height: 1.5; max-width: 525px; margin-top: 17px; }
.plan-band .btn { margin-top: 23px; }
.screen-frame { width: 228px; height: 345px; border: 6px solid var(--ink); border-bottom: 0; border-radius: 33px 33px 0 0; overflow: hidden; margin: 18px auto 0; transform: rotate(5deg); box-shadow: 19px 16px 0 rgba(49,86,188,.1); background: var(--paper); }
.screen-frame img { width: 100%; }
.plan-caption { margin: 12px auto 0; max-width: 320px; font-size: 11px; color: var(--muted); }
.two-features { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.feature { padding: 31px; border-radius: 16px; display: grid; grid-template-columns: 1fr 120px; align-items: center; gap: 25px; background: var(--blue-soft); }
.feature:nth-child(2) { background: var(--peach); }
.feature h3 { font-size: 27px; line-height: 1.2; letter-spacing: -.8px; }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 12px 0 20px; }
.feature svg { width: 110px; height: 130px; }
.footer { margin-top: 20px; background: var(--soft); }
.footer .wrap { padding: 34px 0; display: flex; align-items: center; justify-content: space-between; }
.footer p { font-size: 13px; color: var(--muted); margin-top: 10px; }
.footer-links { display: flex; gap: 26px; font-size: 14px; }
.crumbs { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; margin: 27px 0 30px; }
.crumbs .icon { width: 13px; height: 13px; }
.article-title { max-width: 1000px; font-size: 61px; line-height: 1.05; font-weight: 620; letter-spacing: -2.5px; }
.article-lead { max-width: 870px; font-size: 22px; line-height: 1.5; color: var(--muted); margin-top: 21px; }
.author { display: flex; align-items: center; gap: 13px; margin: 22px 0 28px; font-size: 13px; color: var(--muted); }
.author b { color: var(--ink); font-weight: 500; }
.author-mark { width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.author span + span { padding-left: 14px; border-left: 1px solid var(--line); }
.comic { margin-top: 22px; }
.comic img { width: 100%; height: 315px; object-fit: cover; border-radius: 17px; }
.comic-captions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px; margin-top: 14px; }
.comic-captions p { font-size: 15px; font-weight: 500; padding-left: 10px; }
.comic-mobile { display:none; }
.article-grid { display: grid; grid-template-columns: minmax(0, 804px) 340px; gap: 80px; margin-top: 43px; }
.article-body { font-size: 20px; line-height: 1.65; }
.article-body h2 { font-size: 32px; letter-spacing: -1px; font-weight: 600; line-height: 1.2; margin: 31px 0 17px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 16px; }
.note { background: var(--blue-soft); padding: 20px 24px; border-radius: 12px; font-size: 17px; line-height: 1.5; }
.note b { font-weight: 600; }
.steps { margin-top: 29px; }
.step { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 20px; padding-bottom: 25px; }
.step-number { border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; background: var(--lavender); font-family: var(--display); font-size: 18px; font-weight: 600; }
.step h3 { font-size: 23px; line-height: 1.3; font-weight: 600; margin: 3px 0 7px; letter-spacing: -.5px; }
.step p { font-size: 18px; line-height: 1.6; margin: 0; }
.sidebar-plan { background: var(--lavender); border-radius: 17px; padding: 28px; }
.sidebar-plan .plan-logo { width: 80px; height: 31px; }
.sidebar-plan h3 { font-size: 28px; line-height: 1.15; letter-spacing: -1px; margin-top: 23px; }
.sidebar-plan p { font-size: 15px; color: var(--muted); line-height: 1.5; margin: 15px 0 20px; }
.sidebar-plan .btn { width: 100%; }
.side-contents { margin-top: 30px; padding: 0 10px; }
.side-contents h3 { font-size: 17px; font-weight: 600; margin-bottom: 15px; }
.side-contents a { display: block; font-size: 14px; color: var(--muted); margin: 13px 0; line-height: 1.4; }
.side-contents a:first-of-type { color: var(--blue); }
.download-card { margin-top: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 15px; }
.download-card h3 { font-size: 20px; line-height: 1.25; margin: 12px 0 8px; }
.download-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.download-card a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue); margin-top: 16px; }
.checklist { padding: 25px 28px; background: var(--soft); border-radius: 15px; }
.checklist h3 { font-size: 24px; line-height: 1.2; margin-bottom: 16px; }
.check { display: flex; align-items: center; gap: 12px; font-size: 18px; margin: 13px 0; line-height: 1.4; }
.check-box { width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--muted); flex-shrink: 0; }
.checklist .btn { margin-top: 17px; }
.article-bottom { padding: 40px 0 0; }
.article-bottom .plan-band { min-height: 310px; padding-bottom: 38px; grid-template-columns: minmax(0,1fr) 270px; align-items: center; }
.article-bottom .plan-band h2 { font-size: 33px; }
.article-bottom .plan-band p { font-size: 17px; }
.recipe-top { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; padding: 8px 0 36px; }
.recipe-top h1 { font-size: 59px; line-height: 1.04; font-weight: 650; letter-spacing: -2.7px; }
.recipe-top .intro { color: var(--muted); font-size: 20px; line-height: 1.5; margin-top: 22px; }
.recipe-top .recipe-picture { border-radius: 20px 65px 20px 20px; overflow: hidden; background: var(--peach); }
.recipe-picture img { width: 100%; height: 420px; object-fit: cover; }
.recipe-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 23px 0 24px; font-size: 15px; }
.recipe-meta span { display: inline-flex; align-items: center; gap: 7px; }
.recipe-meta .icon { width: 20px; height: 20px; }
.recipe-top .btn { width: 100%; max-width: 400px; }
.recipe-controls { display: flex; align-items: center; gap: 22px; margin-top: 15px; font-size: 13px; color: var(--muted); }
.recipe-controls a { display: flex; align-items: center; gap: 6px; }
.recipe-controls .icon { width: 16px; height: 16px; }
.recipe-content { display: grid; grid-template-columns: 365px minmax(0,1fr); gap: 75px; margin-top: 20px; }
.ingredients { background: var(--peach); border-radius: 17px; padding: 28px; align-self: start; }
.ingredients h2 { font-size: 30px; letter-spacing: -1px; }
.portion-control { display: flex; justify-content: space-between; align-items: center; margin: 20px 0 17px; font-size: 15px; }
.portion-buttons { display: flex; gap: 15px; align-items: center; font-weight: 500; }
.portion-buttons button { border: 1px solid var(--line); background: var(--paper); width: 30px; height: 30px; border-radius: 7px; }
.ingredient { display: flex; gap: 10px; padding: 13px 0; border-top: 1px solid rgba(32,39,55,.1); font-size: 17px; line-height: 1.4; }
.ingredient .check-box { width: 18px; height: 18px; margin-top: 3px; }
.ingredient b { font-weight: 400; white-space: nowrap; margin-left: auto; }
.ingredients .btn { margin-top: 19px; width: 100%; font-size: 14px; }
.ingredients .small-note { font-size: 12px; color: var(--muted); margin-top: 11px; line-height: 1.5; }
.recipe-method h2 { font-size: 33px; letter-spacing: -1px; margin-bottom: 21px; }
.recipe-method .step { padding-bottom: 28px; }
.recipe-method .step-number { background: var(--peach); }
.recipe-method .note { margin-top: 6px; }
.recipe-skills { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 0; }
.recipe-skills span { font-size: 13px; border: 1px solid var(--line); padding: 7px 10px; border-radius: 6px; }
.mini-plan-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--lavender); border-radius: 17px; margin: 42px 0 0; padding: 29px 34px; }
.mini-plan-row h3 { font-size: 27px; line-height: 1.2; letter-spacing: -.7px; }
.mini-plan-row p { font-size: 16px; color: var(--muted); margin-top: 8px; }
.mini-plan-row .btn { flex-shrink: 0; }
.recipe-related { padding-top: 45px; }
.recipe-related .story-picture { height: 180px; }
.recipe-related .story h3 { font-size: 21px; }
.preview-badge { position: fixed; bottom: 12px; right: 12px; background: var(--ink); color: var(--paper); font-size: 11px; border-radius: 6px; padding: 7px 10px; z-index: 10; }
@media (min-width: 1500px) { .wrap { max-width: 1280px; } }
@media (max-width: 1300px) { .wrap { margin-left: 40px; margin-right: 40px; } .header .wrap { gap: 20px; } .nav { gap: 18px; } .hero h1 { font-size: 58px; } .hero-grid { gap: 28px; } .article-grid { gap: 45px; grid-template-columns: minmax(0,1fr) 310px; } }
@media (max-width: 950px) { .nav { display:none; } .header .wrap > .btn { margin-left:auto; } .hero h1 { font-size: 48px; } .hero p { font-size: 18px; } .hero-actions { gap: 16px; flex-wrap: wrap; } .topic { font-size: 14px; gap: 6px; } .topic .icon { width: 20px; } .plan-band { gap: 20px; grid-template-columns: minmax(0,1fr) 240px; padding-left: 30px; padding-right: 30px; } .plan-band h2 { font-size: 33px; } .article-grid { grid-template-columns: minmax(0,1fr); } .sidebar { display:none; } .recipe-top { gap: 28px; } .recipe-top h1 { font-size: 46px; } .recipe-content { grid-template-columns: 310px minmax(0,1fr); gap: 35px; } }
@media (max-width: 650px) {
  body { font-size: 16px; }
  .wrap { margin-left: 20px; margin-right: 20px; }
  .campaign .wrap { min-height: 44px; justify-content: space-between; gap: 10px; margin-left:16px; margin-right:16px; }
  .campaign { font-size: 11px; }
  .campaign-copy { max-width: 205px; }
  .campaign a { font-size: 11px; white-space: nowrap; }
  .campaign .icon { display:none; }
  .header .wrap { height: 80px; gap: 12px; }
  .wordmark { font-size: 25px; letter-spacing: -1.3px; }
  .sunmark svg { width:19px; height:19px; }
  .brand-caption { font-size: 9px; margin-top:5px; }
  .header .wrap > .btn { padding: 9px 11px; min-height:36px; font-size:11px; border-radius:7px; }
  .header .wrap > .btn .icon { display:none; }
  .menu { display:block; padding:3px 0; }
  .menu .icon { width:21px; height:21px; }
  .hero { padding: 33px 0 27px; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .hero h1 { font-size: clamp(33px,10.6vw,43px); line-height: 1.05; letter-spacing: -1.9px; }
  .hero p { font-size: 17px; line-height:1.5; margin-top:19px; }
  .hero-actions { margin-top:23px; gap:19px; }
  .hero-actions .btn { font-size:14px; padding:12px 17px; }
  .hero-actions .text-link { font-size:13px; }
  .hero-art { border-radius: 16px 16px 48px 16px; }
  .hero-art img { aspect-ratio: 1.42; }
  .art-note { font-size:10px; bottom:15px; left:17px; }
  .topics { display:grid; grid-template-columns: 1fr 1fr; gap:18px 12px; padding:21px 0; }
  .topic { font-size:12px; }
  .topic:last-child { display:none; }
  .section { padding: 33px 0; }
  .section-head { display:block; margin-bottom:22px; }
  .section h2 { font-size:29px; letter-spacing:-1px; }
  .section-head > p { font-size:14px; margin-top:8px; }
  .section-head > a { display:none; }
  .stories { grid-template-columns: minmax(0,1fr); gap:27px; }
  .story-picture { height:215px; }
  .story h3 { font-size:23px; }
  .story p { font-size:15px; }
  .plan-band { grid-template-columns:minmax(0,1fr); padding:29px 24px 0; gap:20px; border-radius:17px; }
  .plan-band h2 { font-size:31px; margin-top:16px; letter-spacing:-1.2px; }
  .plan-band p { font-size:16px; margin-top:14px; }
  .plan-band .btn { width:100%; font-size:15px; margin-top:21px; }
  .plan-logo { width:83px; height:33px; }
  .screen-frame { margin-top:0; height:260px; }
  .plan-caption { display:none; }
  .two-features { grid-template-columns:minmax(0,1fr); gap:20px; }
  .feature { padding:24px; grid-template-columns:1fr 75px; gap:10px; }
  .feature h3 { font-size:25px; }
  .feature svg { width:70px; height:100px; }
  .footer .wrap { padding:28px 0; display:block; }
  .footer-links { margin-top:23px; flex-wrap:wrap; gap:17px; font-size:12px; }
  .crumbs { margin:22px 0; font-size:11px; gap:8px; }
  .article-title { font-size:39px; letter-spacing:-1.8px; line-height:1.07; }
  .article-lead { font-size:17px; line-height:1.5; margin-top:17px; }
  .author { font-size:11px; gap:9px; flex-wrap:wrap; margin:20px 0 21px; }
  .author-mark { width:30px; height:30px; font-size:12px; }
  .author span + span { padding-left:10px; }
  .comic { margin-top:0; }
  .comic img { height:auto; aspect-ratio:auto; object-fit:fill; width:300%; max-width:none; }
  .comic-frame { overflow:hidden; border-radius:13px; }
  .comic-mobile { display:flex; justify-content:space-between; font-size:11px; color:var(--muted); margin-top:10px; }
  .comic-captions { grid-template-columns:minmax(0,1fr); margin-top:10px; }
  .comic-captions p { font-size:13px; padding-left:0; }
  .comic-captions p:not(:first-child) { display:none; }
  .article-grid { margin-top:29px; gap:25px; }
  .article-body { font-size:17px; line-height:1.6; }
  .article-body h2 { font-size:27px; letter-spacing:-.7px; margin-bottom:16px; }
  .note { font-size:15px; padding:19px; }
  .step { grid-template-columns:33px minmax(0,1fr); gap:13px; padding-bottom:23px; }
  .step-number { width:32px; height:32px; font-size:15px; }
  .step h3 { font-size:20px; margin-top:2px; }
  .step p { font-size:16px; line-height:1.55; }
  .checklist { padding:23px 20px; }
  .checklist h3 { font-size:24px; }
  .check { font-size:16px; }
  .checklist .btn { width:100%; font-size:14px; }
  .article-bottom { padding-top:26px; }
  .article-bottom .plan-band { grid-template-columns:minmax(0,1fr); padding-bottom:27px; }
  .article-bottom .plan-band h2 { font-size:28px; }
  .article-bottom .plan-band p { font-size:16px; }
  .recipe-top { grid-template-columns:minmax(0,1fr); gap:25px; padding:0 0 26px; }
  .recipe-top h1 { font-size:42px; letter-spacing:-1.9px; }
  .recipe-top .intro { font-size:17px; margin-top:17px; }
  .recipe-meta { font-size:13px; gap:11px 17px; margin:21px 0; }
  .recipe-top .btn { font-size:14px; max-width:none; }
  .recipe-picture img { height:265px; }
  .recipe-top .recipe-picture { border-radius:14px 45px 14px 14px; }
  .recipe-content { grid-template-columns:minmax(0,1fr); gap:30px; margin-top:0; }
  .ingredients { padding:24px; }
  .ingredients h2 { font-size:28px; }
  .ingredient { font-size:16px; }
  .recipe-method h2 { font-size:28px; }
  .mini-plan-row { display:block; padding:25px; margin-top:30px; }
  .mini-plan-row h3 { font-size:25px; }
  .mini-plan-row p { font-size:15px; }
  .mini-plan-row .btn { width:100%; margin-top:21px; font-size:14px; }
  .recipe-skills { gap:7px; }
  .recipe-skills span { font-size:11px; }
  .preview-badge { display:none; }
}
@media (max-width:360px) { .header .cta-full { display:none; } .header .cta-short { display:inline; } .header .wrap { gap:10px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior:auto !important; } }

.skip-link { position:absolute;left:20px;top:-100px;z-index:100;background:#fff;padding:14px; }
.skip-link:focus {top:12px;}
[hidden] { display:none!important; }
.search-toggle,.link-button { border:0;background:none;padding:0;color:inherit;font:inherit;cursor:pointer; }
.search-toggle { padding:8px;display:flex;align-items:center;justify-content:center; }
.search-panel { padding-top:24px;padding-bottom:24px; }
.search-panel label {display:block;margin-bottom:12px;font-weight:600;}
.search-panel form>div {display:flex;gap:12px;}
.search-panel input {min-width:0;flex:1;border:1px solid var(--line);border-radius:9px;padding:12px 16px;font:inherit;}
.footer-links {flex-wrap:wrap;justify-content:flex-end;max-width:720px;row-gap:14px;}
.footer-links .link-button {font-size:14px;text-align:left;}
.consent-box {position:fixed;bottom:20px;left:24px;right:24px;margin:auto;max-width:1100px;z-index:80;display:flex;gap:28px;align-items:center;justify-content:space-between;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 36px #20273722;padding:22px 26px;}
.consent-box b {font-size:17px;}
.consent-box p {font-size:14px;line-height:1.5;max-width:610px;margin-top:7px;color:var(--muted);}
.consent-box a,.copy-help a {text-decoration:underline;}
.consent-actions {display:flex;flex-shrink:0;gap:9px;}
.toast {position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:100;background:var(--ink);color:#fff;padding:15px 22px;border-radius:10px;max-width:calc(100% - 32px);width:max-content;font-size:15px;}
.copy-help {font-size:14px!important;color:var(--muted);line-height:1.5;margin-top:12px!important;}
.story-picture.diagram img {width:200px;height:160px;}
@media(max-width:650px){.comic-captions p:not([hidden]){display:block;}}
.check input,.ingredient input {appearance:auto;accent-color:var(--blue);width:22px;height:22px;margin:0;flex-shrink:0;}
.check,.ingredient {cursor:pointer;}
.check:has(input:checked),.ingredient:has(input:checked) {color:var(--muted);}
.check:has(input:checked) {text-decoration:line-through;}
.recipe-controls button {display:inline-flex;gap:7px;align-items:center;}
.recipe-controls .icon {width:18px;height:18px;}
.comic img {height:auto;}
.comic-mobile button {width:44px;height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--blue);font-size:23px;}
.comic-mobile button:disabled {opacity:.35;cursor:default;}
.archive-head {padding:50px 0 32px;max-width:850px;}
.archive-head h1 {font-size:52px;letter-spacing:-2px;line-height:1.12;}
.archive-head p {color:var(--muted);margin-top:18px;line-height:1.6;}
.archive-grid {padding-bottom:50px;row-gap:38px;}
.pagination {display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:20px 0 55px;}
.page-numbers {padding:10px 15px;border:1px solid var(--line);border-radius:8px;}
.page-numbers.current {background:var(--blue);color:#fff;}
.legacy-title {font-size:52px;line-height:1.12;letter-spacing:-2px;max-width:1000px;margin:16px 0 24px;}
.legacy-meta {display:flex;flex-wrap:wrap;gap:18px;font-size:14px;color:var(--muted);margin-bottom:30px;}
.legacy-content {font-size:20px;line-height:1.75;min-width:0;}
.legacy-content h2 {font-size:33px;line-height:1.22;margin:38px 0 18px;}
.legacy-content h3 {font-size:26px;line-height:1.3;margin:28px 0 14px;}
.legacy-content p,.legacy-content ul,.legacy-content ol,.legacy-content figure {margin:0 0 24px;}
.legacy-content a {text-decoration:underline;color:var(--blue);overflow-wrap:anywhere;}
.legacy-content img {max-width:100%!important;height:auto!important;object-fit:contain;}
.legacy-content .wp-caption {max-width:100%!important;}
.legacy-content iframe,.legacy-content video {max-width:100%;}
.legacy-content table {display:block;max-width:100%;overflow:auto;border-collapse:collapse;}
.legacy-content td,.legacy-content th {padding:9px;border:1px solid var(--line);}
.legacy-content blockquote {margin:25px 0;padding:18px 25px;background:var(--blue-soft);border-radius:12px;}
.legacy-content .alignleft {float:left;margin:8px 25px 20px 0;}
.legacy-content .alignright {float:right;margin:8px 0 20px 25px;}
.legacy-content:after {content:'';display:block;clear:both;}
.text-page {max-width:850px;padding-bottom:60px;}
.text-page h1 {margin:42px 0 26px;font-size:48px;line-height:1.15;letter-spacing:-1.5px;}
.empty-state {background:var(--blue-soft);padding:32px;border-radius:16px;margin:20px 0 45px;}
.archive-card-placeholder {height:228px;background:var(--lavender);border-radius:15px;display:grid;place-items:center;}
.archive-card-placeholder svg {width:110px;height:110px;}
.legacy-comments {padding:32px 0;border-top:1px solid var(--line);margin-top:40px;}
.legacy-comments h2 {margin-top:0;}
.legacy-comments ol {list-style:none;padding:0;}
.legacy-comments li {border-bottom:1px solid var(--line);padding:20px 0;font-size:16px;}
.legacy-comments .comment-meta {font-size:13px;color:var(--muted);}
@media(max-width:950px){
 .header .menu {display:block;}
 .nav.is-open {display:flex;flex-direction:column;align-items:flex-start;position:absolute;top:100%;left:20px;right:20px;z-index:40;background:#fff;padding:20px;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #20273712;white-space:normal;}
 .header {position:relative;}
}
@media(max-width:780px){
 .header {position:relative;}
 .nav.is-open {display:flex;flex-direction:column;align-items:flex-start;position:absolute;top:100%;left:20px;right:20px;z-index:40;background:#fff;padding:20px;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #20273712;white-space:normal;}
 .nav.is-open a {padding:7px 0;}
 .search-panel {padding:18px 20px;}
 .search-panel form>div {gap:8px;}
 .search-panel input {width:100px;font-size:16px;padding:10px;}
 .consent-box {left:12px;right:12px;bottom:12px;flex-direction:column;align-items:stretch;gap:14px;padding:18px;}
 .consent-actions {flex-wrap:wrap;}
 .consent-actions .btn {flex:1;}
 .footer-links {justify-content:flex-start;}
 .archive-head {padding:30px 0 22px;}
 .archive-head h1,.legacy-title {font-size:36px;letter-spacing:-1.2px;}
 .legacy-content {font-size:18px;line-height:1.7;}
 .legacy-content h2 {font-size:28px;}
 .legacy-content h3 {font-size:23px;}
 .legacy-content .alignleft,.legacy-content .alignright {float:none;margin:16px auto;}
 .text-page h1 {font-size:36px;}
 .comic img {height:auto;}
 .comic-mobile {align-items:center;justify-content:space-between;}
}
@media print {
 .header,.campaign,.footer,.consent-box,.toast,.sidebar,.btn,.recipe-controls,.comic-mobile,.no-print,.mini-plan-row,.plan-band,.side-contents,.skip-link {display:none!important;}
 .wrap {width:auto!important;max-width:none!important;margin:0!important;padding:0!important;}
 body {font-size:12pt;color:#000;}
 .article-grid,.recipe-content,.recipe-top {display:block!important;}
 .recipe-picture {width:70%;max-width:500px;margin:20px auto;}
 .article-title,.legacy-title {font-size:28pt;}
 .step,.ingredient,.check {break-inside:avoid;}
 .recipe-content,.article-grid {margin-top:24px;}
 .checklist {background:none;border:1px solid #aaa;}
 a {text-decoration:none!important;color:#000!important;}
}
