/*
Theme Name: thebunnyhug-com_2
Author: Владимир Филиппов
Description: Тема статейного сайта об одежде и моде: тёмный раскройный стол, меловые чертежи, крафтовые листы на булавках, пунктирные швы, денимовая лента и тканевый ярлык ухода.
Version: 2.0
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: bunnyhug2
*/

/* ---------- Шрифты (OFL / Apache, файлы в /fonts) ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/oswald-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/oswald-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/oswald-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: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/oswald-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+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/pt-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-sans-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "PT Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/pt-sans-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/roboto-mono-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/roboto-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/roboto-mono-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/roboto-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }

/* ---------- Палитра ---------- */
:root {
	--table: #191F2F;
	--panel: #141823;
	--kraft: #DCC6A7;
	--kraft-dark: #C9B08C;
	--ink: #1B2233;
	--ink-muted: #6F6A5C;
	--light: #F4F1E8;
	--light-muted: #98A0B4;
	--line: #3A4661;
	--red: #E4573D;
	--red-dark: #B9402A;
	--thread: #E0A83C;
	--denim: #253D59;
	--gold: #CAB391;
	--footer: #111419;
	--font-head: "Oswald", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
	--font-body: "PT Sans", "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: "Roboto Mono", Consolas, "DejaVu Sans Mono", "Courier New", monospace;
	--shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
	--shadow-sm: 0 5px 12px rgba(0, 0, 0, 0.35);
}

/* ---------- База ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	overflow-x: hidden;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	color: var(--light);
	background-color: var(--table);
	background-image:
		radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.04), transparent 55%),
		radial-gradient(ellipse at 80% 70%, rgba(0, 0, 0, 0.25), transparent 60%),
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.012) 0 2px, transparent 2px 7px);
	overflow-wrap: break-word;
}

img {
	max-width: 100%;
	height: auto;
}

p {
	margin: 0 0 1em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.08;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 1.4em 0 0.5em;
	hyphens: auto;
	overflow-wrap: break-word;
}

a {
	color: inherit;
	text-decoration: underline dashed var(--red);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 4px;
}

a:hover,
a:focus-visible {
	color: var(--red);
	text-decoration-style: solid;
}

:focus-visible {
	outline: 2px solid var(--thread);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 1000;
	padding: 0.6em 1em;
	background: var(--kraft);
	color: var(--ink);
}

.shell {
	width: min(92%, 1360px);
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 960px) {
	.shell {
		width: 85%;
	}
}

/* ---------- Булавки ---------- */
.pin,
.card-pin,
.swatch-pin {
	position: absolute;
	z-index: 3;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--red) 30%, var(--red-dark) 100%);
	box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.45);
}

.pin::after,
.card-pin::after,
.swatch-pin::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 12px;
	width: 2px;
	height: 14px;
	background: linear-gradient(#d9dde3, #8b919c);
	transform: rotate(-24deg);
	transform-origin: top;
}

/* ---------- Кнопки: красный пунктирный ярлык ---------- */
.tag-btn,
.search-form button,
.form-submit input[type="submit"],
.cookie-banner button {
	display: inline-block;
	padding: 0.55em 0.95em;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	background: transparent;
	border: 1.5px dashed var(--red);
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}

.tag-btn:hover,
.tag-btn:focus-visible,
.search-form button:hover,
.form-submit input[type="submit"]:hover,
.cookie-banner button:hover {
	color: #fff;
	background: var(--red);
	border-style: solid;
}

/* ---------- Шапка: крафтовый лист на булавках ---------- */
.site-header {
	padding: 2.2rem 0 1.4rem;
}

.head-sheet {
	position: relative;
	padding: 1.8rem 2.4rem 1.8rem 2rem;
	color: var(--ink);
	background-color: var(--kraft);
	background-image:
		radial-gradient(rgba(120, 90, 50, 0.08) 1px, transparent 1px),
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.05));
	background-size: 5px 5px, 100% 100%;
	box-shadow: var(--shadow);
	transform: rotate(-0.6deg);
}

.head-sheet .pin--l {
	left: 14px;
	top: -6px;
}

.head-sheet .pin--r {
	right: 16px;
	top: -6px;
}

.head-notch {
	position: absolute;
	top: 0;
	left: 22%;
	width: 0;
	height: 0;
	border-left: 9px solid transparent;
	border-right: 9px solid transparent;
	border-top: 12px solid var(--table);
}

