/*
Theme Name: dds_voice55.com
Theme URI: https://voice55.com/
Author: Дмитрий Шелестов
Description: Тема для информационно-аналитического портала о спальных районах России: обзоры, рейтинги, ночной шум и качество сна. Тёмный «ночной пульт» с картой-сонограммой.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vcsleep
*/

/* ---------- Скрытые элементы (до основных стилей) ---------- */
.cookie-banner[hidden] { display: none !important; }
[hidden] { display: none !important; }

/* ---------- Токены ---------- */
:root {
    --v5-bg: #0B1418;
    --v5-grid: #16323A;
    --v5-head: #102229;
    --v5-foot: #070E11;
    --v5-text: #DDE6E4;
    --v5-muted: #6E8A8C;
    --v5-lime: #B8F04A;
    --v5-amber: #E8A34A;
    --v5-line: #24424A;
    --v5-panel: #122A31;
    --v5-panel-2: #1A2027;
    --v5-aside: #0F2026;
    --v5-cut: 18px;
    --v5-f-head: 'Oswald', 'Roboto Condensed', 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
    --v5-f-text: 'IBM Plex Sans', 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--v5-bg);
    background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(22, 50, 58, .55) 39px 40px);
    color: var(--v5-text);
    font-family: var(--v5-f-text);
    font-size: 16px;
    line-height: 1.65;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--v5-text); text-decoration: underline; text-decoration-color: var(--v5-muted); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--v5-lime); text-decoration-color: var(--v5-lime); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--v5-lime); outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--v5-f-head); font-weight: 500; line-height: 1.15; margin: 1.6em 0 .6em; color: #F0F5F3; }
p, li, h1, h2, h3, h4, h5, h6, td, th, figcaption, blockquote, .v5-card__title { overflow-wrap: break-word; hyphens: auto; }
.v5-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v5-skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--v5-lime); color: var(--v5-bg); padding: .6rem 1rem; }
.v5-skip:focus { left: 1rem; top: 1rem; }

.v5-shell { width: min(92%, 1240px); margin-inline: auto; }
.v5-main { padding-bottom: 4rem; }

/* ---------- Кнопки ---------- */
.v5-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 2.6rem; padding: .55rem 1.4rem;
    border: 1px solid var(--v5-lime); border-radius: 0;
    background: transparent; color: var(--v5-lime);
    font-family: var(--v5-f-head); font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
    text-decoration: none; cursor: pointer; text-align: center;
    transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.v5-btn:hover { background: var(--v5-lime); color: var(--v5-bg); box-shadow: 4px 4px 0 var(--v5-line); transform: translate(-2px, -2px); }
.v5-btn--fill { background: var(--v5-lime); color: var(--v5-bg); }
.v5-btn--fill:hover { background: transparent; color: var(--v5-lime); }

/* ---------- Шапка ---------- */
.v5-top { background: var(--v5-head); position: relative; }
.v5-top__row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0 1.1rem; flex-wrap: wrap; }
.v5-brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; min-width: 0; flex: 1 1 26rem; max-width: 40rem; }
.v5-brand:hover { color: var(--v5-text); }
.v5-brand__mark { flex: 0 0 56px; width: 56px; height: 56px; display: block; }
.v5-brand__mark svg, .v5-brand__mark img { width: 56px; height: 56px; display: block; object-fit: contain; }
.v5-brand__text { display: flex; flex-direction: column; min-width: 0; }
.v5-brand__name { font-family: var(--v5-f-head); font-size: 1.05rem; line-height: 1.25; color: #F0F5F3; letter-spacing: .02em; }
.v5-brand__desc { font-size: .76rem; line-height: 1.45; color: var(--v5-muted); margin-top: .3rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.v5-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 2.2rem; }
.v5-nav__list a {
    display: block; padding: .45rem 0; position: relative;
    font-family: var(--v5-f-head); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--v5-text); text-decoration: none;
}
.v5-nav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--v5-lime); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.v5-nav__list a:hover { color: var(--v5-lime); }
.v5-nav__list a:hover::after,
.v5-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.v5-nav__list .current-menu-item > a { color: var(--v5-lime); }

.v5-burger { display: none; align-items: center; gap: .6rem; background: transparent; border: 1px solid var(--v5-line); color: var(--v5-text); padding: .5rem .9rem; font-family: var(--v5-f-head); letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; cursor: pointer; border-radius: 0; }
.v5-burger__lines, .v5-burger__lines::before, .v5-burger__lines::after { display: block; width: 18px; height: 2px; background: var(--v5-lime); position: relative; }
.v5-burger__lines::before, .v5-burger__lines::after { content: ''; position: absolute; left: 0; }
.v5-burger__lines::before { top: -6px; }
.v5-burger__lines::after { top: 6px; }

