/*   
Theme Name: newTheme
Version: 1.0
Author: Linara
*/

:root {
	--header-primary: #243B7A;
	--header-accent: #FF5A5F;
	--header-bg: #F5F7FA;
	--header-surface: #FFFFFF;
	--header-text: #111827;
	--header-muted: #6B7280;
	--header-border: #E5E7EB;
	--header-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
	--header-shadow-soft: 0 6px 18px rgba(17, 24, 39, 0.06);
	--header-radius-lg: 18px;
	--header-radius-md: 14px;
	--header-radius-sm: 10px;
	--site-primary: #243B7A;
	--site-accent: #FF5A5F;
	--site-bg: #F5F7FA;
	--site-surface: #FFFFFF;
	--site-text: #111827;
	--site-muted: #6B7280;
	--site-border: #E5E7EB;
	--site-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
	--site-shadow-soft: 0 4px 14px rgba(17, 24, 39, 0.06);
	--site-radius-lg: 22px;
	--site-radius-md: 18px;
	--site-radius-sm: 12px;
}

body {
	font-family: "Inter", Arial, sans-serif;
	background-size:cover;
	background: var(--site-bg);
	color: var(--site-text);
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;

	background-image:
		url('./img/ornament_fons.png'),
		url('./img/ornament_fons.png');

	background-repeat: repeat-y, repeat-y;

	background-position:
		left top,
		right top;

	background-size:
		260px auto,
		260px auto;

	opacity: 0.12;
}

/* ШАПКА */

.site-header {
	position: relative;
	z-index: 100;
}

.header-top {
	border-bottom: 1px solid var(--header-border);
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(10px);
}

.header-top__inner {
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 8px 0;
}

.header-top__left,
.header-top__right {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
}

.header-top__link,
.header-top__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--header-muted);
	text-decoration: none;
}

.header-top__link:hover {
	color: var(--header-primary);
}

.header-top__social-label {
	font-size: 13px;
	color: var(--header-muted);
}

.header-top__social {
	width: 30px;
	height: 30px;
	border: 1px solid var(--header-border);
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--header-muted);
	text-decoration: none;
	transition: all 0.2s ease;
}

.header-top__social:hover {
	color: var(--header-primary);
	border-color: rgba(36, 59, 122, 0.25);
	background: rgba(36, 59, 122, 0.04);
}

/* ПОИСК */

.header-search {
	position: relative;
	display: flex;
	align-items: center;
	width: 220px;
	max-width: 100%;
}

.header-search__input {
	width: 100%;
	height: 38px;
	padding: 0 40px 0 14px;
	border-radius: 999px;
	border: 1px solid var(--header-border);
	background: #fff;
	font-size: 13px;
	color: var(--header-text);
	transition: all 0.2s ease;
}

.header-search__input::placeholder {
	color: var(--header-muted);
}

.header-search__input:focus {
	outline: none;
	border-color: rgba(36, 59, 122, 0.4);
	box-shadow: 0 0 0 3px rgba(36, 59, 122, 0.06);
}

/* кнопка внутри */
.header-search__btn {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 0;
	background: var(--header-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 13px;
}

.header-search__btn:hover {
	filter: brightness(0.95);
}

.header-main-wrap {
	position: sticky;
	top: 0;
	z-index: 101;
	padding: 16px 0 0;
}

.header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	background: var(--header-surface);
	border: 1px solid var(--header-border);
	border-radius: var(--header-radius-lg);
	box-shadow: var(--header-shadow);
	padding: 16px 20px;
}

.header-brand {
	flex: 0 0 auto;
	min-width: 0;
}

.header-brand__link {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
}

.header-brand__logo {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	flex: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.header-brand__logo--text {
	background: rgba(36, 59, 122, 0.08);
	border: 1px solid rgba(36, 59, 122, 0.14);
	color: var(--header-primary);
	font-size: 15px;
	font-weight: 800;
}

.header-brand__logo--image img,
.header-brand__logo--image .custom-logo-link,
.header-brand__logo--image .custom-logo {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
}

.header-brand__text {
	min-width: 0;
}

.header-brand__title {
	font-size: 15px;
	line-height: 1.25;
	font-weight: 800;
	color: var(--header-text);
	margin-bottom: 2px;
}

.header-brand__subtitle {
	font-size: 12px;
	line-height: 1.3;
	color: var(--header-muted);
}

.header-panel {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	min-width: 0;
}

.header-segmented {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px;
	border: 1px solid var(--header-border);
	border-radius: 999px;
	background: var(--header-bg);
}

.header-segmented__item {
	border: 0;
	background: transparent;
	color: var(--header-muted);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	padding: 9px 14px;
	border-radius: 999px;
	transition: all 0.2s ease;
}

.header-segmented__item.is-active {
	background: var(--header-primary);
	color: #fff;
}

.header-actions {
	flex: 0 0 auto;
}

.header-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
	border: 1px solid transparent;
}

.header-btn--accent {
	background: var(--header-accent);
	color: #fff;
}

.header-btn--accent:hover {
	color: #fff;
	filter: brightness(0.96);
}

/* ВЕРХНЕЕ МЕНЮ */

