/*
Theme Name: dds_wbox88a.com
Theme URI: https://wbox88a.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: wbxjur
*/

@font-face{font-family:'Wbx Cond';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:'Wbx Cond';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+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:'Wbx Cond';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:'Wbx Cond';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+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:'Wbx Cond';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/roboto-condensed-cyrillic-400-italic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Wbx Cond';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/roboto-condensed-latin-400-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+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:'Wbx Cond';font-style:italic;font-weight:700;font-display:swap;src:url('fonts/roboto-condensed-cyrillic-700-italic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Wbx Cond';font-style:italic;font-weight:700;font-display:swap;src:url('fonts/roboto-condensed-latin-700-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}
@font-face{font-family:'Wbx Cond';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:'Wbx Cond';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+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:'Wbx Text';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/pt-sans-cyrillic-400-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Wbx Text';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/pt-sans-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+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:'Wbx Text';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/pt-sans-cyrillic-700-normal.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Wbx Text';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/pt-sans-latin-700-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+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:'Wbx Text';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/pt-sans-cyrillic-400-italic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Wbx Text';font-style:italic;font-weight:400;font-display:swap;src:url('fonts/pt-sans-latin-400-italic.woff2') format('woff2');unicode-range:U+0000-00FF,U+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:'Wbx Hand';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:'Wbx Hand';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+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:'Wbx Hand';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:'Wbx Hand';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+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 {
	--paper: #EFE6D2;
	--grid: #C9BFA5;
	--navy: #1F2E4A;
	--navy-deep: #1B2A41;
	--ink: #24262B;
	--muted: #7A7365;
	--muted-text: #655E51;
	--stamp: #D2452C;
	--teal: #2F7E74;
	--card: #FBF7EC;
	--kraft: #D9C7A3;
	--kraft-dark: #C9B48A;
	--tape: rgba(220, 208, 174, .82);
	--tab-grey: #746D60;
	--sidebar: #E4D9BF;
	--f-cond: 'Wbx Cond', 'Roboto Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
	--f-text: 'Wbx Text', 'PT Sans', 'Segoe UI', Roboto, Arial, sans-serif;
	--f-hand: 'Wbx Hand', 'Segoe Print', 'Comic Sans MS', cursive;
	--tear: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='420' height='20' viewBox='0 0 420 20'><path d='M0.0 3.3 L5.6 5.6 L10.6 3.5 L16.4 1.9 L21.7 4.1 L28.5 1.5 L32.7 1.5 L39.7 4.5 L42.4 5.9 L50.2 4.3 L56.1 1.8 L58.7 3.6 L61.5 2.0 L65.3 1.2 L70.4 3.2 L77.5 3.6 L83.5 3.5 L89.7 3.3 L93.7 6.0 L101.7 5.2 L108.1 2.6 L111.8 2.4 L114.7 4.8 L119.4 5.2 L124.1 5.8 L131.2 1.0 L134.9 5.6 L140.0 5.9 L144.6 1.4 L150.6 4.9 L154.6 1.4 L158.9 5.8 L165.6 1.6 L169.4 1.5 L172.3 5.0 L175.7 3.8 L180.7 2.0 L187.2 1.7 L193.3 1.6 L198.1 2.1 L202.1 5.9 L209.0 2.5 L216.4 2.1 L221.0 5.3 L227.1 1.5 L235.0 2.1 L238.9 4.9 L243.2 2.5 L246.1 1.5 L251.8 2.2 L257.6 2.9 L262.6 5.8 L267.8 3.9 L275.1 1.9 L278.4 5.5 L285.4 2.2 L289.0 4.7 L296.6 2.0 L304.4 5.4 L310.2 3.1 L313.2 1.2 L321.0 2.2 L327.4 2.3 L334.4 4.0 L338.6 1.9 L345.0 1.3 L348.8 3.8 L356.0 4.1 L360.0 5.6 L363.6 1.1 L367.6 3.2 L370.4 1.9 L375.0 3.9 L378.2 2.8 L385.6 5.9 L391.7 4.5 L397.4 1.7 L400.1 1.1 L407.6 4.5 L415.4 1.1 L420.0 3.3 L420.0 13.4 L419.3 10.6 L414.9 16.0 L407.4 12.2 L400.5 13.8 L392.7 16.9 L385.2 11.5 L378.8 14.5 L371.8 15.1 L368.1 14.6 L363.1 16.6 L356.2 16.2 L350.6 12.6 L343.1 14.4 L338.1 10.9 L331.6 16.5 L328.6 16.3 L321.8 12.8 L315.1 14.3 L309.7 14.9 L305.3 11.9 L301.9 15.0 L296.8 10.1 L293.3 13.3 L289.7 14.8 L281.9 15.7 L275.8 14.4 L270.9 14.4 L268.1 11.0 L264.3 15.8 L261.7 13.2 L258.4 10.1 L251.6 12.2 L245.9 15.0 L243.2 16.1 L240.5 10.5 L235.5 16.9 L228.4 12.2 L223.2 14.4 L218.4 11.5 L214.4 13.2 L211.0 11.9 L203.2 15.0 L196.1 15.9 L190.9 11.0 L186.6 14.1 L182.0 16.2 L174.5 15.6 L169.6 11.4 L163.4 12.3 L156.0 13.1 L149.9 16.3 L146.5 11.4 L140.2 12.1 L137.7 11.8 L130.1 14.3 L124.9 14.9 L121.1 13.4 L115.3 10.2 L108.7 10.6 L101.6 13.1 L95.9 15.1 L91.2 15.1 L83.9 17.0 L77.9 10.6 L72.0 14.1 L67.4 14.4 L61.8 16.0 L54.9 12.9 L47.6 16.3 L41.4 12.5 L33.8 15.6 L27.5 15.2 L20.0 15.2 L14.5 10.5 L6.5 12.2 L0.0 13.4 Z' fill='%23B9A982' fill-opacity='.45' transform='translate(0 2)'/><path d='M0.0 3.3 L5.6 5.6 L10.6 3.5 L16.4 1.9 L21.7 4.1 L28.5 1.5 L32.7 1.5 L39.7 4.5 L42.4 5.9 L50.2 4.3 L56.1 1.8 L58.7 3.6 L61.5 2.0 L65.3 1.2 L70.4 3.2 L77.5 3.6 L83.5 3.5 L89.7 3.3 L93.7 6.0 L101.7 5.2 L108.1 2.6 L111.8 2.4 L114.7 4.8 L119.4 5.2 L124.1 5.8 L131.2 1.0 L134.9 5.6 L140.0 5.9 L144.6 1.4 L150.6 4.9 L154.6 1.4 L158.9 5.8 L165.6 1.6 L169.4 1.5 L172.3 5.0 L175.7 3.8 L180.7 2.0 L187.2 1.7 L193.3 1.6 L198.1 2.1 L202.1 5.9 L209.0 2.5 L216.4 2.1 L221.0 5.3 L227.1 1.5 L235.0 2.1 L238.9 4.9 L243.2 2.5 L246.1 1.5 L251.8 2.2 L257.6 2.9 L262.6 5.8 L267.8 3.9 L275.1 1.9 L278.4 5.5 L285.4 2.2 L289.0 4.7 L296.6 2.0 L304.4 5.4 L310.2 3.1 L313.2 1.2 L321.0 2.2 L327.4 2.3 L334.4 4.0 L338.6 1.9 L345.0 1.3 L348.8 3.8 L356.0 4.1 L360.0 5.6 L363.6 1.1 L367.6 3.2 L370.4 1.9 L375.0 3.9 L378.2 2.8 L385.6 5.9 L391.7 4.5 L397.4 1.7 L400.1 1.1 L407.6 4.5 L415.4 1.1 L420.0 3.3 L420.0 13.4 L419.3 10.6 L414.9 16.0 L407.4 12.2 L400.5 13.8 L392.7 16.9 L385.2 11.5 L378.8 14.5 L371.8 15.1 L368.1 14.6 L363.1 16.6 L356.2 16.2 L350.6 12.6 L343.1 14.4 L338.1 10.9 L331.6 16.5 L328.6 16.3 L321.8 12.8 L315.1 14.3 L309.7 14.9 L305.3 11.9 L301.9 15.0 L296.8 10.1 L293.3 13.3 L289.7 14.8 L281.9 15.7 L275.8 14.4 L270.9 14.4 L268.1 11.0 L264.3 15.8 L261.7 13.2 L258.4 10.1 L251.6 12.2 L245.9 15.0 L243.2 16.1 L240.5 10.5 L235.5 16.9 L228.4 12.2 L223.2 14.4 L218.4 11.5 L214.4 13.2 L211.0 11.9 L203.2 15.0 L196.1 15.9 L190.9 11.0 L186.6 14.1 L182.0 16.2 L174.5 15.6 L169.6 11.4 L163.4 12.3 L156.0 13.1 L149.9 16.3 L146.5 11.4 L140.2 12.1 L137.7 11.8 L130.1 14.3 L124.9 14.9 L121.1 13.4 L115.3 10.2 L108.7 10.6 L101.6 13.1 L95.9 15.1 L91.2 15.1 L83.9 17.0 L77.9 10.6 L72.0 14.1 L67.4 14.4 L61.8 16.0 L54.9 12.9 L47.6 16.3 L41.4 12.5 L33.8 15.6 L27.5 15.2 L20.0 15.2 L14.5 10.5 L6.5 12.2 L0.0 13.4 Z' fill='%23FBF7EC'/></svg>");
}