.v5-sono {
    height: 30px;
    background: url('images/sonogram.svg') repeat-x left bottom;
    border-bottom: 1px solid var(--v5-line);
}

/* ---------- Плашки со срезанными углами ---------- */
.v5-panel {
    position: relative;
    isolation: isolate;
    padding: 2.4rem 2.4rem;
    margin: 0 0 1.6rem;
}
.v5-panel::before, .v5-panel::after {
    content: '';
    position: absolute;
    clip-path: polygon(0 0, calc(100% - var(--v5-cut)) 0, 100% var(--v5-cut), 100% 100%, var(--v5-cut) 100%, 0 calc(100% - var(--v5-cut)));
    pointer-events: none;
}
.v5-panel::before { inset: 0; background: var(--v5-line); z-index: -2; }
.v5-panel::after { inset: 1px; background: linear-gradient(180deg, #0F242A 0%, #0C1C21 100%); z-index: -1; }

.v5-front { width: 100%; padding-top: 2rem; }

/* ---------- Заголовки секций ---------- */
.v5-kicker {
    display: flex; align-items: center; gap: 1.1rem;
    margin: 0 0 1.4rem;
    font-family: var(--v5-f-head); font-weight: 500; font-size: 1.4rem;
    letter-spacing: .24em; text-transform: uppercase; color: #F0F5F3;
}
.v5-kicker::before { content: ''; flex: 0 0 42px; height: 3px; background: var(--v5-lime); }
.v5-display {
    font-family: var(--v5-f-head); font-weight: 600; text-transform: uppercase;
    font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: .98; letter-spacing: .01em;
    margin: 0; color: #F4F8F6;
}
.v5-display--page { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; }
.v5-rule { display: block; width: 64px; height: 3px; background: var(--v5-lime); margin: 1.6rem 0; }
.v5-sublabel { font-family: var(--v5-f-head); font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; color: var(--v5-muted); margin: -.4rem 0 .6rem; }

/* ---------- Блок 1: карта шума ---------- */
.v5-noise { display: grid; grid-template-columns: minmax(0, 28%) minmax(0, 1fr); gap: 2rem; align-items: center; }
.v5-noise__info { min-width: 0; }
.v5-noise__num { font-family: var(--v5-f-head); font-weight: 600; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .95; color: var(--v5-lime); margin: 0; }
.v5-noise__num span { font-size: .72em; }
.v5-noise__cap { font-size: 1.15rem; margin: .5rem 0 1.1rem; color: var(--v5-text); }
.v5-noise__note { font-size: .86rem; color: var(--v5-muted); margin: 0; }
.v5-noise__map { position: relative; margin: 0; min-width: 0; container-type: inline-size; }
.v5-noise__map img { display: block; width: 100%; aspect-ratio: 1922 / 750; object-fit: cover; }
.v5-pin {
    position: absolute; transform: translate(-50%, -50%);
    display: block; text-align: center; white-space: nowrap;
    padding: .38em .4em;
    font-family: var(--v5-f-head); font-size: clamp(9px, 1.6cqw, 15px); line-height: 1.2; letter-spacing: .04em;
    color: var(--v5-text); background: rgba(9, 22, 26, .94);
    border: 1px solid rgba(184, 240, 74, .4);
    box-shadow: 0 0 14px 6px rgba(9, 22, 26, .75);
}
.v5-pin--dim { color: var(--v5-muted); border-color: var(--v5-line); }

/* ---------- Блок 2: разрез дома ---------- */
.v5-cut { display: grid; grid-template-columns: minmax(0, 32%) minmax(0, 1fr); gap: 2.4rem; align-items: center; }
.v5-cut__text { min-width: 0; }
.v5-cut__sub { font-family: var(--v5-f-head); font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 1rem; color: var(--v5-text); }
.v5-cut__text p { font-size: .92rem; color: #BFCBC9; }
.v5-cut__fig { position: relative; margin: 0; min-width: 0; }
.v5-cut__fig img { display: block; width: 62%; aspect-ratio: 1120 / 670; object-fit: cover; }
.v5-floors { list-style: none; margin: 0; padding: 0; position: absolute; top: 0; bottom: 0; left: 63.5%; right: 0; }
.v5-floors li { position: absolute; left: 0; right: 0; transform: translateY(-50%); line-height: 1.3; padding-left: .8rem; border-left: 1px solid var(--v5-line); }
.v5-floors b { display: block; font-weight: 500; font-size: .92rem; color: var(--v5-text); }
.v5-floors span { display: block; font-size: .76rem; color: var(--v5-muted); }

/* ---------- Последние записи / карточки ---------- */
.v5-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.card, .v5-card {
    display: flex; flex-direction: column;
    position: relative; isolation: isolate; overflow: hidden; min-width: 0;
}
.v5-card::before, .v5-card::after { content: ''; position: absolute; pointer-events: none; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.v5-card::before { inset: 0; background: var(--v5-line); z-index: -2; transition: background-color .2s; }
.v5-card::after { inset: 1px; background: var(--v5-panel); z-index: -1; }
.v5-card:hover::before { background: rgba(184, 240, 74, .55); }
.v5-card__thumb { position: relative; margin: 1px 1px 0; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%); }
.v5-card__thumb a { display: block; }
.v5-card__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.v5-card:hover .v5-card__thumb img { transform: scale(1.04); }
.v5-card__ph {
    display: block; width: 100%; aspect-ratio: 16 / 9;
    background:
        url('images/sonogram.svg') repeat-x left bottom,
        repeating-linear-gradient(180deg, transparent 0 15px, rgba(184, 240, 74, .08) 15px 16px),
        radial-gradient(circle at 70% 35%, rgba(184, 240, 74, .18), transparent 40%),
        #0D1E23;
}
.card-body, .v5-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.2rem 1.4rem 1.5rem; min-width: 0; }
.v5-card__pin { align-self: flex-start; font-family: var(--v5-f-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v5-bg); background: var(--v5-amber); padding: .15rem .5rem; margin-bottom: .6rem; }
.v5-card__title { font-size: 1.25rem; margin: 0 0 .5rem; line-height: 1.2; }
.v5-card__title a { color: #F0F5F3; text-decoration: none; }
.v5-card__title a:hover { color: var(--v5-lime); }
.card-excerpt, .v5-card__excerpt { font-size: .88rem; color: #AEBDBB; flex: 1; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.v5-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1rem; }
.v5-date { font-size: .82rem; color: var(--v5-muted); letter-spacing: .04em; }
.v5-empty { color: var(--v5-muted); }

/* ---------- Блок 3: рейтинг ---------- */
.v5-rate__note { font-size: .86rem; color: var(--v5-muted); max-width: 46rem; margin-bottom: 1.4rem; }
.v5-rate { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--v5-line); }
.v5-rate li {
    display: grid; grid-template-columns: 2.4rem minmax(0, 1.4fr) minmax(0, 2fr) 3.6rem; gap: 1rem;
    align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--v5-line);
    transition: background-color .2s;
}
.v5-rate li:hover { background: rgba(184, 240, 74, .04); }
.v5-rate__n { font-family: var(--v5-f-head); color: var(--v5-muted); }
.v5-rate__name { min-width: 0; }
.v5-rate__bar {
    height: 18px;
    background:
        repeating-linear-gradient(90deg, var(--v5-amber) 0 2px, transparent 2px 5px) 0 0 / var(--v, 0%) 100% no-repeat,
        repeating-linear-gradient(90deg, #284750 0 2px, transparent 2px 5px);
}
.v5-rate__score { font-family: var(--v5-f-head); font-weight: 500; font-size: 1.4rem; color: var(--v5-amber); text-align: right; }

/* ---------- Блок 4: звуковые дорожки ---------- */
.v5-tracks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; margin-top: 1rem; }
.v5-track { margin: 0; background: var(--v5-panel-2); border: 1px solid var(--v5-line); padding: .9rem .9rem 1.1rem; min-width: 0; transition: border-color .2s, transform .2s; }
.v5-track:hover { border-color: var(--v5-lime); transform: translateY(-3px); }
.v5-track img { display: block; width: 100%; aspect-ratio: 610 / 188; object-fit: cover; }
.v5-track figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; margin-top: .9rem; padding: 0 .3rem; }
.v5-track figcaption span { font-family: var(--v5-f-head); font-size: 1.2rem; color: #F0F5F3; }
.v5-track figcaption small { font-family: var(--v5-f-head); font-size: .9rem; color: var(--v5-muted); }

/* ---------- Внутренние страницы ---------- */
.v5-crumbs { padding: 1.6rem 0 1.2rem; font-size: .82rem; color: var(--v5-muted); }
.v5-crumbs a { color: var(--v5-muted); }
.v5-crumbs a:hover { color: var(--v5-lime); }
.v5-crumbs .sep { margin: 0 .45rem; color: var(--v5-line); }
.v5-crumbs span:last-child { color: var(--v5-text); }

.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 67%) minmax(0, 27%); justify-content: space-between; align-items: start; }
.layout-single { display: block; width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }
.layout-with-sidebar .v5-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.v5-head { margin-bottom: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--v5-line); position: relative; }
.v5-head::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 64px; height: 3px; background: var(--v5-lime); }
.v5-head__lead { color: var(--v5-muted); margin: .8rem 0 0; max-width: 44rem; }

