/*
Theme Name: verycherrytango-ru
Author: Татьяна Вчерашняя
Description: Тема сайта школы аргентинского танго в Волгограде: ночная набережная и пара в танце на первом экране, винные и вишнёвые тона, круг милонги с тандами и кортинами, шаги-билет для новичков, танго-журнал, четыре оркестра и вечерняя Волга.
Version: 1.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: vct
*/
/* ---------- Шрифты (OFL, файлы в /fonts) ---------- */
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/oswald-cyrillic-300-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: 300; font-display: swap; src: url("fonts/oswald-latin-300-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+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/oswald-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/oswald-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-cyrillic-500-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-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+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-cyrillic-600-italic.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 600; font-display: swap; src: url("fonts/cormorant-garamond-latin-600-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+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/marck-script-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: "Marck Script"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/marck-script-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+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/montserrat-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: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/montserrat-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+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-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: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/montserrat-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+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-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: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/montserrat-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+20BD, U+2122, U+2190-2193, U+2212, U+FEFF, U+FFFD; }
/* ---------- Палитра (снята с макета) ---------- */
:root {
	--bg: #140C0E;
	--night: #140C0E;
	--bar: #1A1314;
	--wine: #4B0815;
	--wine-2: #5C0F20;
	--ticket: #7A1428;
	--cream: #EAD5BF;
	--text: #F1E4D3;
	--paper: #F1E4D3;
	--ink: #1E1013;
	--muted: #BBA79E;
	--accent: #D0193F;
	--accent-light: #F04A6B;
	--rose: #CF9590;
	--panel: #22161A;
	--line: rgba(234, 213, 191, 0.22);
	--footer: #0E080A;
	--font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
	--font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-script: "Marck Script", "Segoe Script", cursive;
	--font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
	--font-mono: var(--font-body);
}

/* ---------- База ---------- */
*,
*::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.6;
	color: var(--text);
	background: var(--night);
	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: 400;
	line-height: 1.15;
	margin: 1.4em 0 0.5em;
	hyphens: none;
	overflow-wrap: normal;
}

