/* ==========================================================================
   Скоморох 2026 — оформление темы
   Bootstrap 5.3 подключён локально, здесь только авторские стили.
   ========================================================================== */

:root {
	--wine: #7d1f26;
	--wine-700: #67161c;
	--wine-900: #4c0f14;
	--wine-soft: #a8383f;
	--gold: #c8a45c;
	--gold-soft: #e6d2a6;
	--cream: #fbf7f1;
	--cream-dark: #f3ebe0;
	--paper: #ffffff;
	--ink: #241a18;
	--ink-soft: #4a3b37;
	--muted: #7d6c66;
	--line: rgba(36, 26, 24, 0.12);
	--shadow-sm: 0 2px 8px rgba(36, 26, 24, 0.06);
	--shadow-md: 0 18px 40px -22px rgba(36, 26, 24, 0.45);
	--shadow-lg: 0 32px 70px -30px rgba(36, 26, 24, 0.55);
	--radius: 18px;
	--radius-sm: 12px;
	--font-display: "Playfair Display", "Times New Roman", Georgia, serif;
	--font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1240px;
}

/* --------------------------------------------------------------------------
   База
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body.sko-theme {
	margin: 0;
	background-color: var(--cream);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.sko-theme ::selection {
	background: var(--wine);
	color: #fff;
}

.container {
	width: 100%;
	max-width: var(--container);
	padding-inline: clamp(1rem, 4vw, 2.5rem);
	margin-inline: auto;
}

a {
	color: var(--wine);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--wine-700);
}

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

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1000;
	padding: 0.9rem 1.4rem;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	color: #fff;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: 0 0 auto;
	vertical-align: middle;
}

.icon--sm {
	width: 1rem;
	height: 1rem;
}

/* --------------------------------------------------------------------------
   Типографика
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.14;
	letter-spacing: -0.015em;
	color: var(--ink);
	margin: 0 0 0.6em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.2rem, 4.4vw, 3.4rem);
}

h2 {
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}

h3 {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
	margin: 0 0 1.1em;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.85rem;
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wine);
}

.eyebrow::before {
	content: "";
	display: block;
	width: 2rem;
	height: 1px;
	background: currentColor;
	opacity: 0.5;
}

.eyebrow--light {
	color: var(--gold-soft);
}

.section-title {
	margin: 0;
	font-size: clamp(1.9rem, 3.4vw, 2.9rem);
}

.section-title--sm {
	font-size: clamp(1.35rem, 2vw, 1.7rem);
	margin: 2.5rem 0 1.25rem;
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--ink-soft);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.section-link:hover {
	color: var(--wine);
	border-color: var(--wine);
	gap: 0.8rem;
}

.empty-state {
	padding: 2.5rem;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	background: var(--paper);
}

.results-count {
	font-size: 0.85rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 1.5rem;
}

.results-count--loose {
	margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Сетки
   -------------------------------------------------------------------------- */