.v5-entry__head { margin-bottom: 1.6rem; }
.v5-entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1rem; }
.v5-tag { font-family: var(--v5-f-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--v5-amber); text-decoration: none; border: 1px solid rgba(232, 163, 74, .45); padding: .15rem .55rem; }
.v5-tag:hover { color: var(--v5-bg); background: var(--v5-amber); }
.v5-entry__cover { margin: 0 0 2rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.v5-entry__cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.v5-entry__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }

.v5-content { font-size: 1.02rem; color: #D2DCDA; }
.v5-content h2 { font-size: 1.8rem; }
.v5-content h3 { font-size: 1.4rem; }
.v5-content h4 { font-size: 1.15rem; }
.v5-content h2::before { content: ''; display: inline-block; width: 26px; height: 3px; background: var(--v5-lime); vertical-align: middle; margin-right: .7rem; }
.v5-content ul, .v5-content ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.v5-content li { margin-bottom: .4em; }
.v5-content ul li::marker { color: var(--v5-lime); }
.v5-content ol li::marker { color: var(--v5-amber); font-family: var(--v5-f-head); }
.v5-content img { display: block; }
.v5-content figure { margin: 1.6em 0; }
.v5-content figcaption { font-size: .82rem; color: var(--v5-muted); margin-top: .5rem; }
.v5-content blockquote {
    margin: 1.8em 0; padding: 1.4rem 1.6rem 1.4rem 1.8rem;
    background: var(--v5-panel); border-left: 3px solid var(--v5-lime);
    font-size: 1.1rem; color: var(--v5-text);
}
.v5-content blockquote p:last-child { margin-bottom: 0; }
.v5-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .92rem; border: 1px solid var(--v5-line); }
.v5-content th, .v5-content td { border: 1px solid var(--v5-line); padding: .6rem .8rem; text-align: left; }
.v5-content th { background: var(--v5-panel); font-family: var(--v5-f-head); font-weight: 500; letter-spacing: .06em; color: #F0F5F3; }
.v5-content .wp-block-table { overflow-x: auto; }
.v5-content code { background: var(--v5-panel); padding: .1em .35em; font-size: .9em; }
.v5-content pre { background: var(--v5-panel-2); border: 1px solid var(--v5-line); padding: 1rem 1.2rem; overflow-x: auto; }
.v5-content hr { border: 0; height: 30px; background: url('images/sonogram.svg') repeat-x left center; opacity: .7; margin: 2.4em 0; }
.v5-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.v5-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.v5-content .aligncenter { margin-left: auto; margin-right: auto; }
.v5-pages { margin-top: 1.4rem; font-family: var(--v5-f-head); }

.v5-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2.6rem 0; }
.v5-postnav__item { display: block; padding: 1rem 1.2rem; border: 1px solid var(--v5-line); background: var(--v5-panel); text-decoration: none; min-width: 0; }
.v5-postnav__item small { display: block; font-family: var(--v5-f-head); letter-spacing: .14em; text-transform: uppercase; color: var(--v5-muted); font-size: .74rem; }
.v5-postnav__item span { display: block; margin-top: .3rem; }
.v5-postnav__item--next { text-align: right; grid-column: 2; }
.v5-postnav__item:hover { border-color: var(--v5-lime); }

