/*!
 * Video Testimonial Carousel (CoverMy) - v1.0.0
 * Every rule is scoped to .cm-video-testimonial. No global variables are
 * declared or changed. Instance settings arrive as custom properties in the
 * section's style attribute.
 */

/* ==========================================================================
   1. Component defaults (Soft Pink theme, Classic Black phone)
   ========================================================================== */

.cm-video-testimonial {
	/* Phone frame colours. Each instance overrides these inline. */
	--cm-phone-frame-color: #111111;
	--cm-phone-bezel-color: #111111;
	--cm-phone-border-color: #333333;
	--cm-phone-camera-color: #111111;

	/* Colour theme: Soft Pink (sampled from the approved design). */
	--cmvt-bg: #fbe3f3;
	--cmvt-bg-2: #f8d9ee;
	--cmvt-wave-1: #f8d2eb;
	--cmvt-wave-2: #f5bfe2;
	--cmvt-wave-3: #ec9ccf;
	--cmvt-accent: #b3056f;
	--cmvt-pill-bg: rgba(255, 255, 255, 0.45);
	--cmvt-pill-border: #ebb3d6;
	--cmvt-heading: #0d1f4d;
	--cmvt-text: #4a4f63;
	--cmvt-arrow-bg: #0f1f48;
	--cmvt-arrow-icon: #ffffff;
	--cmvt-dot: #d59fc4;
	--cmvt-dot-ring: #ce59a1;
	--cmvt-dot-active: #b3056f;
	--cmvt-ring-1: #e05aa8;
	--cmvt-ring-2: #b3056f;
	--cmvt-shadow-rgb: 179 5 111;
	--cmvt-grad-from: #fdeaf6;
	--cmvt-grad-to: #f5cbe6;
	--cmvt-focus: #0f1f48;

	/* Layout. Responsive values are picked below. */
	--cmvt-n: 3;
	--cmvt-v-d: 3;
	--cmvt-v-t: 2;
	--cmvt-v-m: 1;
	--cmvt-w-d: 186px;
	--cmvt-w-t: 210px;
	--cmvt-w-m: 230px;
	--cmvt-gap-d: 88px;
	--cmvt-gap-t: 40px;
	--cmvt-gap-m: 16px;
	--cmvt-speed: 450ms;
	--cmvt-pad-top: 32px;
	--cmvt-pad-bottom: 28px;
	--cmvt-pad-top-m: 28px;
	--cmvt-pad-bottom-m: 24px;

	--cmvt-v: var(--cmvt-v-m);
	--cmvt-w: var(--cmvt-w-m);
	--cmvt-gap: var(--cmvt-gap-m);
	--cmvt-arrow-size: 40px;
	--cmvt-arrow-gap: 10px;
	--cmvt-arrow-space: 0px;
	--cmvt-ratio: 9 / 16;
	--cmvt-ratio-pct: 177.7778%;
}

/* ==========================================================================
   2. Colour themes
   ========================================================================== */

.cm-video-testimonial.cmvt--theme-clean_white {
	--cmvt-bg: #ffffff;
	--cmvt-bg-2: #f7f8fb;
	--cmvt-wave-1: #f1f3f8;
	--cmvt-wave-2: #e7eaf3;
	--cmvt-wave-3: #d7dcea;
	--cmvt-accent: #1f3c88;
	--cmvt-pill-bg: #f3f5fa;
	--cmvt-pill-border: #d5dbea;
	--cmvt-heading: #0d1f4d;
	--cmvt-text: #4a4f63;
	--cmvt-dot: #c3cadc;
	--cmvt-dot-ring: #8292bc;
	--cmvt-dot-active: #1f3c88;
	--cmvt-ring-1: #6f8fe0;
	--cmvt-ring-2: #1f3c88;
	--cmvt-shadow-rgb: 15 31 72;
	--cmvt-grad-from: #ffffff;
	--cmvt-grad-to: #eef1f8;
}

.cm-video-testimonial.cmvt--theme-light_blue {
	--cmvt-bg: #e8f3fd;
	--cmvt-bg-2: #dcecfb;
	--cmvt-wave-1: #d6e9fb;
	--cmvt-wave-2: #b9d9f6;
	--cmvt-wave-3: #93c3ef;
	--cmvt-accent: #0b5cad;
	--cmvt-pill-bg: rgba(255, 255, 255, 0.5);
	--cmvt-pill-border: #a9cdf2;
	--cmvt-heading: #0d1f4d;
	--cmvt-text: #3f4d63;
	--cmvt-dot: #9fc4ea;
	--cmvt-dot-ring: #568fc8;
	--cmvt-dot-active: #0b5cad;
	--cmvt-ring-1: #4aa3f0;
	--cmvt-ring-2: #0b5cad;
	--cmvt-shadow-rgb: 11 92 173;
	--cmvt-grad-from: #f0f7fe;
	--cmvt-grad-to: #d3e7fa;
}