.section {
	padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--muted {
	background: var(--cream-dark);
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.grid {
	display: grid;
	gap: clamp(1.25rem, 2.2vw, 2rem);
}

.grid--events {
	grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}

.grid--perf {
	grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
}

.grid--news {
	grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
}

.grid--news-4 {
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.grid--people {
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
}

/* --------------------------------------------------------------------------
   Кнопки и чипы
   -------------------------------------------------------------------------- */

.btn {
	--btn-bg: var(--wine);
	--btn-fg: #fff;
	--btn-border: var(--wine);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.5rem;
	border: 1px solid var(--btn-border);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
	background: var(--wine-700);
	border-color: var(--wine-700);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}

.btn:active {
	transform: translateY(0);
}

.btn-sko {
	--btn-bg: var(--wine);
	--btn-fg: #fff;
	--btn-border: var(--wine);
}

.btn-sko--sm {
	padding: 0.55rem 1.1rem;
	font-size: 0.8rem;
}

.btn-sko--xs {
	padding: 0.4rem 0.9rem;
	font-size: 0.75rem;
}

.btn-gold {
	--btn-bg: var(--gold);
	--btn-fg: var(--ink);
	--btn-border: var(--gold);
}

.btn-gold:hover {
	background: var(--gold-soft);
	border-color: var(--gold-soft);
	color: var(--ink);
}

.btn-ghost {
	--btn-bg: transparent;
	--btn-fg: #fff;
	--btn-border: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
	box-shadow: none;
}

.btn-outline-dark {
	--btn-bg: transparent;
	--btn-fg: var(--ink);
	--btn-border: rgba(36, 26, 24, 0.3);
}

.btn-outline-dark:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.btn-lg {
	padding: 0.95rem 2rem;
	font-size: 0.98rem;
}

.btn-block {
	display: flex;
	width: 100%;
	margin-top: 1.25rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: rgba(36, 26, 24, 0.06);
	color: var(--ink-soft);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.chip--solid {
	background: var(--wine);
	color: #fff;
}

.chip--age {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	z-index: 2;
	padding: 0.3rem 0.65rem;
	background: rgba(251, 247, 241, 0.94);
	color: var(--wine);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	backdrop-filter: blur(4px);
}

.chip-filter {
	display: inline-flex;
	align-items: center;
	padding: 0.55rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink-soft);
	font-size: 0.85rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.2s ease;
}

.chip-filter:hover {
	border-color: var(--wine);
	color: var(--wine);
}

.chip-filter.is-active {
	background: var(--wine);
	border-color: var(--wine);
	color: #fff;
}

.filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   Верхняя полоса
   -------------------------------------------------------------------------- */

.topbar {
	position: relative;
	z-index: 40;
	background: var(--wine-900);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.78rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.6rem;
	padding-block: 0.35rem;
}

.topbar__group {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: inherit;
	text-decoration: none;
}

.topbar__item:hover {
	color: #fff;
}

.topbar__link {
	color: var(--gold-soft);
	text-decoration: none;
	border-bottom: 1px dotted currentColor;
}

.topbar__link:hover {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 247, 241, 0.94);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-stuck {
	box-shadow: 0 10px 30px -20px rgba(36, 26, 24, 0.7);
}

.navbar-sko {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 5rem;
	padding-block: 0.75rem;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	margin-right: auto;
}

.brand__logo {
	width: 3.4rem;
	height: 3.4rem;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.brand:hover .brand__logo {
	transform: rotate(-4deg) scale(1.03);
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.brand__name {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--wine);
}

.brand__caption {
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

@media (min-width: 992px) {
	.navbar-sko .navbar-collapse {
		display: flex;
		align-items: center;
		gap: 1.5rem;
		flex-basis: auto;
	}

	.navbar-nav {
		flex-wrap: nowrap;
	}

	.navbar-nav .nav-link {
		padding: 0.5rem 0.62rem;
		font-size: 0.87rem;
		white-space: nowrap;
	}
}

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

.navbar-nav .nav-link {
	position: relative;
	display: block;
	padding: 0.55rem 0.8rem;
	color: var(--ink-soft);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	border-radius: 999px;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible {
	color: var(--wine);
	background: rgba(125, 31, 38, 0.06);
}

.navbar-nav .nav-link.active {
	color: var(--wine);
}

.navbar-nav .nav-link.active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.15rem;
	width: 1.1rem;
	height: 2px;
	background: var(--gold);
	border-radius: 2px;
	transform: translateX(-50%);
}

.navbar-nav .dropdown {
	position: relative;
}

.dropdown-menu {
	min-width: 15rem;
	margin: 0.45rem 0 0;
	padding: 0.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	box-shadow: var(--shadow-md);
	list-style: none;
}

.dropdown-item {
	display: block;
	padding: 0.55rem 0.85rem;
	border-radius: 8px;
	color: var(--ink-soft);
	font-size: 0.88rem;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.dropdown-item:hover,
.dropdown-item:focus-visible {
	background: var(--cream-dark);
	color: var(--wine);
}

.dropdown-item.active {
	color: var(--wine);
	font-weight: 600;
}

.navbar-toggler-sko {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.6rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	cursor: pointer;
}

.navbar-toggler-sko__line {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--wine);
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.navbar-toggler-sko[aria-expanded="true"] .navbar-toggler-sko__line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.navbar-toggler-sko[aria-expanded="true"] .navbar-toggler-sko__line:nth-child(2) {
	opacity: 0;
}

.navbar-toggler-sko[aria-expanded="true"] .navbar-toggler-sko__line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--paper);
	color: var(--ink-soft);
	cursor: pointer;
	transition: all 0.2s ease;
}

.icon-button:hover {
	border-color: var(--wine);
	color: var(--wine);
}

/* --------------------------------------------------------------------------
   Поиск
   -------------------------------------------------------------------------- */

.search-panel {
	padding: 1rem 0 1.25rem;
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.search-form {
	display: flex;
	gap: 0.6rem;
	align-items: center;
}

.search-form__input {
	flex: 1 1 auto;
	width: 100%;
	padding: 0.85rem 1.2rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--cream);
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--ink);
}

.search-form__input:focus {
	border-color: var(--wine);
	background: var(--paper);
	outline: none;
}

.search-form--page {
	max-width: 36rem;
	margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Анонс на главной
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(30rem, 78vh, 46rem);
	overflow: hidden;
	background: var(--wine-900);
	isolation: isolate;
}

.hero__backdrop,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -3;
}

.hero__backdrop {
	background-color: var(--wine-900);
	background-size: cover;
	background-position: center 30%;
	filter: saturate(105%);
}

.hero__backdrop:not([style]) {
	background-image:
		radial-gradient(120% 100% at 18% 8%, #8d2a31 0%, rgba(58, 16, 19, 0.9) 55%, #1c1012 100%),
		linear-gradient(140deg, #4c0f14 0%, #1c1012 100%);
}

/* На узких экранах видео не грузим: экономия трафика и стабильная вёрстка. */
@media (max-width: 991.98px) {
	.hero__video {
		display: none;
	}
}

.hero__video {
	z-index: -2;
}

.hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(95deg, rgba(20, 9, 10, 0.92) 0%, rgba(20, 9, 10, 0.72) 38%, rgba(20, 9, 10, 0.28) 72%, rgba(20, 9, 10, 0.45) 100%),
		linear-gradient(180deg, rgba(20, 9, 10, 0.55) 0%, rgba(20, 9, 10, 0.12) 40%, rgba(20, 9, 10, 0.85) 100%);
}

.hero__inner {
	position: relative;
	padding-block: clamp(4rem, 9vw, 7rem);
	color: #fff;
}

.hero__title {
	max-width: 22ch;
	margin: 0 0 1rem;
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__meta {
	margin: 0 0 2rem;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
	color: rgba(255, 255, 255, 0.86);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Полоса фактов
   -------------------------------------------------------------------------- */

.factbar {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
}

.factbar__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
	gap: 1rem;
	padding-block: 1.25rem;
}

.fact {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding-left: 1rem;
	border-left: 2px solid var(--gold);
}

.fact__k {
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.fact__v {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ink);
}

.fact--action {
	border-left-color: var(--wine);
	justify-content: center;
}

.fact__link {
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--wine);
}

.fact__link:hover {
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Карточка события
   -------------------------------------------------------------------------- */

.card-event {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-event:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(125, 31, 38, 0.2);
}

.card-event__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--cream-dark);
}

.card-event__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.card-event:hover .card-event__img {
	transform: scale(1.05);
}

.card-event__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(120% 80% at 20% 10%, rgba(200, 164, 92, 0.35) 0%, transparent 60%),
		linear-gradient(160deg, var(--wine) 0%, var(--wine-900) 100%);
}

.date-badge {
	position: absolute;
	top: 0.9rem;
	right: 0.9rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 3.6rem;
	padding: 0.45rem 0.4rem;
	border-radius: 12px;
	background: var(--wine);
	color: #fff;
	line-height: 1;
	box-shadow: 0 10px 22px -12px rgba(76, 15, 20, 0.9);
}

.date-badge__day {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
}

.date-badge__month {
	margin-top: 0.15rem;
	font-size: 0.62rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.85;
}

.date-badge__weekday {
	margin-top: 0.2rem;
	font-size: 0.62rem;
	opacity: 0.7;
}

.date-badge__time {
	margin-top: 0.3rem;
	padding-top: 0.3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	font-size: 0.7rem;
	font-weight: 600;
}

.card-event__ribbon {
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 2;
	padding: 0.35rem 0.9rem;
	border-radius: 0 10px 0 0;
	background: var(--gold);
	color: var(--ink);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.card-event__pushkin {
	position: absolute;
	right: 0.9rem;
	bottom: 0.9rem;
	z-index: 2;
	width: 3.2rem;
	height: 3.2rem;
	object-fit: contain;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.card-event__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 0.5rem;
	padding: 1.15rem 1.25rem 1.25rem;
}

.card-event__title {
	margin: 0;
	font-size: 1.16rem;
	line-height: 1.25;
}

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

.card-event__title a:hover {
	color: var(--wine);
}

.card-event__meta {
	margin: 0;
	font-size: 0.82rem;
	color: var(--muted);
}

.card-event__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid var(--line);
}

.card-event__date-text {
	font-size: 0.78rem;
	color: var(--ink-soft);
}

.card-event__soon {
	font-size: 0.78rem;
	color: var(--muted);
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Карточка спектакля
   -------------------------------------------------------------------------- */

.card-perf {
	display: flex;
	flex-direction: column;
}

.card-perf__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--cream-dark);
	box-shadow: var(--shadow-sm);
}

