
.ccw-carousel {
    width: 100%;
    position: relative;
    overflow: hidden;
}
.ccw-carousel .ccw-content {
    text-align: var(--ccw-content-alignment, left);
    align-items: var(--ccw-content-alignment, flex-start);
}

/* Center alignment */
.ccw-carousel .ccw-content {
    align-items: var(--ccw-content-alignment, flex-start);
}

.ccw-carousel[style*="center"] .ccw-content {
    align-items: center;
}

/* Right alignment */
.ccw-carousel[style*="right"] .ccw-content {
    align-items: flex-end;
}
.ccw-track {
    display: flex;
    position: relative;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.ccw-track::-webkit-scrollbar {
    display: none;
}

.ccw-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 0;
    height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    scroll-snap-align: start;
}

.ccw-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.ccw-carousel .ccw-content {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    flex-direction: column;
    min-width: 0;
}

.ccw-title {
    margin: 0 0 16px;
    color: #fff;
}

.ccw-subtitle {
    margin: 0 0 24px;
    color: #fff;
}

.ccw-button {
    display: inline-block;
    background: #212D69;
    text-decoration: none;
    width: max-content;
    border: none;
    cursor: pointer;
    transition: 0.6s ease;
}

.ccw-button:hover {
    background: #3B50BC;
    color: #fff;
}

.ccw-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 200px;
    z-index: 10;
}

.ccw-navigation button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.ccw-navigation button img {
    display: block;
    width: 40px;
    height: auto;
    object-fit: contain;
}

/* Left arrow: reuse the same image */
.ccw-navigation .ccw-prev img.ccw-shared-arrow {
    transform: rotate(180deg);
}



/* Pagination container */
.ccw-pagination {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 11;
    pointer-events: none;
}
.ccw-pagination .ccw-dot {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    min-width: 10px;
    padding: 0;
    border: 1px solid white;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s ease;
}

/* Active dot */
.ccw-pagination .ccw-dot.is-active {
    background: #ffffff;
    transform: scale(1.5);
}
@media(max-width:1024px){
    .ccw-navigation{
        padding: 0 20px;
    }
}
@media (max-width: 767px) {
    .ccw-pagination {
        bottom: 16px;
        gap: 8px;
    }

    .ccw-pagination .ccw-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
    }
}

@media (max-width: 767px) {
    .ccw-slide {
        height: 380px;
    }

    .ccw-content {
        padding: 24px;
    }
}
