
/* ==========================================
   JN — ARTÍCULOS RECIENTES
   Diseño compacto con miniaturas
========================================== */

.jn-recent-posts {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
}

/* Cada artículo en una fila */

.jn-recent-posts .jn-recent-post {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 17px 0;
    border-bottom: 1px solid #e3eaf2;
}

.jn-recent-posts .jn-recent-post:first-child {
    padding-top: 0;
}

.jn-recent-posts .jn-recent-post:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

/* Miniatura */

.jn-recent-posts .jn-recent-post-image {
    display: block;
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 7px;
    background: #edf2f7;
}

.jn-recent-posts .jn-recent-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    border: none;
    border-radius: 0;
}

/* Columna de texto */

.jn-recent-posts .jn-recent-post-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Título */

.jn-recent-posts .jn-recent-post-title {
    margin: 0 0 8px;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    text-transform: none;
}

.jn-recent-posts .jn-recent-post-title a,
.jn-recent-posts .jn-recent-post-title a:visited {
    color: #082748;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: none;
    border-bottom: none;
    box-shadow: none;
}

.jn-recent-posts .jn-recent-post-title a:hover,
.jn-recent-posts .jn-recent-post-title a:focus {
    color: #136fe8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Fecha */

.jn-recent-posts .jn-recent-post-date {
    display: block;
    margin: 0;
    padding: 0;
    color: #69798b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

/* Pantallas pequeñas */

@media (max-width: 480px) {
    .jn-recent-posts .jn-recent-post {
        gap: 12px;
    }

    .jn-recent-posts .jn-recent-post-image {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
    }

    .jn-recent-posts .jn-recent-post-title {
        font-size: 14px;
    }
}
