/*
Theme Name: dds_1000-k.ru
Theme URI: https://1000-k.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: estsk
*/

/* ---------- Шрифты ---------- */
@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: 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+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: 800; font-display: swap; src: url("fonts/roboto-condensed-cyrillic-800-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: 800; font-display: swap; src: url("fonts/roboto-condensed-latin-800-italic.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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-mono-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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-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: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-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: "IBM Plex Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/ibm-plex-sans-latin-400-italic.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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/ibm-plex-sans-latin-600-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: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/caveat-cyrillic-600-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: 600; font-display: swap; src: url("fonts/caveat-latin-600-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; }

/* ---------- Палитра ---------- */
:root {
    --graphite: #1C1E22;
    --grid: #2A2D33;
    --stripe: #24272C;
    --paper: #F2EDE3;
    --sand: #E8DFCE;
    --head-line: #4C5560;
    --footer: #141619;
    --ink: #23262B;
    --muted: #7A7568;
    --on-dark: #EDE7DA;
    --yellow: #F2C230;
    --coral: #E4573F;
    --coral-dark: #C9452F;
    --blue: #3E6FA8;
    --tape: rgba(214, 207, 190, .72);
    --line-soft: #D8D0BF;
    --font-head: "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
    --font-body: "IBM Plex Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: "IBM Plex Mono", "Consolas", "Courier New", monospace;
    --font-hand: "Caveat", "Segoe Print", "Comic Sans MS", cursive;
}

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

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--on-dark);
    background-color: var(--graphite);
    background-image:
        linear-gradient(var(--grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid) 1px, transparent 1px),
        repeating-linear-gradient(90deg, transparent 0 110px, var(--stripe) 110px 190px);
    background-size: 18px 18px, 18px 18px, auto;
    overflow-wrap: break-word;
    hyphens: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.15;
    margin: 1.4em 0 .55em;
    overflow-wrap: break-word;
    hyphens: auto;
}
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.skip {
    position: absolute;
    left: 12px; top: -60px;
    z-index: 100;
    padding: .6rem 1rem;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: .85rem;
    text-decoration: none;
    border: 2px solid var(--ink);
}
.skip:focus { top: 12px; }

/* Единый контейнер ширины */
.shell {
    width: min(92%, 1180px);
    margin-inline: auto;
}
@media (min-width: 600px) {
    .shell { width: min(85%, 1180px); }
}

/* Направляющие вёрстки */
.guides {
    position: fixed;
    top: 0; bottom: 0;
    left: 50%;
    width: min(calc(85% + 48px), 1228px);
    transform: translateX(-50%);
    border-left: 1px solid rgba(62, 111, 168, .55);
    border-right: 1px solid rgba(62, 111, 168, .55);
    pointer-events: none;
    z-index: 2;
}
@media (max-width: 960px) { .guides { display: none; } }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-block;
    padding: .5rem 1.1rem .45rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .98rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    border: 2px solid var(--black, #101113);
    border-radius: 0;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn--coral {
    background: var(--coral);
    color: #FFF8EE;
    box-shadow: 4px 4px 0 var(--yellow);
}
.btn--coral:hover, .btn--coral:focus-visible {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--yellow);
    background: var(--coral-dark);
}
.btn--ghost {
    background: transparent;
    color: var(--on-dark);
    border-color: var(--on-dark);
    box-shadow: 4px 4px 0 var(--blue);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
    background: var(--yellow);
    color: var(--ink);
    border-color: var(--ink);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--blue);
}

/* ---------- Шапка ---------- */
.masthead {
    position: relative;
    z-index: 5;
    background: var(--graphite);
    border-bottom: 1px solid var(--head-line);
}
.masthead__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.15rem 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
    text-decoration: none;
    color: var(--on-dark);
}
.brand__mark { flex: 0 0 auto; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; display: block; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.05rem, 1.9vw, 1.45rem);
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.brand__tag {
    margin-top: .25rem;
    max-width: 46ch;
    font-family: var(--font-head);
    font-size: .8rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #B9B3A6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    hyphens: manual;
}
.brand:hover .brand__name { color: var(--yellow); }

