/*
Theme Name: dds_homiewars.com
Author: Артём Зорин
Description: Тема для аналитического портала о цифровой и токенизированной недвижимости.
Version: 1.1
Text Domain: hmwr
*/

:root {
    --bg:      #F7F5FC;
    --bg-alt:  #EDE9F7;
    --head:    #2B2140;
    --foot:    #1E1730;
    --side:    #F0EDF9;
    --ink:     #1F1A2E;
    --acc:     #7C3AED;
    --acc2:    #06B6D4;
    --mut:     #6B6280;
    --line:    #E2DCF0;
    --grid:    #E8E3F2;
    --dash:    #D5CEE8;
    --lav:     #C4B5FD;
    --radius:  14px;
    --btn-r:   10px;
}

/* ---------- сброс и база ---------- */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--ink);
    background-color: var(--bg);
    background-image: repeating-linear-gradient(45deg, var(--grid) 0, var(--grid) 1px, transparent 1px, transparent 24px);
    font-family: "Inter", "Manrope", "Segoe UI", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    top: -160px;
    right: -180px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: var(--acc);
    opacity: 0.06;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: "Space Grotesk", "Inter", "Segoe UI", Arial, sans-serif;
    line-height: 1.22;
    color: var(--ink);
    margin: 0 0 0.7em;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

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

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

.entry-body a:hover,
.widget a:hover,
.crumbs a:hover,
.comment-text a:hover {
    background-size: 100% 2px;
}

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

blockquote {
    margin: 1.6em 0;
    padding: 1.2rem 1.6rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--acc);
    border-radius: 0 10px 10px 0;
}

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

code, pre {
    font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    font-size: 0.92em;
}

pre {
    background: var(--head);
    color: #EDE9F7;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    overflow-x: auto;
}

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

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

th { background: var(--bg-alt); font-weight: 600; }

/* ---------- контейнер ---------- */

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

.site-main {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0 0 4rem;
}

.inner-page { padding-top: 2.4rem; }

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

.layout-single { display: block; }

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

.layout-with-sidebar > .content-area { min-width: 0; }

/* ---------- верхняя полоса и шапка ---------- */

.topline {
    height: 3px;
    background: linear-gradient(90deg, var(--acc), var(--acc2));
}

.site-top {
    position: relative;
    z-index: 2;
    background: var(--head);
    color: #F3F0FA;
    padding: 1.4rem 0;
}

.site-top-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;
    max-width: 640px;
}

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

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

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

.brand-name {
    display: block;
    font-family: "Space Grotesk", "Inter", Arial, sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.35;
    color: #FFFFFF;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

.nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid rgba(196, 181, 253, .5);
    color: #EDE9F7;
    border-radius: var(--btn-r);
    padding: 0.5rem 0.9rem;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

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

.site-nav a {
    color: #E8E2F7;
    font-size: 0.97rem;
    font-weight: 500;
    padding: 0.35rem 0;
    display: inline-block;
    border-bottom: 2px solid transparent;
    transition: color .2s ease, border-color .2s ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a {
    color: #FFFFFF;
    border-bottom-color: var(--acc2);
}

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

.btn {
    display: inline-block;
    font-family: "Space Grotesk", "Inter", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.75rem 1.5rem;
    border-radius: var(--btn-r);
    border: 1.5px solid var(--acc);
    background: var(--acc);
    color: #FFFFFF;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--acc);
}

.btn-outline:hover {
    background: var(--acc);
    color: #FFFFFF;
}

.btn-light {
    background: transparent;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.btn-light:hover {
    background: var(--acc);
    border-color: var(--acc);
    color: #FFFFFF;
}

/* ---------- заголовки секций ---------- */

.sec-title {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 1.6rem;
}

.sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    bottom: 0.18em;
    width: 4px;
    background: var(--acc);
    border-radius: 2px;
}

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

.crumbs {
    font-size: 0.86rem;
    color: var(--mut);
    margin-bottom: 1.4rem;
    word-break: break-word;
}

.crumbs a { color: var(--acc); }

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

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

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

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

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(43, 33, 64, 0.08);
    overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.15);
}

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

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

.card-thumb-empty {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 78% 24%, rgba(6, 182, 212, .22), transparent 58%),
        linear-gradient(135deg, #2B2140, #443066);
}

.card-tag {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--acc2);
    background: rgba(6, 182, 212, 0.12);
    backdrop-filter: blur(3px);
}

.card-tag .rhomb { margin-right: 0.4rem; }

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

.card-title {
    font-size: 1.17rem;
    margin: 0 0 0.5rem;
}

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

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

.card-meta {
    font-size: 0.8rem;
    color: var(--mut);
    margin-bottom: 0.7rem;
}

.card-excerpt {
    font-size: 0.95rem;
    color: #3D3553;
    margin-bottom: 1.1rem;
}

.card-excerpt p { margin: 0 0 0.5em; background: none; }

.card-excerpt p:last-child { margin-bottom: 0; }

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

.card-more .btn { padding: 0.55rem 1.15rem; font-size: 0.88rem; }

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

