.co-category-page{
    padding:32px 0 56px;
}

.co-category-hero{
    margin-bottom:34px;
}

.co-category-hero-header{
    display:block;
    margin-bottom:24px;
    padding:22px 10px 12px;
}

.co-category-title{
    margin:0;
    font-family:NotoSans, Tahoma, Arial, Verdana, sans-serif;
    font-size:32px;
    line-height:.96;
    font-weight:900;
    letter-spacing:-.05em;
    color:#111827;
}

.co-category-featured-post{
    overflow:hidden;
    border:1px solid rgba(208, 217, 228, .92);
    border-radius:10px;
    background:#fff;
    box-shadow:0 20px 48px rgba(15, 23, 42, .08);
}

.co-category-featured-link{
    display:grid;
    grid-template-columns:minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items:stretch;
    gap:22px;
    padding:22px;
    color:inherit;
    text-decoration:none;
}

.co-category-featured-thumb{
    position:relative;
    min-height:100%;
    overflow:hidden;
    border-radius:10px;
    background:#dfe7ef;
}

.co-category-featured-thumb img{
    width:100%;
    height:100%;
    min-height:100%;
    object-fit:cover;
    transition:transform .5s ease, filter .35s ease;
}

.co-category-featured-link:hover .co-category-featured-thumb img,
.co-category-featured-link:focus-visible .co-category-featured-thumb img{
    transform:scale(1.04);
    filter:saturate(1.04);
}

.co-category-featured-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:34px 34px 32px;
}

.co-category-featured-badge{
    display:inline-flex;
    align-self:flex-start;
    margin-bottom:16px;
    padding:7px 13px;
    border-radius:999px;
    background:#eef2ff;
    color:#3147a8;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.co-category-featured-title{
    margin:0 0 14px;
    font-family:NotoSans, Tahoma, Arial, Verdana, sans-serif;
    font-size:28px;
    line-height:1.02;
    font-weight:900;
    letter-spacing:-.045em;
    color:#111827;
    transition:color .2s ease;
}

.co-category-featured-link:hover .co-category-featured-title,
.co-category-featured-link:focus-visible .co-category-featured-title{
    color:#c00000;
}

.co-category-featured-meta{
    color:#66758a;
    font-size:.92rem;
    margin-bottom:16px;
}

.co-category-featured-excerpt{
    color:#465263;
    line-height:1.78;
    font-size:1rem;
}

.co-category-posts-section{
    margin-top:10px;
    transition:opacity .2s ease;
}

.co-category-posts-section.is-loading{
    opacity:.58;
    pointer-events:none;
}

.co-category-posts-head{
    margin-bottom:20px;
}

.co-category-posts-title{
    margin:0;
    font-family:NotoSans, Tahoma, Arial, Verdana, sans-serif;
    font-size:24px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-.035em;
    color:#111827;
}

.co-category-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:24px;
}

.co-category-grid .co-post-card{
    padding:14px;
    border:1px solid #e7edf3;
    border-radius:10px;
    background:linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
    box-shadow:0 12px 34px rgba(15, 23, 42, .05);
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.co-category-grid .co-post-card:hover{
    transform:translateY(-4px);
    border-color:#d5e1ec;
    box-shadow:0 18px 42px rgba(15, 23, 42, .08);
}

.co-category-grid .co-post-card-link{
    height:100%;
}

.co-category-grid .co-post-card-thumb{
    aspect-ratio:16 / 10;
    border-radius:10px;
}

.co-category-grid .co-post-card-content{
    padding:16px 6px 6px;
}

.co-category-grid .co-post-card-title{
    margin:0 0 8px;
    font-family:NotoSans, Tahoma, Arial, Verdana, sans-serif;
    font-size:1.12rem;
    line-height:1.18;
    font-weight:800;
    min-height:auto;
    color:#111827;
}

.co-category-grid .co-post-card-meta{
    display:block;
    margin-top:0;
    color:#6b7687;
    font-size:.88rem;
}

.co-category-grid .co-post-card-kicker{
    margin-bottom:12px;
}

.co-category-grid .co-post-card-excerpt{
    margin-top:10px;
    color:#59687b;
    line-height:1.7;
}

.co-category-pagination{
    margin-top:30px;
}

.co-category-pagination .nav-links{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    justify-content:center;
    align-items:center;
}

.co-category-pagination .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:48px;
    min-height:48px;
    padding:0 16px;
    border:1px solid #dce6ef;
    border-radius:999px;
    background:#fff;
    color:#1b2431;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 10px 24px rgba(15, 23, 42, .04);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.co-category-pagination .page-numbers:hover,
.co-category-pagination .page-numbers:focus-visible{
    color:#c00000;
    border-color:#cbd9e6;
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(15, 23, 42, .08);
}

.co-category-pagination .page-numbers.current{
    background:#0f5f97;
    color:#fff;
    border-color:#0f5f97;
    box-shadow:none;
}

.co-category-empty{
    padding:44px 28px;
    border:1px solid #e3ebf3;
    border-radius:10px;
    background:#fff;
    text-align:center;
    box-shadow:0 16px 36px rgba(15, 23, 42, .05);
}

.co-category-empty h2{
    margin:0 0 10px;
    font-family:NotoSans, Tahoma, Arial, Verdana, sans-serif;
    font-size:1.7rem;
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.04em;
}

.co-category-empty p{
    margin:0;
    color:#66758a;
}

.co-category-hero-opinion .co-category-title,
.co-category-hero-opinion .co-category-featured-title{
    font-family:Georgia, "Times New Roman", serif;
}

.co-category-featured-badge-opinion{
    background:#ede9fe;
    color:#6d28d9;
}

.co-category-featured-badge-sociales{
    background:#fce7f3;
    color:#be185d;
}

.co-category-featured-badge-deportes{
    background:#dcfce7;
    color:#166534;
}

.co-category-featured-badge-institucional{
    background:#e2e8f0;
    color:#334155;
}

.co-category-hero-sociales .co-category-featured-post{
    border-color:#f3d2e4;
}

.co-category-hero-deportes .co-category-featured-post{
    border-color:#cdeed8;
}

.co-category-hero-institucional .co-category-featured-post{
    border-color:#d5dee7;
}

.co-category-featured-author{
    font-weight:700;
}

@media (max-width: 1100px){
    .co-category-featured-link{
        grid-template-columns:1fr;
        gap:16px;
        padding:16px;
    }

    .co-category-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px){
    .co-category-page{
        padding:24px 0 46px;
    }

    .co-category-hero-header{
        padding:16px 0 8px;
    }

    .co-category-featured-content{
        padding:24px 22px 22px;
    }
}

@media (max-width: 640px){
    .co-category-grid{
        grid-template-columns:1fr;
    }

    .co-category-grid .co-post-card{
        padding:12px;
    }

    .co-category-pagination .page-numbers{
        min-width:44px;
        min-height:44px;
        padding:0 14px;
    }
}
