.news-slider__section {
    background-color: var(--color--dark);
    padding: 2rem 2rem 3rem 2rem;
}

.news-slider__section-title {
    color: white;
}

.news-slider__container {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.news-slider__container h2 {
    font-size: 45px;
    margin-bottom: 10px;
}

.outer-container {
    box-sizing: content-box;
    grid-column-gap: 1px;
    grid-row-gap: 1px;
    text-align: center;
    object-fit: fill;
    flex-flow: column;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr;
    grid-auto-columns: 1fr;
    align-items: stretch;
    width: auto;
    max-width: 1460px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
    display: block;
    position: static;
}

.news-slider__card-container {
    z-index: 1;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    gap: 10px;
}

.news-slider__item {
    grid-column-gap: 32px;
    grid-row-gap: 10px;
    background: linear-gradient(145deg, #5f5f60 0%, #4e4e4f 100%);
    color: var(--color--light-gray);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 250px;
    padding: 15px;
    text-decoration: none;
    display: flex;
    position: relative;
    overflow: hidden;
}

.news-slider__item-title {
    color: var(--color--white);
    font-size: 24px;
    font-weight: bold;
}

.news-slider__item-hover {
    z-index: 1;
    background-color: var(--color--primary);
    opacity: 0;
    justify-content: center;
    align-items: center;
    width: 101%;
    height: 101%;
    margin-top: -0.5%;
    margin-left: -0.5%;
    display: flex;
    position: absolute;
    inset: 0%;
}

.news-slider__item-dates {
    color: #d9d9d9;
}

.new-active .news-slider__item-dates {
    color: #fff;
}

.news-slider__button {
    border: 1px solid var(--color--white);
    background-color: var(--color--white);
    color: var(--color--black);
    text-align: center;
    border-radius: 0;
    justify-content: center;
    align-items: center;
    padding: 12px 34px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4em;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
}

.news-slider__button:hover {
    background-color: var(--color--light-gray);
    color: black;
}

.news-slider__item-content {
    width: 100%;
    margin: auto 0;
}

.news-slider__item .icon {
    font-size: 45px;
    width: 100%;
    color: white;
}

.splide__slide.new-active {
    background-color: var(--color--primary);
    background: linear-gradient(145deg, #e57f3b 0%, #d9722f 100%);
}

.splide__pagination {
    bottom: -1em;
}

.splide__arrow--prev {
    left: -2em;
}

.splide__arrow--next {
    right: -2em;
}

/* @media (max-width: 1280px) {
    .news-slider__item-title{
      font-size: 18px;
    }
} */

/*----------------------------------------*/
/*             REVAMP - START             */
/*----------------------------------------*/

.revamp .news-slider__section {
    padding: 60px 40px 90px;
}

.revamp .news-slider__container .splide__track {
    padding: 20px 10px !important;
}

.revamp .news-slider__item {
    padding: 25px;

    border-radius: 15px;
    box-shadow: 2px 2px 8px #00000066;
    border: 1px solid #ffffff44;
}

.revamp .news-slider__button {
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 5px;
    box-shadow: 2px 2px 6px #00000022;
}

.revamp .news-slider button.splide__arrow {
    background: #ffffff33;
    opacity: 1;
}
.revamp .news-slider button.splide__arrow svg {
    fill: #fff;
}

/*----------------------------------------*/
/*             REVAMP - END               */
/*----------------------------------------*/

@media (max-width: 972px) {
    /*----------------------------------------*/
    /*             REVAMP - START             */
    /*----------------------------------------*/

    .revamp .news-slider__section {
        padding: 40px 20px 50px;
    }

    .revamp .news-slider__container .splide__track {
        padding: 10px !important;
    }

    .revamp .news-slider__item {
        height: fit-content;
        padding: 20px;
    }

    /*----------------------------------------*/
    /*             REVAMP - END               */
    /*----------------------------------------*/

    .news-slider__item-title {
        font-size: 16px;
    }
}

@media (max-width: 870px) {
    .news-slider__item-title {
        font-size: 18px;
    }
}
