.vv-section-title {
    text-align: center;
    margin-bottom: 8px;
}

.vv-section {
    overflow-x: hidden;
}

.vv-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
}

.vv-row::-webkit-scrollbar {
    height: 6px;
}

.vv-row::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 99px;
}

.vv-item {
    flex: 0 0 220px;
    width: 220px;
    scroll-snap-align: start;
}

@media (max-width: 767px) {
    .vv-item {
        flex-basis: 42vw;
        width: 42vw;
    }
}

.vv-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    padding: 0;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    color: inherit;
}

.vv-card img,
.vv-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.vv-card__play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 45%);
}

.vv-card__play span {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    display: grid;
    place-items: center;
}

.vv-card__play span::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin-left: 3px;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent #fff;
}

.vv-empty {
    margin-top: 16px;
    padding: 28px 16px;
    text-align: center;
    color: #666;
    border: 1px dashed #ccc;
    border-radius: 12px;
    background: #fff;
}

.vv-modal[hidden] {
    display: none !important;
}

.vv-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px;
    background: rgba(0, 0, 0, .72);
    transform: none !important;
}

.vv-modal__panel {
    position: relative;
    width: min(420px, calc(100vw - 48px)) !important;
    max-width: 420px !important;
}

.vv-modal__panel video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: min(80vh, 760px) !important;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    background: #000;
    border-radius: 12px;
}

.vv-modal__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.vv-modal__link {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #fff;
    text-decoration: underline;
}

body.vv-modal-open {
    overflow: hidden;
}
