/* =====================================================
   ONE XPS Slider — frontend styles
   ===================================================== */

/* Outer wrapper has horizontal padding so the arrows sit
   in gutters OUTSIDE the slide image. The Elementor widget
   exposes this gutter as "Arrow gutter". */
.onexps-slider {
    position: relative;
    width: 100%;
    padding: 0 72px;        /* default arrow gutter */
    box-sizing: border-box;
    line-height: 0;
}

.onexps-slider .swiper {
    width: 100%;
    overflow: hidden;
}

.onexps-slide {
    position: relative;
    display: block;
    background: #000;
    line-height: 0;
}

.onexps-slide .onexps-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.onexps-slide img,
.onexps-slide .onexps-slide-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* Caption overlay */
.onexps-slide-caption {
    position: absolute;
    left: 24px;
    bottom: 24px;
    max-width: calc(100% - 48px);
    padding: 8px 16px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.55);
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.4;
    z-index: 5;
}

/* =====================================================
   Custom chevron arrows — solid gold + white outline trail
   Sit in the gutters OUTSIDE the slide, vertically centered.
   ===================================================== */

.onexps-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 56px;
    height: 80px;
    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;
    appearance: none;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.2s ease, opacity 0.2s ease;
}

.onexps-arrow:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 201, 76, 0.35);
    border-radius: 4px;
}

.onexps-arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.onexps-arrow .onexps-arrow-icon {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

/* Custom arrow image (uploaded via the Elementor widget media picker) */
.onexps-arrow-img {
    object-fit: contain;
    object-position: center;
}

/* Default chevron path — single clean gold chevron */
.onexps-arrow-path { stroke: #f2c94c; }
.onexps-arrow:hover .onexps-arrow-path { stroke: #ffd966; }

/* Position the buttons inside the gutters created by .onexps-slider padding */
.onexps-arrow--prev { left: 8px; }
.onexps-arrow--next { right: 8px; }

.onexps-arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.onexps-arrow--next:hover { transform: translateY(-50%) translateX(3px); }

/* Mobile — smaller arrows, smaller gutter */
@media (max-width: 768px) {
    .onexps-slider {
        padding: 0 44px;
    }
    .onexps-arrow {
        width: 32px;
        height: 48px;
    }
    .onexps-arrow--prev { left: 4px; }
    .onexps-arrow--next { right: 4px; }
    .onexps-slide-caption {
        left: 12px;
        bottom: 12px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

/* Editor placeholder when no slides exist */
.onexps-slider-empty {
    line-height: 1.4;
}
