/*
Theme Name: dds_oppo-design-awards.com
Theme URI: https://oppo-design-awards.com/
Author: Алексей Зимин
Description: Тема информационно-аналитического портала об архитектурных конкурсах и проектах жилых комплексов. Оформление в стиле синей светокопии: миллиметровая сетка, листы кальки, штампы и красная ревизионная правка.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oppoda
*/

/* Шрифты Oswald и IBM Plex Mono — SIL Open Font License 1.1 */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/oswald-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: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/oswald-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+0304, U+0308, U+0329, 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/oswald-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: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/oswald-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+0304, U+0308, U+0329, 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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/oswald-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: 'Oswald';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/oswald-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+0304, U+0308, U+0329, 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: 600;
    font-display: swap;
    src: url('fonts/ibm-plex-mono-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 Mono';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/ibm-plex-mono-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+0304, U+0308, U+0329, 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: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/ibm-plex-mono-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 Mono';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/ibm-plex-mono-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Переменные ---------- */
:root {
    --bp: #16345E;
    --bp-deep: #0E2444;
    --axo: #073265;
    --paper: #F4F7FB;
    --white: #FFFFFF;
    --red: #D8412F;
    --red-dark: #B5321F;
    --yellow: #E8C64A;
    --muted: #8FA6C4;
    --line: #2E5480;
    --calque: #E8EEF6;
    --ink: #0E2444;
    --ink-soft: #3B5476;
    --date-on-paper: #56708F;
    --f-head: 'Oswald', 'Arial Narrow', 'Roboto Condensed', sans-serif;
    --f-mono: 'IBM Plex Mono', 'Consolas', 'Courier New', monospace;
}

/* ---------- Правила hidden — до основных блоков ---------- */
.cookie-banner[hidden] { display: none !important; }
.top-nav[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;
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: 15px;
    line-height: 1.65;
    background-color: var(--bp);
    background-image:
        linear-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .11) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-head);
    font-weight: 500;
    line-height: 1.2;
    margin: 1.4em 0 .6em;
    letter-spacing: .03em;
}
p, li, dd, td, th, figcaption, blockquote, .card-title, .entry-title, .sheet-title {
    overflow-wrap: break-word;
    hyphens: auto;
}

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

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

/* ---------- Кнопки-штампы ---------- */
.stamp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    margin: 3px;
    padding: .78em 1.5em;
    border: 0;
    border-radius: 0;
    background: var(--red);
    color: var(--white);
    box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--red);
    font-family: var(--f-head);
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease;
}
.stamp-btn:hover {
    background: var(--red-dark);
    transform: translate(2px, 2px);
    color: var(--white);
}
.stamp-btn--sm { font-size: .8rem; padding: .62em 1.15em; }

.stamp {
    display: inline-block;
    padding: .28em .7em;
    border: 2px solid var(--red);
    outline: 1px solid var(--red);
    outline-offset: 2px;
    color: var(--red);
    font-family: var(--f-head);
    font-weight: 600;
    font-size: .8rem;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    transform: rotate(-4deg);
    white-space: nowrap;
}
.stamp--head {
    color: var(--white);
    background: rgba(216, 65, 47, .18);
    font-size: .78rem;
}
.stamp--small { font-size: .68rem; transform: rotate(-2deg); }

