/*
Theme Name: dds_modulorsd.ru
Theme URI: https://modulorsd.ru/
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: mstrok
*/

/* ---------- Шрифты ---------- */
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/roboto-condensed-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/roboto-condensed-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Condensed"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/roboto-condensed-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Condensed"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/roboto-condensed-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/roboto-condensed-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/roboto-condensed-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/roboto-condensed-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/roboto-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-cyrillic-400-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-sans-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Pangolin"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pangolin-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Pangolin"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pangolin-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/marck-script-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/marck-script-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/caveat-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/caveat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+FEFF, U+FFFD; }

/* ---------- Переменные ---------- */
:root {
    --paper: #F3EEE2;
    --paper-dark: #EAE3D2;
    --paper-card: #FBF8F0;
    --pine: #1F3B36;
    --pine-deep: #172D29;
    --mustard: #E8B33A;
    --rust: #C4532F;
    --rust-light: #F2916C;
    --sky: #A9C7CE;
    --ink: #232323;
    --muted: #6B6558;
    --line: #8A8578;
    --grid: rgba(138, 133, 120, .16);
    --rule: #DDD5C4;
    --st-green: #A8D97A;
    --st-orange: #F2A365;
    --st-red: #E77B73;
    --st-lilac: #C8A1CD;
    --st-amber: #F5B84E;
    --ok-green: #4E8A55;
    --ff-head: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --ff-text: "PT Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --ff-hand: "Pangolin", "Comic Sans MS", "Segoe Print", cursive;
    --ff-script: "Marck Script", "Segoe Script", cursive;
    --ff-note: "Caveat", "Segoe Print", cursive;
    --pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='8' viewBox='0 0 420 8'%3E%3Cpath d='M1 4.3C70 3.2 130 5.3 210 3.9S350 4.9 419 3.8' fill='none' stroke='%231F3B36' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M6 5.2C90 4.6 170 5.6 260 4.7S380 5.3 414 5' fill='none' stroke='%231F3B36' stroke-opacity='.35' stroke-width='1.2'/%3E%3C/svg%3E");
    --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .24 0 0 0 .075 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --fibers: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .35' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .44 0 0 0 0 .3 0 0 0 .09 -.02'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
    --clip-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 52'%3E%3Cpath d='M15.5 14v24.5a5 5 0 0 1-10 0V9a7 7 0 0 1 14 0v31.5a8.5 8.5 0 0 1-17 0V16' fill='none' stroke='%23585D5A' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
    --tick-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 12.8c2.2 1.6 4 3.6 5.6 6.2C11.8 12.7 15.9 7.6 21 3.6' fill='none' stroke='%231F3B36' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --stamp-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='60'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background-color: var(--paper);
    background-image: var(--noise), var(--fibers);
    font-family: var(--ff-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    overflow-wrap: break-word;
    hyphens: auto;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-head);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    margin: 1.4em 0 .55em;
    overflow-wrap: break-word;
    hyphens: auto;
}
a { color: var(--pine); text-decoration: underline wavy var(--rust); text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--rust); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
ul, ol { padding-left: 1.4em; }
button { font: inherit; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--mustard); color: var(--pine);
    padding: .6rem 1rem; font-family: var(--ff-head); font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.shell { width: min(92%, 1180px); margin-left: auto; margin-right: auto; }
@media (min-width: 960px) { .shell { width: min(85%, 1180px); } }

