/* SoloUsados 1.5.20 — blog y archivos editoriales. */
body.blog,
body.archive.category,
body.archive.tag,
body.archive.author,
body.archive.date {
    background: #f4f7fb;
}

.sum-blog-main {
    padding: 34px 0 58px;
}

.sum-blog-hero,
.sum-blog-archive-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 30px;
    border: 1px solid #dbe5f2;
    border-radius: 20px;
    background: linear-gradient(120deg, #0f3f91 0%, #155eef 58%, #3488ef 100%);
    color: #fff;
    box-shadow: 0 14px 34px rgba(15, 63, 145, .16);
}

.sum-blog-hero::after,
.sum-blog-archive-header::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    right: -85px;
    bottom: -120px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    pointer-events: none;
}

.sum-blog-hero-copy,
.sum-blog-archive-header > * {
    position: relative;
    z-index: 1;
}

.sum-blog-eyebrow {
    display: inline-flex;
    margin-bottom: 9px;
    color: #ffe040;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.sum-blog-hero h1,
.sum-blog-archive-header h1 {
    max-width: 760px;
    margin: 0 0 10px !important;
    color: #fff !important;
    font-size: clamp(30px, 4vw, 46px) !important;
    line-height: 1.06 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em;
}

.sum-blog-hero p,
.sum-blog-archive-header p,
.sum-blog-archive-description {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .91);
    font-size: 16px;
    line-height: 1.6;
}

.sum-blog-archive-description p {
    margin: 0;
    color: inherit;
}

.sum-blog-category-nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.sum-blog-category-nav a {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background-color .18s ease, border-color .18s ease;
}

.sum-blog-category-nav a:hover,
.sum-blog-category-nav a:focus-visible {
    border-color: #ffe040;
    background: rgba(255, 224, 64, .16);
    outline: none;
}

.sum-blog-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.sum-blog-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe6f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .065);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.sum-blog-card:hover {
    transform: translateY(-3px);
    border-color: #b9ccf5;
    box-shadow: 0 16px 34px rgba(15, 23, 42, .11);
}

.sum-blog-card-media {
    display: block;
    height: 210px;
    overflow: hidden;
    background: #eef3fa;
    text-decoration: none !important;
}

.sum-blog-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .24s ease;
}

.sum-blog-card:hover .sum-blog-card-image {
    transform: scale(1.025);
}

.sum-blog-card-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf1ff, #f8fbff);
    color: #155eef;
}

.sum-blog-card-placeholder strong {
    font-size: 20px;
    font-weight: 900;
}

.sum-blog-card-placeholder small {
    margin-top: 4px;
    color: #607089;
    font-size: 12px;
    font-weight: 700;
}

.sum-blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.sum-blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    color: #6b778c;
    font-size: 11px;
    font-weight: 700;
}

.sum-blog-card-meta a {
    color: #155eef !important;
    text-decoration: none !important;
}

.sum-blog-card-title {
    margin: 0 0 10px !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: -.02em;
}

.sum-blog-card-title a {
    color: #102033 !important;
    text-decoration: none !important;
}

.sum-blog-card-title a:hover,
.sum-blog-card-title a:focus-visible {
    color: #155eef !important;
}

.sum-blog-card-excerpt {
    margin: 0 0 18px;
    color: #59677d;
    font-size: 14px;
    line-height: 1.58;
}

.sum-blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #155eef !important;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none !important;
}

.sum-blog-card-link:hover span {
    transform: translateX(2px);
}

.sum-blog-card-link span {
    transition: transform .16s ease;
}

.sum-blog-pagination {
    margin-top: 32px;
}

.sum-blog-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.sum-blog-pagination .page-numbers {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #d7e0ec;
    border-radius: 10px;
    background: #fff;
    color: #344054 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.sum-blog-pagination .page-numbers.current,
.sum-blog-pagination a.page-numbers:hover {
    border-color: #155eef;
    background: #155eef;
    color: #fff !important;
}

.sum-blog-empty {
    padding: 34px;
    border: 1px solid #dfe6f0;
    border-radius: 18px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .055);
}

.sum-blog-empty h2 {
    margin: 0 0 8px !important;
    color: #102033;
    font-size: 24px !important;
}

.sum-blog-empty p {
    margin: 0;
    color: #657287;
}

@media (max-width: 960px) {
    .sum-blog-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .sum-blog-main {
        padding: 22px 0 42px;
    }

    .sum-blog-hero,
    .sum-blog-archive-header {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .sum-blog-hero h1,
    .sum-blog-archive-header h1 {
        font-size: 29px !important;
    }

    .sum-blog-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sum-blog-card-media {
        height: 205px;
    }

    .sum-blog-card-body {
        padding: 18px;
    }
}