.header-nav-wrap {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.header_nav {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 30px;
}

.header_nav > li {
	position: relative;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.header_nav > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--header-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.header_nav > li > a:hover,
.header_nav > li.current-menu-item > a,
.header_nav > li.current-menu-ancestor > a,
.header_nav > li.current_page_item > a,
.header_nav > li.current_page_ancestor > a {
	color: var(--header-primary);
}

.header_nav > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 8px;
	width: 100%;
	height: 2px;
	background: var(--header-primary);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.2s ease;
}

.header_nav > li > a:hover::after,
.header_nav > li.current-menu-item > a::after,
.header_nav > li.current-menu-ancestor > a::after,
.header_nav > li.current_page_item > a::after,
.header_nav > li.current_page_ancestor > a::after {
	transform: scaleX(1);
}

.header_nav .menu-item-highlight > a,
.header_nav a.bold {
	font-weight: 800;
	color: var(--header-primary);
}

/* ПОДМЕНЮ */

.header_nav .menu-item-has-children {
	position: relative;
	padding-right: 18px;
}

.submenu-toggle {
	position: absolute;
	right: -2px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	border: 0;
	background: transparent;
	padding: 0;
	color: var(--header-muted);
	font-size: 13px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, color 0.2s ease;
}

.menu-item-has-children:hover > .submenu-toggle,
.menu-item-has-children.submenu-open > .submenu-toggle {
	color: var(--header-primary);
}

.menu-item-has-children.submenu-open > .submenu-toggle i {
	transform: rotate(180deg);
}

.header_nav .sub-menu {
	list-style: none;
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: calc(100% + 14px);
	left: 0;
	min-width: 240px;
	background: #fff;
	border: 1px solid var(--header-border);
	border-radius: 14px;
	box-shadow: var(--header-shadow-soft);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all 0.2s ease;
	z-index: 20;
}

.header_nav .sub-menu li {
	position: relative;
}

.header_nav .sub-menu a {
	display: block;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--header-text);
	text-decoration: none;
	transition: all 0.2s ease;
}

.header_nav .sub-menu a:hover,
.header_nav .sub-menu .current-menu-item > a,
.header_nav .sub-menu .current_page_item > a {
	color: var(--header-primary);
}

.header_nav > li:hover > .sub-menu,
.header_nav > li.submenu-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* второй уровень внутри dropdown, в том числе внутри "Ещё" */
.header_nav .sub-menu > li.submenu-open > .sub-menu,
.header_nav .sub-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* =========================
   BURGER
========================= */
.mnav {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--header-border);
	border-radius: 12px;
	background: #fff;
	padding: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	box-shadow: none;
	transition: all 0.2s ease;
}

.mnav span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--header-text);
	transition: all 0.2s ease;
}

.mnav:hover {
	border-color: rgba(36, 59, 122, 0.24);
	background: rgba(36, 59, 122, 0.03);
}

.mnav.is-active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.mnav.is-active span:nth-child(2) {
	opacity: 0;
}

.mnav.is-active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.menu-item-more {
	padding-right: 0 !important;
}

.menu-more-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--header-text);
	cursor: pointer;
	transition: color 0.2s ease;
}

.menu-more-toggle:hover,
.menu-item-more.submenu-open .menu-more-toggle {
	color: var(--header-primary);
}

.menu-more-toggle__icon {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	width: 16px;
	height: 16px;
}

.menu-more-toggle__icon span {
	display: block;
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.menu-more-toggle__text {
	display: inline-block;
}

.menu-item-more > .sub-menu > li {
	position: relative;
	padding-right: 18px;
}

.menu-item-more > .sub-menu > li > a {
	display: block;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--header-text);
	text-decoration: none;
}

.menu-item-more > .sub-menu > li > a:hover {
	color: var(--header-primary);
}

.menu-item-more > .sub-menu > li.menu-item-has-children {
	padding-right: 0;
}

.menu-item-more > .sub-menu > li.menu-item-has-children > .submenu-toggle {
	right: 10px;
}

.menu-item-more > .sub-menu > li.menu-item-has-children > .submenu-toggle {
	right: 10px;
}

.menu-item-more > .sub-menu > li > .sub-menu {
	top: calc(100% + 6px);
	left: 0;
	min-width: 220px;
}

.site-main {
	position: relative;
	z-index: 1;
}

.afisha-carousel {
	overflow: hidden;
}

.afisha-carousel .owl-stage-outer {
	overflow: visible;
	padding: 10px 0;
}

.afisha-carousel .owl-stage {
	display: flex;
}

.afisha-carousel .owl-item {
	display: flex;
	height: auto;
	padding: 0 6px;
}

.afisha-carousel .item {
	width: 100%;
	height: 100%;
	display: flex;
}

.afisha-carousel .event-card {
	width: 100%;
	height: 100%;
}

.afisha-carousel .owl-nav {
	margin-top: 18px;
	display: flex;
	justify-content: flex-end;
	gap: 10px;
}

.afisha-carousel .owl-nav button.owl-prev,
.afisha-carousel .owl-nav button.owl-next {
	width: 42px;
	height: 42px;
	border-radius: 999px !important;
	border: 1px solid var(--site-border) !important;
	background: #fff !important;
	color: var(--site-text) !important;
	font-size: 22px !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	/* box-shadow: var(--site-shadow-soft); */
}

.afisha-carousel .owl-nav button.owl-prev:hover,
.afisha-carousel .owl-nav button.owl-next:hover {
	background: rgba(36, 59, 122, 0.06) !important;
	color: var(--site-primary) !important;
	border-color: rgba(36, 59, 122, 0.22) !important;
}

.afisha-carousel .owl-nav button.owl-prev.disabled,
.afisha-carousel .owl-nav button.owl-next.disabled {
	opacity: 0.45;
	cursor: default;
}

.afisha-carousel .owl-nav button span {
	display: block;
	transform: translateY(-1px);
}

.home-section {
	position: relative;
}

.section-title {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0;
}

.section-subtitle {
	/* max-width: 720px; */
	font-size: 0.95rem;
	color: var(--site-muted);
	line-height: 1.6;
}

