.cds-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 20px auto 30px;
    padding: 0;
    box-sizing: border-box;
}

.cds-section {
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 25px;
    box-shadow: 0 4px 18px rgba(20,35,55,.06);
    overflow: hidden;
}

.cds-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cds-heading h2 {
    font-size: 17px;
    margin: 0;
    color: #263445;
    font-weight: 700;
}

.cds-heading a {
    font-size: 13px;
    color: #2875c7;
    text-decoration: none;
}

.cds-slider {
    position: relative;
    display: flex;
    align-items: center;
}

.cds-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    width: 100%;
    padding: 3px 1px 8px;
}

.cds-track::-webkit-scrollbar {
    display: none;
}

.cds-card {
    flex: 0 0 calc(20% - 12px);
    min-width: 155px;
    max-width: 230px;
    border: 1px solid #edf0f4;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    transition: .2s;
}

.cds-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(20,35,55,.10);
}

.cds-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.cds-thumb,
.cds-no-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #f1f3f5;
}

.cds-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.cds-content {
    padding: 11px;
}

.cds-content h3 {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: #273344;
    font-weight: 600;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cds-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #273344;
    box-shadow: 0 2px 10px rgba(0,0,0,.16);
    cursor: pointer;
}

.cds-prev {
    right: 5px;
}

.cds-next {
    left: 5px;
}

@media(max-width:900px) {
    .cds-card {
        flex-basis: calc(33.333% - 10px);
    }
}

@media(max-width:600px) {

    .cds-section {
        padding: 12px;
    }

    .cds-heading h2 {
        font-size: 16px;
    }

    .cds-card {
        flex-basis: 68%;
        min-width: 145px;
    }

    .cds-content h3 {
        font-size: 13px;
    }

}
