.sdf-video-carousel { padding: 0 0 48px; color: #fff; }
.sdf-video-carousel__controls { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 16px; }
.sdf-video-carousel__controls[hidden] { display: none; }
.sdf-video-carousel button { background: #141414; color: #ddd; border: 1px solid #444; border-radius: 4px; cursor: pointer; min-height: 44px; padding: 8px 16px; font: inherit; }
.sdf-video-carousel button:hover { border-color: #a78c63; color: #e8c98a; }
.sdf-video-carousel__viewport { overflow: hidden; touch-action: pan-y; }
.sdf-video-carousel__track { display: flex; width: max-content; will-change: transform; }
.sdf-video-carousel__group { display: flex; gap: 24px; padding-right: 24px; }
.sdf-video-carousel__card { position: relative; display: block; flex: 0 0 auto; width: var(--sdf-video-width, 360px); aspect-ratio: 16 / 9; background: #141414; border: 1px solid #333; overflow: hidden; }
.sdf-video-carousel__card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.sdf-video-carousel__card.has-no-thumbnail { background: radial-gradient(ellipse at top, #302a20, #141414 75%); }
.sdf-video-carousel__card.has-no-thumbnail::before { content: 'YouTube'; position: absolute; bottom: 16px; left: 20px; color: #ddd; font-size: 14px; letter-spacing: .04em; }
.sdf-video-carousel__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 58px; height: 42px; padding-left: 3px; border-radius: 12px; background: #c00; color: #fff; font-size: 20px; }
.sdf-video-carousel__card:hover .sdf-video-carousel__play { background: #f00; }
.sdf-video-carousel :is(a, button):focus-visible { outline: 2px solid #e8c98a; outline-offset: -4px; }
.sdf-video-carousel__dialog { position: fixed; inset: 0; margin: auto; width: min(1000px, calc(100vw - 32px)); max-width: none; padding: 48px 0 0; border: 0; background: #0a0a0a; color: #fff; max-height: calc(100dvh - 32px); overflow: auto; }
.sdf-video-carousel__dialog::backdrop { background: rgba(0, 0, 0, .85); }
.sdf-video-carousel__dialog .sdf-video-carousel__close { position: absolute; right: 0; top: 0; width: 44px; padding: 0; font-size: 28px; }
.sdf-video-carousel__player { aspect-ratio: 16 / 9; min-height: 200px; }
.sdf-video-carousel__player iframe { display: block; width: 100%; height: 100%; min-height: 200px; border: 0; }
@media (max-width: 768px) {
	.sdf-video-carousel { padding-bottom: 32px; }
	.sdf-video-carousel__group { gap: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.sdf-video-carousel__track { will-change: auto; }
}