/* ---------- Шапка ---------- */
.topbar {
    position: relative;
    background-color: var(--pine);
    background-image: var(--noise);
    color: var(--paper);
    border-bottom: 7px solid var(--mustard);
}
.topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 0 1.5rem;
}
.brand {
    display: flex; align-items: center; gap: 1rem;
    color: var(--paper); text-decoration: none;
    min-width: 0;
}
.brand:hover { color: #fff; }
.brand-mark { flex: 0 0 auto; color: var(--paper); display: block; }
.brand-svg { display: block; width: 56px; height: auto; }
.brand-logo { max-height: 64px; width: auto; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
    font-family: var(--ff-hand);
    font-size: clamp(1.3rem, 2.1vw, 1.85rem);
    line-height: 1.1;
    color: var(--paper);
}
.brand-desc {
    font-family: var(--ff-head);
    font-size: .92rem;
    line-height: 1.3;
    color: #DCD6C6;
    margin-top: .35rem;
    max-width: 34rem;
}
.site-nav { flex: 0 0 auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.nav-list li { position: relative; }
.nav-list li + li::before {
    content: "";
    position: absolute; left: 0; top: 18%; bottom: 18%;
    width: 1.5px;
    background: linear-gradient(to bottom, rgba(243,238,226,.15), rgba(243,238,226,.55) 30%, rgba(243,238,226,.4) 80%, rgba(243,238,226,.1));
    transform: rotate(3deg);
}
.nav-list a {
    display: block;
    padding: .45rem .95rem;
    color: #FFFFFF;
    font-family: var(--ff-head);
    font-size: 1.06rem;
    text-decoration: none;
    position: relative;
}
.nav-list a::after {
    content: ""; position: absolute; left: .95rem; right: .95rem; bottom: .2rem; height: 3px;
    background: var(--mustard); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-list a:hover::after, .nav-list .current-menu-item > a::after { transform: scaleX(1); }
.nav-list a:hover { color: #fff; }
.nav-toggle { display: none; }
.topbar-ribbon {
    position: absolute;
    bottom: -38px;
    left: max(4%, calc(50% - 590px + 2.2rem));
    width: 24px; height: 32px;
    background: var(--mustard);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 74%, 0 100%);
    filter: drop-shadow(0 2px 0 rgba(0,0,0,.15));
    z-index: 2;
}
@media (min-width: 960px) { .topbar-ribbon { left: max(7.5%, calc(50% - 590px + 2.2rem)); } }

.paper-stain { position: relative; height: 0; width: min(92%, 1180px); margin: 0 auto; z-index: 3; pointer-events: none; }
.paper-stain::before {
    content: "";
    position: absolute; right: 18%; top: 0;
    width: 130px; height: 72px;
    background: url("images/coffee-ring.png") no-repeat center top / contain;
    mix-blend-mode: multiply;
    opacity: .85;
}

@media (max-width: 900px) {
    .topbar-row { flex-wrap: wrap; padding: 1rem 0 1.1rem; }
    .brand { flex: 1 1 0; }
    .brand-svg { width: 44px; }
    .nav-toggle {
        display: inline-flex; align-items: center; gap: .55rem;
        background: var(--mustard); color: var(--pine);
        border: 0; border-radius: 0;
        padding: .5rem .85rem;
        font-family: var(--ff-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
        box-shadow: 2px 3px 0 rgba(0,0,0,.25);
        cursor: pointer;
    }
    .nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after {
        display: block; width: 18px; height: 2px; background: currentColor; position: relative;
    }
    .nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
    .nav-toggle-lines::before { top: -6px; }
    .nav-toggle-lines::after { top: 6px; }
    .site-nav { flex-basis: 100%; display: none; }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; border-top: 1px solid rgba(243,238,226,.25); margin-top: .5rem; }
    .nav-list li + li::before { display: none; }
    .nav-list li { border-bottom: 1px dashed rgba(243,238,226,.22); }
    .nav-list a { padding: .7rem .2rem; }
    .nav-list a::after { left: .2rem; right: auto; width: 2.5rem; }
    .paper-stain::before { right: 4%; width: 90px; height: 50px; }
}
@media (max-width: 600px) {
    .brand-name { font-size: 1.2rem; hyphens: manual; }
    .brand-desc { display: none; }
}

/* ---------- Лист блокнота ---------- */
.sheet {
    position: relative;
    padding: 2.8rem 0 3.4rem 4.6rem;
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 24px 24px;
    background-position: 4.6rem 0;
    min-height: 50vh;
}
.sheet::before {
    content: "";
    position: absolute; left: .55rem; top: 0; bottom: 0; width: 20px;
    background-image: radial-gradient(circle at 50% 50%, #E2DACA 0 5.5px, #C9BFA9 6.5px, rgba(201,191,169,0) 7.5px);
    background-size: 20px 38px;
    background-repeat: repeat-y;
}
.sheet::after {
    content: "";
    position: absolute; left: 3.3rem; top: 0; bottom: 0; width: 1.5px;
    background: rgba(196, 83, 47, .55);
}
@media (max-width: 600px) {
    .sheet { padding: 2.2rem 0 2.6rem 2.4rem; background-position: 2.4rem 0; }
    .sheet::before { left: .1rem; width: 14px; background-size: 14px 30px; background-image: radial-gradient(circle at 50% 50%, #E2DACA 0 3.8px, #C9BFA9 4.6px, rgba(201,191,169,0) 5.4px); }
    .sheet::after { left: 1.65rem; }
}

/* ---------- Секции главной ---------- */
.fp-section {
    position: relative;
    padding: 1.4rem 0 2.6rem;
    margin-bottom: 1.2rem;
    background: var(--pencil) repeat-x left bottom / 420px 8px;
}
.fp-section:last-child { background: none; margin-bottom: 0; }
.fp-tab {
    position: absolute;
    left: -4.6rem; top: 2.1rem;
    width: 2.7rem; height: 1.35rem;
    border-radius: 0 3px 3px 0;
    box-shadow: 1px 2px 0 rgba(0,0,0,.13);
    z-index: 1;
}
.fp-tab::after { content: ""; position: absolute; inset: 0; background: var(--noise); border-radius: inherit; }
.fp-tab--lilac { background: #B77BC2; }
.fp-tab--sky { background: var(--sky); top: 2.6rem; height: 2.2rem; }
.fp-tab--mustard { background: var(--mustard); }
.fp-tab--green { background: #7FC46A; }
.fp-tab--rust { background: var(--st-red); clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%); border-radius: 0; }
@media (max-width: 600px) { .fp-tab { left: -2.4rem; width: 1.5rem; height: 1rem; } .fp-tab--sky { height: 1.6rem; } }

.fp-head {
    display: flex; flex-wrap: wrap; align-items: center; gap: .1em .4em;
    margin: 0 0 1.1rem;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    text-transform: uppercase;
    letter-spacing: .01em;
    transform: skewX(-4deg);
    transform-origin: left bottom;
}
.fp-num { color: var(--pine); }
.fp-bookmark {
    display: inline-block; width: 22px; height: 34px; margin-left: .3rem;
    background: var(--mustard);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
    transform: skewX(4deg) translateY(.2rem);
}

/* ---------- Штампы ---------- */
.stamp {
    display: inline-block;
    padding: .18em .65em .14em;
    border: 3px double currentColor;
    border-radius: 4px;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1.2;
    transform: rotate(-5deg);
    -webkit-mask-image: var(--stamp-mask);
    mask-image: var(--stamp-mask);
    -webkit-mask-size: 160px 60px;
    mask-size: 160px 60px;
    white-space: nowrap;
}
.stamp--rust { color: #A8462A; }
.stamp--pine { color: #2E5A4E; }

/* ---------- Кнопки-ярлычки ---------- */
.tag-btn,
.search-submit,
.cookie-accept,
.form-submit .submit {
    position: relative;
    display: inline-block;
    padding: .6rem 1.35rem .55rem;
    border: 0;
    border-radius: 0;
    background: var(--mustard);
    color: var(--pine);
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 2px 3px 0 rgba(31, 59, 54, .25);
    transition: transform .18s, box-shadow .18s, background-color .18s;
}
.tag-btn {
    background: none;
    box-shadow: none;
    filter: drop-shadow(2px 3px 0 rgba(31, 59, 54, .25));
    z-index: 0;
}
.tag-btn::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: var(--mustard) var(--noise);
    clip-path: polygon(0 4%, 6% 0, 18% 3%, 31% 0, 46% 2%, 60% 0, 74% 3%, 88% 0, 100% 2%, 98% 22%, 100% 46%, 98% 70%, 100% 96%, 86% 100%, 70% 97%, 55% 100%, 40% 98%, 25% 100%, 10% 97%, 0 100%, 2% 74%, 0 50%, 2% 26%);
}
.tag-btn::after {
    content: "";
    position: absolute; top: -.9rem; left: .7rem;
    width: 11px; height: 26px;
    background: var(--clip-svg) no-repeat center / contain;
    transform: rotate(-8deg);
}
.tag-btn:hover, .search-submit:hover, .cookie-accept:hover, .form-submit .submit:hover {
    color: var(--pine);
    transform: translate(-1px, -2px) rotate(-1deg);
}
.search-submit:hover, .cookie-accept:hover, .form-submit .submit:hover { box-shadow: 3px 5px 0 rgba(31, 59, 54, .28); background-color: #F0BF4B; }
.tag-btn:active, .search-submit:active, .cookie-accept:active, .form-submit .submit:active { transform: translate(1px, 1px); }

/* ---------- Блок 1: карта вопроса ---------- */
.qmap {
    background: #E1D6BC var(--noise);
    border: 1px solid #D3C6A8;
    padding: 1.2rem 1.4rem;
    box-shadow: inset 0 0 40px rgba(138, 133, 120, .12);
}
.qmap-stage {
    position: relative;
    container-type: inline-size;
}
.qmap-img { width: 100%; height: auto; }
.qmap-core {
    position: absolute;
    left: 49.4%; top: 48%;
    transform: translate(-50%, -50%);
    width: 23%;
    margin: 0;
    text-align: center;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 3.3cqw;
    line-height: 1.04;
    text-transform: uppercase;
    color: var(--ink);
    hyphens: manual;
}
.qmap-nodes { list-style: none; margin: 0; padding: 0; }
.qmap-node {
    position: absolute;
    transform: translateX(-50%);
    text-align: center;
    width: 26%;
}
.qmap-sticker {
    display: inline-block;
    padding: .28em .75em .24em;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 3cqw;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ink);
    background-image: var(--noise);
    box-shadow: .2cqw .35cqw 0 rgba(0, 0, 0, .12), 0 .5cqw .9cqw -.4cqw rgba(0, 0, 0, .25);
    transition: transform .2s;
}
.qmap-note {
    display: block;
    margin-top: .45em;
    font-family: var(--ff-head);
    font-size: 1.65cqw;
    line-height: 1.2;
    color: var(--ink);
}
.qmap-node:hover .qmap-sticker { transform: rotate(-2deg) scale(1.05); }
.qmap-node--exp  { left: 21.8%; top: 11.5%; }
.qmap-node--bar  { left: 20.4%; top: 61.5%; }
.qmap-node--mot  { left: 49.8%; top: 73%; }
.qmap-node--exp2 { left: 79%;   top: 3.5%; }
.qmap-node--lang { left: 80.5%; top: 35.5%; }
.qmap-node--ctx  { left: 81%;   top: 66.5%; }
.qmap-node--exp .qmap-sticker  { background-color: var(--st-green); transform: rotate(-1deg); }
.qmap-node--bar .qmap-sticker  { background-color: var(--st-orange); transform: rotate(1deg); }
.qmap-node--mot .qmap-sticker  { background-color: var(--st-red); transform: rotate(-1.5deg); }
.qmap-node--exp2 .qmap-sticker { background-color: var(--st-lilac); transform: rotate(1.2deg); }
.qmap-node--lang .qmap-sticker { background-color: var(--sky); transform: rotate(-.8deg); }
.qmap-node--ctx .qmap-sticker  { background-color: var(--st-amber); transform: rotate(.8deg); }
@media (max-width: 640px) {
    .qmap { padding: 1rem; }
    .qmap-core { font-size: 4.4cqw; width: 30%; top: 17cqw; }
    .qmap-nodes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; margin-top: 1rem; }
    .qmap-node { position: static; transform: none; width: auto; }
    .qmap-sticker { font-size: 1rem; }
    .qmap-note { font-size: .92rem; }
}

/* ---------- Блок 2: разбор цитаты ---------- */
.quote-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
}
.quote-note {
    position: relative;
    margin: .4rem 0 0;
    padding: 1.8rem 2rem 1.3rem 2.2rem;
    background: var(--sky) var(--noise);
    transform: rotate(-1deg);
    box-shadow: 0 14px 18px -12px rgba(0, 0, 0, .35), 1px 2px 0 rgba(0, 0, 0, .08);
}
.quote-note::before {
    content: "";
    position: absolute; top: -12px; left: 50%;
    width: 92px; height: 24px;
    transform: translateX(-50%) rotate(2deg);
    background: rgba(243, 238, 226, .7);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .1);
}
.quote-note blockquote { margin: 0; }
.quote-note blockquote p {
    position: relative;
    margin: 0;
    font-family: var(--ff-script);
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.32;
    color: #1E1E1E;
    hyphens: manual;
}
.quote-note blockquote p::before,
.quote-note blockquote p::after {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.6em;
    line-height: 0;
    color: var(--ink);
}
.quote-note blockquote p::before { content: "“"; margin-right: .08em; vertical-align: -.32em; }
.quote-note blockquote p::after { content: "”"; margin-left: .05em; vertical-align: -.32em; }
.quote-note figcaption {
    margin-top: .9rem;
    text-align: right;
    font-family: var(--ff-head);
    font-size: 1rem;
    color: #2E3B3D;
}
.quote-read { padding-top: .4rem; }
.quote-read-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.quote-read-head h3 { margin: 0; font-size: 1.55rem; }
.ticks { list-style: none; margin: 1rem 0 1.1rem; padding: 0; }
.ticks li {
    position: relative;
    padding: .38rem 0 .38rem 2.1rem;
    font-family: var(--ff-head);
    font-size: 1.18rem;
    border-bottom: 1px solid var(--rule);
}
.ticks li::before {
    content: "";
    position: absolute; left: 0; top: .5rem;
    width: 1.35rem; height: 1.35rem;
    background: var(--tick-svg) no-repeat center / contain;
}
.quote-hint { font-family: var(--ff-note); font-size: 1.32rem; line-height: 1.25; color: var(--muted); margin: 0; }
@media (max-width: 800px) {
    .quote-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .quote-note { padding: 1.6rem 1.4rem 1.1rem 1.5rem; }
}

/* ---------- Карточки записей ---------- */
.cards { display: grid; gap: 2.4rem 2rem; }
.cards--front { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: .8rem; }
.cards--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); padding-top: .6rem; }
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.4rem 1.3rem 1.2rem;
    background: var(--paper-card) var(--noise);
    border: 1.5px solid #3A3A38;
    box-shadow: 3px 4px 0 rgba(35, 35, 35, .12), 0 12px 18px -14px rgba(0, 0, 0, .4);
    transition: transform .25s, box-shadow .25s;
}
.cards .card:nth-child(3n+1) { transform: rotate(-1.8deg); }
.cards .card:nth-child(3n+2) { transform: rotate(1deg); }
.cards .card:nth-child(3n)   { transform: rotate(1.8deg); }
.cards .card:hover { transform: rotate(0) translateY(-4px); box-shadow: 4px 7px 0 rgba(35, 35, 35, .14), 0 18px 24px -16px rgba(0, 0, 0, .45); }
.card-clip {
    position: absolute;
    top: -1.25rem; right: 22%;
    width: 16px; height: 40px;
    background: var(--clip-svg) no-repeat center / contain;
    transform: rotate(12deg);
}
.card-title {
    margin: 0 0 .8rem;
    font-size: 1.32rem;
    line-height: 1.18;
}
.card-title a {
    color: var(--ink);
    text-decoration: none;
    background-image: linear-gradient(transparent 62%, rgba(232, 179, 58, .55) 62%, rgba(232, 179, 58, .55) 92%, transparent 92%);
    background-size: 100% 100%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 .1em;
}
.card-title a:hover { color: var(--pine); background-image: linear-gradient(transparent 55%, rgba(232, 179, 58, .85) 55%, rgba(232, 179, 58, .85) 95%, transparent 95%); }
.card-thumb { overflow: hidden; margin: 0 0 .9rem; }
.card-thumb a { display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    mix-blend-mode: multiply;
}
.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card-excerpt { flex: 1; font-family: var(--ff-head); font-size: 1.05rem; line-height: 1.38; color: #2D2D2D; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: .7rem; }
.card-date { font-family: var(--ff-head); font-size: .95rem; color: var(--muted); }
.card-more {
    position: relative;
    display: inline-block;
    padding: .32rem .95rem .3rem;
    border: 1.5px solid #3A3A38;
    border-radius: 9px;
    background: #FFFDF8;
    color: var(--ink);
    font-family: var(--ff-head);
    font-size: .95rem;
    text-decoration: none;
    transition: background-color .2s, transform .2s;
}
.card-more::after {
    content: "";
    position: absolute; right: -15px; top: 50%;
    width: 11px; height: 26px;
    background: var(--clip-svg) no-repeat center / contain;
    transform: translateY(-50%) rotate(90deg);
}
.card-more:hover { background: var(--mustard); color: var(--pine); transform: translateY(-1px); }
.empty-note { font-family: var(--ff-head); font-size: 1.1rem; color: var(--muted); }
.fp-more { margin: 2.2rem 0 0; text-align: right; }
@media (max-width: 960px) { .cards--front { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .cards--front, .cards--list { grid-template-columns: minmax(0, 1fr); }
    .card { padding: 1.2rem 1.1rem 1.1rem; }
    .cards .card:nth-child(n) { transform: rotate(-.6deg); }
    .cards .card:nth-child(2n) { transform: rotate(.6deg); }
    .fp-more { text-align: left; }
}

/* ---------- Блок 4: чек-лист ---------- */
.check-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
    align-items: stretch;
}
.check-page { padding-right: 2rem; min-width: 0; }
.check-sub { margin: 0 0 .7rem; font-size: 1.4rem; }
.boxes {
    list-style: none; margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    column-gap: 2rem;
}
.boxes li {
    position: relative;
    padding: .42rem 0 .42rem 2.2rem;
    font-family: var(--ff-head);
    font-size: 1.15rem;
    border-bottom: 1px solid var(--rule);
}
.boxes li::before {
    content: "";
    position: absolute; left: .1rem; top: .62rem;
    width: 1.15rem; height: 1.15rem;
    border: 2px solid var(--ink);
    border-radius: 2px;
    background: #FFFDF6;
}
.boxes li::after {
    content: "";
    position: absolute; left: .2rem; top: .3rem;
    width: 1.35rem; height: 1.35rem;
    background: var(--tick-svg) no-repeat center / contain;
}
.check-figure {
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 1rem 1rem 1rem 2rem;
    text-align: center;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='300' viewBox='0 0 8 300' preserveAspectRatio='none'%3E%3Cpath d='M4 2C3 70 5.2 150 3.6 298' fill='none' stroke='%231F3B36' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 8px 100%;
}
.check-big {
    margin: 0;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: clamp(3.2rem, 6vw, 4.6rem);
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
}
.check-cap { margin: .5rem 0 0; font-family: var(--ff-head); font-size: 1.1rem; line-height: 1.25; color: var(--ink); max-width: 12rem; }
@media (max-width: 800px) {
    .check-grid { grid-template-columns: minmax(0, 1fr); }
    .check-page { padding-right: 0; }
    .boxes { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
    .check-figure {
        margin-top: 1.4rem;
        padding: 1.2rem 1rem;
        background: var(--pencil) repeat-x left top / 420px 8px;
    }
}

/* ---------- Блок 5: шкала доверия ---------- */
.scale-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.scale-head .fp-head { margin-bottom: 1.4rem; }
.scale-stamp { font-size: 1.15rem; margin-top: .2rem; transition: color .3s; }
.trust { --pos: 83.33%; }
.trust[data-stage="1"] { --pos: 16.67%; }
.trust[data-stage="2"] { --pos: 50%; }
.trust-ruler {
    position: relative;
    display: flex;
    height: 74px;
    margin-top: .4rem;
}
.trust-raw, .trust-ok {
    position: relative;
    height: 100%;
    border: 2px solid;
    background-repeat: repeat-x;
    background-color: rgba(255, 253, 246, .35);
}
.trust-raw {
    flex: 0 0 50%;
    border-color: #B85A3C;
    border-right-width: 1px;
    background-image:
        repeating-linear-gradient(90deg, #B85A3C 0 1.5px, transparent 1.5px 100%),
        repeating-linear-gradient(90deg, #B85A3C 0 1px, transparent 1px 100%),
        repeating-linear-gradient(90deg, #B85A3C 0 1px, transparent 1px 100%);
    background-size: 33.33% 100%, 12px 14px, 12px 14px;
    background-position: 0 0, 0 0, 0 100%;
}
.trust-ok {
    flex: 1 1 50%;
    border-color: var(--ok-green);
    border-left-width: 1px;
    background-image:
        repeating-linear-gradient(90deg, var(--ok-green) 0 1.5px, transparent 1.5px 100%),
        repeating-linear-gradient(90deg, var(--ok-green) 0 1px, transparent 1px 100%),
        repeating-linear-gradient(90deg, var(--ok-green) 0 1px, transparent 1px 100%);
    background-size: 33.33% 100%, 12px 14px, 12px 14px;
    background-position: 0 0, 0 0, 0 100%;
}
.trust-raw::after, .trust-ok::after {
    content: "";
    position: absolute; left: 0; right: 0; top: 50%; height: 0;
    border-top: 1px dashed currentColor;
    opacity: .25;
}
.trust-raw { color: #B85A3C; }
.trust-ok { color: var(--ok-green); }
.trust-thumb {
    position: absolute;
    top: -12px; bottom: -12px;
    left: var(--pos);
    width: 20px;
    margin-left: -10px;
    border: 2px solid #5E5A4E;
    border-radius: 11px;
    background: linear-gradient(90deg, #CFC6B1, #E9E2D1 45%, #BFB59C);
    box-shadow: 2px 3px 0 rgba(0, 0, 0, .14);
    transition: left .55s cubic-bezier(.4, 1.4, .5, 1);
}
.trust-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.6rem;
}
.trust-stage {
    position: relative;
    justify-self: center;
    background: none;
    border: 0;
    padding: .4rem .6rem;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    cursor: pointer;
    text-align: center;
}
.trust-stage::before {
    content: "";
    position: absolute; left: 50%; top: -1.4rem;
    width: 2px; height: .9rem;
    background: var(--line);
}
.trust-stage::after {
    content: "";
    position: absolute; left: .6rem; right: .6rem; bottom: .1rem; height: 3px;
    background: var(--mustard);
    transform: scaleX(0);
    transition: transform .25s;
}
.trust-stage:hover::after { transform: scaleX(.5); }
.trust-stage.is-active::after { transform: scaleX(1); }
.trust-stage.is-active { color: var(--pine); }
.trust-text[hidden] { display: none !important; }
.trust-texts {
    margin-top: 1.2rem;
    padding: 1rem 1.3rem;
    border: 1px dashed var(--line);
    background: rgba(255, 253, 246, .55);
}
.trust-text { margin: 0; font-family: var(--ff-head); font-size: 1.1rem; line-height: 1.45; }
@media (max-width: 600px) {
    .trust-ruler { height: 56px; }
    .trust-stage { font-size: .95rem; padding: .4rem .2rem; }
    .trust-texts { padding: .9rem 1rem; }
}

/* ---------- Внутренние страницы ---------- */
.crumbs {
    margin: 0 0 1.6rem;
    font-family: var(--ff-head);
    font-size: .98rem;
    color: var(--muted);
}
.crumbs a { color: var(--pine); text-decoration: none; border-bottom: 1px solid rgba(31, 59, 54, .3); }
.crumbs a:hover { color: var(--rust); border-bottom-color: var(--rust); }
.crumbs-sep { margin: 0 .3rem; color: var(--rust); }
.crumbs span:last-child { color: var(--ink); }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
}
.layout-single { display: block; }
.layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }
@media (max-width: 960px) {
    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.6rem; }
    .layout-single .content-area { width: auto; }
}

.page-head { margin-bottom: 1.6rem; }
.page-title, .entry-title {
    display: inline;
    margin: 0;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.12;
    background-image: linear-gradient(transparent 70%, rgba(232, 179, 58, .55) 70%, rgba(232, 179, 58, .55) 94%, transparent 94%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.page-lead { margin-top: 1.2rem; font-size: 1.08rem; color: #3A3A36; }

.entry-sheet {
    position: relative;
    padding: 2.2rem 2.4rem 2rem;
    background: var(--paper-card) var(--noise);
    border: 1.5px solid #3A3A38;
    box-shadow: 4px 5px 0 rgba(35, 35, 35, .1), 0 18px 26px -22px rgba(0, 0, 0, .45);
}
.entry-sheet::before {
    content: "";
    position: absolute; top: -1.3rem; right: 2.4rem;
    width: 16px; height: 40px;
    background: var(--clip-svg) no-repeat center / contain;
    transform: rotate(10deg);
}
.entry-head { margin-bottom: 1.3rem; }
.entry-meta { margin: 1rem 0 0; font-family: var(--ff-head); color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.entry-cat a { color: var(--pine); }
.entry-figure { margin: 0 0 1.6rem; }
.entry-figure img { width: 100%; height: auto; border: 1px solid #CFC5AE; }
@media (max-width: 600px) {
    .entry-sheet { padding: 1.6rem 1.2rem 1.4rem; }
}

.entry { font-size: 1.08rem; line-height: 1.7; }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: 1.65rem; padding-bottom: .35rem; background: var(--pencil) repeat-x left bottom / 260px 6px; }
.entry h3 { font-size: 1.35rem; }
.entry h4 { font-size: 1.15rem; }
.entry ul { list-style: none; padding-left: 1.6rem; }
.entry ul li { position: relative; margin-bottom: .4rem; }
.entry ul li::before {
    content: ""; position: absolute; left: -1.4rem; top: .45em;
    width: .7rem; height: .7rem; background: var(--mustard); transform: rotate(-6deg);
    box-shadow: 1px 1px 0 rgba(0, 0, 0, .15);
}
.entry ol li { margin-bottom: .4rem; }
.entry ol li::marker { font-family: var(--ff-head); font-weight: 700; color: var(--rust); }
.entry blockquote {
    position: relative;
    margin: 1.8rem 0;
    padding: 1.3rem 1.6rem 1.1rem;
    background: var(--sky) var(--noise);
    transform: rotate(-.6deg);
    box-shadow: 0 12px 16px -12px rgba(0, 0, 0, .3);
    font-family: var(--ff-script);
    font-size: 1.45rem;
    line-height: 1.4;
}
.entry blockquote p:last-child { margin-bottom: 0; }
.entry blockquote cite { display: block; margin-top: .6rem; font-family: var(--ff-head); font-style: normal; font-size: .95rem; text-align: right; }
.entry img { height: auto; }
.entry figure { margin: 1.6rem 0; }
.entry figcaption { font-family: var(--ff-head); font-size: .92rem; color: var(--muted); margin-top: .4rem; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-family: var(--ff-head); font-size: 1rem; background: #FFFDF6; border: 1.5px solid #3A3A38; }
.entry th, .entry td { border: 1px solid #8A8578; padding: .55rem .75rem; text-align: left; vertical-align: top; }
.entry th { background: var(--pine); color: var(--paper); font-weight: 700; }
.entry tr:nth-child(even) td { background: rgba(234, 227, 210, .55); }
.entry pre { overflow-x: auto; padding: 1rem 1.2rem; background: #FFFDF6; border: 1px dashed var(--line); font-size: .92rem; }
.entry code { font-size: .92em; background: rgba(232, 179, 58, .22); padding: .05em .3em; }
.entry pre code { background: none; padding: 0; }
.entry hr { border: 0; height: 8px; background: var(--pencil) repeat-x center / 420px 8px; margin: 2rem 0; }
.alignleft { float: left; margin: .3rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.4rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-family: var(--ff-head); font-size: .92rem; color: var(--muted); }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 1rem 0; } }

.entry-tags { margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.entry-tags a {
    font-family: var(--ff-head); font-size: .95rem; text-decoration: none;
    padding: .15rem .6rem; background: var(--paper-dark); border: 1px solid #CFC5AE; color: var(--pine);
}
.entry-tags a:hover { background: var(--mustard); }

.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin: 2.4rem 0 0; }
.post-nav a {
    display: block; padding: 1rem 1.2rem;
    border: 1px dashed var(--line); background: rgba(255, 253, 246, .6);
    font-family: var(--ff-head); font-weight: 700; color: var(--ink); text-decoration: none;
    transition: background-color .2s, transform .2s;
}
.post-nav a span { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-bottom: .3rem; }
.post-nav a:hover { background: #FFF6DC; transform: translateY(-2px); }
.post-nav-next { grid-column: 2; text-align: right; }
@media (max-width: 600px) { .post-nav { grid-template-columns: minmax(0, 1fr); } .post-nav-next { grid-column: 1; } }

/* ---------- Пагинация ---------- */
.pager {
    display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
    margin: 2.8rem 0 0;
}
.pager .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem;
    border: 1.5px solid #3A3A38;
    background: var(--paper-card);
    color: var(--ink);
    font-family: var(--ff-head); font-weight: 700; font-size: 1.02rem;
    text-decoration: none;
    box-shadow: 2px 2px 0 rgba(35, 35, 35, .12);
    transition: background-color .2s, transform .2s;
}
.pager a.page-numbers:hover { background: var(--sky); transform: translateY(-2px) rotate(-2deg); color: var(--ink); }
.pager .page-numbers.current { background: var(--mustard); color: var(--pine); transform: rotate(-3deg); }
.pager .page-numbers.dots { border: 0; background: none; box-shadow: none; min-width: auto; padding: 0 .2rem; }

/* ---------- Сайдбар и виджеты ---------- */
.sidebar {
    min-width: 0;
    padding: 1.6rem 1.5rem;
    background: var(--paper-dark) var(--noise);
    border: 1px solid #CFC5AE;
    box-shadow: inset 0 0 30px rgba(138, 133, 120, .12);
    color: var(--ink);
}
.sidebar .widget { margin-bottom: 2rem; color: var(--ink); }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    display: inline-block;
    margin: 0 0 1rem;
    padding: .2rem .7rem .15rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    background: var(--mustard);
    color: var(--pine);
    transform: rotate(-1.5deg);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, .12);
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .5rem 0; border-bottom: 1px solid #D6CCB5; font-family: var(--ff-head); font-size: 1.04rem; line-height: 1.35; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--pine); text-decoration: none; }
.sidebar a:hover { color: var(--rust); text-decoration: underline wavy var(--rust); }
.sidebar .post-date { display: block; font-size: .88rem; color: var(--muted); }
.sidebar p { color: var(--ink); }
.sidebar .search-form { margin: 0; }

/* ---------- Поиск ---------- */
.search-form { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.2rem 0; max-width: 34rem; }
.search-field {
    flex: 1 1 12rem; min-width: 0;
    padding: .6rem .85rem;
    border: 1.5px solid #3A3A38; border-radius: 0;
    background: #FFFDF6 repeating-linear-gradient(transparent 0 calc(1.6em - 1px), #E3DBC9 calc(1.6em - 1px) 1.6em);
    font-family: var(--ff-head); font-size: 1.05rem; color: var(--ink);
}

/* ---------- 404 ---------- */
.lost { position: relative; padding: 1rem 0 1rem; }
.lost-code {
    margin: 0;
    font-family: var(--ff-head); font-weight: 700;
    font-size: clamp(5rem, 16vw, 9rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--pine);
}
.lost-stamp { position: absolute; top: 2.4rem; left: 14rem; font-size: 1.3rem; }
.lost .page-title { display: inline-block; margin: 1rem 0 1rem; }
@media (max-width: 600px) { .lost-stamp { position: static; margin: .6rem 0; } }

/* ---------- Комментарии ---------- */
.remarks { margin-top: 2.8rem; }
.remarks-title, .comment-reply-title { font-size: 1.5rem; margin: 0 0 1.2rem; }
.remark-list, .remark-list .children { list-style: none; margin: 0; padding: 0; }
.remark-list .children { padding-left: 2rem; border-left: 2px dashed var(--line); margin-left: 1rem; }
.remark-body {
    margin-bottom: 1.2rem;
    padding: 1.1rem 1.3rem;
    background: var(--paper-card);
    border: 1px solid #CFC5AE;
    box-shadow: 2px 3px 0 rgba(35, 35, 35, .08);
}
.remark-meta { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; font-family: var(--ff-head); margin-bottom: .6rem; }
.remark-meta img { border-radius: 50%; display: block; }
.remark-author { font-weight: 700; }
.remark-meta time { color: var(--muted); font-size: .92rem; }
.remark-wait { font-family: var(--ff-note); font-size: 1.2rem; color: var(--rust); }
.remark-reply a { font-family: var(--ff-head); font-size: .95rem; }
.remarks-closed { font-family: var(--ff-head); color: var(--muted); }
.comment-respond {
    margin-top: 2rem;
    padding: 1.6rem 1.6rem 1.4rem;
    background: var(--paper-dark) var(--noise);
    border: 1px solid #CFC5AE;
}
.comment-form p { margin: 0 0 1rem; }
.comment-form label { display: block; font-family: var(--ff-head); font-weight: 700; margin-bottom: .3rem; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
    width: 100%;
    padding: .6rem .8rem;
    border: 1.5px solid #3A3A38; border-radius: 0;
    background: #FFFDF6;
    font-family: var(--ff-text); font-size: 1rem; color: var(--ink);
}
.comment-form textarea { background-image: repeating-linear-gradient(transparent 0 calc(1.6em - 1px), #E3DBC9 calc(1.6em - 1px) 1.6em); line-height: 1.6em; }
.comment-notes, .logged-in-as, .must-log-in { font-family: var(--ff-head); color: var(--muted); }
.req { color: var(--rust); }
.comments-pagination, .comment-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; font-family: var(--ff-head); }
@media (max-width: 600px) { .comment-respond { padding: 1.2rem 1rem; } .remark-list .children { padding-left: 1rem; margin-left: .3rem; } }

/* ---------- Подвал ---------- */
.foot {
    margin-top: 1rem;
    background-color: var(--pine);
    background-image: var(--noise), var(--fibers);
    color: var(--paper);
    border-top: 6px solid var(--pine-deep);
}
.foot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem;
    padding: 2.8rem 0 1.6rem;
}
.foot-col { min-width: 0; color: var(--paper); }
.foot .widget { margin-bottom: 1.4rem; color: var(--paper); }
.foot .widget-title {
    margin: 0 0 .8rem;
    font-size: 1.12rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #FFFFFF;
}
.foot p, .foot .textwidget { color: #E4DFD2; font-family: var(--ff-head); font-size: 1.02rem; line-height: 1.45; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: .14rem 0; font-family: var(--ff-head); }
.foot a { color: var(--rust-light); text-decoration: underline wavy rgba(242, 145, 108, .7); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.foot a:hover { color: #FFD08A; text-decoration-color: #FFD08A; }
.foot .post-date { display: block; color: #C8C2B2; font-size: .88rem; }
.foot-copy {
    padding: 1rem 0 1.5rem;
    border-top: 1px dashed rgba(243, 238, 226, .25);
    text-align: center;
}
.foot-copy p { margin: 0; font-family: var(--ff-head); font-size: .98rem; color: #DCD6C6; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; padding-top: 2.2rem; } }

/* ---------- Cookie-баннер ---------- */
.cookie-banner[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 1rem; right: 1rem; bottom: 1rem;
    z-index: 90;
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    max-width: 44rem;
    margin: 0 auto;
    padding: 1.1rem 1.4rem;
    background: var(--paper-card) var(--noise);
    border: 1.5px solid var(--pine);
    box-shadow: 4px 5px 0 rgba(31, 59, 54, .25);
    color: var(--ink);
}
.cookie-banner::before {
    content: "";
    position: absolute; top: -1.2rem; left: 2rem;
    width: 14px; height: 36px;
    background: var(--clip-svg) no-repeat center / contain;
    transform: rotate(-10deg);
}
.cookie-text { flex: 1 1 18rem; margin: 0; font-family: var(--ff-head); font-size: 1rem; line-height: 1.4; color: var(--ink); }
.cookie-accept { flex: 0 0 auto; }