.section-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--site-primary);
	text-decoration: none;
}

.section-link:hover {
	color: var(--site-primary);
	text-decoration: none;
}

/* HERO */
.hero-box {
	padding: 2.5rem;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-lg);
	background:
		radial-gradient(900px 400px at 15% 10%, rgba(36, 59, 122, 0.10), transparent 55%),
		radial-gradient(700px 350px at 85% 20%, rgba(255, 90, 95, 0.12), transparent 55%),
		linear-gradient(180deg, #fff, #fff);
	box-shadow: 0 15px 35px rgba(17, 24, 39, 0.12);
}

.hero-title {
	font-size: 2.5rem;
	font-weight: 900;
	line-height: 1.1;
	margin-bottom: 0.75rem;
}

.hero-text {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--site-muted);
	margin-bottom: 1.5rem;
}

.hero-chips,
.detail-box__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 1.5rem;
}

.hero-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.5rem 0.95rem;
	border: 1px solid var(--site-border);
	border-radius: 999px;
	background: #fff;
	font-size: 0.85rem;
	line-height: 1.2;
	color: var(--site-text);
	text-decoration: none;
	white-space: normal;
}

.hero-chip:hover {
	color: var(--site-primary);
	text-decoration: none;
}

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

.hero-side-card {
	height: 100%;
	padding: 1.5rem;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	background: #fff;
	box-shadow: var(--site-shadow-soft);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	justify-content: center;
}

.hero-side-card__label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--site-muted);
	letter-spacing: 0.06em;
}

.hero-side-card__price {
	font-size: 1.75rem;
	font-weight: 900;
	line-height: 1.1;
}

.hero-side-card__text {
	font-size: 0.9rem;
	color: var(--site-muted);
	line-height: 1.5;
}

.hero-box--featured-bg {
	position: relative;
	overflow: hidden;
	background-color: #fff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-box--featured-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(260px 260px at 88% 18%, rgba(255, 90, 95, 0.14), transparent 70%),
		radial-gradient(220px 220px at 78% 72%, rgba(36, 59, 122, 0.10), transparent 72%);
	pointer-events: none;
}

.hero-box--featured-bg > .row {
	position: relative;
	z-index: 1;
}

.hero-kicker {
	margin-bottom: 0.6rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--site-primary);
}

.hero-title__link {
	color: inherit;
	text-decoration: none;
}

.hero-title__link:hover {
	color: var(--site-primary);
}

.hero-chip--accent {
	background: rgba(36, 59, 122, 0.08);
	border-color: rgba(36, 59, 122, 0.2);
	color: var(--site-primary);
}

.hero-box--featured-bg .hero-side-card {
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: var(--site-shadow);
}

/* КАЛЕНДАРЬ */
.calendar-box {
	padding: 1.5rem;
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	box-shadow: var(--site-shadow-soft);
}

.calendar-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.calendar-month {
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--site-primary);
}

.calendar-nav {
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 999px;
	background: #F3F4F6;
	color: var(--site-muted);
	font-size: 1.1rem;
	line-height: 1;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.calendar-nav:hover {
	background: #E5E7EB;
}

.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 4px;
}

.calendar-weekday {
	padding-bottom: 0.35rem;
	font-size: 0.72rem;
	text-align: center;
	text-transform: uppercase;
	color: var(--site-muted);
}

.calendar-day {
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--site-text);
	font-size: 0.85rem;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.calendar-day:hover {
	background: rgba(36, 59, 122, 0.06);
}

.calendar-day--empty {
	pointer-events: none;
	background: transparent;
}

.calendar-day--has-events {
	background: rgba(36, 59, 122, 0.10);
	color: var(--site-primary);
	font-weight: 700;
}

.calendar-day.is-active {
	background: var(--site-primary);
	color: #fff;
}

.calendar-legend {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: var(--site-muted);
}

.calendar-legend__dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgba(36, 59, 122, 0.10);
	border: 1px solid rgba(36, 59, 122, 0.35);
}

/* EVENT CARDS */
.event-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(229, 231, 235, 0.9);
	border-radius: var(--site-radius-md);
	background: #fff;
	box-shadow: var(--site-shadow-soft);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.event-card__poster {
	height: 190px;
	background:
		radial-gradient(120px 120px at 25% 35%, rgba(36, 59, 122, 0.16), transparent 60%),
		radial-gradient(130px 130px at 75% 35%, rgba(255, 90, 95, 0.16), transparent 62%),
		linear-gradient(135deg, #EEF2FF, #FFF1F2);
}

.event-card__body {
	padding: 1rem 1rem 0.75rem;
}

.event-card__date {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--site-primary);
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}

.event-card__title {
	font-size: 1.1rem;
	line-height: 1.35;
	font-weight: 800;
	margin-bottom: 0.35rem;
}

.event-card__venue {
	font-size: 0.9rem;
	color: var(--site-muted);
	margin-bottom: 0.75rem;
}

.event-card__excerpt {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--site-muted);
	margin-bottom: 0;
}

.event-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.event-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border: 1px solid var(--site-border);
	border-radius: 999px;
	background: var(--site-bg);
	font-size: 0.72rem;
	line-height: 1.2;
	color: var(--site-text);
}

.event-badge--collective {
	background: rgba(36, 59, 122, 0.07);
	border-color: rgba(36, 59, 122, 0.20);
	color: var(--site-primary);
}

.event-badge--accent {
	background: rgba(255, 90, 95, 0.10);
	border-color: rgba(255, 90, 95, 0.25);
	color: #B42318;
}

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

.event-card__price {
	font-size: 1rem;
	font-weight: 800;
}

.event-card__poster-wrap {
	position: relative;
}