.front-section { padding: 4.2rem 0; }

.front-section.alt {
    background-image: linear-gradient(135deg, var(--bg-alt), #E3DCF5),
        radial-gradient(var(--dash) 1px, transparent 1px);
    background-size: auto, 16px 16px;
}

.fp-inner {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    min-width: 0;
}

.node-divider {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 85%;
    margin: 0 auto;
}

.node-divider::before,
.node-divider::after {
    content: "";
    flex: 1;
    border-top: 1px dashed var(--dash);
}

.node-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--acc);
    flex: 0 0 auto;
}

/* hero */

.fs-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2B2140 0%, #1E1730 100%);
    color: #FFFFFF;
    padding: 5.5rem 0 5rem;
}

.fs-hero .fp-inner { position: relative; z-index: 2; }

.hero-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--acc2);
    border: 1px solid rgba(6, 182, 212, .35);
    border-radius: 999px;
    padding: 0.32rem 0.9rem;
    margin-bottom: 1.4rem;
}

.hero-title {
    color: #FFFFFF;
    max-width: 18ch;
    margin-bottom: 1rem;
}

.hero-sub {
    color: var(--lav);
    font-size: 1.12rem;
    max-width: 56ch;
    margin-bottom: 2rem;
}

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

.hero-plot {
    position: absolute;
    right: -40px;
    bottom: -60px;
    width: 520px;
    max-width: 62%;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
}

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

.fs-stats { background: var(--bg); }

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

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

.stat-cell:last-child { border-right: none; }

.stat-num {
    display: block;
    font-family: "Space Grotesk", "Inter", Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--acc);
}

.stat-cap {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.92rem;
    color: var(--mut);
}

/* последние записи */

.fs-latest { background: var(--bg-alt); padding: 4.2rem 0; }

.fs-latest .sec-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.sec-head .sec-title { margin-bottom: 1.2rem; }

/* сетка рубрик-карточек */

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.6rem;
}

.topic-card {
    min-width: 0;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(43, 33, 64, 0.08);
    padding: 1.8rem 1.6rem;
    transition: transform .22s ease, box-shadow .22s ease;
}

.topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.15);
}

.topic-ico {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--side);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.topic-card h3 {
    font-size: 1.22rem;
    margin-bottom: 0.5rem;
}

.topic-card h3 .rhomb { color: var(--acc); margin-right: 0.4rem; }

.topic-card:nth-child(2) h3 .rhomb { color: var(--acc2); }
.topic-card:nth-child(3) h3 .rhomb { color: var(--lav); }

.topic-card p { margin: 0; font-size: 0.95rem; color: #3D3553; }

/* CTA */

.fs-cta { padding: 4.2rem 0; }

.cta-box {
    position: relative;
    overflow: hidden;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    background: var(--head);
    border-radius: 16px;
    padding: 3rem 2.6rem;
    color: #FFFFFF;
}

.cta-box::before {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: var(--acc);
    opacity: 0.35;
    filter: blur(90px);
    pointer-events: none;
}

.cta-inner { position: relative; z-index: 2; }

.cta-box h2 {
    color: #FFFFFF;
    font-size: 2.15rem;
    max-width: 22ch;
    margin-bottom: 0.9rem;
}

.cta-box p {
    color: var(--lav);
    max-width: 62ch;
    margin-bottom: 1.8rem;
}

/* ---------- контент записи и страницы ---------- */

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

.entry-title { font-size: 2.35rem; margin-bottom: 0.6rem; }

.entry-meta {
    font-size: 0.87rem;
    color: var(--mut);
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 1.1rem;
}

.entry-thumb {
    margin: 0 0 1.8rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

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

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

.entry-body h2 {
    position: relative;
    display: inline;
    background-image: linear-gradient(var(--bg-alt), var(--bg-alt));
    background-repeat: no-repeat;
    background-size: 100% 0.4em;
    background-position: 0 85%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.entry-body > h2 {
    display: block;
    margin-top: 2rem;
}

.entry-body h3 { margin-top: 1.6rem; }

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

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

.entry-tags a {
    font-size: 0.82rem;
    color: var(--acc2);
    background: rgba(6, 182, 212, 0.12);
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
}

.post-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2.4rem;
    padding-top: 1.4rem;
    border-top: 1px dashed var(--dash);
    font-size: 0.92rem;
}

.post-nav span { display: block; color: var(--mut); font-size: 0.8rem; }

.archive-head { margin-bottom: 1.8rem; }

.archive-desc { color: var(--mut); }

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

.sidebar {
    min-width: 0;
    background: var(--side);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    color: var(--ink);
}

.sidebar .widget + .widget {
    margin-top: 1.8rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--dash);
}

.widget-title {
    font-size: 1.05rem;
    margin-bottom: 0.9rem;
    position: relative;
    padding-left: 0.85rem;
}

.widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    bottom: 0.25em;
    width: 3px;
    border-radius: 2px;
    background: var(--acc);
}

.sidebar .widget-title { color: var(--ink); }

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

