/* NEWS PAGE */

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-top:40px;
}

.news-card{
    background:#0b1224;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:20px;
    padding:24px;
    text-decoration:none;
    transition:0.25s;
    display:block;
}

.news-card:hover{
    transform:translateY(-4px);
    border-color:#8b5fff;
}

.news-card h3{
    color:white;
    font-size:20px;
    line-height:1.5;
    margin-bottom:18px;
}

.news-card p{
    color:#8da2d8;
    font-size:14px;
}

.news-card img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:14px;
    margin-bottom:18px;
}

/* MOBILE */

@media(max-width:768px){

    .news-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .news-card{
        padding:20px;
        border-radius:18px;
    }

    .news-card h3{
        font-size:18px;
        line-height:1.45;
    }

}