/*
Theme Name: dds_dimensiondiet.com
Author: Анна Лебедева
Description: Тема информационно-аналитического портала о здоровом жилье: обзоры районов, парки, экодома и спортивная инфраструктура. Лесная гамма, скандинавский минимализм.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: ddiet
*/

:root {
    --bg: #F4F7F2;
    --bg-alt: #E4EDE4;
    --head-bg: #0F2E1F;
    --foot-bg: #0B2117;
    --side-bg: #EDF3EA;
    --text: #14261A;
    --accent: #1F7A4D;
    --accent-dark: #155C38;
    --mint: #A8D5A2;
    --muted: #6B7F6E;
    --line: #D3E0D0;
    --dash: #C5D6C2;
    --radius-card: 14px;
    --radius-btn: 10px;
    --font-head: "Trebuchet MS", "Segoe UI", "Futura", system-ui, sans-serif;
    --font-body: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
}

/* сброс */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    background-image: repeating-linear-gradient(45deg, rgba(31, 122, 77, 0.03) 0 1px, rgba(31, 122, 77, 0) 1px 24px);
    overflow-x: hidden;
}

/* крупный полупрозрачный лист в правом верхнем углу */
body::before {
    content: "";
    position: fixed;
    top: -90px;
    right: -140px;
    width: 520px;
    height: 520px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%231F7A4D' d='M178 16C96 14 30 52 24 118c-3 33 12 56 34 66l-22 0 0 0c-1 0 0 0 0 0l30-3c60-6 106-50 114-114 2-19 2-36-2-51z'/%3E%3Cpath fill='none' stroke='%231F7A4D' stroke-width='4' d='M170 24C120 74 82 124 52 184'/%3E%3C/svg%3E");
}

.site-top, .site-main, .site-foot, .topline, .cookie-note { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }

/* анимированное подчёркивание слева направо */
.entry-content a:not(.btn),
.card-title a,
.widget a,
.crumbs a {
    position: relative;
    background-image: linear-gradient(var(--mint), var(--mint));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 2px;
    transition: background-size 0.25s ease;
}

.entry-content a:not(.btn):hover,
.card-title a:hover,
.widget a:hover,
.crumbs a:hover { background-size: 100% 2px; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 0.7em;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.7rem; position: relative; padding-left: 1.15rem; }
h3 { font-size: 1.3rem; }

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.card-title, .widget-title, .section-title { padding-left: 0; }
.card-title::before, .section-title::before { display: none; }

p { margin: 0 0 1.05em; }

blockquote {
    margin: 1.6rem 0;
    padding: 1rem 1.4rem;
    border-left: 4px solid var(--mint);
    background: var(--bg-alt);
    border-radius: 0 12px 12px 0;
    font-size: 1.05rem;
}

blockquote p:last-child { margin-bottom: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
    border: 1px solid var(--line);
    background: #fff;
}

table th, table td {
    border: 1px solid var(--line);
    padding: 0.65rem 0.8rem;
    text-align: left;
}

table th { background: var(--bg-alt); font-family: var(--font-head); }

code, pre {
    font-family: "SFMono-Regular", Consolas, monospace;
    background: var(--bg-alt);
    border-radius: 6px;
}

code { padding: 0.1em 0.35em; }

pre { padding: 1rem; overflow-x: auto; }

/* контейнер ширины — единственное место ограничения */
.shell { width: min(92%, 1180px); margin-inline: auto; }

/* кнопки */
.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius-btn);
    font-family: var(--font-head);
    font-size: 0.97rem;
    line-height: 1.3;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-fill {
    background: var(--accent);
    color: #fff;
    border: 1.5px solid var(--accent);
}

.btn-fill:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 122, 77, 0.25);
}

.btn-ghost {
    background: transparent;
    border: 1.5px solid var(--accent);
    color: var(--accent);
}

.btn-ghost:hover { background: var(--accent); color: #fff; }

.btn-light {
    background: transparent;
    border: 1.5px solid #fff;
    color: #fff;
}

.btn-light:hover { background: #fff; color: var(--head-bg); }

/* верхняя цветная полоса */
.topline {
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--mint));
}

/* ---------------------------------------------------------------
   Шапка
   --------------------------------------------------------------- */

