.svl-video-library {
	--svl-gap: 1rem;
	--svl-radius: 0.75rem;
	--svl-border: color-mix(in srgb, currentColor 20%, transparent);
	--svl-focus: var(--wp--preset--color--primary, currentColor);
	color: inherit;
	font: inherit;
}

.svl-layout-grid {
	width: 100%;
	max-width: none !important;
}

.svl-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
	gap: clamp(0.5rem, 1.5vw, 1rem);
}

.svl-video-library .svl-embed-container,
.svl-video-library .svl-embed-container blockquote,
.svl-video-library .svl-video-player iframe,
.svl-single-video .svl-embed-container,
.svl-single-video .svl-embed-container blockquote,
.svl-single-video .svl-video-player iframe {
	box-sizing: border-box;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.svl-video-card {
	min-width: 0;
	border: 1px solid var(--svl-border);
	border-radius: var(--svl-radius);
	background: var(--wp--preset--color--base, transparent);
	overflow: hidden;
}

.svl-layout-grid .svl-video-card {
	position: relative;
	aspect-ratio: 9 / 16;
	border: 0;
	border-radius: 0.75rem;
	background: #101418;
	color: #fff;
	isolation: isolate;
}

.svl-layout-grid .svl-video-card::after {
	position: absolute;
	inset: 58% 0 0;
	z-index: 1;
	background: linear-gradient(transparent, rgb(0 0 0 / 78%));
	content: "";
	pointer-events: none;
}

.svl-video-title {
	margin: 0;
	padding: 0.75rem 1rem;
	font-size: 1rem;
	line-height: 1.4;
}

.svl-layout-grid .svl-video-title {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	margin: 0;
	padding: 2.5rem 0.75rem 0.75rem;
	color: #fff;
	font-size: clamp(0.8rem, 1.5vw, 0.95rem);
	line-height: 1.35;
}

.svl-layout-grid .svl-video-title a {
	color: inherit;
	text-decoration-color: rgb(255 255 255 / 72%);
	text-underline-offset: 0.18em;
}

.svl-layout-grid .svl-video-player {
	position: absolute;
	inset: 0;
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	overflow: hidden;
	background: #101418;
}

.svl-layout-grid .svl-video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
}

.svl-layout-grid .svl-embed-container,
.svl-layout-grid .svl-embed-container blockquote,
.svl-layout-grid .svl-video-player iframe,
.svl-layout-grid .svl-video-player video {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	transform: translateY(-50%);
	box-sizing: border-box;
}

.svl-layout-grid .svl-video-player iframe,
.svl-layout-grid .svl-video-player video {
	height: auto !important;
	max-height: none;
	aspect-ratio: 9 / 16;
	border: 0;
	background: #101418;
}

.svl-layout-grid .svl-video-card[data-svl-orientation="landscape"] .svl-video-player iframe,
.svl-layout-grid .svl-video-card[data-svl-orientation="landscape"] .svl-video-player video {
	aspect-ratio: 16 / 9;
}

.svl-layout-grid .svl-video-player video {
	object-fit: contain;
}

.svl-layout-grid .svl-watch-on-platform {
	position: absolute;
	inset-block-start: 0.5rem;
	inset-inline-start: 0.5rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.25rem;
	max-width: calc(100% - 1rem);
	padding: 0.35rem 0.55rem;
	border-radius: 0.25rem;
	background: rgb(16 20 24 / 82%);
	color: #fff;
	font-size: 0.7rem;
	line-height: 1.2;
	text-decoration: none;
}

.svl-layout-grid .svl-embed-container {
	inset: 0;
	width: 100%;
	height: 100%;
	transform: none;
	background: #101418;
}

.svl-layout-grid .svl-embed-container blockquote {
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	transform: none;
	overflow: hidden;
}

.svl-layout-grid .svl-embed-container iframe {
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-height: 100% !important;
	transform: none;
	aspect-ratio: auto;
}

.svl-layout-grid .svl-load-video {
	z-index: 2;
	width: 3.5rem;
	height: 3.5rem;
	min-height: 3.5rem;
	padding: 0.9rem;
	border: 0;
	background: rgb(255 255 255 / 92%);
	color: #8e484d;
}