.event-card__flags {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	max-width: calc(100% - 24px);
}

.event-flag {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	box-shadow: 0 6px 18px rgba(17, 24, 39, 0.18);
	white-space: nowrap;
}

.event-flag--pushkin {
	background: #243B7A;
}

.event-flag--cancelled {
	background: #DC2626;
}

.archive-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.event-card__dates-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 0.9rem;
}

.event-card__date-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.event-card__date-row .event-card__date {
	margin-bottom: 0;
}

.single-event-poster-wrap {
	position: relative;
}

.detail-box__image--real {
	overflow: hidden;
	background: #E5E7EB;
}

.detail-box__image--real img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.date-row__status--success {
	background: rgba(16, 185, 129, 0.08);
	color: #047857;
}

.date-row__status--danger {
	background: rgba(255, 90, 95, 0.10)!important;
	color: #B42318!important;
}

.date-row__status--muted {
	background: rgba(107, 114, 128, 0.12)!important;
	color: #374151!important;
}

.dates-list--past {
	opacity: 0.92;
}

.ticket-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.ticket-modal.is-open {
	display: block;
}

.ticket-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.58);
	backdrop-filter: blur(3px);
}

.ticket-modal__dialog {
	position: relative;
	z-index: 2;
	width: min(1100px, calc(100vw - 32px));
	height: calc(100vh - 32px);
	margin: 16px auto;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 20px 60px rgba(17, 24, 39, 0.24);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.ticket-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: #111827;
	font-size: 28px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
}

.ticket-modal__body {
	flex: 1 1 auto;
	height: 100%;
	padding: 56px 0 0;
	overflow: hidden;
}

.ticket-modal__frame-wrap {
	width: 100%;
	height: 100%;
}

.ticket-modal__iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 700px;
	border: 0;
	background: #fff;
}

body.modal-open {
	overflow: hidden;
}

/* DETAIL */
.detail-box {
	padding: 1.5rem;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	background: #fff;
	box-shadow: var(--site-shadow-soft);
}

.detail-box__image {
	height: 320px;
	border-radius: 14px;
	background: linear-gradient(135deg, #E5E7EB, #F3F4F6);
}

.detail-box__title {
	font-size: 1.75rem;
	line-height: 1.15;
	font-weight: 900;
	margin-bottom: 0.35rem;
}

.detail-box__meta {
	font-size: 0.95rem;
	color: var(--site-muted);
	margin-bottom: 1rem;
}

.detail-box__text {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--site-text);
	margin-bottom: 1rem;
}

.detail-box__subhead {
	font-size: 1rem;
	font-weight: 800;
	margin: 1rem 0 0.75rem;
}

.dates-list {
	border: 1px solid var(--site-border);
	border-radius: 14px;
	overflow: hidden;
}

.date-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--site-border);
	flex-wrap: wrap;
}

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

.date-row__when {
	font-size: 0.9rem;
	font-weight: 700;
}

.date-row__place {
	font-size: 0.88rem;
	color: var(--site-muted);
}

.date-row__status {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.08);
	color: #047857;
	font-size: 0.72rem;
	font-weight: 700;
}

/* СТРАНИЦЫ */

.page-box {
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: 22px;
	box-shadow: var(--site-shadow);
	padding: 2rem;
}

.page-title {
	font-size: 2.35rem;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.02em;
	margin: 0;
}

.page-subtitle {
	margin-top: 0.85rem;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--site-muted);
	max-width: 760px;
}

.page-cover {
	border-radius: 18px;
	overflow: hidden;
}

.page-cover img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Основной контент */
.content-entry,
.detail-box__text {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--site-text);
}

.content-entry > *:last-child,
.detail-box__text > *:last-child {
	margin-bottom: 0;
}

.content-entry h2,
.content-entry h3,
.content-entry h4,
.detail-box__text h2,
.detail-box__text h3,
.detail-box__text h4 {
	font-weight: 800;
	line-height: 1.25;
	margin-top: 2rem;
	margin-bottom: 0.9rem;
	color: var(--site-text);
}

.content-entry h2,
.detail-box__text h2 {
	font-size: 1.7rem;
}

.content-entry h3,
.detail-box__text h3 {
	font-size: 1.35rem;
}

.content-entry h4,
.detail-box__text h4 {
	font-size: 1.12rem;
}

.content-entry p,
.content-entry ul,
.content-entry ol,
.content-entry blockquote,
.content-entry table,
.detail-box__text p,
.detail-box__text ul,
.detail-box__text ol,
.detail-box__text blockquote,
.detail-box__text table {
	margin-bottom: 1.2rem;
}

.content-entry ul,
.content-entry ol,
.detail-box__text ul,
.detail-box__text ol {
	padding-left: 1.3rem;
}

.content-entry a,
.detail-box__text a {
	color: var(--site-primary);
	text-decoration: none;
}

.content-entry a:hover,
.detail-box__text a:hover {
	text-decoration: underline;
}

.content-entry blockquote,
.detail-box__text blockquote {
	padding: 1rem 1.2rem;
	margin: 1.4rem 0;
	border-left: 4px solid var(--site-primary);
	background: rgba(36, 59, 122, 0.04);
	border-radius: 0 14px 14px 0;
	color: var(--site-muted);
}

.content-entry table,
.detail-box__text table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.content-entry table th,
.content-entry table td,
.detail-box__text table th,
.detail-box__text table td {
	padding: 0.75rem 0.85rem;
	border: 1px solid var(--site-border);
	vertical-align: top;
}

.content-entry table th,
.detail-box__text table th {
	background: #F8FAFC;
	font-weight: 700;
}

