/**
 * Component: Vídeo de For Contractors (.akx-fct-video)
 *
 * Figma "Featured video" (Installation video + exclusive benefits): columna de 760px
 * centrada con título (20/28 bold), miniatura 16:9 de radio 12 y descripción 16/24
 * #404040, todo centrado. La miniatura es la foto al 60% de opacidad sobre navy
 * (#141B4D) con un velo navy del 28%, y un botón de play blanco de 72px (56px en móvil)
 * con triángulo navy. Relleno superior 80 / 64 / 48px.
 *
 * El `<span class="wistia_embed …">` con el enlace de play cubre la miniatura entera: Wistia
 * envuelve el enlace en un div relativo de altura 0, de ahí los `!important` y la regla de
 * `.wistia_click_to_play` (mismo patrón que css/single-product/components/sizing-help.css).
 * El reproductor se carga al pulsar (js/components/wistia-on-demand.js).
 */

.akx-fct-video {
	--akx-fsh-navy: #141B4D;
	--akx-fsh-text: #404040;
	--akx-fsh-font: 'Jost', sans-serif;

	background: #FFFFFF;
}

.akx-fct-video .akx-fsh__container {
	padding-top: 48px;
}

@media (min-width: 640px) {
	.akx-fct-video .akx-fsh__container {
		padding-top: 64px;
	}
}

@media (min-width: 900px) {
	.akx-fct-video .akx-fsh__container {
		padding-top: 80px;
	}
}

.akx-fct-video__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.akx-fct-video__title {
	margin: 0;
	font: 700 20px/28px var(--akx-fsh-font);
	font-style: normal;
	text-transform: none;
	color: var(--akx-fsh-navy);
}

.akx-fct-video__thumb {
	position: relative;
	align-self: stretch;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 12px;
	background: var(--akx-fsh-navy);
}

.akx-fct-video__thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(20, 27, 77, 0.28);
	pointer-events: none;
}

.akx-fct-video__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.6;
}

.akx-fct .akx-fct-video__embed {
	position: absolute !important;
	inset: 0;
	z-index: 1;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.akx-fct .akx-fct-video__embed .wistia_click_to_play {
	position: static !important;
}

.akx-fct .akx-fct-video__link {
	position: absolute;
	inset: 0;
	display: block;
	text-decoration: none;
}

.akx-fct-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 56px;
	height: 56px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: #FFFFFF;
	opacity: 0.95;
}

@media (min-width: 640px) {
	.akx-fct-video__play {
		width: 72px;
		height: 72px;
	}
}

.akx-fct-video__play::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	transform: translate(-30%, -50%);
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent var(--akx-fsh-navy);
}

@media (min-width: 640px) {
	.akx-fct-video__play::after {
		border-width: 8px 0 8px 13px;
	}
}

.akx-fct .akx-fct-video__link:hover .akx-fct-video__play,
.akx-fct .akx-fct-video__link:focus-visible .akx-fct-video__play {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.45);
}

.akx-fct-video__description {
	margin: 0;
	font: 400 16px/24px var(--akx-fsh-font);
	color: var(--akx-fsh-text);
}