.svl-layout-grid .svl-load-video svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.svl-video-player {
	position: relative;
	width: 100%;
	background: #101418;
	color: #fff;
	text-align: center;
}

.svl-video-poster {
	display: block;
	width: 100%;
	max-height: 32rem;
	object-fit: cover;
}

.svl-load-video {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	min-height: 2.75rem;
	padding: 0.7rem 1rem;
	border: 2px solid #fff;
	border-radius: 999px;
	background: var(--wp--preset--color--contrast, #18212b);
	color: var(--wp--preset--color--base, #fff);
	font: inherit;
	cursor: pointer;
}

.svl-load-video:focus-visible,
.svl-carousel button:focus-visible,
.svl-video-track:focus-visible,
.svl-video-vertical:focus-visible {
	outline: 3px solid var(--svl-focus);
	outline-offset: 3px;
}

.svl-watch-on-platform {
	display: inline-block;
	padding: 0.65rem 1rem;
	color: inherit;
	text-decoration: underline;
}

.svl-embed-container,
.svl-embed-container blockquote,
.svl-video-player iframe,
.svl-video-player video {
	display: block;
	width: 100%;
	max-width: 100%;
	border: 0;
}

.svl-video-player iframe {
	 aspect-ratio: 9 / 16;
	background: #101418;
}

.svl-video-player video {
	max-height: 80svh;
	background: #101418;
}

.svl-carousel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	--svl-carousel-gold: #c99b49;
	--svl-carousel-rose: #8e484d;
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
	border-top: 1px solid color-mix(in srgb, var(--svl-carousel-gold) 28%, transparent);
	background: transparent;
	color: inherit;
}

.svl-layout-carousel {
	width: min(100%, 92rem);
	max-width: 100%;
	margin-inline: auto;
}

.svl-layout-slideshow {
	width: min(100%, 72rem);
	margin-inline: auto;
}

.svl-slideshow {
	--svl-slideshow-gold: #a78543;
	--svl-slideshow-rose: #8e484d;
	display: grid;
	gap: 0.5rem;
	color: #38332e;
}

.svl-slideshow-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #101418;
	direction: ltr;
	touch-action: pan-y;
}

.svl-slideshow-stage:focus-visible {
	outline: 3px solid var(--svl-slideshow-rose);
	outline-offset: 3px;
}

.svl-slideshow-stage > .svl-video-card {
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #101418;
}

.svl-slideshow-stage > .svl-video-card[hidden] {
	display: none !important;
}

.svl-layout-slideshow .svl-video-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.svl-layout-slideshow .svl-video-title:focus-within {
	top: 0.75rem;
	inset-inline-start: 0.75rem;
	z-index: 2;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.5rem 0.75rem;
	clip: auto;
	clip-path: none;
	border-radius: 0.25rem;
	background: rgb(16 20 24 / 92%);
	color: #fff;
}

.svl-layout-slideshow .svl-video-title a {
	color: inherit;
}

.svl-layout-slideshow .svl-video-player {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	overflow: hidden;
}

.svl-layout-slideshow .svl-video-poster,
.svl-layout-slideshow .svl-embed-container {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
}

.svl-layout-slideshow .svl-video-poster {
	object-fit: contain;
}

.svl-layout-slideshow .svl-video-player iframe,
.svl-layout-slideshow .svl-video-player video {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	box-sizing: border-box;
	background: #101418;
	aspect-ratio: auto;
}

.svl-layout-slideshow .svl-video-player video {
	object-fit: contain;
}

.svl-layout-slideshow .svl-embed-container blockquote {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

.svl-slideshow-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.15rem;
	width: 100%;
	max-width: 100%;
}

.svl-slideshow-dot {
	display: grid;
	flex: 0 0 2.75rem;
	width: 2.75rem;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.svl-slideshow-dot > span {
	display: block;
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 999px;
	background: var(--svl-slideshow-gold);
	transition: transform 180ms ease, background-color 180ms ease;
}

.svl-slideshow-dot.is-active > span {
	transform: scaleX(2.8);
	background: var(--svl-slideshow-rose);
}

.svl-slideshow-dot:focus-visible {
	outline: 3px solid var(--svl-slideshow-rose);
	outline-offset: -2px;
}

.svl-visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
}