.cm-video-testimonial.cmvt--theme-soft_cream {
	--cmvt-bg: #fdf6ea;
	--cmvt-bg-2: #faefdc;
	--cmvt-wave-1: #f7ead2;
	--cmvt-wave-2: #f0dcb8;
	--cmvt-wave-3: #e5c896;
	--cmvt-accent: #96520f;
	--cmvt-pill-bg: rgba(255, 255, 255, 0.55);
	--cmvt-pill-border: #e7cfa6;
	--cmvt-heading: #0d1f4d;
	--cmvt-text: #5a4a3a;
	--cmvt-dot: #e0c69c;
	--cmvt-dot-ring: #b58351;
	--cmvt-dot-active: #96520f;
	--cmvt-ring-1: #e0a352;
	--cmvt-ring-2: #96520f;
	--cmvt-shadow-rgb: 150 82 15;
	--cmvt-grad-from: #fffaf1;
	--cmvt-grad-to: #f5e6c8;
}

.cm-video-testimonial.cmvt--theme-blush_lavender {
	--cmvt-bg: #f5f0fc;
	--cmvt-bg-2: #eee6fa;
	--cmvt-wave-1: #ebe1f9;
	--cmvt-wave-2: #d9c9f4;
	--cmvt-wave-3: #c2aaec;
	--cmvt-accent: #6b3fb5;
	--cmvt-pill-bg: rgba(255, 255, 255, 0.55);
	--cmvt-pill-border: #d3c2f0;
	--cmvt-heading: #0d1f4d;
	--cmvt-text: #4b4463;
	--cmvt-dot: #c9b6ee;
	--cmvt-dot-ring: #9a7bcd;
	--cmvt-dot-active: #6b3fb5;
	--cmvt-ring-1: #a77ff0;
	--cmvt-ring-2: #6b3fb5;
	--cmvt-shadow-rgb: 107 63 181;
	--cmvt-grad-from: #faf7fe;
	--cmvt-grad-to: #e6dbf8;
}

/* ==========================================================================
   3. Responsive layout values
   ========================================================================== */

@media (min-width: 768px) {
	.cm-video-testimonial {
		--cmvt-v: var(--cmvt-v-t);
		--cmvt-w: var(--cmvt-w-t);
		--cmvt-gap: var(--cmvt-gap-t);
		--cmvt-arrow-size: 44px;
		--cmvt-arrow-gap: 24px;
	}

	.cm-video-testimonial.cmvt--arrows-t {
		--cmvt-arrow-space: calc(var(--cmvt-arrow-size) + var(--cmvt-arrow-gap));
	}
}

@media (min-width: 1024px) {
	.cm-video-testimonial {
		--cmvt-v: var(--cmvt-v-d);
		--cmvt-w: var(--cmvt-w-d);
		--cmvt-gap: var(--cmvt-gap-d);
		--cmvt-arrow-size: 46px;
		--cmvt-arrow-gap: 56px;
	}

	.cm-video-testimonial.cmvt--arrows-t {
		--cmvt-arrow-space: 0px;
	}

	.cm-video-testimonial.cmvt--arrows-d {
		--cmvt-arrow-space: calc(var(--cmvt-arrow-size) + var(--cmvt-arrow-gap));
	}
}

@media (max-width: 767px) {
	.cm-video-testimonial.cmvt--arrows-m {
		--cmvt-arrow-space: calc(var(--cmvt-arrow-size) + var(--cmvt-arrow-gap));
	}
}

.cm-video-testimonial.cmvt--ratio-9x19 { --cmvt-ratio: 9 / 19.5; --cmvt-ratio-pct: 216.6667%; }
.cm-video-testimonial.cmvt--ratio-4x5 { --cmvt-ratio: 4 / 5; --cmvt-ratio-pct: 125%; }
.cm-video-testimonial.cmvt--ratio-1x1 { --cmvt-ratio: 1 / 1; --cmvt-ratio-pct: 100%; }
.cm-video-testimonial.cmvt--ratio-16x9 { --cmvt-ratio: 16 / 9; --cmvt-ratio-pct: 56.25%; }

/* ==========================================================================
   4. Scoped reset (keeps the theme's global element styles out)
   ========================================================================== */

.cm-video-testimonial,
.cm-video-testimonial *,
.cm-video-testimonial *::before,
.cm-video-testimonial *::after {
	box-sizing: border-box;
}

.cm-video-testimonial [hidden] {
	display: none !important;
}

