/* Splide Carousel Specific Styles */

/* Custom Splide Arrow Styling - Based on original design */
.splide__arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 16px;
}

.splide__arrow:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.splide__arrow--prev {
    left: 20px;
}

.splide__arrow--next {
    right: 20px;
}

.splide__arrow svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Sembunyikan default arrows dari Splide */
#splide-newstop .splide__arrow,
#splide-newsbottom .splide__arrow {
    display: none !important;
}

/* Custom pagination dots */
.splide__pagination {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.splide__pagination__page {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.splide__pagination__page:hover {
    background: rgba(255, 255, 255, 0.8);
}

.splide__pagination__page.is-active {
    background: white;
    transform: scale(1.2);
}

/* Adjust arrow size for mobile */
@media (max-width: 768px) {
    .splide__arrow {
        width: 35px;
        height: 35px;
    }

    .splide__arrow--prev {
        left: 10px;
    }

    .splide__arrow--next {
        right: 10px;
    }
}