/* ======================================
   NEWS HERO
====================================== */

.news-hero{
    position:relative;
    min-height:650px;
    background:url("../images/news/news-hero.png") center center/cover no-repeat;
}

.news-overlay{
    width:100%;
    height:100%;
    background:linear-gradient(
        90deg,
        rgba(255,255,255,.96) 0%,
        rgba(255,255,255,.90) 35%,
        rgba(255,255,255,.55) 65%,
        rgba(255,255,255,.10) 100%
    );
}

.news-hero-content{
    width:100%;
    max-width:1650px;
    margin:0 auto;
    padding-left:120px;
    padding-top:160px;

    display:flex;
    align-items:flex-start;

    min-height:650px;
}
.news-text{
    max-width:560px;
    margin-left:0px;
}

.hero-tag{
    color:#E31E24;
    font-size:15px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
}

.news-text h1{
    font-size:68px;
    font-weight:800;
    color:#123A80;
    margin:10px 0;
    line-height:1.1;
}

.news-text p{
    font-size:22px;
    color:#444;
    line-height:1.8;
    margin-bottom:40px;
}


/* ======================================
   SEARCH
====================================== */

.news-search{
    display:flex;
    width:480px;
    max-width:100%;
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 15px 35px rgba(0,0,0,.10);
}

.news-search input{
    flex:1;
    border:none;
    outline:none;
    padding:18px 22px;
    font-size:16px;
}

.news-search button{
    width:75px;
    border:none;
    background:#123A80;
    color:#fff;
    cursor:pointer;
    transition:.3s;
    font-size:20px;
}

.news-search button:hover{
    background:#E31E24;
}


/* ======================================
   LATEST NEWS
====================================== */

.latest-news{
    margin-top:40px;
    padding:90px 0;
    background:#F7F9FC;
}
.container{
    width:90%;
    max-width:1400px;
    margin:0 auto;
}

.news-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:45px;
}

.news-top h2{
    font-size:42px;
    color:#123A80;
    font-weight:700;
}

.red-line{
    width:60px;
    height:4px;
    background:#E31E24;
    margin-top:10px;
}

.news-sort{
    display:flex;
    align-items:center;
    gap:15px;
}

.news-sort span{
    font-size:18px;
    color:#333;
}

.news-sort select{
    padding:12px 18px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
    background:#fff;
}


/* ======================================
   NEWS GRID
====================================== */

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}


/* ======================================
   NEWS CARD
====================================== */

.news-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.news-card:hover{
    transform:translateY(-8px);
}

.news-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}


/* ======================================
   CARD CONTENT
====================================== */

.news-content{
    padding:25px;
}

.news-category{
    display:inline-block;
    padding:7px 16px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    margin-bottom:18px;
}

.company{
    background:#E9F1FF;
    color:#123A80;
}

.news-content h3{
    font-size:26px;
    color:#123A80;
    line-height:1.4;
    margin-bottom:15px;
    font-weight:700;
}

.news-content p{
    color:#666;
    line-height:1.8;
    font-size:15px;
}


/* ======================================
   CARD FOOTER
====================================== */

.news-footer{
    margin-top:28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}

.news-footer span{
    color:#777;
}

.news-footer a{
    color:#123A80;
    font-weight:700;
    text-decoration:none;
    transition:.3s;
}

.news-footer a:hover{
    color:#E31E24;
}

.news-footer i{
    margin-right:6px;
}


/* ======================================
   PAGINATION
====================================== */

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin-top:60px;
}

.pagination a{
    width:46px;
    height:46px;
    display:flex;
    justify-content:center;
    align-items:center;
    border:1px solid #D8DDE6;
    border-radius:10px;
    text-decoration:none;
    color:#123A80;
    font-weight:600;
    background:#fff;
    transition:.3s;
}

.pagination a:hover{
    background:#123A80;
    color:#fff;
}

.pagination .active{
    background:#123A80;
    color:#fff;
}


/* ======================================
   RESPONSIVE
====================================== */

@media(max-width:992px){

    .news-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .news-text h1{
        font-size:52px;
    }

}

@media(max-width:768px){

    .news-hero{
        height:auto;
        padding:120px 0 70px;
    }

    .news-text{
        max-width:100%;
    }

    .news-text h1{
        font-size:42px;
    }

    .news-text p{
        font-size:18px;
    }

    .news-search{
        width:100%;
    }

    .news-top{
        flex-direction:column;
        align-items:flex-start;
        gap:25px;
    }

    .news-grid{
        grid-template-columns:1fr;
    }

}
/* ==========================
   NEWS LAYOUT
========================== */

.news-layout{
    display:flex;
    align-items:flex-start;
    gap:35px;
}

.news-main{
    flex:1;
}

.news-sidebar{
    width:320px;
    flex-shrink:0;
}
/* ===========================
   RIGHT SIDEBAR
=========================== */

.news-sidebar{
    width:320px;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.sidebar-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.sidebar-card h3{
    font-size:24px;
    color:#123A80;
    margin-bottom:20px;
}

/* Categories */

.category-list{
    list-style:none;
    padding:0;
    margin:0;
}

.category-list li{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #eee;
}

.category-list li:last-child{
    border-bottom:none;
}

.category-list a{
    color:#444;
    text-decoration:none;
    display:flex;
    align-items:center;
    gap:10px;
}

.category-list a:hover{
    color:#123A80;
}

.category-list span{
    color:#777;
    font-size:14px;
}

/* Featured */

.featured-image{
    width:100%;
    border-radius:12px;
    margin-bottom:18px;
}

.sidebar-card h4{
    font-size:20px;
    color:#123A80;
    line-height:1.5;
    margin:15px 0;
}

.sidebar-card p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

/* Social */

.social-icons{
    display:flex;
    gap:12px;
    margin:20px 0;
}

.social-icons a{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#123A80;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    transition:.3s;
}

.social-icons a:hover{
    background:#E31E24;
}

.follow-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#123A80;
    font-weight:600;
    text-decoration:none;
}

.follow-btn:hover{
    color:#E31E24;
}
/*======================================
NEWSLETTER
======================================*/

.newsletter{
    padding:60px 0 80px;
}

.newsletter-box{

    background:linear-gradient(90deg,#f7fbff,#edf5ff);

    border-radius:24px;

    padding:35px 45px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    box-shadow:0 12px 35px rgba(0,0,0,.06);

}

.newsletter-left{

    display:flex;

    align-items:center;

    gap:25px;

}

.newsletter-left img{

    width:120px;

}

.newsletter-left h2{

    color:#123A80;

    font-size:34px;

    margin-bottom:10px;

    font-weight:700;

}

.newsletter-left p{

    color:#555;

    line-height:1.7;

    max-width:500px;

}

.newsletter-form{

    display:flex;

    gap:15px;

    min-width:450px;

}

.newsletter-form input{

    flex:1;

    height:56px;

    border:1px solid #d8d8d8;

    border-radius:10px;

    padding:0 20px;

    font-size:15px;

    outline:none;

    transition:.3s;

}

.newsletter-form input:focus{

    border-color:#123A80;

}

.newsletter-form button{

    background:#123A80;

    color:#fff;

    border:none;

    padding:0 34px;

    border-radius:10px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.newsletter-form button:hover{

    background:#E31E24;

}