.news-slider-section {
    padding: 50px 0;
}

.news-slider-section .slick-track {
    padding-bottom: 10px;
    display: flex !important;
}

.news-slider-section .news-slider-title {
    text-transform: capitalize;
}

.news-slider-section .news-slider-title h1 {
    font-size: 50px;
    line-height: 60px;
    color: #084987;
    font-weight: 500;
    margin-bottom: 30px;
}

.news-slider-section .news-slider-title h2 {
    font-size: 42px;
    line-height: 52px;
    font-weight: 500;
    color: #084987;
    margin-bottom: 30px;
}

.news-slider-section .news-slider-title h3 {
    font-size: 36px;
    line-height: 46px;
    color: #084987;
    font-weight: 500;
    margin-bottom: 30px;
}

.news-slider-section .news-slider-title h4 {
    font-size: 36px;
    line-height: 46px;
    color: #084987;
    font-weight: 500;
    margin-bottom: 30px;
}

.news-slider-section .news-slider-title h5 {
    font-size: 32px;
    line-height: 42px;
    color: #084987;
    font-weight: 500;
    margin-bottom: 30px;
}

.news-slider-section .news-slider-title h6 {
    font-size: 32px;
    line-height: 42px;
    color: #084987;
    font-weight: 500;
    margin-bottom: 30px;
}

.news-slider-section .news-slider-title p {
    font-size: 24px;
    line-height: 34px;
    color: #595959;
    font-weight: 400;
    margin-bottom: 30px;
}

.news-slider-all-post {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.news-slider-all-post .slick-list {
    display: flex;
}

.news-slider-cardflex {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    margin-left: 15px;
    margin-right: 15px;
    position: relative;
}

.no-news-slick-wrap .news-slider-cardflex {
    max-width: calc((100% - 40px) / 3);
    width: 100%;
    margin: 0;
}

.news-slider-cardflex:hover .news-slider-image-wrap img {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}

.news-slider-image-wrap img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.news-slider-image-wrap {
    position: relative;
    background: lightgrey;
    padding: 20px;
    height: 300px;
}

.news-cat-wrap {
    display: flex;
    gap: 8px;
    margin: 15px 15px 0;
    position: absolute;
    top: 0;
    right: 0;
}

.news-cat-wrap span a {
    background: #084987;
    color: #fff !important;
    font-size: 12px;
    padding: 10px 20px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 500;
}

.news-content-wrap {
    padding: 20px;
}

.news-content-wrap a {
    text-decoration: none !important;
    color: inherit !important;
}

.news-content-wrap h2 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #084987;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-content-wrap h2 a {
    text-decoration: none;
    color: #131e37;
}

.news-content-wrap p {
    font-size: 18px;
    line-height: 26px;
    color: #595959;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.news-slider-tag {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: #fff;
    padding: 10px 20px;
    border-radius: 24px;
    max-width: fit-content;
    width: 100%;
}

.news-slider-tag p {
    margin: 0;
    padding: 0;
    color: #131e37;
    font-size: 18px;
    line-height: normal;
    font-weight: 600;
}

.news-slider-section .slick-prev img,
.news-slider-section .slick-next img {
    width: 35%;
    height: 30px;
}

.news-slider-section .slick-prev::before,
.news-slider-section .slick-next::before {
    all: unset;
}

button.slick-prev {
    left: unset;
    right: 105px !important;
    border-top-left-radius: 100px !important;
    border-bottom-left-radius: 100px !important;
}

button.slick-next {
    border-top-right-radius: 100px !important;
    border-bottom-right-radius: 100px !important;
}

.slick-prev,
.slick-next {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
}

.slick-prev {
    left: -50px;
}

.slick-next {
    right: -50px;
}

.slick-prev:hover,
.slick-next:hover {
    background: #7b5cd6;
    border-color: #7b5cd6;
}

