/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

:root {
    --primary: #14243a;
    --secondary: #e32636;
    --text: #242424;
    --muted: #777;
    --background: #ffffff;
    --border: #e5e5e5;
    /* TIPOGRAFÍAS */
    --font-headline: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Source Sans 3', Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--background);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 94%);
    margin: auto;
}

/* =========================================
   BARRA SUPERIOR
========================================= */

.top-bar {
    background: #f3f3f3;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    color: var(--muted);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
}

/* =========================================
   LOGOTIPO
========================================= */
.brand-area {
    padding: 0px 0;
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.brand-name {
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 58px);
    font-weight: bold;
    letter-spacing: -2px;
    color: var(--primary);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--muted);
    margin-top: 8px;
}

/* =========================================
   MENÚ PRINCIPAL
========================================= */

.main-nav {
    background: var(--primary);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-content a {
    color: white;
    font-size: 13px;
    font-weight: bold;
    padding: 14px 20px;
    transition: background .2s;
}

.nav-content a:hover {
    background: var(--secondary);
}

    .nav-content a.active {
        background: var(--secondary);
        color: #ffffff;
    }

    .nav-content a:hover {
        background: var(--secondary);
        color: #ffffff;
    }

/* =========================================
   ÚLTIMA HORA
========================================= */

.breaking-news {
    background: var(--secondary);
    color: white;
}

.breaking-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    font-size: 13px;
}

.breaking-label {
    background: white;
    color: var(--secondary);
    font-weight: bold;
    padding: 4px 9px;
    white-space: nowrap;
}

/* =========================================
   CONTENIDO PRINCIPAL
========================================= */

.homepage {
    padding-top: 35px;
    padding-bottom: 60px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 22px;
}

    .section-heading h2 {
        font-family: var(--font-headline);
        font-size: 25px;
        padding-bottom: 9px;
    }

.section-heading span {
    font-size: 11px;
    font-weight: bold;
    color: var(--secondary);
    letter-spacing: 1px;
}

/* =========================================
   NOTICIA PRINCIPAL
========================================= */

