:root {
	--sb-primary: #182d5a;
	--sb-primary-dark: #0d1b3b;
	--sb-accent: #2677b8;
	--sb-ink: #172033;
	--sb-muted: #687086;
	--sb-paper: #f5f3ef;
	--sb-surface: #ffffff;
	--sb-border: #dfe3ea;
	--sb-shadow: 0 18px 50px rgba(13, 27, 59, 0.11);
	--sb-radius: 1rem;
	--sb-shell: 82rem;
}

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

html {
	scroll-behavior: smooth;
}

body.site,
body.component-only,
body.error-page,
body.offline-page {
	margin: 0;
	color: var(--sb-ink);
	background: var(--sb-surface);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

body.site > .main-content {
	flex: 1 0 auto;
}

body.site > .site-footer {
	flex: 0 0 auto;
	margin-top: auto;
}

a {
	color: var(--sb-accent);
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--sb-primary);
}

img,
svg,
video,
canvas {
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
}

iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 0.75rem;
	background: #000;
}

.video-row {
	row-gap: clamp(0.9rem, 2vw, 1.5rem);
	margin-bottom: clamp(0.9rem, 2vw, 1.5rem);
}

.youtube-facade {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	background: #10131a;
	border: 0;
	border-radius: 0.75rem;
	cursor: pointer;
	isolation: isolate;
}

.youtube-facade__image,
.youtube-facade__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.youtube-facade__image {
	z-index: 0;
	object-fit: cover;
	transition: transform 220ms ease, filter 220ms ease;
}

.youtube-facade__shade {
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28));
}

.youtube-facade__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: clamp(3.5rem, 7vw, 4.75rem);
	aspect-ratio: 1.45 / 1;
	background: #e62117;
	border-radius: 0.9rem;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
	transform: translate(-50%, -50%);
	transition: transform 180ms ease, background-color 180ms ease;
}

.youtube-facade__play::before {
	content: "";
	width: 0;
	height: 0;
	margin-left: 0.22rem;
	border-top: 0.68rem solid transparent;
	border-bottom: 0.68rem solid transparent;
	border-left: 1.05rem solid #fff;
}

.youtube-facade:hover .youtube-facade__image,
.youtube-facade:focus-visible .youtube-facade__image {
	filter: saturate(1.08) contrast(1.03);
	transform: scale(1.025);
}

.youtube-facade:hover .youtube-facade__play,
.youtube-facade:focus-visible .youtube-facade__play {
	background: #c91d14;
	transform: translate(-50%, -50%) scale(1.06);
}

.youtube-facade:focus-visible {
	outline: 0.22rem solid var(--sb-accent);
	outline-offset: 0.18rem;
}

.analytics-consent {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: min(calc(100% - 2rem), 58rem);
	padding: 1rem 1.15rem;
	color: var(--sb-ink);
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid var(--sb-border);
	border-radius: 0.9rem;
	box-shadow: 0 18px 55px rgba(13, 27, 59, 0.22);
	transform: translateX(-50%);
	backdrop-filter: blur(12px);
}

.analytics-consent__content {
	min-width: 0;
}

.analytics-consent__title {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--sb-primary-dark);
}

