/*
Theme Name: dds_livetitrettifem.com
Theme URI: https://livetitrettifem.com/
Author: Вера Нестерова
Description: Информационная тема для сайта об интерьере, детской моде, растениях и бытовых задачах. Скандинавский минимализм с хвойным акцентом.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: ltfem
*/

/* ===== Переменные ===== */
:root {
    --bg: #F7F9F7;
    --bg-alt: #EDF2ED;
    --surface: #FFFFFF;
    --deep: #1A2E1A;
    --ink: #2B3A2B;
    --accent: #3B7A3B;
    --accent-dark: #2E5F2E;
    --moss: #A3C9A3;
    --muted: #7A8F7A;
    --hair: #DCE4DC;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    --card-shadow-hi: 0 14px 34px rgba(26, 46, 26, .12);
    --font-head: "Futura", "Montserrat", "Century Gothic", "Trebuchet MS", sans-serif;
    --font-body: "Open Sans", "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --radius: 12px;
}

/* ===== Скрытие через атрибут hidden ===== */
.cookie-banner[hidden] { display: none !important; }

/* ===== База ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

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

p { margin: 0 0 1.1em; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0 0 .6em;
    font-weight: 700;
}

h1 { font-size: 3.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}

.site-main { display: block; padding: 2.6rem 0 3.4rem; }

/* ===== Текстовые ссылки: линия растёт от центра ===== */
.entry-content a,
.widget-content a,
.crumbs a,
.card-more,
.text-link {
    position: relative;
    color: var(--accent);
}

.entry-content a::after,
.widget-content a::after,
.card-more::after,
.text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transition: transform .28s ease;
}

.entry-content a:hover::after,
.widget-content a:hover::after,
.card-more:hover::after,
.text-link:hover::after { transform: scaleX(1); }

/* ===== Кнопки ===== */
.btn {
    display: inline-block;
    padding: .68rem 1.5rem;
    border-radius: 4px;
    border: 1px solid transparent;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease, color .25s ease;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 6px rgba(26, 46, 26, .12);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 46, 26, .2);
}

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

.btn-ghost:hover {
    background: rgba(59, 122, 59, .08);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(26, 46, 26, .12);
}

/* ===== Шапка ===== */
.site-top {
    background: rgba(247, 249, 247, .78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hair);
}

.site-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.05rem 0;
    flex-wrap: wrap;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    min-width: 0;
    color: var(--ink);
}

.brand-mark { flex: 0 0 auto; display: block; }
.brand-logo { display: block; width: auto; max-height: 56px; }

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

.brand-name {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.25;
    max-width: 34ch;
}

.brand-desc {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.4;
    max-width: 46ch;
    margin-top: .18rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--hair);
    border-radius: 4px;
    padding: .5rem .8rem;
    font-family: var(--font-head);
    font-size: .88rem;
    color: var(--ink);
    cursor: pointer;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li { margin: 0; }

.nav-list a {
    position: relative;
    display: inline-block;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
    padding: .2rem 0;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .28s ease;
}

.nav-list a:hover { color: var(--accent); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-list .current-menu-item > a { color: var(--accent); }
.nav-list .current-menu-item > a::after { transform: scaleX(1); }

/* ===== Хлебные крошки ===== */
.crumbs {
    font-size: .86rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}

.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs-sep { color: var(--moss); margin: 0 .2rem; }

/* ===== Раскладки ===== */
.layout-single {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
}

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

/* ===== Заголовки разделов ===== */
.section-title {
    position: relative;
    padding-bottom: .8rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62px;
    height: 2px;
    background: var(--accent);
}

.page-title {
    font-size: 2.4rem;
    position: relative;
    padding-bottom: .7rem;
    margin-bottom: 1.4rem;
}

.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 54px;
    height: 2px;
    background: var(--accent);
}

.lede { color: var(--muted); font-size: 1.02rem; margin-bottom: 2rem; }

