/*
Theme Name: dds_banyanthemes.com
Author: Алексей Князев
Description: Тёмная тема для информационного сайта о готовых WordPress-решениях для рынка недвижимости.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: banyan
*/

/* ============ переменные ============ */
:root {
    --bg: #12161C;
    --bg-alt: #1A2029;
    --bg-head: #0E1116;
    --bg-foot: #0A0D11;
    --bg-side: #161B23;
    --tx: #E8EDF2;
    --ac: #2DD4BF;
    --ac-dark: #14B8A6;
    --ac2: #F59E0B;
    --mut: #8B95A5;
    --ln: #2A3340;
    --head-font: "Inter Tight", "Manrope", "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    --body-font: "Source Sans 3", "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: var(--body-font);
    font-size: 17px;
    line-height: 1.7;
    color: var(--tx);
    background-color: var(--bg);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='420' viewBox='0 0 360 420'%3E%3Cg fill='none' stroke='%232DD4BF' stroke-opacity='0.08' stroke-width='1.4'%3E%3Crect x='30' y='150' width='90' height='250'/%3E%3Crect x='130' y='80' width='110' height='320'/%3E%3Crect x='250' y='190' width='80' height='210'/%3E%3Cpath d='M30 180h90M30 210h90M30 240h90M30 270h90M30 300h90M30 330h90M30 360h90'/%3E%3Cpath d='M130 110h110M130 140h110M130 170h110M130 200h110M130 230h110M130 260h110M130 290h110M130 320h110M130 350h110'/%3E%3Cpath d='M250 220h80M250 250h80M250 280h80M250 310h80M250 340h80M250 370h80'/%3E%3Cpath d='M175 80V50M60 150v-18M290 190v-22'/%3E%3C/g%3E%3C/svg%3E"),
        repeating-linear-gradient(45deg, #1E2630 0, #1E2630 1px, transparent 1px, transparent 24px);
    background-repeat: no-repeat, repeat;
    background-position: right -40px top 90px, 0 0;
    background-attachment: fixed, fixed;
    background-size: 360px 420px, auto;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--head-font);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 0 0 0.7em;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.05rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

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

/* верхняя подсветка карниза */
.edge-light {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ac);
    z-index: 999;
}

/* ============ контейнеры ============ */
.shell { width: min(92%, 1180px); margin-inline: auto; }
.shell-wide { width: min(85%, 1240px); margin-inline: auto; }

.site-main { display: block; padding: 3rem 0 4.5rem; }
.front-main { padding: 0 0 4rem; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    justify-content: space-between;
    column-gap: 0;
    row-gap: 2.4rem;
    align-items: start;
}
.layout-single { width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }

/* ============ шапка ============ */
.site-top {
    background: var(--bg-head);
    border-bottom: 1px solid var(--ln);
    padding: 1.4rem 0;
    position: relative;
    z-index: 5;
}
.site-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    max-width: 620px;
}
.brand-mark { flex: 0 0 auto; display: block; }
.brand-logo { max-height: 54px; width: auto; display: block; }
.brand-text { min-width: 0; }
.brand-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--tx);
}
.brand-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--mut);
    margin-top: 0.25rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1.5px solid var(--ac);
    color: var(--ac);
    border-radius: 10px;
    padding: 0.5rem 0.9rem;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.main-nav a {
    color: var(--mut);
    font-size: 0.97rem;
    font-family: var(--head-font);
    font-weight: 600;
    letter-spacing: 0.01em;
    padding-bottom: 3px;
    background-image: linear-gradient(var(--ac), var(--ac));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 1px;
    transition: color 0.25s ease, background-size 0.3s ease;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
    color: var(--ac);
    background-size: 100% 1px;
}