.head-notch::after {
	content: "";
	position: absolute;
	left: 0;
	top: -2px;
	width: 2px;
	height: 34px;
	background: var(--red);
	transform: rotate(-12deg);
	transform-origin: top;
}

.header-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 1.4rem;
	min-width: 0;
	text-decoration: none;
	color: var(--ink);
}

.brand:hover {
	color: var(--ink);
}

.brand-mark,
.brand-logo {
	flex: none;
	width: 112px;
	height: auto;
}

.brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.brand-name {
	font-family: var(--font-head);
	font-size: clamp(2.6rem, 6.4vw, 5.4rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.brand-desc {
	margin-top: 0.6rem;
	font-family: var(--font-mono);
	font-size: 0.86rem;
	letter-spacing: 0.02em;
	color: var(--ink);
}

.nav-toggle {
	display: none;
	padding: 0.5em 0.9em;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
	background: transparent;
	border: 1.5px dashed var(--ink);
	cursor: pointer;
}

.main-nav ul {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav li + li {
	border-top: 1px dashed rgba(27, 34, 51, 0.45);
}

.main-nav a {
	display: inline-block;
	padding: 0.45em 0;
	font-family: var(--font-mono);
	font-size: 0.86rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
	color: var(--ink);
	text-decoration: underline solid var(--red);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

/* ---------- Главная: общие элементы ---------- */
.front {
	padding-bottom: 3rem;
}

.front > section {
	margin-top: 2.2rem;
}

.gold-title {
	margin: 0 0 0.6rem;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 600;
	color: var(--gold);
}

.band-lead {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.95rem;
	color: var(--light);
}

.kraft-tab {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 5%;
	min-width: 26px;
	background: var(--kraft);
	box-shadow: var(--shadow-sm);
}

.kraft-tab--r {
	right: -6%;
}

.kraft-tab--l {
	left: -6%;
}

/* ---------- Блок 1: анатомия пальто ---------- */
.anatomy-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
	align-items: center;
	gap: 0;
	padding: 1.6rem 2rem;
	background: var(--panel);
	box-shadow: var(--shadow);
}

.coat {
	position: relative;
	margin: 0 2rem 0 0;
}

.coat-img {
	display: block;
	width: 100%;
	height: auto;
}

.mark {
	position: absolute;
	transform: translate(-50%, -50%);
	font-family: var(--font-mono);
	font-size: clamp(0.8rem, 1.3vw, 1.05rem);
	line-height: 1;
	color: var(--light);
}

.mark--1 { left: 4.2%; top: 16.3%; }
.mark--2 { left: 4.2%; top: 41.3%; }
.mark--3 { left: 94.8%; top: 25.5%; }
.mark--4 { left: 94.8%; top: 38%; }
.mark--5 { left: 94.8%; top: 61.3%; }
.mark--6 { left: 94.8%; top: 85.5%; }

.anatomy-text {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1rem 0 1rem 2.4rem;
	border-left: 2px dashed var(--line);
}

.terms {
	margin: 0.4rem 0 0;
	padding: 0;
	list-style: none;
	font-family: var(--font-mono);
	font-size: clamp(0.8rem, 1.05vw, 0.95rem);
	line-height: 1.4;
	color: var(--light);
}

.terms li {
	display: flex;
	gap: 0.7em;
	padding: 0.35em 0;
}

.terms b {
	flex: none;
	font-weight: 500;
	color: var(--gold);
}

.terms strong {
	font-weight: 500;
	text-transform: uppercase;
	color: var(--gold);
}

/* ---------- Блок 2: образцы тканей ---------- */
.fabrics-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
	align-items: center;
	gap: 2rem;
	padding: 2rem 2rem 2.4rem;
	background: var(--panel);
	box-shadow: var(--shadow);
}

.swatches {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.6rem 1.8rem;
	width: 100%;
	max-width: 600px;
	justify-self: end;
	margin: 0;
	padding: 0.6rem 0 0;
	list-style: none;
}

.swatch {
	position: relative;
	box-shadow: var(--shadow-sm);
	transform: rotate(var(--tilt, 0deg));
}

.swatch img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.swatch-pin {
	top: -6px;
	left: 46%;
}

.swatch-name {
	position: absolute;
	left: 0.5rem;
	bottom: -1.5rem;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--light);
	transform: rotate(-4deg);
}

.swatch--len { --tilt: -3deg; }
.swatch--tweed { --tilt: 2deg; }
.swatch--denim { --tilt: -1.5deg; }
.swatch--silk { --tilt: 3deg; }
.swatch--leather { --tilt: -2deg; }
.swatch--cashmere { --tilt: 4deg; }



.swatches {
	padding-bottom: 1.4rem;
}

/* ---------- Последние записи ---------- */
.journal-title {
	margin: 0 0 1.8rem;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	font-weight: 600;
	color: var(--light);
}

.pieces {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.4rem;
	align-items: start;
}

.journal-more {
	margin: 2.2rem 0 0;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Карточка — крафтовый лист с надсечками */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 1.1rem 1.1rem 1.1rem;
	color: var(--ink);
	background-color: var(--kraft);
	background-image: radial-gradient(rgba(120, 90, 50, 0.08) 1px, transparent 1px);
	background-size: 5px 5px;
	box-shadow: var(--shadow);
	--notch: polygon(0 0, 100% 0, 100% 46%, calc(100% - 10px) 50%, 100% 54%, 100% 100%, 0 100%, 0 70%, 10px 74%, 0 78%);
	clip-path: var(--notch);
	transform: rotate(var(--tilt, -1deg));
}

.card::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1.5px dashed rgba(27, 34, 51, 0.45);
	pointer-events: none;
}