/* ---------- Скрытые элементы (до основных блоков, см. A11) ---------- */
.cookie-note[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-text);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background-color: var(--kraft);
	background-image:
		radial-gradient(ellipse at 10% 20%, rgba(255,255,255,.18), transparent 45%),
		radial-gradient(ellipse at 90% 70%, rgba(120,95,50,.12), transparent 50%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .14 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-line: underline; text-decoration-style: wavy; text-decoration-color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--stamp); text-decoration-color: var(--stamp); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--f-cond);
	font-weight: 700;
	line-height: 1.15;
	color: var(--navy);
	margin: 1.4em 0 .55em;
	overflow-wrap: break-word;
	hyphens: auto;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p, li, td, th, dd, dt, blockquote, figcaption, .card-title, .widget { overflow-wrap: break-word; hyphens: auto; }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: absolute; left: 1rem; top: 1rem; z-index: 100; background: var(--card); padding: .6rem 1rem; color: var(--navy); }

/* ---------- Контейнер ширины (единственный) ---------- */
.shell { width: min(88%, 1180px); margin-inline: auto; }

/* ---------- Шапка: обложка папки ---------- */
.masthead {
	background: var(--navy);
	background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 6px);
	color: #E9E2D0;
	position: relative;
}
.masthead-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 1.6rem 0 1.5rem;
}
.brand { display: flex; align-items: flex-start; gap: 1.2rem; min-width: 0; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark { flex: 0 0 auto; width: 72px; height: 72px; display: block; }
.brand-mark img, .brand-mark svg { width: 72px; height: 72px; display: block; object-fit: contain; }
.brand-text { min-width: 0; }
.brand-name {
	hyphens: manual;
	display: block;
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: clamp(1.35rem, 2.6vw, 2.15rem);
	line-height: 1.12;
	color: #F3EBD8;
	letter-spacing: .01em;
	max-width: 31ch;
}
.brand-desc {
	display: block;
	margin-top: .55rem;
	font-size: .86rem;
	line-height: 1.4;
	color: #C9C3B4;
	max-width: 62ch;
}
.main-nav { flex: 0 0 auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
	display: block;
	padding: .18rem 0;
	font-family: var(--f-cond);
	font-size: 1.12rem;
	color: #F3EBD8;
	text-decoration: none;
	border-left: 3px solid transparent;
	padding-left: .6rem;
	transition: border-color .15s, color .15s;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a {
	color: #FFFFFF;
	border-left-color: var(--stamp);
}
.nav-toggle {
	display: none;
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	background: transparent;
	color: #F3EBD8;
	border: 2px solid #F3EBD8;
	padding: .45rem .9rem;
	cursor: pointer;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.masthead-strip { height: 12px; background: var(--teal); position: relative; }
.masthead-strip::after {
	content: "";
	position: absolute;
	right: 22%;
	top: -10px;
	width: 120px;
	height: 30px;
	background: var(--tape);
	transform: rotate(4deg);
	clip-path: polygon(3% 0, 100% 6%, 97% 100%, 0 92%);
	box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

/* ---------- Лист бумаги ---------- */
.sheet {
	position: relative;
	margin: 0 2.2% 0;
	background-color: var(--paper);
	background-image:
		radial-gradient(ellipse 160px 60px at 18% 34%, rgba(255,255,255,.35), transparent 70%),
		radial-gradient(ellipse 200px 70px at 76% 71%, rgba(255,255,255,.28), transparent 70%),
		linear-gradient(rgba(201,191,165,.32) 1px, transparent 1px),
		linear-gradient(90deg, rgba(201,191,165,.32) 1px, transparent 1px),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23p)'/%3E%3C/svg%3E");
	background-size: auto, auto, 24px 24px, 24px 24px, 160px 160px;
	box-shadow: 0 0 0 1px rgba(140,118,76,.25), 6px 0 0 -1px #E5D9BE, 10px 2px 0 -2px #DDCFB0;
	min-height: 50vh;
	padding-bottom: 3rem;
}
.sheet-tabs { display: none; }
.sheet-tape {
	position: absolute;
	width: 46px;
	height: 120px;
	background: var(--tape);
	clip-path: polygon(0 3%, 100% 0, 96% 100%, 4% 97%);
	z-index: 2;
	pointer-events: none;
}
.sheet-tape--a { left: -14px; top: 36px; transform: rotate(-3deg); }
.sheet-tape--b { left: -12px; top: 420px; transform: rotate(2deg); height: 96px; }

/* ---------- Заголовки секций ---------- */
.sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.6rem;
}
.sec-title {
	margin: 0;
	display: inline-block;
	font-family: var(--f-cond);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(1.45rem, 3.2vw, 2.25rem);
	line-height: 1.1;
	color: var(--ink);
	padding-bottom: .5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6.5 C 60 4.2, 120 7.6, 190 5.4 S 330 3.8, 398 6' fill='none' stroke='%2324262B' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 100% 9px;
}
.sec-kicker { font-weight: 400; margin-right: .25em; }
.sec-num {
	font-family: var(--f-cond);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--muted);
	flex: 0 0 auto;
}

/* ---------- Главная: секции ---------- */
.fp-sec { position: relative; padding: 3rem 0 2.8rem; }
.tear {
	height: 20px;
	background: var(--tear) repeat-x 0 0 / 420px 20px;
	position: relative;
	z-index: 1;
	margin: 0 -1px;
}

/* Блок 1. Чек-лист */
.check-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: start;
}
.check-sheet {
	position: relative;
	padding: .4rem 0 .4rem 3.2rem;
	background-image:
		linear-gradient(90deg, transparent 1.6rem, rgba(210,69,44,.45) 1.6rem, rgba(210,69,44,.45) calc(1.6rem + 1px), transparent calc(1.6rem + 1px)),
		repeating-linear-gradient(transparent 0 calc(2.6rem - 1px), rgba(122,115,101,.35) calc(2.6rem - 1px) 2.6rem);
}
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { margin: 0; }
.check-item {
	display: flex;
	align-items: center;
	gap: .85rem;
	width: 100%;
	height: 2.6rem;
	padding: 0;
	border: 0;
	background: none;
	font-family: var(--f-text);
	font-size: 1.18rem;
	color: var(--ink);
	text-align: start;
	cursor: pointer;
}
.check-box {
	position: relative;
	flex: 0 0 auto;
	width: 1.3rem;
	height: 1.3rem;
	border: 2px solid var(--ink);
	background: rgba(251,247,236,.6);
}
.check-box svg {
	position: absolute;
	left: -2px;
	bottom: -1px;
	width: 1.9rem;
	height: 1.9rem;
	opacity: 0;
	transform: scale(.6) rotate(-8deg);
	transform-origin: 30% 80%;
	transition: opacity .15s, transform .2s;
}
.check-item[aria-pressed="true"] .check-box svg { opacity: 1; transform: none; }
.check-item:hover .check-label { text-decoration: underline wavy var(--teal) 1px; text-underline-offset: 5px; }
.check-hint { margin: 1.2rem 0 0; font-size: .92rem; color: var(--muted-text); font-style: italic; }

