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

/* ---------- Переменные ---------- */
:root {
    --bg: #F9F6FC;
    --bg-alt: #F1EBF8;
    --bg-grad: #E8D9F0;
    --ink: #2A1B38;
    --deep: #2D1B3D;
    --acc: #9B6B9E;
    --acc-soft: #D4A5D9;
    --muted: #A999B3;
    --blob: #E3CDE6;
    --line: #E4D8EC;
    --sans: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    --display: "Futura", "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif;
}

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

/* ---------- База ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
    background-color: var(--bg);
    background-image:
        repeating-linear-gradient(45deg, rgba(155, 107, 158, 0.025) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(-45deg, rgba(155, 107, 158, 0.025) 0 1px, transparent 1px 22px);
    background-attachment: fixed;
}

body::after {
    content: "";
    position: fixed;
    right: -140px;
    bottom: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, var(--blob), rgba(227, 205, 230, 0));
    opacity: .55;
    pointer-events: none;
    z-index: 0;
}

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

h1, h2, h3, h4 {
    font-family: var(--display);
    color: var(--ink);
    letter-spacing: .01em;
    line-height: 1.3;
    margin: 0 0 .7em;
    font-weight: 600;
}

h1 { font-size: 3.5rem; line-height: 1.22; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.15em; }

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

.entry-body a,
.widget-text a,
.crumbs a {
    background-image: linear-gradient(var(--acc), var(--acc));
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 0% 1px;
    transition: background-size .28s ease;
}
.entry-body a:hover,
.widget-text a:hover,
.crumbs a:hover { background-size: 100% 1px; }

ul, ol { padding-left: 1.3em; }

blockquote {
    margin: 1.8em 0;
    padding: 1.3rem 1.6rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--acc);
    border-radius: 6px;
    font-size: 1.06rem;
}
blockquote p:last-child { margin-bottom: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    border: 1px solid var(--line);
    font-size: .96rem;
}
th, td {
    border: 1px solid var(--line);
    padding: .65rem .8rem;
    text-align: left;
}
th { background: var(--bg-alt); font-family: var(--display); }

code, pre { background: var(--bg-alt); border-radius: 4px; }
code { padding: .1em .35em; }
pre { padding: 1rem; overflow-x: auto; }

/* ---------- Контейнер и раскладки ---------- */
.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.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; }

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

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    font-family: var(--display);
    font-size: .92rem;
    letter-spacing: .04em;
    padding: .62rem 1.5rem;
    border: 1px solid var(--acc);
    border-radius: 4px;
    color: var(--acc);
    background: transparent;
    cursor: pointer;
    transition: background-color .22s ease, color .22s ease, transform .18s ease;
}
.btn:hover {
    background: var(--acc);
    color: #fff;
    transform: translateY(2px);
}
.btn-soft {
    border-color: var(--acc-soft);
    background: var(--acc-soft);
    color: var(--deep);
}
.btn-soft:hover {
    background: transparent;
    color: var(--deep);
    border-color: var(--deep);
}

/* ---------- Заголовки секций ---------- */
.sec-title {
    display: flex;
    align-items: center;
    gap: .9rem;
    font-size: 1.75rem;
    margin: 0 0 2rem;
    padding-bottom: .6rem;
}
.sec-title span {
    position: relative;
    padding-left: 1.15rem;
    min-width: 0;
}
.sec-title span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acc);
}
.sec-title span::after {
    content: "";
    position: absolute;
    left: 1.15rem;
    bottom: -.55rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--acc-soft);
}
.sec-title::after {
    content: "";
    flex: 1 1 auto;
    max-width: 66%;
    height: 1px;
    background: linear-gradient(90deg, var(--acc-soft), rgba(212, 165, 217, 0));
}

/* ---------- Шапка ---------- */
.site-head {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 2;
}
.head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 0;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: .95rem;
    min-width: 0;
}
.brand-logo { width: 54px; height: 54px; flex: 0 0 54px; }
.brand-text { min-width: 0; }
.brand-title {
    font-family: var(--display);
    font-size: 1.08rem;
    line-height: 1.35;
    color: var(--ink);
    display: block;
    max-width: 34rem;
}
.brand-desc {
    display: block;
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 34rem;
    margin-top: .2rem;
}

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

.main-nav .nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    font-family: var(--display);
    font-size: .95rem;
    color: var(--ink);
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--acc);
    border-color: var(--acc-soft);
}