/* ===== Секции главной ===== */
.front-block {
    padding: 2.8rem 2.4rem;
    border-radius: var(--radius);
    margin-bottom: 2.6rem;
    position: relative;
    overflow: hidden;
}

.front-block-plain {
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.front-block-alt {
    background-color: var(--bg-alt);
    background-image: radial-gradient(var(--moss) 1px, transparent 1px);
    background-size: 18px 18px;
}

.front-block-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(43, 58, 43, .1) 0 1px, transparent 1px 12px);
    pointer-events: none;
}

.front-block-alt > * { position: relative; z-index: 1; }

/* ===== Hero ===== */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 2.4rem;
    padding: 3.2rem 2.6rem;
    border-radius: var(--radius);
    margin-bottom: 2.6rem;
    background: linear-gradient(140deg, #EDF2ED 0%, #F7F9F7 62%, #E4EDE4 100%);
    overflow: hidden;
}

.hero-blob {
    position: absolute;
    top: -120px;
    right: -110px;
    width: 420px;
    height: 420px;
    opacity: .12;
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    padding: 1.8rem 1.7rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-left: 4px solid var(--accent);
}

.hero-kicker {
    display: block;
    font-family: var(--font-head);
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .8rem;
}

.hero h1 { margin-bottom: .7rem; }
.hero p { color: var(--ink); margin-bottom: 1.4rem; }

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

.hero-art {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.hero-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

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

.icon-card {
    min-width: 0;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 1.7rem 1.5rem;
    transition: transform .28s ease, box-shadow .28s ease;
}

.icon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hi);
}

.icon-card svg { display: block; margin-bottom: 1rem; }

.icon-card h3 {
    position: relative;
    padding-left: 1rem;
    font-size: 1.16rem;
}

.icon-card h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.icon-card p { color: var(--muted); font-size: .95rem; }

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

.checklist li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.15rem;
    min-height: 2rem;
}

.checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .1rem;
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: transparent;
    transition: background-color .25s ease;
}

.checklist li::after {
    content: "";
    position: absolute;
    left: 10px;
    top: .62rem;
    width: 8px;
    height: 14px;
    border-right: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(42deg);
    transition: border-color .25s ease;
}

.checklist li:hover::before { background: var(--accent); }
.checklist li:hover::after { border-color: #fff; }

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

.checklist span { color: var(--muted); font-size: .95rem; }

/* ===== Таймлайн ===== */
.timeline {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 2.6rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: .5rem;
    bottom: .5rem;
    width: 2px;
    background: var(--moss);
}

.timeline li {
    position: relative;
    margin-bottom: 1.7rem;
    min-width: 0;
}

.timeline li::before {
    content: "";
    position: absolute;
    left: -2.6rem;
    top: .35rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 2px solid var(--accent);
}

.timeline h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .95rem; }

.timeline-step {
    display: block;
    font-family: var(--font-head);
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
}

/* ===== Карточки записей ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.7rem;
}

.card-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.7rem;
    margin-bottom: 2.2rem;
}

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hi);
}

.card-thumb { display: block; }

.card-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.card-thumb-empty {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-alt);
    background-image: repeating-linear-gradient(135deg, rgba(59, 122, 59, .12) 0 1px, transparent 1px 14px);
}

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

.card-title {
    position: relative;
    padding-left: 1rem;
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.card-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--accent); }

.post-meta {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .7rem;
}

.post-meta a { color: var(--muted); }
.post-meta a:hover { color: var(--accent); }
.post-meta-sep { color: var(--moss); }

.card-excerpt { color: var(--muted); font-size: .95rem; }
.card-excerpt p { margin: 0 0 .5em; background: none; }

.card-more {
    align-self: flex-start;
    margin-top: auto;
    padding-top: .6rem;
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 700;
}

/* ===== Одиночная запись и страница ===== */
.entry {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 2.2rem 2.2rem 2.4rem;
}

.entry-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.6rem;
}

.entry-content { font-size: 1.02rem; }

