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

:root {
    --bg: #F4F0F8;
    --bg-alt: #E8E2F0;
    --head-bg: #2A2533;
    --foot-bg: #1E1A26;
    --side-bg: #FCFAFE;
    --ink: #1E1A26;
    --lav: #A78BFA;
    --mint: #6EE7B7;
    --mute: #9A8EAB;
    --line: #DCD3E8;
    --head-font: "Inter", "Segoe UI Semibold", "Arial Narrow", Helvetica, sans-serif;
    --body-font: "DM Sans", "Lexend", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- база ---------- */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--bg);
    background-image: repeating-linear-gradient(
        90deg,
        rgba(167, 139, 250, 0.07) 0px,
        rgba(167, 139, 250, 0.07) 1px,
        transparent 1px,
        transparent 13px,
        rgba(110, 231, 183, 0.05) 13px,
        rgba(110, 231, 183, 0.05) 14px,
        transparent 14px,
        transparent 27px
    );
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 17px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body::after {
    content: "";
    position: fixed;
    right: -60px;
    bottom: -60px;
    width: 340px;
    height: 340px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23A78BFA' stroke-width='3'%3E%3Ccircle cx='100' cy='100' r='96'/%3E%3Ccircle cx='100' cy='100' r='78'/%3E%3Ccircle cx='100' cy='100' r='62'/%3E%3Ccircle cx='100' cy='100' r='46'/%3E%3Ccircle cx='100' cy='100' r='30'/%3E%3Ccircle cx='100' cy='100' r='9'/%3E%3C/g%3E%3C/svg%3E");
}

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

a {
    color: #7C5CD6;
    text-decoration: none;
    position: relative;
}

.entry-content a,
.widget-box a,
.site-desc a {
    background-image: linear-gradient(90deg, var(--lav), var(--lav));
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 0% 1px;
    transition: background-size 0.25s ease;
}

.entry-content a:hover,
.widget-box a:hover,
.site-desc a:hover {
    background-size: 100% 1px;
}

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

h1 { font-size: 4.2rem; text-transform: uppercase; letter-spacing: -0.03em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.15em; }

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

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

blockquote {
    position: relative;
    margin: 1.8rem 0;
    padding: 1.4rem 1.6rem 1.4rem 2.1rem;
    background: #FCFAFE;
    border-left: 5px solid var(--mint);
    border-radius: 0 4px 4px 0;
    font-size: 1.08rem;
}
blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 5px;
    background: var(--lav);
}
blockquote p:last-child { margin-bottom: 0; }

code, pre {
    font-family: "SFMono-Regular", Consolas, monospace;
    background: var(--bg-alt);
    font-size: 0.92em;
}
pre { padding: 1rem; overflow-x: auto; border-radius: 4px; }

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

.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

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

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

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

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

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

.btn {
    display: inline-block;
    font-family: var(--head-font);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 0.78rem 1.6rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease, color 0.2s ease;
}

.btn-main {
    color: #17131F;
    background: linear-gradient(100deg, var(--lav) 0%, var(--mint) 100%);
}
.btn-main:hover {
    transform: translateY(-2px);
    background: linear-gradient(100deg, var(--mint) 0%, var(--lav) 100%);
    box-shadow: inset 0 -3px 10px rgba(30, 26, 38, 0.22), 0 8px 18px rgba(124, 92, 214, 0.28);
}

.btn-ghost {
    color: var(--ink);
    border: 1px solid var(--lav);
    background: transparent;
}
.btn-ghost:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 -3px 10px rgba(167, 139, 250, 0.18);
    border-color: var(--mint);
}

.btn-ghost-light {
    color: #F5F1FB;
    border-color: rgba(167, 139, 250, 0.8);
}
.btn-ghost-light:hover { border-color: var(--mint); }

.btn-light {
    color: #17131F;
    background: linear-gradient(100deg, var(--lav) 0%, var(--mint) 100%);
}
.btn-light:hover {
    transform: translateY(-2px);
    background: linear-gradient(100deg, var(--mint) 0%, var(--lav) 100%);
    box-shadow: inset 0 -3px 10px rgba(30, 26, 38, 0.22);
}

/* ---------- шапка ---------- */

