﻿/* Artículos / Noticias listing - Figma node 1752:710 */
.art-page { font-family: 'Montserrat', sans-serif; }
.art-page .art-kicker {
    color: #ED8B00; font-size: 12px; font-weight: 700;
    letter-spacing: 1.92px; text-transform: uppercase; margin: 0 0 12px;
}
.art-page .art-title {
    color: #1E2A5E; font-size: 42px; font-weight: 800;
    letter-spacing: -0.84px; line-height: 44.1px; margin: 0 0 24px;
}

/* filtros */
.art-filters { list-style: none; padding: 0; margin: 0 0 28px; }
.art-filters li { display: inline-block; margin: 0 8px 8px 0; }
.art-filters a {
    display: block; height: 36px; line-height: 34px; padding: 0 18px;
    border: 1px solid #E0E2E8; border-radius: 999px; background: #fff;
    color: #4A4F5A; font-size: 13px; font-weight: 600; text-decoration: none;
}
.art-filters a.active, .art-filters a:hover { background: #2B3A80; border-color: #2B3A80; color: #fff; }

/* tarjetas */
.art-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.art-card {
    display: block; background: #fff; border: 1px solid #E6E8ED; border-radius: 6px;
    overflow: hidden; color: inherit; text-decoration: none;
}
.art-card:hover, .art-card:focus { color: inherit; text-decoration: none; box-shadow: 0 6px 18px rgba(30,42,94,.08); }
.art-card .art-thumb { display: block; width: 100%; height: 172px; object-fit: cover; background: #EEF0F4; }
.art-card .art-body { padding: 26px; }
.art-card .art-date {
    color: #8B90A0; font-size: 12px; font-weight: 600;
    letter-spacing: .48px; text-transform: uppercase; margin: 0 0 14px;
}
.art-card h2 { color: #1E2A5E; font-size: 18.5px; font-weight: 700; line-height: 24.42px; margin: 0 0 18px; }
.art-card p.art-excerpt { color: #5B6070; font-size: 14px; line-height: 23.52px; margin: 0 0 20px; }
.art-more { color: #2B3A80; font-size: 13.5px; font-weight: 700; }
.art-more span { color: #ED8B00; margin-left: 6px; }

/* destacada */
.art-card-featured { grid-column: 1 / -1; display: flex; align-items: stretch; max-height: 360px; }
.art-card-featured .art-thumb-wrap { position: relative; flex: 0 0 442px; }
.art-card-featured .art-thumb { height: 100%; }
.art-card-featured .art-badge {
    position: absolute; top: 20px; left: 20px; background: #ED8B00; color: #fff;
    border-radius: 2px; padding: 7px 14px; font-size: 11px; font-weight: 700;
    letter-spacing: 1.32px; text-transform: uppercase;
}
.art-card-featured .art-body { padding: 32px; align-self: center; }
.art-card-featured h2 {
    font-size: 27px; line-height: 33.48px; letter-spacing: -0.27px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.art-card-featured p.art-excerpt {
    font-size: 15px; line-height: 25.5px;
    /* ponytail: recorta el resumen para que la tarjeta no crezca con textos largos */
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* paginación */
.art-paging { margin: 36px 0 0; }
.art-paging a, .art-paging span {
    display: inline-block; min-width: 38px; height: 40px; line-height: 38px; padding: 0 10px;
    margin-right: 8px; text-align: center; border: 1px solid #E0E2E8; border-radius: 3px;
    color: #5B6070; font-size: 14px; font-weight: 600; text-decoration: none;
}
.art-paging .active { background: #2B3A80; border-color: #2B3A80; color: #fff; font-weight: 700; }

/* aside */
.art-aside { background: #fff; border: 1px solid #E6E8ED; border-radius: 6px; padding: 24px; }
.art-aside h3 { color: #1E2A5E; font-size: 16px; font-weight: 800; letter-spacing: -0.16px; margin: 0 0 12px; }
.art-aside h3:after { content: ''; display: block; width: 46px; height: 3px; background: #ED8B00; margin-top: 12px; }
.art-aside ol { list-style: none; counter-reset: art; padding: 0; margin: 0; }
.art-aside li { counter-increment: art; padding: 20px 0; border-top: 1px solid #EEF0F4; }
.art-aside li:first-child { border-top: 0; }
.art-aside li a { display: block; position: relative; padding-left: 40px; color: #3A3F4C; font-size: 13.5px; font-weight: 600; line-height: 20.25px; text-decoration: none; }
.art-aside li a:before {
    content: counter(art, decimal-leading-zero); position: absolute; left: 0; top: 0;
    color: #E3E6EE; font-size: 20px; font-weight: 800; line-height: 20px;
}
.art-aside li a:hover { color: #2B3A80; }

@media (max-width: 991px) {
    .art-grid { grid-template-columns: 1fr; }
    .art-card-featured { display: block; max-height: none; }
    .art-card-featured .art-thumb-wrap { flex: none; }
    .art-card-featured .art-thumb { min-height: 0; height: 240px; }
    .art-card-featured .art-body { padding: 26px; }
    .art-page .art-title { font-size: 32px; line-height: 36px; }
}