.analytics-consent p {
	margin: 0;
	color: var(--sb-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.analytics-consent__actions {
	display: flex;
	flex: 0 0 auto;
	gap: 0.55rem;
}

.analytics-settings {
	position: fixed;
	left: 0.75rem;
	bottom: 0.75rem;
	z-index: 1190;
	padding: 0.45rem 0.65rem;
	color: var(--sb-primary-dark);
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid var(--sb-border);
	border-radius: 999px;
	font-size: 0.75rem;
	box-shadow: 0 6px 18px rgba(13, 27, 59, 0.13);
}

.analytics-settings:hover,
.analytics-settings:focus-visible {
	color: #fff;
	background: var(--sb-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--sb-primary-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 600;
	line-height: 1.18;
	text-wrap: balance;
}

.site-shell {
	width: min(100% - 2rem, var(--sb-shell));
	margin-inline: auto;
}

.skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 9999;
	padding: 0.7rem 1rem;
	color: #fff;
	background: var(--sb-primary-dark);
	border-radius: 0.5rem;
	transform: translateY(-180%);
}

.skip-link:focus {
	color: #fff;
	transform: translateY(0);
}

.site-header {
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--sb-border);
	box-shadow: 0 4px 24px rgba(13, 27, 59, 0.05);
	backdrop-filter: blur(14px);
}

.has-sticky-header .site-header {
	position: sticky;
	top: 0;
}

.header-grid,
.site-brand a,
.brand-fallback {
	transition:
		min-height 220ms ease,
		padding 220ms ease,
		font-size 220ms ease,
		border-radius 220ms ease,
		box-shadow 220ms ease;
}

.site-header.is-compact .header-grid {
	min-height: 3.5rem;
}

.site-header.is-compact .site-brand a,
.site-header.is-compact .brand-fallback {
	min-height: 2.5rem;
	padding: 0.3rem 0.7rem;
	border-radius: 0 0 0.75rem 0.75rem;
	font-size: 0.95rem;
	box-shadow: 0 6px 14px rgba(13, 27, 59, 0.14);
}

.header-grid {
	display: grid;
	grid-template-columns: minmax(10rem, auto) minmax(0, 1fr) auto;
	align-items: center;
	gap: clamp(0.5rem, 1vw, 0.75rem);
	min-height: 6rem;
}

.site-brand {
	position: relative;
	z-index: 2;
}

.site-brand p,
.site-brand .mod-custom {
	margin: 0;
}

.site-brand a,
.brand-fallback {
	display: inline-grid;
	place-items: center;
	min-width: 10.75rem;
	min-height: 4.75rem;
	padding: 0.7rem 1.2rem;
	color: #fff;
	background: linear-gradient(145deg, var(--sb-primary), var(--sb-primary-dark));
	border-radius: 0 0 1.25rem 1.25rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-style: italic;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	box-shadow: 0 12px 24px rgba(13, 27, 59, 0.16);
}

.site-brand img {
	display: block;
	max-height: 4.5rem;
	width: auto;
}

.site-navigation {
	min-width: 0;
}

.site-navigation ul,
.site-navigation .mod-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-navigation li {
	position: relative;
}

.site-navigation a,
.site-navigation .mod-menu__separator,
.site-navigation .mod-menu__heading {
	display: block;
	padding: 0.72rem 0.82rem;
	color: var(--sb-ink);
	border-radius: 0.55rem;
	font-size: 0.95rem;
	font-weight: 550;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.site-navigation .mod-menu__separator,
.site-navigation .mod-menu__heading {
	cursor: default;
}

.site-navigation a:hover,
.site-navigation a:focus-visible,
.site-navigation .current > a,
.site-navigation .active > a {
	color: var(--sb-primary);
	background: var(--sb-paper);
}

.site-navigation li > ul {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 50%;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	justify-content: stretch;
	width: max-content;
	min-width: 10rem;
	max-width: min(20rem, calc(100vw - 2rem));
	padding: 0.45rem;
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: 0.75rem;
	box-shadow: var(--sb-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, -0.4rem);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.site-navigation li:hover > ul,
.site-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.site-navigation li > ul li {
	width: 100%;
}

.site-navigation li > ul a {
	width: 100%;
	text-align: center;
	white-space: nowrap;
}

.language-switcher ul {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.language-switcher a {
	display: grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	border: 1px solid var(--sb-border);
	border-radius: 999px;
}

.language-switcher img {
	width: 1.25rem;
	height: auto;
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 0.65rem;
	justify-self: end;
	padding: 0.62rem 0.8rem;
	color: var(--sb-primary-dark);
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: 0.65rem;
	font-weight: 700;
}

.menu-toggle-icon {
	display: grid;
	gap: 0.25rem;
}

.menu-toggle-icon i {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: currentColor;
	transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.home-intro {
	padding: clamp(1.25rem, 3vw, 2.5rem) 0;
	color: #fff;
	background:
		radial-gradient(circle at 85% 20%, rgba(38, 119, 184, 0.35), transparent 30rem),
		linear-gradient(135deg, var(--sb-primary-dark), var(--sb-primary));
}

.home-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(1rem, 3vw, 2.5rem);
}

.home-intro-media,
.home-intro-copy {
	min-width: 0;
}

.home-intro-media {
	position: relative;
	min-height: 24rem;
}

.home-intro-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: var(--sb-radius);
	box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
}

html[lang^="ru"] .home-intro-media img {
	object-position: 68% center;
}

.home-intro-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2.25rem);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.home-intro-copy :is(h1, h2, h3, h4),
.home-intro-copy a {
	color: #fff;
}

.home-intro-copy blockquote,
.home-intro-copy em {
	color: rgba(255, 255, 255, 0.8);
}

.home-intro-copy .btn,
.home-intro-copy .readmore a,
.home-intro-copy a.btn {
	display: inline-flex;
	width: fit-content;
	padding: 0.72rem 1rem;
	color: #fff;
	background: var(--sb-accent);
	border: 0;
	border-radius: 0.6rem;
	text-decoration: none;
}

.media-shortcuts {
	position: relative;
	z-index: 2;
	padding: 1.35rem 0;
	background: #fff;
}

.media-shortcuts :is(p, ul, .mod-custom) {
	margin: 0;
	text-align: center;
}

.media-shortcuts a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 9rem;
	margin: 0.25rem;
	padding: 0.7rem 1.2rem;
	color: #fff;
	background: var(--sb-primary);
	border-radius: 999px;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease;
}

.media-shortcuts a:hover,
.media-shortcuts a:focus-visible {
	color: #fff;
	background: var(--sb-accent);
	transform: translateY(-2px);
}

.home-section {
	padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.home-section:nth-of-type(even),
.composition-section,
.voices-section {
	background: var(--sb-paper);
}

.section-heading {
	max-width: 52rem;
	margin: 0 auto clamp(2rem, 4vw, 3.5rem);
	text-align: center;
}

.section-heading :is(p, h1, h2, h3, h4) {
	margin: 0;
}

.section-heading :is(h1, h2, h3, h4, p) {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 500;
	color: var(--sb-primary-dark);
}

.section-heading::after {
	display: block;
	width: 5rem;
	height: 0.25rem;
	margin: 1.25rem auto 0;
	background: var(--sb-accent);
	border-radius: 999px;
	content: "";
}

.card-grid {
	display: grid;
	gap: 1.25rem;
}

.six-up {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

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

.module-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: var(--sb-radius);
	box-shadow: 0 8px 30px rgba(13, 27, 59, 0.06);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.module-card > div,
.module-card .mod-custom {
	height: 100%;
}

.module-card :is(h3, h4, h5) {
	margin: 0;
	padding: 1rem 1rem 0.35rem;
	font-size: 1.15rem;
	text-align: center;
}

.module-card p {
	margin: 0;
	padding: 0.45rem 1rem 1.2rem;
}

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

.module-card a {
	text-decoration: none;
}

.composition-card {
	padding: 1.25rem;
}

.composition-card :is(h3, h4, h5),
.composition-card p {
	padding-inline: 0;
	text-align: left;
}

.composition-card ul {
	margin-bottom: 0;
	padding-left: 1.25rem;
}

.concert-feature {
	margin-bottom: 2rem;
	padding: clamp(1rem, 3vw, 2rem);
	background: #fff;
	border: 1px solid var(--sb-border);
	border-radius: var(--sb-radius);
}

.concert-rotator {
	overflow: hidden;
	padding: 1rem;
	background: #fff;
	border-radius: var(--sb-radius);
	box-shadow: var(--sb-shadow);
}

.concert-rotator :is(#djslider-loader, .djslider, .navigation-container) {
	max-width: 100% !important;
}

.concert-rotator img {
	max-width: 100%;
	height: auto !important;
	object-fit: contain;
}

.voice-card img {
	aspect-ratio: 4 / 5;
}

.breadcrumb-bar {
	padding: 0.8rem 0;
	background: var(--sb-paper);
	border-bottom: 1px solid var(--sb-border);
}

.breadcrumb,
.breadcrumb-bar ol {
	margin: 0;
}

.component-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	padding-block: clamp(2rem, 5vw, 4.5rem);
}

.component-layout.with-sidebar {
	grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
}

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

.component-area > :first-child {
	margin-top: 0;
}

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

.component-area table {
	width: 100%;
	display: block;
	overflow-x: auto;
}

.component-area .item-page,
.component-area .com-content-article {
	max-width: 70rem;
}

.component-area .sigplus-gallery {
	max-width: 100%;
	margin-inline: 0;
}

.component-area .sigplus-gallery ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: 0.8rem;
	padding: 0;
}

.component-area .sigplus-gallery li,
.component-area .sigplus-image {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
}

.component-area .sigplus-preview img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0.5rem;
}

