/* =========================================================
   Video
   ========================================================= */

.elementor-widget-theme-video {
    width: 100%;
}

.hs-video {
	position: relative;

	width: 100%;

	aspect-ratio: 16 / 9;

	overflow: hidden;

	border-radius: 16px;

	background: #222;

	box-sizing: border-box;
}


/* =========================================================
   Poster
   ========================================================= */

.hs-video__poster {
	position: absolute;

	inset: 0;

	z-index: 2;

	display: flex;
	align-items: flex-end;

	width: 100%;
	height: 100%;

	padding: 0 40px 40px;

	box-sizing: border-box;

	background-color: #222;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}


/* =========================================================
   Dark Overlay
   ========================================================= */

.hs-video__overlay {
	position: absolute;

	inset: 0;

	z-index: 0;

	background: rgba(0, 0, 0, 0.28);

	pointer-events: none;
}


/* =========================================================
   Play Button
   ========================================================= */

.hs-video .hs-video__play {
	position: relative;

	z-index: 3;

	display: flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 auto;

	width: 94px;
	height: 94px;

	margin: 0 28px 0 0;
	padding: 0;

	border: 0;
	border-radius: 50%;

	background: #ffffff;

	color: #006CB3;

	cursor: pointer;

	box-shadow: none;

	appearance: none;
	-webkit-appearance: none;

	transition:
		transform 0.2s ease,
		background-color 0.2s ease;
}

.hs-video .hs-video__play:hover {
	background: #ffffff;
    color: #006CB3; 
	transform: scale(1.04);
}

.hs-video .hs-video__play:focus {
	outline: none;
}

.hs-video .hs-video__play:focus-visible {
	outline: 3px solid #ffffff;
	outline-offset: 4px;
}


/*
 * Play icon.
 */
.hs-video__play svg {
	display: block;

	width: 28px;
	height: 32px;

	margin-left: 5px;
}


/* =========================================================
   Video Title
   ========================================================= */

.hs-video__poster .hs-video__title {
	position: relative;

	z-index: 3;

	padding-bottom: 25px;

	color: #ffffff;

	font-size: 40px;
	line-height: 1.15;
	font-weight: 600;

	text-shadow:
		0 2px 5px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   Player
   ========================================================= */

.hs-video__player {
	position: absolute;

	inset: 0;

	z-index: 1;

	width: 100%;
	height: 100%;
}


/* =========================================================
   Native Video
   ========================================================= */

.hs-video__player video {
	display: block;

	width: 100%;
	height: 100%;

	object-fit: cover;

	border: 0;
}


/* =========================================================
   Iframe
   ========================================================= */

.hs-video__player iframe {
	display: block;

	width: 100%;
	height: 100%;

	border: 0;
}


/* =========================================================
   Playing State
   ========================================================= */

.hs-video.is-playing .hs-video__poster {
	display: none;
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1024px) {

	.hs-video__poster {
		padding: 0 30px 30px;
	}

	.hs-video .hs-video__play {
		width: 76px;
		height: 76px;

		margin-right: 22px;
	}

	.hs-video__play svg {
		width: 24px;
		height: 28px;
	}

	.hs-video__title {
		padding-bottom: 10px;

		font-size: 36px;
	}

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

	.hs-video {
		border-radius: 12px;
	}

	.hs-video__poster {
		padding: 0 20px 20px;
	}

	.hs-video .hs-video__play {
		width: 32px;
		height: 32px;

		margin-right: 15px;
	}

	.hs-video__play svg {
		width: 16px;
		height: 16px;
		margin-left: 3px;
	}

	.hs-video__poster .hs-video__title {
		padding-bottom: 7px;

		font-size: 20px;
		line-height: 1.2;
	}

}