/* ---------- Шапка ---------- */
.masthead {
    position: relative;
    background-color: var(--bp-deep);
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 20px 20px;
    border-bottom: 1px solid var(--line);
}
.masthead::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -5px;
    height: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.masthead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2.5rem;
    padding: 1.5rem 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-width: 0;
    max-width: 680px;
    color: var(--white);
    text-decoration: none;
}
.brand-mark {
    flex: 0 0 auto;
    color: var(--red);
    transform: rotate(-6deg);
    line-height: 0;
}
.brand-stamp { display: block; width: 72px; height: 72px; }
.brand-logo { display: block; width: auto; max-height: 72px; }
.brand-text { display: flex; flex-direction: column; gap: .35rem; min-width: 0; overflow-wrap: break-word; hyphens: manual; }
.brand-name {
    font-family: var(--f-head);
    font-size: clamp(.98rem, 1.35vw, 1.2rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: .03em;
}
.brand-desc {
    font-size: .72rem;
    line-height: 1.5;
    color: var(--muted);
}
.top-nav { flex: 0 0 auto; }
.top-menu {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}
.top-menu li + li { border-left: 1px solid rgba(255, 255, 255, .32); }
.top-menu a {
    display: block;
    padding: .2rem 1.05rem;
    color: var(--paper);
    font-family: var(--f-head);
    font-size: 1.02rem;
    letter-spacing: .05em;
    text-decoration: none;
}
.top-menu li:first-child a { padding-left: 0; }
.top-menu a span { border-bottom: 1px solid transparent; }
.top-menu a:hover { color: var(--yellow); }
.top-menu .current-menu-item > a,
.top-menu .current_page_item > a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .45em;
}
.menu-toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    padding: .55rem .9rem;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 0;
    background: transparent;
    color: var(--paper);
    font-family: var(--f-head);
    font-size: .9rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
}
.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    position: relative;
}
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

/* ---------- Заголовки листов ---------- */
.band {
    position: relative;
    overflow: hidden;
    padding: clamp(2.5rem, 6vw, 4.8rem) 0;
}
.band > .shell { position: relative; z-index: 1; }
.sheet-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .5rem 1.4rem;
    margin: 0 0 1.8rem;
}
.sheet-num {
    font-family: var(--f-head);
    font-size: clamp(2.2rem, 3.8vw, 3.4rem);
    font-weight: 400;
    line-height: 1;
    color: var(--white);
}
.sheet-title {
    margin: 0;
    min-width: 0;
    font-size: clamp(1.75rem, 3.4vw, 3.1rem);
    font-weight: 400;
    letter-spacing: .05em;
    color: var(--white);
}
.sheet-head--hero .sheet-title { font-size: clamp(2.1rem, 5.6vw, 5.6rem); line-height: 1.05; }
.sheet-head--hero .sheet-num { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }
.sheet-head .stamp { align-self: center; }
.sheet-head-link {
    margin-left: auto;
    font-size: .85rem;
    color: var(--paper);
}
.sheet-head-link:hover { color: var(--yellow); }
.band-lead {
    max-width: 62rem;
    margin: -.6rem 0 2rem;
    color: #C9D6E8;
    font-size: .92rem;
}

/* ---------- Калька ---------- */
.calque {
    position: relative;
    color: var(--ink);
    background-color: rgba(232, 238, 246, .92);
    background-image:
        linear-gradient(rgba(46, 84, 128, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 84, 128, .07) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid rgba(255, 255, 255, .7);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), 97% 100%, 93% calc(100% - 7px), 88% calc(100% - 1px), 82% calc(100% - 9px), 76% calc(100% - 2px), 69% calc(100% - 10px), 61% calc(100% - 3px), 54% calc(100% - 8px), 46% 100%, 39% calc(100% - 6px), 31% calc(100% - 1px), 24% calc(100% - 9px), 17% calc(100% - 2px), 10% calc(100% - 8px), 4% calc(100% - 1px), 0 calc(100% - 7px));
}
.calque::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 8%;
    width: 120px;
    height: 26px;
    background: rgba(238, 233, 214, .78);
    transform: rotate(-4deg);
}