a {
	color: var(--text);
	text-decoration: underline solid var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

a:hover,
a:focus-visible {
	color: var(--accent-light);
}

:focus-visible {
	outline: 2px solid var(--accent-light);
	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(--accent);
	color: #FFFFFF;
}

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

.nowrap {
	white-space: nowrap;
}

/* ---------- Кнопки: вишнёвая заливка и контурная ---------- */
.cherry-btn,
.ghost-btn,
.cut-btn,
.search-form button,
.form-submit input[type="submit"],
.cookie-banner button {
	display: inline-block;
	padding: 0.95em 1.7em;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFFFF;
	background: var(--accent);
	border: 1.5px solid var(--accent);
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.ghost-btn {
	color: var(--text);
	background: transparent;
	border-color: var(--cream);
}

.cherry-btn:hover,
.cherry-btn:focus-visible,
.cut-btn:hover,
.search-form button:hover,
.form-submit input[type="submit"]:hover,
.cookie-banner button:hover {
	color: #FFFFFF;
	background: #A8102F;
	border-color: #A8102F;
}

.ghost-btn:hover,
.ghost-btn:focus-visible {
	color: var(--night);
	background: var(--cream);
}

/* Ссылка «Читать далее» с длинной стрелкой */
.read-link,
.arrow-link {
	font-size: 0.9rem;
	color: var(--accent-light);
	text-decoration: underline solid var(--accent);
	text-underline-offset: 5px;
}

.read-link::after,
.arrow-link::after {
	content: "⟶";
	display: inline-block;
	margin-left: 0.7em;
	text-decoration: none;
}

.read-link:hover,
.arrow-link:hover {
	color: var(--text);
}

/* ---------- Шапка ---------- */
.header-bar {
	background: var(--bar);
	border-bottom: 1px solid var(--line);
}

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

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

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

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

.brand-text {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.1rem 1.5rem;
	min-width: 0;
}

.brand-name {
	font-family: var(--font-head);
	font-size: clamp(1.45rem, 2.2vw, 1.95rem);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.brand-name::first-letter {
	color: var(--accent);
}

.brand-desc {
	font-size: 0.82rem;
	line-height: 1.3;
	color: var(--muted);
}

.nav-toggle {
	display: none;
	padding: 0.5em 1em;
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
	background: transparent;
	border: 1.5px solid var(--accent);
	border-radius: 2px;
	cursor: pointer;
}

.main-nav ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav li + li::before {
	content: "·";
	margin: 0 0.9rem;
	color: var(--accent);
}

.main-nav a {
	font-size: 0.86rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--text);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
	color: var(--accent-light);
}

/* ---------- Первый экран на главной ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: #120A0C;
}

.hero::before {
	content: "";
	position: absolute;
	left: -25%;
	bottom: -88%;
	width: 85%;
	height: 110%;
	border-top: 1px solid rgba(234, 213, 191, 0.32);
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
}

.hero-pic {
	position: absolute;
	top: 0;
	right: 0;
	width: 70%;
	height: 100%;
	object-fit: cover;
	object-position: 30% center;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%);
	mask-image: linear-gradient(90deg, transparent 0, #000 32%);
}

.hero-text {
	position: relative;
	z-index: 2;
	padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(5rem, 9vw, 7rem);
}

.hero-title {
	margin: 0 0 1.6rem;
	font-family: var(--font-head);
	font-size: clamp(3.6rem, 9.5vw, 8.6rem);
	font-weight: 300;
	line-height: 0.92;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--cream);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-title > span {
	display: block;
}

.hero-title em {
	font-family: var(--font-serif);
	font-size: 0.86em;
	font-style: italic;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--accent);
}

.hero-lead {
	max-width: 30rem;
	margin-bottom: 1.4rem;
	font-size: clamp(1.05rem, 1.6vw, 1.3rem);
	line-height: 1.45;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.hero-place {
	margin-bottom: 1.6rem;
	font-size: 0.82rem;
	color: var(--muted);
}

.hero-place span {
	margin: 0 0.4em;
	color: var(--accent);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem 1.1rem;
	margin: 0;
}

.hero-scroll {
	position: absolute;
	left: 50%;
	bottom: 1.4rem;
	z-index: 2;
	transform: translateX(-50%);
	font-size: 0.8rem;
	white-space: nowrap;
	text-align: center;
	text-decoration: none;
	color: var(--text);
}

.hero-scroll::after {
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	margin: 0.5rem auto 0;
	border-right: 1.5px solid var(--cream);
	border-bottom: 1.5px solid var(--cream);
	transform: rotate(45deg);
}

/* ---------- Заголовки секций ---------- */
.front section {
	padding: clamp(3rem, 6vw, 4.6rem) 0;
}

.big-title {
	margin: 0 0 1.4rem;
	font-family: var(--font-head);
	font-size: clamp(2.8rem, 5.6vw, 5rem);
	font-weight: 300;
	line-height: 0.98;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--cream);
}

.big-title em {
	display: block;
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--rose);
	background: linear-gradient(180deg, #E7B2A6, #A86A68);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.big-title i {
	font-style: normal;
	color: var(--accent);
}

.big-title--dark {
	color: var(--ink);
}

.big-title--line {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}

.big-title--line::after {
	content: "";
	flex: 1;
	height: 1px;
	margin-top: 0.3em;
	background: var(--accent);
}

/* ---------- Блок 1: вечер идёт по кругу ---------- */
.front .round {
	background-color: var(--wine);
	background-image:
		radial-gradient(ellipse at 70% 40%, rgba(122, 20, 40, 0.55), transparent 60%),
		repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 6px);
}

.round-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 2rem 3rem;
	align-items: center;
}

.round-text p {
	max-width: 30rem;
	font-size: 1.05rem;
}

.round-text .round-note {
	padding-left: 1rem;
	font-size: 0.92rem;
	color: var(--muted);
	border-left: 2px solid var(--accent);
}

