/* ─── TOKENS ─────────────────────────────────────────────── */
.section-posts {
    padding: 4rem 0;
    background: var(--light);
}

.section-posts .fa-header-accent {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: .95rem;
    font-weight: 700;
    color: var(--teal);
    margin-bottom: .85rem;
}

.section-posts .section-title {
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: .75rem;
}

.section-posts .section-lead {
    max-width: 680px;
    color: var(--muted);
    line-height: 1.8;
}

.posts-list {
    display: grid;
    gap: 1.25rem;
}

.posts-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 1px solid rgba(11, 30, 61, .07);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.posts-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.posts-icon {
    width: 4rem;
    min-width: 4rem;
    height: 4rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: var(--white);
    background: rgba(0, 168, 150, .12);
}

.posts-cover {
    position: relative;
    flex: 0 0 10rem;
    width: 10rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(0, 168, 150, .12);
}

.posts-cover > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.posts-cover-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.posts-icon i {
    font-size: 1.4rem;
}

.type-info {
    background: rgba(0, 168, 150, .16);
    color: var(--teal);
}

.type-alerta {
    background: rgba(244, 162, 97, .16);
    color: var(--amber);
}

.type-urgente {
    background: rgba(214, 40, 40, .16);
    color: var(--red);
}

.posts-body {
    flex: 1;
    min-width: 0;
}

.posts-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: .55rem;
}

.posts-resume {
    font-size: .90rem;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.posts-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.posts-data {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--muted);
    font-size: .92rem;
}

.posts-badge {
    display: inline-flex;
    align-items: center;
    padding: .35rem .85rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.badge-info {
    background: rgba(0, 168, 150, .12);
    color: var(--teal);
}

.badge-alerta {
    background: rgba(244, 162, 97, .14);
    color: var(--amber);
}

.badge-urgente {
    background: rgba(214, 40, 40, .12);
    color: var(--red);
}

.posts-arrow {
    margin-left: auto;
    font-size: 1.25rem;
    color: var(--navy2);
    align-self: center;
}

.posts-arrow:hover {
    color: var(--teal);
}

.fa-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 1.5rem;
    border: 1px dashed rgba(11, 30, 61, .18);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--muted);
    text-align: center;
}

.fa-empty i {
    font-size: 2.5rem;
}

@media (min-width: 992px) {
    .posts-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .posts-item {
        flex-direction: column;
        align-items: stretch;
        gap: .85rem;
    }

    .posts-cover {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .posts-arrow {
        margin-left: 0;
    }
}
