/* The site owner requested upright typography throughout the site. */
body,
body * {
	font-style: normal !important;
}

/* The upright Bookman face is slightly wider; keep the desktop menu on one row. */
@media (min-width: 1025px) {
	.hfe-nav-menu__layout-horizontal > .hfe-nav-menu > li > a.hfe-menu-item,
	.hfe-nav-menu__layout-horizontal > .hfe-nav-menu > li > .hfe-has-submenu-container > a.hfe-menu-item {
		padding-right: 14px !important;
		padding-left: 14px !important;
	}
}

/* Video grid on /vystupleniya-v-smi/. */
.bz-video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
}

.bz-video-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
		#262626;
	border: 1px solid rgba(237, 185, 118, 0.22);
	border-radius: 18px;
	box-shadow:
		0 20px 45px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
	transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.bz-video-card:hover {
	transform: translateY(-5px);
	border-color: rgba(237, 185, 118, 0.55);
	box-shadow:
		0 26px 55px rgba(0, 0, 0, 0.34),
		0 0 30px rgba(237, 185, 118, 0.045),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bz-video-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #151515;
	border-bottom: 1px solid rgba(237, 185, 118, 0.16);
}

.bz-video-card__media iframe,
.bz-video-card__media video {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	background: #151515;
	border: 0;
	object-fit: cover;
}

.bz-video-card__external {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	color: #fff;
	text-decoration: none !important;
	cursor: pointer;
	background:
		radial-gradient(circle at 50% 20%, rgba(237, 185, 118, 0.16), transparent 55%),
		linear-gradient(145deg, #303030 0%, #202020 55%, #171717 100%);
}

.bz-video-card__poster {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.58) saturate(0.9);
	transition: transform 0.6s ease, filter 0.4s ease;
}

.bz-video-card:hover .bz-video-card__poster {
	transform: scale(1.045);
	filter: brightness(0.7) saturate(1);
}

.bz-video-card__external::before,
.bz-video-card__external::after {
	content: "";
	position: absolute;
	z-index: 1;
	pointer-events: none;
}

.bz-video-card__external::before {
	inset: 0;
	background: linear-gradient(120deg, transparent 15%, rgba(237, 185, 118, 0.055) 50%, transparent 85%);
	transform: translateX(-100%);
	transition: transform 0.7s ease;
}

.bz-video-card:hover .bz-video-card__external::before {
	transform: translateX(100%);
}

.bz-video-card__external::after {
	inset: 12px;
	border: 1px solid rgba(237, 185, 118, 0.1);
	border-radius: 10px;
}

.bz-video-card__channel {
	position: absolute;
	top: 20px;
	left: 22px;
	z-index: 2;
	color: rgba(237, 185, 118, 0.8);
	font-family: Montserrat, sans-serif;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.bz-video-card__play {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	background: rgba(38, 38, 38, 0.78);
	border: 1px solid rgba(237, 185, 118, 0.72);
	border-radius: 50%;
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(237, 185, 118, 0.045);
	transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.bz-video-card__play::before {
	content: "";
	display: block;
	width: 0;
	height: 0;
	margin-left: 5px;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid #edb976;
}

.bz-video-card:hover .bz-video-card__play {
	transform: scale(1.08);
	background: rgba(237, 185, 118, 0.12);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 0 10px rgba(237, 185, 118, 0.07);
}

.bz-video-card__external:focus-visible {
	outline: 2px solid #edb976;
	outline-offset: -5px;
}

.bz-video-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 112px;
	padding: 20px 22px 22px;
}

.bz-video-card__source {
	margin-bottom: 9px;
	color: rgba(237, 185, 118, 0.72);
	font-family: Montserrat, sans-serif;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.bz-video-card__caption {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-family: Montserrat, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
}

@media (max-width: 1024px) {
	.bz-video-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}
}

@media (max-width: 767px) {
	.bz-video-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.bz-video-card {
		border-radius: 15px;
	}

	.bz-video-card:hover {
		transform: none;
	}

	.bz-video-card__content {
		min-height: auto;
		padding: 18px 18px 20px;
	}

	.bz-video-card__caption {
		font-size: 14px;
	}

	.bz-video-card__play {
		width: 60px;
		height: 60px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bz-video-card,
	.bz-video-card__external::before,
	.bz-video-card__play {
		transition: none;
	}
}