.entry-content h2 {
    font-size: 1.6rem;
    margin-top: 1.9rem;
}

.entry-content h3 { margin-top: 1.5rem; }

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

.entry-content blockquote {
    margin: 1.6rem 0;
    padding: 1.2rem 1.4rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    color: var(--ink);
}

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

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.4rem 0;
    border: 1px solid var(--hair);
}

.entry-content th,
.entry-content td {
    border: 1px solid var(--hair);
    padding: .6rem .8rem;
    text-align: left;
}

.entry-content th { background: var(--bg-alt); font-family: var(--font-head); }

.entry-tags {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--hair);
    font-size: .88rem;
    color: var(--muted);
}

.entry-tags a {
    display: inline-block;
    margin: .2rem .3rem .2rem 0;
    padding: .18rem .6rem;
    border: 1px solid var(--hair);
    border-radius: 4px;
    color: var(--accent);
}

.entry-tags a:hover { border-color: var(--accent); }

/* ===== Акцентная плашка ===== */
.accent-note {
    background-color: var(--bg-alt);
    background-image: repeating-linear-gradient(45deg, rgba(43, 58, 43, .1) 0 1px, transparent 1px 12px);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.6rem 1.8rem;
    margin: 2.2rem 0;
}

.accent-note p:last-child { margin-bottom: 0; }

/* ===== Сайдбар и виджеты ===== */
.sidebar { min-width: 0; }

.widget {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.6rem;
    color: var(--ink);
}

.widget-title {
    position: relative;
    font-size: 1.08rem;
    padding-bottom: .6rem;
    margin-bottom: .9rem;
    color: var(--ink);
}

.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

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

.widget li {
    margin-bottom: .6rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--hair);
    font-size: .95rem;
}

.widget li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

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

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

.widget p { font-size: .95rem; color: var(--ink); margin-bottom: .8rem; }
.widget p:last-child { margin-bottom: 0; }

/* ===== Служебное ===== */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Постраничная разбивка внутри записи ===== */
.post-pages {
    margin: 1.6rem 0 0;
    font-family: var(--font-head);
    font-size: .92rem;
    color: var(--muted);
}

.post-pages a {
    display: inline-block;
    min-width: 34px;
    margin-right: .35rem;
    padding: .3rem .6rem;
    border: 1px solid var(--hair);
    border-radius: 4px;
    color: var(--ink);
    text-align: center;
}

.post-pages a:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Формы ===== */
.search-form { display: flex; gap: .6rem; }

.search-field {
    flex: 1;
    min-width: 0;
    padding: .6rem .8rem;
    border: 1px solid var(--hair);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .95rem;
}

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

/* ===== Пагинация ===== */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
    margin: 2.4rem 0 .5rem;
}

.pager .page-numbers {
    display: inline-block;
    min-width: 42px;
    padding: .5rem .8rem;
    border: 1px solid var(--hair);
    border-radius: 4px;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font-head);
    font-size: .92rem;
    text-align: center;
    transition: background-color .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

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

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

.pager .page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    color: var(--muted);
}

/* ===== Комментарии ===== */
.comments-area {
    margin-top: 2.2rem;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 1.8rem 2rem 2rem;
}

.comments-title {
    font-size: 1.4rem;
    position: relative;
    padding-bottom: .6rem;
    margin-bottom: 1.2rem;
}

.comments-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 2px;
    background: var(--accent);
}

.comment-list { list-style: none; margin: 0 0 1.6rem; padding: 0; }
.comment-list .children { list-style: none; margin: 1rem 0 0; padding-left: 1.4rem; }

.comment-item {
    border-left: 3px solid var(--moss);
    padding: .2rem 0 .2rem 1rem;
    margin-bottom: 1.2rem;
}

.comment-head { display: flex; gap: .7rem; align-items: baseline; flex-wrap: wrap; }
.comment-author { font-family: var(--font-head); font-weight: 700; }
.comment-date { font-size: .82rem; color: var(--muted); }
.comment-hold { font-size: .88rem; color: var(--muted); }
.comment-actions { font-size: .88rem; }
.comment-actions a { color: var(--accent); }

