.svn-video-news {
    --svn-main-width: 630px;
    --svn-main-height: 380px;
    --svn-thumb-width: 170px;
    --svn-thumb-height: 100px;
    --svn-gap: 10px;
    box-sizing: border-box;
    width: min(100%, var(--svn-main-width));
    max-width: 100%;
    background: #fff;
    color: #202124;
    font-family: inherit;
}

.svn-video-news *,
.svn-video-news *::before,
.svn-video-news *::after {
    box-sizing: border-box;
}

.svn-align-left { margin-right: auto; }
.svn-align-center { margin-left: auto; margin-right: auto; }
.svn-align-right { margin-left: auto; }

.svn-video-heading {
    width: 100%;
    padding: 12px 15px;
    text-align: center;
    background: #fff4df;
    border-bottom: 8px solid #111;
}

.svn-video-heading h2 {
    margin: 0;
    color: #2f3542;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
}

.svn-main-stage {
    width: 100%;
}

.svn-main-video {
    position: relative;
    width: 100%;
    height: var(--svn-main-height);
    min-height: 150px;
    overflow: hidden;
    background: #000;
}

.svn-main-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.svn-carousel-shell {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.svn-video-strip {
    display: flex;
    gap: var(--svn-gap);
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
    padding: 2px 1px 8px;
    -webkit-overflow-scrolling: touch;
}

.svn-scrollbar-no .svn-video-strip {
    scrollbar-width: none;
}

.svn-scrollbar-no .svn-video-strip::-webkit-scrollbar {
    display: none;
}

.svn-video-strip::-webkit-scrollbar {
    height: 7px;
}

.svn-video-strip::-webkit-scrollbar-track {
    background: #eef0f3;
    border-radius: 999px;
}

.svn-video-strip::-webkit-scrollbar-thumb {
    background: #9aa0a6;
    border-radius: 999px;
}

.svn-video-thumb {
    position: relative;
    flex: 0 0 var(--svn-thumb-width);
    width: var(--svn-thumb-width);
    height: var(--svn-thumb-height);
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 2px solid #e1e5ea;
    border-radius: 6px;
    background: #111;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.svn-video-thumb:hover,
.svn-video-thumb:focus-visible {
    transform: translateY(-2px);
    outline: none;
    border-color: #9098a3;
}

.svn-video-thumb.is-active {
    border-color: #d60000;
    box-shadow: 0 0 0 1px #d60000;
}

.svn-video-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svn-thumb-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .12);
    transition: background .18s ease;
}

.svn-video-thumb:hover .svn-thumb-overlay,
.svn-video-thumb.is-active .svn-thumb-overlay {
    background: rgba(0, 0, 0, .28);
}

.svn-play-icon {
    position: relative;
    width: 36px;
    height: 25px;
    border-radius: 7px;
    background: #d60000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .28);
}

.svn-play-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
}

.svn-video-number {
    position: absolute;
    top: 5px;
    left: 5px;
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.svn-scroll-button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 46px;
    padding: 0;
    border: 1px solid #dfe3e8;
    border-radius: 6px;
    background: #fff;
    color: #252a31;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.svn-scroll-button span {
    display: block;
    margin-top: -3px;
    font: 700 32px/1 Arial, sans-serif;
}

.svn-scroll-button:hover,
.svn-scroll-button:focus-visible {
    outline: none;
    color: #fff;
    border-color: #d60000;
    background: #d60000;
}

.svn-scroll-button:disabled {
    opacity: .35;
    cursor: default;
}

.svn-empty-state {
    padding: 14px 16px;
    border: 1px dashed #c6cbd2;
    background: #fff;
    color: #50575e;
    font-family: inherit;
}

@media (max-width: 767px) {
    .svn-video-news {
        width: 100%;
    }

    .svn-video-heading h2 {
        font-size: 25px;
    }

    .svn-main-video {
        height: min(var(--svn-main-height), 62vw);
    }

    .svn-carousel-shell {
        grid-template-columns: 28px minmax(0, 1fr) 28px;
        gap: 4px;
    }

    .svn-scroll-button {
        width: 28px;
        height: 42px;
    }

    .svn-scroll-button span {
        font-size: 27px;
    }
}

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

    .svn-video-thumb,
    .svn-scroll-button {
        transition: none;
    }
}