.cm-video-testimonial button {
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	min-width: 0;
	min-height: 0;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.cm-video-testimonial svg {
	display: block;
	overflow: visible;
}

.cm-video-testimonial video,
.cm-video-testimonial img {
	max-width: none;
}

.cm-video-testimonial .cmvt__sr {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ==========================================================================
   5. Section and backgrounds
   ========================================================================== */

.cm-video-testimonial {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin: 0;
	padding: var(--cmvt-pad-top-m) 0 var(--cmvt-pad-bottom-m);
	color: var(--cmvt-text);
	font-family: inherit;
	text-align: left;
}

@media (min-width: 768px) {
	.cm-video-testimonial {
		padding-top: var(--cmvt-pad-top);
		padding-bottom: var(--cmvt-pad-bottom);
	}
}

.cm-video-testimonial .cmvt__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.cm-video-testimonial.cmvt--bg-solid .cmvt__bg,
.cm-video-testimonial.cmvt--bg-circles .cmvt__bg {
	background: var(--cmvt-bg);
}

.cm-video-testimonial.cmvt--bg-gradient .cmvt__bg {
	background: linear-gradient(var(--cmvt-grad-angle, 160deg), var(--cmvt-grad-from), var(--cmvt-grad-to));
}

/* Waves: wavy top edge, a deeper band at the top, layered corner waves at the bottom. */
.cm-video-testimonial .cmvt__bg-fill {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(clamp(34px, 5vw, 72px) - 2px);
	bottom: 0;
	background: linear-gradient(180deg, var(--cmvt-bg) 0%, var(--cmvt-bg-2) 100%);
}

.cm-video-testimonial .cmvt__wave {
	position: absolute;
	display: block;
}

.cm-video-testimonial .cmvt__wave--top {
	top: 0;
	left: 0;
	width: 100%;
	height: clamp(34px, 5vw, 72px);
}

.cm-video-testimonial .cmvt__wave--bl,
.cm-video-testimonial .cmvt__wave--br {
	bottom: 0;
}

.cm-video-testimonial .cmvt__wave--bl {
	left: 0;
	width: 26%;
	height: clamp(24px, 3.7vw, 54px);
}

.cm-video-testimonial .cmvt__wave--br {
	right: 0;
	width: 30%;
	height: clamp(28px, 4.3vw, 64px);
}

@media (max-width: 767px) {
	.cm-video-testimonial .cmvt__wave--bl { width: 44%; }
	.cm-video-testimonial .cmvt__wave--br { width: 50%; }
}

.cm-video-testimonial .cmvt__wave-a { fill: var(--cmvt-wave-1); }
.cm-video-testimonial .cmvt__wave-b { fill: var(--cmvt-bg); }
.cm-video-testimonial .cmvt__wave-c { fill: var(--cmvt-wave-2); }
.cm-video-testimonial .cmvt__wave-d { fill: var(--cmvt-wave-3); }

/* Soft floating circles */
.cm-video-testimonial .cmvt__circle {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
	opacity: 0.75;
}

.cm-video-testimonial .cmvt__circle--1 {
	width: 34vmax; height: 34vmax; max-width: 460px; max-height: 460px;
	left: -10%; top: -30%;
	background: radial-gradient(circle at 50% 50%, var(--cmvt-wave-2) 0%, rgba(255, 255, 255, 0) 70%);
}

.cm-video-testimonial .cmvt__circle--2 {
	width: 26vmax; height: 26vmax; max-width: 360px; max-height: 360px;
	right: -6%; top: 6%;
	background: radial-gradient(circle at 50% 50%, var(--cmvt-wave-1) 0%, rgba(255, 255, 255, 0) 70%);
}

.cm-video-testimonial .cmvt__circle--3 {
	width: 30vmax; height: 30vmax; max-width: 420px; max-height: 420px;
	right: 18%; bottom: -40%;
	background: radial-gradient(circle at 50% 50%, var(--cmvt-wave-3) 0%, rgba(255, 255, 255, 0) 68%);
	opacity: 0.45;
}

.cm-video-testimonial .cmvt__circle--4 {
	width: 18vmax; height: 18vmax; max-width: 240px; max-height: 240px;
	left: 22%; bottom: -12%;
	background: radial-gradient(circle at 50% 50%, var(--cmvt-wave-2) 0%, rgba(255, 255, 255, 0) 70%);
	opacity: 0.6;
}

/* Image with colour overlay */
.cm-video-testimonial.cmvt--bg-image .cmvt__bg {
	background: var(--cmvt-bg);
}

.cm-video-testimonial .cmvt__bg-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cm-video-testimonial .cmvt__bg-overlay {
	position: absolute;
	inset: 0;
	background: var(--cmvt-overlay, #ffffff);
	opacity: var(--cmvt-overlay-opacity, 0.6);
}

.cm-video-testimonial .cmvt__inner {
	position: relative;
	z-index: 1;
	padding-left: 16px;
	padding-right: 16px;
}

@media (min-width: 768px) {
	.cm-video-testimonial .cmvt__inner {
		padding-left: 24px;
		padding-right: 24px;
	}
}

.cm-video-testimonial.cmvt--width-full .cmvt__inner {
	max-width: 1530px;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 1024px) {
	.cm-video-testimonial.cmvt--width-full .cmvt__inner {
		padding-left: 60px;
		padding-right: 60px;
	}
}

/* ==========================================================================
   6. Header
   ========================================================================== */

.cm-video-testimonial .cmvt__header {
	max-width: 780px;
	margin: 0 auto 18px;
	text-align: center;
}

.cm-video-testimonial .cmvt__eyebrow {
	margin: 0 0 8px;
	padding: 0;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--cmvt-accent);
}

.cm-video-testimonial .cmvt__eyebrow span {
	display: inline-block;
	padding: 7px 18px;
	border: 1px solid var(--cmvt-pill-border);
	border-radius: 999px;
	background: var(--cmvt-pill-bg);
	color: var(--cmvt-accent);
}

.cm-video-testimonial .cmvt__title {
	margin: 0;
	padding: 0;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	/* The theme forces every h2 to #202946 with !important (footer.twig);
	   this keeps the colour theme's heading colour inside this component only.
	   The font family is left to the site (Exo). */
	color: var(--cmvt-heading) !important;
	text-align: center;
	text-transform: none;
}

@media (min-width: 768px) {
	.cm-video-testimonial .cmvt__title { font-size: 34px; }
}

@media (min-width: 1024px) {
	.cm-video-testimonial .cmvt__title { font-size: 40px; }
}

.cm-video-testimonial .cmvt__intro {
	margin: 10px auto 0;
	max-width: 620px;
}

.cm-video-testimonial .cmvt__intro p {
	margin: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--cmvt-text);
}

/* ==========================================================================
   7. Carousel
   ========================================================================== */

.cm-video-testimonial .cmvt__carousel {
	position: relative;
}

.cm-video-testimonial .cmvt__stage {
	container-type: inline-size;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	--cmvt-vis: min(var(--cmvt-v), var(--cmvt-n));
}

.cm-video-testimonial .cmvt__viewport {
	--cmvt-slide-w: var(--cmvt-w);
	position: relative;
	flex: 0 0 auto;
	width: calc(var(--cmvt-vis) * var(--cmvt-slide-w) + (var(--cmvt-vis) - 1) * var(--cmvt-gap));
	max-width: 100%;
	min-width: 0;
}

@supports (width: 1cqi) {
	.cm-video-testimonial .cmvt__viewport {
		--cmvt-slide-w: max(96px, min(var(--cmvt-w), (100cqi - 2 * var(--cmvt-arrow-space) - (var(--cmvt-vis) - 1) * var(--cmvt-gap)) / var(--cmvt-vis)));
	}
}

/* Without JavaScript (and before it starts): a swipeable row. */
.cm-video-testimonial .cmvt__track {
	display: flex;
	gap: var(--cmvt-gap);
	margin: -24px 0 -48px;
	padding: 24px 0 48px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.cm-video-testimonial .cmvt__track::-webkit-scrollbar {
	display: none;
}

.cm-video-testimonial .cmvt__slide {
	flex: 0 0 var(--cmvt-slide-w);
	width: var(--cmvt-slide-w);
	min-width: 0;
	scroll-snap-align: start;
}

/* With JavaScript: slides stack in one grid cell and move with transforms. */
.cm-video-testimonial.cmvt--js .cmvt__track {
	display: grid;
	grid-template-columns: var(--cmvt-slide-w);
	align-items: start;
	justify-content: start;
	/* The shadow room is only needed by the scrolling row; here it would sit
	   over the dots and block clicks. Padding and margin cancel, so the
	   layout does not move. */
	margin: 0;
	padding: 0;
	overflow: visible;
	scroll-snap-type: none;
	touch-action: pan-y pinch-zoom;
}

.cm-video-testimonial.cmvt--js .cmvt__slide {
	grid-area: 1 / 1;
	will-change: transform, opacity;
}

.cm-video-testimonial .cmvt__item {
	position: relative;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

/* Arrows */
.cm-video-testimonial .cmvt__arrow {
	position: relative;
	z-index: 3;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: var(--cmvt-arrow-size);
	height: var(--cmvt-arrow-size);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--cmvt-arrow-bg);
	color: var(--cmvt-arrow-icon);
	box-shadow: 0 6px 14px rgba(15, 31, 72, 0.22);
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.cm-video-testimonial .cmvt__arrow svg {
	width: 56%;
	height: 56%;
}

.cm-video-testimonial .cmvt__arrow--prev { margin-right: var(--cmvt-arrow-gap); }
.cm-video-testimonial .cmvt__arrow--next { margin-left: var(--cmvt-arrow-gap); }

.cm-video-testimonial .cmvt__arrow:hover {
	transform: scale(1.06);
	box-shadow: 0 8px 18px rgba(15, 31, 72, 0.28);
}

.cm-video-testimonial .cmvt__arrow:active {
	transform: scale(0.97);
}

.cm-video-testimonial .cmvt__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	transform: none;
	box-shadow: none;
}

/* Dots and auto-advance button */
.cm-video-testimonial .cmvt__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

@media (max-width: 767px) {
	.cm-video-testimonial.cmvt--dots-m .cmvt__nav { min-height: 24px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	.cm-video-testimonial.cmvt--dots-t .cmvt__nav { min-height: 24px; }
}

@media (min-width: 1024px) {
	.cm-video-testimonial.cmvt--dots-d .cmvt__nav { min-height: 24px; }
}

.cm-video-testimonial .cmvt__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
}

.cm-video-testimonial .cmvt__dot {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.cm-video-testimonial .cmvt__dot::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--cmvt-dot);
	box-shadow: inset 0 0 0 1px var(--cmvt-dot-ring);
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cm-video-testimonial .cmvt__dot:hover::before {
	transform: scale(1.15);
}

.cm-video-testimonial .cmvt__dot[aria-current="true"]::before {
	background: var(--cmvt-dot-active);
	box-shadow: none;
}

.cm-video-testimonial .cmvt__autoplay {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 1px solid var(--cmvt-dot-ring);
	border-radius: 50%;
	background: transparent;
	color: var(--cmvt-dot-active);
	cursor: pointer;
}

.cm-video-testimonial .cmvt__autoplay svg { width: 14px; height: 14px; }
.cm-video-testimonial .cmvt__autoplay .cmvt__i-play { display: none; }
.cm-video-testimonial .cmvt__autoplay.is-paused .cmvt__i-play { display: block; }
.cm-video-testimonial .cmvt__autoplay.is-paused .cmvt__i-pause { display: none; }

/* ==========================================================================
   8. Frames
   ========================================================================== */

.cm-video-testimonial .cmvt__frame {
	position: relative;
	width: 100%;
	/* 1% of the slide width: phone details scale with the phone. */
	--u: calc(var(--cmvt-slide-w) / 100);
}

.cm-video-testimonial .cmvt__screen {
	position: relative;
	z-index: 0;
	width: 100%;
	aspect-ratio: var(--cmvt-ratio);
	overflow: hidden;
	background: #000000;
	isolation: isolate;
	-webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari: clip video to rounded corners */
}

@supports not (aspect-ratio: 1 / 1) {
	.cm-video-testimonial .cmvt__screen::before {
		content: "";
		display: block;
		padding-top: var(--cmvt-ratio-pct);
	}
}

/* ---------- Phone (shared) ---------- */

.cm-video-testimonial .cmvt__phone {
	--pf: 4.4;   /* frame thickness, % of width */
	--pb: 1.2;   /* inner bezel, % of width */
	--pr: 14;    /* corner radius, % of width */
	--pbw: 2px;  /* border thickness */
	--p: calc(var(--u) * var(--pf));
	--b: calc(var(--u) * var(--pb));
	--r: var(--cm-phone-radius, calc(var(--u) * var(--pr)));
	--bw: var(--cm-phone-border-width, var(--pbw));
	position: relative;
	padding: var(--p);
	border-radius: var(--r);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 38%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.14) 100%),
		var(--cm-phone-frame-color);
	box-shadow: 0 0 0 var(--bw) var(--cm-phone-border-color), var(--cmvt-phone-shadow, 0 0 0 0 transparent);
}

