.cpd-carousel-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.cpd-carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 0;
}

.cpd-slide {
    display: none;
    width: calc(33.333% - 10px);
    margin: 0 5px;
    position: relative;
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
    filter: none !important;
}

.cpd-slide.active {
    display: block !important;
}

.cpd-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    filter: none !important;
}

.cpd-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    box-sizing: border-box;
}



.cpd-read-more:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.cpd-pagination {
    text-align: center;
    margin: 20px auto 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 12px;
}

.cpd-page {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0;
    color: #B4B4B4;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.cpd-page:hover {
    background: #f0f0f0;
    border-color: #999;
}

.cpd-page.active {
    background: #EC2224;
    color: #fff;
    border-color: #EC2224;
}

.cpd-arrow {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    color: #B4B4B4;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

.cpd-arrow:hover {
    color: #000;
}

.cpd-ellipsis {
    display: inline-block;
    margin: 0 8px;
    font-size: 16px;
    color: #888;
}

@media (max-width: 768px) {
    .cpd-slide {
        width: 100% !important;
        margin: 0 !important;
    }
}



.cpd-arrow-circle {
    background: white;
    color: black;
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.cpd-read-more {
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    background-color: rgba(0,0,0,0.5);
    padding: 8px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-end;
    transition: background 0.3s ease;
    opacity: 0.5;
}

.cpd-read-more i {
    font-size: 20px;
    opacity: 0.5;
}