.sidebar {
	align-self: start;
	padding: 1.2rem;
	background: var(--sb-paper);
	border-radius: var(--sb-radius);
}

.site-footer {
	padding: 2.5rem 0;
	color: rgba(255, 255, 255, 0.78);
	background: var(--sb-primary-dark);
}

.site-footer :is(p, ul, .mod-custom) {
	margin-block: 0;
}

.site-footer a {
	color: #fff;
}

.back-to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 900;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	color: #fff;
	background: var(--sb-accent);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 12px 28px rgba(13, 27, 59, 0.24);
	opacity: 0;
	pointer-events: none;
	transform: translateY(0.75rem);
	transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.btn-primary {
	--bs-btn-bg: var(--sb-primary);
	--bs-btn-border-color: var(--sb-primary);
	--bs-btn-hover-bg: var(--sb-accent);
	--bs-btn-hover-border-color: var(--sb-accent);
}

.error-page,
.offline-page {
	display: grid;
	min-height: 100vh;
	place-items: center;
	padding: 1rem;
	background: var(--sb-paper);
}

.error-card {
	width: min(100%, 42rem);
	padding: clamp(2rem, 6vw, 4rem);
	background: #fff;
	border-radius: var(--sb-radius);
	box-shadow: var(--sb-shadow);
	text-align: center;
}

