/*
   ESTILOS DE NOTICIAS - PROYECTO SOYCA S.L.
   Página principal de noticias y páginas de artículos
   Paleta: Blanco, Azul, Azul Claro, Azul Oscuro
*/


/* Importación de fuente local Inter */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   HERO DE LA SECCIÓN NOTICIAS
   ============================================ */
.hero-noticias {
    padding-top: 120px;
    padding-bottom: 80px;
    background: radial-gradient(ellipse at top right, #dbeafe 0%, #eff6ff 40%, #ffffff 80%);
    position: relative;
    overflow: hidden;
    min-height: 40vh;
    display: flex;
    align-items: center;
}

.hero-noticias::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.hero-noticias::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -80px;
    pointer-events: none;
}

.hero-noticias-fondo {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-noticias-contenedor {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-noticias-contenedor h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
}

.hero-noticias-contenedor .lead {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.8;
}

.etiqueta-seccion {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

/* ============================================
   NOTICIA DESTACADA (CARD GRANDE)
   ============================================ */
.noticia-destacada {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.08);
    margin-bottom: 70px;
    transition: box-shadow 0.4s ease;
}

.noticia-destacada:hover {
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.15);
}

.noticia-destacada-contenido {
    padding: 50px 48px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}


/* Separador de sección */
.noticias-separador {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.noticias-separador h3 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 0;
    white-space: nowrap;
}

.linea-separador {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.3), transparent);
    border-radius: 2px;
}

/* ============================================
   CARRUSEL DE IMÁGENES
   ============================================ */
.carrusel-noticia {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    border-radius: 0;
    height: 420px;
}

.carrusel-noticia.carrusel-compacto {
    height: 280px;
    border-radius: 20px 20px 0 0;
}

.carrusel-noticia.carrusel-articulo {
    height: 480px;
    border-radius: 20px;
    margin-bottom: 48px;
}

.carrusel-contenedor {
    position: relative;
    width: 100%;
    height: 100%;
}

.carrusel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.carrusel-slide.activo {
    opacity: 1;
    pointer-events: auto;
}

.carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Leyenda del carrusel (solo en artículos) */
.carrusel-leyenda {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Puntos indicadores del carrusel */
.carrusel-puntos {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carrusel-articulo .carrusel-puntos {
    bottom: 56px;
}

.punto {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.punto.activo {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
}

/* Botones de navegación del carrusel */
.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    opacity: 0;
}

.carrusel-noticia:hover .carrusel-btn {
    opacity: 1;
}

.carrusel-btn.prev {
    left: 14px;
}

.carrusel-btn.next {
    right: 14px;
}

.carrusel-btn:hover {
    background: rgba(59, 130, 246, 0.7);
    border-color: rgba(59, 130, 246, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* ============================================
   META DE NOTICIA (CATEGORÍA + FECHA)
   ============================================ */
.noticia-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.noticia-categoria {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categoria-compras {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.categoria-becas {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.categoria-energy {
    background: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.noticia-fecha,
.noticia-lectura {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.83rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ============================================
   TARJETA DE NOTICIA (CARD SECUNDARIA)
   ============================================ */
.tarjeta-noticia {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tarjeta-noticia:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.15);
}

.tarjeta-noticia-cuerpo {
    padding: 30px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Títulos de noticias */
.noticia-titulo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.noticia-destacada .noticia-titulo {
    font-size: 1.75rem;
}

.noticia-resumen {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Estadísticas en la noticia destacada */
.noticia-extracto-stats {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Enlace "Leer más" en tarjetas secundarias */
.enlace-leer-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: auto;
    padding-top: 16px;
    transition: gap 0.3s ease;
}

.enlace-leer-mas:hover {
    gap: 14px;
    color: #2563eb;
}

/* ============================================
   CTA FINAL DE NOTICIAS (SECCIÓN SUSCRIPCIÓN)
   ============================================ */
.cta-noticias-box {
    text-align: center;
}

.cta-icono-campana {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1.4rem;
    display: block;
    animation: balanceo 3s ease-in-out infinite;
}

@keyframes balanceo {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

.cta-redes {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 2rem;
}

.btn-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #ffffff;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 29, 29, 0.35);
    color: #ffffff;
}

.btn-linkedin {
    background: #0a66c2;
    color: #ffffff;
}

.btn-linkedin:hover {
    background: #004182;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35);
    color: #ffffff;
}

/* ============================================
   RESPONSIVIDAD - NOTICIAS
   ============================================ */
@media (max-width: 991px) {
    .noticia-destacada-contenido {
        padding: 36px 30px;
    }

    .noticia-destacada .noticia-titulo {
        font-size: 1.5rem;
    }

    .hero-noticias-contenedor h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 767px) {
    .carrusel-noticia {
        height: 280px;
    }

    .carrusel-noticia.carrusel-articulo {
        height: 260px;
    }

    .noticia-extracto-stats {
        gap: 20px;
    }

    .stat-num {
        font-size: 1.3rem;
    }

    .hero-noticias-contenedor h1 {
        font-size: 2rem;
    }

    .noticia-destacada-contenido {
        padding: 28px 24px;
    }

    .carrusel-btn {
        opacity: 1;
    }
}

/* ============================================
   HERO DEL ARTÍCULO
   ============================================ */
.articulo-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
}

.hero-compras-bg {
    background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 40%, #3b82f6 100%);
}

.hero-becas-bg {
    background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 50%, #60a5fa 100%);
}

.hero-energy-bg {
    background: linear-gradient(145deg, #064e3b 0%, #059669 50%, #34d399 100%);
}

.articulo-hero-fondo {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40zm0-40h2l-2 2V0zm0 4l4-4h2l-6 6V4zm0 4l8-8h2L40 10V8zm0 4L52 0h2L40 14v-2zm0 4L56 0h2L40 18v-2zm0 4L60 0h2L40 22v-2zm0 4L64 0h2L40 26v-2zm0 4L68 0h2L40 30v-2zm0 4L72 0h2L40 34v-2zm0 4L76 0h2L40 38v-2zm0 4L80 0v2L42 40h-2zm4 0L80 4v2L46 40h-2zm4 0L80 8v2L50 40h-2zm4 0l28-28v2L54 40h-2zm4 0l24-24v2L58 40h-2zm4 0l20-20v2L62 40h-2zm4 0l16-16v2L66 40h-2zm4 0l12-12v2L70 40h-2zm4 0l8-8v2l-6 6h-2zm4 0l4-4v2l-2 2h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.articulo-hero-contenido {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.articulo-hero-contenido h1 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-top: 1rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.articulo-subtitulo {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 780px;
}

.articulo-hero-contenido .noticia-fecha,
.articulo-hero-contenido .noticia-lectura {
    color: rgba(255, 255, 255, 0.7);
}

/* Breadcrumb de volver */
.breadcrumb-volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.breadcrumb-volver:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    gap: 12px;
}

/* ============================================
   CUERPO DEL ARTÍCULO
   ============================================ */
.articulo-cuerpo {
    background: #ffffff;
}

.articulo-texto {
    margin-bottom: 48px;
}

.articulo-texto .lead {
    font-size: 1.15rem;
    color: #334155;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: 400;
}

.articulo-texto h2 {
    font-size: 1.6rem;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.articulo-texto p {
    color: #475569;
    line-height: 1.85;
    margin-bottom: 1.4rem;
    font-size: 1rem;
}

.articulo-texto strong {
    color: #0f172a;
    font-weight: 700;
}

/* Cita / Blockquote */
.cita-articulo {
    border-left: 4px solid #3b82f6;
    margin: 2.5rem 0;
    padding: 24px 30px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border-radius: 0 16px 16px 0;
    position: relative;
}

.cita-articulo::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(59, 130, 246, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.cita-articulo p {
    font-size: 1.1rem;
    font-style: italic;
    color: #1e40af;
    margin-bottom: 0.8rem !important;
    font-weight: 500;
    line-height: 1.65;
}

.cita-articulo cite {
    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

/* Estadísticas dentro del artículo */
.stats-articulo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 2.5rem 0;
}

.stat-card-articulo {
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    border: 1px solid rgba(59, 130, 246, 0.12);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card-articulo:hover {
    transform: translateY(-4px);
}

.stat-card-energy {
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
    border-color: rgba(5, 150, 105, 0.12);
}

.stat-num-grande {
    font-size: 2rem;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card-energy .stat-num-grande {
    color: #059669;
}

.stat-desc {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}

/* Lista destacada de elementos */
.lista-destacada {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 2rem 0;
}

.lista-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
}

.lista-item:hover {
    background: #eff6ff;
    border-color: rgba(59, 130, 246, 0.18);
}

.lista-item > i {
    color: #3b82f6;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.lista-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lista-item strong {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
}

.lista-item span {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Variante numerada para lista de pasos */
.lista-item-numerada {
    align-items: center;
}

.num-etapa {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 12px;
    flex-shrink: 0;
}

/* CTA dentro del artículo */
.articulo-cta {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 20px;
    padding: 28px 30px;
    margin-bottom: 40px;
}

.articulo-cta-contenido {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.articulo-cta-contenido > i {
    font-size: 2.2rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.articulo-cta-contenido > div {
    flex: 1;
}

.articulo-cta-contenido h4 {
    color: #1e3a8a;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.articulo-cta-contenido p {
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Navegación entre artículos */
.navegacion-articulos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 40px;
    border-top: 1px solid #f1f5f9;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* ============================================
   BARRA LATERAL (SIDEBAR) DEL ARTÍCULO
   ============================================ */
.sidebar-noticias {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid rgba(59, 130, 246, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.sidebar-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eff6ff;
}

.sidebar-noticia-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-noticia-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-noticia-item img {
    width: 68px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.sidebar-noticia-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 9px;
    border-radius: 20px;
    width: fit-content;
}

.sidebar-noticia-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.sidebar-noticia-link:hover {
    color: #3b82f6;
}

.sidebar-fecha {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* CTA del sidebar */
.sidebar-cta {
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
    border-color: rgba(59, 130, 246, 0.15);
    text-align: center;
}

.sidebar-cta-energy {
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
    border-color: rgba(5, 150, 105, 0.15);
}

.sidebar-cta-icono {
    font-size: 2rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    display: block;
}

.sidebar-cta h4 {
    font-size: 1rem;
    color: #1e3a8a;
    margin-bottom: 0.7rem;
}

.sidebar-cta p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

/* ============================================
   RESPONSIVIDAD - ARTÍCULOS
   ============================================ */
@media (max-width: 991px) {
    .articulo-hero-contenido h1 {
        font-size: 2.2rem;
    }

    .sidebar-noticias {
        position: static;
        margin-top: 50px;
    }

    .stats-articulo {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .articulo-hero {
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .articulo-hero-contenido h1 {
        font-size: 1.8rem;
    }

    .stats-articulo {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-num-grande {
        font-size: 1.5rem;
    }

    .articulo-cta-contenido {
        flex-direction: column;
        text-align: center;
    }

    .navegacion-articulos {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .navegacion-articulos .btn-personalizado {
        justify-content: center;
    }


    .cita-articulo {
        padding: 18px 20px;
    }
}