.card-perf__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.card-perf:hover .card-perf__img {
	transform: scale(1.06);
}

.card-perf__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(100% 70% at 30% 10%, rgba(200, 164, 92, 0.4) 0%, transparent 65%),
		linear-gradient(150deg, var(--wine-soft) 0%, var(--wine-900) 100%);
}

.card-perf__ribbon {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 0.3rem 0.7rem;
	border-radius: 0 8px 0 0;
	background: var(--gold);
	color: var(--ink);
	font-size: 0.6rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.card-perf__body {
	padding-top: 0.85rem;
}

.card-perf__title {
	margin: 0 0 0.25rem;
	font-size: 1.02rem;
	line-height: 1.3;
}

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

.card-perf__title a:hover {
	color: var(--wine);
}

.card-perf__meta {
	margin: 0;
	font-size: 0.78rem;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Карточка новости
   -------------------------------------------------------------------------- */

.card-news {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--wine-900);
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-news:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.card-news__link {
	position: relative;
	display: flex;
	align-items: flex-end;
	aspect-ratio: 16 / 11;
	padding: 1.25rem;
	text-decoration: none;
	isolation: isolate;
}

.card-news__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.card-news:hover .card-news__img {
	transform: scale(1.05);
}

.card-news__placeholder {
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(150deg, var(--wine-soft) 0%, var(--wine-900) 100%);
}

.card-news__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(20, 9, 10, 0) 30%, rgba(20, 9, 10, 0.85) 100%);
}