.error-code {
	margin: 0;
	color: var(--sb-accent);
	font-size: clamp(4rem, 14vw, 9rem);
	font-weight: 800;
	line-height: 1;
}

.component-only {
	padding: 1.5rem;
}

@media (max-width: 1199.98px) {
	.six-up {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-navigation a,
	.site-navigation .mod-menu__separator,
	.site-navigation .mod-menu__heading {
		padding-inline: 0.55rem;
		font-size: 0.88rem;
	}
}

@media (min-width: 992px) {
	html[lang^="sr"] .site-navigation > .mod-menu {
		width: 100%;
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 0;
	}

	html[lang^="sr"] .site-navigation > .mod-menu > li > a,
	html[lang^="sr"] .site-navigation > .mod-menu > li > .mod-menu__heading,
	html[lang^="sr"] .site-navigation > .mod-menu > li > .mod-menu__toggle-sub > .mod-menu__heading {
		padding-inline: 0.18rem;
		font-size: 0.93rem;
		font-weight: 550;
	}
}

@media (max-width: 991.98px) {
	.header-grid {
		grid-template-columns: minmax(0, 1fr) auto auto;
		gap: 0.75rem;
		min-height: 5.25rem;
	}

	.menu-toggle {
		display: flex;
	}

	.site-navigation {
		position: absolute;
		top: 100%;
		left: 1rem;
		right: 1rem;
		display: none;
		max-height: calc(100vh - 7rem);
		overflow-y: auto;
		padding: 0.75rem;
		background: #fff;
		border: 1px solid var(--sb-border);
		border-radius: 0.85rem;
		box-shadow: var(--sb-shadow);
	}

	.site-navigation.is-open {
		display: block;
	}

	.site-navigation ul,
	.site-navigation .mod-menu {
		display: grid;
		justify-content: stretch;
	}

	.site-navigation li > ul {
		position: static;
		display: grid;
		left: auto;
		width: auto;
		min-width: 0;
		max-width: none;
		margin-left: 1rem;
		padding: 0 0 0 0.75rem;
		background: transparent;
		border: 0;
		border-left: 2px solid var(--sb-border);
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.site-navigation li > ul a {
		white-space: normal;
	}

	.home-intro-grid {
		grid-template-columns: 1fr;
	}

	.home-intro-media {
		min-height: clamp(18rem, 58vw, 34rem);
	}

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

@media (max-width: 767.98px) {
	.analytics-consent {
		align-items: stretch;
		flex-direction: column;
		gap: 0.85rem;
	}

	.analytics-consent__actions {
		width: 100%;
	}

	.analytics-consent__actions .btn {
		flex: 1 1 0;
	}

	.site-shell {
		width: min(100% - 1.25rem, var(--sb-shell));
	}

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

	.site-brand a,
	.brand-fallback {
		min-width: 0;
		min-height: 3.75rem;
		padding: 0.6rem 0.85rem;
		font-size: 1.1rem;
	}

	.language-switcher {
		grid-column: 1 / -1;
		justify-self: end;
		margin-top: -0.55rem;
		padding-bottom: 0.5rem;
	}

	.language-switcher a {
		width: 2rem;
		height: 2rem;
	}

	.six-up,
	.composition-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.component-layout.with-sidebar {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 479.98px) {
	.six-up,
	.composition-grid {
		grid-template-columns: 1fr;
	}

	.media-shortcuts a {
		width: 100%;
		margin-inline: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