.cm-video-testimonial .cmvt__bezel {
	padding: var(--b);
	border-radius: max(0px, var(--r) - var(--p));
	background: var(--cm-phone-bezel-color);
}

.cm-video-testimonial .cmvt__phone .cmvt__screen {
	border-radius: max(0px, var(--r) - var(--p) - var(--b));
}

/* Side keys, drawn in the border colour just outside the frame. */
.cm-video-testimonial .cmvt__keys {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.cm-video-testimonial .cmvt__keys::before,
.cm-video-testimonial .cmvt__keys::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: max(2px, calc(var(--u) * 1.3));
	border-radius: 2px;
}

.cm-video-testimonial .cmvt__keys::before {
	left: calc(-1 * var(--bw) - max(2px, calc(var(--u) * 1.3)) + 1px);
	background: linear-gradient(180deg,
		transparent 0 15%, var(--cm-phone-border-color) 15% 20%,
		transparent 20% 25%, var(--cm-phone-border-color) 25% 34%,
		transparent 34% 37%, var(--cm-phone-border-color) 37% 46%,
		transparent 46% 100%);
}

.cm-video-testimonial .cmvt__keys::after {
	right: calc(-1 * var(--bw) - max(2px, calc(var(--u) * 1.3)) + 1px);
	background: linear-gradient(180deg,
		transparent 0 27%, var(--cm-phone-border-color) 27% 41%,
		transparent 41% 100%);
}