.card-news__content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.card-news__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.card-news__cat {
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.card-news__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	line-height: 1.24;
	color: #fff;
	text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Карточка человека
   -------------------------------------------------------------------------- */

.card-person__link {
	display: block;
	text-decoration: none;
}

.card-person__media {
	position: relative;
	display: block;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border-radius: var(--radius-sm);
	background: var(--cream-dark);
}

.card-person__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(18%);
	transition: transform 0.6s ease, filter 0.4s ease;
}

.card-person:hover .card-person__img {
	transform: scale(1.05);
	filter: grayscale(0%);
}

.card-person__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(90% 60% at 50% 0%, rgba(200, 164, 92, 0.4) 0%, transparent 70%),
		linear-gradient(160deg, var(--cream-dark) 0%, #ded0c1 100%);
}

.card-person__body {
	display: block;
	padding-top: 0.8rem;
}

.card-person__name {
	display: block;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--ink);
}

.card-person__link:hover .card-person__name {
	color: var(--wine);
}

.card-person__role {
	display: block;
	margin-top: 0.15rem;
	font-size: 0.78rem;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
   Полоса «Пушкинская карта»
   -------------------------------------------------------------------------- */

.band {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(90% 140% at 85% 10%, rgba(200, 164, 92, 0.35) 0%, transparent 55%),
		linear-gradient(120deg, var(--wine-900) 0%, var(--wine) 65%, var(--wine-700) 100%);
	color: #fff;
	isolation: isolate;
}

.band::after {
	content: "";
	position: absolute;
	right: -8rem;
	bottom: -12rem;
	width: 30rem;
	height: 30rem;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.12);
	z-index: -1;
}

.band__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.band__text {
	max-width: 42rem;
}

.band__title {
	margin: 0 0 0.75rem;
	color: #fff;
	font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.band__lead {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.98rem;
}

.band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

/* --------------------------------------------------------------------------
   Заголовок страницы
   -------------------------------------------------------------------------- */

.page-head {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background:
		radial-gradient(80% 120% at 12% 0%, rgba(200, 164, 92, 0.18) 0%, transparent 55%),
		var(--cream-dark);
	border-bottom: 1px solid var(--line);
}

.page-head--image {
	background-size: cover;
	background-position: center;
	color: #fff;
	position: relative;
	isolation: isolate;
}

.page-head--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(28, 12, 14, 0.65) 0%, rgba(28, 12, 14, 0.85) 100%);
}

.page-head--image .page-title {
	color: #fff;
}

.page-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.1rem);
}

.page-head__lead {
	max-width: 46rem;
	margin: 0.9rem 0 0;
	color: var(--ink-soft);
	font-size: 1rem;
}

