/*
Theme Name: dds_boussoleinterne.com
Theme URI: https://boussoleinterne.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: bussol
*/

/* ---------- Шрифты ---------- */
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/old-standard-tt-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: "Old Standard TT"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/old-standard-tt-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; }
@font-face { font-family: "Old Standard TT"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/old-standard-tt-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: "Old Standard TT"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/old-standard-tt-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; }
@font-face { font-family: "Old Standard TT"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/old-standard-tt-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: "Old Standard TT"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/old-standard-tt-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; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lora-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: "Lora"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lora-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; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lora-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: "Lora"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/lora-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; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lora-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: "Lora"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lora-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; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/caveat-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: "Caveat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/caveat-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; }
@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+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; }

/* ---------- Палитра ---------- */
:root {
    --night: #16233A;
    --night-deep: #111C2F;
    --night-panel: #1D2D48;
    --paper: #EFE3CC;
    --paper-card: #F6EEDC;
    --paper-field: #FAF4E7;
    --ink-light: #F2E8D5;
    --ink: #22252B;
    --ink-soft: #454A53;
    --muted-paper: #7A8699;
    --muted-night: #C9B48A;
    --rust: #D4622A;
    --rust-deep: #B24E1E;
    --teal: #4E8C8A;
    --teal-deep: #3B6E6C;
    --line: #C9B48A;
    --f-head: "Old Standard TT", "Georgia", "Times New Roman", serif;
    --f-body: "Lora", "Georgia", "Times New Roman", serif;
    --f-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
    --tear: 26px;
    --grain-dark: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22220%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix values=%220 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.1 0%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E");
    --grain-paper: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22220%22 height=%22220%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.85%22 numOctaves=%222%22 stitchTiles=%22stitch%22/%3E%3CfeColorMatrix values=%220 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.12 0 0 0 0.09 0%22/%3E%3C/filter%3E%3Crect width=%22100%25%22 height=%22100%25%22 filter=%22url(%23n)%22/%3E%3C/svg%3E");
}

/* ---------- Скрытие через [hidden] ---------- */
.cookie-banner[hidden] { display: none !important; }
[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(--f-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink-light);
    background-color: var(--night);
    background-image: var(--grain-dark), url("images/topo-lines.svg");
    background-size: 220px 220px, 720px 720px;
    overflow-wrap: break-word;
}
p, li, dd, dt, blockquote, figcaption { hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { hyphens: manual; overflow-wrap: break-word; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 700; line-height: 1.18; margin: 0 0 .6em; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.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; padding: .6rem 1rem; background: var(--paper); color: var(--ink); font-weight: 600; }
.skip-link:focus { top: 1rem; }

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

/* ---------- Кнопка-ярлык ---------- */
.tag-btn {
    --btn-fill: var(--paper);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .7rem 1.55rem;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    color: var(--teal-deep);
    background: transparent;
    border: 0;
    cursor: pointer;
    box-shadow: inset 0 0 0 1.5px currentColor, inset 0 0 0 4px var(--btn-fill), inset 0 0 0 5px currentColor;
    clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.tag-btn::after {
    content: "";
    position: absolute;
    top: 6px;
    right: -3px;
    width: 18px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
}
.tag-btn:hover, .tag-btn:focus-visible { --btn-fill: var(--teal); background: var(--teal); color: var(--paper-card); transform: translateY(-1px); }

.wavy-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline wavy var(--teal);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
}
.wavy-link:hover { color: var(--rust); text-decoration-color: var(--rust); }

/* ---------- Шапка ---------- */
.masthead { border-bottom: 1px solid rgba(201, 180, 138, .35); background: linear-gradient(180deg, rgba(17, 28, 47, .7), rgba(17, 28, 47, 0)); }
.masthead-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.3rem 0; }
.brand { display: flex; align-items: center; gap: 1.1rem; min-width: 0; color: var(--ink-light); text-decoration: none; flex: 1 1 auto; }
.brand-mark { flex: 0 0 auto; color: var(--muted-night); display: block; line-height: 0; }
.brand-compass { width: 84px; height: 84px; display: block; transition: transform .6s ease; }
.brand:hover .brand-compass { transform: rotate(22deg); }
.brand-logo { display: block; max-height: 84px; width: auto; }
.brand-text { min-width: 0; display: block; max-width: 42rem; }
.brand-name { display: block; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.08rem, 1.5vw, 1.45rem); line-height: 1.22; color: var(--ink-light); }
.brand-tagline { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .35rem; font-size: .9rem; line-height: 1.45; color: rgba(242, 232, 213, .72); }

.topnav { flex: 0 0 auto; }
.topnav-list { display: flex; flex-wrap: nowrap; gap: .4rem 2.1rem; margin: 0; padding: 0; list-style: none; }
.topnav-list a { display: inline-block; padding: .3rem 0; color: var(--ink-light); text-decoration: none; font-size: 1rem; white-space: nowrap; text-underline-offset: 7px; }
.topnav-list a:hover, .topnav-list .current-menu-item > a, .topnav-list .current_page_item > a {
    text-decoration: underline wavy var(--line);
    text-decoration-thickness: 1.5px;
}
.nav-toggle { display: none; align-items: center; gap: .6rem; padding: .55rem .9rem; font: 600 .8rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-light); background: transparent; border: 1px solid rgba(201, 180, 138, .6); cursor: pointer; }
.nav-toggle-bars { position: relative; width: 18px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }

/* ---------- Полосы главной ---------- */
.band { position: relative; padding: clamp(3.2rem, 6vw, 5.6rem) 0; }
.band--night { color: var(--ink-light); }
.band--paper {
    z-index: 1;
    color: var(--ink);
    background-color: var(--paper);
    background-image: var(--grain-paper), radial-gradient(ellipse at 15% 20%, rgba(201, 180, 138, .25), transparent 55%), radial-gradient(ellipse at 85% 80%, rgba(201, 180, 138, .2), transparent 50%);
    background-size: 220px 220px, 100% 100%, 100% 100%;
    margin: var(--tear) 0;
}
.band--paper::before, .band--paper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: calc(var(--tear) + 2px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
}
.band--paper::before { top: calc(var(--tear) * -1); background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 28%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,28 L0.0,6.4 L16.2,18.3 L25.2,13.7 L36.6,16.9 L52.1,7.3 L58.4,20.9 L69.6,19.8 L75.6,14.3 L90.3,10.6 L107.6,23.0 L114.0,7.3 L126.5,23.9 L137.1,10.9 L148.2,7.5 L156.8,14.8 L168.8,11.1 L177.5,10.7 L189.0,11.8 L195.3,21.6 L208.0,17.8 L216.2,23.9 L232.5,7.8 L242.5,18.3 L257.1,21.7 L268.1,19.4 L282.2,9.5 L295.2,19.5 L311.4,12.2 L324.4,3.3 L333.4,16.8 L344.3,5.2 L356.9,14.5 L371.0,8.3 L382.3,10.5 L397.6,10.5 L408.3,9.9 L414.7,1.8 L429.1,18.7 L442.2,8.1 L450.3,10.2 L468.1,15.2 L480.6,17.1 L489.3,11.0 L506.8,12.6 L518.3,7.3 L530.9,20.1 L536.9,17.2 L552.8,19.5 L567.7,18.6 L579.9,14.6 L591.0,5.8 L607.4,15.6 L615.8,14.7 L627.6,12.3 L637.8,15.9 L651.3,17.5 L662.8,7.2 L671.5,10.0 L684.6,22.4 L700.1,21.3 L715.9,11.6 L732.0,19.0 L739.0,7.1 L745.2,20.3 L754.2,8.6 L767.7,12.5 L774.5,9.1 L786.9,8.9 L796.1,18.4 L807.6,11.1 L819.3,5.4 L829.9,12.2 L838.2,6.3 L855.0,13.0 L863.5,14.4 L879.3,3.4 L885.5,5.4 L900.1,5.2 L914.6,14.2 L927.1,5.7 L944.8,15.7 L957.0,5.2 L970.8,8.2 L983.7,6.8 L997.3,2.1 L1006.9,18.5 L1023.4,6.7 L1039.7,7.0 L1056.9,15.2 L1067.9,6.6 L1074.0,18.0 L1080.5,17.2 L1098.0,13.2 L1106.1,18.8 L1123.8,16.4 L1135.9,11.0 L1146.1,8.2 L1160.1,12.7 L1168.5,7.1 L1182.5,11.0 L1194.5,11.8 L1200.0,14.0 L1200,28 Z%22 fill=%22%23EFE3CC%22/%3E%3C/svg%3E"); }
.band--paper::after { bottom: calc(var(--tear) * -1); background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 28%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,0 L0.0,21.2 L17.4,5.6 L24.4,19.8 L39.2,17.3 L48.9,16.5 L62.2,16.4 L70.1,13.9 L80.8,19.4 L98.8,23.8 L111.3,14.8 L120.5,7.6 L126.8,15.3 L136.7,13.8 L153.4,16.4 L166.1,11.1 L172.4,12.7 L180.0,15.9 L198.0,18.6 L206.2,22.3 L221.7,19.1 L238.6,19.1 L254.1,11.3 L271.9,21.7 L279.8,17.7 L294.4,11.9 L306.8,12.0 L323.9,11.7 L339.8,8.6 L356.4,18.0 L368.0,11.8 L385.0,14.3 L396.8,5.1 L406.7,13.6 L414.7,17.4 L423.9,17.4 L433.7,18.2 L448.1,10.2 L460.3,13.0 L473.4,7.1 L481.9,10.8 L499.1,13.2 L506.0,16.9 L520.7,18.9 L529.0,16.2 L535.7,14.8 L545.0,7.4 L561.5,5.8 L573.8,19.6 L582.7,8.4 L599.3,12.7 L613.9,6.1 L624.2,8.9 L638.3,7.7 L655.8,7.0 L670.5,7.1 L679.6,21.5 L687.5,10.2 L701.8,13.9 L708.3,24.8 L716.1,7.6 L726.2,18.0 L741.1,8.8 L751.2,7.2 L762.6,20.2 L777.5,22.4 L792.5,21.3 L807.0,13.8 L815.7,17.0 L825.5,6.6 L836.9,20.1 L844.4,14.7 L855.1,13.0 L862.8,20.8 L871.9,14.1 L883.0,3.2 L895.7,5.0 L902.4,2.9 L910.3,3.8 L923.9,10.9 L941.7,18.2 L959.6,5.3 L971.0,5.6 L984.1,12.2 L999.7,13.8 L1008.8,8.7 L1021.1,1.3 L1027.5,8.6 L1034.8,14.4 L1043.7,3.3 L1051.9,5.9 L1060.5,11.3 L1072.1,7.7 L1085.8,6.4 L1102.7,20.4 L1117.4,11.4 L1129.5,14.4 L1136.2,11.7 L1148.5,7.8 L1155.6,19.3 L1166.0,14.5 L1183.0,16.6 L1192.5,23.6 L1200.0,14.0 L1200,0 Z%22 fill=%22%23EFE3CC%22/%3E%3C/svg%3E"); }
.band--open-bottom { margin-bottom: 0; }
.band--open-bottom::after { display: none; }
.band--seam { margin-top: 0; }
.band--seam::before { top: -9px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 18%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,18 L0.0,5.9 L7.2,7.4 L15.1,5.0 L25.9,12.2 L41.5,11.5 L50.2,9.9 L59.5,7.2 L66.8,7.7 L83.9,13.0 L99.6,13.1 L107.9,9.3 L121.4,12.8 L137.7,14.0 L144.7,11.8 L158.8,11.0 L166.9,10.7 L174.0,14.3 L190.4,10.9 L200.0,13.7 L212.9,13.2 L229.0,9.8 L240.0,10.2 L251.2,6.3 L260.8,11.2 L267.4,4.9 L280.9,6.3 L293.3,7.4 L303.4,11.3 L311.7,6.4 L320.2,7.8 L329.5,5.4 L344.5,4.7 L357.2,9.0 L364.4,2.1 L373.1,7.6 L386.5,3.2 L396.5,2.6 L408.0,1.4 L422.3,8.2 L439.8,6.9 L457.3,1.3 L466.8,9.1 L482.1,4.9 L499.4,7.0 L515.2,4.8 L523.5,6.2 L531.2,5.9 L548.7,6.1 L554.8,4.0 L562.9,10.2 L573.2,6.6 L580.4,12.3 L591.5,6.5 L598.2,5.5 L606.2,10.7 L614.0,5.9 L625.9,7.9 L643.8,7.3 L656.2,12.7 L667.1,14.6 L678.8,8.8 L689.8,7.2 L700.8,9.0 L717.5,13.6 L729.5,7.2 L738.5,8.8 L747.0,8.6 L763.5,7.6 L770.1,13.7 L782.9,13.9 L793.7,12.9 L807.6,11.6 L822.5,8.8 L829.6,6.3 L846.1,11.3 L863.2,6.2 L877.1,9.5 L890.8,9.2 L903.1,7.5 L917.3,4.1 L934.4,9.2 L941.3,9.2 L958.9,6.5 L965.4,8.3 L972.9,8.8 L986.9,1.5 L994.9,6.1 L1007.8,7.0 L1024.9,3.0 L1030.9,8.7 L1037.1,8.4 L1044.5,8.0 L1059.9,8.9 L1072.5,9.2 L1080.9,7.8 L1090.9,9.8 L1106.2,7.0 L1118.5,3.8 L1124.9,8.6 L1136.7,11.1 L1150.0,5.7 L1160.4,11.1 L1172.7,5.4 L1188.7,12.4 L1195.7,10.3 L1200.0,9.0 L1200,18 Z%22 fill=%22%23E3D4B6%22/%3E%3C/svg%3E"); }
.band-decor { position: absolute; z-index: 0; pointer-events: none; display: block; height: auto; }

.display-title { font-family: var(--f-head); font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; color: var(--ink-light); margin: 0 0 .35em; text-shadow: 0 2px 0 rgba(0, 0, 0, .18); }
.display-title--ink { color: var(--ink); text-shadow: none; }
.display-title--stack { font-size: clamp(2.2rem, 3.3vw, 3.3rem); line-height: 1.06; }
.lead-text { max-width: 34rem; font-size: 1.05rem; color: rgba(242, 232, 213, .86); }
.band--paper .lead-text { color: var(--ink-soft); }

.section-title { display: flex; align-items: center; gap: 1.4rem; font-size: clamp(1.9rem, 3.4vw, 2.85rem); color: var(--ink); margin: 0 0 1.6rem; position: relative; z-index: 1; }
.section-title::after { content: ""; flex: 0 1 300px; height: 1.5px; min-width: 40px; background: linear-gradient(90deg, rgba(178, 78, 30, .55), rgba(201, 180, 138, 0)); }

/* Блок 1 — Компас выбора */
.compass-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.compass-figure { position: relative; margin: 0; padding: 3.4rem clamp(4rem, 9vw, 7.5rem) 3.6rem; min-width: 0; }
.compass-img { display: block; width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 1 / 1; object-fit: contain; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); animation: bussol-sway 9s ease-in-out infinite; }
@keyframes bussol-sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .compass-img { animation: none; } }
.hand-note { position: absolute; max-width: 11rem; font-family: var(--f-hand); font-weight: 500; font-size: 1.5rem; line-height: 1.05; color: var(--ink-light); }
.note-nw { top: 0; left: 0; transform: rotate(-4deg); }
.note-ne { top: -.2rem; right: 0; transform: rotate(4deg); text-align: right; }
.note-sw { bottom: .4rem; left: 0; transform: rotate(-3deg); }
.note-se { bottom: .2rem; right: 0; transform: rotate(3deg); text-align: right; }
.compass-copy { min-width: 0; }
.hand-aside { display: flex; align-items: center; gap: .8rem; margin: 0 0 1.6rem; font-family: var(--f-hand); font-weight: 500; font-size: clamp(1.8rem, 2.7vw, 2.4rem); line-height: 1; color: var(--rust); transform: rotate(-4deg); transform-origin: left center; }
.hand-arrow { flex: 0 0 auto; width: clamp(90px, 9vw, 150px); height: auto; color: var(--rust); }
.decor-peaks { right: 0; bottom: 1.2rem; width: clamp(200px, 25vw, 360px); opacity: .85; }

/* Блок 2 — Карта первого месяца */
.decor-route { top: 1.6rem; right: 3%; width: clamp(170px, 21vw, 300px); opacity: .9; }
.route { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.4rem; margin: 2.6rem 0 0; padding: 0; list-style: none; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: 19px; border-top: 2px dashed var(--teal); }
.route::after { content: ""; position: absolute; right: 1px; top: 14px; width: 11px; height: 11px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.route-stop { position: relative; text-align: center; min-width: 0; }
.route-stop:first-child::before { content: ""; position: absolute; left: 1px; top: 14px; width: 11px; height: 11px; border-bottom: 2px solid var(--teal); border-left: 2px solid var(--teal); transform: rotate(45deg); }
.route-stop:not(:last-child)::after { content: ""; position: absolute; right: calc(-.7rem - 6px); top: 14px; width: 11px; height: 11px; border-top: 2px solid var(--teal); border-right: 2px solid var(--teal); transform: rotate(45deg); }
.route-num { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--rust); color: #FFF5E8; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(178, 78, 30, .45); }
.route-title { font-size: 1.18rem; color: var(--ink); margin: 0 0 .45rem; }
.route-text { font-size: .93rem; line-height: 1.5; color: var(--ink-soft); margin: 0; }

/* Блок записей */
.band-latest { padding-top: clamp(3.4rem, 6vw, 5rem); }
.decor-ridge { top: .4rem; right: 0; width: clamp(160px, 19vw, 270px); opacity: .9; }
.decor-tree { right: .6rem; bottom: 2.6rem; width: 70px; opacity: .85; }
.latest-more { margin: 2.2rem 0 0; text-align: center; position: relative; z-index: 1; }
.empty-note { font-size: 1.05rem; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 2rem 1.8rem; }
.card-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem clamp(1.4rem, 3vw, 2.6rem); padding-inline: clamp(0rem, 2.5vw, 2.5rem); }

.card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.15rem 1.15rem 1.5rem;
    color: var(--ink);
    filter: drop-shadow(0 8px 14px rgba(17, 28, 47, .22));
    transition: transform .25s ease;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: var(--paper-card);
    background-image: var(--grain-paper);
    background-size: 220px 220px;
    clip-path: polygon(0.00% 0.56%, 7.14% 0.67%, 14.29% 0.72%, 21.43% 0.85%, 28.57% 0.67%, 35.71% 0.83%, 42.86% 0.03%, 50.00% 0.42%, 57.14% 0.85%, 64.29% 0.58%, 71.43% 0.81%, 78.57% 0.10%, 85.71% 0.42%, 92.86% 0.22%, 100.00% 0.49%, 99.60% 7.14%, 99.99% 14.29%, 99.85% 21.43%, 99.80% 28.57%, 99.36% 35.71%, 99.46% 42.86%, 99.89% 50.00%, 99.44% 57.14%, 99.90% 64.29%, 99.57% 71.43%, 99.91% 78.57%, 100.00% 85.71%, 99.39% 92.86%, 99.85% 100.00%, 92.86% 99.81%, 85.71% 99.12%, 78.57% 99.21%, 71.43% 99.74%, 64.29% 99.13%, 57.14% 99.51%, 50.00% 99.39%, 42.86% 99.82%, 35.71% 99.15%, 28.57% 99.38%, 21.43% 99.13%, 14.29% 99.20%, 7.14% 99.73%, 0.00% 99.67%, 0.12% 92.86%, 0.10% 85.71%, 0.05% 78.57%, 0.21% 71.43%, 0.42% 64.29%, 0.00% 57.14%, 0.47% 50.00%, 0.24% 42.86%, 0.22% 35.71%, 0.57% 28.57%, 0.34% 21.43%, 0.22% 14.29%, 0.34% 7.14%);
}
.card::after { content: ""; position: absolute; inset: 7px; z-index: -1; border: 1px solid rgba(201, 180, 138, .6); pointer-events: none; }
.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card-pin { position: absolute; top: 9px; right: 12px; z-index: 2; width: 17px; height: 17px; border-radius: 50%; background: radial-gradient(circle at 35% 32%, #F1DDAE 0, #C59C5C 45%, #7A5A32 100%); box-shadow: 1px 2px 3px rgba(0, 0, 0, .35); }
.card-thumb { display: block; overflow: hidden; border: 1px solid rgba(34, 37, 43, .14); background: #E7DAC0; }
.card-thumb img, .card-img { display: block; width: 100%; height: auto; aspect-ratio: 592 / 326; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 1rem .35rem 0; }
.card-title { font-size: 1.2rem; line-height: 1.28; margin: 0 0 .45rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--rust-deep); }
.card-dash { display: block; width: 30px; height: 8px; margin: 0 0 .6rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 8'%3E%3Cpath d='M1 5c4-4 6 2 10 0s6-4 10 0 6 1 8-1' fill='none' stroke='%237A8699' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.card-excerpt { flex: 1; font-size: .95rem; line-height: 1.55; color: var(--ink-soft); }
.card-excerpt p { margin: 0 0 .5em; background: none; }
.card-excerpt a { color: var(--teal-deep); }
.card-date { display: block; margin: .7rem 0 1rem; font-size: .85rem; color: var(--muted-paper); letter-spacing: .02em; }
.card-more { align-self: flex-start; --btn-fill: var(--paper-card); }

/* Блок 3 — Разбор чемодана */
.suitcase-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2.3fr); align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.suitcase-copy { min-width: 0; }
.suitcase-figure { margin: 0; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr); grid-template-areas: "docs img memory" "buy img skip"; align-items: center; column-gap: .4rem; row-gap: 3rem; }
.suitcase-img { grid-area: img; display: block; width: 100%; height: auto; aspect-ratio: 860 / 712; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .4)); }
.suitcase-notes { display: contents; }
.callout { display: flex; flex-direction: column; min-width: 0; color: var(--ink-light); }
.callout--docs { grid-area: docs; align-self: end; text-align: right; align-items: flex-end; }
.callout--buy { grid-area: buy; align-self: start; text-align: right; align-items: flex-end; }
.callout--memory { grid-area: memory; align-self: end; }
.callout--skip { grid-area: skip; align-self: start; }
.callout-title { font-family: var(--f-hand); font-weight: 700; font-size: 1.6rem; line-height: 1.05; }
.callout-text { margin-top: .3rem; font-size: .84rem; line-height: 1.45; color: var(--muted-night); max-width: 15rem; }
.callout-line { width: 86px; height: 38px; color: var(--rust); flex: 0 0 auto; }
.callout--docs .callout-line, .callout--memory .callout-line { order: 3; margin-top: .3rem; }
.callout--buy .callout-line, .callout--skip .callout-line { order: -1; margin-bottom: .3rem; }
.decor-windrose { right: 2%; top: 14%; width: clamp(90px, 9vw, 130px); opacity: .9; }