/* Camera cutout (shape set per design). */
.cm-video-testimonial .cmvt__cam {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	display: block;
	pointer-events: none;
	background: var(--cm-phone-camera-color);
}

.cm-video-testimonial .cmvt__lens {
	position: absolute;
	display: block;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #4a5b80 0%, #1a2440 45%, #05070d 75%);
}

.cm-video-testimonial.cmvt--no-camera .cmvt__cam {
	display: none;
}

/* Shadow intensity (tinted by the colour theme) */
.cm-video-testimonial.cmvt--shadow-light .cmvt__phone {
	--cmvt-phone-shadow: 0 10px 22px -8px rgb(var(--cmvt-shadow-rgb) / 0.28);
}

.cm-video-testimonial.cmvt--shadow-medium .cmvt__phone {
	--cmvt-phone-shadow: 0 18px 34px -10px rgb(var(--cmvt-shadow-rgb) / 0.36), 0 6px 12px -6px rgba(0, 0, 0, 0.22);
}

.cm-video-testimonial.cmvt--shadow-strong .cmvt__phone {
	--cmvt-phone-shadow: 0 28px 52px -12px rgb(var(--cmvt-shadow-rgb) / 0.5), 0 10px 18px -8px rgba(0, 0, 0, 0.32);
}

/* ---------- 1. Classic iPhone Style: notch, thick frame, side keys ---------- */

.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__phone { --pf: 4.4; --pb: 1.2; --pr: 14; --pbw: 2px; }

.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__cam {
	width: 46%;
	height: calc(var(--u) * 6.2);
	border-radius: 0 0 calc(var(--u) * 3.6) calc(var(--u) * 3.6);
}

.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__cam::before,
.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__cam::after {
	content: "";
	position: absolute;
	top: 0;
	width: calc(var(--u) * 1.8);
	height: calc(var(--u) * 1.8);
}

.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__cam::before {
	right: 100%;
	background: radial-gradient(circle at 0 100%, transparent calc(var(--u) * 1.8 - 0.5px), var(--cm-phone-camera-color) calc(var(--u) * 1.8));
}