/* Свободные листы по краям */
.loose-sheet {
    display: none;
    position: absolute;
    z-index: 0;
    height: auto;
    border: 1px solid rgba(255, 255, 255, .25);
    opacity: .92;
}
.loose-sheet--a { width: 200px; left: calc(7.5% - 160px); top: 150px; transform: rotate(-7deg); }
.loose-sheet--b { width: 210px; right: calc(7.5% - 130px); top: 40px; transform: rotate(6deg); }
.loose-sheet--c { width: 160px; left: calc(7.5% - 120px); top: 210px; transform: rotate(-5deg); }
.loose-sheet--d { width: 180px; right: calc(7.5% - 120px); top: 110px; transform: rotate(4deg); }

/* ---------- Лист 1: реестр ---------- */
.registry {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px;
    gap: 1.6rem;
    align-items: stretch;
}
.registry-sheet { padding: 2.6rem clamp(1.2rem, 3vw, 2.6rem) 2.8rem; }
.registry-lead { max-width: 52rem; font-size: .88rem; color: var(--ink-soft); }
.table-scroll { overflow-x: auto; margin: 0 0 1.6rem; }
.spec-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    border: 1px solid var(--line);
    font-size: .86rem;
}
.spec-table th,
.spec-table td {
    padding: .85rem .9rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: middle;
}
.spec-table th {
    font-family: var(--f-head);
    font-weight: 500;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(46, 84, 128, .09);
}
.spec-table strong { display: block; font-weight: 600; color: var(--ink); }
.spec-note { display: block; margin-top: .2rem; font-size: .76rem; color: var(--ink-soft); }
.spec-n { font-family: var(--f-head); font-size: 1.05rem; width: 3.2rem; }
.stamp--cell { font-size: .72rem; }
.stamp--tilt { transform: rotate(5deg); }
.registry-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.2rem;
}
.title-block {
    border-collapse: collapse;
    font-size: .68rem;
    color: var(--ink-soft);
}
.title-block td { border: 1px solid var(--line); padding: .2rem .55rem; }
.scale-legend {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: .5rem 0;
    border: 1px solid rgba(255, 255, 255, .4);
    background:
        repeating-linear-gradient(to bottom, rgba(255, 255, 255, .7) 0 1px, transparent 1px 12px) left 0 top 0 / 10px 100% no-repeat,
        repeating-linear-gradient(to bottom, rgba(255, 255, 255, .9) 0 1px, transparent 1px 60px) left 0 top 0 / 18px 100% no-repeat;
}
.scale-legend-cap {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--f-head);
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: .8rem;
}
.scale-legend ol {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
    padding: 0 0 0 14px;
    list-style: none;
    font-size: .66rem;
    color: var(--paper);
}
.scale-legend li { writing-mode: vertical-rl; transform: rotate(180deg); }

/* ---------- Лист 2: аксонометрия ---------- */
.axo-frame {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 190px);
    gap: 1.8rem 2.4rem;
    padding: clamp(1.2rem, 3vw, 2.4rem);
    background-color: var(--axo);
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid var(--line);
    outline: 1px solid rgba(255, 255, 255, .55);
    outline-offset: 6px;
}
.axo-edge {
    position: absolute;
    left: -2.6rem;
    top: 2rem;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--f-head);
    font-size: .74rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
.axo-figure {
    position: relative;
    margin: 0;
    min-width: 0;
    container-type: inline-size;
}
.axo-figure img { display: block; width: 100%; height: auto; aspect-ratio: 1580 / 1130; }
.axo-tag {
    position: absolute;
    transform: translateY(-100%);
    padding: .05em .9em .15em .3em;
    background: var(--axo);
    color: var(--white);
    font-family: var(--f-mono);
    font-size: 12px;
    font-size: clamp(9px, 2.4cqi, 24px);
    line-height: 1.15;
    letter-spacing: .02em;
    white-space: nowrap;
}
.axo-tag--facade { left: 9.2%; top: 11.4%; }
.axo-tag--yard { left: 67%; top: 9.1%; }
.axo-tag--roof { left: 86.2%; top: 21%; }
.axo-tag--lvl1 { left: 2.6%; top: 24.4%; font-size: clamp(8px, 1.6cqi, 14px); color: var(--muted); }
.axo-tag--lvl2 { left: 1.4%; top: 52.4%; font-size: clamp(8px, 1.6cqi, 14px); color: var(--muted); }
.axo-tag--play { left: 8.6%; top: 89.6%; }
.axo-tag--ground { left: 72.2%; top: 93.4%; }
.axo-facts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    margin: 0;
}
.axo-fact {
    position: relative;
    padding: 0 0 .5rem 1rem;
    border-left: 1px solid rgba(255, 255, 255, .5);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}