.site-head {
    background: var(--head-bg);
    color: #F3EFFA;
    position: relative;
    z-index: 2;
}
.site-head::after {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--lav) 0%, var(--mint) 100%);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-width: 0;
}
.brand-mark { flex: 0 0 auto; display: block; line-height: 0; }
.brand-logo { display: block; width: 54px; height: auto; }
.brand-text { min-width: 0; }
.site-name {
    font-family: var(--head-font);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.3;
}
.site-name a { color: #F3EFFA; }
.site-name a:hover { color: var(--mint); }
.site-desc {
    margin: 0.25rem 0 0;
    font-size: 0.83rem;
    color: #B6ABC9;
    line-height: 1.45;
    max-width: 46ch;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(167, 139, 250, 0.6);
    color: #F3EFFA;
    border-radius: 4px;
    padding: 0.55rem 0.9rem;
    font-family: var(--head-font);
    font-size: 0.9rem;
    cursor: pointer;
}

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

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
}
.main-nav li { margin: 0; }
.main-nav a {
    color: #E6DFF4;
    font-family: var(--head-font);
    font-size: 0.98rem;
    letter-spacing: 0.01em;
    display: inline-block;
    padding-bottom: 3px;
    background-image: linear-gradient(90deg, var(--mint), var(--lav));
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: 0% 2px;
    transition: background-size 0.25s ease, color 0.2s ease;
}
.main-nav a:hover { color: #fff; background-size: 100% 2px; }
.main-nav .current-menu-item > a { color: var(--mint); background-size: 100% 2px; }

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

.trail {
    font-size: 0.86rem;
    color: var(--mute);
    padding: 1.4rem 0 0;
}
.trail a { color: #7C5CD6; }
.trail a:hover { color: var(--ink); }
.trail-sep { color: var(--lav); margin: 0 0.15rem; }

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

.sec-head {
    position: relative;
    margin-bottom: 2.2rem;
    padding-right: 90px;
}
.sec-title {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    padding-left: 1.5rem;
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
}
.sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.16em;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--mint);
}
.sec-title::after {
    content: "";
    display: block;
    width: 50%;
    height: 3px;
    margin-top: 0.65rem;
    background: linear-gradient(90deg, var(--lav) 0 50%, var(--mint) 50% 100%);
}
.sec-blob {
    position: absolute;
    right: 0;
    top: -18px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(167, 139, 250, 0.45), rgba(110, 231, 183, 0.18) 60%, transparent 72%);
    pointer-events: none;
}
.sec-note {
    margin: 1rem 0 0;
    color: var(--mute);
    max-width: 70ch;
}

.entry-content h2,
.comments-area h2 {
    position: relative;
    padding-left: 1.4rem;
}
.entry-content h2::before,
.comments-area h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.18em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--mint);
}

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

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

.front-section { margin-bottom: 120px; }
.front-section:last-child { margin-bottom: 0; }

.dotted-split {
    height: 0;
    border: 0;
    border-top: 2px dotted var(--lav);
    opacity: 0.55;
    margin: 0 0 120px;
}