/* ============ кнопки ============ */
.btn {
    display: inline-block;
    font-family: var(--head-font);
    font-weight: 600;
    font-size: 0.98rem;
    border-radius: 10px;
    padding: 0.8rem 1.6rem;
    border: 1.5px solid transparent;
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
    cursor: pointer;
}
.btn-fill {
    background: var(--ac);
    color: #12161C;
}
.btn-fill:hover {
    background: var(--ac-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(45, 212, 191, 0.28);
}
.btn-line {
    background: transparent;
    border-color: var(--ac);
    color: var(--ac);
}
.btn-line:hover {
    background: rgba(45, 212, 191, 0.1);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.45), 0 0 18px rgba(45, 212, 191, 0.2);
    transform: translateY(-2px);
}

/* ============ текстовые ссылки в контенте ============ */
.entry-content a,
.card-excerpt a,
.crumbs a {
    color: var(--mut);
    background-image: linear-gradient(var(--ac), var(--ac));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 1px;
    transition: color 0.25s ease, background-size 0.3s ease;
}
.entry-content a:hover,
.card-excerpt a:hover,
.crumbs a:hover {
    color: var(--ac);
    background-size: 100% 1px;
}

/* ============ заголовки секций ============ */
.sec-head { margin-bottom: 2rem; }
.sec-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-family: var(--head-font);
    font-weight: 600;
    color: var(--mut);
    margin-bottom: 0.7rem;
}
.sec-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ac);
    flex: 0 0 auto;
}
.sec-title {
    border-left: 4px solid var(--ac);
    padding-left: 1rem;
    margin: 0 0 0.6rem 0.4rem;
    font-size: 2.05rem;
}
.sec-lead { color: var(--mut); margin-left: 1.4rem; max-width: 720px; }

