.wintemp-card-carousel-wrapper {
    position: relative;
}
.wintemp-card-carousel .splide__track {
    overflow: visible;
}
.wintemp-card-item {
    position: relative;
    width: 100%;
    height: 400px; /* Default fallback */
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    transition: transform 0.3s ease;
}

.wintemp-card-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px 38px;
    text-align: center;
    color: #fff;
}

.wintemp-card-title {
    font-size: 20px;
    line-height: 28px;
    font-weight: normal;
    margin: 0 0 25px 0;
    color: #fff;
}

.wintemp-card-button {
    display: inline-block;
    width: 100%;
    padding: 12px 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.wintemp-card-button:hover {
    border-color: #fff;
    color: #fff;
}

/* Pagination Styling */
div.wintemp-card-carousel-wrapper .wintemp-card-carousel .splide__pagination {
    bottom: -60px;
    display: flex;
}

.wintemp-card-carousel-wrapper .splide__pagination__page {
    width: 30px;
    height: 2px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 2px;
    transition: all 0.3s ease;
    padding: 0;
}

.wintemp-card-carousel-wrapper .splide__pagination__page.is-active {
    background: #ff6600; /* Adjust orange color as needed */
    transform: scale(1);
}

.wintemp-card-item::after {
    content: '';
    position: absolute;
    bottom: -184px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 300px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: url(../image/test1.png) no-repeat center center;
    background-size: contain;
    pointer-events: none;
}
@media (min-width: 769px) {
    .wintemp-card-item:hover::after {
        opacity: 1;
    }
}

.splide__pagination li[role="presentation"] button{
    position: relative;
}
.splide__pagination li[role="presentation"] button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
}
@media (max-width: 768px) {
    .wintemp-card-overlay {
        padding: 32px;
    }
    .wintemp-card-carousel-wrapper .splide__pagination__page {
        width: 15px;
        height: 1px;
    }
    div.wintemp-card-carousel-wrapper .wintemp-card-carousel .splide__pagination {
        bottom: -70px;
    }
    .splide__slide.is-active .wintemp-card-item::after {
        opacity: 1;
    }
}