.page-head--image .page-head__lead {
	color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	font-size: 0.78rem;
	color: var(--muted);
}

.breadcrumbs__link {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs__link:hover {
	color: var(--wine);
}

.breadcrumbs__sep {
	opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Контент (prose)
   -------------------------------------------------------------------------- */

.prose {
	max-width: 52rem;
	margin-inline: auto;
	font-size: 1.02rem;
	line-height: 1.75;
	color: var(--ink-soft);
}

.prose--narrow {
	max-width: 46rem;
}

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

.prose h2,
.prose h3,
.prose h4 {
	margin-top: 2em;
	margin-bottom: 0.6em;
	color: var(--ink);
}

.prose p {
	margin-bottom: 1.1em;
}

.prose a {
	color: var(--wine);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.prose img {
	border-radius: var(--radius-sm);
	margin-block: 1.25rem;
	box-shadow: var(--shadow-sm);
}

.prose figure {
	margin: 1.5rem 0;
}

.prose figcaption,
.prose .wp-caption-text {
	font-size: 0.8rem;
	color: var(--muted);
	text-align: center;
	margin-top: 0.5rem;
}

.prose blockquote {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--gold);
	background: var(--paper);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-family: var(--font-display);
	font-size: 1.15rem;
	color: var(--ink);
}

.prose ul,
.prose ol {
	margin: 0 0 1.2em;
	padding-left: 1.4rem;
}

.prose li {
	margin-bottom: 0.4em;
}

.prose table {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: collapse;
	font-size: 0.94rem;
}

.prose th,
.prose td {
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.prose th {
	background: var(--cream-dark);
	font-weight: 600;
	color: var(--ink);
}

.prose iframe,
.prose .yamap,
.prose .ymaps-map {
	width: 100%;
	max-width: 100%;
	border-radius: var(--radius-sm);
	border: 0;
}

.prose hr {
	margin: 2rem 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

/* Старый контент приносит inline-шрифты Times New Roman — приводим к теме. */
.prose :where(span, p, div, li, td, th, strong, b, em, i, h1, h2, h3, h4) {
	font-family: inherit !important;
}

/* --------------------------------------------------------------------------
   Запись / новость
   -------------------------------------------------------------------------- */

.single__head {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background: var(--cream-dark);
}

.single__title {
	max-width: 46rem;
	margin: 0;
	font-size: clamp(2rem, 4.2vw, 3.2rem);
}

.single__meta {
	margin: 1rem 0 0;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.single__cover {
	margin-top: calc(-1 * clamp(1.5rem, 4vw, 3rem));
}

.single__cover-img {
	width: 100%;
	max-height: 34rem;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.prose--single {
	max-width: 46rem;
}

.single__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	max-width: 46rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.single__nav-item--next {
	text-align: right;
}

.single__nav-label {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.35rem;
}

.single__nav-link {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}

.single__nav-link:hover {
	color: var(--wine);
}

/* --------------------------------------------------------------------------
   Спектакль
   -------------------------------------------------------------------------- */

.performance__head {
	padding-block: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
	background:
		radial-gradient(80% 120% at 10% 0%, rgba(200, 164, 92, 0.18) 0%, transparent 55%),
		var(--cream-dark);
}

.performance__title {
	max-width: 30ch;
	margin: 0 0 1.25rem;
	font-size: clamp(2rem, 4.4vw, 3.4rem);
}

.performance__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.performance__cover {
	margin-top: clamp(1.25rem, 2.2vw, 1.75rem);
}

.performance__cover-img {
	width: 100%;
	max-height: 38rem;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.sidebar-card {
	margin-bottom: 1.5rem;
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}

.sidebar-card--plain {
	box-shadow: none;
}

.sidebar-card__title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
}

.sidebar-card__empty {
	margin: 0;
	font-size: 0.88rem;
	color: var(--muted);
}

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

.date-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--line);
}

.date-list__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.date-list__item:first-child {
	padding-top: 0;
}

.date-list__when {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}

.date-list__date {
	font-weight: 600;
	font-size: 0.94rem;
	color: var(--ink);
}

.date-list__meta,
.date-list__venue {
	font-size: 0.78rem;
	color: var(--muted);
}

.details {
	margin: 0;
}

.details__row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--line);
}

.details__row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.details__key {
	flex: 0 0 auto;
	margin: 0;
	font-size: 0.82rem;
	color: var(--muted);
}

.details__value {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--ink);
	text-align: right;
}

.cast {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
	gap: 1.25rem;
}

.cast__item {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	text-decoration: none;
}

.cast__photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
	filter: grayscale(15%);
	transition: filter 0.3s ease, transform 0.3s ease;
}