.site-top { background: var(--head-bg); color: #E7F0E7; }

.site-top-inner {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.2rem 0;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    flex: 1 1 320px;
}

.brand-mark { flex: 0 0 auto; display: block; }

.brand-logo { max-height: 60px; width: auto; display: block; }

.brand-text { min-width: 0; }

.brand-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--font-head);
    font-size: 1.02rem;
    line-height: 1.35;
    color: #fff;
}

.brand-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #9DBCA6;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid #3C6B4F;
    color: #fff;
    border-radius: var(--radius-btn);
    padding: 0.5rem 0.9rem;
    font-family: var(--font-head);
    font-size: 0.95rem;
    cursor: pointer;
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.site-nav a {
    display: block;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-btn);
    color: #DCEADF;
    font-family: var(--font-head);
    font-size: 0.97rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
    background: rgba(168, 213, 162, 0.16);
    color: #fff;
}

/* ---------------------------------------------------------------
   Раскладки
   --------------------------------------------------------------- */

.site-main { padding: 2.2rem 0 3rem; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    justify-content: space-between;
    gap: 2.4rem;
    align-items: start;
}

.layout-single {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.content-area { min-width: 0; }

.sidebar { min-width: 0; }

/* ---------------------------------------------------------------
   Хлебные крошки
   --------------------------------------------------------------- */

.crumbs {
    font-size: 0.87rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
    line-height: 1.6;
}

.crumbs a { color: var(--accent); }
.crumbs .sep { color: var(--dash); margin: 0 0.15rem; }

/* ---------------------------------------------------------------
   Карточки записей
   --------------------------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.5rem;
}

.card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 46, 31, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-width: 0;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 46, 31, 0.10);
    border-color: var(--mint);
}

.card-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.card-thumb a { display: block; }

.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-cat {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 0.4rem 0.9rem;
    background: rgba(168, 213, 162, 0.85);
    color: #10321F;
    font-family: var(--font-head);
    font-size: 0.82rem;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.1rem 1.2rem 1.3rem;
    min-width: 0;
}

.card-title { font-size: 1.15rem; margin-bottom: 0.45rem; }
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }

.card-meta {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 0.6rem;
}

.card-excerpt { font-size: 0.94rem; color: #2C4133; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }

.card-more {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.5rem 1.05rem;
    font-size: 0.9rem;
}

/* ---------------------------------------------------------------
   Главная
   --------------------------------------------------------------- */

.front-section { margin-bottom: 2.8rem; }

.section-title {
    font-size: 1.75rem;
    border-left: 3px solid var(--accent);
    padding-left: 0.9rem;
    margin-bottom: 0.6rem;
}

.section-lead {
    color: var(--muted);
    max-width: 62ch;
    margin-bottom: 1.6rem;
}

.section-plate {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.8rem;
}

.section-plate .section-title { margin-bottom: 0.4rem; }
.section-plate .section-lead { margin-bottom: 0; }

/* волнистый разделитель */
.wave-sep {
    display: block;
    width: 100%;
    height: 26px;
    margin: 2.6rem 0;
    color: var(--mint);
}

/* 1. Hero */
.fs-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    min-height: 420px;
    display: flex;
    align-items: center;
    margin-bottom: 2.8rem;
}

.fs-hero .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(11, 33, 23, 0.88) 0%, rgba(15, 46, 31, 0.72) 55%, rgba(31, 122, 77, 0.42) 100%);
}

.hero-inner {
    position: relative;
    padding: 3.2rem 2.2rem;
    max-width: 720px;
    min-width: 0;
}

.hero-inner h1 {
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 0.7rem;
}

.hero-sub {
    color: var(--mint);
    font-size: 1.08rem;
    margin-bottom: 1.6rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-leaf {
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 260px;
    height: 260px;
    opacity: 0.18;
    color: var(--mint);
    pointer-events: none;
}

/* 2. Сетка карточек с иконками */
.fs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }

.feature {
    background: var(--side-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 1.6rem 1.5rem;
    min-width: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(15, 46, 31, 0.10);
}

.feature-icon { color: var(--accent); margin-bottom: 0.9rem; display: block; }

.feature h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }

.feature p { margin: 0; font-size: 0.94rem; color: #2C4133; }

/* 3. Статистика */
.fs-stats {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 2.2rem 2rem;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat {
    padding: 0 1.2rem;
    border-right: 1px dashed var(--dash);
    text-align: center;
    min-width: 0;
}

.stat:last-child { border-right: 0; }

.stat-num {
    display: block;
    font-family: var(--font-head);
    font-size: 2.5rem;
    line-height: 1.1;
    color: var(--accent);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.89rem;
    color: var(--muted);
}

/* 4. Чек-лист */
.checklist { list-style: none; margin: 0; padding: 0; }

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.85rem 1rem 0.85rem 1.1rem;
    border-left: 2px solid var(--accent);
    margin-bottom: 0.9rem;
    min-width: 0;
}

.check-mark {
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--mint);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.15rem;
}

.checklist strong { font-family: var(--font-head); display: block; }

.checklist span.check-text { display: block; min-width: 0; }

.checklist p { margin: 0.15rem 0 0; font-size: 0.94rem; color: #2C4133; }

/* последние записи на главной */
.fs-latest .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.latest-more { margin-top: 1.6rem; }

/* ---------------------------------------------------------------
   Запись и страница
   --------------------------------------------------------------- */

.entry-head { margin-bottom: 1.3rem; }

.entry-title { font-size: 2rem; margin-bottom: 0.5rem; }

.post-meta { font-size: 0.87rem; color: var(--muted); }

.post-meta .dot-sep {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mint);
    vertical-align: middle;
    margin: 0 0.3rem;
}

.meta-cat { color: var(--accent); }

.entry-thumb {
    margin: 0 0 1.6rem;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.entry-thumb img { display: block; width: 100%; height: auto; }

.entry-content { min-width: 0; }

.entry-content img { border-radius: 10px; }

.entry-content h2 { margin-top: 1.8rem; }

.entry-content ul, .entry-content ol { padding-left: 1.3rem; }

.entry-content ul li::marker { color: var(--accent); }

.entry-tags { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag-pill {
    background: var(--bg-alt);
    color: var(--accent);
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    font-size: 0.86rem;
    transition: background 0.2s ease;
}

.tag-pill:hover { background: var(--mint); }

.page-body { background: transparent; }

/* ---------------------------------------------------------------
   Сайдбар и виджеты
   --------------------------------------------------------------- */

.sidebar .widget {
    background: var(--side-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.3rem 1.4rem;
    margin-bottom: 1.4rem;
    color: var(--text);
}

.sidebar .widget-title {
    font-size: 1.08rem;
    color: var(--text);
    margin-bottom: 0.9rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed var(--dash);
}

.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }

.sidebar .widget li { padding: 0.45rem 0; border-bottom: 1px dashed var(--dash); }

.sidebar .widget li:last-child { border-bottom: 0; }

.sidebar .widget a { color: #16351F; }

.sidebar .widget a:hover { color: var(--accent); }

.sidebar .widget p { color: #2C4133; font-size: 0.94rem; }

.sidebar .post-date { display: block; font-size: 0.8rem; color: var(--muted); }

/* ---------------------------------------------------------------
   Пагинация (type => plain)
   --------------------------------------------------------------- */

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 2.2rem;
}

.pager .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    background: #fff;
    color: var(--text);
    font-family: var(--font-head);
    font-size: 0.95rem;
    line-height: 1.3;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pager a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }

.pager .page-numbers.current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.pager .page-numbers.dots { border: 0; background: transparent; padding-left: 0.3rem; padding-right: 0.3rem; }

/* ---------------------------------------------------------------
   Поиск, комментарии, 404
   --------------------------------------------------------------- */

.search-form { display: flex; gap: 0.5rem; }

.search-form label { flex: 1; min-width: 0; }

.search-form .search-field {
    width: 100%;
    padding: 0.62rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    background: #fff;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.search-form .search-field:focus { outline: 2px solid var(--mint); outline-offset: 1px; }

.search-form .search-submit {
    padding: 0.62rem 1.2rem;
    border: 1.5px solid var(--accent);
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-btn);
    font-family: var(--font-head);
    cursor: pointer;
}

.search-form .search-submit:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.comments-area {
    margin-top: 2.6rem;
    padding: 1.6rem 1.7rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
}

.comments-area .comment-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }

.comments-area .comment-list ol.children { list-style: none; padding-left: 1.4rem; }

.comments-area .comment-body {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 1rem;
    background: var(--bg);
}

.comments-area .comment-meta { font-size: 0.84rem; color: var(--muted); }

.comments-area .comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 0.5rem; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-btn);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: #fff;
    color: var(--text);
}

