/*==================================================
    NEWS PAGE
==================================================*/

/*==============================
    HERO
==============================*/

.news-hero{

    position:relative;

    overflow:hidden;

    padding:140px 0 90px;

    background:
    linear-gradient(
        135deg,
        var(--primary),
        #0f172a
    );

    color:#fff;

}



.news-hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    radial-gradient(
        circle at top right,
        rgba(255,255,255,.15),
        transparent 45%
    );

    pointer-events:none;

}



.news-hero .container{

    position:relative;

    z-index:2;

    text-align:center;

    max-width:900px;

}



.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.18);

    backdrop-filter:blur(12px);

    margin-bottom:30px;

    font-size:.95rem;

}



.hero-badge i{

    color:#FFD54A;

}



.news-hero h1{

    font-size:clamp(2.8rem,6vw,4.5rem);

    font-weight:800;

    line-height:1.1;

    margin-bottom:25px;

}



.news-hero p{

    font-size:1.15rem;

    line-height:1.8;

    color:rgba(255,255,255,.86);

    max-width:720px;

    margin:auto;

}



/*==============================
    FEATURED ARTICLE
==============================*/

.featured-news{

    margin-top:-70px;

    position:relative;

    z-index:10;

}



.featured-card{

    display:grid;

    grid-template-columns:1.2fr 1fr;

    gap:40px;

    background:var(--surface);

    border-radius:28px;

    overflow:hidden;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

}



.featured-image{

    height:100%;

    min-height:420px;

}



.featured-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}



.featured-card:hover img{

    transform:scale(1.05);

}



.featured-content{

    padding:45px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}



.category{

    width:max-content;

    padding:8px 16px;

    border-radius:50px;

    background:rgba(79,124,255,.12);

    color:var(--primary);

    font-weight:600;

    font-size:.9rem;

    margin-bottom:20px;

}



.featured-content h2{

    font-size:2.3rem;

    line-height:1.25;

    margin-bottom:20px;

    color:var(--text);

}



.featured-content p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:35px;

}



.read-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    width:max-content;

    padding:14px 24px;

    border-radius:14px;

    background:var(--primary);

    color:#fff;

    font-weight:600;

    transition:var(--transition);

}



.read-btn:hover{

    background:var(--primary-hover);

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(79,124,255,.35);

}



.read-btn i{

    transition:.3s;

}



.read-btn:hover i{

    transform:translateX(5px);

}
/*==================================================
    NEWS GRID
==================================================*/

.news-section{

    padding:100px 0;

}



.section-header{

    text-align:center;

    margin-bottom:60px;

}



.section-header span{

    display:inline-block;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(79,124,255,.10);

    color:var(--primary);

    font-weight:600;

    margin-bottom:18px;

}



.section-header h2{

    font-size:clamp(2rem,5vw,3rem);

    color:var(--text);

    margin-bottom:18px;

}



.section-header p{

    max-width:720px;

    margin:auto;

    line-height:1.8;

    color:var(--text-light);

}



.news-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));

    gap:35px;

}



/*==================================================
    CARD
==================================================*/

.news-card{

    background:var(--surface);

    border-radius:22px;

    overflow:hidden;

    border:1px solid var(--border);

    box-shadow:0 8px 20px rgba(0,0,0,.05);

    transition:var(--transition);

}



.news-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}



.news-image{

    height:240px;

    overflow:hidden;

}



.news-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}



.news-card:hover .news-image img{

    transform:scale(1.08);

}



.news-content{

    padding:28px;

}



.news-category{

    display:inline-block;

    padding:6px 15px;

    border-radius:30px;

    background:rgba(79,124,255,.12);

    color:var(--primary);

    font-size:.85rem;

    font-weight:600;

    margin-bottom:18px;

}



.news-content h3{

    font-size:1.45rem;

    line-height:1.4;

    margin-bottom:16px;

    color:var(--text);

}



.news-content p{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:25px;

}



.news-footer{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;

    padding-top:20px;

    border-top:1px solid var(--border);

}



.news-footer span{

    display:flex;

    align-items:center;

    gap:8px;

    color:var(--text-light);

    font-size:.9rem;

}



