/* =====================================================
   LINCOLN NEWS
===================================================== */

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

.news-card{
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    transition: all .35s ease;
    border: 1px solid rgba(10,45,99,.08);
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0,70,148,.14);
    border-color: rgba(0,70,148,.15);
}

.news-image{
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f4f7fb;
}

.news-image img{
    position: absolute;
    top: 0;
    left: 0;

    width: 100% !important;
    height: 100% !important;

    object-fit: cover;

    /* =========================
       CENTRAR MÁS ARRIBA
    ========================= */

    object-position: center 22%;

    display: block;

    transition: transform .5s ease;
}

.news-card:hover .news-image img{
    transform: scale(1.06);
}

.news-content{
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-content small{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #004694;
    text-transform: uppercase;
    letter-spacing: .4px;
    margin-bottom: 14px;
}

.news-content h3{
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    color: #0a2d63;
    margin: 0 0 14px;
    transition: color .3s ease;
}

.news-card:hover .news-content h3{
    color: #004694;
}

.news-content p{
    font-size: 15px;
    line-height: 1.8;
    color: #6f7d95;
    margin: 0;
}

/* BOTON FLOTANTE */

.news-card::before{
    content: "→";
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #004694;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: all .3s ease;
    box-shadow: 0 8px 18px rgba(0,70,148,.22);
    z-index: 5;
}

.news-card:hover::before{
    transform: translateX(4px);
    background: #0a2d63;
}

/* RESPONSIVE */

@media screen and (max-width: 1100px){

    .news-grid{
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (max-width: 768px){

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

    .news-image{
        height: 220px;
    }

    .news-content{
        padding: 22px;
    }

    .news-content h3{
        font-size: 21px;
    }

    .news-content p{
        font-size: 14px;
    }

}

@media screen and (max-width: 480px){

    .news-image{
        height: 200px;
    }

    .news-content{
        padding: 20px;
    }

    .news-content h3{
        font-size: 19px;
    }

    .news-card::before{
        width: 40px;
        height: 40px;
        right: 20px;
        bottom: 20px;
    }

}


/* =====================================================
   ESPACIADO SUPERIOR LINCOLN NEWS
===================================================== */

.compact-section .section-head.compact-head{
    margin-bottom: 40px;
}

.news-grid{
    margin-top: 0;
}

/* Separación desde la sección anterior */

.section.compact-section{
    padding-top: 90px;
}