.video-overview,
.single-video {
	background: #000;
	color: #fff;
	min-height: calc(100vh - 80px);
}

.video-overview {
	padding: 0;
	border-left: solid 1px white;
	border-right: solid 1px white;
}

.video-header {
	width: 100%;
	margin-bottom: 40px;
}

.video-header__stage {
	position: relative;
	width: 100%;
	background: #000;
}

.video-header .video-player {
	width: 100%;
}

.video-btn {
	background-color: #ffffcf;
	border: none;
	transition: all 0.3s ease;
	color: black !important;
	transform: translateX(-50%);
	padding-bottom: 2px !important;
	will-change: transform;
}
.video-btn:hover {
	background-color: #fff;

	transform: translateX(-50%) scale(1.05);
}

.video-header .video-player__embed iframe {
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
}

.video-header__cta {
	position: absolute;
	bottom: 25px;
	margin-bottom: 0 !important;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	margin: 0;
	white-space: nowrap;
	color: #fff;
	text-decoration: none;
}

.video-player--autoplay .video-player__play {
	display: none;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.video-card {
	display: flex;
	flex-direction: column;
	transition: transform 0.75s ease, opacity 0.75s ease;
	transform-origin: center center;
	position: relative;
	z-index: 1;
}

.video-card.is-playing {
	transform: scale(1.1);
	z-index: 3;
}

.video-card.is-adjacent-left,
.video-card.is-adjacent-right {
	transform: scale(0.88);
	z-index: 2;
}

.video-card__media {
	position: relative;
}

.video-card__cta {
	position: absolute;
	bottom: 25px;
	left: 50%;
	z-index: 5;
	margin: 0 !important;
	text-decoration: none;
	white-space: nowrap;
}

.video-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
	overflow: hidden;
}

.video-player__poster {
	position: absolute;
	inset: 0;
	z-index: 2;
	background-color: #000;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transition: opacity 0.3s ease;
}

.video-player.has-started .video-player__poster {
	opacity: 0;
	pointer-events: none;
}

.video-player > iframe {
	display: none !important;
}

.video-player__embed {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.video-player__embed iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}

.video-player__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
	border: none;
	border-style: solid;
	border-width: 18px 0 18px 30px;
	border-color: transparent transparent transparent #fff;
	background: none;
	cursor: pointer;
	z-index: 4;
	transition: opacity 0.2s ease;
}

.video-player__play:hover {
	opacity: 0.75;
}

.video-player.is-playing .video-player__play {
	opacity: 0;
	pointer-events: none;
}

.video-player__progress-track {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: rgba(255, 255, 255, 0.25);
	z-index: 3;
	cursor: pointer;
}

.video-player__progress {
	height: 100%;
	width: 0;
	background: #fff;
	pointer-events: none;
}

.video-player--controls .video-player__progress-track {
	position: relative;
	bottom: auto;
	left: auto;
	right: auto;
	flex: 1;
	height: 3px;
	min-width: 0;
	background: rgba(255, 255, 255, 0.28);
	z-index: auto;
	border-radius: 0;
}

.video-player--controls .video-player__progress {
	background: #ffffff;
	transition: width 0.1s linear;
}

.video-player--controls .video-player__progress-track:hover,
.video-player--controls .video-player__progress-track:focus-visible {
	height: 5px;
}

.video-player__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 6;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 16px 14px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	font-family: 'Blimone', Helvetica, Arial, sans-serif;
}

.video-player--controls:hover .video-player__controls,
.video-player--controls.is-controls-visible .video-player__controls,
.video-player--controls:not(.is-playing) .video-player__controls,
.video-player--controls:focus-within .video-player__controls {
	opacity: 1;
	pointer-events: auto;
}

.video-player__control {
	appearance: none;
	-webkit-appearance: none;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s ease, transform 0.2s ease;
}

.video-player__control:hover,
.video-player__control:focus-visible {
	color: #fff;
	transform: scale(1.08);
	outline: none;
}

.video-player__icon {
	display: none;
	pointer-events: none;
	border: 0;
	margin: 0;
	padding: 0;
	width: auto;
	height: auto;
	background: none;
	box-shadow: none;
}

.video-player__icon::before,
.video-player__icon::after {
	content: none !important;
	display: none !important;
	border: 0 !important;
}