.plan-figure { margin: 0; position: relative; }
.plan-wrap { position: relative; }
.plan-wrap img { display: block; width: 100%; height: auto; }
.plan-area {
	position: absolute;
	transform: translate(-50%, -50%);
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: clamp(.78rem, 1.5vw, 1.12rem);
	color: var(--ink);
	line-height: 1;
	white-space: nowrap;
}
.plan-figure figcaption {
	margin-top: .7rem;
	font-size: .9rem;
	color: var(--muted-text);
	font-style: italic;
}

/* Блок 2. Карта дома */
.scheme-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.scheme { margin: 0; position: relative; min-width: 680px; }
.scheme img { display: block; width: 100%; height: auto; aspect-ratio: 630 / 133; border: 1px solid rgba(201,191,165,.8); }
.scheme-tag {
	position: absolute;
	transform: translate(-50%, -50%);
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: clamp(.7rem, 1.1vw, .98rem);
	line-height: 1;
	color: var(--ink);
}
.scheme-entry {
	position: absolute;
	top: 100%;
	transform: translate(-50%, .45rem);
	font-family: var(--f-cond);
	font-size: .82rem;
	color: var(--muted-text);
	white-space: nowrap;
}
.scheme-compass {
	position: absolute;
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: .72rem;
	color: var(--navy);
	transform: translate(-50%, -50%);
}
.scheme-note {
	margin: 2.2rem 0 0;
	font-size: .9rem;
	color: var(--muted-text);
	text-align: center;
	font-style: italic;
}
.scheme-legend {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem 1.6rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	font-size: .92rem;
}
.scheme-legend li { display: flex; align-items: center; gap: .5rem; }
.scheme-legend i { width: 18px; height: 13px; display: inline-block; box-shadow: 1px 1px 0 rgba(0,0,0,.15); }

