.youtube-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.youtube-slider__viewport {
    overflow: hidden;
    border-radius: 6px;
}

.youtube-slider__track {
    position: relative;
}

.youtube-slider__slide {
    display: none;
}

.youtube-slider__slide.is-active {
    display: block;
}

/* 16:9 responsive wrapper */
.youtube-slider__iframe-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: #000;
}

.youtube-slider__iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.youtube-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.youtube-slider__nav:hover,
.youtube-slider__nav:focus {
    background: rgba(0, 0, 0, 0.85);
}

.youtube-slider__nav--prev {
    left: 10px;
}

.youtube-slider__nav--next {
    right: 10px;
}

.youtube-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.youtube-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s ease;
}

.youtube-slider__dot.is-active {
    background: #333;
}

.youtube-slider__consent-warning {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    background: #222;
}

.youtube-slider__iframe-wrapper noscript a {
    display: block;
    padding: 20px;
    text-align: center;
    color: #fff;
    background: #000;
    text-decoration: none;
}