.widget li { padding: 0.4rem 0; font-size: 0.95rem; }

.widget li + li { border-top: 1px solid rgba(124, 58, 237, .1); }

.sidebar .widget,
.sidebar .widget p { color: #2E2742; }

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

.sidebar .widget a:hover { color: #5B21B6; }

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

.searchform {
    display: flex;
    gap: 0.5rem;
    min-width: 0;
}

.searchform input[type="search"] {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: var(--btn-r);
    background: #FFFFFF;
    color: var(--ink);
}

.searchform input[type="search"]:focus {
    outline: 2px solid rgba(124, 58, 237, .35);
    outline-offset: 1px;
}

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

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.6rem;
}

.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: var(--btn-r);
    background: #FFFFFF;
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.pager a.page-numbers:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
    color: var(--acc);
}

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

.pager .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--mut);
}

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

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--dash);
}

.comment-list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
}

.comment-list ul.children {
    list-style: none;
    margin: 1rem 0 0 1.4rem;
    padding: 0 0 0 1.2rem;
    border-left: 2px solid var(--line);
}

.comment-item { margin-bottom: 1.2rem; }

.comment-inner {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
}

.comment-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.comment-author { font-weight: 600; }

.comment-date { font-size: 0.82rem; color: var(--mut); }

.comment-actions { font-size: 0.88rem; }

.comment-wait { color: var(--mut); font-size: 0.9rem; }

.comment-respond {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.6rem 1.6rem 1.2rem;
}

.comment-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

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

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

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

.comment-form .submit {
    font-family: "Space Grotesk", "Inter", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--btn-r);
    border: 1.5px solid var(--acc);
    background: var(--acc);
    color: #FFFFFF;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

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

.nf-box { text-align: center; padding: 2rem 0 1rem; }

.nf-code {
    font-family: "Space Grotesk", "Inter", Arial, sans-serif;
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--acc);
    margin-bottom: 0.4rem;
}

.nf-box .searchform {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.6rem;
}

.no-results {
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem 1.8rem;
}

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

.site-foot {
    position: relative;
    z-index: 1;
    background: var(--foot);
    color: #CFC6E6;
    padding: 3.2rem 0 1.6rem;
}

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

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

.site-foot .widget-title { color: #FFFFFF; }

.site-foot .widget-title::before { background: var(--acc2); }

.site-foot .widget,
.site-foot .widget p,
.site-foot .widget li { color: #CFC6E6; }

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

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

.site-foot .widget li + li { border-top: 1px solid rgba(196, 181, 253, .14); }

.site-foot .post-date { display: block; color: #9A8FBA; font-size: 0.8rem; }

.foot-bottom {
    margin-top: 2.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(196, 181, 253, .16);
    font-size: 0.86rem;
    color: #9A8FBA;
}

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

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

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--head);
    border-top: 2px solid var(--acc);
    color: #E8E2F7;
    padding: 1rem 0;
}

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

.cookie-inner p {
    margin: 0;
    font-size: 0.9rem;
    min-width: 0;
    flex: 1 1 320px;
}

.cookie-inner a { color: var(--lav); }

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

@media (max-width: 960px) {
    h1 { font-size: 2.5rem; }
    .entry-title { font-size: 2rem; }

    .layout-with-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .layout-single > .content-area,
    .fp-inner,
    .cta-box,
    .node-divider {
        width: 100%;
    }

    .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.6rem; }
    .stat-cell:nth-child(2n) { border-right: none; }

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

    .hero-plot { max-width: 78%; opacity: 0.22; }
}

@media (max-width: 720px) {
    .nav-toggle { display: inline-block; }

    .site-nav { flex: 1 0 100%; }

    .site-nav[hidden] { display: none !important; }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        padding-top: 0.6rem;
        border-top: 1px solid rgba(196, 181, 253, .2);
    }

    .site-nav li { border-bottom: 1px solid rgba(196, 181, 253, .12); }

    .site-nav a { display: block; padding: 0.7rem 0; }
}

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

    h1 { font-size: 2.05rem; }
    h2 { font-size: 1.6rem; }

    .entry-title { font-size: 1.75rem; }

    .front-section { padding: 2.8rem 0; }

    .fs-hero { padding: 3.4rem 0 3.2rem; }

    .fs-latest, .fs-cta { padding: 2.8rem 0; }

    .cta-box { padding: 2rem 1.4rem; }

    .cta-box h2 { font-size: 1.65rem; }

    .stats-row { grid-template-columns: minmax(0, 1fr); }

    .stat-cell {
        border-right: none;
        border-bottom: 1px dashed var(--dash);
        padding-bottom: 1.1rem;
    }

    .stat-cell:last-child { border-bottom: none; }

    .stat-num { font-size: 2.3rem; }

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

    .hero-plot { display: none; }

    .topic-card { padding: 1.4rem 1.2rem; }

    .sidebar { padding: 1.2rem 1.1rem; }

    .comment-respond { padding: 1.2rem 1.1rem 0.9rem; }

    .brand { max-width: 100%; }
}
