/*
 * Video Slider -- video-slider.css
 * Shared styles for the Wistia video slider (ACF block + Divi module).
 * Plain CSS -- edit this file directly for styling changes.
 *
 * Markup is generated by inc/shared/video-slider-render.php.
 * Class prefix: .validity-video-slider / .vvs-*
 */


/* ================================================================
   Layout
   ================================================================ */

.validity-video-slider {
    box-sizing: border-box;
}

/* Shortcode wrapper -- keeps the slider inside the page container */
.vvs-shortcode-section {
    padding: 40px 0;
}

.vvs-shortcode-section:has(.vvs-layout--homepage) {
    padding: 0 0 100px;
}

/* Cancel Divi's #main-content .container padding-top so the 100px is exact. */
#main-content .vvs-shortcode-section:has(.vvs-layout--homepage) > .container {
    padding-top: 0;
    padding-bottom: 0;
}

.vvs-shortcode-section .validity-video-slider {
    max-width: 100%;
}

.validity-video-slider .vvs-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 80px 15px;
}

@media (max-width: 1399px) {
    .validity-video-slider .vvs-inner { max-width: 1140px; }
}
@media (max-width: 1199px) {
    .validity-video-slider .vvs-inner { max-width: 960px; }
}
@media (max-width: 991px) {
    .validity-video-slider .vvs-inner { max-width: 720px; }
}
@media (max-width: 767px) {
    .validity-video-slider .vvs-inner {
        max-width: 540px;
        padding: 60px 20px;
    }
}


/* ================================================================
   Section title
   ================================================================ */

.validity-video-slider .vvs-title,
#page-container .validity-video-slider .vvs-title {
    text-align: center;
    margin-bottom: 40px;
    color: #231F20;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 130%;
}

@media (max-width: 767px) {
    .validity-video-slider .vvs-title,
    #page-container .validity-video-slider .vvs-title {
        font-size: 1.75rem;
    }
}


/* ================================================================
   Innerpage-only elements (hidden by default, shown in innerpage)
   ================================================================ */

.validity-video-slider .vvs-nav-bar,
.validity-video-slider .vvs-active-title,
.validity-video-slider .vvs-progress {
    display: none;
}


/* ================================================================
   Section description (subtitle)
   ================================================================ */

.validity-video-slider .vvs-subtitle {
    text-align: center;
    margin-top: -24px;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #51504F;
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.vvs-layout--homepage .vvs-subtitle {
    color: #d6e8f5;
}


/* ================================================================
   Tab navigation
   ================================================================ */

.validity-video-slider .vvs-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
    list-style: none;
    padding: 0;
}

.validity-video-slider .vvs-tab {
    appearance: none;
    background: #F5F5F5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #51504F;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    line-height: 1.4;
    white-space: nowrap;
}

.validity-video-slider .vvs-tab:hover {
    border-color: #0A8DFF;
    color: #0A8DFF;
}

.validity-video-slider .vvs-tab:focus-visible {
    outline: 2px solid #0A8DFF;
    outline-offset: 2px;
}

.validity-video-slider .vvs-tab--active,
.validity-video-slider .vvs-tab--active:hover {
    background: #0A8DFF;
    border-color: #0A8DFF;
    color: #fff;
}

