.ar-video-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	text-align: left;
}

.ar-video-card__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #0b1f16;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
}

.ar-video-card__image-wrap,
.ar-video-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.ar-video-card__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1);
	transition: transform 0.45s ease;
}

.ar-video-card__placeholder {
	background: #1a3d2c;
}

.ar-video-card__media:hover .ar-video-card__image-wrap img,
.ar-video-card__media:focus-visible .ar-video-card__image-wrap img {
	transform: scale(1.08);
}

.ar-video-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.ar-video-card__play img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.ar-video-card__title {
	margin: 14px 0 0;
	font-family: "Montserrat", sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #1a1a1a;
}

.ar-video-card__desc {
	margin: 2px 0 0;
	font-family: "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: #6b6b6b;
}

.ar-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.ar-video-modal[hidden] {
	display: none;
}

.ar-video-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.9);
}

.ar-video-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
}

.ar-video-modal__close {
	position: absolute;
	top: 18px;
    right: 22px;
	z-index: 2;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff !important;
	color: #013b1d !important;
	font-size: 28px;
	line-height: 0;
	cursor: pointer;
}

.ar-video-modal__frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 16px;
	background: #000;
}

.ar-video-modal__frame video,
.ar-video-modal__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ar-video-modal__empty {
	margin: 0;
	padding: 40px 20px;
	color: #fff;
	font-family: "Montserrat", sans-serif;
	text-align: center;
}

body.ar-video-modal-open {
	overflow: hidden;
}