.comment-form label {
    display: block;
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: .25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1px solid var(--hair);
    border-radius: 4px;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .95rem;
}

.comment-form textarea { min-height: 140px; resize: vertical; }

.comment-form p { margin-bottom: .9rem; }

.comment-form .submit {
    display: inline-block;
    padding: .68rem 1.5rem;
    border: none;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.comment-form .submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 46, 26, .2);
}

/* ===== 404 ===== */
.notfound {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 2.4rem 2.2rem;
}

.notfound .search-form { max-width: 460px; margin-bottom: 1.4rem; }

/* ===== Подвал ===== */
.site-bottom {
    background-color: var(--deep);
    background-image: radial-gradient(rgba(163, 201, 163, .12) 1px, transparent 1px);
    background-size: 22px 22px;
    color: #DFE8DF;
    padding: 3rem 0 1.6rem;
    margin-top: 2rem;
}

.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.site-bottom .widget {
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-bottom: 0;
    color: #DFE8DF;
}

.site-bottom .widget-title { color: #FFFFFF; }
.site-bottom .widget-title::after { background: var(--moss); }
.site-bottom .widget p { color: #C6D6C6; }
.site-bottom .widget a { color: #DFE8DF; }
.site-bottom .widget a:hover { color: var(--moss); }
.site-bottom .widget li { border-bottom: 1px solid rgba(163, 201, 163, .22); }
.site-bottom .widget .post-date { color: #9FB59F; }

.copyright {
    margin: 0;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(163, 201, 163, .22);
    font-size: .86rem;
    color: #A8BCA8;
}

/* ===== Cookie ===== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1rem 1.6rem;
    background: rgba(26, 46, 26, .96);
    color: #E4EDE4;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .18);
}

.cookie-banner p { margin: 0; font-size: .9rem; max-width: 70ch; }
.cookie-banner a { color: var(--moss); }

/* ===== Адаптив ===== */
@media (max-width: 960px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 1.7rem; }

    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2rem; }
    .layout-single { width: 100%; }

    .hero { grid-template-columns: minmax(0, 1fr); padding: 2.4rem 1.8rem; }
    .hero-art { order: -1; }
    .hero-art img { aspect-ratio: 16 / 9; }

    .icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .nav-toggle { display: inline-block; }

    .site-nav {
        display: none;
        flex-basis: 100%;
        order: 3;
    }

    .site-nav.is-open { display: block; }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: .1rem;
        padding-top: .6rem;
        border-top: 1px solid var(--hair);
    }

    .nav-list li { width: 100%; }
    .nav-list a { display: block; width: 100%; padding: .55rem 0; }
    .nav-list a::after { display: none; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }

    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.45rem; }
    .page-title { font-size: 1.8rem; }

    .site-main { padding: 1.8rem 0 2.4rem; }

    .front-block { padding: 1.9rem 1.4rem; margin-bottom: 1.8rem; }
    .front-block-plain { padding-left: 0; padding-right: 0; }

    .hero { padding: 1.8rem 1.3rem; gap: 1.6rem; }
    .hero-copy { padding: 1.3rem 1.1rem; }
    .hero-blob { width: 280px; height: 280px; top: -90px; right: -80px; }

    .icon-grid { grid-template-columns: minmax(0, 1fr); }
    .card-grid { grid-template-columns: minmax(0, 1fr); }
    .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }

    .entry { padding: 1.5rem 1.3rem 1.7rem; }
    .comments-area { padding: 1.4rem 1.2rem 1.6rem; }
    .notfound { padding: 1.6rem 1.3rem; }
    .accent-note { padding: 1.3rem 1.2rem; }
    .cookie-banner { padding: 1rem 1.1rem; }

    .timeline { padding-left: 2.2rem; }
    .timeline li::before { left: -2.2rem; }

    .checklist li { padding-left: 2.6rem; }
}