.axo-fact dt {
    font-family: var(--f-head);
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    font-weight: 500;
    line-height: .95;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--paper);
}
@supports not (-webkit-text-stroke: 1px #fff) {
    .axo-fact dt { color: var(--paper); }
}
.axo-fact dd {
    margin: .2rem 0 0;
    font-family: var(--f-head);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    letter-spacing: .04em;
    color: var(--white);
}
.axo-caption {
    margin: 0;
    max-width: 52rem;
    font-size: .85rem;
    color: #C9D6E8;
}
.axo-scale { width: 220px; height: 40px; color: var(--paper); justify-self: end; align-self: end; }

.band--axo::before {
    content: '';
    display: none;
    position: absolute;
    left: calc(7.5% - 70px);
    top: 28%;
    width: 22px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, .45);
    background:
        repeating-linear-gradient(to bottom, rgba(255, 255, 255, .6) 0 1px, transparent 1px 10px) left / 8px 100% no-repeat,
        repeating-linear-gradient(to bottom, rgba(255, 255, 255, .9) 0 1px, transparent 1px 50px) left / 14px 100% no-repeat;
}
.band--axo::after {
    content: '';
    display: none;
    position: absolute;
    right: calc(7.5% - 80px);
    top: 14%;
    width: 52px;
    height: 76px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 76'%3E%3Cpath d='M26 4C10 3 4 22 5 40s9 32 22 32 21-16 20-35S38 2 22 6' fill='none' stroke='%23E8C64A' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M26 22v26' stroke='%23E8C64A' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='26' cy='56' r='2.4' fill='%23E8C64A'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Лист 3: записи ---------- */
.posts-sheet { padding: 2.8rem clamp(1.2rem, 3vw, 2.6rem) 3rem; }
.card-grid { display: grid; gap: 1.8rem; }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
    --under: var(--calque);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    color: var(--ink);
    transition: transform .2s ease;
}
.card::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: -10px;
    left: 50%;
    width: 64px;
    height: 20px;
    margin-left: -32px;
    background: rgba(238, 233, 214, .85);
    transform: rotate(-3deg);
}
.card::after {
    content: '';
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 26px;
    height: 26px;
    background: linear-gradient(315deg, var(--under) 50%, #C3D0E2 50%);
    box-shadow: -1px -1px 0 rgba(46, 84, 128, .35);
}
.card:hover { transform: translateY(-3px) rotate(-.4deg); }
.card-thumb {
    position: relative;
    padding: 12px 12px 0;
}
.card-thumb a { display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.card-thumb::before,
.card-thumb::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: 18px;
    height: 18px;
}
.card-thumb::before { top: 10px; left: 10px; background: linear-gradient(135deg, rgba(14, 36, 68, .72) 50%, transparent 50%); }
.card-thumb::after { bottom: -2px; right: 10px; background: linear-gradient(315deg, rgba(14, 36, 68, .72) 50%, transparent 50%); }
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1rem 1.25rem 1.6rem;
}
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; margin-bottom: .4rem; }
.card-date { font-size: .75rem; color: var(--date-on-paper); letter-spacing: .04em; }
.card-pin {
    font-family: var(--f-head);
    font-size: .68rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid var(--red);
    padding: 0 .4em;
}
.card-title { margin: 0 0 .55rem; font-size: 1.22rem; font-weight: 500; letter-spacing: .02em; }
.card-title a { text-decoration: none; color: var(--ink); }
.card-title a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.card-excerpt { font-size: .83rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1rem; }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-excerpt a { color: var(--ink); }
.card-more { margin-top: auto; align-self: flex-start; }
.empty-note { margin: 0; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Лист 4: каталог ---------- */
.pinboard {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem 2rem;
    padding: 1rem 0;
}
.pin-sheet {
    position: relative;
    margin: 0;
    padding: 12px 12px 14px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    min-width: 0;
    transition: transform .2s ease;
}
.pin-sheet::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    margin-left: -7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #F08B7E, var(--red) 55%, #8E2418);
    box-shadow: 1px 2px 0 rgba(0, 0, 0, .25);
}
.pin-sheet img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.pin-sheet figcaption {
    margin-top: .7rem;
    font-size: .8rem;
    line-height: 1.45;
    color: var(--ink);
}
.pin-no {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    padding: .1em .45em;
    background: var(--paper);
    border: 1.5px solid var(--red);
    outline: 1px solid var(--red);
    outline-offset: 1px;
    color: var(--red);
    font-family: var(--f-head);
    font-size: .72rem;
    letter-spacing: .1em;
}
.pin-sheet--1 { transform: rotate(-1.4deg); }
.pin-sheet--2 { transform: rotate(.9deg) translateY(10px); }
.pin-sheet--3 { transform: rotate(-.5deg); }
.pin-sheet--4 { transform: rotate(1.2deg); }
.pin-sheet--5 { transform: rotate(-1deg) translateY(8px); }
.pin-sheet--6 { transform: rotate(.6deg); }
.pin-sheet:hover { transform: rotate(0) translateY(-4px); }

