/*=========================================================
    LATEST NEWS PAGE
=========================================================*/


/*=========================================================
    HERO
=========================================================*/

.latest-news-banner{

    position:relative;

    margin-top:50px;

    min-height:480px;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    background:
        linear-gradient(
            135deg,
            rgba(8,35,66,.92),
            rgba(11,77,161,.88)
        );

}

.latest-news-banner .banner-overlay{

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            135deg,
            rgba(47,109,246,.16),
            rgba(255,193,7,.08)
        );

}

.latest-news-banner .banner-content{

    position:relative;

    z-index:2;

    max-width:800px;

    margin:auto;

    padding:40px 20px;

    text-align:center;

    color:#ffffff;

}

.latest-news-banner .banner-content h1{

    color:#ffffff;

    font-size:58px;

    font-weight:800;

    line-height:1.2;

    margin:20px 0;

}

.latest-news-banner .banner-content p{

    color:rgba(255,255,255,.92);

    font-size:18px;

    line-height:1.9;

    max-width:720px;

    margin:auto;

}

.latest-news-banner .breadcrumb{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

    margin-top:35px;

    font-weight:600;

}

.latest-news-banner .breadcrumb a{

    color:#ffc107;

    text-decoration:none;

}

.latest-news-banner .breadcrumb span{

    color:#ffffff;

}


/*=========================================================
    FEATURED NEWS SECTION
=========================================================*/

.featured-news-section{

    padding:110px 0;

    background:#f8fbff;

}

.featured-news-section .container{

    max-width:1250px;

    margin:auto;

}


/*=========================================================
    SECTION HEADING
=========================================================*/

.section-heading{

    max-width:780px;

    margin:0 auto 65px;

    text-align:center;

}

.section-heading h2{

    color:#12355b;

    font-size:44px;

    line-height:1.3;

    font-weight:800;

    margin:15px 0 20px;

}

.section-heading p{

    color:#68768b;

    font-size:17px;

    line-height:1.9;

    margin:0;

}


/*=========================================================
    FEATURED CARD
=========================================================*/

.featured-news-card{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    background:#ffffff;

    border-radius:30px;

    overflow:hidden;

    box-shadow:
        0 25px 65px rgba(17,62,120,.10);

}


/*=========================================================
    IMAGE
=========================================================*/

.featured-news-image{

    min-height:500px;

    overflow:hidden;

}

.featured-news-image img{

    width:100%;

    height:100%;

    display:block;

    object-fit:cover;

    transition:.5s ease;

}

.featured-news-card:hover .featured-news-image img{

    transform:scale(1.04);

}


/*=========================================================
    CONTENT
=========================================================*/

.featured-news-content{

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:60px;

}

.news-category{

    display:inline-flex;

    width:max-content;

    padding:8px 15px;

    border-radius:30px;

    background:#eef4ff;

    color:#2f6df6;

    font-size:12px;

    font-weight:800;

    letter-spacing:.5px;

}

.news-date{

    margin-top:18px;

    color:#8491a3;

    font-size:14px;

}

.news-date i{

    margin-right:6px;

}

.featured-news-content h3{

    color:#12355b;

    font-size:32px;

    line-height:1.35;

    margin:20px 0;

}

.featured-news-content p{

    color:#68768b;

    font-size:16px;

    line-height:1.9;

    margin:0 0 30px;

}

.featured-news-content .theme-btn{

    width:max-content;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    min-height:56px;

    padding:0 28px;

    border-radius:50px;

    background:#ffc107;

    color:#12355b;

    font-weight:700;

    text-decoration:none;

    transition:.35s ease;

}

.featured-news-content .theme-btn:hover{

    transform:translateY(-4px);

}


/*=========================================================
    TABLET
=========================================================*/

@media(max-width:991px){

    .latest-news-banner{

        margin-top:110px;

        min-height:420px;

    }

    .latest-news-banner .banner-content h1{

        font-size:46px;

    }

    .featured-news-section{

        padding:90px 40px;

    }

    .featured-news-card{

        grid-template-columns:1fr;

    }

    .featured-news-image{

        min-height:400px;

    }

    .featured-news-content{

        padding:45px;

    }

    .section-heading h2{

        font-size:38px;

    }

}


/*=========================================================
    MOBILE
=========================================================*/