.video-player__control--play .video-player__icon--play,
.video-player:not(.is-playing) .video-player__control--play .video-player__icon--play {
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-player.is-playing .video-player__control--play .video-player__icon--play {
	display: none;
}

.video-player.is-playing .video-player__control--play .video-player__icon--pause {
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-player__control--mute {
	position: relative;
}

.video-player__control--mute .video-player__icon--volume,
.video-player__control--mute .video-player__icon--muted {
	position: absolute;
	inset: 0;
	align-items: center;
	justify-content: center;
}

.video-player__control--mute .video-player__icon--volume {
	display: flex;
}

.video-player__control--mute .video-player__icon--muted {
	display: none;
}

.video-player.is-muted .video-player__control--mute .video-player__icon--volume {
	display: none;
}

.video-player.is-muted .video-player__control--mute .video-player__icon--muted {
	display: flex;
}

.video-player__control--fullscreen .video-player__icon--fullscreen {
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-player__control svg {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.video-player__time {
	flex-shrink: 0;
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	min-width: 7.5em;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.02em;
	color: #fff;
	white-space: nowrap;
	user-select: none;
}

.video-player__time-sep {
	opacity: 0.55;
}

.video-player--controls:fullscreen,
.video-player--controls:-webkit-full-screen {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	background: #000;
}

.video-player--controls:fullscreen .video-player__embed iframe,
.video-player--controls:-webkit-full-screen .video-player__embed iframe {
	object-fit: contain;
}

.video-popup__player .video-player__embed iframe {
	pointer-events: none;
}

.video-card__meta {
	padding: 16px 30px;

}
.video-card__head {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	font-size: 20px;
	font-family: 'Blimone';
}

.video-card__content p {
	font-size: 14px;
	line-height: 16px;
	text-align: center;
}

.video-card__title {
	margin: 0;
	font-size: 18px;
	font-weight: normal;
	line-height: 1.3;
}

.video-card__title a {
	color: #fff;
	text-decoration: none;
}


.video-card__content {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.5;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.video-card__content a {
	color: #fff;
	text-decoration: none;
}

.video-card:hover .video-card__content {
	max-height: 200px;
	opacity: 1;
	margin-top: 10px;
}

.video-overview__empty {
	padding: 40px 20px;
	text-align: center;
}

.single-video {
	padding: 40px 20px 80px;
	margin: 0 auto;
	position: relative;
}

.single-video .close {
	position: absolute;
	top: 20px;
	right: 20px;
}

.single-video__player {
	margin-bottom: 32px;
}

.single-video__meta {
	padding: 24px;
}

.single-video__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: normal;
	line-height: 1.2;
}

.single-video__content {
	font-size: 16px;
	line-height: 1.6;
}

.single-video__content p {
	margin: 0 0 1em;
}

.single-video__content p:last-child {
	margin-bottom: 0;
}

body.video.fixed-color.night,
body.single-video.fixed-color.night {
	background: #000;
}

body.video-popup-open {
	overflow: hidden;
}

.video-popup {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.video-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.88);
}

.video-popup__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	transform: translateY(16px) scale(0.98);
	transition: transform 0.4s ease;
}

.video-popup.is-open .video-popup__dialog {
	transform: translateY(0) scale(1);
}

.video-popup__close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 3;
	background-color: transparent !important;
	border: none !important;
	-webkit-appearance: none;
	border-radius: 0 !important;
}

.video-popup__episode {
	color: #fff;
}

.video-popup__player {
	margin-bottom: 24px;
}

.video-popup__meta {
	padding: 0 4px 8px;
}

.video-popup__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: normal;
	line-height: 1.2;
}

.video-popup__content-text {
	font-size: 16px;
	line-height: 1.6;
}

.video-popup__content-text p {
	margin: 0 0 1em;
}

.video-popup__content-text p:last-child {
	margin-bottom: 0;
}

@media (max-width: 1024px) {
	.video-card.is-playing {
		transform: scale(1.05);
	}

	.video-card.is-adjacent-left,
	.video-card.is-adjacent-right {
		transform: scale(0.94);
	}
}
@media (max-width: 640px) {
	.video-grid {
		grid-template-columns: 1fr;
	}

	.video-player__controls {
		gap: 10px;
		padding: 16px 12px 12px;
	}

	.video-player__time {
		min-width: 0;
		font-size: 12px;
	}

	.video-header__cta {
		bottom: 25px;
		font-size: 16px;
		line-height: 16px;
		padding: 5px 24px;
		white-space: normal;
		text-align: center;
		max-width: calc(100% - 40px);
	}

	.video-card__cta {
		bottom: 25px;
		font-size: 16px;
		line-height: 16px;
		padding: 5px 24px;
		white-space: normal;
		text-align: center;
		max-width: calc(100% - 40px);
	}

	.video-card__content {
		max-height: none;
		opacity: 1;
		overflow: visible;
		margin-top: 10px;
	}

	.video-card.is-playing,
	.video-card.is-adjacent-left,
	.video-card.is-adjacent-right {
		transform: none;
	}
	.video-overview {
		margin-left: -15px;
		margin-right: -15px;
		border-left: none;
		border-right: none;
	}
	a.video-btn {
		padding-left: 15px;
		padding-right: 15px;
		max-width: 80vw;
	}
}