.slick-prev::before,
.slick-next::before {
    font-size: 20px;
    color: #7b5cd6;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.slick-prev:hover::before,
.slick-next:hover::before {
    color: #fff;
}

.hero-slick-wrap .slick-track {
    display: flex !important;
    align-items: center;
}

.news-slider-section .slick-prev,
.news-slider-section .slick-next {
    font-size: 0;
    width: 70px;
    height: 40px;
    padding: 0;
    background-color: #faf7f7;
}

.news-slider-section .slick-prev:hover,
.news-slider-section .slick-next:hover {
    background-color: #084987;
}

.news-slider-section .slick-prev:hover img,
.news-slider-section .slick-next:hover img {
    filter: invert(1);
}

.news-slider-section .slick-prev:focus,
.news-slider-section .slick-next:focus {
    background-color: #084987;
}

.news-slider-section .slick-prev:focus img,
.news-slider-section .slick-next:focus img {
    filter: invert(1);
}

.news-slider-section .news-slick-wrap button.slick-next {
    right: 10px;
    top: -60px;
    transition: 0.3s ease-in-out;
}

.news-slider-section .news-slick-wrap button.slick-prev {
    right: 60px;
    top: -60px;
    bottom: unset;
    transition: 0.3s ease-in-out;
}

@media(max-width:1200px) {

    .no-news-slick-wrap .news-slider-cardflex {
        max-width: calc((100% - 20px) / 2);
        width: 100%;
    }
}

@media(max-width:1024px) {
    .news-slider-section .news-slider-title h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .news-slider-section .news-slider-title h2 {
        font-size: 38px;
        line-height: 48px;
    }

    .news-slider-section .news-slider-title h3 {
        font-size: 32px;
        line-height: 42px;
    }

    .news-slider-section .news-slider-title h4 {
        font-size: 32px;
        line-height: 42px;
    }

    .news-slider-section .news-slider-title h5 {
        font-size: 28px;
        line-height: 38px;
    }

    .news-slider-section .news-slider-title h6 {
        font-size: 28px;
        line-height: 38px;
    }

    .news-slider-section .news-slider-title p {
        font-size: 20px;
        line-height: 30px;
    }
}

@media(max-width:991px) {

    .news-cat-wrap {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        position: unset;
        margin: 0;
        margin-bottom: 10px;
    }

    .news-cat-wrap span a {
        font-size: 10px;
        padding: 6px 12px;
    }
}

@media(max-width:767px) {
    .news-slider-section .news-slider-title h1 {
        font-size: 36px;
        line-height: 46px;
    }

    .news-slider-section .news-slider-title h2 {
        font-size: 32px;
        line-height: 42px;
    }

    .news-slider-section .news-slider-title h3 {
        font-size: 28px;
        line-height: 38px;
    }

    .news-slider-section .news-slider-title h4 {
        font-size: 28px;
        line-height: 38px;
    }

    .news-slider-section .news-slider-title h5 {
        font-size: 24px;
        line-height: 34px;
    }

    .news-slider-section .news-slider-title h6 {
        font-size: 24px;
        line-height: 34px;
    }

    .news-slider-section .news-slider-title p {
        font-size: 18px;
        line-height: 28px;
    }

    .news-slider-section .slick-next {
        top: unset !important;
        bottom: -55px !important;
        right: 15px !important;
    }

    .news-slider-section .slick-prev {
        top: unset !important;
        bottom: -55px !important;
        right: 95px !important;
    }

    .news-slider-section {
        padding: 25px 0;
        padding-bottom: 50px;
    }

    .news-slider-tag p {
        font-size: 16px;
        line-height: normal;
    }

    .news-content-wrap p {
        font-size: 16px;
        line-height: normal;
    }

    .news-slider-all-post {
        gap: 40px;
    }

    .news-slider-image-wrap img {
        height: 100%;
    }

    .news-slider-image-wrap {
        height: 100%;
    }

    .no-news-slick-wrap .news-slider-cardflex {
        max-width: 100%;
        width: 100%;
        height: 100%;
    }
}