/* WHAT YouTube Vertical Carousel - frontend.css - version 1.4.0 */
.what-youtube-vc {
	--wytvc-basis-desktop: calc(33.333333% - 16px);
	--wytvc-basis-tablet: calc(50% - 12px);
	--wytvc-basis-mobile: 100%;
	--wytvc-slide-basis: var(--wytvc-basis-desktop);
	--wytvc-max-width: 420px;
	--wytvc-gap: 24px;
	--wytvc-radius: 22px;
	--wytvc-ratio-w: 9;
	--wytvc-ratio-h: 16;
	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 4px 0 8px;
}

.what-youtube-vc,
.what-youtube-vc * {
	box-sizing: border-box;
}

.what-youtube-vc__viewport {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.what-youtube-vc__track {
	display: flex;
	align-items: stretch;
	gap: var(--wytvc-gap);
	margin: 0;
	padding: 6px 4px 14px;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	transition: transform 360ms ease;
}

.what-youtube-vc.is-no-transition .what-youtube-vc__track,
.what-youtube-vc.is-dragging .what-youtube-vc__track {
	transition: none !important;
}

.what-youtube-vc__slide {
	flex: 0 0 var(--wytvc-slide-basis);
	min-width: 0;
}

.what-youtube-vc__slide[aria-hidden="true"] iframe {
	pointer-events: none;
}

.what-youtube-vc__frame {
	position: relative;
	width: 100%;
	max-width: var(--wytvc-max-width);
	margin-right: auto;
	margin-left: auto;
	aspect-ratio: var(--wytvc-ratio-w) / var(--wytvc-ratio-h);
	background: #111;
	border-radius: var(--wytvc-radius);
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	transform: translateZ(0);
}

.what-youtube-vc__frame::before {
	content: "";
	display: block;
	padding-bottom: calc((var(--wytvc-ratio-h) / var(--wytvc-ratio-w)) * 100%);
}

@supports (aspect-ratio: 1 / 1) {
	.what-youtube-vc__frame::before {
		display: none;
	}
}

.what-youtube-vc__frame iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: #111;
}

.what-youtube-vc__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #fff;
	color: #111;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	line-height: 1;
	transform: translateY(-50%);
	transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.what-youtube-vc__arrow:hover,
.what-youtube-vc__arrow:focus-visible {
	transform: translateY(-50%) scale(1.04);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.what-youtube-vc__arrow:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.what-youtube-vc__arrow[disabled] {
	opacity: 0.35;
	cursor: not-allowed;
	transform: translateY(-50%);
}

.what-youtube-vc__arrow span {
	display: block;
	font-size: 36px;
	font-weight: 400;
	line-height: 38px;
	margin-top: -2px;
}

.what-youtube-vc__arrow--prev {
	left: 8px;
}

.what-youtube-vc__arrow--next {
	right: 8px;
}

.what-youtube-vc__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-top: 12px;
}

.what-youtube-vc__dot {
	display: block;
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: currentColor;
	opacity: 0.25;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.what-youtube-vc__dot:hover,
.what-youtube-vc__dot:focus-visible,
.what-youtube-vc__dot.is-active {
	opacity: 1;
	transform: scale(1.15);
}

.what-youtube-vc__dot[hidden] {
	display: none;
}

.what-youtube-vc__dot:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.what-youtube-vc-notice {
	padding: 14px 16px;
	border: 1px solid #d9d9d9;
	border-left: 4px solid #d63638;
	background: #fff;
	color: #1d2327;
	font-size: 14px;
}

@media (max-width: 1024px) {
	.what-youtube-vc {
		--wytvc-slide-basis: var(--wytvc-basis-tablet);
	}
}

@media (max-width: 640px) {
	.what-youtube-vc {
		--wytvc-slide-basis: var(--wytvc-basis-mobile);
	}

	.what-youtube-vc__track {
		padding-right: 2px;
		padding-left: 2px;
	}

	.what-youtube-vc__arrow {
		width: 38px;
		height: 38px;
	}

	.what-youtube-vc__arrow span {
		font-size: 31px;
		line-height: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.what-youtube-vc__track,
	.what-youtube-vc__arrow,
	.what-youtube-vc__dot {
		transition: none !important;
	}
}