/* ---------- Лист 5: сообщество ---------- */
.community {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
}
.redline-quote {
    position: relative;
    margin: 0;
    padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.6rem, 4vw, 3.4rem);
    background-color: var(--bp-deep);
    background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 1px, transparent 1px 12px);
    background-size: 100% 8px;
    background-repeat: no-repeat;
    background-position: left bottom;
    border-left: 5px solid var(--red);
    color: var(--white);
}
.redline-quote p {
    margin: 0 0 1.2rem;
    font-family: var(--f-head);
    font-size: clamp(1.3rem, 2.4vw, 2rem);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: .02em;
}
.redline-quote mark {
    color: inherit;
    background: linear-gradient(transparent 62%, rgba(232, 198, 74, .55) 62%, rgba(232, 198, 74, .55) 90%, transparent 90%);
    padding: 0 .1em;
}
.redline-quote footer { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.redline-quote footer::before { content: '— '; }
.redline-mark {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 92px;
    height: 32px;
    color: var(--red);
}
.rubrics {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid rgba(255, 255, 255, .45);
    outline: 1px solid var(--line);
    outline-offset: -7px;
}
.rubrics-title {
    margin: 0 0 1.1rem;
    font-size: .85rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--yellow);
}
.rubrics-list { margin: 0; padding: 0; list-style: none; }
.rubrics-list li {
    position: relative;
    padding: .65rem 0 .65rem 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: .9rem;
}
.rubrics-list li:last-child { border-bottom: 0; }
.rubrics-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.05rem;
    width: 10px;
    height: 10px;
    background: var(--yellow);
}
.rubrics-list a { color: var(--paper); text-decoration: none; }
.rubrics-list a:hover { color: var(--yellow); text-decoration: underline; }

/* ---------- Внутренние страницы ---------- */
.inner { padding: 2rem 0 4.5rem; }
.crumbs {
    margin: 0 0 1.8rem;
    font-size: .78rem;
    color: var(--muted);
}
.crumbs a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); }
.crumbs a:hover { color: var(--yellow); }
.crumbs-sep { margin: 0 .35rem; color: var(--red); }
.crumbs-current { color: #C9D6E8; }
.sheet-head--page { margin-bottom: 1.4rem; }
.sheet-head--page .sheet-title { font-size: clamp(1.8rem, 4vw, 3.2rem); }

.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; }

