section.video-popup-carousel {
	background: linear-gradient(180deg, #1D4990 0%, #1878d6 48%, #00AEEF 100%);
	padding: 6rem 2rem;
}

.video-popup-carousel .container .inner {
	margin: 0;
}

.video-popup-carousel_head {
	margin: 0 auto 2.75rem;
	max-width: 760px;
	text-align: center;
}

.video-popup-carousel_title {
	color: #ffffff;
	font-family: var(--v2-font-heading), Inter, sans-serif;
	font-size: 42px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}

.video-popup-carousel_sub {
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--v2-font-body), Inter, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0.85rem 0 0;
}

.video-popup-carousel_slider {
	position: relative;
}

.video-popup-carousel_viewport {
	overflow: hidden;
	padding: 14px 0;
}

.video-popup-carousel_track {
	display: flex;
	gap: 20px;
	transition: transform 0.45s ease;
}

.video-popup-carousel_card {
	background: #ffffff;
	border-radius: 18px;
	box-sizing: border-box;
	flex: 0 0 calc((100% - 40px) / 3);
	padding: 14px 14px 18px;
	position: relative;
}

.video-popup-carousel_card::after {
	background: #000000;
	border-radius: inherit;
	content: "";
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.3s ease;
}

.video-popup-carousel_card:hover::after {
	opacity: 0.28;
}

.video-popup-carousel_media {
	aspect-ratio: 16 / 10;
	background: #d9d9d9;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	display: block;
	line-height: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.video-popup-carousel_media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.video-popup-carousel_play {
	background: rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	height: 64px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
}

.video-popup-carousel_play::before {
	border-bottom: 9px solid transparent;
	border-left: 14px solid #1a1a1a;
	border-top: 9px solid transparent;
	content: "";
	left: 27px;
	position: absolute;
	top: 23px;
}

.video-popup-carousel_foot {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 16px 8px 2px;
}

.video-popup-carousel_name {
	color: #111827;
	font-family: var(--v2-font-body), Inter, sans-serif;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.video-popup-carousel_role {
	color: #2c3544;
	font-family: var(--v2-font-body), Inter, sans-serif;
	font-size: 15px;
	line-height: 1.35;
	margin-top: 2px;
}

.video-popup-carousel_logo {
	flex: 0 0 auto;
	line-height: 0;
	margin-left: auto;
}

.video-popup-carousel_logo img {
	display: block;
	height: auto;
	max-height: 42px;
	max-width: 140px;
	object-fit: contain;
	object-position: right center;
	width: auto;
}

.video-popup-carousel_arrow {
	align-items: center;
	background: #ffffff;
	border: 0;
	border-radius: 50%;
	color: #5c6b7a;
	cursor: pointer;
	display: inline-flex;
	height: 42px;
	justify-content: center;
	padding: 0;
	position: absolute;
	top: 46%;
	transform: translateY(-50%);
	width: 42px;
	z-index: 4;
}

.video-popup-carousel_arrow--prev {
	left: -8px;
}

.video-popup-carousel_arrow--next {
	right: -8px;
}

.video-popup-carousel_arrow:disabled {
	cursor: default;
	opacity: 0.45;
}

.video-popup-carousel_modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 9999;
}

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

.video-popup-carousel_backdrop {
	background: rgba(0, 0, 0, 0.72);
	border: 0;
	inset: 0;
	position: absolute;
}

.video-popup-carousel_dialog {
	position: relative;
	width: min(1140px, 100%);
	z-index: 1;
}

.video-popup-carousel_close {
	background: transparent;
	border: 0;
	color: #ffffff;
	cursor: pointer;
	font-size: 36px;
	line-height: 1;
	position: absolute;
	right: 0;
	top: -42px;
}

.video-popup-carousel_player {
	border-radius: 10px;
	overflow: hidden;
}

.video-popup-carousel_player iframe,
.video-popup-carousel_player video {
	aspect-ratio: 16 / 9;
	background: #000000;
	border: 0;
	display: block;
	width: 100%;
}

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

@media (max-width: 900px) {
	section.video-popup-carousel {
		padding: 4rem 1.25rem;
	}

	.video-popup-carousel_title {
		font-size: 34px;
	}
}

@media (max-width: 1279px) {
	.video-popup-carousel_card {
		flex-basis: calc(50% - 10px);
	}
}

@media (max-width: 640px) {
	section.video-popup-carousel {
		padding: 3rem 1rem;
	}

	.video-popup-carousel_card {
		flex-basis: 100%;
	}

	.video-popup-carousel_play {
		height: 52px;
		width: 52px;
	}

	.video-popup-carousel_play::before {
		border-bottom-width: 7px;
		border-left-color: #1a1a1a;
		border-left-width: 12px;
		border-top-width: 7px;
		left: 22px;
		top: 19px;
	}
}