.round-scheme {
	position: relative;
	width: min(100%, 620px);
	aspect-ratio: 3 / 2;
	margin-left: auto;
}

.round-rings {
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	width: auto;
	aspect-ratio: 1;
	transform: translateX(-50%);
}

.round-rings .ring {
	fill: none;
	stroke: rgba(234, 213, 191, 0.7);
	stroke-width: 1.5;
}

.round-rings .ring--thin {
	stroke-width: 1;
	stroke: rgba(234, 213, 191, 0.4);
}

.round-rings .ring--dash {
	stroke-dasharray: 2 6;
	stroke: rgba(234, 213, 191, 0.55);
}

.round-rings .ring-tick {
	fill: none;
	stroke: rgba(234, 213, 191, 0.5);
	stroke-width: 1;
}

.round-rings .ring-arrow {
	fill: var(--cream);
}

.round-pic {
	position: absolute;
	top: 15.5%;
	left: 50%;
	height: 69%;
	width: auto;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	transform: translateX(-50%);
	box-shadow: 0 0 0 6px rgba(20, 12, 14, 0.35);
}

.round-label {
	position: absolute;
	padding: 0 0.3em 0.15em;
	font-family: var(--font-serif);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	color: var(--cream);
	border-bottom: 1px solid rgba(234, 213, 191, 0.6);
}

.round-label--tl {
	top: 8%;
	left: 0;
}

.round-label--tr {
	top: 8%;
	right: 0;
}

.round-label--bl {
	bottom: 8%;
	left: 0;
}

.round-label--br {
	bottom: 8%;
	right: 0;
}

/* ---------- Блок 2: начать можно с нуля ---------- */
.front .start {
	color: var(--ink);
	background-color: var(--cream);
	background-image: radial-gradient(ellipse at 20% 0, rgba(255, 255, 255, 0.35), transparent 55%);
}

.start-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem 1.6rem;
	margin-bottom: 1.6rem;
}

.start-head .big-title {
	margin: 0;
}

.start-head p {
	margin: 0;
	font-size: 0.92rem;
}

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

.ticket {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 1.6rem 2rem 1.8rem;
	list-style: none;
	color: var(--text);
	background: var(--ticket);
}

.ticket::before,
.ticket::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 9px;
	background: radial-gradient(circle at 0 50%, var(--cream) 0 5px, transparent 5.5px) 0 0 / 9px 16px repeat-y;
}

.ticket::before {
	left: 0;
}

.ticket::after {
	right: 0;
	transform: scaleX(-1);
}

.ticket li {
	display: flex;
	flex-direction: column;
	padding: 0.2rem 1.4rem;
}

.ticket li + li {
	border-left: 1.5px dashed rgba(234, 213, 191, 0.45);
}

.ticket-num {
	font-family: var(--font-serif);
	font-size: 2.6rem;
	font-style: italic;
	font-weight: 500;
	line-height: 1;
	color: var(--cream);
}

.ticket-title {
	margin: 0.5rem 0 0.6rem;
	font-family: var(--font-head);
	font-size: 1.45rem;
	font-weight: 400;
	line-height: 1.15;
}

.ticket-text {
	font-size: 0.84rem;
	line-height: 1.45;
	color: rgba(241, 228, 211, 0.85);
}

.start-script {
	margin: 0;
	font-family: var(--font-script);
	font-size: clamp(1.6rem, 2.3vw, 2.1rem);
	line-height: 1.3;
	color: var(--ticket);
	transform: rotate(-4deg);
}

.start-action {
	margin: 1.8rem 0 0;
	text-align: center;
}

/* ---------- Танго-журнал ---------- */
.front .latest {
	background: var(--night);
}

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

.feed--front .card + .card {
	padding-left: 2rem;
	border-left: 1px solid var(--line);
}

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

.card-thumb {
	display: block;
	aspect-ratio: 657 / 231;
	overflow: hidden;
	text-decoration: none;
	background: var(--wine);
}