/* Блок 4 — Шкала готовности */
.ready-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.45fr) minmax(0, 1.25fr); align-items: center; gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.ready-head { min-width: 0; }
.wave-rule { display: block; width: 110px; height: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 12'%3E%3Cpath d='M2 7c8-6 14 4 22 0s14-6 22 0 14 4 22 0 14-6 22 0 10 3 18-1' fill='none' stroke='%234E8C8A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.ready-mountains { display: block; width: 100%; max-width: 290px; height: auto; margin-top: 1.8rem; }
.ready-scale { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: stretch; gap: 1.1rem; min-width: 0; }
.ready-thermo { display: block; height: 340px; width: 128px; max-width: none; object-fit: contain; }
.ready-levels { position: relative; margin: 0; padding: 0; list-style: none; min-width: 0; }
.ready-level { position: absolute; left: 0; right: 0; transform: translateY(-50%); padding-bottom: .35rem; border-bottom: 1px solid rgba(34, 37, 43, .16); }
.ready-level b { display: block; font-weight: 400; font-size: 1.02rem; color: var(--ink); }
.ready-level span { display: block; font-size: .8rem; line-height: 1.35; color: var(--ink-soft); }
.ready-level--4 { top: 15.8%; }
.ready-level--3 { top: 38.9%; }
.ready-level--2 { top: 61.9%; }
.ready-level--1 { top: 84.9%; }
.ready-quote { position: relative; min-width: 0; padding: 1rem 0 1rem clamp(1.5rem, 3vw, 2.8rem); border-left: 1px solid rgba(34, 37, 43, .22); }
.hand-quote { position: relative; margin: 0 0 1.6rem; font-family: var(--f-hand); font-weight: 700; font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1; color: var(--teal-deep); transform: rotate(-5deg); padding-bottom: 1rem; }
.hand-quote::after { content: ""; position: absolute; left: 6%; right: 2%; bottom: 0; height: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'%3E%3Cpath d='M2 8C80 4 180 2 298 1' fill='none' stroke='%234E8C8A' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; background-size: 100% 100%; }
.ready-hint { font-size: .95rem; color: var(--ink-soft); max-width: 22rem; margin: 0; }
.ready-pocket { display: block; width: 92px; height: auto; margin: 1.2rem 0 0 auto; }

/* ---------- Подвал ---------- */
.foot { position: relative; background-color: var(--night-deep); background-image: var(--grain-dark), url("images/topo-lines.svg"); background-size: 220px 220px, 720px 720px; color: var(--ink-light); padding: 3.6rem 0 1.6rem; margin-top: 0; }
.band--paper + .foot, .site-main > .band--paper:last-child { margin-bottom: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 5rem); }
.foot-col { min-width: 0; color: var(--ink-light); }
.foot .widget-title { font-size: 1.35rem; color: var(--ink-light); margin: 0 0 .9rem; }
.foot .widget, .foot .widget p, .foot .textwidget { font-size: .95rem; line-height: 1.6; color: rgba(242, 232, 213, .86); }
.foot .widget a { color: var(--ink-light); text-decoration: underline; text-decoration-color: rgba(201, 180, 138, .7); text-underline-offset: 4px; }
.foot .widget a:hover { color: var(--rust); text-decoration-color: var(--rust); }
.foot .widget ul { list-style: none; margin: 0; padding: 0; }
.foot .widget li { position: relative; padding: .28rem 0 .28rem 2rem; }
.foot .widget li::before { content: ""; position: absolute; left: 0; top: .9rem; width: 18px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 6'%3E%3Cpath d='M1 4c3-3 4 1 7 0s4-3 7 0 2 1 2 0' fill='none' stroke='%23C9B48A' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.foot-copy { margin: 2.8rem 0 0; padding-top: 1.4rem; border-top: 1px solid rgba(201, 180, 138, .3); text-align: center; font-size: .88rem; color: var(--muted-night); }

/* ---------- Внутренние страницы ---------- */
.inner-band { padding: 2.2rem 0 4.5rem; }
.crumbs { margin: 0 0 1.8rem; font-size: .9rem; color: var(--muted-night); }
.crumbs a { color: var(--ink-light); text-decoration: underline wavy rgba(78, 140, 138, .9); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.crumbs a:hover { color: var(--rust); }
.crumbs-sep { margin: 0 .35rem; color: var(--rust); }
.layout-with-sidebar { display: grid; grid-template-columns: minmax(0, 67%) minmax(0, 27%); justify-content: space-between; align-items: start; }
.layout-single { display: block; }
.layout-single .content-area { width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }
.list-head { margin: 0 0 2rem; }
.page-title { font-size: clamp(2.1rem, 4vw, 3.2rem); color: var(--ink-light); margin: 0 0 .4rem; }
.list-desc { max-width: 40rem; color: rgba(242, 232, 213, .78); }
.list-desc p { margin: 0; }

.sheet {
    position: relative;
    margin: 18px 0 2.6rem;
    padding: clamp(1.6rem, 4vw, 3rem) clamp(1.3rem, 4vw, 3.2rem);
    color: var(--ink);
    background-color: var(--paper);
    background-image: var(--grain-paper);
    background-size: 220px 220px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
}
.sheet::before, .sheet::after { content: ""; position: absolute; left: 0; right: 0; height: 15px; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; }
.sheet::before { top: -14px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 28%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,28 L0.0,6.4 L16.2,18.3 L25.2,13.7 L36.6,16.9 L52.1,7.3 L58.4,20.9 L69.6,19.8 L75.6,14.3 L90.3,10.6 L107.6,23.0 L114.0,7.3 L126.5,23.9 L137.1,10.9 L148.2,7.5 L156.8,14.8 L168.8,11.1 L177.5,10.7 L189.0,11.8 L195.3,21.6 L208.0,17.8 L216.2,23.9 L232.5,7.8 L242.5,18.3 L257.1,21.7 L268.1,19.4 L282.2,9.5 L295.2,19.5 L311.4,12.2 L324.4,3.3 L333.4,16.8 L344.3,5.2 L356.9,14.5 L371.0,8.3 L382.3,10.5 L397.6,10.5 L408.3,9.9 L414.7,1.8 L429.1,18.7 L442.2,8.1 L450.3,10.2 L468.1,15.2 L480.6,17.1 L489.3,11.0 L506.8,12.6 L518.3,7.3 L530.9,20.1 L536.9,17.2 L552.8,19.5 L567.7,18.6 L579.9,14.6 L591.0,5.8 L607.4,15.6 L615.8,14.7 L627.6,12.3 L637.8,15.9 L651.3,17.5 L662.8,7.2 L671.5,10.0 L684.6,22.4 L700.1,21.3 L715.9,11.6 L732.0,19.0 L739.0,7.1 L745.2,20.3 L754.2,8.6 L767.7,12.5 L774.5,9.1 L786.9,8.9 L796.1,18.4 L807.6,11.1 L819.3,5.4 L829.9,12.2 L838.2,6.3 L855.0,13.0 L863.5,14.4 L879.3,3.4 L885.5,5.4 L900.1,5.2 L914.6,14.2 L927.1,5.7 L944.8,15.7 L957.0,5.2 L970.8,8.2 L983.7,6.8 L997.3,2.1 L1006.9,18.5 L1023.4,6.7 L1039.7,7.0 L1056.9,15.2 L1067.9,6.6 L1074.0,18.0 L1080.5,17.2 L1098.0,13.2 L1106.1,18.8 L1123.8,16.4 L1135.9,11.0 L1146.1,8.2 L1160.1,12.7 L1168.5,7.1 L1182.5,11.0 L1194.5,11.8 L1200.0,14.0 L1200,28 Z%22 fill=%22%23EFE3CC%22/%3E%3C/svg%3E"); }
.sheet::after { bottom: -14px; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1200 28%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,0 L0.0,21.2 L17.4,5.6 L24.4,19.8 L39.2,17.3 L48.9,16.5 L62.2,16.4 L70.1,13.9 L80.8,19.4 L98.8,23.8 L111.3,14.8 L120.5,7.6 L126.8,15.3 L136.7,13.8 L153.4,16.4 L166.1,11.1 L172.4,12.7 L180.0,15.9 L198.0,18.6 L206.2,22.3 L221.7,19.1 L238.6,19.1 L254.1,11.3 L271.9,21.7 L279.8,17.7 L294.4,11.9 L306.8,12.0 L323.9,11.7 L339.8,8.6 L356.4,18.0 L368.0,11.8 L385.0,14.3 L396.8,5.1 L406.7,13.6 L414.7,17.4 L423.9,17.4 L433.7,18.2 L448.1,10.2 L460.3,13.0 L473.4,7.1 L481.9,10.8 L499.1,13.2 L506.0,16.9 L520.7,18.9 L529.0,16.2 L535.7,14.8 L545.0,7.4 L561.5,5.8 L573.8,19.6 L582.7,8.4 L599.3,12.7 L613.9,6.1 L624.2,8.9 L638.3,7.7 L655.8,7.0 L670.5,7.1 L679.6,21.5 L687.5,10.2 L701.8,13.9 L708.3,24.8 L716.1,7.6 L726.2,18.0 L741.1,8.8 L751.2,7.2 L762.6,20.2 L777.5,22.4 L792.5,21.3 L807.0,13.8 L815.7,17.0 L825.5,6.6 L836.9,20.1 L844.4,14.7 L855.1,13.0 L862.8,20.8 L871.9,14.1 L883.0,3.2 L895.7,5.0 L902.4,2.9 L910.3,3.8 L923.9,10.9 L941.7,18.2 L959.6,5.3 L971.0,5.6 L984.1,12.2 L999.7,13.8 L1008.8,8.7 L1021.1,1.3 L1027.5,8.6 L1034.8,14.4 L1043.7,3.3 L1051.9,5.9 L1060.5,11.3 L1072.1,7.7 L1085.8,6.4 L1102.7,20.4 L1117.4,11.4 L1129.5,14.4 L1136.2,11.7 L1148.5,7.8 L1155.6,19.3 L1166.0,14.5 L1183.0,16.6 L1192.5,23.6 L1200.0,14.0 L1200,0 Z%22 fill=%22%23EFE3CC%22/%3E%3C/svg%3E"); }
.entry-head { margin-bottom: 1.4rem; }
.entry-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; color: var(--ink); margin: 0 0 .6rem; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin: 0; font-size: .9rem; color: var(--muted-paper); }
.entry-cats a { display: inline-block; margin-right: .5rem; color: var(--rust-deep); text-decoration: none; font-family: var(--f-hand); font-size: 1.25rem; line-height: 1; }
.entry-cover { margin: 0 0 1.8rem; border: 1px solid rgba(34, 37, 43, .14); padding: 8px; background: var(--paper-card); }
.entry-cover img { display: block; width: 100%; height: auto; }
.entry-content { font-size: 1.07rem; line-height: 1.75; color: var(--ink); }
.entry-content h2 { font-size: 1.85rem; margin: 1.8em 0 .6em; }
.entry-content h3 { font-size: 1.45rem; margin: 1.6em 0 .55em; }
.entry-content h4 { font-size: 1.2rem; margin: 1.4em 0 .5em; }
.entry-content p { margin: 0 0 1.15em; }
.entry-content a { color: var(--teal-deep); text-decoration: underline wavy var(--teal); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.entry-content a:hover { color: var(--rust-deep); text-decoration-color: var(--rust); }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.4rem; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul li::marker { color: var(--rust); }
.entry-content ol li::marker { color: var(--rust); font-family: var(--f-head); font-weight: 700; }
.entry-content blockquote { margin: 1.6em 0; padding: 1.2rem 1.6rem 1.2rem 1.8rem; border-left: 3px solid var(--rust); background: rgba(201, 180, 138, .22); font-style: italic; color: var(--ink-soft); }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { display: block; max-width: 100%; height: auto; }
.entry-content figure { margin: 1.6em 0; max-width: 100%; }
.entry-content figcaption { margin-top: .5rem; font-family: var(--f-hand); font-size: 1.2rem; color: var(--muted-paper); text-align: center; }
.entry-content table { width: 100%; margin: 1.6em 0; border-collapse: collapse; border: 1px solid var(--line); font-size: .95rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: .65rem .85rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: rgba(78, 140, 138, .14); font-weight: 600; }
.entry-content pre { overflow-x: auto; padding: 1rem 1.2rem; background: var(--night); color: var(--ink-light); font-size: .9rem; }
.entry-content code { font-size: .92em; background: rgba(201, 180, 138, .3); padding: .1em .3em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content hr { border: 0; height: 10px; margin: 2em 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 12'%3E%3Cpath d='M2 7c8-6 14 4 22 0s14-6 22 0 14 4 22 0 14-6 22 0 10 3 18-1' fill='none' stroke='%23C9B48A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 110px 12px no-repeat; }
.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, .gallery-caption { max-width: 100%; }
.page-links { margin-top: 1.5rem; font-weight: 600; }
.entry-tags { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px dashed rgba(34, 37, 43, .25); }
.entry-tags a { color: var(--teal-deep); text-decoration: none; }
.entry-tags a:hover { color: var(--rust-deep); }

.entry-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0 0 2.6rem; }
.entry-nav-link { display: block; padding: 1rem 1.2rem; border: 1px solid rgba(201, 180, 138, .45); color: var(--ink-light); text-decoration: none; font-family: var(--f-head); font-weight: 700; line-height: 1.3; transition: border-color .2s ease, background-color .2s ease; }
.entry-nav-link span { display: block; margin-bottom: .2rem; font-family: var(--f-hand); font-weight: 500; font-size: 1.25rem; color: var(--muted-night); }
.entry-nav-link:hover { border-color: var(--rust); background: rgba(212, 98, 42, .1); }
.entry-nav-next { grid-column: 2; text-align: right; }

/* ---------- Сайдбар ---------- */
.sidebar { min-width: 0; padding: 1.7rem 1.6rem; color: var(--ink-light); background-color: var(--night-panel); background-image: var(--grain-dark); background-size: 220px 220px; border: 1px solid rgba(201, 180, 138, .4); box-shadow: inset 0 0 0 5px var(--night-panel), inset 0 0 0 6px rgba(201, 180, 138, .25); }
.sidebar .widget { margin-bottom: 2rem; color: var(--ink-light); }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title { position: relative; font-size: 1.3rem; color: var(--ink-light); margin: 0 0 1rem; padding-bottom: .6rem; }
.sidebar .widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 8'%3E%3Cpath d='M1 5c5-5 8 2 13 0s8-4 13 0 8 2 13 0 8-4 13 0 6 2 10-1' fill='none' stroke='%23D4622A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.sidebar .widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar .widget li { padding: .6rem 0; border-bottom: 1px dashed rgba(201, 180, 138, .3); line-height: 1.4; }
.sidebar .widget li:last-child { border-bottom: 0; }
.sidebar .widget a { color: var(--ink-light); text-decoration: none; }
.sidebar .widget a:hover { color: var(--rust); text-decoration: underline wavy var(--rust); text-underline-offset: 5px; }
.sidebar .widget p, .sidebar .textwidget { color: rgba(242, 232, 213, .85); font-size: .95rem; }
.sidebar .post-date, .sidebar .rss-date { display: block; font-size: .82rem; color: var(--muted-night); }
.sidebar select { width: 100%; padding: .5rem; background: var(--paper-field); color: var(--ink); border: 1px solid var(--line); }

/* ---------- Пагинация ---------- */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin: 2.8rem 0 0; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.7rem; height: 2.7rem; padding: 0 .85rem; font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--ink-light); text-decoration: none; border: 1px solid rgba(201, 180, 138, .6); background: rgba(17, 28, 47, .45); transition: background-color .2s ease, border-color .2s ease; }
.pager a.page-numbers:hover { background: var(--teal); border-color: var(--teal); }
.pager .page-numbers.current { background: var(--rust); border-color: var(--rust); color: #FFF5E8; }
.pager .page-numbers.dots { border: 0; background: none; min-width: auto; padding: 0 .3rem; }
.pager .prev, .pager .next { font-family: var(--f-body); font-weight: 600; font-size: .85rem; letter-spacing: .06em; }

/* ---------- Поиск ---------- */
.seek-form { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0; }
.seek-field { flex: 1 1 14rem; min-width: 0; padding: .72rem .9rem; font: inherit; font-size: .98rem; color: var(--ink); background: var(--paper-field); border: 1px solid var(--line); border-radius: 0; }
.seek-submit { flex: 0 0 auto; }
.sidebar .seek-submit, .foot .tag-btn { --btn-fill: var(--night-panel); color: var(--ink-light); }

/* ---------- Комментарии ---------- */
.notes-title { font-size: 1.6rem; color: var(--ink); margin: 0 0 1.4rem; }
.note-list, .note-list .children { list-style: none; margin: 0; padding: 0; }
.note-list .children { margin-left: clamp(1rem, 4vw, 2.6rem); }
.note-body { margin: 0 0 1.2rem; padding: 1.1rem 1.25rem; background: var(--paper-card); border: 1px solid rgba(201, 180, 138, .7); }
.note-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-bottom: .6rem; }
.note-avatar { display: block; border-radius: 50%; }
.note-author { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.note-date { font-size: .84rem; color: var(--muted-paper); }
.note-moderation { font-style: italic; color: var(--rust-deep); }
.note-text p { margin: 0 0 .7em; }
.note-reply a { font-size: .85rem; font-weight: 600; color: var(--teal-deep); }
.notes-closed { font-style: italic; color: var(--muted-paper); }
.comment-respond { margin-top: 1.6rem; }
.comment-reply-title { font-size: 1.5rem; color: var(--ink); }
.comment-reply-title small { margin-left: .6rem; font-family: var(--f-body); font-size: .85rem; }
.comment-form p { margin: 0 0 1rem; }
.comment-form label { display: block; margin-bottom: .3rem; font-weight: 600; font-size: .92rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: .7rem .85rem; font: inherit; color: var(--ink); background: var(--paper-field); border: 1px solid var(--line); border-radius: 0; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .6rem; }
.comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.comment-notes, .logged-in-as { font-size: .9rem; color: var(--ink-soft); }
.req { color: var(--rust-deep); }
.comment-navigation .nav-links { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; }

/* ---------- 404 ---------- */
.lost-sheet { text-align: center; }
.lost-code { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(4.5rem, 12vw, 7.5rem); line-height: 1; color: var(--rust); }
.lost-text { max-width: 34rem; margin: 0 auto 1rem; color: var(--ink-soft); }
.lost-sheet .seek-form { max-width: 34rem; margin-inline: auto; }
.lost-home { margin: 1.4rem 0 0; }

.empty-sheet .empty-note { margin-bottom: .6rem; }

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    max-width: 760px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 1rem 1.4rem;
    padding: 1.05rem 1.4rem;
    color: var(--ink);
    background-color: var(--paper);
    background-image: var(--grain-paper);
    background-size: 220px 220px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}
.cookie-text { margin: 0; flex: 1 1 auto; font-size: .92rem; line-height: 1.5; min-width: 0; }
.cookie-accept { flex: 0 0 auto; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .suitcase-grid { grid-template-columns: minmax(0, 1fr); }
    .display-title--stack { max-width: none; }
    .ready-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
    .ready-quote { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(34, 37, 43, .22); padding: 2rem 0 0; }
    .ready-pocket { position: absolute; right: 0; top: 1.6rem; margin: 0; width: 76px; }
}

@media (max-width: 960px) {
    .masthead-row { flex-wrap: wrap; gap: 1rem; }
    .brand { flex: 1 1 calc(100% - 8rem); }
    .brand-compass { width: 64px; height: 64px; }
    .nav-toggle { display: inline-flex; }
    .topnav { display: none; flex: 1 1 100%; }
    .topnav-list { flex-wrap: wrap; }
    .topnav.is-open { display: block; }
    .topnav-list { flex-direction: column; gap: 0; padding: .6rem 0 .4rem; border-top: 1px solid rgba(201, 180, 138, .3); }
    .topnav-list a { display: block; padding: .65rem 0; white-space: normal; }

    .compass-grid { grid-template-columns: minmax(0, 1fr); }
    .compass-figure { max-width: 600px; justify-self: center; width: 100%; }
    .route { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; max-width: 34rem; }
    .route::before { left: 19px; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 2px dashed var(--teal); }
    .route::after, .route-stop:first-child::before, .route-stop:not(:last-child)::after { display: none; }
    .route-stop { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 1.1rem; text-align: left; }
    .route-num { grid-row: span 2; margin: 0; }
    .route-title { align-self: center; }
    .route-text { grid-column: 2; }
    .card-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 0; }
    .decor-route, .decor-ridge { width: 150px; opacity: .55; }
    .decor-tree { display: none; }

    .layout-with-sidebar { display: block; }
    .layout-with-sidebar .sidebar { margin-top: 1rem; }
    .layout-single .content-area { width: 100%; }
    .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .compass-figure { padding: 0; }
    .compass-img { max-width: 320px; }
    .compass-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.2rem; margin-top: 1.4rem; }
    .hand-note { position: static; max-width: none; transform: none; font-size: 1.35rem; text-align: left; }
    .note-ne, .note-se { text-align: left; }
    .suitcase-figure { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "img img" "docs memory" "buy skip"; row-gap: 1.4rem; column-gap: 1.2rem; }
    .callout, .callout--docs, .callout--buy { align-self: start; align-items: flex-start; text-align: left; }
    .callout-line { display: none; }
    .callout-title { font-size: 1.4rem; }
    .ready-grid { grid-template-columns: minmax(0, 1fr); }
    .decor-windrose { display: none; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    :root { --tear: 18px; }
    .band { padding: 2.8rem 0; }
    .shell.front-shell { width: min(90%, 1320px); }
    .brand-tagline { display: none; }
    .brand-compass { width: 52px; height: 52px; }
    .section-title { flex-wrap: wrap; gap: .6rem; }
    .section-title::after { flex-basis: 100%; }
    .card-grid--three { grid-template-columns: minmax(0, 1fr); }
    .decor-route, .decor-ridge, .decor-peaks { display: none; }
    .ready-thermo { height: 300px; width: 113px; }
    .ready-pocket { display: none; }
    .foot-cols { grid-template-columns: minmax(0, 1fr); }
    .entry-nav { grid-template-columns: minmax(0, 1fr); }
    .entry-nav-next { grid-column: auto; }
    .sheet { padding: 1.5rem 1.25rem; }
    .cookie-banner { flex-direction: column; align-items: stretch; padding: 1rem 1.15rem; }
    .cookie-accept { align-self: flex-start; }
}