/* Записи */
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.4rem;
}
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--card);
	border: 1px solid #A99D82;
	outline: 1px solid #A99D82;
	outline-offset: -5px;
	padding: 1.9rem 1.1rem 1.2rem;
	box-shadow: 0 2px 4px rgba(70,55,25,.12);
}
.card-slot { position: relative; min-width: 0; display: flex; transition: transform .2s ease; }
.card-slot::before, .card-slot::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #F4EEDD;
	border: 1px solid #B9AD90;
	z-index: 0;
}
.card-slot::before { transform: rotate(-2.2deg) translate(-4px, 4px); }
.card-slot::after { transform: rotate(1.6deg) translate(5px, 6px); background: #EDE5CF; }
.card-slot > .card { z-index: 1; flex: 1; }
.cards > .card-slot:nth-child(3n+1) { transform: rotate(-1.2deg); }
.cards > .card-slot:nth-child(3n+2) { transform: rotate(.9deg); }
.cards > .card-slot:nth-child(3n+3) { transform: rotate(-.6deg); }
.cards > .card-slot:hover { transform: rotate(0) translateY(-4px); }
.card-date {
	position: absolute;
	top: .55rem;
	right: .9rem;
	font-family: var(--f-cond);
	font-size: .85rem;
	color: var(--muted-text);
	letter-spacing: .04em;
}
.card-date::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--teal); margin-right: .4rem; vertical-align: 1px; }
.card-thumb { position: relative; margin: 0 0 .9rem; }
.card-thumb a { display: block; text-decoration: none; }
.card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7.2; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.card-stamp {
	position: absolute;
	left: .5rem;
	bottom: .5rem;
	padding: .1rem .45rem;
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--stamp);
	background: rgba(251,247,236,.88);
	border: 2px solid var(--stamp);
	transform: rotate(-4deg);
	max-width: 80%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.card-body { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.card-title {
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: 1.32rem;
	line-height: 1.18;
	margin: 0 0 .5rem;
	color: var(--ink);
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--navy); text-decoration: underline wavy var(--teal) 1px; text-underline-offset: 5px; }
.card-excerpt { font-size: .95rem; line-height: 1.5; color: #3A3B3F; margin-bottom: 1rem; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more { margin-top: auto; }

/* Ярлык-кнопка со срезанным углом */
.tag-btn {
	--cut: 12px;
	display: inline-block;
	padding: 2px;
	background: var(--ink);
	clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
	text-decoration: none;
	color: var(--ink);
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	border: 0;
	cursor: pointer;
	transition: transform .12s;
}
.tag-btn > span {
	display: block;
	padding: .5rem 1.4rem .5rem 1rem;
	background: #F3EAD3;
	clip-path: polygon(0 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% 100%, 0 100%);
	transition: background-color .12s, color .12s;
}
.tag-btn:hover { color: #FFFFFF; transform: translate(-2px, -2px); }
.tag-btn:hover > span { background: var(--teal); }
.tag-btn--dark > span { background: var(--navy); color: #F3EBD8; }
.tag-btn--dark { background: #F3EBD8; }

/* Блок 3. Бланк */
.form-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 2rem; align-items: center; }
.form-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 0; }
.form-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: rgba(251,247,236,.55);
	font-size: .95rem;
	border: 2px solid var(--ink);
}
.form-table th, .form-table td { border: 1px solid var(--ink); padding: .42rem .55rem; text-align: center; }
.form-table th { font-family: var(--f-cond); font-weight: 700; font-size: .92rem; line-height: 1.15; background: rgba(201,191,165,.35); }
.form-table td:first-child, .form-table th:first-child { text-align: start; }
.form-table td.num { font-family: var(--f-cond); font-variant-numeric: tabular-nums; }
.mk { display: inline-block; width: 22px; height: 22px; vertical-align: middle; position: relative; }
.mk svg { width: 100%; height: 100%; display: block; }
.mk--ring::after {
	content: "";
	position: absolute;
	inset: -5px -12px;
	border: 2px solid var(--teal);
	border-radius: 50%;
	transform: rotate(-6deg);
}
.mk-warn { font-family: var(--f-hand); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--stamp); }
.mk-none { color: var(--muted); }
.form-caption { margin: .9rem 0 0; font-size: .9rem; color: var(--muted-text); font-style: italic; }
.form-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: .6rem 0 0; font-size: .92rem; }
.form-legend li { display: flex; align-items: center; gap: .4rem; }
.stamp {
	justify-self: center;
	display: inline-block;
	padding: .35rem .9rem;
	font-family: var(--f-cond);
	font-weight: 800;
	font-size: 1.7rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--stamp);
	border: 4px solid var(--stamp);
	outline: 2px solid var(--stamp);
	outline-offset: 3px;
	border-radius: 6px;
	transform: rotate(-16deg);
	opacity: .9;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.55' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 1.75'/%3E%3C/filter%3E%3Crect width='120' height='60' filter='url(%23s)'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60'%3E%3Cfilter id='s'%3E%3CfeTurbulence baseFrequency='.55' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 1.75'/%3E%3C/filter%3E%3Crect width='120' height='60' filter='url(%23s)'/%3E%3C/svg%3E");
}
.form-verdict {
	margin-top: 1.6rem;
	padding: 1rem 1.3rem;
	background: var(--card);
	border-left: 5px solid var(--teal);
	box-shadow: 2px 2px 0 rgba(70,55,25,.12);
	font-size: .98rem;
}
.form-verdict strong { font-family: var(--f-cond); color: var(--navy); }

