/* FSD Video Promo - Footsteps Design Ltd
   Colours and type follow mod_fsd-membership-cta so the panel reads as part of the same row. */

.mod-fsd-video-promo {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
	grid-gap: 30px 40px;
	align-items: center;
	padding: 30px;
	overflow: hidden;
	color: #fff;
	background: rgb(126, 11, 0);
	background: linear-gradient(180deg, rgba(126, 11, 0, 1) 0%, rgba(212, 36, 43, 1) 100%);
}

/* Tyre tracks: same image as the Get Started panel, once bottom right and once flipped top left */
.mod-fsd-video-promo::before,
.mod-fsd-video-promo::after {
	content: "";
	position: absolute;
	width: 842px;
	height: 270px;
	max-width: 90%;
	background: var(--fsd-vp-texture) no-repeat right bottom / contain;
	opacity: .26;
	pointer-events: none;
}

.mod-fsd-video-promo::after {
	right: 0;
	bottom: 0;
}

.mod-fsd-video-promo::before {
	left: 0;
	top: 0;
	transform: rotate(180deg);
	opacity: .12;
}

.mod-fsd-video-promo > * {
	position: relative;
	z-index: 1;
}

.mod-fsd-video-promo--video-right .fsd-vp-media {
	order: 2;
}

/* ---- Video ---- */
.fsd-vp-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #1a0503;
	/* White edge drawn as a shadow ring, not a border: a border sits inside the box and made the
	   space left for the video slightly wider than the video, which showed as thin black bars. */
	box-shadow: 0 0 0 3px #fff, 0 10px 30px rgba(0, 0, 0, .35);
	overflow: hidden;
}

.fsd-vp-frame video,
.fsd-vp-frame iframe,
.fsd-vp-frame .fsd-vp-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	object-fit: cover;
	background: #000;
}

.fsd-vp-frame video {
	object-fit: contain;
}

.fsd-vp-play {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, .18);
	cursor: pointer;
	transition: background-color .2s;
}

.fsd-vp-play[hidden] {
	display: none;
}

.fsd-vp-play-icon {
	width: 92px;
	height: 92px;
	border: 4px solid #fff;
	border-radius: 50%;
	background: rgba(212, 36, 43, .92);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s, background-color .2s;
}

/* Play icons are the site's own Font Awesome icon (same as the JOIN NOW / LETS GO buttons) */
.fsd-vp-play-icon > i {
	margin-left: 6px;
	color: #fff;
	font-size: 40px;
	line-height: 1;
}

.fsd-vp-play:hover,
.fsd-vp-play:focus-visible {
	background: rgba(0, 0, 0, .05);
}

.fsd-vp-play:hover .fsd-vp-play-icon,
.fsd-vp-play:focus-visible .fsd-vp-play-icon {
	transform: scale(1.08);
	background: #0a3c93;
}

.fsd-vp-play:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -6px;
}

/* ---- Text ---- */
.mod-fsd-video-promo .fsd-vp-label {
	display: inline-block;
	margin: 0 0 8px;
	padding: 2px 12px;
	background: #fff;
	color: #b3161c;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.mod-fsd-video-promo .fsd-vp-heading {
	margin: 0 0 16px;
	padding: 0;
	color: #fff;
	font-size: 40px;
	line-height: 1.15;
	text-transform: uppercase;
}

.mod-fsd-video-promo .fsd-vp-bullets {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}

.mod-fsd-video-promo .fsd-vp-bullets li {
	position: relative;
	margin: 0 0 10px;
	padding: 0 0 0 28px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: bold;
}

.mod-fsd-video-promo .fsd-vp-bullets li:last-child {
	margin-bottom: 0;
}

.mod-fsd-video-promo .fsd-vp-bullets li > i {
	position: absolute;
	left: 0;
	top: .32em;
	font-size: .8em;
	line-height: 1;
}

.mod-fsd-video-promo .fsd-vp-button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 15px;
	border: 2px solid #fff;
	border-radius: 50px;
	color: #fff;
	font-size: 25px; /* same as the JOIN NOW / LETS GO buttons */
	font-weight: bold;
	line-height: 1.5;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .2s, color .2s;
}

.mod-fsd-video-promo .fsd-vp-button > i {
	font-size: 1em;
	line-height: 1;
}

/* Slight drop shadow on the white text so it holds up over the tyre tracks */
.mod-fsd-video-promo .fsd-vp-heading,
.mod-fsd-video-promo .fsd-vp-bullets li,
.mod-fsd-video-promo .fsd-vp-button {
	text-shadow: 0 2px 4px rgba(0, 0, 0, .4);
}

.mod-fsd-video-promo .fsd-vp-button:hover,
.mod-fsd-video-promo .fsd-vp-button:focus-visible {
	background: #fff;
	color: #b3161c;
	text-shadow: none;
}

/* ---- Smaller screens (same breakpoints as the membership CTA) ---- */
@media (max-width: 1199px) {
	.mod-fsd-video-promo {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-gap: 30px;
	}

	.mod-fsd-video-promo .fsd-vp-heading {
		font-size: 34px;
	}

	.mod-fsd-video-promo .fsd-vp-bullets li {
		font-size: 18px;
	}
}

@media (max-width: 991px) {
	.mod-fsd-video-promo {
		grid-template-columns: minmax(0, 1fr);
		padding: 20px;
	}

	.mod-fsd-video-promo--video-right .fsd-vp-media {
		order: 0;
	}
}

@media (max-width: 575px) {
	.mod-fsd-video-promo {
		padding: 15px;
		grid-gap: 20px;
	}

	.mod-fsd-video-promo .fsd-vp-heading {
		font-size: 30px;
	}

	.fsd-vp-play-icon {
		width: 72px;
		height: 72px;
	}

	.fsd-vp-play-icon > i {
		margin-left: 5px;
		font-size: 30px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fsd-vp-play,
	.fsd-vp-play-icon,
	.mod-fsd-video-promo .fsd-vp-button {
		transition: none;
	}
}