.pieces > .card:nth-child(2) {
	--tilt: 0.8deg;
	margin-top: 0.6rem;
}

.pieces > .card:nth-child(3) {
	--tilt: -0.5deg;
}

.card-pin {
	top: 6px;
	left: 50%;
	width: 12px;
	height: 12px;
	transform: translateX(-50%);
}

.card-pin::after {
	display: none;
}

.card-thumb {
	display: block;
	position: relative;
	z-index: 1;
	margin: 0.5rem 0.4rem 0.9rem;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #cdb796;
}

.card-thumb img,
.card-blank {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 0 0.6rem 0.4rem;
}

.card-title {
	margin: 0 0 0.5rem;
	font-size: 1.32rem;
	font-weight: 600;
	line-height: 1.12;
}

.card-title a {
	color: var(--ink);
	text-decoration: none;
}

.card-title a:hover {
	color: var(--red-dark);
}

.card-excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 0.9rem;
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--ink);
}

.card-excerpt p {
	margin: 0;
}

.card-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
	margin-top: auto;
}

.card-date {
	font-family: var(--font-mono);
	font-size: 0.76rem;
	color: var(--ink);
}

/* ---------- Шкала формальности: денимовая лента ---------- */
.formality {
	margin-left: 0;
	margin-right: 0;
}

.formality-band {
	position: relative;
	padding: 1.8rem 0;
	background-color: var(--denim);
	background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 5px);
	box-shadow: var(--shadow);
}

.formality-band::before,
.formality-band::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 0;
	border-top: 2px dashed rgba(244, 241, 232, 0.65);
}

.formality-band::before {
	top: 8px;
}

.formality-band::after {
	bottom: 8px;
}

.formality-row {
	display: grid;
	grid-template-columns: minmax(0, 22fr) minmax(0, 56fr) minmax(0, 18fr);
	align-items: center;
	gap: 2rem;
}

.formality-title {
	margin: 0;
	font-size: clamp(1.6rem, 2.6vw, 2.3rem);
	font-weight: 600;
	color: var(--light);
}