.paper-sheet {
    --under: var(--bp);
    position: relative;
    margin-bottom: 2rem;
    padding: clamp(1.4rem, 4vw, 3rem);
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
}
.paper-sheet::after {
    content: '';
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 34px;
    height: 34px;
    background: linear-gradient(315deg, var(--under) 50%, #C3D0E2 50%);
}
.entry-head { margin-bottom: 1.6rem; padding-bottom: 1.2rem; border-bottom: 2px solid var(--ink); }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-bottom: .8rem; }
.entry-meta .card-date { font-size: .8rem; }
.entry-title {
    margin: 0;
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    font-weight: 500;
    letter-spacing: .03em;
    color: var(--ink);
}
.entry-photo { margin: 0 0 1.8rem; }
.entry-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.entry-content { font-size: .95rem; line-height: 1.78; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.65rem; color: var(--ink); }
.entry-content h3 { font-size: 1.3rem; color: var(--ink); }
.entry-content h4 { font-size: 1.1rem; }
.entry-content a { color: #1D4C88; }
.entry-content a:hover { color: var(--red); }
.entry-content ul { padding-left: 1.3rem; list-style: square; }
.entry-content ul li::marker { color: var(--red); }
.entry-content ol { padding-left: 1.5rem; }
.entry-content li { margin-bottom: .35rem; }
.entry-content blockquote {
    margin: 1.6rem 0;
    padding: 1.2rem 1.4rem 1.2rem 1.6rem;
    border-left: 4px solid var(--red);
    background: var(--calque);
    font-style: italic;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table {
    width: 100%;
    margin: 1.6rem 0;
    border-collapse: collapse;
    border: 1px solid var(--line);
    font-size: .86rem;
}
.entry-content th,
.entry-content td { padding: .6rem .75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--calque); font-family: var(--f-head); font-weight: 500; letter-spacing: .06em; }
.entry-content img { display: block; height: auto; }
.entry-content figure { margin: 1.6rem 0; }
.entry-content figcaption { font-size: .78rem; color: var(--date-on-paper); margin-top: .4rem; }
.entry-content pre {
    overflow-x: auto;
    padding: 1rem 1.2rem;
    background: var(--bp-deep);
    color: var(--paper);
    font-size: .85rem;
}
.entry-content code { font-family: var(--f-mono); background: var(--calque); padding: .05em .3em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: 0; border-top: 1px dashed var(--line); 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; }
.wp-caption-text { font-size: .78rem; }
.page-links { margin-top: 1.4rem; font-family: var(--f-head); letter-spacing: .06em; }
.page-links a { margin: 0 .3rem; }
.entry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .9rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line);
    font-size: .8rem;
}
.entry-tags a { color: #1D4C88; }
.entry-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.entry-nav a {
    display: block;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(14, 36, 68, .55);
    color: var(--paper);
    text-decoration: none;
    font-family: var(--f-head);
    font-size: 1.02rem;
    letter-spacing: .02em;
}
.entry-nav a span {
    display: block;
    margin-bottom: .3rem;
    font-family: var(--f-mono);
    font-size: .72rem;
    color: var(--muted);
}
.entry-nav a:hover { border-color: var(--yellow); }
.entry-nav-next { grid-column: 2; text-align: right; }

/* Сайдбар */
.sidebar { min-width: 0; }
.sidebar .widget {
    position: relative;
    margin-bottom: 1.6rem;
    padding: 1.4rem 1.5rem 1.5rem;
    background: var(--calque);
    color: var(--ink);
    border: 1px solid var(--line);
    font-size: .85rem;
}
.sidebar .widget-title {
    display: inline-block;
    margin: 0 0 1rem;
    padding: .15em .55em;
    border: 2px solid var(--red);
    color: var(--red);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    transform: rotate(-2deg);
}
.sidebar .widget ul { margin: 0; padding: 0; list-style: none; }
.sidebar .widget li { padding: .55rem 0; border-bottom: 1px dashed rgba(46, 84, 128, .45); }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget a { color: var(--ink); text-decoration: none; }
.sidebar .widget a:hover { color: var(--red); text-decoration: underline; }
.sidebar .widget .post-date { display: block; font-size: .72rem; color: var(--date-on-paper); }
.sidebar .search-form { flex-direction: column; }

/* Пагинация */
.pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin: 2.4rem 0 1rem;
}
.pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    height: 2.7rem;
    padding: 0 .8rem;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(14, 36, 68, .6);
    color: var(--paper);
    font-family: var(--f-head);
    font-size: .95rem;
    letter-spacing: .06em;
    text-decoration: none;
}
.pager a.page-numbers:hover { border-color: var(--yellow); color: var(--yellow); }
.pager .page-numbers.current {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--red);
    margin: 0 3px;
}
.pager .page-numbers.dots { border: 0; background: none; min-width: 1.6rem; padding: 0; }