/* Блок 4. Вопросы продавцу */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 70px; gap: 2.2rem; align-items: start; }
.note { position: relative; min-width: 0; }
.note-paper {
	position: relative;
	background: var(--card);
	padding: 2.2rem 1.2rem 1.6rem;
	min-height: 11.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 2px 4px 8px rgba(70,55,25,.22);
	clip-path: polygon(0 2%, 3% 0, 30% 1.5%, 58% 0, 100% 1%, 99% 40%, 100% 100%, 64% 98.5%, 31% 100%, 1% 98%, 0 60%);
}
.note:nth-child(1) .note-paper { transform: rotate(-3deg); }
.note:nth-child(2) .note-paper { transform: rotate(1.5deg); }
.note:nth-child(3) .note-paper { transform: rotate(-1.5deg); }
.note-tape {
	position: absolute;
	top: -12px;
	left: 50%;
	width: 96px;
	height: 26px;
	margin-left: -48px;
	background: rgba(116,109,96,.78);
	clip-path: polygon(4% 0, 100% 8%, 96% 100%, 0 90%);
	z-index: 2;
}
.note:nth-child(2) .note-tape { background: rgba(231,128,79,.85); transform: rotate(-2deg); }
.note:nth-child(3) .note-tape { transform: rotate(3deg); }
.note-q {
	margin: 0;
	font-family: var(--f-hand);
	font-weight: 700;
	font-size: clamp(2.1rem, 3.9vw, 3.1rem);
	line-height: 1.02;
	hyphens: manual;
	text-align: center;
	color: #18191C;
}
.note-why { margin: 1.2rem .3rem 0; font-size: .93rem; line-height: 1.5; }
.note-why b { font-family: var(--f-cond); color: var(--navy); }
.keys { align-self: start; margin: .6rem 0 0; }
.keys img { display: block; width: 70px; height: auto; transform: rotate(6deg); transform-origin: 50% 0; }
.keys-hook { display: block; width: 16px; height: 16px; border: 3px solid var(--ink); border-top-color: transparent; border-radius: 50%; margin: 0 auto -6px; }

.fp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.4rem; }
.fp-cta p { margin: 0; color: var(--muted-text); }