.topnav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem 1.6rem;
}
.topnav__list a {
    display: inline-block;
    padding: .35rem 0;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--on-dark);
    background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 0 3px no-repeat;
    transition: background-size .18s ease, color .18s ease;
}
.topnav__list a:hover,
.topnav__list a:focus-visible,
.topnav__list .current-menu-item > a {
    background-size: 100% 3px;
    color: #FFFFFF;
}
.nav-toggle {
    display: none;
    align-items: center;
    gap: .55rem;
    padding: .45rem .8rem;
    background: transparent;
    color: var(--on-dark);
    border: 2px solid var(--on-dark);
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (max-width: 960px) {
    .masthead__row { flex-wrap: wrap; }
    .nav-toggle { display: inline-flex; }
    .topnav { display: none; width: 100%; }
    .topnav.is-open { display: block; }
    .topnav__list {
        flex-direction: column;
        gap: 0;
        border-top: 1px dashed var(--head-line);
        padding-top: .5rem;
    }
    .topnav__list a { padding: .55rem 0; }
}

/* ---------- Секции главной ---------- */
.fs {
    position: relative;
    padding: 4.2rem 0 4.4rem;
}
.fs--paper {
    background-color: var(--paper);
    background-image: repeating-linear-gradient(90deg, transparent 0 110px, rgba(35, 38, 43, .025) 110px 190px);
    color: var(--ink);
}
.fs--sand {
    background-color: var(--sand);
    background-image: repeating-linear-gradient(90deg, transparent 0 110px, rgba(35, 38, 43, .03) 110px 190px);
    color: var(--ink);
}
.fs-title {
    margin: 0 0 2.4rem;
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .005em;
    color: var(--on-dark);
}
.fs-title--center { text-align: center; }
.fs-title--left { text-align: left; }
.fs-title--ink { color: var(--ink); }
.mk {
    padding-bottom: .18em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c60-6 140-7 294-3' fill='none' stroke='%23F2C230' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .32em no-repeat;
}
.fs-caption {
    margin: 2.4rem 0 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: .88rem;
    letter-spacing: .06em;
    color: #CFC8B9;
}
.fs-more { margin: 2.6rem 0 0; text-align: center; }
.empty-note {
    font-family: var(--font-mono);
    font-size: .95rem;
    text-align: center;
    color: inherit;
}

/* Скотч */
.tape-l, .tape-r { position: relative; }

/* ---------- Блок 1: путь записи ---------- */
.path {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2.6rem;
    counter-reset: none;
}
.path__step { position: relative; min-width: 0; }
.path__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 55%;
    right: -2.35rem;
    width: 2rem;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M1 6h36M30 1l7 5-7 5' fill='none' stroke='%233E6FA8' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.path__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 2.4rem 1rem 1.35rem;
    min-height: 100%;
    background:
        linear-gradient(var(--yellow), var(--yellow)) left 0 top 2.1rem / 9px 26px no-repeat,
        var(--paper);
    color: var(--ink);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .35);
    transform: rotate(-1.2deg);
    transition: transform .2s ease;
}
.path__step:nth-child(even) .path__card { transform: rotate(1.1deg); }
.path__step:nth-child(3) .path__card { transform: rotate(-.4deg); }
.path__card::before,
.path__card::after {
    content: "";
    position: absolute;
    top: -9px;
    width: 46px;
    height: 18px;
    background: var(--tape);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.path__card::before { left: -14px; transform: rotate(-38deg); }
.path__card::after { right: -14px; transform: rotate(38deg); }
.path__step:hover .path__card { transform: rotate(0) translateY(-4px); }
.path__num {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--yellow);
    border: 2px solid var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
    z-index: 1;
}
.path__icon {
    width: 64px;
    height: 64px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.path__icon .fill { fill: var(--paper); }
.path__label {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.15;
    text-align: center;
}
@media (max-width: 960px) {
    .path { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.8rem 1.6rem; }
    .path__step::after { display: none; }
}
@media (max-width: 600px) {
    .path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem 1.2rem; }
    .path__step:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - .6rem); }
    .path__icon { width: 52px; height: 52px; }
    .path__label { font-size: 1.05rem; }
}