/* ---------- Хлебные крошки ---------- */
.crumbs {
    font-size: .85rem;
    color: var(--muted);
    padding: 1.4rem 0 0;
}
.crumbs a { color: var(--acc); }
.crumbs-sep { margin: 0 .35rem; color: var(--acc-soft); }

/* ---------- Карточки записей ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 1.8rem;
}
.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    border-left: 2px solid var(--acc-soft);
    box-shadow: 0 6px 20px rgba(42, 27, 56, .05);
    overflow: hidden;
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--acc);
    opacity: 0;
    transition: opacity .25s ease;
    z-index: 2;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(42, 27, 56, .11);
}
.card:hover::before { opacity: 1; }

.card-thumb {
    position: relative;
    overflow: hidden;
}
.card-thumb img,
.card-thumb-empty {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-thumb-empty {
    background:
        radial-gradient(circle at 30% 30%, var(--acc-soft), rgba(212, 165, 217, 0) 60%),
        linear-gradient(140deg, var(--bg-alt), var(--bg-grad));
}
.card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 60%, rgba(45, 27, 61, .45), rgba(45, 27, 61, 0) 65%);
    pointer-events: none;
}
.card-cat {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-family: var(--display);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    padding: 0 1rem;
}

.card-body {
    flex: 1;
    min-width: 0;
    padding: 1.3rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
}
.card-title {
    font-size: 1.18rem;
    margin: 0 0 .45rem;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--acc); }
.card-meta {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .7rem;
}
.card-excerpt { font-size: .95rem; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-body .btn { align-self: flex-start; margin-top: auto; }

/* Горизонтальные карточки в ленте */
.feed .card {
    flex-direction: row;
    align-items: stretch;
}
.feed .card .card-thumb {
    flex: 0 0 280px;
    position: relative;
}
.feed .card-thumb a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.feed .card-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}
.feed .card-thumb-empty {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    aspect-ratio: auto;
}
.feed { display: grid; gap: 1.8rem; }

/* ---------- Секции главной ---------- */
.front-section {
    padding: 5.5rem 0;
    position: relative;
}
.front-section.alt {
    background: linear-gradient(180deg, var(--bg-alt), var(--bg-grad));
}
.front-section.wave::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M0 12 Q15 2 30 12 T60 12 T90 12 T120 12' fill='none' stroke='%239B6B9E' stroke-width='1.2' opacity='.45'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 120px 18px;
    pointer-events: none;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--bg) 0%, var(--bg-grad) 100%);
    padding: 6.5rem 0 6rem;
}
.hero::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 42%;
    width: 520px;
    height: 520px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 165, 217, .55), rgba(212, 165, 217, 0) 68%);
    filter: blur(18px);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.2rem;
}
.hero h1 { margin-bottom: .5em; }
.hero-lead {
    font-size: 1.12rem;
    color: #4A3A56;
    margin-bottom: 2rem;
}
.hero-mark {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--acc);
    margin: 0 auto 1.6rem;
}

/* Чек-лист */
.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.1rem;
    max-width: 46rem;
}
.check-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border-radius: 8px;
    padding: 1.1rem 1.4rem;
    box-shadow: 0 4px 14px rgba(42, 27, 56, .04);
    min-width: 0;
}
.check-list .petal { flex: 0 0 26px; margin-top: .15rem; }
.check-list strong {
    font-family: var(--display);
    display: block;
    margin-bottom: .15rem;
}
.check-list p { margin: 0; font-size: .95rem; color: #4A3A56; }

/* Статистика */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border-radius: 10px;
    padding: 2.2rem 2rem;
    box-shadow: 0 8px 26px rgba(42, 27, 56, .05);
}
.stat {
    text-align: center;
    padding: .4rem 1rem;
    border-left: 1px solid var(--line);
    min-width: 0;
}
.stat:first-child { border-left: 0; }
.stat-num {
    font-family: var(--display);
    font-size: 2.9rem;
    line-height: 1.1;
    color: var(--acc-soft);
    display: block;
}
.stat-label {
    font-size: .88rem;
    color: var(--muted);
    display: block;
    margin-top: .4rem;
}