/* Поиск */
.search-form { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.search-field {
    flex: 1 1 220px;
    min-width: 0;
    padding: .78em .9em;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: .9rem;
}
.search-submit { flex: 0 0 auto; }

/* 404 */
.lost-sheet { text-align: left; }
.lost-code {
    display: block;
    font-family: var(--f-head);
    font-size: clamp(5rem, 16vw, 10rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--line);
}
@supports not (-webkit-text-stroke: 1px #fff) {
    .lost-code { color: var(--line); }
}
.lost-stamp { margin: .6rem 0 1.2rem; }
.lost-sheet .entry-title { margin-bottom: 1rem; }
.lost-home { margin-top: 1.4rem; }

/* Комментарии */
.comments-title { margin-top: 0; font-size: 1.5rem; color: var(--ink); }
.comment-list,
.comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: clamp(1rem, 4vw, 2.6rem); }
.note-body { padding: 1.1rem 0; border-top: 1px dashed var(--line); }
.note-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-bottom: .5rem; }
.note-avatar { display: block; border: 1px solid var(--line); }
.note-author { font-family: var(--f-head); font-size: 1.02rem; letter-spacing: .03em; }
.note-date { font-size: .74rem; color: var(--date-on-paper); }
.note-wait { font-size: .8rem; color: var(--red); }
.note-text { font-size: .9rem; }
.note-reply a { font-size: .78rem; color: #1D4C88; }
.comment-pager { display: flex; justify-content: space-between; gap: 1rem; margin: 1rem 0; font-size: .82rem; }
.comment-respond { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 2px solid var(--ink); }
.comment-reply-title { margin-top: 0; font-size: 1.35rem; color: var(--ink); }
.comment-reply-title small { margin-left: .8rem; font-size: .75rem; }
.comment-notes, .logged-in-as, .must-log-in { font-size: .8rem; color: var(--ink-soft); }
.comment-form label { display: block; margin-bottom: .3rem; font-size: .8rem; font-family: var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    display: block;
    width: 100%;
    padding: .7em .8em;
    border: 1px solid var(--line);
    border-radius: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: .9rem;
}
.comment-form-cookies-consent label { display: inline; text-transform: none; font-family: var(--f-mono); letter-spacing: 0; }
.req { color: var(--red); }
.comments-closed { font-size: .85rem; color: var(--ink-soft); }

/* ---------- Подвал ---------- */
.colophon {
    position: relative;
    margin-top: 1rem;
    padding: 3.6rem 0 1.6rem;
    background-color: var(--bp-deep);
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 20px 20px;
    border-top: 1px solid var(--line);
    color: #C9D6E8;
}
.colophon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.6rem;
}
.colophon-col { min-width: 0; }
.colophon .widget { font-size: .84rem; color: #C9D6E8; margin-bottom: 1.4rem; }
.colophon .widget-title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--white);
}
.colophon .widget p { color: #C9D6E8; }
.colophon .widget ul { margin: 0; padding: 0; list-style: none; }
.colophon .widget li { margin-bottom: .55rem; }
.colophon .widget a { color: var(--paper); text-decoration: underline; text-decoration-color: rgba(244, 247, 251, .45); }
.colophon .widget a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }
.colophon .widget .post-date { color: var(--muted); font-size: .74rem; }
.colophon-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .6rem 2rem;
    margin-top: 2.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    font-size: .76rem;
}
.copyright { margin: 0; color: #AFC1D8; }
.colophon-sheet {
    padding: .2em .7em;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--f-head);
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ---------- Cookie ---------- */
.cookie-banner {
    position: fixed;
    z-index: 60;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.6rem;
    max-width: 760px;
    padding: 1rem 1.3rem 1rem 1.5rem;
    background: var(--bp-deep);
    color: var(--paper);
    border: 1px solid var(--line);
    border-left: 5px solid var(--red);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
}
.cookie-text { flex: 1 1 280px; margin: 0; font-size: .8rem; line-height: 1.55; }
.cookie-accept { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */
@media (min-width: 1280px) {
    .loose-sheet { display: block; }
    .band--axo::before,
    .band--axo::after { display: block; }
}

@media (max-width: 1140px) {
    .masthead-row { flex-wrap: wrap; }
    .top-nav { flex-basis: 100%; }
    .axo-edge { display: none; }
}

@media (max-width: 960px) {
    .masthead-row { position: relative; }
    .menu-toggle { display: inline-flex; margin-left: auto; }
    .top-nav { display: none; }
    .top-nav.is-open { display: block; }
    .top-menu { flex-direction: column; border-top: 1px solid var(--line); }
    .top-menu li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
    .top-menu a, .top-menu li:first-child a { padding: .75rem 0; }
    .registry { grid-template-columns: minmax(0, 1fr); }
    .scale-legend { display: none; }
    .axo-frame { grid-template-columns: minmax(0, 1fr); }
    .axo-facts { flex-direction: row; flex-wrap: wrap; gap: 1.2rem 2rem; }
    .axo-fact { flex: 1 1 120px; }
    .axo-scale { justify-self: start; }
    .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pinboard { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .community { grid-template-columns: minmax(0, 1fr); }
    .layout-with-sidebar { display: block; }
    .sidebar { margin-top: 2.4rem; }
    .colophon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    body { font-size: 14px; }
    .shell { width: 92%; }
    .brand-stamp { width: 54px; height: 54px; }
    .brand-desc { display: none; }
    .band { padding: 2.2rem 0; }
    .registry-sheet { padding: 2.4rem 1.1rem 2.6rem; }
    .posts-sheet { padding: 2.4rem 1.1rem 2.6rem; }
    .axo-frame { padding: 1rem; }
    .axo-tag { padding: 0 .5em 0 .2em; }
    .card-grid--3,
    .card-grid--2 { grid-template-columns: minmax(0, 1fr); }
    .pinboard { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .redline-quote { padding: 1.8rem 1.3rem 2rem 1.4rem; }
    .redline-mark { width: 64px; top: 8px; right: 10px; }
    .rubrics { padding: 1.4rem 1.2rem; }
    .paper-sheet { padding: 1.4rem 1.15rem 2rem; }
    .entry-nav { grid-template-columns: minmax(0, 1fr); }
    .entry-nav-next { grid-column: auto; }
    .colophon-grid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
    .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: .9rem 1rem .9rem 1.1rem; }
    .stamp { white-space: normal; }
    .alignleft, .alignright { float: none; margin: 1rem 0; }
}
.comments > .comment-respond:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
