/*
Theme Name: dds_vrn-vozp.ru
Theme URI: https://vrn-vozp.ru/
Author: Комаров Никита Комаров Никита
Description: Информационная тема «Аналитический минимализм» — журнальная подача экспертных материалов об управлении и содержании жилья.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: zhpro
*/

:root {
    --page-bg: #F4F6F9;
    --alt-bg: #FFFFFF;
    --deep: #0B1A2F;
    --ink: #1E293B;
    --accent: #2563EB;
    --accent-soft: #3B82F6;
    --muted: #64748B;
    --line: #E2E8F0;
    --sans: "Inter", "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --serif: "Merriweather", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

.entry-body a,
.widget a,
.crumbs a,
.site-footer a {
    display: inline;
}

.entry-body a::after,
.crumbs a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.entry-body a:hover::after,
.crumbs a:hover::after { transform: scaleX(1); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--sans);
    color: var(--deep);
    line-height: 1.18;
    letter-spacing: -0.015em;
    margin: 0 0 0.7em;
}

h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1.15em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: 0.45em; }

.entry-body ul { list-style: none; padding-left: 0; }
.entry-body ul li {
    position: relative;
    padding-left: 1.5em;
}
.entry-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    background: var(--accent);
}

blockquote {
    margin: 1.8em 0;
    padding: 1.4rem 1.6rem;
    background: var(--alt-bg);
    border-left: 3px solid var(--accent);
    font-size: 1.05rem;
}
blockquote p:last-child { margin-bottom: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    background: var(--alt-bg);
    border: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 0.95rem;
}
th, td {
    border: 1px solid var(--line);
    padding: 0.7rem 0.9rem;
    text-align: left;
}
th { background: #EEF2F8; color: var(--deep); font-weight: 600; }

code, pre {
    font-family: "SFMono-Regular", Consolas, monospace;
    font-size: 0.92em;
    background: #EEF2F8;
}
pre { padding: 1rem 1.1rem; overflow-x: auto; border: 1px solid var(--line); }

hr {
    border: 0;
    border-top: 1px solid var(--accent);
    width: 50%;
    margin: 2.4rem auto 2rem 0;
}

/* -------------------------------------------------- Кнопки */

.btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.78rem 1.5rem;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background-color .2s ease, transform .2s ease, border-color .2s ease, color .2s ease;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: #1D4FD8; transform: translateY(-2px); }
.btn-ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-ghost:hover { background: rgba(37, 99, 235, 0.08); transform: translateY(-2px); }
.btn-bright { background: var(--accent-soft); color: #fff; }
.btn-bright:hover { background: #2C74E8; transform: translateY(-2px); }

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

.brand-strip {
    height: 4px;
    background: var(--accent);
}

.site-header {
    background: var(--deep);
    color: #E7EDF6;
    padding: 1.5rem 0;
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    justify-content: space-between;
}

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

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

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

.brand-title {
    display: block;
    font-family: var(--sans);
    font-size: 1.12rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.brand-title:hover { color: #BFD5F5; }

.brand-tagline {
    display: block;
    font-family: var(--sans);
    font-size: 0.8rem;
    color: #93A7C4;
    line-height: 1.45;
    margin-top: 0.2rem;
}

.nav-toggle {
    display: none;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid #33455F;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    cursor: pointer;
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: #D6E1F0;
    padding-bottom: 4px;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--accent-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav .current-menu-item > a { color: #fff; }
.main-nav .current-menu-item > a::after { transform: scaleX(1); }

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

.site-main { padding: 2.6rem 0 3.2rem; }

.layout-single .content-area {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    gap: 3%;
    align-items: start;
}
.layout-with-sidebar .content-area { min-width: 0; }

.sidebar {
    min-width: 0;
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.6rem 1.5rem;
}

.crumbs {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs-sep { margin: 0 0.35rem; color: #A9B6C9; }

.page-heading {
    margin-bottom: 1.8rem;
}
.page-heading h1 {
    font-size: 2.6rem;
    margin-bottom: 0;
}
.page-heading .lede {
    font-family: var(--sans);
    color: var(--muted);
    margin-top: 0.9rem;
    margin-bottom: 0;
}

.section-title {
    position: relative;
    font-size: 2.1rem;
    margin-bottom: 2.1rem;
    padding-bottom: 13px;
}
.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 190px;
    max-width: 60%;
    height: 3px;
    background: var(--accent);
}

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

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

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

.card {
    display: flex;
    flex-direction: column;
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    min-width: 0;
    transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}

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

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

.card-title {
    font-size: 1.22rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.card-title a { color: var(--deep); }
.card-title a:hover { color: var(--accent); }

.card-excerpt {
    color: #33465F;
    font-size: 0.97rem;
    margin-bottom: 1rem;
}
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-excerpt p:last-child { margin-bottom: 0; }

.card-foot { margin-top: auto; }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
}
.cat-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cat-pill {
    display: inline-block;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.75rem;
    color: var(--muted);
}
.cat-pill:hover { border-color: var(--accent); color: var(--accent); }

.card-more {
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
}
.card-more:hover { color: #1D4FD8; }

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

.front-section { padding: 3.2rem 0; }
.front-section.on-alt { background: var(--alt-bg); }
.front-lead { color: var(--muted); font-family: var(--sans); max-width: 62ch; }

.front-shell {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* Hero */

.fs-hero {
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 320'%3E%3Cg fill='none' stroke='%23FFFFFF' stroke-opacity='0.06' stroke-width='4'%3E%3Cpath d='M20 300h560'/%3E%3Crect x='60' y='150' width='90' height='150'/%3E%3Crect x='170' y='90' width='70' height='210'/%3E%3Crect x='260' y='180' width='110' height='120'/%3E%3Cpath d='M390 300V170l60-45 60 45v130'/%3E%3Cpath d='M410 300v-70h40v70'/%3E%3Cpath d='M85 180h40M85 215h40M85 250h40M195 130h20M195 170h20M195 210h20M285 215h60M285 250h60'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #0B1A2F 0%, #16304F 55%, #1E3A8A 100%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -60px bottom -20px, center;
    background-size: 62% auto, cover;
    color: #fff;
    padding: 4.2rem 0 4rem;
}
.fs-hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.6rem;
    align-items: center;
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8FB4F0;
    margin-bottom: 1.1rem;
}
.hero-title {
    font-size: 4.5rem;
    line-height: 1.02;
    color: #fff;
    margin-bottom: 1.2rem;
    width: 78%;
}
.hero-sub {
    font-family: var(--sans);
    font-size: 1.08rem;
    color: #C4D5EC;
    margin-bottom: 1.9rem;
    max-width: 54ch;
}
.hero-art { min-width: 0; }
.hero-art img { display: block; width: 100%; height: auto; }

/* Статистика */

.stat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2.2rem 2rem;
}
.stat-cell {
    min-width: 0;
    padding: 0 1.4rem;
    border-left: 1px solid var(--line);
    text-align: center;
}
.stat-cell:first-child { border-left: 0; }
.stat-num {
    display: block;
    font-family: var(--sans);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--accent);
    letter-spacing: -0.03em;
}
.stat-label {
    display: block;
    font-family: var(--sans);
    font-size: 0.88rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

/* Zigzag */

.zig-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: center;
    margin-bottom: 2.8rem;
}
.zig-row:last-child { margin-bottom: 0; }
.zig-row.mirrored .zig-art { order: -1; }
.zig-copy { min-width: 0; }
.zig-copy h3 { font-size: 1.5rem; }
.zig-copy p { color: #33465F; }
.zig-art { min-width: 0; }
.zig-art img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--alt-bg);
}
.zig-link {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 600;
}

/* CTA */

.fs-cta-wrap { padding: 3.2rem 0; }
.fs-cta {
    background: linear-gradient(135deg, #0B1A2F 0%, #1E3A8A 100%);
    border-radius: 12px;
    padding: 3rem 2.6rem;
    color: #fff;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, auto);
    gap: 2rem;
    align-items: center;
}
.fs-cta h2 { color: #fff; margin-bottom: 0.6rem; }
.fs-cta p {
    font-family: var(--sans);
    color: #C4D5EC;
    margin-bottom: 0;
    max-width: 60ch;
}
.fs-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

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

.entry-header { margin-bottom: 1.6rem; }
.entry-header h1 { font-size: 2.7rem; }

.entry-thumb {
    margin: 0 0 1.8rem;
}
.entry-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.entry-body { font-size: 1.03rem; }
.entry-body h2 { font-size: 1.65rem; margin-top: 1.9em; }
.entry-body h3 { font-size: 1.3rem; margin-top: 1.6em; }
.entry-body img { border-radius: 12px; display: block; }

.entry-footer {
    margin-top: 2.2rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--muted);
}
.entry-footer a { color: var(--accent); }

.post-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.2rem;
    margin-top: 2rem;
}
.post-nav-item {
    display: block;
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    min-width: 0;
}
.post-nav-item:hover { border-color: var(--accent); }
.post-nav-label {
    display: block;
    font-family: var(--sans);
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 0.35rem;
}
.post-nav-title {
    display: block;
    font-family: var(--sans);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--deep);
}

/* -------------------------------------------------- Пагинация */

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.4rem;
}
.pager .page-numbers {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--deep);
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.55rem 1rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s 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-color: transparent;
    background: transparent;
    color: var(--muted);
}

/* -------------------------------------------------- Виджеты */

.widget { margin-bottom: 1.9rem; }
.widget:last-child { margin-bottom: 0; }
.widget-title {
    font-family: var(--sans);
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    padding-bottom: 9px;
    position: relative;
}
.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    background: var(--accent);
}
.widget ul { list-style: none; padding-left: 0; margin: 0; }
.widget li { margin-bottom: 0.7rem; line-height: 1.5; }

.sidebar .widget-title { color: var(--deep); }
.sidebar .widget,
.sidebar .widget p,
.sidebar .widget li { color: #33465F; font-size: 0.95rem; }
.sidebar .widget a { color: var(--deep); font-family: var(--sans); font-size: 0.95rem; }
.sidebar .widget a:hover { color: var(--accent); }
.sidebar .widget .post-date { display: block; color: var(--muted); font-size: 0.8rem; font-family: var(--sans); }

/* -------------------------------------------------- Форма поиска */

.search-form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.search-form label { flex: 1 1 200px; min-width: 0; }
.search-form .search-field {
    width: 100%;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
}
.search-form .search-field:focus { outline: 2px solid var(--accent-soft); outline-offset: 1px; }
.search-form .search-submit {
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 0.7rem 1.3rem;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.search-form .search-submit:hover { background: #1D4FD8; transform: translateY(-2px); }

/* -------------------------------------------------- Комментарии */

.comments-area {
    margin-top: 2.8rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--line);
}
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; padding-left: 0; margin: 0 0 2rem; }
.comment-list .children { list-style: none; padding-left: 1.4rem; margin-top: 1rem; }
.comment-item {
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.1rem;
}
.comment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}
.comment-author { font-family: var(--sans); font-weight: 600; color: var(--deep); }
.comment-date { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); }
.comment-text { font-size: 0.98rem; }
.comment-text p:last-child { margin-bottom: 0; }
.comment-actions { font-family: var(--sans); font-size: 0.85rem; margin-top: 0.5rem; }
.comment-wait { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); }

