/*
Theme Name: dds_demozamau.com
Author: Алексей Данилов
Description: Тема для информационного сайта о музыке, культуре и хип-хопе.
Version: 1.1
Text Domain: dzmau
*/

/* ============ 1. Переменные ============ */

:root {
    --bg: #0E0D15;
    --bg-alt: #18172B;
    --bg-foot: #08070F;
    --bg-side: #12111F;
    --bg-card: #141326;
    --txt: #F0F0F8;
    --acc: #00F0FF;
    --acc2: #FF5E3A;
    --mut: #7A7A9E;
    --line: #2A2945;
    --chev: #1C1B30;
}

/* ============ 2. Скрытие через атрибут hidden ============ */

.cookie-banner[hidden] { display: none !important; }
.nav-list[hidden] { display: none !important; }
.faq-body[hidden] { display: none !important; }

/* ============ 3. База ============ */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image:
        radial-gradient(circle at 100% 100%, rgba(0, 240, 255, 0.09), rgba(0, 240, 255, 0) 45%),
        repeating-linear-gradient(45deg, var(--chev) 0 0.5px, rgba(0, 0, 0, 0) 0.5px 40px),
        repeating-linear-gradient(-45deg, var(--chev) 0 0.5px, rgba(0, 0, 0, 0) 0.5px 40px);
    background-attachment: fixed;
    background-repeat: no-repeat, repeat, repeat;
    color: var(--txt);
    font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat Alternates", "Avenue", "Arial Black", "Segoe UI", Impact, sans-serif;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0.02em;
    margin: 0 0 0.7em;
    color: var(--txt);
}

h1 { font-size: 4.2rem; letter-spacing: 0.03em; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.15em; }

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

.entry-content a,
.wbox a,
.crumbs a,
.card-title a,
.site-footer a {
    background-image: linear-gradient(var(--acc), var(--acc));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size 0.25s ease, color 0.2s ease;
}

.entry-content a:hover,
.wbox a:hover,
.crumbs a:hover,
.card-title a:hover,
.site-footer a:hover { background-size: 100% 1px; }

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

blockquote {
    margin: 1.8rem 0;
    padding: 1.4rem 1.6rem;
    background: var(--bg-alt);
    border: 2px solid var(--acc);
    box-shadow: inset 0 0 0 1px var(--acc2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%);
}

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

code, pre {
    font-family: "JetBrains Mono", "Consolas", monospace;
    background: #0B0A14;
    color: var(--acc);
}

pre { padding: 1rem 1.2rem; overflow-x: auto; border: 1px solid var(--line); }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6rem 0;
    border: 1px solid var(--line);
}

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

th { background: var(--bg-alt); color: var(--acc); }

hr { border: 0; height: 2px; background: var(--line); margin: 2.4rem 0; }

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

.skip-link { position: absolute; left: -9999px; }

/* ============ 4. Кнопки ============ */

.btn {
    display: inline-block;
    padding: 0.85rem 1.7rem;
    font-family: "Montserrat Alternates", "Arial Black", sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0E0D15;
    background: var(--acc);
    border: 2px solid var(--acc2);
    border-radius: 8px 0 0 8px;
    box-shadow: inset 0 0 0 1px #0E0D15;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.btn:hover,
.btn:focus {
    transform: translate(3px, 3px);
    background: var(--acc2);
    color: #FFF6F2;
    box-shadow: 6px 6px 0 rgba(0, 240, 255, 0.55), inset 0 0 0 1px #0E0D15;
}

.btn-ghost {
    background: rgba(0, 240, 255, 0.06);
    color: var(--acc);
    border-color: var(--acc);
    box-shadow: inset 0 0 0 1px var(--acc2);
}

.btn-ghost:hover,
.btn-ghost:focus {
    background: var(--acc);
    color: #0E0D15;
    box-shadow: 6px 6px 0 rgba(255, 94, 58, 0.6), inset 0 0 0 1px #0E0D15;
}

/* ============ 5. Заголовки секций ============ */

.sec-title {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 2.1rem;
    letter-spacing: 0.05em;
    margin: 0 0 1.6rem;
}

.sec-title::before {
    content: "";
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    background: var(--acc2);
}

.sec-title::after {
    content: "";
    flex: 1 1 auto;
    min-width: 30px;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.55) 0 7px, rgba(0, 0, 0, 0) 7px 15px);
}