.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__cam::after {
	left: 100%;
	background: radial-gradient(circle at 100% 100%, transparent calc(var(--u) * 1.8 - 0.5px), var(--cm-phone-camera-color) calc(var(--u) * 1.8));
}

.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__lens {
	width: calc(var(--u) * 2.4);
	height: calc(var(--u) * 2.4);
	top: calc(var(--u) * 1.7);
	right: 22%;
}

.cm-video-testimonial.cmvt--phone-classic_iphone .cmvt__lens::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(100% + var(--u) * 3.4);
	width: calc(var(--u) * 10);
	height: calc(var(--u) * 1);
	transform: translateY(-50%);
	border-radius: 999px;
	background: #2b2b2b;
}

/* ---------- 2. Modern iPhone Style: Dynamic Island, slimmer frame ---------- */

.cm-video-testimonial.cmvt--phone-modern_iphone .cmvt__phone { --pf: 2.6; --pb: 1.6; --pr: 15.5; --pbw: 2px; }

.cm-video-testimonial.cmvt--phone-modern_iphone .cmvt__cam,
.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__cam {
	top: calc(var(--u) * 2.6);
	width: 33%;
	height: calc(var(--u) * 8.8);
	border-radius: 999px;
}

.cm-video-testimonial.cmvt--phone-modern_iphone .cmvt__lens,
.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__lens {
	width: calc(var(--u) * 3);
	height: calc(var(--u) * 3);
	top: 50%;
	right: calc(var(--u) * 2.6);
	transform: translateY(-50%);
}

/* ---------- 3. Samsung Galaxy Style: punch hole, thin even bezels, keys on the right ---------- */

.cm-video-testimonial.cmvt--phone-samsung_galaxy .cmvt__phone { --pf: 1.8; --pb: 1.6; --pr: 8; --pbw: 1.5px; }

.cm-video-testimonial.cmvt--phone-samsung_galaxy .cmvt__keys::before { display: none; }

.cm-video-testimonial.cmvt--phone-samsung_galaxy .cmvt__keys::after {
	background: linear-gradient(180deg,
		transparent 0 20%, var(--cm-phone-border-color) 20% 33%,
		transparent 33% 37%, var(--cm-phone-border-color) 37% 44%,
		transparent 44% 100%);
}

.cm-video-testimonial.cmvt--phone-samsung_galaxy .cmvt__cam,
.cm-video-testimonial.cmvt--phone-google_pixel .cmvt__cam,
.cm-video-testimonial.cmvt--phone-minimal_smartphone .cmvt__cam {
	top: calc(var(--u) * 2.8);
	width: calc(var(--u) * 4.4);
	height: calc(var(--u) * 4.4);
	border-radius: 50%;
}

.cm-video-testimonial.cmvt--phone-samsung_galaxy .cmvt__lens,
.cm-video-testimonial.cmvt--phone-google_pixel .cmvt__lens,
.cm-video-testimonial.cmvt--phone-minimal_smartphone .cmvt__lens {
	inset: 24%;
}

/* ---------- 4. Google Pixel Style: rounder corners, larger punch hole ---------- */

.cm-video-testimonial.cmvt--phone-google_pixel .cmvt__phone { --pf: 3.2; --pb: 1.8; --pr: 11; --pbw: 2px; }

.cm-video-testimonial.cmvt--phone-google_pixel .cmvt__keys::before { display: none; }

.cm-video-testimonial.cmvt--phone-google_pixel .cmvt__keys::after {
	background: linear-gradient(180deg,
		transparent 0 18%, var(--cm-phone-border-color) 18% 24%,
		transparent 24% 29%, var(--cm-phone-border-color) 29% 42%,
		transparent 42% 100%);
}

.cm-video-testimonial.cmvt--phone-google_pixel .cmvt__cam {
	top: calc(var(--u) * 3.2);
	width: calc(var(--u) * 5);
	height: calc(var(--u) * 5);
}

/* ---------- 5. Minimal Smartphone Style: flat, no keys, tiny camera ---------- */

.cm-video-testimonial.cmvt--phone-minimal_smartphone .cmvt__phone { --pf: 2; --pb: 0; --pr: 7; --pbw: 1px; }

.cm-video-testimonial.cmvt--phone-minimal_smartphone .cmvt__phone {
	background: var(--cm-phone-frame-color);
}

.cm-video-testimonial.cmvt--phone-minimal_smartphone .cmvt__keys { display: none; }

.cm-video-testimonial.cmvt--phone-minimal_smartphone .cmvt__cam {
	width: calc(var(--u) * 3.4);
	height: calc(var(--u) * 3.4);
}

/* ---------- 6. Premium Floating Smartphone: island, gloss, gentle float ---------- */

.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__phone {
	--pf: 2.6; --pb: 1.4; --pr: 16; --pbw: 2px;
	animation: cmvt-float 6s ease-in-out infinite;
}

.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__slide:nth-child(3n+2) .cmvt__phone { animation-delay: -2s; }
.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__slide:nth-child(3n+3) .cmvt__phone { animation-delay: -4s; }

.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__slide.is-playing .cmvt__phone {
	animation-play-state: paused;
}