/* точка-маркер у заголовков контента */
.entry-content h2::before,
.entry-content h3::before,
.widget-title::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ac);
    margin-right: 0.6rem;
    vertical-align: middle;
    transition: transform 0.25s ease;
}
.entry-content h2:hover::before,
.entry-content h3:hover::before {
    transform: scale(1.7);
    animation: dotPulse 1.6s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ============ секции главной ============ */
.front-section { padding: 96px 0; }
.front-section.alt { background: var(--bg-alt); }
.front-section.ruled { border-top: 1px solid var(--ln); }

.dot-rule {
    width: 60px;
    height: 1px;
    margin: 0 auto;
    background-image: linear-gradient(to right, rgba(45, 212, 191, 0.3) 0 4px, transparent 4px 10px);
    background-size: 10px 1px;
    background-repeat: repeat-x;
}

/* hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 118px 0 104px;
    background-color: #0E1116;
}
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}
.hero-veil {
    position: absolute;
    inset: 0;
    background: rgba(18, 22, 28, 0.7);
    z-index: 1;
}
.hero .shell-wide { position: relative; z-index: 2; }
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-family: var(--head-font);
    font-weight: 600;
    color: var(--ac);
    margin-bottom: 1rem;
}
.hero-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ac);
}
.hero h1 { max-width: 15ch; margin-bottom: 1rem; }
.hero-lead {
    max-width: 640px;
    color: #C5CFDB;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-dash {
    position: absolute;
    right: -30px;
    bottom: 42px;
    z-index: 2;
    pointer-events: none;
}

/* статистика */
.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.stat {
    padding: 0.4rem 1.4rem;
    border-left: 1px solid var(--ln);
    min-width: 0;
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-num {
    font-family: var(--head-font);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.05;
    color: var(--ac);
    letter-spacing: -0.03em;
}
.stat-cap { color: var(--mut); font-size: 0.92rem; margin-top: 0.5rem; }

/* сетка преимуществ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}
.feature {
    min-width: 0;
    background: var(--bg-alt);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 2rem 1.8rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.6);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}
.feature-ico {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.feature h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.feature p { color: var(--mut); margin: 0; font-size: 0.97rem; }

/* CTA */
.cta-plate {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid var(--ln);
    padding: 3rem 2.6rem;
    background-color: #0F2E2A;
    background-image:
        radial-gradient(rgba(45, 212, 191, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, #0F2E2A 0%, #12161C 100%);
    background-size: 16px 16px, auto;
}
.cta-inner { position: relative; z-index: 2; max-width: 760px; }
.cta-plate h2 { font-size: 2.3rem; margin-bottom: 0.8rem; }
.cta-plate p { color: #BFD4CF; margin-bottom: 1.8rem; }
.cta-roof {
    position: absolute;
    top: 14px;
    left: 18px;
    z-index: 1;
    pointer-events: none;
}

/* ============ карточки записей ============ */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 1.8rem;
}
.cards-single { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg-alt);
    border: 1px solid var(--ln);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, 0.6);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(45, 212, 191, 0.12);
}
.card-thumb { position: relative; display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.card-thumb::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(10, 13, 17, 0.9), rgba(10, 13, 17, 0));
    pointer-events: none;
}
.card-thumb-empty {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #161C24;
    background-image: repeating-linear-gradient(45deg, rgba(45, 212, 191, 0.07) 0, rgba(45, 212, 191, 0.07) 1px, transparent 1px, transparent 14px);
}
.card-chip { position: absolute; left: 1rem; bottom: 0.9rem; z-index: 2; }

.chip {
    display: inline-block;
    font-family: var(--head-font);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border: 1px solid var(--ac);
    color: var(--ac);
    background: rgba(18, 22, 28, 0.7);
}
.chip:hover { background: rgba(45, 212, 191, 0.12); }
.chip-new {
    background: var(--ac2);
    border-color: var(--ac2);
    color: #12161C;
}
.chip-new:hover { background: #FBBF24; }

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.4rem 1.5rem 1.6rem;
    min-width: 0;
}
.card-title { font-size: 1.22rem; margin: 0 0 0.6rem; }
.card-title a { color: var(--tx); transition: color 0.22s ease; }
.card-title a:hover { color: var(--ac); }
.card-excerpt { color: var(--mut); font-size: 0.95rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-foot { margin-top: auto; padding-top: 1rem; }
.meta { color: var(--mut); font-size: 0.84rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.meta-sep { color: var(--ln); }
.card-more {
    display: inline-block;
    margin-top: 0.8rem;
    font-family: var(--head-font);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--ac);
}
.card-more:hover { color: var(--ac-dark); }

/* ============ хлебные крошки ============ */
.crumbs {
    font-size: 0.86rem;
    color: var(--mut);
    margin-bottom: 1.6rem;
}
.crumbs .sep { color: var(--ln); margin: 0 0.25rem; }
.crumbs span:last-child { color: var(--tx); }

/* ============ запись и страница ============ */
.entry-head { margin-bottom: 1.8rem; }
.entry-head h1 { font-size: 2.6rem; margin-bottom: 0.7rem; }
.entry-thumb { margin-bottom: 1.8rem; border-radius: 14px; overflow: hidden; border: 1px solid var(--ln); }
.entry-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.entry-content { font-size: 1.02rem; }
.entry-content h2 { margin-top: 2rem; font-size: 1.8rem; }
.entry-content h3 { margin-top: 1.6rem; font-size: 1.35rem; }
.entry-content img { border-radius: 10px; display: block; }
.entry-content blockquote {
    margin: 1.6rem 0;
    padding: 1.4rem 1.6rem;
    background: var(--bg-alt);
    border-left: 4px solid var(--ac);
    border-radius: 0 10px 10px 0;
    color: #CBD5E1;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content code {
    background: #0E1116;
    border: 1px solid var(--ln);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.92em;
}
.entry-content pre {
    background: #0E1116;
    border: 1px solid var(--ln);
    border-radius: 10px;
    padding: 1.2rem 1.3rem;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--ln);
    margin: 0 0 1.4rem;
}
th, td {
    border: 1px solid var(--ln);
    padding: 0.7rem 0.9rem;
    text-align: left;
}
th { background: var(--bg-alt); font-family: var(--head-font); }

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

/* ============ сайдбар ============ */
.sidebar { min-width: 0; }
.widget {
    background: var(--bg-side);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 1.5rem 1.4rem;
    margin-bottom: 1.6rem;
    color: var(--tx);
}
.widget-title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: var(--tx);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--ln);
    color: var(--tx);
}
.widget li:last-child { border-bottom: none; }
.widget a { color: var(--tx); transition: color 0.22s ease; }
.widget a:hover { color: var(--ac); }
.widget .post-date { display: block; color: var(--mut); font-size: 0.82rem; }
.widget p { color: #C3CCD8; font-size: 0.95rem; }

/* ============ пагинация ============ */
.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: 44px;
    height: 44px;
    padding: 0 0.85rem;
    border: 1px solid var(--ln);
    border-radius: 10px;
    color: var(--mut);
    font-family: var(--head-font);
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--bg-alt);
    transition: color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}