.cast__item:hover .cast__photo {
	filter: grayscale(0%);
	transform: scale(1.03);
}

.cast__photo--empty {
	background: var(--cream-dark);
}

.cast__name {
	font-size: 0.85rem;
	color: var(--ink-soft);
	text-align: center;
}

.cast__item:hover .cast__name {
	color: var(--wine);
}

/* --------------------------------------------------------------------------
   Артист
   -------------------------------------------------------------------------- */

.person {
	padding-block: clamp(2rem, 4vw, 3.5rem);
}

.person__portrait {
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
}

.person__portrait img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.person__name {
	margin: 0 0 1.25rem;
	font-size: clamp(2rem, 4vw, 3rem);
}

.person__gallery-wrap,
.person__roles {
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
	gap: 1rem;
}

.gallery__item {
	display: block;
	overflow: hidden;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
	cursor: zoom-in;
}

.gallery__img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery__item:hover .gallery__img {
	transform: scale(1.06);
}

/* --------------------------------------------------------------------------
   Билеты
   -------------------------------------------------------------------------- */

.ticket-frame {
	margin-top: 1.5rem;
	min-height: 40rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	overflow: hidden;
}

.ticket-frame #tlFrameContainer {
	min-height: 40rem;
}

.ticket-help {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.ticket-help__item {
	padding: 1.1rem 1.25rem;
	border-radius: var(--radius-sm);
	background: var(--paper);
	border: 1px solid var(--line);
}

.ticket-help__key {
	display: block;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.3rem;
}

.ticket-help__value {
	font-size: 0.95rem;
	color: var(--ink);
	text-decoration: none;
}

a.ticket-help__value:hover {
	color: var(--wine);
}

/* --------------------------------------------------------------------------
   Лайтбокс
   -------------------------------------------------------------------------- */

.sko-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 4vw, 3rem);
	background: rgba(16, 8, 9, 0.93);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.sko-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.sko-lightbox__img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 10px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.sko-lightbox__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
}

.sko-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   Пагинация
   -------------------------------------------------------------------------- */

.sko-pagination {
	margin-top: 2.5rem;
}

.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding-inline: 0.75rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink-soft);
	font-size: 0.85rem;
	text-decoration: none;
	transition: all 0.2s ease;
}

.page-link:hover {
	border-color: var(--wine);
	color: var(--wine);
}

.page-item.active .page-link {
	background: var(--wine);
	border-color: var(--wine);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
	background: #1c1012;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	margin-bottom: 1rem;
}

.footer-brand__logo {
	width: 3.5rem;
	height: 3.5rem;
	object-fit: contain;
}

.footer-brand__name {
	display: block;
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.1;
}

.footer-brand__caption {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.footer-about {
	max-width: 26rem;
	margin: 0 0 1.5rem;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.7;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.socials__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.82rem;
	text-decoration: none;
	transition: all 0.2s ease;
}

.socials__link svg {
	width: 1rem;
	height: 1rem;
}

.socials__link:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.35);
	color: #fff;
}

.footer-title {
	margin: 0 0 1rem;
	font-family: var(--font-sans);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-soft);
}

.footer-list {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-link {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
}

.footer-link:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-list--contacts .footer-link {
	font-size: 0.88rem;
}

.footer-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.9;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-copy {
	margin: 0;
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.45);
}

.footer-link--muted {
	color: rgba(255, 255, 255, 0.45);
}

.footer-button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	cursor: pointer;
}

.footer-copy__sep {
	margin-inline: 0.35rem;
	opacity: 0.6;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.section--404 {
	min-height: 55vh;
	display: flex;
	align-items: center;
}

.error-404 {
	max-width: 40rem;
}

.error-404__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(5rem, 16vw, 11rem);
	line-height: 0.8;
	color: transparent;
	-webkit-text-stroke: 1px rgba(125, 31, 38, 0.35);
}

.error-404__title {
	margin: 0.5rem 0 1rem;
}

.error-404__lead {
	color: var(--ink-soft);
	max-width: 34rem;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Комментарии
   -------------------------------------------------------------------------- */

.comments {
	max-width: 46rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--line);
}

.comments__title {
	font-size: 1.4rem;
	margin-bottom: 1.5rem;
}