.svl-carousel-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.svl-carousel-count {
	margin: 0 0.25rem 0 0;
	color: color-mix(in srgb, currentColor 72%, transparent);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

.svl-carousel > .svl-carousel-controls > button {
	display: grid;
	width: 2.75rem;
	min-width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	border: 1px solid var(--svl-carousel-gold);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.svl-carousel > .svl-carousel-controls > button:disabled {
	border-color: color-mix(in srgb, currentColor 18%, transparent);
	opacity: 0.45;
	cursor: not-allowed;
}

.svl-carousel-controls svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.svl-video-track {
	display: flex;
	gap: clamp(0.75rem, 3vw, 1rem);
	overflow-x: auto;
	direction: ltr;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-inline: contain;
}

.svl-video-track::-webkit-scrollbar {
	display: none;
}

.svl-video-track > .svl-video-card {
	position: relative;
	flex: 0 0 min(82vw, 24rem, 100%);
	scroll-snap-align: start;
	direction: inherit;
}

.svl-layout-carousel .svl-video-card {
	border: 0;
	border-radius: 0;
	background: transparent;
}

.svl-layout-carousel .svl-video-title {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.svl-layout-carousel .svl-video-player {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 0.125rem;
}

.svl-layout-carousel .svl-embed-container,
.svl-layout-carousel .svl-video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-height: none;
}

.svl-layout-carousel .svl-video-player iframe,
.svl-layout-carousel .svl-video-player video {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
}

.svl-layout-carousel .svl-video-player iframe {
	position: absolute;
	inset: 0;
	min-width: 0 !important;
	width: 100% !important;
	height: 100% !important;
	box-sizing: border-box;
	margin: 0 !important;
	aspect-ratio: auto;
	object-fit: contain;
}

.svl-layout-carousel .svl-video-player video {
	object-fit: contain;
}

.svl-layout-carousel .svl-video-poster {
	position: absolute;
	inset: 0;
}

.svl-layout-carousel .svl-watch-on-platform {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.svl-layout-carousel .svl-video-number {
	position: absolute;
	bottom: 0.875rem;
	left: 0.875rem;
	display: grid;
	min-width: 2.5rem;
	min-height: 1.75rem;
	padding: 0 0.55rem;
	place-items: center;
	border-radius: 999px;
	background: rgb(255 255 255 / 88%);
	color: #302d28;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
}

.svl-layout-carousel .svl-video-number:focus-visible {
	outline: 3px solid var(--svl-focus);
	outline-offset: 3px;
}

.svl-layout-carousel .svl-load-video {
	width: 4.25rem;
	min-height: 4.25rem;
	padding: 0;
	border: 0;
	background: rgb(255 255 255 / 92%);
	color: var(--svl-carousel-rose);
	box-shadow: 0 1px 4px rgb(0 0 0 / 10%);
}

.svl-load-video svg {
	width: 1.4rem;
	height: 1.4rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.svl-carousel-progress {
	display: flex;
	gap: 0.25rem;
	width: 100%;
	min-height: 0.25rem;
}

.svl-carousel-segment {
	flex: 1 1 0;
	border-bottom: 1px solid color-mix(in srgb, var(--svl-carousel-gold) 24%, transparent);
}

.svl-carousel-segment.is-active {
	border-bottom: 2px solid var(--svl-carousel-rose);
}

.svl-carousel > .svl-carousel-controls > button:focus-visible,
.svl-video-track:focus-visible {
	outline: 3px solid var(--svl-focus);
	outline-offset: 3px;
}

.svl-vertical-viewer {
	position: relative;
	width: min(100%, 34rem, calc(100svh * 9 / 16));
	height: auto;
	max-height: min(100svh, 56rem);
	aspect-ratio: 9 / 16;
	margin-inline: auto;
	background: #101418;
	color: #fff;
}

.svl-video-vertical {
	position: relative;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior-y: contain;
	scroll-snap-type: y mandatory;
	scroll-snap-stop: always;
	scroll-behavior: smooth;
	touch-action: pan-y;
	background: #101418;
	scrollbar-width: none;
}

.svl-video-vertical::-webkit-scrollbar {
	display: none;
}

.svl-layout-vertical .svl-video-card[data-svl-vertical-card] {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: #101418;
	color: #fff;
	overflow: hidden;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.svl-layout-vertical .svl-video-card[data-svl-vertical-card]::after {
	position: absolute;
	inset: 55% 0 0;
	z-index: 1;
	background: linear-gradient(transparent, rgb(0 0 0 / 78%));
	content: "";
	pointer-events: none;
}

.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-video-title {
	position: absolute;
	bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
	left: 1rem;
	z-index: 2;
	max-width: calc(100% - 5rem);
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.4;
	text-align: left;
	text-shadow: 0 1px 3px rgb(0 0 0 / 75%);
}

.svl-layout-vertical .svl-video-title a {
	color: inherit;
	text-decoration-color: rgb(255 255 255 / 70%);
	text-underline-offset: 0.2em;
}

.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-video-player {
	position: absolute;
	inset: 0;
	display: grid;
	width: 100%;
	height: 100%;
	max-height: none;
	place-items: center;
	overflow: hidden;
	background: #101418;
}

.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-video-player iframe,
.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-video-player video,
.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-embed-container,
.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-embed-container blockquote {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	border: 0;
	box-sizing: border-box;
	background: #101418;
	aspect-ratio: auto;
}

.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
}

.svl-layout-vertical .svl-video-card[data-svl-vertical-card] .svl-video-player video {
	object-fit: contain;
}

.svl-layout-vertical .svl-load-video {
	z-index: 2;
}

.svl-vertical-position {
	position: absolute;
	top: calc(0.75rem + env(safe-area-inset-top, 0px));
	left: 0.75rem;
	z-index: 3;
	margin: 0;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgb(15 23 42 / 75%);
	color: #fff;
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
}

.svl-vertical-navigation {
	position: absolute;
	top: 50%;
	right: 0.75rem;
	z-index: 3;
	display: grid;
	gap: 0.5rem;
	transform: translateY(-50%);
}

.svl-vertical-navigation button {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 50%);
	border-radius: 999px;
	background: rgb(15 23 42 / 68%);
	color: #fff;
	cursor: pointer;
}

.svl-vertical-navigation button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.svl-vertical-navigation button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.svl-vertical-navigation svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.svl-vertical-navigation button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.svl-video-empty,
.svl-video-unavailable {
	margin: 0;
	padding: 1rem;
}

.svl-single-video {
	width: min(100%, 30rem);
	margin: 0 auto 1.5rem;
}

.svl-single-video .svl-video-player {
	width: 100%;
	max-height: 82svh;
	margin-inline: auto;
	aspect-ratio: 9 / 16;
	overflow: hidden;
}

.svl-single-video .svl-video-player iframe,
.svl-single-video .svl-video-player video,
.svl-single-video .svl-embed-container,
.svl-single-video .svl-embed-container blockquote {
	width: 100% !important;
	max-width: 100% !important;
	height: 100%;
	max-height: 82svh;
	margin: 0 !important;
	box-sizing: border-box;
}

.svl-single-video .svl-embed-container iframe {
	border: 0;
	aspect-ratio: 9 / 16;
}

.svl-single-video .svl-video-player video {
	object-fit: contain;
}

@media (min-width: 48rem) {
	.svl-video-grid {
		gap: clamp(0.75rem, 1.5vw, 1.25rem);
	}

	.svl-slideshow-stage.is-portrait {
		width: min(100%, calc(80svh * 9 / 16));
		max-height: 80svh;
		aspect-ratio: 9 / 16;
		margin-inline: auto;
	}

	.svl-video-track > .svl-video-card {
		flex-basis: min(30.6%, 28rem, 100%);
	}

	.svl-video-track {
		gap: clamp(1rem, 1.75vw, 1.75rem);
	}
}

@media (max-width: 47.999rem) {
	.svl-slideshow-stage.is-portrait {
		width: min(100%, 28rem);
		max-height: 80svh;
		aspect-ratio: 9 / 16;
		margin-inline: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.svl-video-track {
		scroll-behavior: auto;
	}

	.svl-video-vertical {
		scroll-behavior: auto;
	}

	.svl-slideshow-dot > span {
		transition: none;
	}
}