.hero-news {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.hero-image {
    display: block;
    height: 390px;
    overflow: hidden;
    background: #eee;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.category-tag {
    display: inline-block;
    color: var(--secondary);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-family: var(--font-headline);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-content h1 a:hover,
.news-card h3 a:hover {
    color: var(--secondary);
}

.hero-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

.news-date {
    color: var(--muted);
    font-size: 12px;
}

.read-more {
    margin-top: 20px;
    font-size: 13px;
    color: var(--secondary);
    font-weight: bold;
}

.image-placeholder {
    height: 100%;
    min-height: 150px;
    background: #e9edf1;
    color: #8090a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    letter-spacing: 3px;
}

/* =========================================
   CUADRÍCULA DE NOTICIAS
========================================= */

.recent-heading {
    margin-top: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.news-card {
    border: 1px solid var(--border);
    background: white;
    transition: transform .2s, box-shadow .2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.card-image {
    display: block;
    height: 210px;
    overflow: hidden;
    background: #eee;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.news-card:hover .card-image img {
    transform: scale(1.04);
}

.card-content {
    padding: 18px;
}

.news-card h3 {
    font-family: var(--font-headline);
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.news-card p {
    color: #666;
    font-size: 13px;
    margin-bottom: 15px;
}

.empty-news {
    color: var(--muted);
    padding: 20px 0;
}

/* =========================================
   PIE DE PÁGINA
========================================= */

.site-footer {
    background: var(--primary);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

    .footer-content h2 {
        font-family: var(--font-headline);
        font-size: 28px;
    }

.footer-content p {
    color: #cbd3dc;
    font-size: 13px;
}

.copyright {
    text-align: right;
}

/* =========================================
   DISEÑO RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .nav-content {
        justify-content: flex-start;
    }

    .nav-content a {
        padding: 12px 10px;
        font-size: 11px;
    }

    .hero-news {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hero-image {
        height: 260px;
    }

    .hero-content h1 {
        font-size: 29px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .card-image {
        height: 160px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .copyright {
        text-align: left;
    }
}

@media (max-width: 480px) {

    .top-bar-content span:last-child {
        display: none;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        height: 220px;
    }

    .brand-name {
        font-size: 40px;
    }

    .breaking-content {
        font-size: 11px;
    }

    
}
/* =========================================
   MARQUESINA ECONÓMICA - NOTI 24-7
========================================= */

.economic-ticker {
    display: flex;
    align-items: center;
    width: 100%;
    height: 42px;
    overflow: hidden;
    background: #14243a;
    color: #ffffff;
    border-bottom: 2px solid #e32636;
    box-sizing: border-box;
}

.ticker-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 100%;
    padding: 0 18px;
    background: #e32636;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 2;
}

    .ticker-label span {
        margin-right: 7px;
        color: #ffffff;
    }

.ticker-window {
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    animation: tickerScroll 35s linear infinite;
    will-change: transform;
}

.ticker-item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    height: 100%;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.20);
    font-size: 13px;
}

.ticker-name {
    color: #ffffff;
    font-weight: bold;
}

.ticker-value {
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

.ticker-date {
    color: #bdc8d6;
    font-size: 11px;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pantallas pequeñas */
@media (max-width: 600px) {
    .ticker-label {
        padding: 0 10px;
        font-size: 11px;
    }

    .ticker-item {
        padding: 0 15px;
        gap: 6px;
    }
}

/* =========================================
   LOGO Y REDES SOCIALES
========================================= */



.brand-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 105px;
    height: 105px;
    gap: 20px;
    transition: none;
}





/* REDES SOCIALES */

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        color: #14243a;
        background: transparent;
        font-size: 21px;
        text-decoration: none;
        transition: all 0.25s ease;
    }

        .social-links a:hover {
            color: #e32636;
            transform: translateY(-3px);
        }

/* CELULARES */

@media (max-width: 600px) {

    .brand-content {
        min-height: 80px;
        gap: 10px;
    }

    

    .social-links {
        gap: 7px;
    }

        .social-links a {
            width: 30px;
            height: 30px;
            font-size: 17px;
        }
}
/* ==========================================
   JUEGOS MENTALES
========================================== */

.games-section {
    margin-top: 45px;
    margin-bottom: 40px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .game-card:hover .game-icon img {
        transform: scale(1.07);
    }

.game-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 165px;
    background: #ffffff;
    padding: 10px;
}
    .game-icon img {
        display: block;
        width: 145px;
        height: 145px;
        object-fit: contain;
        transition: transform .3s ease;
    }

.game-content {
    padding: 16px;
}

    .game-content h3 {
        margin: 0 0 10px;
        color: #14243a;
        font-size: 19px;
    }

    .game-content p {
        min-height: 55px;
        color: #777;
        font-size: 14px;
        line-height: 1.5;
    }

.game-link {
    display: inline-block;
    margin-top: 8px;
    padding: 9px 15px;
    background: #e32636;
    color: white;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

    .game-link:hover {
        background: #14243a;
    }

@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================
   ENCABEZADO FIJO AL HACER SCROLL
========================================= */

/* =========================================
   ENCABEZADO FIJO
========================================= */


/* =========================================
   ENCABEZADO FIJO AL HACER SCROLL
========================================= */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    overflow-anchor: none;
}

/* =========================================
   TRANSICIONES VISUALES
========================================= */

.brand-area {
    transition: background-color 0.3s ease;
}

.brand-logo,
.brand-text {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-links a {
    transition: color 0.3s ease, transform 0.25s ease;
}

/* =========================================
   LOGOTIPO NORMAL
========================================= */

.brand-text {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transform: translateY(5px);
}

/* =========================================
   ESTADO COMPACTO
========================================= */

.sticky-header.is-scrolled .brand-area {
    background: #14243a;
    padding: 0;
}

.sticky-header.is-scrolled .brand-content {
    min-height: 60px;
    height: 60px;
}

.sticky-header.is-scrolled .brand {
    transform: scale(0.75);
    transform-origin: left center;
}

.sticky-header.is-scrolled .social-links {
    transform: scale(0.80);
    transform-origin: right center;
}
.sticky-header.is-scrolled .brand-logo {
    opacity: 0;
    transform: scale(0.85);
    visibility: hidden;
}

.sticky-header.is-scrolled .brand-text {
    position: absolute;
    left: 0;
    top: 50%;
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: 50px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
}

.sticky-header.is-scrolled .social-links a {
    color: #ffffff;
}

    .sticky-header.is-scrolled .social-links a:hover {
        color: #e32636;
    }

/* =========================================
   AJUSTES PARA CELULARES
========================================= */

@media (max-width: 600px) {

    .sticky-header.is-scrolled .brand-content {
        min-height: 55px;
        height: 55px;
    }
    .sticky-header.is-scrolled .brand-text {
        font-size: 20px;
    }
    .sticky-header.is-scrolled .brand {
        transform: scale(0.70);
    }
}

/* =========================================
   SOPA DE LETRAS - NOTI 24-7
========================================= */


/* =========================================
   SOPA DE LETRAS - NOTI 24-7
========================================= */

.sopa-juego {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(20, 36, 58, 0.08);
}

.sopa-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid #14243a;
}

.sopa-etiqueta {
    color: #e32636;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.sopa-encabezado h2 {
    color: #14243a;
    font-family: var(--font-headline);
    font-size: 30px;
    line-height: 1.3;
}

.sopa-encabezado p {
    color: #777;
    font-size: 15px;
}

.sopa-puntaje-box {
    min-width: 105px;
    padding: 12px;
    text-align: center;
    color: #ffffff;
    background: #14243a;
    border-radius: 8px;
}

    .sopa-puntaje-box span,
    .sopa-puntaje-box small {
        display: block;
        font-size: 11px;
    }

    .sopa-puntaje-box strong {
        display: block;
        color: #ffffff;
        font-size: 30px;
        line-height: 1.3;
    }

.sopa-instrucciones {
    margin: 20px 0;
    padding: 13px;
    color: #14243a;
    background: #f0f3f7;
    border-left: 4px solid #e32636;
    border-radius: 5px;
    font-size: 13px;
}

.sopa-contenido {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 25px;
    align-items: start;
}

.sopa-tablero-area {
    width: 100%;
    max-width: 580px;
    margin: auto;
}

.sopa-tablero {
    display: grid;
    gap: 4px;
    width: 100%;
    padding: 8px;
    background: #14243a;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.sopa-celda {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-width: 0;
    background: #ffffff;
    color: #14243a;
    border-radius: 4px;
    font-size: clamp(11px, 2vw, 20px);
    font-weight: bold;
    cursor: crosshair;
    transition: background .15s, color .15s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

    .sopa-celda.sopa-seleccion {
        background: #e32636;
        color: #ffffff;
    }

    .sopa-celda.sopa-encontrada {
        background: #14243a;
        color: #ffffff;
    }

.sopa-lista-area {
    padding: 18px;
    background: #f7f8fa;
    border-radius: 8px;
}

    .sopa-lista-area h3 {
        margin-bottom: 15px;
        color: #14243a;
        font-size: 17px;
    }

.sopa-palabras {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.sopa-palabra {
    padding: 5px 9px;
    color: #14243a;
    background: #ffffff;
    border: 1px solid #dce1e7;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.sopa-palabra-encontrada {
    color: #ffffff;
    background: #14243a;
    text-decoration: line-through;
    opacity: .7;
}

.sopa-progreso {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 13px;
}

    .sopa-progreso strong {
        color: #e32636;
    }

.sopa-mensaje {
    min-height: 55px;
    margin-top: 15px;
    color: #14243a;
    font-size: 13px;
    font-weight: bold;
}

.sopa-finalizada {
    color: #168447;
}

#sopaNuevaPartida {
    width: 100%;
    padding: 12px;
    color: #ffffff;
    background: #e32636;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
}

    #sopaNuevaPartida:hover {
        background: #14243a;
    }

.sopa-pie {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
    color: #777;
    text-align: center;
    font-size: 12px;
}

/* TABLETAS Y CELULARES */

@media (max-width: 768px) {

    .sopa-juego {
        padding: 15px;
    }

    .sopa-contenido {
        grid-template-columns: 1fr;
    }

    .sopa-lista-area {
        width: 100%;
    }

    .sopa-tablero-area {
        max-width: 520px;
    }
}

@media (max-width: 480px) {

    .sopa-juego {
        padding: 10px;
        margin: 20px auto;
    }

    .sopa-encabezado h2 {
        font-size: 24px;
    }

    .sopa-puntaje-box {
        min-width: 80px;
        padding: 8px;
    }

        .sopa-puntaje-box strong {
            font-size: 25px;
        }

    .sopa-tablero {
        gap: 2px;
        padding: 5px;
    }

    .sopa-celda {
        font-size: 12px;
        border-radius: 2px;
    }
}
/* =========================================
   IMÁGENES DE NOTICIAS - FORMATO 16:9
========================================= */

.hero-image,
.card-image {
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eee;
}

    .hero-image img,
    .card-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* =========================================
   ARTÍCULOS - NOTI 24-7
   DISEÑO EDITORIAL
========================================= */

.single-page {
    padding-top: 45px;
    padding-bottom: 70px;
}

/* ENCABEZADO DEL ARTÍCULO */

.article-header {
    max-width: 1000px;
    margin: 0 auto 35px;
    text-align: left;
}

    .article-header h1 {
        font-family: var(--font-headline);
        font-size: clamp(32px, 4.5vw, 46px);
        font-weight: 700;
        line-height: 1.25;
        letter-spacing: -0.8px;
        color: var(--primary);
        margin-bottom: 22px;
    }

    .article-header p {
        font-family: var(--font-body);
        font-size: 22px;
        line-height: 1.65;
        color: #555;
        margin-bottom: 25px;
    }

/* CUERPO DE LA NOTICIA */

.article-content {
    max-width: 850px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 21px;
    line-height: 1.8;
    color: #292929;
}

    /* PÁRRAFOS */

    .article-content p {
        margin: 0 0 24px;
    }

    /* SUBTÍTULOS */

    .article-content h2 {
        font-family: var(--font-headline);
        font-size: 30px;
        line-height: 1.35;
        color: var(--primary);
        margin: 42px 0 20px;
    }

    .article-content h3 {
        font-family: var(--font-headline);
        font-size: 24px;
        line-height: 1.4;
        color: var(--primary);
        margin: 32px 0 16px;
    }

    /* NEGRITAS */

    .article-content strong {
        font-weight: 700;
        color: #14243a;
    }

    /* CITAS */

    .article-content blockquote {
        margin: 30px 0;
        padding: 18px 25px;
        border-left: 5px solid var(--secondary);
        background: #f5f6f8;
        color: #444;
        font-size: 20px;
        line-height: 1.7;
    }

    /* IMÁGENES DEL ARTÍCULO */

    .article-content img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        margin: 30px 0;
    }

    /* LISTAS */

    .article-content ul,
    .article-content ol {
        padding-left: 28px;
        margin: 0 0 25px;
    }

    .article-content li {
        padding-left: 5px;
        margin-bottom: 10px;
    }

    /* ENLACES */

    .article-content a {
        color: var(--secondary);
        text-decoration: underline;
    }

/* CELULARES */

@media (max-width: 768px) {

    .single-page {
        padding-top: 25px;
        padding-bottom: 45px;
    }

    .article-header {
        margin-bottom: 25px;
    }

        .article-header h1 {
            font-size: 32px;
            line-height: 1.3;
        }

        .article-header p {
            font-size: 19px;
        }

    .article-content {
        font-size: 18px;
        line-height: 1.75;
    }

        .article-content p {
            margin-bottom: 20px;
        }

        .article-content h2 {
            font-size: 25px;
            margin-top: 32px;
        }

        .article-content h3 {
            font-size: 21px;
        }

        .article-content blockquote {
            font-size: 18px;
            padding: 15px 18px;
        }
}
/* Categoría y fecha en tarjetas de noticias */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.card-category {
    display: inline-block;
    background: #e32636;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
}

.card-date {
    color: #777777;
    font-size: 13px;
    white-space: nowrap;
}

/* RANKING DE MÁS LEÍDAS EN PORTADA */
.most-read-home {
    width: min(430px, 100%);
    margin: 25px 0 30px auto;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 4px solid #e32636;
    border-radius: 5px;
    margin-top: 75px !important;
}

.most-read-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

    .most-read-heading h2 {
        margin: 0;
        color: #14243a;
        font-size: 19px;
        font-weight: 700;
    }

    .most-read-heading span {
        padding: 4px 8px;
        background: #14243a;
        color: #fff;
        font-size: 11px;
        font-weight: 700;
        border-radius: 3px;
    }

.most-read-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .most-read-list li {
        display: grid;
        grid-template-columns: 25px minmax(0, 1fr);
        gap: 8px;
        align-items: start;
        padding: 10px 0;
        border-bottom: 1px solid #e5e5e5;
    }

        .most-read-list li:last-child {
            border-bottom: none;
        }

    .most-read-list .ranking-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 23px;
        height: 23px;
        background: #e32636;
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        border-radius: 3px;
    }

    .most-read-list a {
        color: #14243a;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
        text-decoration: none;
    }

        .most-read-list a:hover {
            color: #e32636;
        }

    .most-read-list .ranking-visits {
        grid-column: 2;
        color: #777;
        font-size: 11px;
    }

    .most-read-list .ranking-loading,
    .most-read-list .ranking-empty {
        display: block;
        color: #777;
        font-size: 12px;
        border-bottom: none;
    }

@media (max-width: 600px) {
    .most-read-home {
        width: 100%;
        margin: 20px 0;
    }
}
/* DISTRIBUCIÓN ÚLTIMAS NOTICIAS + RANKING */
.recent-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: start;
}

