/* News slider styles */
.cew-news-section {
    width: 100%;
}

.cew-news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 30px;
}

.cew-news-title {
    margin: 0;
    font-weight: 400;
    font-size: 32px;
}

.cew-news-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #6E6F71;
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
}

.cew-news-view-all:hover {
    background: #e6e6e6;
}

.cew-news-swiper {
    overflow: hidden;
}

.cew-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cew-news-thumb-wrap {
    display: block;
}

.cew-news-thumb-wrap img {
    width: 100%;
    height: 180px !important;
    object-fit: cover;
    ;
}

.cew-news-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.cew-news-thumb.placeholder {
    background: #f0f0f0;
    height: 180px;
}

.cew-news-content {
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.cew-news-title-link {
    font-size: 16px;
    font-weight: 400;
    color: #202325;
    text-decoration: none;
    line-height: 1.4;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    height: 65px;
}

.cew-news-content .distance {
    width: 100%;
    height: 1px;
    background: #0000001A;
    margin: 6px auto 4px;
}

.cew-news-title-link:hover {
    color: #fbb042;
}

.cew-news-excerpt {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.cew-news-meta {
    font-size: 13px;
    color: #888;
}

.cew-news-nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 12px;
}

.cew-news-prev,
.cew-news-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.cew-news-prev:hover,
.cew-news-next:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

@media (max-width: 1023px) {
    .cew-news-title {
        font-size: 28px;
    }

    .cew-news-thumb,
    .cew-news-thumb.placeholder {
        height: 160px;
    }
}

@media (max-width: 767px) {
    /* .cew-news-header {
        flex-direction: column;
        align-items: flex-start;
    } */

    .cew-news-view-all {
        padding: 6px 12px;
    }

    .cew-news-nav {
        justify-content: center;
    }
}