.nvf-video-stories {
    --nvf-video-gap: 20px;
    width: 100%;
    overflow: clip;
    background: #f5f2ec;
    color: #151515;
}

.nvf-video-stories,
.nvf-video-stories *,
.nvf-video-stories *::before,
.nvf-video-stories *::after {
    box-sizing: border-box;
}

.nvf-video-stories__inner {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
}

.nvf-video-stories__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 48px;
}

.nvf-video-stories__intro {
    width: 100%;
    max-width: 720px;
}

.nvf-video-stories__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    border: 1px solid #b82d4b;
    border-radius: 999px;
    color: #b82d4b;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.nvf-video-stories__heading {
    margin: 0;
    color: #151515;
    font-size: clamp(34px, 3.35vw, 48px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -.045em;
}

.nvf-video-stories__description {
    max-width: 650px;
    margin-top: 18px;
    color: #55524e;
    font-size: 16px;
    line-height: 1.7;
}

.nvf-video-stories__description > :first-child {
    margin-top: 0;
}

.nvf-video-stories__description > :last-child {
    margin-bottom: 0;
}

.nvf-video-stories__desktop-controls,
.nvf-video-stories__navigation {
    display: flex;
    align-items: center;
}

.nvf-video-stories__desktop-controls {
    flex: 0 0 auto;
    gap: 18px;
    padding-bottom: 2px;
}

.nvf-video-stories__navigation {
    gap: 8px;
}

.nvf-video-stories__counter {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: #55524e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
}

.nvf-video-stories__nav-button {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #151515;
    cursor: pointer;
    transition: background-color 250ms ease, color 250ms ease, transform 350ms cubic-bezier(.16, 1, .3, 1), opacity 200ms ease;
}

.nvf-video-stories__nav-button svg {
    width: 20px;
    height: 20px;
}

.nvf-video-stories__nav-button:hover,
.nvf-video-stories__nav-button:focus-visible {
    background: #b82d4b;
    color: #fff;
    transform: translateY(-2px);
}

.nvf-video-stories__nav-button:disabled {
    opacity: .35;
    cursor: default;
    transform: none;
}

.nvf-video-stories__nav-button:focus-visible,
.nvf-video-stories__play:focus-visible {
    outline: 3px solid rgba(184, 45, 75, .28);
    outline-offset: 3px;
}

.nvf-video-stories__viewport {
    width: 100%;
    min-width: 0;
}

.nvf-video-stories__track {
    display: flex;
    align-items: stretch;
    gap: var(--nvf-video-gap);
}

.nvf-video-stories__slide {
    min-width: 0;
    height: auto;
}

.nvf-video-stories__card {
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    transition: transform 350ms cubic-bezier(.16, 1, .3, 1);
}

.nvf-video-stories__media {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #dad6ce;
}

.nvf-video-stories__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(13, 27, 45, .14);
    opacity: 1;
    transition: opacity 300ms ease;
}

.nvf-video-stories__media.is-playing::after {
    opacity: 0;
}

.nvf-video-stories__video,
.nvf-video-stories__embed,
.nvf-video-stories__embed iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.nvf-video-stories__video {
    position: absolute;
    inset: 0;
    z-index: 0;
    object-fit: cover;
    background: #0d1b2d;
}

.nvf-video-stories__embed {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.nvf-video-stories__embed iframe {
    border: 0;
}

.nvf-video-stories__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b82d4b;
    color: #fff;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background-color 250ms ease, transform 350ms cubic-bezier(.16, 1, .3, 1), opacity 220ms ease, visibility 220ms ease;
}

.nvf-video-stories__play svg {
    width: 34%;
    height: 34%;
    margin-left: 4%;
}

.nvf-video-stories__play:hover,
.nvf-video-stories__play:focus-visible {
    background: #17395f;
    transform: translate(-50%, -50%) scale(1.06);
}

.nvf-video-stories__media.is-playing .nvf-video-stories__play {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nvf-video-stories__placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #55524e;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.nvf-video-stories__caption {
    padding: 20px 22px 22px;
}

.nvf-video-stories__card-title {
    margin: 0;
    color: #151515;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.nvf-video-stories__meta {
    margin: 7px 0 0;
    color: #77736d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nvf-video-stories--captions-hidden .nvf-video-stories__card {
    background: transparent;
}

.nvf-video-stories__mobile-progress {
    display: none;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.nvf-video-stories__progress-line {
    position: relative;
    flex: 1 1 auto;
    height: 1px;
    overflow: hidden;
    background: rgba(21, 21, 21, .18);
}

.nvf-video-stories__progress-line > span {
    position: absolute;
    inset: 0;
    background: #b82d4b;
    transform: scaleX(.5);
    transform-origin: left center;
    transition: transform 350ms cubic-bezier(.16, 1, .3, 1);
}

.nvf-video-stories--desktop-grid .nvf-video-stories__track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nvf-video-stories--count-1 .nvf-video-stories__track {
    grid-template-columns: minmax(0, 1fr);
}

.nvf-video-stories--count-1 .nvf-video-stories__slide {
    max-width: 760px;
}

.nvf-video-stories--desktop-slider:not(.is-swiper-active) .nvf-video-stories__viewport,
.nvf-video-stories.is-native-slider .nvf-video-stories__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
}