/* Рубрикатор */
.topics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 1.2rem;
}
.topic {
    display: block;
    background: var(--bg-alt);
    border-radius: 8px;
    padding: 1.6rem 1.4rem;
    color: var(--ink);
    min-width: 0;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.topic:hover {
    background: var(--acc-soft);
    transform: translateY(2px);
    box-shadow: inset 0 2px 8px rgba(45, 27, 61, .12);
}
.topic svg { margin-bottom: .8rem; }
.topic-name {
    font-family: var(--display);
    font-size: 1.02rem;
    display: block;
    margin-bottom: .3rem;
}
.topic-note { font-size: .86rem; color: #5A4A66; display: block; }

/* Акцентная плашка */
.note-plate {
    background: linear-gradient(135deg, var(--bg-alt), var(--bg-grad));
    border-left: 4px solid var(--acc);
    border-radius: 8px;
    padding: 1.8rem 2rem;
    margin-top: 2.4rem;
}
.note-plate p { margin: 0; }

/* ---------- Одиночная запись и страницы ---------- */
.entry-head { margin-bottom: 1.8rem; }
.entry-title { font-size: 2.4rem; margin-bottom: .4rem; }
.entry-meta { font-size: .87rem; color: var(--muted); }
.entry-thumb { margin: 0 0 2rem; border-radius: 8px; overflow: hidden; }
.entry-body h2, .entry-body h3 { margin-top: 1.8em; }
.entry-body img { border-radius: 6px; margin: 1.4em 0; }
.entry-tags {
    margin-top: 2.2rem;
    font-size: .88rem;
    color: var(--muted);
}
.entry-tags a {
    display: inline-block;
    background: var(--bg-alt);
    border-radius: 4px;
    padding: .2rem .7rem;
    margin: 0 .3rem .4rem 0;
    color: var(--acc);
}
.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    font-size: .92rem;
}

.archive-head { margin-bottom: 2rem; }
.archive-title { font-size: 2.1rem; margin-bottom: .3rem; }
.archive-desc { color: var(--muted); font-size: .95rem; }

/* ---------- Сайдбар ---------- */
.sidebar {
    min-width: 0;
    background: var(--bg-alt);
    border-radius: 10px;
    padding: 1.6rem 1.5rem;
    box-shadow: 0 6px 20px rgba(42, 27, 56, .05);
    color: var(--ink);
}
.sidebar .widget + .widget { margin-top: 2rem; }
.sidebar .widget-title {
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: .9rem;
    padding-left: 1rem;
    position: relative;
}
.sidebar .widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .6em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--acc);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { margin-bottom: .7rem; line-height: 1.5; }
.sidebar a { color: var(--ink); }
.sidebar a:hover { color: var(--acc); }
.sidebar .post-date,
.sidebar .rss-date { display: block; font-size: .8rem; color: #6E5C7C; }
.sidebar p { font-size: .93rem; color: var(--ink); }

/* ---------- Подвал ---------- */
.site-foot {
    background: var(--deep);
    color: #E7DDF0;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    padding: 3.5rem 0 2.5rem;
}
.site-foot .widget { min-width: 0; }
.site-foot .widget-title {
    font-size: 1.02rem;
    color: #F3ECF8;
    margin-bottom: .9rem;
}
.site-foot p,
.site-foot li,
.site-foot .textwidget { color: #D8CBE4; font-size: .93rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .55rem; }
.site-foot a { color: #E4CFEC; }
.site-foot a:hover { color: #fff; }
.foot-bottom {
    border-top: 1px solid rgba(231, 221, 240, .18);
    padding: 1.2rem 0 1.6rem;
    font-size: .85rem;
    color: #BBA9C9;
}

/* ---------- Пагинация ---------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 2.8rem;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 .8rem;
    border: 1px solid var(--acc-soft);
    border-radius: 4px;
    font-family: var(--display);
    font-size: .92rem;
    color: var(--acc);
    background: #fff;
    transition: background-color .2s ease, color .2s ease, transform .18s ease;
}
.pager a.page-numbers:hover {
    background: var(--acc);
    color: #fff;
    transform: translateY(2px);
}
.pager .page-numbers.current {
    background: var(--acc);
    border-color: var(--acc);
    color: #fff;
}
.pager .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--muted);
}

/* ---------- Формы (поиск, комментарии) ---------- */
.search-form {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.search-form input[type="search"],
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    font-family: var(--sans);
    font-size: .95rem;
    color: var(--ink);
    padding: .6rem .85rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    min-width: 0;
}
.search-form input[type="search"] { flex: 1 1 200px; }
.search-form input[type="submit"] {
    font-family: var(--display);
    font-size: .9rem;
    padding: .6rem 1.3rem;
    border: 1px solid var(--acc);
    border-radius: 4px;
    background: transparent;
    color: var(--acc);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.search-form input[type="submit"]:hover { background: var(--acc); color: #fff; }

.comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list ol.children { list-style: none; padding-left: 1.4rem; }
.comment-list .comment-body {
    background: #fff;
    border-radius: 8px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 14px rgba(42, 27, 56, .04);
}
.comment-meta { font-size: .82rem; color: var(--muted); margin-bottom: .5rem; }
.comment-author .fn { font-family: var(--display); font-style: normal; color: var(--ink); }
.comment-form { display: grid; gap: .9rem; max-width: 44rem; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: .88rem; margin-bottom: .25rem; color: #4A3A56; }
.comment-form textarea { width: 100%; min-height: 140px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] { width: 100%; max-width: 24rem; }
.comment-form input[type="submit"] {
    font-family: var(--display);
    font-size: .92rem;
    letter-spacing: .04em;
    padding: .62rem 1.5rem;
    border: 1px solid var(--acc);
    border-radius: 4px;
    background: transparent;
    color: var(--acc);
    cursor: pointer;
    justify-self: start;
    transition: background-color .22s ease, color .22s ease, transform .18s ease;
}
.comment-form input[type="submit"]:hover { background: var(--acc); color: #fff; transform: translateY(2px); }

/* ---------- 404 ---------- */
.error-box { text-align: center; padding: 2rem 0 1rem; }
.error-code {
    font-family: var(--display);
    font-size: 5rem;
    color: var(--acc-soft);
    line-height: 1;
    margin-bottom: .4rem;
}
.error-box .search-form { justify-content: center; margin: 1.6rem auto 1.4rem; max-width: 30rem; }

/* ---------- Cookie-баннер ---------- */
.cookie-note {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: var(--deep);
    color: #E7DDF0;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    font-size: .9rem;
    box-shadow: 0 -6px 22px rgba(42, 27, 56, .18);
}
.cookie-note p { margin: 0; max-width: 46rem; }
.cookie-note a { color: var(--acc-soft); }
.cookie-note button {
    font-family: var(--display);
    font-size: .9rem;
    padding: .5rem 1.4rem;
    border: 1px solid var(--acc-soft);
    border-radius: 4px;
    background: var(--acc-soft);
    color: var(--deep);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .18s ease;
}
.cookie-note button:hover {
    background: transparent;
    color: var(--acc-soft);
    transform: translateY(2px);
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    h1 { font-size: 2.6rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.5rem; }
    .layout-single { width: 100%; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .front-section { padding: 4rem 0; }
    .hero { padding: 4.5rem 0 4rem; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.4rem; }
    .stat:nth-child(3) { border-left: 0; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2.1rem; }
    h2 { font-size: 1.55rem; }
    .entry-title { font-size: 1.8rem; }
    .head-inner { padding: 1rem 0; }
    .nav-toggle { display: inline-block; }
    .main-nav { flex: 1 1 100%; }
    .main-nav .nav-list {
        flex-direction: column;
        gap: .8rem;
        padding: .9rem 0 .2rem;
    }
    .front-section { padding: 3rem 0; }
    .hero { padding: 3.4rem 0 3rem; }
    .hero-inner { padding: 0 .4rem; }
    .stats {
        grid-template-columns: minmax(0, 1fr);
        padding: 1.6rem 1.4rem;
        row-gap: 1.2rem;
    }
    .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 1rem; }
    .stat:first-child { border-top: 0; padding-top: 0; }
    .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding: 2.6rem 0 2rem; }
    .note-plate { padding: 1.4rem 1.3rem; }
    .check-list li { padding: 1rem 1.1rem; }
    .topic { padding: 1.3rem 1.2rem; }
    .feed .card { flex-direction: column; }
    .feed .card-thumb {
        flex: none;
        width: 100%;
        position: static;
    }
    .feed .card-thumb a { position: static; }
    .feed .card-thumb img,
    .feed .card-thumb-empty {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .sec-title { flex-wrap: wrap; }
    .sec-title::after { max-width: 100%; }
    .cookie-note { padding: .9rem 1rem; gap: .8rem; }
    body::after { display: none; }
}

/* ---------- Служебное ---------- */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}
.no-comments { color: var(--muted); font-size: .92rem; }
.brand-title:hover { color: var(--acc); }
.alignleft { float: left; margin: .4rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .4rem 0 1rem 1.4rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); }
