@font-face {
  font-family: 'Avenir'; /* Choose a name for your font */
  src: url('../fonts/Avenir-Book.ttf') format('truetype'); /* Define the path and format */
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Ghost';
  src: 	url('../fonts/Ghost-Regular.woff') format('woff'),
		url('../fonts/Ghost-Regular.otf') format('opentype');
  /* Optional: define font-weight and font-style if the file only contains one variant */
  font-weight: normal;
  font-style: normal;
}

body{
	background-color: #E9EAEE;
}
header .wp-block-image img{
	height: 20px;
	margin: 6px;
}
main.has-global-padding{
	margin-top: 0;
	padding: 0;
}

.video-swiper-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 0 40px;
	position: relative;
}

.video-main-swiper {
	margin-bottom: 16px;
	overflow: hidden;
	position: relative;
}

.video-main-swiper .swiper-wrapper {
	align-items: stretch;
}

.video-main-swiper .swiper-slide {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
	background: #000;
	border-radius: 0;
	overflow: hidden;
}

/*.video-main-swiper .swiper-slide::before {
	content: attr(data-slide-number);
	position: absolute;
	top: 32px;
	left: 28px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #49639f;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	border: 1px solid #fff;
	pointer-events: none;
}*/

.video-main-swiper .swiper-slide video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	background: #000;
}

.video-main-swiper .swiper-button-prev,
.video-main-swiper .swiper-button-next {
	top: 50%;
	transform: translateY(-50%);
	margin-top: 0;
	width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, .25);
    border-radius: 100px;
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%) scale(0.9);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.video-main-swiper:hover .swiper-button-prev,
.video-main-swiper:hover .swiper-button-next {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(-50%) scale(1);
}

.swiper-button-next:after, 
.swiper-button-prev:after{
	font-size: 18px;
    color: #fff;
}

.video-thumbs-swiper {
	margin: 0 1%;
	padding-top: 0;
	overflow: hidden;
}

.video-thumbs-swiper .swiper-wrapper {
	align-items: stretch;
	column-gap: 1%;
	counter-reset: thumb-counter;
}

.video-thumbs-swiper .swiper-slide {
	opacity: 1;
	cursor: pointer;
	border-radius: 0;
	overflow: hidden;
	position: relative;
	transition: opacity 0.25s ease, box-shadow 0.25s ease;
	box-sizing: border-box;
	max-width: 15.5%;
	counter-increment: thumb-counter;
	position: relative;
	border: 1px solid transparent;
}

.video-thumbs-swiper .swiper-slide-thumb-active {
	opacity: 1;
	border: 1px solid #0a0f9e;
}

.video-thumbs-swiper .swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	
}

.video-thumbs-swiper .swiper-slide::before {
	content: attr(data-slide-number);
	position: absolute;
	top: 4px;
	left: 4px;
	width: 22px;
	height: 22px;
	background: #0a0f9e;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
}

.video-pagination {
	text-align: center;
	margin-top: 14px;
}

.video-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #fff;
	border: 1px solid #0a0f9e;
	opacity: 1;
	margin: 0 4px;
	border-radius: 50%;
	transition: background 0.25s ease, transform 0.25s ease;
}

.video-pagination .swiper-pagination-bullet-active {
	background: #0a0f9e;
	transform: scale(1.2);
}

.video-start-message {
	display: none;
	margin-top: 0;
	text-align: center;
	font-weight: 500;
	padding-bottom: 24px;
}

.video-start-message.is-visible {
	display: block;
	padding: 0 20px;
}
.video-start-message.is-visible h2{
	font-family: 'Ghost';
	font-size: 28px;
    color: #0A0F9E;
	text-align: left;
	margin: 24px 0 16px;
}
.before-after{
	display: flex;
    column-gap: 8px;
	font-family: 'Avenir';
	font-size: 12px;
}
.before-after img{
	max-width: 100%;
}

/*.video-stories-progress {
	display: flex;
	gap: 4px;
	margin: 0 0 10px;
	padding: 0;
}*/
.video-stories-progress {
	position: absolute;
	bottom: 8px;
	left: 8px;
	right: 8px;
	display: flex;
	gap: 3px;
	z-index: 999;
	pointer-events: none;
}

.video-stories-progress__item {
	flex: 1;
	height: 2px;
	background: rgba(255,255,255,0.4);
	border-radius: 999px;
	overflow: hidden;
}

.video-stories-progress__fill {
	width: 0%;
	height: 100%;
	background: #fff;
	transition: width 0.08s linear;
	display: block;
}

.video-stories-progress__item.is-complete .video-stories-progress__fill {
	width: 100%;
}

@media (hover: none) {
	.video-main-swiper .swiper-button-prev,
	.video-main-swiper .swiper-button-next {
		/*opacity: 1;*/
		pointer-events: auto;
	}
}
@media (min-width: 981px) {
	.video-thumbs-swiper .swiper-slide{
		max-width: 15%;
	}
	.video-main-swiper .swiper-slide {
		aspect-ratio: 16 / 9;
	}
	.video-main-swiper .swiper-slide video{
		background: #E9EAEE;
	}
}