.comments__list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.comments__list .comment-body {
	padding: 1.1rem 1.25rem;
	margin-bottom: 0.9rem;
	border-radius: var(--radius-sm);
	background: var(--paper);
	border: 1px solid var(--line);
}

.comments__list .comment-meta {
	font-size: 0.78rem;
	color: var(--muted);
	margin-bottom: 0.6rem;
}

.comments__list .children {
	margin: 0.75rem 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.comment-form label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.82rem;
	font-weight: 500;
	color: var(--ink-soft);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--paper);
	font-family: inherit;
	font-size: 0.92rem;
}

.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--wine);
	outline: none;
}

.comment-form .submit {
	margin-top: 0.5rem;
	border: 0;
}

/* --------------------------------------------------------------------------
   Мелкое: reveal-анимация
   -------------------------------------------------------------------------- */

[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: none;
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 991.98px) {
	.navbar-sko {
		min-height: 4.5rem;
	}

	.navbar-toggler-sko {
		display: inline-flex;
	}

	.navbar-sko .navbar-collapse {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
		padding-block: 1rem 0.5rem;
	}

	.navbar-nav {
		flex-direction: column;
		align-items: stretch;
		gap: 0.1rem;
	}

	.navbar-nav .nav-link {
		padding: 0.75rem 0.75rem;
		border-radius: 10px;
	}

	.navbar-nav .nav-link.active::after {
		display: none;
	}

	.navbar-nav .dropdown-menu {
		position: static;
		margin: 0.25rem 0 0.5rem;
		padding: 0.35rem;
		border: 0;
		border-left: 2px solid var(--line);
		border-radius: 0;
		box-shadow: none;
		background: transparent;
	}

	.navbar-nav .dropdown-menu:not(.show) {
		display: none;
	}

	.dropdown-item {
		padding-left: 1.5rem;
	}

	.navbar-nav .nav-link.dropdown-toggle::after {
		content: "";
		display: inline-block;
		margin-left: 0.45rem;
		width: 0.42rem;
		height: 0.42rem;
		border: 0;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		transition: transform 0.2s ease;
		vertical-align: baseline;
	}

	.navbar-nav .nav-link[aria-expanded="true"]::after {
		transform: rotate(-135deg) translateY(-2px);
	}

	.header-actions {
		padding: 0.5rem 0.25rem 0.25rem;
		border-top: 1px solid var(--line);
		margin-top: 0.5rem;
		padding-top: 0.9rem;
	}

	.header-actions .btn {
		flex: 1 1 auto;
	}

	.topbar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.35rem;
		padding-block: 0.5rem;
	}

	.topbar__group {
		gap: 0.35rem 0.9rem;
		flex-wrap: wrap;
	}

	.topbar__item {
		font-size: 0.74rem;
	}

	.hero {
		min-height: 62vh;
	}

	.single__nav {
		grid-template-columns: 1fr;
	}

	.single__nav-item--next {
		text-align: left;
	}
}

@media (min-width: 992px) {
	.navbar-nav .dropdown > .dropdown-menu {
		display: none;
	}

	.navbar-nav .dropdown:hover > .dropdown-menu,
	.navbar-nav .dropdown:focus-within > .dropdown-menu {
		display: block;
	}

	.navbar-nav .nav-link.dropdown-toggle::after {
		content: "";
		display: inline-block;
		margin-left: 0.4rem;
		width: 0.38rem;
		height: 0.38rem;
		border: 0;
		border-right: 1.5px solid currentColor;
		border-bottom: 1.5px solid currentColor;
		transform: rotate(45deg) translateY(-2px);
		vertical-align: baseline;
	}
}