.comment-form .submit {
    padding: 0.7rem 1.4rem;
    background: var(--accent);
    border: 1.5px solid var(--accent);
    color: #fff;
    border-radius: var(--radius-btn);
    font-family: var(--font-head);
    cursor: pointer;
}

.comment-form .submit:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.error-box {
    background: var(--bg-alt);
    border-radius: 12px;
    padding: 2.2rem 2rem;
    text-align: center;
}

.error-code {
    font-family: var(--font-head);
    font-size: 4.4rem;
    line-height: 1;
    color: var(--accent);
    display: block;
    margin-bottom: 0.6rem;
}

.error-box .search-form { max-width: 460px; margin: 1.4rem auto 1.6rem; }

/* ---------------------------------------------------------------
   Подвал
   --------------------------------------------------------------- */

.site-foot {
    background: var(--foot-bg);
    color: #C9DCCD;
    padding: 2.6rem 0 1.4rem;
    margin-top: 2rem;
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px dashed rgba(168, 213, 162, 0.25);
}

.foot-col { min-width: 0; }

.site-foot .widget { margin-bottom: 1.4rem; color: #C9DCCD; }

.site-foot .widget:last-child { margin-bottom: 0; }

.site-foot .widget-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.site-foot .widget p { color: #B6CDBB; font-size: 0.93rem; }

.site-foot .widget ul { list-style: none; margin: 0; padding: 0; }

.site-foot .widget li { padding: 0.35rem 0; }

.site-foot .widget a { color: #D9E9DC; }

.site-foot .widget a:hover { color: var(--mint); }

.site-foot .widget .post-date { display: block; font-size: 0.8rem; color: #8FAE96; }

.copyright {
    padding-top: 1.2rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #8FAE96;
}

/* ---------------------------------------------------------------
   Cookie-баннер
   --------------------------------------------------------------- */

.cookie-note[hidden] { display: none !important; }

.cookie-note {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem 1.4rem;
    background: var(--head-bg);
    color: #DCEADF;
    border-top: 3px solid var(--accent);
    font-size: 0.9rem;
}

.cookie-note p { margin: 0; max-width: 70ch; }

.cookie-note a { color: var(--mint); }

.cookie-accept {
    padding: 0.55rem 1.3rem;
    background: var(--accent);
    color: #fff;
    border: 1.5px solid var(--accent);
    border-radius: var(--radius-btn);
    font-family: var(--font-head);
    cursor: pointer;
}

.cookie-accept:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* ---------------------------------------------------------------
   Адаптив
   --------------------------------------------------------------- */

@media (min-width: 961px) {
    h1 { font-size: 3.2rem; }
    .hero-inner h1 { font-size: 3.2rem; }
    .entry-title { font-size: 2.4rem; }
    .page-title { font-size: 2.4rem; }
}

@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .layout-single { width: 100%; }
    .fs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fs-latest .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
    .stat:nth-child(2) { border-right: 0; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-toggle { display: block; }
    .site-nav { flex-basis: 100%; }
    .site-nav ul { display: none; flex-direction: column; gap: 0.2rem; padding-top: 0.6rem; }
    .site-nav.is-open ul { display: flex; }
    body::before { display: none; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .fs-grid { grid-template-columns: minmax(0, 1fr); }
    .fs-latest .cards { grid-template-columns: minmax(0, 1fr); }
    .cards { grid-template-columns: minmax(0, 1fr); }
    .stats-row { grid-template-columns: minmax(0, 1fr); }
    .stat { border-right: 0; border-bottom: 1px dashed var(--dash); padding-bottom: 1rem; }
    .stat:last-child { border-bottom: 0; padding-bottom: 0; }
    .foot-cols { grid-template-columns: minmax(0, 1fr); }
    .fs-hero { min-height: 340px; }
    .hero-inner { padding: 2.2rem 1.4rem; }
    .fs-stats { padding: 1.7rem 1.3rem; }
    .section-plate { padding: 1.2rem 1.2rem; }
    .error-box { padding: 1.8rem 1.3rem; }
    .comments-area { padding: 1.3rem 1.2rem; }
    .cookie-note { padding: 0.9rem 1.1rem; font-size: 0.86rem; }
    .blockquote, blockquote { padding: 0.9rem 1.1rem; }
    .hero-leaf { width: 170px; height: 170px; }
}