.content-entry img,
.detail-box__text img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.content-entry .wp-caption,
.detail-box__text .wp-caption {
	max-width: 100%;
	margin-bottom: 1.2rem;
}

.content-entry .wp-caption img,
.detail-box__text .wp-caption img {
	display: block;
	width: 100%;
}

.content-entry .wp-caption-text,
.detail-box__text .wp-caption-text {
	margin-top: 0.5rem;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--site-muted);
	text-align: center;
}

.content-entry .alignnone,
.detail-box__text .alignnone {
	margin: 0 0 1.2rem 0;
	display: block;
}

.content-entry .aligncenter,
.detail-box__text .aligncenter {
	display: block;
	margin: 0 auto 1.2rem;
}

.content-entry .alignleft,
.detail-box__text .alignleft {
	float: left;
	margin: 0.2rem 1.4rem 1rem 0;
	max-width: min(45%, 360px);
}

.content-entry .alignright,
.detail-box__text .alignright {
	float: right;
	margin: 0.2rem 0 1rem 1.4rem;
	max-width: min(45%, 360px);
}

.content-entry::after,
.detail-box__text::after {
	content: "";
	display: block;
	clear: both;
}

/* Галерея */
.gallery {
	margin-bottom: 1.5rem;
}

.gallery-item {
	margin-bottom: 1.5rem;
}

.gallery-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

.gallery-thumb {
	border-radius: 16px;
	overflow: hidden;
	background: linear-gradient(135deg, #E5E7EB, #F3F4F6);
	box-shadow: var(--site-shadow-soft);
}

.gallery-thumb img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform 0.2s ease;
}

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

.gallery-title {
	margin: 0.65rem 0 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--site-muted);
	text-align: center;
	display: none;
}

/* NEWS */
.news-card,
article.post-item,
article.loop-new,
.loop-new {
	height: 100%;
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	box-shadow: var(--site-shadow-soft);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover,
article.post-item:hover,
article.loop-new:hover,
.loop-new:hover {
	transform: translateY(-4px);
	box-shadow: var(--site-shadow);
}

.empty-box {
	padding: 1.25rem 1.5rem;
	border: 1px solid var(--site-border);
	border-radius: 14px;
	background: #fff;
	color: var(--site-muted);
}

/* ДОКУМЕНТЫ */

.doc-card {
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: 18px;
	box-shadow: var(--site-shadow-soft);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.doc-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--site-shadow);
}

.doc-card__inner {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 1.25rem 1.35rem;
}

.doc-card__icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: rgba(36, 59, 122, 0.08);
	border: 1px solid rgba(36, 59, 122, 0.14);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 54px;
	color: var(--site-primary);
	font-size: 1.25rem;
}

.doc-card__content {
	flex: 1 1 auto;
	min-width: 0;
}

.doc-card__meta {
	font-size: 0.8rem;
	color: var(--site-muted);
	margin-bottom: 0.35rem;
}

.doc-card__title {
	font-size: 1.05rem;
	line-height: 1.35;
	font-weight: 800;
	margin: 0 0 0.45rem;
}

.doc-card__title a {
	color: var(--site-text);
	text-decoration: none;
}

.doc-card__title a:hover {
	color: var(--site-primary);
}

.doc-card__excerpt {
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--site-muted);
}

.doc-card__action {
	flex: 0 0 auto;
}

/* Рубрика Галерея */

.gallery-card {
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: 18px;
	box-shadow: var(--site-shadow-soft);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	cursor: pointer;
}

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

.gallery-card__thumb {
	height: 250px;
	background: linear-gradient(135deg, #E5E7EB, #F3F4F6);
	overflow: hidden;
}

.gallery-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-card__placeholder {
	width: 100%;
	height: 100%;
	background:
		radial-gradient(110px 110px at 25% 35%, rgba(36, 59, 122, 0.12), transparent 60%),
		radial-gradient(120px 120px at 75% 35%, rgba(255, 90, 95, 0.12), transparent 62%),
		linear-gradient(135deg, #EEF2FF, #FFF1F2);
}

.gallery-card__body {
	padding: 1rem;
}

.gallery-card__date {
	font-size: 0.78rem;
	color: var(--site-muted);
	margin-bottom: 0.45rem;
}

.gallery-card__title {
	font-size: 0.98rem;
	line-height: 1.4;
	font-weight: 800;
	margin: 0;
}

.gallery-card__title a {
	color: var(--site-text);
	text-decoration: none;
}

.gallery-card__title a:hover {
	color: var(--site-primary);
}

/* персоналии */
.person-card {
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	box-shadow: var(--site-shadow-soft);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	cursor: pointer;
	height: 100%;
}

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

.person-card__image {
	height: 390px;
	background: linear-gradient(135deg, #E5E7EB, #F3F4F6);
	overflow: hidden;
}

.person-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.person-card__body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.person-card__name {
	font-size: 1rem;
	font-weight: 800;
	margin: 0;
}

.person-card__role {
	font-size: 0.88rem;
	color: var(--site-muted);
}

.person-card__badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 15px;
	background: rgba(36, 59, 122, 0.07);
	color: var(--site-primary);
	font-size: 0.72rem;
	font-weight: 700;
	margin-top: 0.25rem;
}

.person-section-group .subhead {
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--site-text);
}

.single-person-box .detail-box__image {
	height: 370px;
}

.single-person-box .detail-box__image--real {
	overflow: hidden;
	background: #E5E7EB;
}

.single-person-box .detail-box__image--real img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.personalii-repertuar-list {
	margin: 0;
	padding-left: 1.1rem;
	font-size: 0.95rem;
	line-height: 1.7;
}

.personalii-repertuar-list li + li {
	margin-top: 0.35rem;
}

.personalii-repertuar-list a {
	color: var(--site-primary);
	text-decoration: none;
}

.personalii-repertuar-list a:hover {
	text-decoration: underline;
}

/* CONTACTS */
.contact-box {
	padding: 1.5rem;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	background: #fff;
	box-shadow: var(--site-shadow-soft);
}

.contact-line {
	font-size: 0.95rem;
	line-height: 1.7;
	margin-bottom: 0.4rem;
}

.contact-map iframe{
	min-height: 260px;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	/* background: linear-gradient(135deg, #DBEAFE, #F3E8FF); */
}

@media (max-width: 1199.98px) {
	.hero-title {
		font-size: 2.15rem;
	}

	.header-main {
		gap: 16px;
	}

	.header-brand__title {
		font-size: 14px;
	}

	.header_nav {
		gap: 20px;
	}
}

.news-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: var(--site-radius-md);
	box-shadow: var(--site-shadow-soft);
	overflow: hidden;
}