@media (max-width: 575.98px) {
	.grid--events {
		grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	}

	.grid--news,
	.grid--news-4 {
		grid-template-columns: 1fr;
	}

	.card-news__link {
		aspect-ratio: 4 / 3;
	}

	.search-form {
		flex-direction: column;
		align-items: stretch;
	}

	.search-form .btn {
		width: 100%;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	[data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Кнопка «наверх» и уведомление о cookie / персональных данных
   -------------------------------------------------------------------------- */

.to-top {
	position: fixed;
	right: clamp(0.9rem, 2vw, 1.5rem);
	bottom: clamp(0.9rem, 2vw, 1.5rem);
	z-index: 1150;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wine);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 14px 30px -12px rgba(76, 15, 20, 0.85);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	background: var(--wine-700);
}

.to-top:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

/* Чтобы кнопка не ныряла под плашку согласия. */
body.has-cookie-bar .to-top {
	bottom: calc(var(--cookie-bar-height, 6rem) + 1rem);
}

.cookie-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1200;
	padding-block: 1rem;
	background: var(--paper);
	border-top: 1px solid var(--line);
	box-shadow: 0 -18px 40px -28px rgba(36, 26, 24, 0.9);
}

.cookie-bar[hidden] {
	display: none;
}

.cookie-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.cookie-bar__text {
	margin: 0;
	max-width: 68ch;
	font-size: 0.84rem;
	line-height: 1.6;
	color: var(--ink-soft);
}

.cookie-bar__link {
	color: var(--wine);
	text-underline-offset: 2px;
}

.cookie-bar__actions {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

@media (max-width: 767.98px) {
	.cookie-bar {
		padding-block: 0.85rem;
	}

	.cookie-bar__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
	}

	.cookie-bar__text {
		font-size: 0.78rem;
	}

	.cookie-bar__actions .btn {
		flex: 1 1 auto;
	}
}

/* --------------------------------------------------------------------------
   Попап «Культура.РФ»
   -------------------------------------------------------------------------- */

.culture-popup {
	position: fixed;
	inset: 0;
	z-index: 2100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2.5rem);
	background: rgba(18, 10, 10, 0.62);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.culture-popup[hidden] {
	display: none;
}

.culture-popup.is-open {
	opacity: 1;
	visibility: visible;
}

.culture-popup__dialog {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.1rem;
	width: min(52rem, 100%);
	max-height: 100%;
	overflow-y: auto;
}

.culture-popup__dialog:focus {
	outline: none;
}

.culture-popup__card {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.65);
}

.culture-popup__body {
	position: relative;
	padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem) clamp(1.75rem, 4vw, 2.75rem);
	text-align: center;
}

.culture-popup__title {
	margin: 0 0 0.35rem;
	font-family: var(--font-sans);
	font-size: clamp(1.65rem, 4.4vw, 3.2rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	color: #1b3a67;
}

.culture-popup__subtitle {
	margin: 0 0 clamp(1.4rem, 3vw, 2.1rem);
	font-family: var(--font-sans);
	font-size: clamp(0.95rem, 2.1vw, 1.65rem);
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #1b3a67;
}

.culture-popup__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 2.5rem;
	border-radius: 7px;
	background: linear-gradient(180deg, #f9ac26 0%, #ef8d00 100%);
	color: #fff !important;
	font-size: clamp(0.95rem, 1.6vw, 1.2rem);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 10px 22px -12px rgba(239, 141, 0, 0.95);
	transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.culture-popup__cta:hover {
	transform: translateY(-1px);
	filter: brightness(1.05);
	box-shadow: 0 14px 26px -12px rgba(239, 141, 0, 0.95);
}

.culture-popup__footer {
	margin: 0;
	padding: 0.9rem clamp(1rem, 4vw, 2rem);
	background: #f1f1f1;
	color: #3c3c3c;
	font-size: clamp(0.68rem, 1.1vw, 0.8rem);
	line-height: 1.55;
	text-align: center;
}

.culture-popup__footer a {
	color: #1b3a67;
	text-underline-offset: 2px;
}

.culture-popup__close {
	padding: 0.6rem 1.7rem;
	border: 0;
	border-radius: 5px;
	background: #8f1d22;
	color: #fff;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.culture-popup__close:hover {
	background: #73161a;
}

.culture-popup__close:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
}

.culture-popup__decor {
	position: absolute;
	color: #dcdcdc;
	pointer-events: none;
}

.culture-popup__decor svg {
	display: block;
	width: 100%;
	height: 100%;
}

.culture-popup__decor--book {
	top: 1.75rem;
	left: 1.75rem;
	width: 5rem;
	height: 5rem;
}

.culture-popup__decor--note {
	top: 1.75rem;
	right: 2.25rem;
	width: 3.4rem;
	height: 5rem;
}

.culture-popup__decor--column {
	bottom: 4.5rem;
	left: 1.75rem;
	width: 3.4rem;
	height: 5rem;
}

.culture-popup__decor--frame {
	right: 2.75rem;
	bottom: 4.75rem;
	width: 4rem;
	height: 4rem;
}

@media (max-width: 767.98px) {
	.culture-popup__decor {
		display: none;
	}

	.culture-popup__cta {
		width: 100%;
	}

	.culture-popup__dialog {
		gap: 0.85rem;
	}
}