@media(max-width:768px){

    .latest-news-banner{

        margin-top:100px;

        min-height:380px;

    }

    .latest-news-banner .banner-content{

        padding:30px 20px;

    }

    .latest-news-banner .banner-content h1{

        font-size:36px;

    }

    .latest-news-banner .banner-content p{

        font-size:16px;

    }

    .featured-news-section{

        padding:70px 20px;

    }

    .section-heading{

        margin-bottom:45px;

    }

    .section-heading h2{

        font-size:32px;

    }

    .section-heading p{

        font-size:16px;

    }

    .featured-news-image{

        min-height:300px;

    }

    .featured-news-content{

        padding:35px 25px;

    }

    .featured-news-content h3{

        font-size:26px;

    }

}
/*=========================================================
    LATEST UPDATES
=========================================================*/

.latest-updates-section{

    padding:110px 0;

    background:#ffffff;

}

.latest-updates-section .container{

    max-width:1250px;

    margin:auto;

}


/*=========================================================
    NEWS GRID
=========================================================*/

.news-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}


/*=========================================================
    NEWS CARD
=========================================================*/

.news-card{

    background:#ffffff;

    border-radius:24px;

    overflow:hidden;

    border:1px solid #edf2f7;

    box-shadow:
        0 15px 45px rgba(17,62,120,.07);

    transition:.35s ease;

}

.news-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 25px 60px rgba(17,62,120,.13);

}


/*=========================================================
    IMAGE
=========================================================*/

.news-card-image{

    position:relative;

    height:250px;

    overflow:hidden;

}

.news-card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:.5s ease;

}

.news-card:hover .news-card-image img{

    transform:scale(1.05);

}


/*=========================================================
    CATEGORY
=========================================================*/

.news-card-category{

    position:absolute;

    left:20px;

    bottom:20px;

    padding:8px 14px;

    border-radius:30px;

    background:#ffc107;

    color:#12355b;

    font-size:11px;

    font-weight:800;

    letter-spacing:.5px;

}


/*=========================================================
    CONTENT
=========================================================*/

.news-card-content{

    padding:30px;

}

.news-card-meta{

    color:#8a97a8;

    font-size:13px;

    margin-bottom:15px;

}

.news-card-meta i{

    margin-right:6px;

    color:#2f6df6;

}

.news-card-content h3{

    color:#12355b;

    font-size:22px;

    line-height:1.4;

    margin:0 0 15px;

}

.news-card-content p{

    color:#68768b;

    font-size:15px;

    line-height:1.8;

    margin:0 0 22px;

}


/*=========================================================
    READ MORE
=========================================================*/

.news-read-more{

    display:inline-flex;

    align-items:center;

    gap:9px;

    color:#2f6df6;

    font-size:15px;

    font-weight:700;

    text-decoration:none;

    transition:.3s ease;

}

.news-read-more i{

    transition:.3s ease;

}

.news-read-more:hover{

    color:#0b4da1;

}

.news-read-more:hover i{

    transform:translateX(5px);

}


/*=========================================================
    PAGINATION
=========================================================*/

.news-pagination{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    margin-top:65px;

}

.news-pagination a{

    width:45px;

    height:45px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    border:1px solid #dce5f0;

    color:#12355b;

    text-decoration:none;

    font-weight:700;

    transition:.3s ease;

}

.news-pagination a:hover,
.news-pagination a.active{

    background:#2f6df6;

    border-color:#2f6df6;

    color:#ffffff;

}

.news-pagination a.next{

    margin-left:5px;

}


/*=========================================================
    TABLET
=========================================================*/

@media(max-width:991px){

    .latest-updates-section{

        padding:90px 40px;

    }

    .news-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


/*=========================================================
    MOBILE
=========================================================*/

@media(max-width:768px){

    .latest-updates-section{

        padding:70px 20px;

    }

    .news-grid{

        grid-template-columns:1fr;

        gap:25px;

    }

    .news-card-image{

        height:230px;

    }

    .news-card-content{

        padding:25px;

    }

    .news-card-content h3{

        font-size:20px;

    }

}
/* =========================================================
   NEWS CATEGORY FILTER
========================================================= */

.news-category-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 40px;
    padding: 0;
}

.news-category-filter a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    background: #ffffff;
    color: #52657d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 43, 80, 0.04);
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-category-filter a:hover {
    border-color: #1764b5;
    background: #eef5ff;
    color: #1764b5;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(23, 100, 181, 0.10);
}

.news-category-filter a.active {
    border-color: #1764b5;
    background: #1764b5;
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(23, 100, 181, 0.18);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .news-category-filter {
        justify-content: flex-start;
        gap: 8px;
        margin-bottom: 30px;
    }

    .news-category-filter a {
        min-height: 38px;
        padding: 0 15px;
        font-size: 12px;
    }

}