.divider {
    height: 2px;
    margin: 0;
    background: repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.4) 0 3px, rgba(0, 0, 0, 0) 3px 6px, rgba(0, 240, 255, 0.4) 6px 9px, rgba(0, 0, 0, 0) 9px 18px);
}

.zigzag {
    height: 14px;
    background-image:
        linear-gradient(45deg, var(--acc2) 25%, rgba(0, 0, 0, 0) 25%),
        linear-gradient(-45deg, var(--acc2) 25%, rgba(0, 0, 0, 0) 25%);
    background-size: 22px 22px;
    background-position: 0 0;
    opacity: 0.75;
}

/* ============ 6. Шапка ============ */

.site-header {
    position: relative;
    z-index: 5;
    background: rgba(14, 13, 21, 0.55);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
    border-bottom: 1px solid var(--line);
}

.head-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.4rem;
    padding: 1.1rem 0;
    flex-wrap: wrap;
}

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

.brand-logo { max-height: 62px; width: auto; }

.brand-mark { flex: 0 0 auto; }

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

.brand-name {
    display: block;
    font-family: "Montserrat Alternates", "Arial Black", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    color: var(--txt);
    line-height: 1.25;
    max-width: 520px;
}

.brand-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--mut);
    line-height: 1.45;
    max-width: 520px;
    margin-top: 0.25rem;
}

.nav-toggle {
    display: none;
    background: rgba(0, 240, 255, 0.08);
    color: var(--acc);
    border: 2px solid var(--acc);
    padding: 0.5rem 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    cursor: pointer;
}

.main-nav { min-width: 0; }

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

.nav-list a {
    display: inline-block;
    position: relative;
    padding: 0.3rem 0;
    color: var(--txt);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--acc);
    transition: width 0.25s ease;
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after { width: 100%; }

.nav-list .current-menu-item > a { color: var(--acc); }

/* ============ 7. Каркас страниц ============ */

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

.layout-single {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67%) minmax(0, 27%);
    justify-content: space-between;
    gap: 2.4rem;
    align-items: start;
}

.content-area { min-width: 0; }

.crumbs {
    font-size: 0.85rem;
    color: var(--mut);
    margin-bottom: 1.6rem;
    letter-spacing: 0.03em;
}

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

.crumbs .sep { color: var(--acc2); margin: 0 0.35rem; }

.page-head { margin-bottom: 2rem; }

.page-head h1 { font-size: 2.9rem; }

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

.entry-content h2 { margin-top: 2rem; font-size: 1.9rem; }

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

.entry-content img { margin: 1.4rem 0; }

.entry-content ul li,
.entry-content ol li { margin-bottom: 0.5rem; }

/* ============ 8. Сайдбар и виджеты ============ */

.sidebar { min-width: 0; }

.wbox {
    background: var(--bg-side);
    border: 1px solid var(--line);
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.6rem;
    color: var(--txt);
}

.wbox-title {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--acc);
    color: var(--txt);
}

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

.wbox li { margin-bottom: 0.7rem; padding-left: 1.1rem; position: relative; }

.wbox li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 7px;
    height: 7px;
    background: var(--acc2);
}

.wbox a { color: var(--txt); }

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

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

.wbox p { color: var(--txt); margin-bottom: 0.8rem; }

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

.site-footer .wbox {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #201F38;
    color: #E6E6F2;
}