.pager a.page-numbers:hover {
    color: var(--ac);
    border-color: var(--ac);
    background: rgba(45, 212, 191, 0.08);
}
.pager .page-numbers.current {
    background: var(--ac);
    border-color: var(--ac);
    color: #12161C;
}
.pager .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

/* ============ поиск ============ */
.search-form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.search-form input[type="search"] {
    flex: 1 1 200px;
    min-width: 0;
    background: #0E1116;
    border: 1px solid var(--ln);
    border-radius: 10px;
    padding: 0.7rem 0.95rem;
    color: var(--tx);
    font: inherit;
    font-size: 0.95rem;
}
.search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--ac);
}
.search-form button {
    background: var(--ac);
    color: #12161C;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.3rem;
    font-family: var(--head-font);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.22s ease;
}
.search-form button:hover { background: var(--ac-dark); }

/* ============ комментарии ============ */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ln);
}
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; margin: 1rem 0 0 1.6rem; padding: 0; }
.comment-item { margin-bottom: 1.2rem; }
.comment-body {
    background: var(--bg-alt);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 1.3rem 1.4rem;
}
.comment-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.comment-avatar { border-radius: 50%; display: block; }
.comment-author { display: block; font-family: var(--head-font); font-weight: 600; }
.comment-date { color: var(--mut); font-size: 0.82rem; }
.comment-text p:last-child { margin-bottom: 0; }
.comment-hold { color: var(--ac2); font-size: 0.9rem; }
.comment-actions a { color: var(--ac); font-size: 0.9rem; }

.comment-respond {
    background: var(--bg-side);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 1.6rem 1.6rem 1.2rem;
}
.comment-respond .comment-reply-title { font-size: 1.3rem; margin-bottom: 1rem; }
.comment-form label { display: block; font-size: 0.9rem; color: var(--mut); margin-bottom: 0.3rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 85%;
    background: #0E1116;
    border: 1px solid var(--ln);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    color: var(--tx);
    font: inherit;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.comment-form textarea { width: 100%; min-height: 150px; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--ac); }
.comment-form .submit {
    background: var(--ac);
    color: #12161C;
    border: none;
    border-radius: 10px;
    padding: 0.8rem 1.6rem;
    font-family: var(--head-font);
    font-weight: 600;
    cursor: pointer;
}
.comment-form .submit:hover { background: var(--ac-dark); }
.comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 0.5rem; }
.comment-form .comment-form-cookies-consent label { margin: 0; }

