:root {
    --paper: #f5f1e7;
    --surface: #fffdf8;
    --ink: #141414;
    --muted: #6d6b63;
    --line: #d9d4c8;
    --green: #003f34;
    --green-2: #075b49;
    --green-soft: #dfe9e4;
    --orange: #e85b2a;
    --yellow: #f1c64b;
    --radius: 24px;
    --shadow: 0 18px 46px rgba(15, 30, 25, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.shell-narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(245, 241, 231, .94);
    border-bottom: 1px solid rgba(0, 63, 52, .12);
    backdrop-filter: blur(14px);
}
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}
.brand {
    text-decoration: none;
    color: var(--green);
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -.02em;
}
.nav-list, .footer-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav-list a, .footer-menu a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 750;
}
.nav-list a:hover { color: var(--green-2); }

.hero {
    background: var(--green);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    right: -130px;
    bottom: -220px;
    background: rgba(241, 198, 75, .11);
}
.hero-inner {
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 72px;
    align-items: center;
    padding-block: 72px;
    position: relative;
    z-index: 1;
}
.hero-kicker, .eyebrow {
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
}
.hero-kicker { color: var(--yellow); }
.hero h1 {
    max-width: 760px;
    margin: 14px 0 18px;
    font-size: clamp(52px, 6.6vw, 94px);
    line-height: .94;
    letter-spacing: -.055em;
    font-weight: 950;
}
.hero p {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: clamp(19px, 2vw, 25px);
    line-height: 1.35;
}
.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 34px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--yellow);
    color: #fff;
    text-decoration: none;
    font-weight: 850;
}
.hero-link span { color: var(--yellow); font-size: 24px; }
.hero-wordmark {
    display: grid;
    justify-items: center;
    transform: rotate(-2deg);
    font-size: clamp(72px, 8vw, 128px);
    line-height: .73;
    font-weight: 1000;
    letter-spacing: -.07em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    text-shadow: 4px 4px 0 rgba(0,0,0,.18);
}
.hero-wordmark span:nth-child(2) {
    font-size: .72em;
    margin-block: .18em;
    color: #fff;
    -webkit-text-stroke: 0;
}