/* блок 1 — hero */
.fs-hero {
    position: relative;
    overflow: hidden;
    background: var(--head-bg);
    color: #F5F1FB;
    border-radius: 4px;
    padding: 4.6rem 3rem 4.2rem;
}
.fs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.55;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 500' preserveAspectRatio='none'%3E%3Cg stroke='%23A78BFA' stroke-width='2' fill='none' opacity='0.5'%3E%3Cpath d='M0 250 L40 250 L52 180 L64 320 L76 210 L88 290 L104 250 L150 250 L162 140 L174 360 L186 230 L198 270 L214 250 L280 250 L292 190 L304 310 L316 240 L332 250 L400 250 L412 120 L424 380 L436 220 L448 280 L466 250 L540 250 L552 200 L564 300 L576 250 L640 250 L652 160 L664 340 L676 230 L692 250 L760 250 L772 210 L784 290 L796 250 L860 250 L872 130 L884 370 L896 240 L912 250 L980 250 L992 190 L1004 310 L1016 250 L1080 250 L1092 220 L1104 280 L1120 250 L1200 250'/%3E%3C/g%3E%3Cg fill='%236EE7B7' opacity='0.16'%3E%3Crect x='60' y='60' width='210' height='6'/%3E%3Crect x='300' y='420' width='260' height='5'/%3E%3Crect x='820' y='96' width='180' height='7'/%3E%3Crect x='640' y='400' width='120' height='4'/%3E%3C/g%3E%3Cg fill='%23A78BFA' opacity='0.12'%3E%3Crect x='120' y='330' width='300' height='10'/%3E%3Crect x='700' y='150' width='340' height='8'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-body { position: relative; z-index: 1; max-width: 66ch; }
.hero-kicker {
    font-family: var(--head-font);
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--mint);
    margin: 0 0 1.1rem;
}
.fs-hero h1 {
    font-size: 4.2rem;
    margin: 0 0 1.4rem;
    color: #FFFFFF;
}
.hero-sub {
    margin: 0 0 2rem 22%;
    font-size: 1rem;
    color: #CFC5E2;
    max-width: 46ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* блок 2 — таймлайн */
.fs-timeline {
    background: var(--bg-alt);
    background-image: linear-gradient(160deg, rgba(244, 240, 248, 0.9) 0%, rgba(232, 226, 240, 0.2) 55%, rgba(167, 139, 250, 0.16) 100%);
    border-radius: 4px;
    padding: 3.2rem 2.6rem 3.4rem;
    position: relative;
    overflow: hidden;
}
.fs-timeline::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 190px;
    height: 190px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.22), rgba(110, 231, 183, 0.1));
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    pointer-events: none;
}
.tl-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 3.6rem;
    position: relative;
}
.tl-list::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 8px;
    bottom: 8px;
    width: 0;
    border-left: 3px dotted var(--mint);
}
.tl-item {
    position: relative;
    margin: 0 0 2.1rem;
    min-width: 0;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-mark {
    position: absolute;
    left: -3.6rem;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FCFAFE;
    border: 2px solid var(--lav);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--head-font);
    font-size: 0.86rem;
    font-weight: 700;
    color: #5B4A86;
    line-height: 1.1;
    text-align: center;
}
.tl-item h3 { margin: 0.35rem 0 0.4rem; font-size: 1.2rem; }
.tl-item p { margin: 0; color: #4A4257; }

/* блок 3 — рубрикатор */
.rubric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.4rem;
}
.rubric-tile {
    display: block;
    min-width: 0;
    padding: 2.1rem 1.9rem;
    border-radius: 4px;
    border: 1px solid rgba(167, 139, 250, 0.55);
    background: rgba(252, 250, 254, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--ink);
    transition: background 0.3s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.rubric-tile svg { display: block; margin-bottom: 1rem; }
.rubric-tile .rt-name {
    font-family: var(--head-font);
    font-size: 1.22rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}
.rubric-tile .rt-desc { font-size: 0.92rem; color: var(--mute); display: block; }
.rubric-tile:hover {
    background: var(--lav);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(124, 92, 214, 0.25);
}
.rubric-tile:hover .rt-desc { color: rgba(255, 255, 255, 0.85); }
.rubric-tile:hover svg { stroke: #FFFFFF; }

/* блок 4 — статистика */
.fs-stats {
    padding: 3rem 2.4rem;
    border: 1px solid var(--lav);
    border-radius: 4px;
    background: var(--bg);
    background-image: linear-gradient(180deg, rgba(167, 139, 250, 0.09), rgba(244, 240, 248, 0));
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    margin-top: 0.6rem;
}
.stat-cell {
    min-width: 0;
    text-align: center;
    padding: 0.6rem 0.8rem;
    border-left: 1px solid rgba(167, 139, 250, 0.5);
}
.stat-cell:first-child { border-left: 0; }
.stat-num {
    display: block;
    font-family: var(--head-font);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--lav);
    letter-spacing: -0.04em;
}
.stat-cap {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.83rem;
    color: var(--mute);
    line-height: 1.4;
}

/* лента последних записей на главной */
.front-latest .cards-grid { margin-top: 0.4rem; }
.front-latest .latest-more { margin-top: 2.2rem; }

/* ---------- карточки ---------- */

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

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #FFFFFF;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(90, 62, 150, 0.14);
    outline: 1px solid transparent;
    outline-offset: -1px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, outline-color 0.25s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(90, 62, 150, 0.22);
    outline-color: var(--lav);
}

.card-thumb {
    position: relative;
    display: block;
    overflow: hidden;
}
.card-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 0% 0%, rgba(167, 139, 250, 0.42), transparent 32%),
        radial-gradient(circle at 100% 0%, rgba(167, 139, 250, 0.3), transparent 30%),
        radial-gradient(circle at 0% 100%, rgba(110, 231, 183, 0.26), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(167, 139, 250, 0.34), transparent 32%);
}
.card-thumb-empty {
    display: block;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at 22% 30%, rgba(167, 139, 250, 0.5), transparent 55%),
        radial-gradient(circle at 78% 70%, rgba(110, 231, 183, 0.4), transparent 55%),
        var(--bg-alt);
}