@media (max-width: 767px) {
    .validity-video-slider .vvs-tabs {
        gap: 8px;
    }
    .validity-video-slider .vvs-tab {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
}


/* ================================================================
   Slides
   ================================================================ */

.validity-video-slider .vvs-slide {
    display: none;
}

.validity-video-slider .vvs-slide--active {
    display: block;
}


/* ================================================================
   Player (Wistia responsive embed container)
   ================================================================ */

.validity-video-slider .vvs-player {
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

/*
 * Hidden popover triggers. JS moves this node to document.body so
 * overflow:hidden on the slider cannot clip the lightbox.
 */
.validity-video-slider .vvs-popover-host,
body > .vvs-popover-host {
    position: absolute;
    width: 0;
    height: 0;
    overflow: visible;
    pointer-events: none;
}

body > .vvs-popover-host .wistia_embed,
body > .vvs-popover-host .wistia_click_to_play {
    position: absolute !important;
    left: -9999px !important;
    top: 0 !important;
}

/* Match Platform Overview lightbox corners (playerBorderRadius=24). */
.wistia_popover_embed,
.wistia_popover_embed .w-chrome,
.wistia_popover_embed .w-vulcan-v2,
.wistia_popover_embed .w-focus-outline {
    border-radius: 24px !important;
}

.wistia_popover_embed .w-chrome {
    overflow: hidden !important;
}


/* ================================================================
   Description
   ================================================================ */

.validity-video-slider .vvs-description {
    margin-top: 20px;
    text-align: center;
    font-size: 1.05rem;
    color: #51504F;
    line-height: 1.6;
}

.validity-video-slider .vvs-description p {
    margin: 0;
}


/* ================================================================
   Layout variants
   ================================================================ */

/*
 * HOMEPAGE
 * Video fills the rounded section at 16:9. Dark overlay on top.
 * Tabs overlaid upper-right. Title + description overlaid lower-left.
 * Space above the player comes from the preceding .tags padding.
 * The shortcode wrapper adds 100px below so it matches.
 */
.vvs-layout--homepage {
    background: #1B1D21;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.vvs-layout--homepage .vvs-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-template-rows: 1fr auto auto;
    padding: 0;
    max-width: none;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

/* -- Video: spans the entire grid as a background layer -- */
.vvs-layout--homepage .vvs-carousel {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    z-index: 1;
    position: relative;
}

.vvs-layout--homepage .vvs-slides {
    position: relative;
    height: 100%;
}

.vvs-layout--homepage .vvs-player {
    border-radius: 0;
}

/* Dark diagonal overlay -- stronger at the sides for legible text */
.vvs-layout--homepage .vvs-slides::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        72.42deg,
        rgba(19, 20, 21, 0.9) 22.71%,
        rgba(19, 20, 21, 0.15) 50.09%,
        rgba(19, 20, 21, 0.9) 74.57%
    );
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.vvs-layout--homepage.vvs-is-playing .vvs-slides::after {
    opacity: 0;
}

/* Hide per-slide description in homepage; section description is used */
.vvs-layout--homepage .vvs-description {
    display: none;
}

/* Hide Wistia's big play button; keep our PLAY pill until playback starts */
.vvs-layout--homepage .wistia_embed .w-big-play-button,
.vvs-layout--homepage .wistia_embed [data-handle="bigPlayButton"],
.vvs-layout--homepage .wistia_embed button[aria-label="Play"],
.vvs-layout--homepage .wistia_embed .w-bpb-wrapper {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Preview only: hide the playbar so our PLAY pill is the control */
.vvs-layout--homepage:not(.vvs-is-playing) .wistia_embed .w-bottom-bar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Playing: leave Wistia's own bar layout alone so the seek track can stretch */
.vvs-layout--homepage.vvs-is-playing .wistia_embed .w-bottom-bar {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 6;
}

/* -- Click layer sits above the Wistia embed so we own play/pause -- */
.vvs-click-layer {
    display: none;
}

.vvs-layout--homepage .vvs-click-layer {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.vvs-click-layer .vvs-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 164px;
    height: 100px;
    pointer-events: none;
}

.vvs-layout--homepage .vvs-inner {
    position: relative;
}

.vvs-layout--homepage .vvs-tabs,
.vvs-layout--homepage .vvs-title,
#page-container .vvs-layout--homepage .vvs-title,
.vvs-layout--homepage .vvs-subtitle {
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.vvs-layout--homepage .vvs-click-layer .vvs-play-btn {
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Play: chrome slides away so the video can fill the frame */
.vvs-layout--homepage.vvs-is-playing .vvs-tabs {
    transform: translateX(120%);
    opacity: 0;
    pointer-events: none;
}

.vvs-layout--homepage.vvs-is-playing .vvs-title,
#page-container .vvs-layout--homepage.vvs-is-playing .vvs-title,
.vvs-layout--homepage.vvs-is-playing .vvs-subtitle {
    transform: translateX(-48px);
    opacity: 0;
    pointer-events: none;
}

.vvs-layout--homepage.vvs-is-playing .vvs-click-layer .vvs-play-btn {
    transform: translate(-50%, -50%) scale(0.92);
    opacity: 0;
}

/* Let Wistia own clicks while playing so the playbar works */
.vvs-layout--homepage.vvs-is-playing .vvs-click-layer {
    pointer-events: none;
}

/* -- Tabs: overlaid upper-right, 3 full cards + wheel scroll -- */
.vvs-layout--homepage .vvs-tabs {
    grid-column: 2;
    grid-row: 1;
    z-index: 5;
    align-self: start;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    margin-bottom: 0;
    padding: 44px 24px 24px 0;
    overflow: visible;
}

.vvs-layout--homepage .vvs-tabs-track {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Room for the active-card glow; overflow-y would otherwise clip it. */
    padding: 8px;
    margin: -8px;
}

.vvs-layout--homepage .vvs-tabs-track::-webkit-scrollbar {
    display: none;
}

.vvs-layout--homepage .vvs-tab {
    flex-shrink: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: rgba(22, 24, 30, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 58px 14px 16px;
    text-align: left;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: normal;
    line-height: 1.35;
    position: relative;
    width: 100%;
    /* overflow visible so the outline glow is not clipped */
    overflow: visible;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* Bite-sized preview progress -- soft wash fills the whole active card */
.vvs-layout--homepage .vvs-tab-progress {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.vvs-layout--homepage .vvs-tab-progress::after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(
        92deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: scaleX(0);
    transform-origin: left center;
}

.vvs-layout--homepage .vvs-tab--ticking .vvs-tab-progress::after {
    animation: vvs-preview-progress var(--vvs-preview-ms, 8s) linear forwards;
}

.vvs-layout--homepage.vvs-is-playing .vvs-tab-progress::after {
    animation: none;
    transform: scaleX(0);
}

@keyframes vvs-preview-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .vvs-layout--homepage .vvs-tab--ticking .vvs-tab-progress::after {
        animation: none;
        transform: scaleX(1);
    }
}

/* Keep label + play icon above the fill */
.vvs-layout--homepage .vvs-tab-label,
.vvs-layout--homepage .vvs-tab::before {
    position: relative;
    z-index: 1;
}

.vvs-layout--homepage .vvs-tab::after {
    z-index: 1;
}

.vvs-layout--homepage .vvs-tab::before {
    content: "UP NEXT";
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.vvs-layout--homepage .vvs-tab--active::before {
    content: "LEARN THE SKILL";
    color: rgba(255, 255, 255, 0.65);
}

/* Play icon -- Figma up-next-play.svg, vertically centered */
.vvs-layout--homepage .vvs-tab::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background-color: transparent;
    background-image: url("../../img/up-next-play.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
}

/* Active tab -- soft white bloom around the outline */
.vvs-layout--homepage .vvs-tab--active,
.vvs-layout--homepage .vvs-tab--active:hover {
    background: rgba(22, 24, 30, 0.92);
    border-color: #fff;
    color: #fff;
    box-shadow:
        0 0 4px 0 rgba(255, 255, 255, 0.55),
        0 0 10px 1px rgba(255, 255, 255, 0.2);
}

.vvs-layout--homepage .vvs-tab:hover:not(.vvs-tab--active) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.vvs-layout--homepage .vvs-tab:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* -- Section title: overlaid lower-left -- */
.vvs-layout--homepage .vvs-title,
#page-container .vvs-layout--homepage .vvs-title {
    grid-column: 1;
    grid-row: 2;
    z-index: 5;
    text-align: left;
    color: #fff;
    font-size: 2rem !important;
    font-weight: 600;
    margin: 0;
    padding: 0 0 8px 40px;
}

/* -- Section description: overlaid lower-left, under title -- */
.vvs-layout--homepage .vvs-subtitle {
    grid-column: 1;
    grid-row: 3;
    z-index: 5;
    text-align: left;
    color: #ffffff;
    margin: 0;
    max-width: none;
    font-size: 0.95rem;
    padding: 0 0 36px 40px;
}

/* -- Homepage responsive -- */
@media (max-width: 991px) {
    .vvs-layout--homepage {
        padding: 16px;
    }

    .vvs-layout--homepage .vvs-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        padding: 0;
    }

    .vvs-layout--homepage .vvs-carousel {
        grid-column: 1;
        grid-row: 1;
    }

    .vvs-layout--homepage .vvs-slides::after {
        display: none;
    }

    .vvs-layout--homepage .vvs-tabs {
        grid-column: 1;
        grid-row: 4;
        flex-direction: row;
        flex-wrap: wrap;
        align-self: auto;
        justify-self: auto;
        width: auto;
        padding: 16px;
        overflow: visible;
    }

    .vvs-layout--homepage .vvs-tabs-track {
        flex-direction: row;
        flex-wrap: wrap;
        overflow: visible;
        /* !important beats the inline max-height the JS sets for the desktop 3-card scroller. */
        max-height: none !important;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .vvs-layout--homepage .vvs-tab {
        width: auto;
        flex: 1 1 auto;
        min-width: 200px;
    }

    .vvs-layout--homepage .vvs-title,
    #page-container .vvs-layout--homepage .vvs-title {
        grid-row: 2;
        padding: 16px 16px 4px;
    }

    .vvs-layout--homepage .vvs-subtitle {
        grid-row: 3;
        padding: 0 16px 24px;
    }
}

/*
 * Cap the player so it and its 100px gaps fit on short screens.
 * 292px = 92px sticky header + 100px gap above + 100px gap below.
 * 400px floor keeps room for the 3 up-next cards (~350px).
 */
@media (min-width: 992px) {
    .vvs-layout--homepage .vvs-player {
        container-type: inline-size;
    }

    /* Span all rows so the cards column doesn't stack on top of the title rows and outgrow the video. */
    .vvs-layout--homepage .vvs-tabs {
        grid-row: 1 / -1;
    }

    .vvs-layout--homepage .wistia_responsive_padding {
        padding-top: 0 !important;
        height: min(56.25cqw, max(400px, calc(100vh - 292px)));
    }

    .vvs-layout--homepage .wistia_responsive_wrapper,
    .vvs-layout--homepage .wistia_embed,
    .vvs-layout--homepage .w-chrome,
    .vvs-layout--homepage .w-video-wrapper {
        width: 100% !important;
        height: 100% !important;
    }

    .vvs-layout--homepage video {
        object-fit: cover !important;
    }
}

@media (max-width: 767px) {
    .vvs-layout--homepage .vvs-title,
    #page-container .vvs-layout--homepage .vvs-title {
        font-size: 1.5rem;
    }

    .vvs-layout--homepage .vvs-tab {
        min-width: 0;
        flex: 1 1 100%;
    }
}

/*
 * INNERPAGE
 * Carousel with blurred adjacent videos, nav bar with arrows + counter,
 * and active video title. Matches the inner-page Figma comp.
 */
.vvs-layout--innerpage {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.vvs-layout--innerpage .vvs-inner {
    padding: 0;
    max-width: none;
    overflow: visible;
}

/* Hide homepage-only elements */
.vvs-layout--innerpage .vvs-title,
.vvs-layout--innerpage .vvs-subtitle,
.vvs-layout--innerpage .vvs-tabs {
    display: none;
}

/* Show innerpage-only elements */
.vvs-layout--innerpage .vvs-nav-bar,
.vvs-layout--innerpage .vvs-active-title {
    display: flex;
}

/* -- Nav bar (top) -- */
.vvs-layout--innerpage .vvs-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: none;
    position: relative;
    z-index: 10;
    background: linear-gradient(62.07deg, #EEF3EE 12.98%, #EAF3F8 37.02%, #F4F6FB 63.94%, #F3F0EE 87.98%);
}

/* 8s autoplay preview progress -- sits under the nav as the divider */
.vvs-layout--innerpage .vvs-progress {
    display: block;
    width: 100%;
    height: 2px;
    background: #e5e5e5;
    overflow: hidden;
    pointer-events: none;
}

.vvs-layout--innerpage .vvs-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #231F20;
}

@media (prefers-reduced-motion: reduce) {
    .vvs-layout--innerpage .vvs-progress-fill {
        transition: none !important;
    }
}

.vvs-layout--innerpage .vvs-nav-description {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #51504F;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "DM Mono", monospace;
}


.vvs-layout--innerpage .vvs-nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vvs-layout--innerpage .vvs-arrow {
    appearance: none;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #51504F;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.vvs-layout--innerpage .vvs-arrow:hover {
    border-color: #231F20;
    color: #231F20;
}

.vvs-layout--innerpage .vvs-counter {
    font-size: 15px;
    font-weight: 400;
    color: #51504F;
    letter-spacing: 0.04em;
    min-width: 42px;
    text-align: center;
    font-family: "DM Mono", monospace;
}

/* -- Active video title -- */
.vvs-layout--innerpage .vvs-active-title,
#page-container .vvs-layout--innerpage .vvs-active-title {
    display: block;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #231F20;
    padding: 32px 32px 24px;
    margin: 0;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .vvs-layout--innerpage .vvs-active-title,
    #page-container .vvs-layout--innerpage .vvs-active-title {
        font-size: 1.4rem;
        padding: 20px 16px 16px;
    }
}

/* -- Carousel slides -- */
.vvs-layout--innerpage .vvs-carousel {
    padding: 0 80px 40px;
}

.vvs-layout--innerpage .vvs-slides {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
}

.vvs-layout--innerpage .vvs-slide {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 68%;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translateX(-50%) scale(0.78);
}

.vvs-layout--innerpage .vvs-slide--active {
    position: relative;
    z-index: 3;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
}

.vvs-layout--innerpage .vvs-slide--prev {
    opacity: 1;
    z-index: 1;
    transform: translateX(calc(-50% - 36%)) scale(0.78);
    pointer-events: none;
}

.vvs-layout--innerpage .vvs-slide--next {
    opacity: 1;
    z-index: 1;
    transform: translateX(calc(-50% + 36%)) scale(0.78);
    pointer-events: none;
}

.vvs-layout--innerpage .vvs-player {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: -webkit-radial-gradient(white, white);
    mask-image: radial-gradient(white, white);
}

.vvs-layout--innerpage .vvs-slide--prev .vvs-player,
.vvs-layout--innerpage .vvs-slide--next .vvs-player {
    opacity: 0.55;
}

.vvs-layout--innerpage .vvs-slide--prev .wistia_responsive_padding,
.vvs-layout--innerpage .vvs-slide--next .wistia_responsive_padding {
    filter: blur(8px);
    transform: scale(1.08);
}

/* -- PLAY button (matches homepage style) -- */
.vvs-layout--innerpage .vvs-click-layer {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.vvs-layout--innerpage.vvs-is-playing .vvs-click-layer .vvs-play-btn {
    display: none;
}

/* Hide per-slide description in innerpage carousel */
.vvs-layout--innerpage .vvs-description {
    display: none;
}

/* Hide Wistia default UI in innerpage too */
.vvs-layout--innerpage .wistia_embed .w-big-play-button,
.vvs-layout--innerpage .wistia_embed [data-handle="bigPlayButton"],
.vvs-layout--innerpage .wistia_embed button[aria-label="Play"],
.vvs-layout--innerpage .wistia_embed .w-bottom-bar,
.vvs-layout--innerpage .wistia_embed .w-control-bar,
.vvs-layout--innerpage .wistia_embed [data-handle="controlBar"],
.vvs-layout--innerpage .wistia_embed .w-bpb-wrapper {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* -- Innerpage responsive -- */
@media (max-width: 991px) {
    .vvs-layout--innerpage .vvs-carousel {
        padding: 0 40px 24px;
    }
    .vvs-layout--innerpage .vvs-slide {
        width: 78%;
    }
    .vvs-layout--innerpage .vvs-slide--prev {
        transform: translateX(calc(-50% - 28%)) scale(0.78);
    }
    .vvs-layout--innerpage .vvs-slide--next {
        transform: translateX(calc(-50% + 28%)) scale(0.78);
    }
}

@media (max-width: 767px) {
    .vvs-layout--innerpage .vvs-nav-bar {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 8px;
    }
    .vvs-layout--innerpage .vvs-carousel {
        padding: 0 16px 24px;
    }
    .vvs-layout--innerpage .vvs-slide {
        width: 100%;
    }
    .vvs-layout--innerpage .vvs-slide--prev,
    .vvs-layout--innerpage .vvs-slide--next {
        display: none;
    }
}