/* ---------- Пагинация ---------- */
.v5-pager { display: flex; flex-wrap: wrap; gap: .45rem; margin: 2.4rem 0 0; }
.v5-pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; min-height: 2.6rem;
    padding: .4rem .85rem; border: 1px solid var(--v5-line); background: var(--v5-panel);
    font-family: var(--v5-f-head); letter-spacing: .08em; color: var(--v5-text); text-decoration: none;
}
.v5-pager a.page-numbers:hover { border-color: var(--v5-lime); color: var(--v5-lime); }
.v5-pager .page-numbers.current { background: var(--v5-lime); border-color: var(--v5-lime); color: var(--v5-bg); }
.v5-pager .page-numbers.dots { border: 0; background: none; min-width: auto; color: var(--v5-muted); }

/* ---------- Сайдбар ---------- */
.v5-aside { min-width: 0; position: relative; isolation: isolate; padding: 1.6rem 1.5rem; background: var(--v5-aside); border: 1px solid var(--v5-line); border-top: 3px solid var(--v5-lime); color: #C9D5D3; }
.v5-aside .widget { margin-bottom: 2rem; }
.v5-aside .widget:last-child { margin-bottom: 0; }
.v5-aside .widget-title { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: #F0F5F3; }
.v5-aside .widget-title::before { content: ''; flex: 0 0 22px; height: 2px; background: var(--v5-lime); }
.v5-aside ul { list-style: none; margin: 0; padding: 0; }
.v5-aside li { padding: .6rem 0; border-bottom: 1px solid var(--v5-line); font-size: .9rem; line-height: 1.4; }
.v5-aside li:last-child { border-bottom: 0; }
.v5-aside a { color: #DDE6E4; text-decoration: none; }
.v5-aside a:hover { color: var(--v5-lime); }
.v5-aside .post-date { display: block; font-size: .76rem; color: var(--v5-muted); }
.v5-aside p, .v5-aside .textwidget { color: #C9D5D3; font-size: .9rem; }

/* ---------- Поиск ---------- */
.v5-search { display: flex; gap: .5rem; margin: 1.2rem 0; max-width: 34rem; }
.v5-search__field, .v5-comments input[type="text"], .v5-comments input[type="email"], .v5-comments input[type="url"], .v5-comments textarea {
    width: 100%; min-width: 0; padding: .65rem .9rem; border: 1px solid var(--v5-line); border-radius: 0;
    background: #0A171B; color: var(--v5-text); font: inherit; font-size: .95rem;
}
.v5-search__field::placeholder { color: var(--v5-muted); }
.v5-search__field:focus, .v5-comments input:focus, .v5-comments textarea:focus { border-color: var(--v5-lime); outline: none; }
.v5-empty-box { padding: 2rem 2rem; }
.v5-404 { text-align: left; padding: 3rem 2.6rem; }
.v5-404__code { font-family: var(--v5-f-head); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--v5-lime); margin: 0 0 .6rem; }
.v5-404 p { color: #BFCBC9; max-width: 40rem; margin-top: 1rem; }

/* ---------- Комментарии ---------- */
.v5-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--v5-line); }
.v5-comment-list, .v5-comment-list .children { list-style: none; margin: 0; padding: 0; }
.v5-comment-list .children { margin-left: 1.6rem; border-left: 1px solid var(--v5-line); padding-left: 1.2rem; }
.v5-comment__body { background: var(--v5-panel); border: 1px solid var(--v5-line); padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.v5-comment__meta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: baseline; margin-bottom: .5rem; }
.v5-comment__author { font-family: var(--v5-f-head); letter-spacing: .06em; color: #F0F5F3; }
.v5-comment__meta time { font-size: .8rem; color: var(--v5-muted); }
.v5-comment__wait { color: var(--v5-amber); font-size: .85rem; }
.v5-comment__text { font-size: .94rem; color: #CDD8D6; }
.v5-comment__reply a { font-family: var(--v5-f-head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--v5-lime); text-decoration: none; }
.comment-respond { margin-top: 2rem; }
.comment-reply-title { font-family: var(--v5-f-head); font-size: 1.3rem; letter-spacing: .14em; text-transform: uppercase; }
.comment-reply-title small { margin-left: .8rem; font-size: .8rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; font-size: .85rem; color: var(--v5-muted); margin-bottom: .3rem; }
.comment-form-cookies-consent label { display: inline; }
.comment-notes, .logged-in-as, .must-log-in { font-size: .85rem; color: var(--v5-muted); }
.comment-form .submit {
    min-height: 2.6rem; padding: .55rem 1.6rem; border: 1px solid var(--v5-lime); border-radius: 0;
    background: var(--v5-lime); color: var(--v5-bg); cursor: pointer;
    font-family: var(--v5-f-head); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase;
}
.comment-form .submit:hover { background: transparent; color: var(--v5-lime); }
.comment-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Подвал ---------- */
.v5-foot {
    background-color: var(--v5-foot);
    background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(22, 50, 58, .45) 39px 40px);
    border-top: 1px solid var(--v5-line);
    color: #A9B8B6;
}
.v5-foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 3rem 0 2rem; }
.v5-foot__col { min-width: 0; padding: 0 2.2rem; }
.v5-foot__col:first-child { padding-left: 0; }
.v5-foot__col:last-child { padding-right: 0; }
.v5-foot__col--mid { border-left: 1px solid var(--v5-line); border-right: 1px solid var(--v5-line); }
.v5-foot .widget { margin-bottom: 1.4rem; }
.v5-foot .widget-title { display: flex; align-items: center; gap: .8rem; margin: 0 0 .9rem; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: #E6EEEC; }
.v5-foot .widget-title::before { content: ''; flex: 0 0 30px; height: 3px; background: var(--v5-lime); }
.v5-foot p, .v5-foot .textwidget { font-size: .88rem; color: #A9B8B6; }
.v5-foot ul { list-style: none; margin: 0; padding: 0; }
.v5-foot li { margin: 0 0 .55rem; font-size: .9rem; }
.v5-foot a { color: #C4D1CF; text-decoration-color: var(--v5-muted); }
.v5-foot a:hover { color: var(--v5-lime); }
.v5-foot__copy { margin: 0; padding: 1.2rem 0 1rem; border-top: 1px solid var(--v5-line); font-size: .8rem; color: var(--v5-muted); }
.v5-sono--foot { opacity: .45; border-bottom: 0; }

/* ---------- Cookie ---------- */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 60;
    max-width: 50rem; margin-left: auto; margin-right: auto;
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1rem 1.3rem; background: var(--v5-head); border: 1px solid var(--v5-line); border-left: 3px solid var(--v5-lime);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.cookie-banner__text { margin: 0; font-size: .86rem; color: #C9D5D3; flex: 1; min-width: 0; }
.cookie-banner__ok { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .v5-tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .v5-burger { display: inline-flex; }
    .v5-nav { display: none; width: 100%; }
    .v5-nav.is-open { display: block; }
    .v5-nav__list { flex-direction: column; gap: 0; border-top: 1px solid var(--v5-line); }
    .v5-nav__list a { padding: .8rem 0; border-bottom: 1px solid var(--v5-line); }
    .v5-nav__list a::after { display: none; }
    .v5-brand { flex: 1 1 0; }

    .v5-noise { grid-template-columns: minmax(0, 1fr); }
    .v5-cut { grid-template-columns: minmax(0, 1fr); }
    .v5-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
    .layout-single { width: 100%; }
    .v5-foot__cols { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
    .v5-foot__col, .v5-foot__col:first-child, .v5-foot__col:last-child { padding: 0; }
    .v5-foot__col--mid { border: 0; border-top: 1px solid var(--v5-line); border-bottom: 1px solid var(--v5-line); padding: 1.4rem 0; }
}
@media (max-width: 760px) {
    .v5-cut__fig img { width: 100%; }
    .v5-floors { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.2rem; margin-top: 1.2rem; }
    .v5-floors li { position: static; transform: none; }
}
@media (max-width: 600px) {
    .v5-panel { padding: 1.6rem 1.25rem; --v5-cut: 12px; }
    .v5-404 { padding: 2rem 1.25rem; }
    .v5-empty-box { padding: 1.4rem 1.25rem; }
    .v5-kicker { font-size: 1.1rem; letter-spacing: .16em; gap: .8rem; }
    .v5-kicker::before { flex-basis: 28px; }
    .v5-grid, .layout-with-sidebar .v5-grid--list { grid-template-columns: minmax(0, 1fr); }
    .v5-tracks { grid-template-columns: minmax(0, 1fr); }
    .v5-rate li { grid-template-columns: 1.6rem minmax(0, 1fr) 3rem; padding: .7rem .4rem; }
    .v5-rate__bar { grid-column: 2 / 4; grid-row: 2; }
    .v5-floors { grid-template-columns: minmax(0, 1fr); }
    .v5-postnav { grid-template-columns: minmax(0, 1fr); }
    .v5-postnav__item--next { grid-column: auto; }
    .v5-search { flex-direction: column; }
    .cookie-banner { flex-direction: column; align-items: stretch; }
    .v5-brand__mark, .v5-brand__mark svg, .v5-brand__mark img { width: 46px; height: 46px; flex-basis: 46px; }
    .v5-brand__name { font-size: .95rem; }
    .v5-aside { padding: 1.3rem 1.2rem; }
}