.news-card__thumb-link {
	display: block;
	text-decoration: none;
}

.news-card__thumb {
	position: relative;
	width: 100%;
	height: 190px;
	overflow: hidden;
	background: #CBD5F5;
}

.news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* fallback */
.news-card__thumb--placeholder {
	background: linear-gradient(135deg, #DBEAFE, #E9D5FF);
}

.news-card__body {
	padding: 1rem;
}

.news-card__date {
	font-size: 0.75rem;
	color: var(--site-muted);
	margin-bottom: 0.35rem;
}

.news-card__rubric {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(36, 59, 122, 0.07);
	color: var(--site-primary);
	font-size: 0.72rem;
	font-weight: 700;
	margin-bottom: 0.6rem;
}

.news-card__title {
	font-size: 1rem;
	line-height: 1.3;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.news-card__title a {
	color: var(--site-text);
	text-decoration: none;
}

.news-card__title a:hover {
	color: var(--site-primary);
}

.news-card__excerpt {
	font-size: 0.88rem;
	line-height: 1.6;
	color: var(--site-muted);
}

/* ФИЛАРМОНИЯ */
.event-badge--success {
	background: rgba(16, 185, 129, 0.08);
	border-color: rgba(16, 185, 129, 0.22);
	color: #047857;
}

.event-badge--cancelled {
	background: rgba(107, 114, 128, 0.12);
	border-color: rgba(107, 114, 128, 0.22);
	color: #374151;
}

.event-card__poster--image {
	overflow: hidden;
	background: #E5E7EB;
}

.event-card__poster--image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* футер */

.site-footer {
	position: relative;
	margin-top: 3rem;
	padding: 0 0 2rem;
}

.footer-main {
	background: #fff;
	border: 1px solid var(--site-border);
	border-radius: 22px;
	box-shadow: var(--site-shadow);
	padding: 2rem;
}

.footer-brand__link {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	margin-bottom: 1rem;
}

.footer-brand__logo {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(36, 59, 122, 0.08);
	border: 1px solid rgba(36, 59, 122, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	overflow: hidden;
	color: var(--site-primary);
	font-size: 16px;
	font-weight: 800;
}

.footer-brand__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	display: block;
}

.footer-brand__title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--site-text);
}

.footer-brand__subtitle {
	font-size: 0.8rem;
	color: var(--site-muted);
	margin-top: 2px;
}

.footer-brand__desc {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.7;
	color: var(--site-muted);
	max-width: 360px;
}

.footer-title {
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1rem;
	color: var(--site-text);
}

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

.footer-menu li {
	margin: 0;
	padding: 0;
}

.footer-menu a {
	font-size: 0.92rem;
	line-height: 1.4;
	color: var(--site-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-menu .current-menu-item > a,
.footer-menu .current_page_item > a {
	color: var(--site-primary);
}

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

.footer-contacts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--site-muted);
}

.footer-contacts i {
	width: 16px;
	margin-top: 3px;
	flex: 0 0 16px;
	color: var(--site-primary);
}

.footer-contacts a {
	color: var(--site-muted);
	text-decoration: none;
}

.footer-contacts a:hover {
	color: var(--site-primary);
}

.footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 1rem;
}

.footer-social {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--site-border);
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--site-muted);
	text-decoration: none;
	transition: all 0.2s ease;
}

.footer-social:hover {
	color: var(--site-primary);
	border-color: rgba(36, 59, 122, 0.2);
	background: rgba(36, 59, 122, 0.04);
}

.footer-cta .btn {
	min-width: 170px;
	margin-bottom: 1rem;
}

.footer-bottom {
	padding-top: 1rem;
}

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 0.25rem 0.25rem 0;
}

.footer-copy,
.footer-policy a {
	font-size: 0.85rem;
	color: var(--site-muted);
	text-decoration: none;
}

.footer-policy a:hover {
	color: var(--site-primary);
}

.btn {
	--bs-btn-font-weight: 700;
	--bs-btn-border-radius: 12px;
	--bs-btn-padding-y: 0.625rem;
	--bs-btn-padding-x: 1.1rem;
	--bs-btn-font-size: 0.95rem;
	--bs-btn-box-shadow: none;
	transition: all 0.2s ease;
}

.btn-lg {
	--bs-btn-padding-y: 0.8rem;
	--bs-btn-padding-x: 1.35rem;
	--bs-btn-font-size: 1rem;
	--bs-btn-border-radius: 14px;
}

.btn-sm {
	--bs-btn-padding-y: 0.45rem;
	--bs-btn-padding-x: 0.85rem;
	--bs-btn-font-size: 0.82rem;
	--bs-btn-border-radius: 10px;
}