.scale {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.scale li {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
	padding: 0 0.3rem;
	text-align: center;
}

.scale li + li {
	border-left: 1px dashed rgba(244, 241, 232, 0.35);
}

.scale svg {
	width: 38px;
	height: 38px;
	fill: none;
	stroke: var(--light);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.scale span {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--light);
}

.scale .check {
	position: absolute;
	left: 50%;
	bottom: -1.5rem;
	width: 26px;
	height: 18px;
	stroke: var(--red);
	stroke-width: 3;
	transform: translateX(-50%);
}

.formality-note {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 0.98rem;
	line-height: 1.35;
	color: var(--light);
}

/* ---------- Ярлык ухода: тканевая бирка ---------- */
.care {
	padding: 1rem 0 1.6rem;
}

.care-tag {
	position: relative;
	max-width: 820px;
	margin: 0 auto;
	padding: 1.6rem 2.6rem 2rem;
	color: var(--ink);
	background-color: #E2D3B8;
	background-image:
		repeating-linear-gradient(0deg, rgba(90, 70, 40, 0.06) 0 1px, transparent 1px 3px),
		repeating-linear-gradient(90deg, rgba(90, 70, 40, 0.06) 0 1px, transparent 1px 3px);
	box-shadow: var(--shadow);
	transform: rotate(-1deg);
}

.care-tag::before,
.care-tag::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 12px;
	background: repeating-linear-gradient(0deg, #E2D3B8 0 2px, transparent 2px 4px);
}

.care-tag::before {
	left: -11px;
}

.care-tag::after {
	right: -11px;
}

.care-title {
	margin: 0 0 1.2rem;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 700;
	text-align: center;
	color: var(--ink);
}

.care-icons {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.care-icons li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	text-align: center;
}

.care-icons svg {
	width: 52px;
	height: 44px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.care-icons svg text {
	fill: var(--ink);
	stroke: none;
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
}

.care-icons svg .fill {
	fill: var(--ink);
}

.care-icons span {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
}

/* ---------- Внутренние страницы ---------- */
.page-head {
	padding: 1.6rem 0 1.4rem;
}

.page-head h1 {
	margin: 0.7rem 0 0;
	font-size: clamp(2.2rem, 4.6vw, 4rem);
	font-weight: 600;
	color: var(--light);
}

.single .page-head h1 {
	font-size: clamp(1.9rem, 3.6vw, 3.2rem);
}

.page-head .entry-meta {
	margin-top: 0.8rem;
	color: var(--light-muted);
}

.breadcrumbs {
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--light-muted);
}

.breadcrumbs a {
	color: var(--light);
}

.breadcrumbs .sep {
	margin: 0 0.4em;
	color: var(--red);
}

.site-main {
	padding: 1rem 0 4.5rem;
}

.layout-single {
	display: block;
}

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
	column-gap: 5%;
	align-items: start;
}

.content-area {
	min-width: 0;
}

.sheet {
	position: relative;
	padding: 2.4rem 2.6rem 2.6rem;
	color: var(--ink);
	background-color: var(--kraft);
	background-image: radial-gradient(rgba(120, 90, 50, 0.07) 1px, transparent 1px);
	background-size: 5px 5px;
	box-shadow: var(--shadow);
}

.sheet::before {
	content: "";
	position: absolute;
	inset: 9px;
	border: 1.5px dashed rgba(27, 34, 51, 0.3);
	pointer-events: none;
}

.sheet > * {
	position: relative;
}

.entry-meta {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	color: var(--ink-muted);
}

.entry-meta a {
	color: inherit;
}

.entry-thumb {
	margin: 0 0 1.8rem;
}

.entry-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.entry-content {
	font-size: 1.06rem;
	line-height: 1.65;
	hyphens: auto;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content a:hover {
	color: var(--red-dark);
}

.entry-content h2 {
	font-size: 2rem;
	font-weight: 600;
}

.entry-content h3 {
	font-size: 1.55rem;
	font-weight: 600;
}

.entry-content h4 {
	font-size: 1.25rem;
	font-weight: 600;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.2em;
	padding-left: 1.6em;
}

.entry-content ul {
	list-style: none;
	padding-left: 1.5em;
}

.entry-content ul > li {
	position: relative;
	margin-bottom: 0.35em;
}

.entry-content ul > li::before {
	content: "";
	position: absolute;
	left: -1.3em;
	top: 0.75em;
	width: 0.8em;
	border-top: 2px dashed var(--red);
}

.entry-content ol > li::marker {
	font-family: var(--font-mono);
	font-weight: 500;
	color: var(--red-dark);
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 1.2rem 1.5rem;
	font-family: var(--font-head);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--light);
	background: var(--panel);
	border-left: 4px solid var(--red);
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content table {
	width: 100%;
	margin: 1.4em 0;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.entry-content th,
.entry-content td {
	padding: 0.55rem 0.75rem;
	text-align: left;
	border: 1px dashed rgba(27, 34, 51, 0.45);
}

.entry-content th {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--light);
	background: var(--ink);
	border-color: var(--ink);
}

.entry-content figure {
	margin: 1.6em 0;
}

.entry-content figcaption {
	margin-top: 0.4rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--ink-muted);
}

.entry-content img {
	display: block;
}

.entry-content pre,
.entry-content code {
	font-family: var(--font-mono);
	font-size: 0.9em;
	background: rgba(27, 34, 51, 0.08);
}

.entry-content pre {
	padding: 1rem 1.2rem;
	overflow-x: auto;
}