.card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 1.7rem;
}
.card-title {
    font-size: 1.2rem;
    margin: 0 0 0.7rem;
}
.card-title a { color: var(--ink); }
.card-title a:hover { color: #7C5CD6; }
.card-excerpt { color: #4A4257; font-size: 0.95rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-foot { margin-top: auto; padding-top: 1.1rem; }

.post-meta {
    font-size: 0.82rem;
    color: var(--mute);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.meta-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--mint);
    display: inline-block;
}
.meta-cat { color: #7C5CD6; }

/* ---------- запись и страница ---------- */

.page-head { margin-bottom: 2rem; }
.page-head h1 {
    font-size: clamp(2.1rem, 4.4vw, 3.2rem);
    margin-bottom: 0.6rem;
}
.entry-thumb {
    display: block;
    width: 100%;
    border-radius: 16px;
    margin-bottom: 1.8rem;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}
.entry-content { font-size: 1.02rem; }
.entry-content img { border-radius: 8px; display: block; }
.entry-content h2 { margin-top: 2rem; }
.entry-content h3 { margin-top: 1.6rem; }

.tag-row { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-row a {
    font-size: 0.82rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: #5B4A86;
}
.tag-row a:hover { border-color: var(--lav); }

.post-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 1.2rem;
    margin-top: 2.6rem;
}
.post-nav a {
    display: block;
    min-width: 0;
    padding: 1.1rem 1.3rem;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(90, 62, 150, 0.12);
    color: var(--ink);
}
.post-nav a:hover { box-shadow: 0 12px 22px rgba(90, 62, 150, 0.2); }
.post-nav span {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--mute);
    margin-bottom: 0.35rem;
}

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

.sidebar { min-width: 0; }

.sidebar .widget-box {
    background: var(--side-bg);
    color: var(--ink);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.6rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 6px 12px rgba(90, 62, 150, 0.12);
}
.sidebar .widget-caption {
    font-size: 1.05rem;
    color: var(--ink);
    margin: 0 0 1rem;
    position: relative;
    padding-left: 1.1rem;
}
.sidebar .widget-caption::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
}
.sidebar .widget-box ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget-box li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
}
.sidebar .widget-box li:last-child { border-bottom: 0; }
.sidebar .widget-box a { color: #4A3F63; }
.sidebar .widget-box a:hover { color: #7C5CD6; }
.sidebar .widget-box .post-date { display: block; font-size: 0.78rem; color: var(--mute); }

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

.site-foot {
    background: var(--foot-bg);
    color: #D8D0E6;
    padding: 3.4rem 0 2rem;
    position: relative;
    z-index: 1;
}
.foot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 2.4rem;
}
.foot-col { min-width: 0; }
.site-foot .widget-box { min-width: 0; }
.site-foot .widget-caption {
    font-size: 1rem;
    color: #FFFFFF;
    margin: 0 0 0.9rem;
    position: relative;
    padding-left: 1.1rem;
}
.site-foot .widget-caption::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
}
.site-foot .widget-box,
.site-foot .widget-box p { color: #C6BCD8; font-size: 0.92rem; }
.site-foot .widget-box ul { list-style: none; margin: 0; padding: 0; }
.site-foot .widget-box li { padding: 0.35rem 0; font-size: 0.92rem; }
.site-foot .widget-box a { color: #E2DAF0; }
.site-foot .widget-box a:hover { color: var(--mint); }
.site-foot .widget-box .post-date { display: block; font-size: 0.78rem; color: #9A8EAB; }

.foot-bottom {
    margin-top: 2.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(167, 139, 250, 0.24);
    font-size: 0.85rem;
    color: #9A8EAB;
}

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

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 2.8rem;
}
.pager .page-numbers {
    display: inline-block;
    min-width: 44px;
    text-align: center;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #FFFFFF;
    color: var(--ink);
    font-family: var(--head-font);
    font-size: 0.95rem;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pager a.page-numbers:hover {
    transform: translateY(-2px);
    border-color: var(--lav);
    box-shadow: inset 0 -3px 8px rgba(167, 139, 250, 0.16);
}
.pager .page-numbers.current {
    background: linear-gradient(100deg, var(--lav), var(--mint));
    border-color: transparent;
    color: #17131F;
    font-weight: 700;
}
.pager .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: var(--mute);
}

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

.search-form {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.search-form label { flex: 1 1 220px; min-width: 0; }
.search-form .search-field {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #FFFFFF;
    font-family: var(--body-font);
    font-size: 0.95rem;
    color: var(--ink);
}
.search-form .search-field:focus { outline: 2px solid var(--lav); outline-offset: 1px; }

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

.comments-area { margin-top: 3rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; margin: 1rem 0 0; padding-left: 1.6rem; }
.comment-inner {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1rem;
    box-shadow: 0 6px 12px rgba(90, 62, 150, 0.1);
}
.comment-head {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.comment-author { font-family: var(--head-font); font-weight: 700; }
.comment-head time { font-size: 0.8rem; color: var(--mute); }
.comment-hold { font-size: 0.85rem; color: var(--mute); }
.comment-actions { font-size: 0.86rem; }

.comment-respond {
    background: var(--side-bg);
    border-radius: 16px;
    padding: 1.6rem 1.6rem 1.2rem;
    box-shadow: 0 6px 12px rgba(90, 62, 150, 0.1);
}
.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;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 0.95rem;
    background: #FFFFFF;
    color: var(--ink);
}
.comment-respond textarea { min-height: 140px; }
.comment-respond .submit {
    display: inline-block;
    font-family: var(--head-font);
    font-weight: 700;
    padding: 0.78rem 1.6rem;
    border-radius: 4px;
    border: 0;
    cursor: pointer;
    color: #17131F;
    background: linear-gradient(100deg, var(--lav), var(--mint));
    transition: transform 0.2s ease, background 0.3s ease;
}
.comment-respond .submit:hover { transform: translateY(-2px); background: linear-gradient(100deg, var(--mint), var(--lav)); }

/* ---------- 404 ---------- */

.notfound {
    text-align: center;
    padding: 3rem 1.6rem 4rem;
}
.notfound h1 { font-size: clamp(3rem, 8vw, 4.2rem); }
.notfound .search-form { justify-content: center; margin: 2rem auto 1.6rem; max-width: 460px; }

/* ---------- cookie ---------- */

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

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    padding: 1rem 1.6rem;
    background: rgba(30, 26, 38, 0.96);
    color: #E4DDF0;
    border-top: 2px solid var(--lav);
    font-size: 0.9rem;
}
.cookie-banner p { margin: 0; min-width: 0; }
.cookie-banner a { color: var(--mint); }

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

@media (max-width: 960px) {
    body { font-size: 16px; }
    h1 { font-size: 3rem; }
    .fs-hero h1 { font-size: 3rem; }
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
    .layout-single, .front-width { width: 100%; }
    .front-section, .dotted-split { margin-bottom: 80px; }
    .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-cell { border-left: 0; border-top: 1px solid rgba(167, 139, 250, 0.35); padding: 1rem 0.6rem; }
    .stat-cell:first-child, .stat-cell:nth-child(2) { border-top: 0; }
    .stat-num { font-size: 3.4rem; }
    .nav-toggle { display: inline-block; }
    .main-nav { flex: 1 0 100%; }
    .main-nav[hidden] { display: none !important; }

.main-nav ul { flex-direction: column; gap: 0.9rem; padding-top: 1rem; }
}

@media (max-width: 600px) {
    h1 { font-size: 2.3rem; }
    .fs-hero { padding: 2.6rem 1.4rem 2.4rem; }
    .fs-hero h1 { font-size: 2.3rem; }
    .hero-sub { margin-left: 0; }
    .fs-timeline { padding: 2rem 1.4rem 2.2rem; }
    .fs-stats { padding: 1.9rem 1.4rem; }
    .rubric-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
    .rubric-tile { padding: 1.6rem 1.4rem; }
    .tl-list { padding-left: 3rem; }
    .tl-mark { width: 40px; height: 40px; left: -3rem; font-size: 0.78rem; }
    .tl-list::before { left: 18px; }
    .front-section, .dotted-split { margin-bottom: 64px; }
    .sec-head { padding-right: 0; }
    .sec-blob { display: none; }
    .site-main { padding: 1.8rem 0 3rem; }
    blockquote { padding: 1.1rem 1.1rem 1.1rem 1.6rem; }
}