/* ---------- Блок 2: разбор редактора ---------- */
.anatomy { margin: 0; }
.anatomy__board {
    position: relative;
    aspect-ratio: 1000 / 410;
}
.anatomy__frame {
    position: absolute;
    left: 14%;
    top: 9.76%;
    width: 70%;
    container-type: inline-size;
}
.anatomy__frame img { width: 100%; height: auto; }
.anatomy__h, .anatomy__t, .anatomy__btn {
    position: absolute;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1;
    white-space: nowrap;
}
.anatomy__h { left: 26.8%; top: 19.6%; font-size: 4.2cqw; }
.anatomy__t { left: 26.8%; top: 36.9%; font-size: 2.1cqw; }
.anatomy__btn {
    left: 80.2%;
    top: 58.4%;
    width: 17.4%;
    height: 7.7%;
    display: grid;
    place-items: center;
    font-size: 1.45cqw;
    color: #1A1414;
}
.anatomy__arrows {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--blue);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    pointer-events: none;
}
.anatomy__arrows path { vector-effect: non-scaling-stroke; }
.stamp {
    position: absolute;
    padding: .3rem .7rem .25rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(.8rem, 1.5vw, 1.1rem);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--blue);
    background: rgba(242, 237, 227, .85);
    border: 2px solid var(--blue);
    outline: 1px solid var(--blue);
    outline-offset: 2px;
    transform: rotate(-4deg);
    z-index: 1;
}
.stamp--sections { left: 0.8%; top: 43%; }
.stamp--rubrics { left: 86.5%; top: 22%; transform: rotate(-3deg); }
.stamp--publish { left: 85%; top: 61%; transform: rotate(-5deg); }
.scribble {
    position: absolute;
    left: 66%;
    top: 0;
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: clamp(1rem, 1.9vw, 1.45rem);
    color: var(--blue);
    transform: rotate(-3deg);
    white-space: nowrap;
}
.anatomy__legend { display: none; }
.anatomy__legend ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: part;
    display: grid;
    gap: .9rem;
}
.anatomy__legend li {
    counter-increment: part;
    position: relative;
    padding-left: 2.6rem;
    font-family: var(--font-mono);
    font-size: .9rem;
    line-height: 1.55;
    color: var(--ink);
}
.anatomy__legend li::before {
    content: counter(part);
    position: absolute;
    left: 0; top: 0;
    width: 1.8rem; height: 1.8rem;
    display: grid;
    place-items: center;
    border: 2px solid var(--blue);
    color: var(--blue);
    font-family: var(--font-head);
    font-weight: 700;
    transform: rotate(-4deg);
}
.anatomy__legend b { font-family: var(--font-head); font-size: 1.02rem; }
@media (max-width: 960px) {
    .anatomy__board { aspect-ratio: auto; }
    .anatomy__frame { position: relative; left: auto; top: auto; width: 100%; }
    .stamp, .scribble, .anatomy__arrows { display: none; }
    .anatomy__legend { display: block; margin-top: 2rem; }
}
@media (max-width: 600px) {
    .anatomy__legend ol { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 601px) and (max-width: 960px) {
    .anatomy__legend ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Карточки записей ---------- */
.cards { display: grid; gap: 2.6rem 2.2rem; }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layout-single .cards--feed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) {
    .cards--three, .layout-single .cards--feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .cards--three, .cards--feed, .layout-single .cards--feed { grid-template-columns: minmax(0, 1fr); }
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
    transition: transform .2s ease;
}
.card::before,
.card::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 58px;
    height: 20px;
    background: var(--tape);
    z-index: 2;
}
.card::before { left: -16px; transform: rotate(-36deg); }
.card::after { right: -16px; transform: rotate(36deg); }
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card__sheet {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.6rem 1.4rem 1.7rem 2.2rem;
    background:
        linear-gradient(var(--blue), var(--blue)) 1.45rem 0 / 1px 100% no-repeat,
        var(--paper);
    color: var(--ink);
    clip-path: polygon(0 0, 100% 0, 99% 8%, 100% 17%, 99.2% 29%, 100% 41%, 99% 54%, 100% 66%, 99.3% 79%, 100% 90%, 99% 100%, 88% 99.2%, 76% 100%, 63% 99.1%, 51% 100%, 38% 99.3%, 26% 100%, 13% 99.2%, 0 100%);
}
.card__tab {
    position: absolute;
    left: 0;
    top: 0;
    width: 12px;
    height: 74px;
    background: var(--yellow);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
}
.card__thumb {
    display: block;
    margin: 0 0 1.1rem;
    padding: .7rem 0;
    border-top: 1px solid var(--blue);
    border-bottom: 1px solid var(--blue);
}
.card__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.card__pin {
    display: inline-block;
    margin-bottom: .55rem;
    padding: .1rem .5rem;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.card__title {
    margin: 0 0 .55rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.32rem;
    line-height: 1.15;
}
.card__title a { text-decoration: none; color: var(--ink); }
.card__title a:hover { text-decoration: underline wavy var(--coral) 1px; text-underline-offset: 4px; }
.card-excerpt {
    hyphens: manual;
    font-family: var(--font-mono);
    font-size: .86rem;
    line-height: 1.55;
    color: #3A3D42;
}
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-excerpt img { display: none; }
.card-excerpt a { color: var(--blue); }
.card__date {
    margin: .3rem 0 1rem;
    font-family: var(--font-mono);
    font-size: .82rem;
    color: var(--muted);
}
.card__more { margin-top: auto; }

/* ---------- Блок 3: карта разделов ---------- */
.map {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 2rem 4rem;
    align-items: start;
}
.map__intro p {
    max-width: 40ch;
    font-family: var(--font-mono);
    font-size: .93rem;
    line-height: 1.7;
    color: #3A3D42;
}
.map .fs-title { margin-bottom: 1.4rem; }
.tree { position: relative; max-width: 560px; font-family: var(--font-head); }
.tree__root,
.tree__node {
    display: inline-block;
    padding: .35rem 1.3rem .3rem;
    background: var(--paper);
    color: var(--ink);
    border: 2px solid var(--ink);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    box-shadow: 3px 3px 0 rgba(35, 38, 43, .22);
}
.tree__root { min-width: 9rem; text-align: center; }
.tree__branches {
    list-style: none;
    margin: 0 0 0 1.2rem;
    padding: .9rem 0 0;
    border-left: 2px solid var(--ink);
}
.tree__branches > li {
    position: relative;
    padding: 0 0 .9rem 1.6rem;
}
.tree__branches > li:last-child {
    padding-bottom: 0;
}
.tree__branches > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 1.5rem;
    border-top: 2px solid var(--ink);
}
.tree__branches > li:last-child::after {
    content: "";
    position: absolute;
    left: -2px;
    top: 1.15rem;
    bottom: 0;
    width: 4px;
    background: var(--sand);
}
.tree__item summary {
    cursor: pointer;
    list-style: none;
    min-width: 9.5rem;
    text-align: center;
    transition: background-color .15s ease, transform .15s ease;
}
.tree__item summary::-webkit-details-marker { display: none; }
.tree__item summary::after {
    content: "+";
    display: inline-block;
    margin-left: .6rem;
    font-family: var(--font-mono);
    color: var(--coral);
}
.tree__item[open] summary { background: var(--yellow); }
.tree__item[open] summary::after { content: "−"; }
.tree__item summary:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 rgba(35, 38, 43, .3); }
.tree__leaves {
    list-style: none;
    margin: .55rem 0 .2rem 1.1rem;
    padding: 0 0 0 1.2rem;
    border-left: 2px dashed var(--muted);
}
.tree__leaves li {
    position: relative;
    padding: .18rem 0;
    font-family: var(--font-mono);
    font-size: .86rem;
    color: #3A3D42;
}
.tree__leaves li::before {
    content: "";
    position: absolute;
    left: -1.2rem;
    top: .9rem;
    width: .9rem;
    border-top: 2px dashed var(--muted);
}
.tree__note {
    position: absolute;
    left: 14.5rem;
    top: -.4rem;
    padding: 0 .3rem;
    font-family: var(--font-hand);
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.05;
    color: var(--ink);
    background: linear-gradient(transparent 45%, var(--yellow) 45%, var(--yellow) 88%, transparent 88%);
    transform: rotate(-3deg);
    max-width: 9rem;
}
.tree__note::before {
    content: "";
    position: absolute;
    left: -3.1rem;
    top: .2rem;
    width: 2.8rem;
    height: 1.6rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 46 26'%3E%3Cpath d='M44 20C34 22 18 16 6 6M5 14L5 5l9 0' fill='none' stroke='%2323262B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 960px) {
    .map { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .tree__note { position: static; display: inline-block; margin: .8rem 0 0; transform: rotate(-2deg); max-width: none; }
    .tree__note::before { display: none; }
}

/* ---------- Блок 4: чек-лист ---------- */
.check {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 2.4rem 4rem;
    align-items: center;
}
.check__list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: var(--paper);
    border: 2px solid var(--ink);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .35);
}
.check__list li + li { border-top: 2px solid #3A3D42; }
.check__row {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.check__box {
    flex: 0 0 3.2rem;
    position: relative;
    border-right: 2px solid #3A3D42;
}
.check__box::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border: 2px solid var(--ink);
    background: var(--paper);
}
.check__row[aria-pressed="true"] .check__box::before {
    background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M3 10l5 5 9-12' fill='none' stroke='%2323262B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check__text {
    flex: 1;
    min-width: 0;
    padding: .62rem 1rem .58rem;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: .98rem;
}
.check__row:hover .check__text { background: rgba(242, 194, 48, .2); }
.check__row[aria-pressed="true"] .check__text { color: #4A4D52; }
.check__side {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}
.publish-plate {
    padding: 1.1rem 2.6rem 1rem;
    background: var(--coral);
    color: #FFF8EE;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    letter-spacing: .04em;
    text-transform: uppercase;
    border: 2px solid #0F1012;
    box-shadow: 9px 9px 0 var(--yellow);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.publish-plate:hover, .publish-plate:focus-visible {
    transform: translate(3px, 3px);
    box-shadow: 6px 6px 0 var(--yellow);
}
.publish-plate.is-ready { background: #D9452E; }
.publish-plate.is-shake { animation: estsk-shake .4s ease; }
@keyframes estsk-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-3px); }
}
.check__status {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .88rem;
    color: #CFC8B9;
}
.check__stamp {
    display: inline-block;
    padding: .35rem .9rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--yellow);
    border: 3px double var(--yellow);
    transform: rotate(-6deg);
    animation: estsk-stamp .35s ease-out;
}
@keyframes estsk-stamp {
    from { transform: rotate(-6deg) scale(1.6); opacity: 0; }
    to { transform: rotate(-6deg) scale(1); opacity: 1; }
}
@media (max-width: 960px) {
    .check { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .publish-plate { width: 100%; padding: 1rem 1.2rem; }
    .check__text { font-size: .9rem; }
}

/* ---------- Внутренние страницы ---------- */
.inner { padding: 2rem 0 4.5rem; }
.breadcrumbs {
    margin: 0 0 1.6rem;
    font-family: var(--font-mono);
    font-size: .82rem;
    letter-spacing: .03em;
    color: #B9B3A6;
}
.breadcrumbs a {
    color: var(--on-dark);
    text-decoration: underline dotted var(--blue);
    text-underline-offset: 4px;
}
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { color: var(--yellow); margin: 0 .25rem; }
.page-head { margin: 0 0 2.4rem; }
.page-head__title {
    margin: 0;
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--on-dark);
}
.page-head__meta, .page-head__lead {
    margin-top: 1rem;
    max-width: 70ch;
    font-family: var(--font-mono);
    font-size: .92rem;
    color: #CFC8B9;
}
.page-head__lead p:last-child { margin-bottom: 0; }

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

/* Лист бумаги */
.sheet {
    position: relative;
    padding: 2.6rem 2.6rem 2.4rem 3.2rem;
    background:
        linear-gradient(var(--blue), var(--blue)) 1.9rem 0 / 1px 100% no-repeat,
        linear-gradient(var(--yellow), var(--yellow)) 0 2.2rem / 10px 40px no-repeat,
        var(--paper);
    color: var(--ink);
    box-shadow: 0 12px 22px rgba(0, 0, 0, .35);
}
.sheet::before,
.sheet::after {
    content: "";
    position: absolute;
    top: -11px;
    width: 72px;
    height: 22px;
    background: var(--tape);
}
.sheet::before { left: -18px; transform: rotate(-32deg); }
.sheet::after { right: -18px; transform: rotate(32deg); }
.sheet + .sheet, .neighbors + .sheet { margin-top: 2.6rem; }
@media (max-width: 600px) {
    .sheet { padding: 2rem 1.3rem 1.8rem 2.2rem; background-position: 1.2rem 0, 0 1.8rem, 0 0; }
}

/* Запись */
.entry__head { margin-bottom: 1.6rem; }
.entry__title {
    margin: 0 0 .7rem;
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.08;
    color: var(--ink);
}
.entry__meta {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .84rem;
    color: var(--muted);
}
.entry__sep { margin: 0 .45rem; }
.entry__cat { color: var(--blue); text-decoration: none; }
.entry__cat:hover { text-decoration: underline wavy; }
.entry__cover { margin: 0 0 1.8rem; }
.entry__cover img { width: 100%; height: auto; border: 2px solid var(--ink); }
.entry__content { font-size: 1.04rem; line-height: 1.75; }
.entry__content > *:first-child { margin-top: 0; }
.entry__content h2 { font-size: 1.75rem; }
.entry__content h3 { font-size: 1.4rem; }
.entry__content h4 { font-size: 1.18rem; }
.entry__content h2::after {
    content: "";
    display: block;
    width: 3.2rem;
    height: 5px;
    margin-top: .35rem;
    background: var(--yellow);
}
.entry__content a {
    color: var(--blue);
    text-decoration: underline wavy;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.entry__content a:hover { color: var(--coral); }
.entry__content ul, .entry__content ol { padding-left: 1.5rem; margin: 0 0 1.2em; }
.entry__content ul { list-style: none; padding-left: 1.5rem; }
.entry__content ul li { position: relative; }
.entry__content ul li::before {
    content: "";
    position: absolute;
    left: -1.25rem;
    top: .62em;
    width: 9px;
    height: 9px;
    background: var(--yellow);
    border: 2px solid var(--ink);
}
.entry__content ol li::marker { font-family: var(--font-head); font-weight: 700; color: var(--coral); }
.entry__content li { margin-bottom: .35em; }
.entry__content blockquote {
    margin: 1.8rem 0;
    padding: 1.2rem 1.4rem 1.1rem 1.6rem;
    background: #FFF7DA;
    border-left: 6px solid var(--yellow);
    font-style: italic;
}
.entry__content blockquote p:last-child { margin-bottom: 0; }
.entry__content blockquote cite { display: block; margin-top: .5rem; font-family: var(--font-mono); font-size: .82rem; font-style: normal; color: var(--muted); }
.entry__content table {
    width: 100%;
    margin: 1.6rem 0;
    border-collapse: collapse;
    border: 2px solid var(--ink);
    font-size: .95rem;
}
.entry__content th, .entry__content td {
    padding: .55rem .75rem;
    border: 1px solid var(--ink);
    text-align: left;
    vertical-align: top;
}
.entry__content th {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-head);
    letter-spacing: .03em;
}
.entry__content tr:nth-child(even) td { background: rgba(232, 223, 206, .6); }
.entry__content .wp-block-table { overflow-x: auto; }
.entry__content code, .entry__content pre {
    font-family: var(--font-mono);
    font-size: .9em;
    background: #E6DFD0;
}
.entry__content code { padding: .08em .35em; }
.entry__content pre { padding: 1rem 1.2rem; overflow-x: auto; border-left: 4px solid var(--blue); }
.entry__content pre code { background: none; padding: 0; }
.entry__content img { border: 2px solid var(--ink); }
.entry__content figure { margin: 1.8rem 0; }
.entry__content figcaption { margin-top: .5rem; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.entry__content hr { border: 0; border-top: 2px dashed var(--muted); margin: 2rem 0; }
.alignleft { float: left; margin: .3rem 1.4rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.4rem; }
.aligncenter { margin-inline: auto; }
.page-links { margin-top: 1.4rem; font-family: var(--font-mono); font-size: .9rem; }
.entry__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 2rem 0 0;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line-soft);
}
.entry__tags a {
    padding: .15rem .6rem;
    font-family: var(--font-mono);
    font-size: .8rem;
    text-decoration: none;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.entry__tags a:hover { background: var(--blue); color: var(--paper); }

.neighbors {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin: 2.4rem 0 0;
}
.neighbors__link {
    display: block;
    padding: 1rem 1.2rem;
    border: 2px solid var(--on-dark);
    color: var(--on-dark);
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.25;
    transition: background-color .15s ease, color .15s ease;
}
.neighbors__link span {
    display: block;
    margin-bottom: .3rem;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: .76rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--yellow);
}
.neighbors__link--next { text-align: right; grid-column: 2; }
.neighbors__link:hover { background: var(--paper); color: var(--ink); }
.neighbors__link:hover span { color: var(--coral); }
@media (max-width: 600px) {
    .neighbors { grid-template-columns: minmax(0, 1fr); }
    .neighbors__link--next { grid-column: auto; }
}