.entry-content hr {
	height: 0;
	margin: 2em 0;
	border: 0;
	border-top: 2px dashed var(--red);
}

.entry-footer {
	margin-top: 2rem;
	padding-top: 1rem;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	border-top: 1px dashed rgba(27, 34, 51, 0.4);
}

.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: 1rem 1.2rem;
	text-decoration: none;
	color: var(--light);
	background: var(--panel);
	border: 1px dashed var(--line);
	box-shadow: var(--shadow-sm);
}

.post-nav a:hover {
	color: var(--light);
	border-color: var(--red);
}

.post-nav .nav-next {
	text-align: right;
}

.post-nav small {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--light-muted);
}

.post-nav strong {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1.15rem;
	text-transform: uppercase;
	color: var(--gold);
}

.feed {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.4rem 2rem;
	align-items: start;
}

.layout-with-sidebar .feed {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed > .card:nth-child(even) {
	--tilt: 0.7deg;
}

.feed-empty {
	padding: 1.6rem 1.8rem;
	color: var(--ink);
	background: var(--kraft);
}

/* ---------- Пагинация (type => plain) ---------- */
.pager {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2.6rem;
}

.pager .page-numbers {
	display: inline-block;
	min-width: 2.7em;
	padding: 0.55em 0.85em;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	color: var(--light);
	background: var(--panel);
	border: 1px dashed var(--line);
}

.pager a.page-numbers:hover {
	color: var(--ink);
	background: var(--kraft);
}

.pager .page-numbers.current {
	color: #fff;
	background: var(--red);
	border: 1px solid var(--red);
}

.pager .page-numbers.dots {
	min-width: 0;
	background: none;
	border-color: transparent;
}

.sheet .pager .page-numbers {
	color: var(--ink);
	background: transparent;
	border-color: rgba(27, 34, 51, 0.45);
}

/* ---------- Сайдбар ---------- */
.sidebar {
	min-width: 0;
	padding: 1.6rem 1.5rem;
	color: var(--light);
	background: var(--panel);
	border-top: 3px solid var(--red);
	box-shadow: var(--shadow);
}

.sidebar .widget + .widget {
	margin-top: 2rem;
}

.sidebar .widget-title {
	margin: 0 0 0.9rem;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--gold);
}

.sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar li {
	padding: 0.55rem 0;
	font-size: 0.92rem;
	line-height: 1.4;
	border-bottom: 1px dashed var(--line);
}

.sidebar a {
	color: var(--light);
}

.sidebar a:hover {
	color: var(--red);
}

.sidebar .post-date,
.sidebar .wp-block-latest-posts__post-date {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	color: var(--light-muted);
}

/* ---------- Комментарии ---------- */
.comments {
	margin-top: 2.6rem;
}

.comments-title,
.comment-reply-title {
	font-size: 1.7rem;
	font-weight: 600;
	margin: 0 0 1rem;
	color: var(--gold);
}

.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin-left: 1.6rem;
}

.comment-body {
	margin-bottom: 1rem;
	padding: 1rem 1.2rem;
	color: var(--ink);
	background: var(--kraft);
	box-shadow: var(--shadow-sm);
}

.comment-head {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	margin-bottom: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	color: var(--ink-muted);
}

.comment-head b {
	color: var(--ink);
}

.comment-wait {
	font-size: 0.85rem;
	color: var(--red-dark);
}

.comment-reply-link {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.comment-respond {
	margin-top: 1.8rem;
	padding: 1.6rem;
	background: var(--panel);
	border: 1px dashed var(--line);
}

.comment-respond .tag-btn,
.comment-respond .form-submit input[type="submit"],
.search-form button,
.cookie-banner button {
	color: var(--light);
}

.comment-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--light-muted);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-form input[type="search"] {
	width: 100%;
	padding: 0.65rem 0.8rem;
	font: inherit;
	font-size: 0.95rem;
	color: var(--ink);
	background: var(--light);
	border: 1px solid var(--line);
	border-radius: 0;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-family: var(--font-body);
	font-size: 0.85rem;
	letter-spacing: 0;
	text-transform: none;
}

.comment-notes,
.logged-in-as,
.must-log-in {
	font-size: 0.85rem;
	color: var(--light-muted);
}

/* ---------- Поиск и 404 ---------- */
.search-form {
	display: flex;
	gap: 0.6rem;
	max-width: 560px;
}

.search-form label {
	flex: 1;
	min-width: 0;
}

.lost {
	padding: 1rem 0 2rem;
}