.home-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
    gap: 46px;
    padding: 64px 0 86px;
    align-items: start;
}
.filter-panel {
    position: sticky;
    top: 104px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.search-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--green);
}
.search-row {
    display: grid;
    grid-template-columns: 1fr 48px;
    border: 2px solid var(--green);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.search-row input {
    min-width: 0;
    border: 0;
    outline: none;
    padding: 12px 14px;
    background: transparent;
}
.search-row button {
    border: 0;
    background: var(--green);
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}
.filter-group {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 22px 0 0;
    padding: 20px 0 0;
}
.filter-group legend {
    padding: 0;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 900;
}
.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    cursor: pointer;
    font-size: 15px;
}
.check-row input { width: 18px; height: 18px; accent-color: var(--green); }
.filter-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
}
.button:hover { background: var(--green-2); }
.button-dark { background: #171717; }
.button-dark:hover { background: var(--green); }
.reset-link { color: var(--muted); font-size: 14px; }

.start-here {
    border-top: 1px solid var(--line);
    margin-top: 28px;
    padding-top: 24px;
}
.start-here h2 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -.03em;
    font-weight: 950;
}
.start-here::before {
    content: "Самые простые рецепты ВОК-О-КЛОК";
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 13px;
}
.start-here ul { margin: 0; padding-left: 18px; }
.start-here li { margin: 8px 0; }
.start-here a { text-decoration: none; font-weight: 650; }
.start-here a:hover { color: var(--green); }
.muted { color: var(--muted); }

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.section-heading .eyebrow { color: var(--green-2); }
.section-heading h2 {
    margin: 6px 0 0;
    font-size: clamp(38px, 4vw, 58px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 950;
}
.result-count {
    min-width: 48px;
    height: 48px;
    padding: 0 12px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    font-weight: 900;
}

.featured-post {
    overflow: hidden;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.featured-image {
    display: block;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #101010, var(--green));
    text-decoration: none;
    overflow: hidden;
}
.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.featured-post:hover .featured-image img { transform: scale(1.018); }
.featured-copy { padding: clamp(26px, 4vw, 44px); }
.featured-copy .eyebrow { color: var(--green-2); }
.featured-copy h2 {
    margin: 9px 0 14px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 950;
}
.featured-copy h2 a { text-decoration: none; }
.featured-copy p { max-width: 720px; color: var(--muted); font-size: 18px; margin: 0 0 26px; }
.image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    padding: 30px;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
    font-size: clamp(42px, 8vw, 96px);
    line-height: .9;
    font-weight: 1000;
    letter-spacing: -.06em;
    text-align: center;
}

.cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cards-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.post-card {
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
}
.post-card-image { display: block; aspect-ratio: 3/2; overflow: hidden; text-decoration: none; background: var(--green); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.post-card-body { padding: 20px; }
.post-card-title { margin: 6px 0 10px; font-size: 28px; line-height: 1.05; letter-spacing: -.035em; font-weight: 950; }
.post-card-title a, .text-link { text-decoration: none; }
.post-card-body p { color: var(--muted); }
.text-link { color: var(--green); font-weight: 900; }

.about-section {
    background: var(--green);
    color: #fff;
    padding: 86px 0;
    position: relative;
    overflow: hidden;
}
.about-section::after {
    content: "ВОК-О-КЛОК";
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: clamp(72px, 11vw, 180px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -.07em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.09);
    white-space: nowrap;
}
.about-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 80px minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: 42px;
    align-items: start;
}
.about-number { color: var(--yellow); font-size: 56px; line-height: 1; font-weight: 950; }
.about-section .eyebrow { color: var(--yellow); }
.about-section h2 {
    margin: 8px 0 0;
    font-size: clamp(42px, 5vw, 68px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 950;
}
.about-copy { font-size: 19px; color: rgba(255,255,255,.82); }
.about-copy p { margin-top: 0; }
.social-links { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 30px; }
.social-links a { color: #fff; font-weight: 900; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }

.site-footer { padding: 42px 0; background: #101a17; color: #aeb9b5; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: end; gap: 36px; }
.footer-brand { color: #fff; font-size: 20px; font-weight: 950; letter-spacing: -.02em; }
.footer-inner p { margin: 5px 0 0; }
.footer-menu a { color: #fff; }

.archive-page { padding: 64px 0 84px; }
.archive-header { max-width: 860px; margin-bottom: 42px; }
.archive-header .eyebrow, .single-header .eyebrow { color: var(--green-2); }
.archive-header h1, .single-header h1 {
    margin: 8px 0 14px;
    font-size: clamp(48px, 7vw, 88px);
    line-height: .94;
    letter-spacing: -.055em;
    font-weight: 950;
}
.archive-header p, .archive-description, .single-lead { color: var(--muted); font-size: 20px; }
.single-header { padding-top: 72px; padding-bottom: 36px; }
.single-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.single-hero img { width: 100%; max-height: 760px; object-fit: cover; }
.recipe-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 2px solid var(--green);
    border-bottom: 1px solid var(--line);
    margin-bottom: 44px;
}
.recipe-facts div { padding: 18px 14px 18px 0; }
.recipe-facts span, .recipe-facts strong { display: block; }
.recipe-facts span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.recipe-facts strong { font-size: 20px; margin-top: 3px; }
.entry-content { font-size: 19px; line-height: 1.75; padding-bottom: 28px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.45em; }
.entry-content h2 { font-size: 40px; line-height: 1.05; letter-spacing: -.035em; margin-top: 1.6em; font-weight: 950; }
.entry-content h3 { font-size: 30px; line-height: 1.1; letter-spacing: -.025em; margin-top: 1.5em; font-weight: 900; }
.entry-content img { border-radius: 18px; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-embed { margin-inline: 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 72px; }
.post-tags a { display: inline-flex; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: #fff; }
.page-content { padding-top: 62px; padding-bottom: 80px; }
.empty-state { padding: 46px; border: 1px dashed var(--green-2); border-radius: var(--radius); background: rgba(255,255,255,.48); }
.pagination { margin-top: 42px; }
.nav-links { display: flex; gap: 8px; }
.page-numbers { padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--green); color: #fff; }

@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 44px; }
    .hero-wordmark { justify-items: start; font-size: clamp(64px, 16vw, 110px); }
    .home-layout { grid-template-columns: 1fr; }
    .filter-panel { position: static; }
    .cards-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid { grid-template-columns: 64px 1fr; }
    .about-copy { grid-column: 2; }
    .footer-inner { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 680px) {
    .shell, .shell-narrow { width: min(100% - 28px, 1240px); }
    .header-inner { min-height: 66px; }
    .brand { font-size: 18px; }
    .main-nav { display: none; }
    .hero-inner { padding-block: 50px; }
    .hero h1 { font-size: clamp(48px, 14vw, 70px); }
    .hero-wordmark { display: none; }
    .home-layout { padding-top: 30px; gap: 32px; }
    .filter-panel { padding: 20px; }
    .cards-grid, .cards-grid-wide { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 18px; }
    .about-number { display: none; }
    .about-copy { grid-column: auto; }
    .recipe-facts { grid-template-columns: repeat(2, 1fr); }
    .entry-content { font-size: 18px; }
    .single-header { padding-top: 48px; }
}