.site-footer .wbox-title { color: #FFFFFF; border-bottom-color: var(--acc2); }

.site-footer .wbox a { color: #E6E6F2; }

.site-footer .wbox a:hover { color: var(--acc); }

.site-footer .wbox p,
.site-footer .wbox li { color: #E6E6F2; }

.site-footer .wbox .post-date { color: #9C9CBC; }

/* ============ 9. Карточки записей ============ */

.card-list { display: flex; flex-direction: column; gap: 1.8rem; }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: 0 8px 0 rgba(0, 240, 255, 0.2);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--acc2);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 0 rgba(0, 240, 255, 0.55);
}

.card:hover::before { opacity: 1; }

.card-inner { display: flex; flex: 1; align-items: stretch; min-width: 0; }

.card-thumb-wrap {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    min-height: 210px;
    background: #10101F;
    clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 0 100%);
}

.card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-thumb-ph {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(90deg, rgba(0, 240, 255, 0.22) 0 4px, rgba(0, 0, 0, 0) 4px 12px),
        linear-gradient(140deg, #1B1A33, #0F0E1C);
}

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

.card-title { font-size: 1.35rem; margin: 0 0 0.6rem; }

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

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

.card-excerpt { color: #C9C9DE; font-size: 0.97rem; }

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

.card-more { margin-top: auto; padding-top: 1rem; }

.pmeta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
}

.pmeta-num {
    font-family: "Montserrat Alternates", "Arial Black", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--acc2);
    padding-right: 0.9rem;
    border-right: 2px solid var(--line);
}

.pmeta-cat { color: var(--mut); text-transform: uppercase; }

.pmeta-cat:hover { color: var(--acc); }

/* ============ 10. Главная ============ */

.fs { padding: 3.4rem 0; }

.fs-alt {
    background-image: linear-gradient(160deg, var(--bg-alt), #1B1735);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fs-inner {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* Блок 1 — hero */

.fs-hero {
    padding: 4.2rem 0 4rem;
    background-image: linear-gradient(115deg, #221A3C 0%, #14122A 45%, #0E0D15 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.fs-hero::after {
    content: "";
    position: absolute;
    left: -10%;
    top: 55%;
    width: 120%;
    height: 2px;
    background: var(--acc);
    opacity: 0.55;
    transform: rotate(-8deg);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.4rem;
    align-items: center;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--acc2);
    border: 1px solid var(--acc2);
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.2rem;
}

.hero-title { margin-bottom: 1.1rem; }

.hero-desc { color: #CFCFE4; font-size: 1.05rem; max-width: 42em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

.hero-art { min-width: 0; }

.hero-art svg { width: 100%; height: auto; display: block; opacity: 0.85; }

/* Блок 2 — шаги */

.steps { list-style: none; margin: 0; padding: 0; position: relative; }

.step {
    position: relative;
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 1.4rem;
    padding: 0 0 2.1rem 0;
}

.step:last-child { padding-bottom: 0; }

.step::before {
    content: "";
    position: absolute;
    left: 36px;
    top: 74px;
    bottom: 0.5rem;
    width: 2px;
    background: repeating-linear-gradient(180deg, var(--acc) 0 6px, rgba(0, 0, 0, 0) 6px 13px);
}

.step:last-child::before { display: none; }

.step-num {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat Alternates", "Arial Black", sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--acc2);
    border: 2px solid var(--acc2);
    background: rgba(255, 94, 58, 0.07);
}

.step-body { min-width: 0; padding-top: 0.3rem; }

.step-body h3 { margin-bottom: 0.4rem; }

.step-body p { color: #C9C9DE; margin: 0; }

/* Блок 3 — сетка карточек-рубрик */

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

.tile {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--line);
    padding: 1.9rem 1.7rem;
    box-shadow: 0 8px 0 rgba(0, 240, 255, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    min-width: 0;
}

.tile::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: var(--acc2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.tile:hover {
    transform: translate(4px, -6px);
    box-shadow: 0 10px 0 rgba(0, 240, 255, 0.5);
}

.tile:hover::before { transform: scaleX(1); }

.tile-ico { margin-bottom: 1rem; }

.tile-ico svg { display: block; }

.tile h3 { font-size: 1.3rem; letter-spacing: 0.03em; margin-bottom: 0.5rem; }

.tile p { color: #C9C9DE; margin: 0; font-size: 0.97rem; }

/* Блок 4 — цитата */

.fs-quote {
    padding: 3.6rem 0 3.9rem;
    background-color: #14122A;
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0 1px, rgba(0, 0, 0, 0) 1px 40px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0 1px, rgba(0, 0, 0, 0) 1px 40px),
        linear-gradient(135deg, #1C1738 0%, #0C0B18 100%);
    box-shadow: 0 22px 44px rgba(0, 240, 255, 0.08);
    border-top: 1px solid var(--line);
}

.quote-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 1.6rem;
    align-items: center;
    padding: 2.4rem 2.2rem;
    border: 2px solid var(--acc);
    box-shadow: inset 0 0 0 1px var(--acc2);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
    background: rgba(10, 9, 20, 0.55);
}

.quote-text {
    position: relative;
    min-width: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    line-height: 1.45;
    color: #F4F4FC;
    padding-left: 3rem;
}

.quote-text::before {
    content: "\201C";
    position: absolute;
    left: -0.2rem;
    top: -1.4rem;
    font-family: Georgia, serif;
    font-size: 6rem;
    line-height: 1;
    color: var(--acc2);
}

.quote-text::after {
    content: "\201D";
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 0;
    position: relative;
    top: 1.4rem;
    color: var(--acc2);
    margin-left: 0.2rem;
}

.quote-sign { display: block; margin-top: 1rem; font-family: inherit; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mut); }

.quote-rhomb {
    width: 96px;
    height: 96px;
    justify-self: center;
    border: 2px solid var(--acc2);
    box-shadow: inset 0 0 0 8px rgba(0, 240, 255, 0.16);
    transform: rotate(45deg);
}

.fs-latest .card-list { margin-top: 0.4rem; }

.fs-cta-row { margin-top: 2rem; }

/* ============ 11. Пагинация ============ */

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 2.6rem 0 0;
}

.pager .page-numbers {
    display: inline-block;
    padding: 0.55rem 1rem;
    border: 2px solid var(--line);
    color: var(--txt);
    font-weight: 700;
    letter-spacing: 0.04em;
    background: var(--bg-card);
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.pager .page-numbers:hover {
    border-color: var(--acc);
    color: var(--acc);
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 rgba(255, 94, 58, 0.5);
}

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

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

/* ============ 12. Формы поиска и комментарии ============ */

.searchform { display: flex; gap: 0.5rem; }

.searchform input[type="search"],
.searchform input[type="text"] {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.9rem;
    background: #0B0A16;
    border: 2px solid var(--line);
    color: var(--txt);
    font-size: 0.95rem;
}

.searchform input:focus { outline: none; border-color: var(--acc); }

.searchform button {
    padding: 0.7rem 1.2rem;
    background: var(--acc);
    color: #0E0D15;
    border: 2px solid var(--acc2);
    font-weight: 800;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.searchform button:hover { background: var(--acc2); color: #FFF6F2; }

.comments-area {
    margin-top: 3rem;
    padding: 1.9rem 1.8rem;
    background: var(--bg-alt);
    border: 1px solid var(--line);
}

.comments-area h2 { font-size: 1.5rem; }

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

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

.cmt {
    padding: 1.1rem 1.2rem;
    margin-bottom: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--line);
}

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

.cmt-author { font-weight: 800; color: var(--acc); letter-spacing: 0.03em; }

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

.cmt-body p:last-child { margin-bottom: 0; }

.cmt-reply a { font-size: 0.85rem; color: var(--acc2); }

.cmt-wait { color: var(--acc2); font-size: 0.9rem; }

.comment-respond label { display: block; font-size: 0.88rem; color: var(--mut); margin-bottom: 0.3rem; }

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    margin-bottom: 1rem;
    background: #0B0A16;
    border: 2px solid var(--line);
    color: var(--txt);
    font-family: inherit;
    font-size: 0.95rem;
}

.comment-respond textarea { min-height: 150px; }

.comment-respond input:focus,
.comment-respond textarea:focus { outline: none; border-color: var(--acc); }

.comment-respond .submit {
    display: inline-block;
    padding: 0.85rem 1.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0E0D15;
    background: var(--acc);
    border: 2px solid var(--acc2);
    cursor: pointer;
}

.comment-respond .submit:hover { background: var(--acc2); color: #FFF6F2; }

.comment-form-cookies-consent { display: flex; align-items: center; gap: 0.5rem; }

.comment-form-cookies-consent label { margin: 0; }

/* ============ 13. Подвал ============ */

.site-footer {
    background: var(--bg-foot);
    border-top: 2px solid var(--line);
    padding: 2.8rem 0 1.6rem;
    color: #E6E6F2;
}

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

.foot-bottom {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid #1B1A2E;
    font-size: 0.86rem;
    color: #9C9CBC;
}

/* ============ 14. Cookie-баннер ============ */

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1rem 1.6rem;
    background: #10101F;
    border-top: 2px solid var(--acc);
    box-shadow: 0 -8px 0 rgba(0, 240, 255, 0.15);
}

.cookie-banner p { margin: 0; font-size: 0.9rem; color: #DCDCEC; max-width: 62em; }

/* ============ 15. 404 ============ */

.err-code {
    font-family: "Montserrat Alternates", "Arial Black", sans-serif;
    font-size: 7rem;
    line-height: 1;
    color: var(--acc2);
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
}

.err-box { max-width: 44em; }

.err-box .searchform { margin: 1.6rem 0; }

/* ============ 16. Адаптив ============ */

@media (max-width: 960px) {
    h1 { font-size: 3rem; }
    .page-head h1 { font-size: 2.3rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .layout-single { width: 100%; }
    .fs-inner { width: 100%; }
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-art { order: -1; }
    .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quote-box { grid-template-columns: minmax(0, 1fr); }
    .quote-rhomb { justify-self: start; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 2.3rem; }
    h2, .sec-title { font-size: 1.6rem; }
    .site-main { padding: 1.8rem 0 2.4rem; }
    .fs { padding: 2.4rem 0; }
    .fs-hero { padding: 2.6rem 0; }
    .fs-quote { padding: 2.4rem 0; }

    .nav-toggle { display: inline-block; }
    .main-nav { width: 100%; }
    .nav-list { flex-direction: column; gap: 0; margin-top: 0.8rem; }
    .nav-list li { border-bottom: 1px solid var(--line); }
    .nav-list a { display: block; padding: 0.65rem 0; }

    .card-inner { flex-direction: column; }
    .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
        min-height: 0;
        clip-path: none;
    }
    .card-thumb-wrap a { position: static; }
    .card-thumb-wrap img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
    .card-thumb-ph { position: relative; width: 100%; aspect-ratio: 16 / 9; }
    .card-body { padding: 1.2rem 1.2rem; }

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

    .step { grid-template-columns: 56px minmax(0, 1fr); gap: 1rem; }
    .step-num { width: 56px; height: 56px; font-size: 1.5rem; }
    .step::before { left: 27px; top: 56px; }

    .quote-box { padding: 1.8rem 1.4rem; }
    .quote-text { font-size: 1.3rem; padding-left: 2rem; }
    .quote-text::before { font-size: 4.4rem; top: -1rem; }

    .comments-area { padding: 1.3rem 1.2rem; }
    .cookie-banner { padding: 1rem 1.2rem; }
    .err-code { font-size: 4.4rem; }
}