/* ---------- Внутренние страницы ---------- */
.page-top { padding: 1.6rem 0 0; }
.breadcrumbs {
	font-family: var(--f-cond);
	font-size: .95rem;
	color: var(--muted-text);
	padding: .5rem 0;
	border-bottom: 1px dashed var(--grid);
	margin-bottom: 1.8rem;
}
.breadcrumbs a { color: var(--navy); }
.breadcrumbs .sep { margin: 0 .45rem; color: var(--stamp); font-weight: 700; }
.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
	column-gap: 6%;
	align-items: start;
}
.layout-single { display: block; }
.layout-single > .content-area { width: 85%; margin-left: auto; margin-right: auto; }
.content-area { min-width: 0; }
.page-head { margin: 0 0 1.8rem; }
.page-title {
	margin: 0;
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: clamp(1.7rem, 4vw, 2.6rem);
	color: var(--ink);
	padding-bottom: .55rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6.5 C 60 4.2, 120 7.6, 190 5.4 S 330 3.8, 398 6' fill='none' stroke='%2324262B' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: min(100%, 420px) 9px;
}
.page-sub { margin: .8rem 0 0; color: var(--muted-text); }
.list-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.empty-note {
	padding: 1.6rem 1.8rem;
	background: var(--card);
	border: 2px dashed var(--grid);
	font-size: 1.05rem;
}

/* Запись / страница — бланк */
.entry {
	position: relative;
	background: var(--card);
	border: 1px solid #A99D82;
	outline: 1px solid #A99D82;
	outline-offset: -6px;
	padding: 2.4rem 2.6rem 2.2rem;
	box-shadow: 3px 4px 0 rgba(70,55,25,.1);
}
.entry-head { margin-bottom: 1.4rem; }
.entry-title { margin: 0 0 .7rem; font-style: italic; font-weight: 800; text-transform: uppercase; color: var(--ink); font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.entry-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-family: var(--f-cond); font-size: .95rem; color: var(--muted-text); }
.entry-meta a { color: var(--navy); }
.entry-thumb { margin: 0 0 1.6rem; }
.entry-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid #A99D82; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.65rem; border-bottom: 2px solid var(--ink); padding-bottom: .25rem; display: table; }
.entry-content h3 { font-size: 1.3rem; }
.entry-content ul, .entry-content ol { padding-left: 1.6rem; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul { list-style: none; padding-left: 1.9rem; }
.entry-content ul > li { position: relative; }
.entry-content ul > li::before {
	content: "";
	position: absolute;
	left: -1.7rem;
	top: .35em;
	width: .95rem;
	height: .95rem;
	border: 2px solid var(--ink);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 13l5 5L21 4' fill='none' stroke='%232F7E74' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 115% no-repeat;
}
.entry-content ol li::marker { font-family: var(--f-cond); font-weight: 700; color: var(--stamp); }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 1.1rem 1.4rem 1.1rem 1.6rem;
	background: var(--paper);
	border-left: 5px solid var(--stamp);
	font-style: italic;
	font-size: 1.08rem;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--ink); padding: .5rem .7rem; text-align: start; }
.entry-content th { font-family: var(--f-cond); background: rgba(201,191,165,.35); }
.entry-content img { display: block; height: auto; }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption { font-size: .9rem; color: var(--muted-text); font-style: italic; margin-top: .4rem; }
.entry-content pre { overflow-x: auto; background: var(--paper); padding: 1rem; border: 1px solid var(--grid); }
.entry-content hr { border: 0; height: 20px; background: var(--tear) repeat-x 0 0 / 420px 20px; margin: 2em 0; }
.entry-tags { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.entry-tags a {
	font-family: var(--f-cond);
	font-size: .9rem;
	padding: .15rem .6rem;
	border: 1px solid var(--navy);
	text-decoration: none;
	background: var(--paper);
}
.entry-tags a:hover { background: var(--navy); color: #fff; }
.post-nav { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.2rem; margin-top: 2rem; }
.post-nav a {
	display: block;
	padding: .9rem 1.1rem;
	background: var(--card);
	border: 1px solid #A99D82;
	text-decoration: none;
	color: var(--ink);
	font-family: var(--f-cond);
	font-weight: 700;
	min-width: 0;
}
.post-nav a span { display: block; font-weight: 400; font-size: .85rem; color: var(--muted-text); }
.post-nav a:hover { border-color: var(--teal); box-shadow: 3px 3px 0 var(--teal); }
.post-nav .next { text-align: end; }

/* ---------- Пагинация ---------- */
.pager { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.6rem 0 0; align-items: center; }
.pager .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.6rem;
	height: 2.6rem;
	padding: 0 .75rem;
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: 1.02rem;
	text-decoration: none;
	color: var(--ink);
	background: var(--card);
	border: 2px solid var(--ink);
	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
	transition: background-color .12s, color .12s, transform .12s;
}
.pager a.page-numbers:hover { background: var(--teal); color: #fff; transform: translate(-1px, -2px); }
.pager .page-numbers.current { background: var(--navy); color: #F3EBD8; border-color: var(--navy); }
.pager .page-numbers.dots { border: 0; background: none; clip-path: none; min-width: auto; padding: 0 .2rem; }

/* ---------- Сайдбар ---------- */
.sidebar {
	min-width: 0;
	background: var(--sidebar);
	background-image: repeating-linear-gradient(transparent 0 31px, rgba(122,115,101,.22) 31px 32px);
	border-top: 6px solid var(--teal);
	padding: 1.6rem 1.4rem 1.2rem;
	position: relative;
	box-shadow: 3px 3px 0 rgba(70,55,25,.12);
	color: var(--ink);
}
.sidebar::before {
	content: "";
	position: absolute;
	top: -18px;
	left: 50%;
	width: 90px;
	height: 26px;
	margin-left: -45px;
	background: var(--tape);
	transform: rotate(-3deg);
	clip-path: polygon(4% 0, 100% 8%, 96% 100%, 0 90%);
}
.sidebar .widget { margin-bottom: 1.8rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
	margin: 0 0 .8rem;
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 1.2rem;
	color: var(--ink);
	border-bottom: 2px solid var(--ink);
	padding-bottom: .3rem;
}
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: .45rem 0; border-bottom: 1px dashed rgba(36,38,43,.28); line-height: 1.35; }
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--navy); font-family: var(--f-cond); font-size: 1.05rem; text-decoration: none; }
.sidebar a:hover { color: var(--stamp); text-decoration: underline wavy var(--stamp) 1px; text-underline-offset: 4px; }
.sidebar .post-date, .sidebar .rss-date { display: block; font-size: .85rem; color: var(--muted-text); }
.sidebar p, .sidebar .textwidget { color: var(--ink); font-size: .96rem; }

