

.cm-slider-news-container {
    line-height: 0;
    font-family: "Poppins", sans-serif;
    margin: 0;
    --swiper-theme-color: var(--cm-slider-color);
}


.cm-slider-navigation-buttons {
    display: none;
}

.cm-slider-img-news {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}


.cm-slider-prev-btn, .cm-slider-next-btn {
    cursor: pointer;
    background-color: #5E5E5E;
    padding: 16px
}

.cm-slider-prev-btn:hover, .cm-slider-next-btn:hover {
    background-color: var(--cm-slider-color);
}


.inner {
    position: relative;
    justify-content: center;
    width: 100%;
    top: 150px;
    height: 300px;
    z-index: 2;
    display: flex;
    background-color: rgba(255, 255, 255, 1);
}

.swiper {
    max-width: 1420px;
    height: 600px;
    display: flex;
}

.swiper-slide {
    text-align: center;
    align-items: center;
    font-size: 18px;
    background: #fff;
    display: flex;
}


.readMore {
    position: relative;
    z-index: 3;
}

.the-title {
    color: var(--cm-slider-color);
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    text-align: left;
}

.cm-slider-read-more-hover-div {
    background-color: #5E5E5E;
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    z-index: 3;
    transition: all 0.275s ease-in-out;
}

.cm-slider-read-more-button {
    border-radius: 0;
    background-color: var(--cm-slider-color);
    position: absolute;
    border: none;
    color: #FFFFFF;
    right: 0;
    bottom: 0;
    padding: 2px;
    width: 175px;
    font-size: 16px;
    font-weight: 300;
    line-height: 36px;
    text-align: center;
    transition: all 0.275s ease-in-out;
    /* Safari */
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    font-family: "Poppins", sans-serif;

}


.cm-slider-read-more-button:hover .cm-slider-read-more-hover-div {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.the-content {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    width: 378px;
}


/* from 540px */
@media (min-width: 540px) {
    .swiper {
        height: 600px;
    }

    .swiper-pagination {
        display: none;
    }

    .inner {
        align-items: center;
        top: 0;
        height: 412px;
        width: 580px;
    }

    .cm-slider-navigation-buttons {
        display: flex;
        flex-direction: column;
        position: absolute;
        gap: 8px;
        left: 0;
        top: 10%;
    }

    .cm-slider-navigation-buttons:after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: -135.2px;
        left: 54px;
        width: 224px;
        height: 600px;
        background-color: white;
    }
}

/* from 1024px */
@media (min-width: 1024px) {

    .cm-slider-navigation-buttons:after {
        display: none;
    }

    .the-content:before {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: -94px;
        width: 234px;
        left: 101px;
        height: 600px;
        background-color: white;
    }

    .swiper-slide {
        justify-content: center;
    }

    .inner {
        left: -10%;
    }
    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }
}
