/* VARIABLES DE COLORES */
:root {
    --bg-welcome-color: #FFF;
    --title-color-1: #262C5B;
    --title-color-2: #404CAC;
    --title-color-3: #006ED2;
    --title-color-4: #3796ef;
    --title-color-5: #dddddd;
    --title-color-6: #6c757d;

    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* ===============================
   AERONAVES - LATEST POSTS STYLE
=================================*/

.latest-posts {
    background: #f6f7f9;
    padding: 80px 0;
}

/* Título sección */
.latest-posts .section-title h2 {
    font-size: 32px;
    color: #1e2a38;
    margin-bottom: 10px;
}

.latest-posts .section-title div {
    color: #6c757d;
    font-size: 15px;
}

/* Card */
.latest-posts article {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    padding-bottom: 20px;
}

.latest-posts article:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Imagen */
.latest-posts .post-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Categoría */
.latest-posts .post-category {
    font-size: 13px;
    font-weight: 500;
    color: #6c757d;
    margin: 20px 25px 10px;
}

/* Título */
.latest-posts .title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 25px 20px;
    line-height: 1.4;
}

.latest-posts .title a {
    color: #1e2a38;
    text-decoration: none;
    transition: 0.3s;
}

.latest-posts .title a:hover {
    color: #0d6efd;
}

/* Autor */
.latest-posts .d-flex {
    padding: 0 25px;
    margin-top: auto;
}

.latest-posts .post-author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.latest-posts .post-author {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #1e2a38;
}

.latest-posts .post-date {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
}

/* Responsive ajuste */
@media (max-width: 991px) {
    .latest-posts {
        padding: 60px 0;
    }

    .latest-posts .title {
        font-size: 17px;
    }
}