.nvf-video-stories--desktop-slider:not(.is-swiper-active) .nvf-video-stories__viewport::-webkit-scrollbar,
.nvf-video-stories.is-native-slider .nvf-video-stories__viewport::-webkit-scrollbar {
    display: none;
}

.nvf-video-stories--desktop-slider:not(.is-swiper-active) .nvf-video-stories__slide,
.nvf-video-stories.is-native-slider .nvf-video-stories__slide {
    flex: 0 0 calc((100% - var(--nvf-video-gap)) / 2.12);
    scroll-snap-align: start;
}

.nvf-video-stories.is-swiper-active .nvf-video-stories__track {
    gap: 0;
}

.nvf-video-stories.is-swiper-active .nvf-video-stories__viewport {
    overflow: hidden;
}

.nvf-video-stories--desktop-grid .nvf-video-stories__desktop-controls {
    display: none;
}

.nvf-video-stories.nvf-video-stories--reveal-ready [data-nvf-video-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 850ms cubic-bezier(.16, 1, .3, 1);
}

.nvf-video-stories.nvf-video-stories--reveal-ready [data-nvf-video-reveal]:nth-child(2) {
    transition-delay: 80ms;
}

.nvf-video-stories.nvf-video-stories--reveal-ready.is-visible [data-nvf-video-reveal],
.nvf-video-stories.nvf-video-stories--editor [data-nvf-video-reveal] {
    opacity: 1;
    transform: none;
}

.nvf-video-stories__empty {
    padding: 24px;
    border: 1px dashed rgba(21, 21, 21, .25);
    color: #55524e;
    text-align: center;
}

@media (hover: hover) and (pointer: fine) {
    .nvf-video-stories__card:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 1024px) {
    .nvf-video-stories__header {
        align-items: flex-end;
    }

    .nvf-video-stories--desktop-slider:not(.is-swiper-active) .nvf-video-stories__slide,
    .nvf-video-stories.is-native-slider .nvf-video-stories__slide {
        flex-basis: calc((100% - var(--nvf-video-gap)) / 1.65);
    }
}

@media (max-width: 767px) {
    .nvf-video-stories {
        overflow: visible;
    }

    .nvf-video-stories__inner {
        overflow: visible;
    }

    .nvf-video-stories__header {
        display: block;
    }

    .nvf-video-stories__heading {
        font-size: clamp(32px, 9.5vw, 42px);
    }

    .nvf-video-stories__description {
        font-size: 15px;
        line-height: 1.65;
    }

    .nvf-video-stories__desktop-controls {
        display: none;
    }

    .nvf-video-stories__viewport,
    .nvf-video-stories--desktop-grid .nvf-video-stories__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        margin-right: -20px;
        padding-right: 20px;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
    }

    .nvf-video-stories__viewport::-webkit-scrollbar {
        display: none;
    }

    .nvf-video-stories__track,
    .nvf-video-stories--desktop-grid .nvf-video-stories__track {
        display: flex;
        gap: var(--nvf-video-gap);
    }

    .nvf-video-stories__slide,
    .nvf-video-stories--desktop-grid .nvf-video-stories__slide,
    .nvf-video-stories--desktop-slider:not(.is-swiper-active) .nvf-video-stories__slide,
    .nvf-video-stories.is-native-slider .nvf-video-stories__slide {
        flex: 0 0 91%;
        max-width: 91%;
        scroll-snap-align: start;
    }

    .nvf-video-stories--count-1 .nvf-video-stories__slide {
        flex-basis: 100%;
        max-width: 100%;
    }

    .nvf-video-stories.is-swiper-active .nvf-video-stories__viewport {
        overflow: hidden;
    }

    .nvf-video-stories.is-swiper-active .nvf-video-stories__track {
        gap: 0;
    }

    .nvf-video-stories__play {
        width: 56px;
        height: 56px;
    }

    .nvf-video-stories__mobile-progress {
        display: flex;
    }
}

@media (max-width: 380px) {
    .nvf-video-stories__slide,
    .nvf-video-stories--desktop-grid .nvf-video-stories__slide {
        flex-basis: 94%;
        max-width: 94%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nvf-video-stories *,
    .nvf-video-stories *::before,
    .nvf-video-stories *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .nvf-video-stories [data-nvf-video-reveal] {
        opacity: 1;
        transform: none;
    }
}