/* ============ подвал ============ */
.site-foot {
    background: var(--bg-foot);
    border-top: 1px solid var(--ln);
    padding: 3.4rem 0 1.8rem;
    color: #D3DBE4;
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.foot-cols .widget {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
    color: #D3DBE4;
}
.foot-cols .widget-title { color: var(--tx); font-size: 1.05rem; }
.foot-cols .widget p { color: #A9B4C1; }
.foot-cols .widget a { color: #D3DBE4; }
.foot-cols .widget a:hover { color: var(--ac); }
.foot-cols .widget li { border-bottom: 1px solid #1A2029; color: #D3DBE4; }
.foot-cols .widget .post-date { color: var(--mut); }

.foot-contacts { margin-top: 0.8rem; font-size: 0.93rem; color: #A9B4C1; }
.foot-contacts a { color: var(--ac); }

.foot-bottom {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--ln);
    color: var(--mut);
    font-size: 0.86rem;
    line-height: 1.6;
}

/* ============ cookie-баннер ============ */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 998;
    background: #0E1116;
    border-top: 1px solid var(--ac);
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    color: #C3CCD8;
    font-size: 0.92rem;
    box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.5);
}
.cookie-banner p { margin: 0; max-width: 780px; }
.cookie-banner .btn { padding: 0.6rem 1.4rem; font-size: 0.92rem; }

/* ============ 404 и поиск ============ */
.zero-state {
    background: var(--bg-alt);
    border: 1px solid var(--ln);
    border-radius: 14px;
    padding: 2.4rem 2.2rem;
}
.zero-state h1 { font-size: 2.6rem; }
.zero-code {
    font-family: var(--head-font);
    font-size: 5rem;
    font-weight: 700;
    color: var(--ac);
    line-height: 1;
    letter-spacing: -0.04em;
}
.zero-state .search-form { margin: 1.6rem 0; }

.page-head { margin-bottom: 2rem; }
.page-head h1 { font-size: 2.6rem; }

/* ============ адаптив ============ */
@media (max-width: 960px) {
    h1 { font-size: 2.4rem; }
    .hero h1 { font-size: 2.4rem; }
    .entry-head h1, .page-head h1, .zero-state h1 { font-size: 2rem; }
    .sec-title { font-size: 1.7rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
    .layout-single { width: 100%; }
    .shell-wide { width: 92%; }
    .brand-desc { display: none; }
    .brand { max-width: none; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.8rem; }
    .stat:nth-child(odd) { border-left: none; padding-left: 0; }
    .front-section { padding: 64px 0; }
    .hero { padding: 84px 0 76px; }
    .hero-dash { display: none; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 1.95rem; max-width: none; }
    .entry-head h1, .page-head h1 { font-size: 1.7rem; }
    .sec-title { font-size: 1.45rem; padding-left: 0.8rem; }
    .sec-lead { margin-left: 1rem; }
    .site-top-inner { flex-wrap: nowrap; }
    .nav-toggle { display: inline-block; }
    .main-nav {
        flex-basis: 100%;
        width: 100%;
        margin-top: 1rem;
    }
    .main-nav[hidden] { display: none !important; }
    .main-nav ul { flex-direction: column; gap: 0.2rem; }
    .main-nav li { border-bottom: 1px solid var(--ln); }
    .main-nav a { display: block; padding: 0.7rem 0; }
    .front-section { padding: 52px 0; }
    .hero { padding: 64px 0 56px; }
    .cta-plate { padding: 1.9rem 1.4rem; }
    .cta-plate h2 { font-size: 1.6rem; }
    .stat-num { font-size: 2.2rem; }
    .feature { padding: 1.6rem 1.3rem; }
    .zero-state { padding: 1.7rem 1.3rem; }
    .comment-list .children { margin-left: 0.8rem; }
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"] { width: 100%; }
    .widget { padding: 1.3rem 1.2rem; }
}

/* ============ дополнения ============ */
.card-thumb a { display: block; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
}
.comments-title { font-size: 1.5rem; margin-bottom: 1.4rem; }
.comment-notes { color: var(--mut); font-size: 0.9rem; }
.comments-closed { color: var(--mut); }
.entry-head .chip { margin-bottom: 1rem; }
.entry-content ul li::marker, .entry-content ol li::marker { color: var(--ac); }
.zero-state .btn { margin-top: 0.4rem; }
.foot-col { min-width: 0; }