.layout-with-sidebar .card-thumb {
	aspect-ratio: 16 / 9;
}

.card-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.card:hover .card-thumb img {
	transform: scale(1.04);
}

.card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding-top: 1.1rem;
}

.card-title {
	margin: 0 0 0.3rem;
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

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

.card-title a:hover {
	color: var(--accent-light);
}

.card-date {
	margin-bottom: 0.5rem;
	font-size: 0.8rem;
	color: var(--muted);
}

.card-excerpt {
	font-size: 0.95rem;
	line-height: 1.5;
}

.card-excerpt p {
	margin: 0 0 1rem;
}

.card .read-link {
	margin-top: auto;
}

.feed-more {
	margin: 2.4rem 0 0;
}

.feed-empty {
	color: var(--muted);
}

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

/* ---------- Блок 3: четыре оркестра ---------- */
.front .voices {
	background-color: var(--wine);
	background-image: repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.07) 0 2px, transparent 2px 6px);
	border-top: 1px solid var(--line);
}

.voices-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: 2rem 3rem;
	align-items: center;
}

.voices-text p {
	max-width: 24rem;
	margin: 0;
	font-size: 1rem;
}

.scale-ends {
	display: flex;
	justify-content: space-between;
	margin: 0 0 0.7rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.voices-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 1.6rem 0 0;
	list-style: none;
	border-top: 1.5px solid rgba(234, 213, 191, 0.6);
}

.voices-list li {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 0 0.9rem;
	text-align: center;
}

.voices-list li + li {
	border-left: 1px solid var(--line);
}

.voices-list li::before {
	content: "";
	position: absolute;
	top: -1.6rem;
	left: 50%;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(208, 25, 63, 0.25);
	transform: translate(-50%, -50%) translateY(-0.75px);
}

.voice-name {
	margin-bottom: 0.5rem;
	font-family: var(--font-serif);
	font-size: clamp(1.4rem, 2vw, 1.8rem);
	font-style: italic;
	font-weight: 600;
	line-height: 1.15;
	color: var(--cream);
}

.voice-text {
	font-size: 0.86rem;
	line-height: 1.45;
	color: var(--muted);
}

/* ---------- Блок 4: Волга задаёт ритм ---------- */
.front .volga {
	position: relative;
	overflow: hidden;
	padding: 0;
	background: linear-gradient(90deg, #2A0F18, #1A0B10);
	border-top: 1px solid var(--line);
}

.volga-pic {
	position: absolute;
	top: 0;
	right: 0;
	width: 66%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
	mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}

.volga-text {
	position: relative;
	z-index: 1;
	padding: clamp(2.6rem, 5vw, 3.6rem) 0;
}

.volga-text > * {
	max-width: 32rem;
}

.volga-title {
	margin: 0 0 1rem;
	font-size: clamp(1.9rem, 3.2vw, 2.7rem);
	font-weight: 400;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--cream);
}

.volga-title span {
	display: block;
}