/* Gloss on the frame only (the screen is masked out). */
.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__phone::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	padding: var(--p);
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(120deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.25) 100%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* Ground shadow that breathes with the float. */
.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__frame::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 16%;
	right: 16%;
	bottom: calc(var(--u) * -9);
	height: calc(var(--u) * 6);
	border-radius: 50%;
	background: rgb(var(--cmvt-shadow-rgb) / 0.38);
	filter: blur(8px);
	animation: cmvt-float-shadow 6s ease-in-out infinite;
}

.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__slide:nth-child(3n+2) .cmvt__frame::after { animation-delay: -2s; }
.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__slide:nth-child(3n+3) .cmvt__frame::after { animation-delay: -4s; }
.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__slide.is-playing .cmvt__frame::after { animation-play-state: paused; }
.cm-video-testimonial.cmvt--phone-premium_floating.cmvt--shadow-none .cmvt__frame::after { display: none; }
.cm-video-testimonial.cmvt--phone-premium_floating.cmvt--shadow-light .cmvt__frame::after { opacity: 0.6; }
.cm-video-testimonial.cmvt--phone-premium_floating.cmvt--shadow-strong .cmvt__frame::after { background: rgb(var(--cmvt-shadow-rgb) / 0.55); }

.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__frame {
	padding-bottom: calc(var(--u) * 4);
}

@keyframes cmvt-float {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, calc(var(--u, 2px) * -3.5), 0); }
}

@keyframes cmvt-float-shadow {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(0.84); opacity: 0.7; }
}

/* ---------- Card frames ---------- */

.cm-video-testimonial.cmvt--frame-rounded .cmvt__card,
.cm-video-testimonial.cmvt--frame-rounded .cmvt__screen {
	border-radius: 20px;
}

.cm-video-testimonial.cmvt--frame-rounded .cmvt__card {
	box-shadow: 0 16px 32px -12px rgb(var(--cmvt-shadow-rgb) / 0.4);
}