/* ---------- Комментарии ---------- */
.comments { margin-top: 2.6rem; }
.comments-title, .comment-reply-title { font-style: italic; font-weight: 800; text-transform: uppercase; font-size: 1.45rem; color: var(--ink); margin: 0 0 1.2rem; }
.comment-list { list-style: none; margin: 0 0 2rem; padding: 0; }
.comment-list .children { list-style: none; padding-left: 2rem; margin: 0; }
.comment-card {
	background: var(--card);
	border: 1px solid #A99D82;
	border-left: 4px solid var(--teal);
	padding: 1rem 1.2rem;
	margin-bottom: 1rem;
}
.comment-head { display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: center; font-family: var(--f-cond); margin-bottom: .5rem; }
.comment-head img { border-radius: 2px; display: block; }
.comment-author-name { font-weight: 700; color: var(--navy); }
.comment-when { font-size: .88rem; color: var(--muted-text); }
.comment-wait { font-style: italic; color: var(--stamp); font-size: .92rem; }
.comment-reply a { font-family: var(--f-cond); font-size: .92rem; }
.comment-respond { background: var(--card); border: 1px solid #A99D82; padding: 1.6rem 1.6rem 1.4rem; }
.comment-form p { margin: 0 0 1rem; }
.comment-form label { display: block; font-family: var(--f-cond); font-weight: 700; margin-bottom: .3rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: .6rem .7rem;
	font: inherit;
	background: #FFFDF6;
	border: 2px solid var(--ink);
	border-radius: 0;
	color: var(--ink);
}
.comment-form input:focus, .comment-form textarea:focus, .search-field:focus { outline: 3px solid var(--teal); outline-offset: 0; }
.comment-form .comment-form-cookies-consent { display: flex; gap: .6rem; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { font-weight: 400; font-family: var(--f-text); }
.comment-form .submit {
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: 1.05rem;
	padding: .65rem 1.5rem;
	background: var(--navy);
	color: #F3EBD8;
	border: 0;
	cursor: pointer;
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}
.comment-form .submit:hover { background: var(--teal); }
.comments-nav { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; font-family: var(--f-cond); }

/* ---------- Поиск ---------- */
.search-form { display: flex; gap: .5rem; max-width: 520px; }
.search-field {
	flex: 1;
	min-width: 0;
	padding: .65rem .8rem;
	font: inherit;
	background: #FFFDF6;
	border: 2px solid var(--ink);
	border-radius: 0;
	color: var(--ink);
}
.search-submit {
	flex: 0 0 auto;
	font-family: var(--f-cond);
	font-weight: 700;
	font-size: 1rem;
	padding: .6rem 1.2rem;
	background: var(--navy);
	color: #F3EBD8;
	border: 0;
	cursor: pointer;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.search-submit:hover { background: var(--teal); }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 1rem 0 2rem; }
.nf-stamp {
	display: inline-block;
	font-family: var(--f-cond);
	font-weight: 800;
	font-size: clamp(4rem, 14vw, 8rem);
	line-height: 1;
	color: var(--stamp);
	border: 6px solid var(--stamp);
	border-radius: 10px;
	padding: .3rem 1.6rem;
	transform: rotate(-8deg);
	margin: 1rem 0 2rem;
}
.nf p { max-width: 56ch; margin-left: auto; margin-right: auto; }
.nf .search-form { margin: 1.6rem auto; }

/* ---------- Подвал ---------- */
.site-foot {
	background: var(--navy-deep);
	background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 2px, transparent 2px 6px);
	color: #D7D1C2;
	margin-top: 0;
	position: relative;
}
.site-foot::before {
	content: "";
	display: block;
	height: 20px;
	background: var(--tear) repeat-x 0 0 / 420px 20px;
	transform: scaleY(-1);
	position: relative;
	top: -10px;
}
.foot-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.4rem 4rem;
	padding: 1.6rem 0 2rem;
}
.foot-col { min-width: 0; }
.site-foot .widget { margin-bottom: 1.4rem; color: #D7D1C2; }
.site-foot .widget-title {
	margin: 0 0 .7rem;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.3rem;
	color: #F3EBD8;
	letter-spacing: .02em;
}
.site-foot p, .site-foot .textwidget { color: #D7D1C2; font-size: .95rem; line-height: 1.55; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 .35rem; }
.site-foot a { color: #F3EBD8; text-decoration-color: #8FC7BE; }
.site-foot a:hover { color: #FFFFFF; text-decoration-color: var(--stamp); }
.foot-copy {
	hyphens: manual;
	border-top: 1px solid rgba(243,235,216,.22);
	padding: 1rem 0 1.4rem;
	margin: 0;
	text-align: center;
	font-size: .9rem;
	color: #C9C3B4;
}

/* ---------- Cookie ---------- */
.cookie-note {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 60;
	max-width: 760px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 1rem 1.6rem;
	padding: 1.1rem 1.4rem;
	background: var(--card);
	color: var(--ink);
	border: 2px solid var(--ink);
	box-shadow: 5px 5px 0 rgba(31,46,74,.85);
}
.cookie-note p { margin: 0; font-size: .95rem; line-height: 1.45; flex: 1; min-width: 0; }
.cookie-note::before {
	content: "";
	position: absolute;
	top: -13px;
	left: 2.2rem;
	width: 80px;
	height: 24px;
	background: var(--tape);
	transform: rotate(-4deg);
	clip-path: polygon(4% 0, 100% 8%, 96% 100%, 0 90%);
}

/* ---------- Адаптив ---------- */
@media (min-width: 961px) {
	.sheet-tabs {
		display: block;
		position: absolute;
		top: 60px;
		right: -18px;
		width: 18px;
		z-index: 0;
		pointer-events: none;
	}
	.sheet-tabs i {
		display: block;
		width: 18px;
		height: 64px;
		margin-bottom: 14px;
		border-radius: 0 6px 6px 0;
		box-shadow: 2px 1px 0 rgba(70,55,25,.18);
	}
	.sheet-tabs i:nth-child(1) { background: var(--teal); }
	.sheet-tabs i:nth-child(2) { background: #F3E8D2; }
	.sheet-tabs i:nth-child(3) { background: #C7512D; }
	.sheet-tabs i:nth-child(4) { background: var(--tab-grey); margin-top: 120px; }
	.sheet-tabs i:nth-child(5) { background: #C7512D; }
	.sheet-tabs i:nth-child(6) { background: var(--navy); margin-top: 220px; }
	.sheet-tabs i:nth-child(7) { background: #F3E8D2; }
}
@media (max-width: 960px) {
	.masthead-row { flex-wrap: wrap; gap: 1rem; }
	.brand { flex: 1 1 auto; }
	.nav-toggle { display: inline-block; }
	.main-nav { flex-basis: 100%; display: none; }
	.main-nav.is-open { display: block; }
	.main-nav a { padding: .55rem .6rem; border-top: 1px solid rgba(243,235,216,.15); }
	.check-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.plan-figure { max-width: 560px; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form-wrap { grid-template-columns: minmax(0, 1fr); }
	.stamp { justify-self: end; margin-right: 1rem; }
	.notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.keys { display: none; }
	.layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.6rem; }
	.layout-single > .content-area { width: 100%; }
	.foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sheet-tape--b { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 1rem; }
	.shell { width: 90%; }
	.sheet { margin: 0 1.5%; }
	.brand-mark, .brand-mark img, .brand-mark svg { width: 52px; height: 52px; }
	.brand-desc { font-size: .8rem; }
	.fp-sec { padding: 2.2rem 0 2rem; }
	.sec-head { flex-direction: column-reverse; align-items: flex-start; gap: .3rem; }
	.check-sheet { padding-left: 2.6rem; background-image:
		linear-gradient(90deg, transparent 1.2rem, rgba(210,69,44,.45) 1.2rem, rgba(210,69,44,.45) calc(1.2rem + 1px), transparent calc(1.2rem + 1px)),
		repeating-linear-gradient(transparent 0 calc(2.6rem - 1px), rgba(122,115,101,.35) calc(2.6rem - 1px) 2.6rem); }
	.check-item { font-size: 1.05rem; }
	.cards, .list-cards { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.notes { grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
	.entry { padding: 1.6rem 1.2rem 1.4rem; outline-offset: -4px; }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.foot-cols { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
	.cookie-note { flex-direction: column; align-items: flex-start; padding: 1.1rem 1.2rem; left: .6rem; right: .6rem; bottom: .6rem; }
	.form-verdict { padding: 1rem 1.1rem; }
	.sidebar { padding: 1.4rem 1.2rem 1rem; }
	.comment-respond { padding: 1.2rem 1.1rem; }
	.empty-note { padding: 1.2rem 1.2rem; }
	.search-form { flex-direction: column; }
	.sheet-tape { display: none; }
}

/* Уточнения */
.comment-head img { width: 40px; height: 40px; flex: 0 0 40px; overflow: hidden; font-size: 0; background: var(--paper); }
.nf .page-title { display: inline-block; background-position: 50% 100%; }