.lost-code {
	margin: 0 0 1.4rem;
	font-family: var(--font-head);
	font-size: clamp(7rem, 20vw, 14rem);
	font-weight: 700;
	line-height: 0.85;
	color: transparent;
	-webkit-text-stroke: 2px var(--light);
}

.lost-code span {
	color: var(--red);
	-webkit-text-stroke: 0;
}

.lost p {
	max-width: 620px;
}

.lost .tag-btn {
	margin-top: 1.4rem;
	color: var(--light);
}

/* ---------- Подвал ---------- */
.site-footer {
	margin-top: 2rem;
	color: var(--light);
	background: var(--footer);
}

.site-footer .seam {
	height: 0;
	border-top: 2px dashed var(--line);
}

.footer-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 3.5rem;
	padding: 2.8rem 0 2.2rem;
}

.footer-col {
	min-width: 0;
	font-family: var(--font-mono);
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--light);
}

.footer-col .widget-title {
	margin: 0 0 0.7rem;
	font-family: var(--font-head);
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--gold);
}

.footer-col p {
	margin: 0 0 0.6em;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col li {
	margin-bottom: 0.2rem;
}

.footer-col a {
	font-size: 0.8rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--light);
	text-decoration-color: transparent;
}

.footer-col a:hover,
.footer-col a:focus-visible {
	color: #fff;
	text-decoration-color: var(--red);
}

.copyright {
	margin: 0;
	padding: 1.1rem 0 1.5rem;
	font-family: var(--font-mono);
	font-size: 0.76rem;
	text-align: center;
	color: var(--light-muted);
	border-top: 2px dashed var(--line);
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner[hidden] {
	display: none !important;
}

.cookie-banner {
	position: fixed;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	z-index: 90;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.9rem 1.5rem;
	max-width: 880px;
	margin-left: auto;
	margin-right: auto;
	padding: 1rem 1.3rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--light);
	background: var(--panel);
	border: 1px dashed var(--line);
	border-top: 3px solid var(--red);
	box-shadow: var(--shadow);
}

.cookie-banner p {
	flex: 1 1 320px;
	min-width: 0;
	margin: 0;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.kraft-tab {
		display: none;
	}
}

@media (max-width: 959px) {
	.nav-toggle {
		display: inline-block;
	}

	.main-nav {
		flex-basis: 100%;
	}

	.main-nav[data-open="false"] {
		display: none;
	}

	.anatomy-panel,
	.fabrics-panel {
		grid-template-columns: minmax(0, 1fr);
		padding: 1.4rem 1.2rem 1.8rem;
	}

	.coat {
		margin-right: 0;
	}

	.anatomy-text {
		padding: 1.4rem 0 0;
		border-left: 0;
		border-top: 2px dashed var(--line);
	}

	.pieces,
	.feed,
	.layout-with-sidebar .feed {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.formality-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.4rem;
	}

	.scale {
		padding-bottom: 1.2rem;
	}

	.care-icons {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.2rem 0.6rem;
	}

	.layout-with-sidebar {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 2.5rem;
	}

	.footer-cols {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 600px) {
	body {
		font-size: 16px;
	}

	.head-sheet {
		padding: 1.3rem 1.2rem;
		transform: none;
	}

	.brand {
		gap: 0.8rem;
	}

	.brand-mark,
	.brand-logo {
		width: 56px;
	}

	.swatches {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.2rem 1.4rem;
	}

	.pieces,
	.feed,
	.layout-with-sidebar .feed {
		grid-template-columns: minmax(0, 1fr);
	}

	.pieces > .card:nth-child(n) {
		margin-top: 0;
	}

	.scale {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		row-gap: 1.6rem;
	}

	.scale li:nth-child(4) {
		border-left: 0;
	}

	.care-tag {
		padding: 1.3rem 1.2rem 1.6rem;
		transform: none;
	}

	.care-tag::before {
		left: -6px;
		width: 7px;
	}

	.care-tag::after {
		right: -6px;
		width: 7px;
	}

	.sheet {
		padding: 1.6rem 1.3rem 1.8rem;
	}

	.sidebar {
		padding: 1.3rem 1.2rem;
	}

	.comment-respond {
		padding: 1.2rem 1.1rem;
	}

	.post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.search-form {
		flex-direction: column;
	}

	.cookie-banner {
		left: 0.6rem;
		right: 0.6rem;
		bottom: 0.6rem;
	}
}