.volga-text p {
	font-size: 0.95rem;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.volga-text .hero-place {
	margin-bottom: 1.2rem;
}

.voices .big-title {
	font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.card-thumb {
	position: relative;
}

.card-thumb img {
	position: absolute;
	inset: 0;
}
/* ---------- Внутренние страницы ---------- */
.page-head {
	padding: 2.6rem 0 1.4rem;
}

.page-head h1 {
	display: inline-block;
	margin: 0.8rem 0 0;
	padding-bottom: 0.25rem;
	font-size: clamp(1.9rem, 4vw, 3.2rem);
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-bottom: 3px solid var(--accent);
	color: var(--paper);
}

.single .page-head h1 {
	font-size: clamp(2rem, 3.6vw, 3rem);
	letter-spacing: 0.02em;
}

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

.breadcrumbs {
	font-size: 0.92rem;
	color: var(--muted);
}

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

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

.site-main {
	padding: 0.6rem 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;
	background: var(--panel);
	border: 1.5px solid var(--line);
}

.layout-single .sheet {
	max-width: 960px;
}

.entry-meta {
	font-size: 0.95rem;
	color: var(--muted);
}

.entry-meta a {
	color: inherit;
}

.entry-thumb {
	margin: 0 0 1.8rem;
	border: 1.5px solid var(--line);
}

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

.entry-content {
	font-size: 1.1rem;
	line-height: 1.75;
	hyphens: auto;
}

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

.entry-content a {
	color: var(--accent-light);
}

.entry-content h2 {
	font-size: 2.1rem;
	letter-spacing: 0.02em;
	color: var(--accent);
}

.entry-content h3 {
	font-size: 1.65rem;
	color: var(--accent);
}

.entry-content h4 {
	font-size: 1.35rem;
}

.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.25em;
	top: 0.6em;
	width: 0.6em;
	height: 0.6em;
	background: var(--accent);
}

.entry-content ol > li::marker {
	font-weight: 600;
	color: var(--accent);
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 1.2rem 1.5rem;
	font-family: var(--font-head);
	font-size: 1.5rem;
	line-height: 1.35;
	background: var(--bg);
	border-left: 4px solid var(--line);
}

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

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

.entry-content th,
.entry-content td {
	padding: 0.55rem 0.75rem;
	text-align: left;
	border-bottom: 1px solid var(--line);
}

.entry-content th {
	font-weight: 400;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--accent);
}

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

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

.entry-content img {
	display: block;
}

.entry-content pre,
.entry-content code {
	font-family: Consolas, "DejaVu Sans Mono", "Courier New", monospace;
	font-size: 0.88em;
	background: rgba(0, 0, 0, 0.25);
}

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

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

.entry-footer {
	margin-top: 2rem;
	padding-top: 1rem;
	font-size: 0.95rem;
	border-top: 1px solid var(--line);
}

.post-nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 1.2rem;
	margin-top: 2.2rem;
	max-width: 960px;
}

.layout-with-sidebar .post-nav {
	max-width: none;
}

.post-nav a {
	display: block;
	padding: 1rem 1.2rem;
	text-decoration: none;
	background: var(--panel);
	border: 1px solid var(--line);
}

.post-nav a:hover {
	background: #2A1A1E;
}

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

.post-nav small {
	display: block;
	font-size: 0.85rem;
	color: var(--muted);
}

.post-nav strong {
	font-family: var(--font-head);
	font-size: 1.35rem;
	font-weight: 400;
	color: var(--paper);
}

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

.pager .page-numbers {
	display: inline-block;
	min-width: 2.6em;
	padding: 0.45em 0.8em;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	color: var(--accent);
	background: var(--panel);
	border: 1px solid var(--line);
}

.pager a.page-numbers:hover {
	color: var(--accent-light);
}

.pager .page-numbers.current {
	color: var(--bg);
	background: var(--accent);
}

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

/* ---------- Сайдбар ---------- */
.sidebar {
	min-width: 0;
	padding: 1.6rem 1.5rem;
	background: var(--panel);
	border: 1px solid var(--line);
}

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

.sidebar .widget-title {
	margin: 0 0 0.9rem;
	font-size: 1.6rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--accent);
}

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

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

.sidebar a {
	text-decoration: none;
}

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

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

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

.comments-title,
.comment-reply-title {
	font-size: 1.9rem;
	margin: 0 0 1rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--accent);
}

.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;
	background: var(--panel);
	border-left: 3px solid var(--line);
}

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

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

.comment-wait {
	font-size: 0.92rem;
	color: var(--accent-light);
}

.comment-reply-link {
	font-size: 0.9rem;
	color: var(--accent-light);
}

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

.comment-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: 0.92rem;
	color: var(--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.6rem 0.8rem;
	font: inherit;
	font-size: 1rem;
	color: var(--paper);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 0;
}

.comment-form .comment-form-cookies-consent label {
	display: inline;
}