.btn-primary {
	--bs-btn-color: #fff;
	--bs-btn-bg: #243B7A;
	--bs-btn-border-color: #243B7A;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #1d3165;
	--bs-btn-hover-border-color: #1d3165;
	--bs-btn-focus-shadow-rgb: 36, 59, 122;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #192a57;
	--bs-btn-active-border-color: #192a57;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #243B7A;
	--bs-btn-disabled-border-color: #243B7A;
}

.btn-danger {
	--bs-btn-color: #fff;
	--bs-btn-bg: #FF5A5F;
	--bs-btn-border-color: #FF5A5F;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #f04d52;
	--bs-btn-hover-border-color: #f04d52;
	--bs-btn-focus-shadow-rgb: 255, 90, 95;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #df4348;
	--bs-btn-active-border-color: #df4348;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: #FF5A5F;
	--bs-btn-disabled-border-color: #FF5A5F;
}

.btn-outline-primary {
	--bs-btn-color: #243B7A;
	--bs-btn-border-color: #243B7A;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #243B7A;
	--bs-btn-hover-border-color: #243B7A;
	--bs-btn-focus-shadow-rgb: 36, 59, 122;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #243B7A;
	--bs-btn-active-border-color: #243B7A;
	--bs-btn-disabled-color: #243B7A;
	--bs-btn-disabled-bg: transparent;
	--bs-btn-disabled-border-color: #243B7A;
}

.btn-light {
	--bs-btn-color: #111827;
	--bs-btn-bg: #ffffff;
	--bs-btn-border-color: #E5E7EB;
	--bs-btn-hover-color: #243B7A;
	--bs-btn-hover-bg: #f8fafc;
	--bs-btn-hover-border-color: #d9dee7;
	--bs-btn-focus-shadow-rgb: 229, 231, 235;
	--bs-btn-active-color: #111827;
	--bs-btn-active-bg: #f3f4f6;
	--bs-btn-active-border-color: #d9dee7;
}

.btn:focus,
.btn:focus-visible {
	box-shadow: 0 0 0 0.2rem rgba(36, 59, 122, 0.12);
}

/* =========================
   АРХИВ АФИШ
========================= */

.site-main--archive {
	position: relative;
}

.archive-hero__box {
	padding: 2.25rem;
	border: 1px solid var(--site-border);
	border-radius: 22px;
	background:
		radial-gradient(900px 400px at 15% 10%, rgba(36, 59, 122, 0.08), transparent 55%),
		radial-gradient(700px 350px at 85% 20%, rgba(255, 90, 95, 0.10), transparent 55%),
		linear-gradient(180deg, #fff, #fff);
	box-shadow: var(--site-shadow);
}

.archive-breadcrumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 1rem;
	font-size: 0.85rem;
	color: var(--site-muted);
}

.archive-breadcrumbs a {
	color: var(--site-muted);
	text-decoration: none;
}

.archive-breadcrumbs a:hover {
	color: var(--site-primary);
}

.archive-title {
	font-size: 2.4rem;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: -0.02em;
	margin: 0;
}

.archive-description {
	max-width: 720px;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--site-muted);
}

.archive-description p:last-child {
	margin-bottom: 0;
}

.archive-description.content-entry,
.section-subtitle.content-entry {
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--site-muted);
	max-width: 760px;
}

.archive-description.content-entry p:last-child,
.section-subtitle.content-entry p:last-child {
	margin-bottom: 0;
}

.archive-subcats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.archive-subcats__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--site-border);
	background: #fff;
	color: var(--site-text);
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: all 0.2s ease;
}

.archive-subcats__item:hover {
	color: var(--site-primary);
	border-color: rgba(36, 59, 122, 0.22);
	background: rgba(36, 59, 122, 0.04);
}

.archive-subcats__item.is-active {
	background: var(--site-primary);
	border-color: var(--site-primary);
	color: #fff;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
}

.page-links__title {
	font-weight: 700;
	color: var(--site-text);
}

.page-links__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	padding: 0 10px;
	border: 1px solid var(--site-border);
	border-radius: 10px;
	background: #fff;
}

.content-entry--compact h2,
.content-entry--compact h3,
.content-entry--compact h4 {
	margin-top: 1.25rem;
}

.content-entry--compact .alignleft,
.content-entry--compact .alignright {
	max-width: min(40%, 300px);
}

.archive-hero__meta {
	padding: 1.5rem;
	height: 100%;
	border: 1px solid var(--site-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--site-shadow-soft);
}

.archive-hero__meta-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--site-muted);
	margin-bottom: 0.5rem;
}

.archive-hero__meta-value {
	font-size: 2rem;
	line-height: 1;
	font-weight: 900;
	color: var(--site-primary);
	margin-bottom: 0.75rem;
}

.archive-hero__meta-text {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--site-muted);
}

/* пагинация */

.archive-pagination .pagination {
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 0;
}

.archive-pagination nav {
	display: inline-block;
}

.archive-pagination .page-item .page-link {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border: 1px solid var(--site-border);
	background: #fff;
	color: var(--site-text);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: none;
	transition: all 0.2s ease;
}

.page-link {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--site-border);
    background: #fff;
    color: var(--site-text);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: none;
    transition: all 0.2s ease;
}

.archive-pagination .page-item .page-link:hover {
	background: rgba(36, 59, 122, 0.05);
	border-color: rgba(36, 59, 122, 0.22);
	color: var(--site-primary);
}

.archive-pagination .page-item.active .page-link {
	background: var(--site-primary);
	border-color: var(--site-primary);
	color: #fff;
}