.recent-news {
    min-width: 0;
}

.most-read-home {
    width: 100%;
    max-width: 260px;
    margin: 0;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-top: 3px solid #e32636;
    border-radius: 5px;
}

.most-read-heading h2 {
    font-size: 16px;
}

.most-read-list li {
    padding: 8px 0;
}

.most-read-list a {
    font-size: 12px;
}

@media (max-width: 850px) {
    .recent-layout {
        grid-template-columns: 1fr;
    }

    .most-read-home {
        max-width: 100%;
       
    }
}


.category-page .recent-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
    align-items: start;
}

.category-page .recent-news {
    min-width: 0;
}

@media (max-width: 850px) {
    .category-page .recent-layout {
        grid-template-columns: 1fr;
    }
}
.article-main-image {
    width: 100%;
    margin: 20px 0 25px;
}

    .article-main-image img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 520px;
        object-fit: cover;
        border-radius: 5px;
    }


/* =====================================
   NOTICIAS - CONTENIDO Y RECOMENDACIONES
===================================== */

.single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 30px;
    align-items: start;
    margin-top: 25px;
    margin-bottom: 40px;
}

.single-page {
    min-width: 0;
    width: 100%;
}

.related-sidebar {
    width: 100%;
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 15px;
}

.related-heading {
    border-top: 3px solid #e32636;
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
    margin-bottom: 15px;
}

    .related-heading h2 {
        font-size: 19px;
        line-height: 1.3;
        margin: 0;
        color: #14243a;
        font-family: Arial, Helvetica, sans-serif;
    }

.related-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e5e5;
}

    .related-item:last-child {
        border-bottom: none;
    }

    .related-item img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 3px;
    }

.related-info h3 {
    font-size: 15px;
    line-height: 1.4;
    margin: 4px 0;
    color: #14243a;
    font-weight: 700;
}

.related-item:hover .related-info h3 {
    color: #e32636;
}

.related-category {
    font-size: 10px;
    font-weight: 700;
    color: #e32636;
    text-transform: uppercase;
}

.related-date {
    font-size: 11px;
    color: #777;
}

/* TABLETAS Y CELULARES */

@media (max-width: 850px) {

    .single-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .related-sidebar {
        max-width: 100%;
    }
}