/* ---------- Сайдбар ---------- */
.sidebar { min-width: 0; display: grid; gap: 2.6rem; }
.sidebar .widget {
    position: relative;
    padding: 1.8rem 1.5rem 1.4rem;
    background: #E9E2D3;
    color: var(--ink);
    box-shadow: 0 10px 18px rgba(0, 0, 0, .35);
}
.sidebar .widget::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    width: 80px;
    height: 20px;
    margin-left: -40px;
    background: var(--tape);
    transform: rotate(-3deg);
}
.sidebar .widget-title {
    margin: 0 0 1rem;
    padding-bottom: .4rem;
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 4px solid var(--yellow);
    display: inline-block;
}
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li {
    padding: .55rem 0;
    border-bottom: 1px dashed #B7AE9C;
    font-family: var(--font-mono);
    font-size: .88rem;
    line-height: 1.45;
    color: var(--ink);
}
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget a { color: var(--ink); text-decoration: none; }
.sidebar .widget a:hover { color: var(--coral-dark); text-decoration: underline wavy; text-underline-offset: 3px; }
.sidebar .widget .post-date { display: block; font-size: .78rem; color: var(--muted); }
.sidebar .widget p { font-family: var(--font-mono); font-size: .88rem; color: var(--ink); }
.sidebar .search-form__field { background: #FFFDF7; }

/* ---------- Поиск ---------- */
.search-form { display: flex; gap: 0; max-width: 520px; margin: 1.4rem 0; }
.search-form__field {
    flex: 1;
    min-width: 0;
    padding: .65rem .9rem;
    font-family: var(--font-mono);
    font-size: .92rem;
    color: var(--ink);
    background: #FFFDF7;
    border: 2px solid var(--ink);
    border-right: 0;
    border-radius: 0;
}
.search-form__btn {
    padding: .6rem 1.2rem;
    background: var(--coral);
    color: #FFF8EE;
    border: 2px solid var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}
.search-form__btn:hover { background: var(--coral-dark); }

/* ---------- Пагинация ---------- */
.pager {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 3rem 0 0;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding: 0 .8rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: var(--ink);
    background: var(--paper);
    border: 2px solid #0F1012;
    box-shadow: 3px 3px 0 var(--blue);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.pager a.page-numbers:hover {
    background: var(--coral);
    color: #FFF8EE;
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 var(--blue);
}
.pager .page-numbers.current {
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--coral);
}
.pager .page-numbers.dots {
    background: none;
    border: 0;
    box-shadow: none;
    color: var(--on-dark);
    min-width: 1.5rem;
}

/* ---------- 404 ---------- */
.lost { text-align: left; max-width: 820px; }
.lost__code {
    margin: 0;
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: clamp(5rem, 16vw, 9rem);
    line-height: .9;
    color: var(--coral);
    text-decoration: line-through 6px var(--ink);
}
.lost__title {
    margin: .8rem 0 .6rem;
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--ink);
}
.lost__text { font-family: var(--font-mono); font-size: .95rem; max-width: 56ch; }

