.coqpit-vs {
    --coqpit-vs-pt: 80px;
    --coqpit-vs-pr: 80px;
    --coqpit-vs-pb: 80px;
    --coqpit-vs-pl: 80px;

    position: relative;
    width: 100%;
    height: 828px;
    overflow: hidden;
    background-color: #191c2a;
    font-family: 'Manrope', sans-serif;
}

.coqpit-vs__swiper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.coqpit-vs__swiper .swiper-wrapper {
    display: flex;
    box-sizing: content-box;
    width: 100%;
    height: 100%;
    transition-property: transform;
}

.coqpit-vs__slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Fade effect stacks the slides: only the active one may take pointer events,
   otherwise the last slide in the DOM covers the buttons (no hover, no click). */
.coqpit-vs__slide {
    pointer-events: none;
}

.coqpit-vs__slide.is-active {
    pointer-events: auto;
}

.coqpit-vs__swiper.swiper-fade .swiper-slide {
    transition-property: opacity;
}

.coqpit-vs__video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    background-color: transparent;
}

.coqpit-vs__overlay,
.coqpit-vs__gradient {
    position: absolute;
    left: 0;
    right: 0;
    pointer-events: none;
}

.coqpit-vs__overlay {
    top: 0;
    bottom: 0;
}

.coqpit-vs__gradient {
    bottom: 0;
    height: 45%;
    background-image: linear-gradient(0deg, #191c2a 0%, rgba(25, 28, 42, 0) 100%);
}

/* Side gradients: full height, dark on the outer edge, fading inwards */
.coqpit-vs__gradient--left,
.coqpit-vs__gradient--right {
    top: 0;
    bottom: 0;
    height: auto;
    width: 20%;
}

.coqpit-vs__gradient--left {
    left: 0;
    right: auto;
    background-image: linear-gradient(90deg, #191c2a 0%, rgba(25, 28, 42, 0) 100%);
}

.coqpit-vs__gradient--right {
    left: auto;
    right: 0;
    background-image: linear-gradient(270deg, #191c2a 0%, rgba(25, 28, 42, 0) 100%);
}

/* Same gradient flipped: dark on the top edge, fading downwards */
.coqpit-vs__gradient--top {
    top: 0;
    bottom: auto;
    height: 30%;
    background-image: linear-gradient(180deg, #191c2a 0%, rgba(25, 28, 42, 0) 100%);
}

.coqpit-vs__slide-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: var(--coqpit-vs-pt) var(--coqpit-vs-pr) calc(var(--coqpit-vs-pb) + var(--coqpit-vs-reserve, 0px)) var(--coqpit-vs-pl);
    pointer-events: none;
}

.coqpit-vs__content {
    width: 100%;
    max-width: 420px;
    text-align: left;
    pointer-events: none;
}

/* Only the visible slide's content is interactive: in fade mode the last slide sits on top
   (invisible) and would otherwise swallow hover and clicks meant for the active one. */
.coqpit-vs__slide.is-active .coqpit-vs__content {
    pointer-events: auto;
}

.coqpit-vs__title {
    margin: 0 0 20px;
    font-family: 'Merca', sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.05;
    text-transform: uppercase;
    color: #fff;
}

.coqpit-vs__description {
    margin: 0 0 40px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.coqpit-vs__button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    line-height: 0;
}

.coqpit-vs__button-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 12px 24px;
    border-radius: 3px;
    background-color: #f90c1a;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    white-space: nowrap;
    transition-property: color, background-color, padding;
    transition-duration: 200ms;
    transition-timing-function: ease;
}

.coqpit-vs__button-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 48px;
    height: 43px;
    border-radius: 3px;
    background-color: #f90c1a;
    color: #fff;
    transition-property: background-color, color;
    transition-duration: 200ms;
    transition-timing-function: ease;
}

.coqpit-vs__button-arrow svg {
    display: block;
    width: 14px;
    height: auto;
    overflow: visible;
}

/* UI layer above the slides (arrows, timeline, pause). role="button" spans, not <button>:
   the Elementor kit styles every <button> (red background, padding, uppercase). */
.coqpit-vs__ui {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.coqpit-vs__ctrl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.coqpit-vs__ctrl svg {
    display: block;
    width: 16px;
    height: auto;
    overflow: visible;
}

.coqpit-vs__ctrl:focus-visible,
.coqpit-vs__timeline:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.coqpit-vs__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.coqpit-vs__nav--prev {
    left: 40px;
}

.coqpit-vs__nav--next {
    right: 40px;
}

.coqpit-vs__controls {
    position: absolute;
    left: var(--coqpit-vs-pl);
    right: var(--coqpit-vs-pr);
    bottom: var(--coqpit-vs-pb);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    pointer-events: none;
}

.coqpit-vs__timeline {
    flex: 0 0 auto;
    width: 208px;
    padding: 10px 0; /* larger hit area than the visible bar */
    cursor: pointer;
    pointer-events: auto;
    touch-action: none;
}

.coqpit-vs__track {
    height: 3px;
    overflow: hidden;
    background-color: rgba(217, 217, 217, 0.2);
}

.coqpit-vs__fill {
    width: 0;
    height: 100%;
    background-color: #fff;
}

.coqpit-vs .coqpit-vs__ctrl .coqpit-vs__icon-play {
    display: none;
}

.coqpit-vs.is-paused .coqpit-vs__ctrl .coqpit-vs__icon-pause {
    display: none;
}

.coqpit-vs.is-paused .coqpit-vs__ctrl .coqpit-vs__icon-play {
    display: block;
}

.coqpit-vs__empty {
    margin: 0;
    padding: 20px;
    text-align: center;
    opacity: 0.7;
}