.comment-notes,
.logged-in-as,
.must-log-in {
	font-size: 0.92rem;
	color: var(--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(6rem, 18vw, 12rem);
	line-height: 0.9;
	color: var(--accent);
}

.lost-code span {
	color: var(--line);
}

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

.lost .cut-btn {
	margin-top: 1.4rem;
}

/* ---------- Подвал ---------- */
.site-footer {
	color: var(--paper);
	background: var(--footer);
	border-top: 3px solid var(--accent);
}

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

.footer-col {
	min-width: 0;
	font-size: 1.1rem;
	line-height: 1.45;
}

.footer-col:nth-child(2) {
	text-align: center;
}

.footer-col .widget-title {
	margin: 0 0 0.6rem;
	font-size: 2rem;
	color: var(--paper);
}

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

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

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

.footer-col a {
	color: var(--paper);
	text-decoration: none;
}

.footer-col a:hover,
.footer-col a:focus-visible {
	color: var(--accent-light);
	text-decoration: underline;
}

.copyright {
	margin: 0;
	padding: 0.6rem 0 2rem;
	font-size: 1rem;
	text-align: center;
	color: var(--paper);
}

/* ---------- 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.95rem;
	line-height: 1.5;
	background: var(--panel);
	border: 1px solid var(--line);
}

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

/* ---------- Подвал (ночной, три колонки) ---------- */
.site-footer {
	border-top: 1px solid var(--accent);
}

.footer-col:nth-child(2) {
	text-align: left;
}

.footer-col {
	font-size: 0.98rem;
	color: var(--muted);
}

.footer-col .widget-title {
	font-family: var(--font-head);
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cream);
}

.footer-col em {
	font-family: var(--font-serif);
	font-size: 1.15em;
	font-weight: 600;
	color: var(--accent-light);
}

.copyright {
	padding: 1rem 0 1.8rem;
	font-size: 0.85rem;
	text-align: left;
	color: var(--muted);
	border-top: 1px solid var(--line);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.round-grid,
	.voices-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.round-scheme {
		margin: 0 auto;
	}

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

	.ticket li:nth-child(3) {
		border-left: 0;
	}

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

	.start-script {
		text-align: center;
	}
}

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

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

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

	.main-nav ul {
		flex-direction: column;
		align-items: stretch;
	}

	.main-nav li + li::before {
		display: none;
	}

	.main-nav li + li {
		border-top: 1px solid var(--line);
	}

	.main-nav a {
		display: block;
		padding: 0.6em 0;
	}

	.hero-pic {
		width: 100%;
		opacity: 0.55;
		-webkit-mask-image: none;
		mask-image: none;
	}

	.volga-pic {
		width: 100%;
		opacity: 0.4;
		-webkit-mask-image: none;
		mask-image: none;
	}

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

	.feed--front .card + .card {
		padding-left: 0;
		border-left: 0;
	}

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

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

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

	.brand-desc {
		display: none;
	}

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

	.hero-title {
		font-size: clamp(3rem, 15vw, 4.2rem);
	}

	.hero-scroll {
		display: none;
	}

	.hero-text {
		padding-bottom: 3rem;
	}

	.round-scheme {
		aspect-ratio: 1 / 1.05;
	}

	.round-rings {
		top: 12%;
		height: auto;
		width: 100%;
	}

	.round-pic {
		top: calc(12% + 15.5%);
		height: auto;
		width: 69%;
	}

	.round-label {
		font-size: 1.1rem;
	}

	.round-label--tl,
	.round-label--tr {
		top: 0;
	}

	.round-label--bl,
	.round-label--br {
		bottom: 0;
	}

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

	.ticket li + li {
		border-left: 0;
		border-top: 1.5px dashed rgba(234, 213, 191, 0.45);
		padding-top: 1rem;
	}

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

	.voices-list li:nth-child(3) {
		border-left: 0;
	}

	.voices-list li:nth-child(n + 3)::before {
		display: none;
	}

	.big-title--line::after {
		display: none;
	}

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

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

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

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

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition: none !important;
	}
}