/* ---------- Комментарии ---------- */
.comments { margin-top: 2.6rem; }
.comments__title,
.comment-reply-title {
    margin: 0 0 1.2rem;
    font-family: var(--font-head);
    font-style: italic;
    font-weight: 800;
    font-size: 1.55rem;
    text-transform: uppercase;
    color: var(--ink);
}
.comments__list, .comments__list .children { list-style: none; margin: 0; padding: 0; }
.comments__list .children { margin-left: 1.6rem; padding-left: 1rem; border-left: 2px dashed var(--muted); }
.note__body {
    margin: 0 0 1.2rem;
    padding: 1rem 1.2rem;
    background: #FBF8F1;
    border: 1px solid var(--line-soft);
}
.note__head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-bottom: .5rem; }
.note__head img { border-radius: 0; border: 2px solid var(--ink); }
.note__author { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.note__date { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.note__wait { font-family: var(--font-mono); font-size: .82rem; color: var(--coral-dark); }
.note__text p:last-child { margin-bottom: .4rem; }
.note__reply a { font-family: var(--font-mono); font-size: .8rem; color: var(--blue); }
.comment-respond { margin-top: 1.6rem; }
.comment-form p { margin: 0 0 1rem; }
.comment-form label { display: block; margin-bottom: .3rem; font-family: var(--font-head); font-weight: 700; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: .6rem .8rem;
    font-family: var(--font-mono);
    font-size: .92rem;
    color: var(--ink);
    background: #FFFDF7;
    border: 2px solid var(--ink);
    border-radius: 0;
}
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-family: var(--font-mono); font-weight: 400; font-size: .82rem; }
.form-note { font-family: var(--font-mono); font-size: .82rem; color: var(--muted); }
.form-submit .submit {
    padding: .65rem 1.5rem;
    background: var(--coral);
    color: #FFF8EE;
    border: 2px solid #0F1012;
    box-shadow: 4px 4px 0 var(--yellow);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}
.form-submit .submit:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--yellow); }
.req { color: var(--coral); }
.comments .nav-links { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: .85rem; }
.comments .nav-links a { color: var(--blue); }

