.all-news-section {
    padding-top: 16px;
}
.all-news-section .sec-header{
    margin-bottom: 32px;
}
.all-news-section .news-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:40px 32px;
}
.all-news-section .news-card{
    border: 1px solid #00078733;
    padding: 24px 24px 32px 24px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}
.all-news-section .news-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.all-news-section .news-card-img{
    width: 100%;
    height: 240px;
    margin-bottom: 32px;
}
.all-news-section .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.all-news-section .news-category {
    color: #000787;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 12px;
}
.all-news-section .news-card-title{
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 24px;
}
.all-news-section .news-card-title a{
    display: flex;
    gap: 16px;
    transition: all 0.3s ease-out;
    justify-content: space-between;
    text-decoration: none;
}
.all-news-section .news-card-title a h5{
    text-decoration: none;
    font-weight: 300;
    color: #060534;
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 0;
}
.all-news-section .news-card-title a svg{
    margin-right: 0px;
    transition: all 0.3s ease-out;
    min-width: 24px;
}
[dir=rtl] .all-news-section .news-card-title a svg {
    transform: scaleX(-1);
}
.all-news-section .news-card-title a:hover svg{
    margin-right: -5px;
    margin-left: 5px;
}
[dir=rtl] .all-news-section .news-card-title a:hover svg {
    margin-left: -5px;
    margin-right: 5px;
}
.all-news-section .desc{
    font-size: 16px;
    line-height: 20px;
    color:#535366;
    margin-bottom: 0;
}
.all-news-section .news-meta {
    padding-top: 44px;
    margin-top: auto;
}
.all-news-section .news-author {
    color: #101828;
    font-size: 14px;
    line-height: 20px;
    text-transform:capitalize;
}
.all-news-section .news-date{
    color:#667085;
    font-size: 14px;
    line-height: 20px;
}



.custom-pagination {
    margin-top: 72px;
    text-align: center;
}
.custom-pagination .page-numbers {
    padding: 4px;
    border-radius: 8px;
    border: 1px solid rgba(0, 7, 135, 0.2);
    margin-left: 6px;
    margin-right: 6px;
    color: #060534;
    font-size: 14px;
    line-height: 26px;
    width: 36px;
    height: 36px;
    display: inline-block;
    text-decoration: none;
}
.custom-pagination .page-numbers.current {
    background: #000787;
    color: #fff;
}
[dir=rtl] .custom-pagination .page-numbers.next, 
[dir=rtl] .custom-pagination .page-numbers.prev{
    transform: scaleX(-1);
}
@media (max-width: 991px) {
    .all-news-section .news-grid{
        grid-template-columns: repeat(2, 1fr);
        gap:32px;
    }
    
}

@media (max-width: 767px) {
    .all-news-section {
        padding-top: 0px;
    }
    .all-news-section .news-grid{
        grid-template-columns: repeat(1, 1fr);
        gap:20px;
    }
    .all-news-section .news-card-img {
        width: 100%;
        height: 52vw;
        margin-bottom: 16px;
    }
    .all-news-section .sec-header {
        margin-bottom: 24px;
    }
    .all-news-section .news-grid {
        gap: 16px;
    }
    .all-news-section .sec-header h4 {
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0;
    }
    .all-news-section .news-card {
        padding: 16px;
    }
    .all-news-section .news-category {
        margin-bottom: 8px;
    }
    .all-news-section .news-card-title a h5 {
        font-size: 20px;
        line-height: 28px;
    }
    .all-news-section .desc {
        font-size: 16px;
        line-height: 20px;
    }
    .all-news-section .news-author {
        font-size: 16px;
        line-height: 20px;
    }
    .all-news-section .news-meta {
        padding-top: 24px;
    }
    .custom-pagination {
        margin-top: 28px;
    }
}
@media (max-width: 575px) {
    .all-news-section .news-card-img {
        height: 67vw;
    }
}