/* ==========================================
   Multi Slider Pro - Front-end Styles
   ========================================== */

.msp-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    box-sizing: border-box;
}

.msp-slider *,
.msp-slider *::before,
.msp-slider *::after {
    box-sizing: border-box;
}

.msp-slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: transform;
}

.msp-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #1a1a1a;
}

/* Whole-slide click link (when no button text but URL is set) */
.msp-slide__link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}
.msp-slide--linked {
    cursor: pointer;
}

.msp-slide__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 6s ease-out;
}

.msp-slide:hover .msp-slide__img {
    transform: scale(1.04);
}

.msp-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Content positioning - width is set per-slider in dynamic CSS */
.msp-slide__content {
    position: absolute;
    z-index: 2;
    padding: 0;
}

/* Position variants */
.msp-content-top-left .msp-slide__content    { top: 7%; left: 7%; }
.msp-content-top-center .msp-slide__content  { top: 7%; left: 50%; transform: translateX(-50%); text-align: center; }
.msp-content-top-right .msp-slide__content   { top: 7%; right: 7%; text-align: right; }

.msp-content-middle-left .msp-slide__content   { top: 50%; left: 7%; transform: translateY(-50%); }
.msp-content-middle-center .msp-slide__content { top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.msp-content-middle-right .msp-slide__content  { top: 50%; right: 7%; transform: translateY(-50%); text-align: right; }

.msp-content-bottom-left .msp-slide__content   { bottom: 7%; left: 7%; }
.msp-content-bottom-center .msp-slide__content { bottom: 7%; left: 50%; transform: translateX(-50%); text-align: center; }
.msp-content-bottom-right .msp-slide__content  { bottom: 7%; right: 7%; text-align: right; }

.msp-slide__title {
    margin: 0 0 0.7em 0;
}

.msp-slide__desc {
    margin: 0 0 1.2em 0;
}

.msp-slide__desc p {
    margin: 0 0 0.6em 0;
    line-height: inherit;
    color: inherit;
}

.msp-slide__desc p:last-child {
    margin-bottom: 0;
}

.msp-slide__btn {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s, letter-spacing 0.2s, transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    z-index: 4;
}

/* Arrows */
.msp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.msp-arrow:hover,
.msp-arrow:focus {
    background: rgba(0, 0, 0, 0.78);
    transform: translateY(-50%) scale(1.08);
    outline: none;
}

.msp-arrow svg {
    width: 22px;
    height: 22px;
}

.msp-arrow--prev { left: 16px; }
.msp-arrow--next { right: 16px; }

/* Dots */
.msp-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.msp-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}

.msp-dot:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.msp-dot.is-active {
    background: #fff;
    width: 26px;
    border-radius: 4px;
}

@media (max-width: 640px) {
    .msp-arrow {
        width: 38px;
        height: 38px;
    }
    .msp-arrow--prev { left: 10px; }
    .msp-arrow--next { right: 10px; }
}