.comment-respond {
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.6rem 1.6rem;
}
.comment-respond .comment-reply-title { font-size: 1.2rem; }
.comment-form label {
    display: block;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.35rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
}
.comment-form textarea { min-height: 150px; }
.comment-form .form-submit input[type="submit"] {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.comment-form .form-submit input[type="submit"]:hover { background: #1D4FD8; transform: translateY(-2px); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 0.6rem; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; }

/* -------------------------------------------------- 404 и поиск */

.notice-box {
    background: var(--alt-bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 2rem 2rem;
}
.notice-box h2 { font-size: 1.4rem; }
.notice-box .search-form { margin-top: 1.2rem; }

.error-code {
    font-family: var(--sans);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    letter-spacing: -0.04em;
    margin-bottom: 0.6rem;
}

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

.site-footer {
    background: var(--deep);
    color: #C4D5EC;
    padding: 3rem 0 1.6rem;
    margin-top: 1rem;
}
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
}
.footer-col { min-width: 0; }
.site-footer .widget-title { color: #FFFFFF; }
.site-footer .widget-title::after { background: var(--accent-soft); }
.site-footer .widget,
.site-footer .widget p,
.site-footer .widget li {
    color: #AEC2DC;
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.65;
}
.site-footer .widget a { color: #DCE7F5; font-family: var(--sans); font-size: 0.92rem; }
.site-footer .widget a:hover { color: #7FB0F5; }
.site-footer .widget .post-date { display: block; color: #8DA2BF; font-size: 0.8rem; }

.footer-bottom {
    margin-top: 2.4rem;
    padding-top: 1.3rem;
    border-top: 1px solid #1D3050;
    font-family: var(--sans);
    font-size: 0.85rem;
    color: #8DA2BF;
}

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

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

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: #0B1A2F;
    border-top: 3px solid var(--accent);
    padding: 1.1rem 1.6rem;
}
.cookie-text {
    font-family: var(--sans);
    font-size: 0.88rem;
    color: #C4D5EC;
    margin: 0;
    max-width: 70ch;
}
.cookie-text a { color: #8FB4F0; }
.cookie-accept {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 8px;
    padding: 0.6rem 1.4rem;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}
.cookie-accept:hover { background: #1D4FD8; transform: translateY(-2px); }

/* -------------------------------------------------- Служебное */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fs-cta .btn-ghost {
    border-color: #7FB0F5;
    color: #FFFFFF;
}
.fs-cta .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #FFFFFF;
}

.alignleft { float: left; margin: 0 1.4rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.4rem; }
.aligncenter { display: block; margin: 0 auto 1.2rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
    font-family: var(--sans);
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.5rem;
}
.sticky .card-title a::before { content: "★ "; color: var(--accent); }

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

@media (max-width: 960px) {
    .layout-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.2rem;
    }
    .layout-single .content-area { width: 100%; }
    .front-shell { width: 100%; }
    .hero-title { font-size: 3rem; width: 100%; }
    .fs-hero .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; }
    .stat-cell:nth-child(3) { border-left: 0; }
    .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fs-cta { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .site-header { padding: 1.1rem 0; }
    .header-inner { flex-wrap: nowrap; align-items: flex-start; }
    .nav-toggle { display: block; }
    .main-nav {
        flex: 1 1 100%;
        display: none;
    }
    .main-nav.is-open { display: block; }
    .main-nav ul {
        flex-direction: column;
        gap: 0.9rem;
        padding-top: 1rem;
    }
    .site-main { padding: 2rem 0 2.4rem; }
    .front-section { padding: 2.4rem 0; }
    .fs-hero { padding: 2.8rem 0 2.6rem; background-size: 100% auto, cover; background-position: right -30px bottom -10px, center; }
    .hero-title { font-size: 2.3rem; }
    .page-heading h1 { font-size: 2rem; }
    .entry-header h1 { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
    .stat-row { grid-template-columns: minmax(0, 1fr); padding: 1.8rem 1.4rem; row-gap: 1.5rem; }
    .stat-cell { border-left: 0; padding: 0; }
    .zig-row { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-bottom: 2rem; }
    .zig-row.mirrored .zig-art { order: 0; }
    .fs-cta-wrap { padding: 2.4rem 0; }
    .fs-cta { padding: 1.9rem 1.4rem; }
    .sidebar { padding: 1.3rem 1.2rem; }
    .notice-box { padding: 1.5rem 1.3rem; }
    .comment-respond { padding: 1.3rem 1.2rem; }
    .comment-item { padding: 1rem 1.1rem; }
    .card-body { padding: 1.2rem 1.2rem 1.4rem; }
    .footer-cols { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
    .cookie-banner { padding: 1rem 1.2rem; gap: 0.9rem; }
    .error-code { font-size: 3.6rem; }
}