.archive-pagination .page-item.disabled .page-link {
	background: #F9FAFB;
	border-color: var(--site-border);
	color: #9CA3AF;
	opacity: 1;
}

.archive-pagination .page-item.prev .page-link,
.archive-pagination .page-item.next .page-link {
	min-width: 44px;
	padding: 0 16px;
}

.archive-pagination .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 991.98px) {
	.archive-title {
		font-size: 2rem;
	}

	.header-top__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.header-main-wrap {
		padding-top: 10px;
	}

	.header-main {
		flex-wrap: wrap;
		align-items: center;
		padding: 14px 16px;
	}

	.header-panel {
		width: 100%;
		justify-content: space-between;
	}

	.header-nav-wrap {
		flex: 1 1 auto;
		justify-content: flex-end;
	}

	.mnav {
		display: inline-flex;
	}

	.header_nav {
		position: absolute;
		top: calc(100% + 12px);
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		border: 1px solid var(--header-border);
		border-radius: 16px;
		box-shadow: var(--header-shadow);
		padding: 10px 0;
	}

	.header-nav-wrap.is-open .header_nav {
		display: flex;
	}

	.header_nav > li {
		width: 100%;
		display: block;
		padding: 0;
	}

	.header_nav > li > a {
		display: block;
		min-height: 0;
		padding: 12px 18px;
	}

	.header_nav > li > a::after {
		display: none;
	}

	.header_nav .menu-item-has-children {
		padding-right: 0;
	}

	.submenu-toggle {
		right: 14px;
		top: 18px;
		transform: none;
		width: 28px;
		height: 28px;
		border-radius: 50%;
		background: rgba(36, 59, 122, 0.04);
	}

	.header_nav .sub-menu {
		position: static;
		min-width: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		padding: 0 0 8px;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		background: transparent;
	}

	.header_nav .submenu-open > .sub-menu {
		display: block;
	}

	.header_nav .sub-menu a {
		padding: 10px 18px 10px 32px;
		font-size: 13px;
	}

	.header-actions {
		display: none;
	}
	.menu-item-more {
		display: block;
	}
	
	.menu-item-more > .sub-menu {
		display: none;
	}
	
	.menu-item-more.submenu-open > .sub-menu {
		display: block;
	}
	
	.menu-item-more > .sub-menu > li > .sub-menu {
		position: static;
		min-width: 100%;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		padding: 0 0 8px;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		background: transparent;
	}
	
	.menu-item-more > .sub-menu > li.submenu-open > .sub-menu {
		display: block;
	}
	
	.menu-item-more > .sub-menu > li > a {
		padding: 10px 18px 10px 32px;
		font-size: 13px;
	}
	
	.menu-item-more > .sub-menu > li > .sub-menu a {
		padding-left: 46px;
	}

	.hero-box--featured-bg {
		background-position: center top;
	}

	.page-title {
		font-size: 2rem;
	}

	.hero-box {
		padding: 2rem;
	}

	.section-title {
		font-size: 1.75rem;
	}

	.detail-box__image {
		height: 280px;
	}
}

@media (max-width: 767.98px) {
	.menu-more-toggle{
		padding-left: 20px;
	}

	.header-search {
		width: 100%;
	}

	.header-search__input {
		height: 36px;
		font-size: 12px;
	}

	.archive-hero__box {
		padding: 1.25rem;
		border-radius: 18px;
	}

	.archive-title {
		font-size: 1.75rem;
	}

	.archive-pagination .page-item .page-link {
		min-width: 40px;
		height: 40px;
		border-radius: 10px;
		font-size: 0.88rem;
	}

	.header-top {
		display: none;
	}

	.header-main {
		padding: 12px 14px;
	}

	.header-brand {
		width: 100%;
	}

	.header-brand__title {
		font-size: 13px;
	}

	.header-brand__subtitle {
		font-size: 11px;
	}

	.header-panel {
		width: 100%;
	}

	.header-brand__logo {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}

	.event-card__date-row {
		align-items: flex-start;
	}

	.ticket-modal__dialog {
		width: calc(100vw - 16px);
		height: calc(100vh - 16px);
		margin: 8px auto;
		border-radius: 14px;
	}

	.ticket-modal__iframe {
		min-height: 520px;
	}

	.content-entry .alignleft,
	.content-entry .alignright,
	.detail-box__text .alignleft,
	.detail-box__text .alignright {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 0 1.2rem;
	}

	.page-box {
		padding: 1.2rem;
		border-radius: 18px;
	}

	.page-title {
		font-size: 1.7rem;
	}

	.content-entry .alignleft,
	.content-entry .alignright {
		float: none;
		display: block;
		max-width: 100%;
		margin: 0 0 1.2rem;
	}

	.doc-card__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.doc-card__action {
		width: 100%;
	}

	.doc-card__action .btn {
		width: 100%;
	}

	.gallery-card__thumb {
		height: 220px;
	}

	.hero-box {
		padding: 1.25rem;
		border-radius: 18px;
	}

	.hero-title {
		font-size: 1.85rem;
	}

	.section-title {
		font-size: 1.5rem;
	}

	.event-card__poster,
	.person-card__image,
	.detail-box__image,
	.contact-map {
		height: 220px;
	}

	.person-card__image {
		height: 530px;
	}

	.single-person-box .detail-box__image {
		height: 530px;
	}

	.date-row {
		flex-direction: column;
		align-items: flex-start;
	}

	body::before {
		background-size: 160px auto, 160px auto;
	}

	.footer-main {
		padding: 1.25rem;
		border-radius: 18px;
	}

	.footer-brand__desc {
		max-width: none;
	}

	.footer-bottom__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}