/* ---------- Подвал ---------- */
.colophon {
    position: relative;
    margin-top: 0;
    padding: 4rem 0 0;
    background-color: var(--footer);
    background-image:
        url("images/paper-left.png"),
        url("images/paper-right.png");
    background-position: left bottom, right bottom;
    background-size: auto 150px, auto 150px;
    background-repeat: no-repeat;
    color: var(--on-dark);
}
.colophon__wave {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14'%3E%3Cpath d='M0 7c30-6 50 6 80 2s50-8 80-3 50 6 80 1' fill='none' stroke='%233E6FA8' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 240px 14px repeat-x;
}
.colophon__cols {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem 3rem;
    padding-bottom: 4.4rem;
}
.colophon__col { min-width: 0; }
.colophon .widget { margin: 0 0 1.4rem; color: var(--on-dark); }
.colophon .widget-title {
    margin: 0 0 .9rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #FFFFFF;
}
.colophon .widget p,
.colophon .widget li,
.colophon .textwidget {
    font-family: var(--font-mono);
    font-size: .88rem;
    line-height: 1.65;
    color: #D6D0C3;
}
.colophon .widget ul { list-style: none; margin: 0; padding: 0; }
.colophon .widget li { padding: .12rem 0; }
.colophon .widget a {
    color: var(--on-dark);
    text-decoration: underline;
    text-decoration-color: rgba(237, 231, 218, .55);
    text-underline-offset: 4px;
}
.colophon .widget a:hover { color: var(--yellow); text-decoration-color: var(--yellow); text-decoration-style: wavy; }
.colophon .widget .post-date { color: #A9A397; }
.colophon__base {
    position: relative;
    z-index: 1;
    padding: 1.2rem 0 1.6rem;
    border-top: 2px solid var(--blue);
}
.colophon__copy {
    margin: 0;
    text-align: center;
    font-family: var(--font-mono);
    font-size: .82rem;
    color: #C9C3B6;
}
@media (max-width: 960px) {
    .colophon { background-size: auto 110px, auto 110px; }
}
@media (max-width: 600px) {
    .colophon__cols { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
    .colophon { background-image: none; padding-top: 3rem; }
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 16px;
    z-index: 60;
    width: min(92%, 860px);
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.3rem;
    background: var(--paper);
    color: var(--ink);
    border: 2px solid #0F1012;
    box-shadow: 6px 6px 0 var(--blue);
}
.cookie-banner__text { margin: 0; flex: 1; min-width: 0; font-family: var(--font-mono); font-size: .84rem; line-height: 1.5; }
.cookie-banner__btn {
    flex: 0 0 auto;
    padding: .55rem 1.3rem;
    background: var(--coral);
    color: #FFF8EE;
    border: 2px solid #0F1012;
    box-shadow: 3px 3px 0 var(--yellow);
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
}
.cookie-banner__btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--yellow); }
@media (max-width: 600px) {
    .cookie-banner { flex-direction: column; align-items: flex-start; padding: 1rem 1.1rem; }
}

/* ---------- Мелочи WordPress ---------- */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.bypostauthor > .note__body { border-left: 4px solid var(--yellow); }
.sticky { position: relative; }