.cm-video-testimonial.cmvt--frame-bordered .cmvt__card {
	padding: 8px;
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 14px 28px -12px rgb(var(--cmvt-shadow-rgb) / 0.4), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cm-video-testimonial.cmvt--frame-bordered .cmvt__screen {
	border-radius: 4px;
}

.cm-video-testimonial.cmvt--frame-gradient .cmvt__card {
	padding: 6px;
	border-radius: 26px;
	background: linear-gradient(135deg, var(--cmvt-ring-1), var(--cmvt-ring-2));
	box-shadow: 0 16px 30px -14px rgb(var(--cmvt-shadow-rgb) / 0.5);
}

.cm-video-testimonial.cmvt--frame-gradient .cmvt__screen {
	border-radius: 20px;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.cm-video-testimonial.cmvt--frame-minimal .cmvt__screen {
	border-radius: 12px;
}

/* ==========================================================================
   9. Media, play button and controls
   ========================================================================== */

.cm-video-testimonial .cmvt__video,
.cm-video-testimonial .cmvt__poster {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	background: #000000;
	border: 0;
}

.cm-video-testimonial.cmvt--fit-contain .cmvt__video,
.cm-video-testimonial.cmvt--fit-contain .cmvt__poster {
	object-fit: contain;
}

.cm-video-testimonial .cmvt__poster {
	z-index: 1;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.cm-video-testimonial .cmvt__slide.is-started .cmvt__poster {
	opacity: 0;
}

.cm-video-testimonial .cmvt__video::cue {
	font-size: 13px;
	line-height: 1.35;
	background: rgba(0, 0, 0, 0.72);
}

/* Big play button: covers the video so a tap anywhere plays or pauses. */
.cm-video-testimonial .cmvt__play {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
}

.cm-video-testimonial .cmvt__play-ring {
	display: grid;
	place-items: center;
	width: clamp(36px, calc(var(--u) * 21), 60px);
	height: clamp(36px, calc(var(--u) * 21), 60px);
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.32);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.cm-video-testimonial .cmvt__play-ring svg {
	width: 46%;
	height: 46%;
	margin-left: 8%;
}

.cm-video-testimonial .cmvt__play:hover .cmvt__play-ring {
	transform: scale(1.08);
	background: rgba(0, 0, 0, 0.45);
}

.cm-video-testimonial .cmvt__slide.is-playing .cmvt__play-ring,
.cm-video-testimonial .cmvt__slide.is-previewing .cmvt__play-ring {
	opacity: 0;
	transform: scale(0.85);
}

.cm-video-testimonial .cmvt__hint {
	position: absolute;
	z-index: 4;
	left: 50%;
	top: calc(var(--u) * 14);
	transform: translateX(-50%);
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	white-space: nowrap;
	pointer-events: none;
}

.cm-video-testimonial .cmvt__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 22px 8px 7px;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 55%, rgba(0, 0, 0, 0) 100%);
	color: #ffffff;
}

.cm-video-testimonial .cmvt__phone .cmvt__controls {
	padding-bottom: max(7px, calc(var(--u) * 3));
}

.cm-video-testimonial .cmvt__bar {
	display: flex;
	align-items: center;
	gap: 2px;
}

.cm-video-testimonial .cmvt__btn {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
}

.cm-video-testimonial .cmvt__btn svg {
	width: 18px;
	height: 18px;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.cm-video-testimonial .cmvt__btn:hover {
	background: rgba(255, 255, 255, 0.14);
}

.cm-video-testimonial .cmvt__btn--cc[aria-pressed="true"] {
	background: rgba(255, 255, 255, 0.24);
}

.cm-video-testimonial .cmvt__i-pause,
.cm-video-testimonial .cmvt__i-muted {
	display: none;
}

.cm-video-testimonial .cmvt__slide.is-playing .cmvt__btn--toggle .cmvt__i-play { display: none; }
.cm-video-testimonial .cmvt__slide.is-playing .cmvt__btn--toggle .cmvt__i-pause { display: block; }
.cm-video-testimonial .cmvt__slide.is-muted .cmvt__btn--mute .cmvt__i-sound { display: none; }
.cm-video-testimonial .cmvt__slide.is-muted .cmvt__btn--mute .cmvt__i-muted { display: block; }

.cm-video-testimonial .cmvt__time {
	padding: 0 3px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
	color: #ffffff;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.cm-video-testimonial .cmvt__spacer {
	flex: 1 1 auto;
}

/* :not(#_) lifts specificity above the theme's global
   input:not([type=submit]):not([type=checkbox]):not([type=radio]) rule. */
.cm-video-testimonial input.cmvt__seek:not(#_),
.cm-video-testimonial input.cmvt__seek:not(#_):focus {
	--pct: 0%;
	display: block;
	width: 100%;
	height: 16px;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	outline: 0;
	font-size: 11px;
	background: transparent;
	box-shadow: none;
	line-height: 1;
	transition: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	touch-action: none;
}

.cm-video-testimonial input.cmvt__seek:not(#_):focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 1px;
}

.cm-video-testimonial .cmvt__seek::-webkit-slider-runnable-track {
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(#ffffff, #ffffff) 0 0 / var(--pct) 100% no-repeat, rgba(255, 255, 255, 0.38);
}

.cm-video-testimonial .cmvt__seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 11px;
	height: 11px;
	margin-top: -4px;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.cm-video-testimonial .cmvt__seek::-moz-range-track {
	height: 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.38);
}

.cm-video-testimonial .cmvt__seek::-moz-range-progress {
	height: 3px;
	border-radius: 3px;
	background: #ffffff;
}

.cm-video-testimonial .cmvt__seek::-moz-range-thumb {
	width: 11px;
	height: 11px;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   10. Caption (optional)
   ========================================================================== */

.cm-video-testimonial .cmvt__caption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 14px 0 0;
	padding: 0;
	text-align: center;
	font-family: inherit;
}

.cm-video-testimonial.cmvt--phone-premium_floating .cmvt__caption {
	margin-top: 8px;
}

.cm-video-testimonial .cmvt__quote {
	margin-bottom: 6px;
	font-size: 14px;
	font-style: italic;
	font-weight: 500;
	line-height: 1.45;
	color: var(--cmvt-text);
}

.cm-video-testimonial .cmvt__name {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--cmvt-heading);
}

.cm-video-testimonial .cmvt__detail {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--cmvt-text);
}

/* ==========================================================================
   11. Popup player
   ========================================================================== */

.cm-video-testimonial .cmvt__dialog {
	width: min(92vw, 560px);
	max-width: 92vw;
	max-height: 94vh;
	margin: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	overflow: visible;
}

.cm-video-testimonial .cmvt__dialog::backdrop {
	background: rgba(8, 12, 28, 0.82);
}

.cm-video-testimonial .cmvt__dialog-box {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding-top: 52px;
}

.cm-video-testimonial .cmvt__dialog-media {
	display: flex;
	justify-content: center;
	width: 100%;
}

.cm-video-testimonial .cmvt__dialog-video {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(94vh - 130px);
	border-radius: 16px;
	background: #000000;
}

.cm-video-testimonial .cmvt__dialog-close {
	position: absolute;
	top: 0;
	right: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ffffff;
	color: #0f1f48;
	cursor: pointer;
}

.cm-video-testimonial .cmvt__dialog-close svg {
	width: 22px;
	height: 22px;
}

.cm-video-testimonial .cmvt__dialog-title,
.cm-video-testimonial .cmvt__dialog-detail {
	margin: 0;
	text-align: center;
	font-family: inherit;
	color: #ffffff;
}

.cm-video-testimonial .cmvt__dialog-title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.cm-video-testimonial .cmvt__dialog-detail {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	opacity: 0.85;
}

html.cmvt-modal-open {
	overflow: hidden;
}

/* ==========================================================================
   12. Focus and motion
   ========================================================================== */

.cm-video-testimonial button:focus {
	outline: none;
}

.cm-video-testimonial button:focus-visible,
.cm-video-testimonial .cmvt__seek:focus-visible {
	outline: 3px solid var(--cmvt-focus);
	outline-offset: 3px;
}

.cm-video-testimonial .cmvt__screen button:focus-visible,
.cm-video-testimonial .cmvt__screen .cmvt__seek:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: -2px;
	box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.55);
}

.cm-video-testimonial .cmvt__play:focus-visible {
	outline-offset: -4px;
}

.cm-video-testimonial .cmvt__dialog-close:focus-visible {
	outline-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
	.cm-video-testimonial *,
	.cm-video-testimonial *::before,
	.cm-video-testimonial *::after {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}
}