.news-footer i{

    color:var(--primary);

}



.news-footer a{

    display:inline-flex;

    align-items:center;

    gap:10px;

    color:var(--primary);

    font-weight:600;

    transition:var(--transition);

}



.news-footer a:hover{

    gap:15px;

}



.news-footer a i{

    transition:.3s;

}



.news-footer a:hover i{

    transform:translateX(5px);

}
/*==================================================
    NEWSLETTER
==================================================*/

.newsletter{

    padding:40px 0 100px;

}



.newsletter-box{

    display:grid;

    grid-template-columns:1fr auto;

    gap:40px;

    align-items:center;

    padding:50px;

    border-radius:28px;

    background:linear-gradient(
        135deg,
        var(--primary),
        #2f6fff
    );

    color:#fff;

    overflow:hidden;

    position:relative;

}



.newsletter-box::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    right:-120px;

    top:-120px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

}



.newsletter-content{

    position:relative;

    z-index:2;

}



.newsletter-content span{

    display:inline-block;

    margin-bottom:12px;

    opacity:.9;

}



.newsletter-content h2{

    font-size:2.2rem;

    margin-bottom:15px;

}



.newsletter-content p{

    line-height:1.8;

    opacity:.9;

}



.newsletter-form{

    display:flex;

    gap:15px;

    align-items:center;

    position:relative;

    z-index:2;

}



.newsletter-form input{

    width:320px;

    padding:17px 20px;

    border:none;

    outline:none;

    border-radius:14px;

    font-size:1rem;

}



.newsletter-form button{

    padding:17px 26px;

    border:none;

    border-radius:14px;

    background:#fff;

    color:var(--primary);

    cursor:pointer;

    font-weight:700;

    transition:.3s;

}



.newsletter-form button:hover{

    transform:translateY(-3px);

}



/*==================================================
    FOOTER
==================================================*/

.footer{

    padding:70px 0 30px;

    border-top:1px solid var(--border);

    background:var(--surface);

}



.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr;

    gap:60px;

}



.footer-logo{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:20px;

}



.footer-logo img{

    width:48px;

}



.footer-logo span{

    font-size:1.5rem;

    font-weight:800;

}



.footer p{

    color:var(--text-light);

    line-height:1.8;

}



.footer h4{

    margin-bottom:20px;

}



.footer ul{

    display:flex;

    flex-direction:column;

    gap:12px;

}



.footer ul a{

    color:var(--text-light);

    transition:.3s;

}



.footer ul a:hover{

    color:var(--primary);

}



.social-links{

    display:flex;

    gap:15px;

}



.social-links a{

    width:48px;

    height:48px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:var(--surface-2);

    transition:.3s;

}



.social-links a:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-5px);

}



.footer-bottom{

    margin-top:50px;

    padding-top:25px;

    text-align:center;

    border-top:1px solid var(--border);

    color:var(--text-light);

}



/*==================================================
    ANIMATIONS
==================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



.news-card{

    animation:fadeUp .7s ease both;

}



.news-card:nth-child(2){

    animation-delay:.1s;

}



.news-card:nth-child(3){

    animation-delay:.2s;

}



.news-card:nth-child(4){

    animation-delay:.3s;

}



/*==================================================
    RESPONSIVE
==================================================*/

@media(max-width:1000px){

    .featured-card{

        grid-template-columns:1fr;

    }

    .featured-image{

        min-height:320px;

    }

    .newsletter-box{

        grid-template-columns:1fr;

    }

    .newsletter-form{

        flex-direction:column;

        align-items:stretch;

    }

    .newsletter-form input{

        width:100%;

    }

    .footer-grid{

        grid-template-columns:1fr;

    }

}



@media(max-width:768px){

    .news-hero{

        padding:110px 0 70px;

    }

    .featured-content{

        padding:30px;

    }

    .featured-content h2{

        font-size:1.8rem;

    }

    .newsletter-box{

        padding:35px;

    }

}



@media(max-width:600px){

    .news-grid{

        grid-template-columns:1fr;

    }

    .news-hero h1{

        font-size:2.4rem;

    }

    .newsletter-content h2{

        font-size:1.8rem;

    }

}