/* ==========================================================================
   1. ESTILOS GENERALES Y ESTRUCTURA
   ========================================================================== */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f9;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. GOB HEADER (Identidad Institucional)
   ========================================================================== */
.gob-header {
    background-color: #FFF; /* Corregido: Color blanco institucional del logo */
    padding: 12px 0;
    border-bottom: 3px solid #9A1319;
}

.gob-flex {
    display: flex;
    align-items: center;
}

.gob-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gob-logo-img {
    height: 35px;
    width: auto;
}

.motto-link-highlight {
    color: #9A1319 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    padding-left: 15px;
    transition: all 0.3s ease;
}

.motto-link-highlight:hover {
    color: #FFD700 !important;
    text-shadow: 0px 0px 8px rgba(255, 215, 0, 0.5);
}

/* Contenedor principal para alinear los 3 bloques */
.gob-flex-custom {
    display: flex;
    justify-content: space-between; /* Separa izquierda, centro y derecha */
    align-items: center;            /* Centra verticalmente */
    padding: 10px 20px;
    background-color: #ffffff;
}

/* Estilo para la nueva imagen de la izquierda */
.gob-logo-left {
    height: 50px; /* Ajusta según necesites */
    width: auto;
}

/* --- ANIMACIÓN DEL TEXTO --- */
.texto-animado {
    font-size: 1.2rem;
    font-weight: bold;
    color: #004481;
    margin: 0;
    animation: aparecer 3s infinite alternate; /* Animación de ejemplo */
}

@keyframes aparecer {
    from {
        opacity: 0.4;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Asegurar que los logos de la derecha se mantengan juntos */
.gob-brand {
    display: flex;
    align-items: center;
    gap: 15px; /* Espacio entre los logos */
}

/* ==========================================================================
   3. BANNER ADAPTABLE (HERO SECTION)
   ========================================================================== */
.banner-image-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    background: url('../images/banner_egb_2026.png') center/cover no-repeat;
    display: flex;
    align-items: center;
}

.banner-overlay {
    background: rgba(0, 45, 86, 0.4); 
    width: 100%;
    height: 100%; /* Asegura que cubra todo el contenedor */
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.banner-text {
    color: white;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.banner-text h1 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
}

.banner-text p {
    font-size: 1.5rem;
    margin: 10px 0 0;
    font-weight: 300;
}

/* ==========================================================================
   4. LAYOUT PRINCIPAL Y COMPONENTES COMUNES
   ========================================================================== */
.main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin: 40px auto;
}

.welcome-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border-top: 5px solid #004481;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.sidebar-left { background: transparent; }

.fb-container {
    position: sticky;
    top: 80px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.section-title {
    color: #004481;
    border-bottom: 2px solid #004481;
    padding-bottom: 10px;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 700;
}

.main-center { text-align: center; margin-bottom: 40px; font-size: 2rem; }

/* Grilla de Logos */
.grid-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    padding-bottom: 30px;
}

.grid-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 110px;
    /* Fondo azul con transparencia sutil */
    background: rgba(0, 68, 129, 0.05); 
    border: 1px solid rgba(0, 68, 129, 0.1);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    /* Animación de entrada */
    animation: fadeIn 0.8s ease-out forwards;
}

/* Efecto Hover mejorado */
.grid-logos a:hover {
    background: rgba(0, 68, 129, 0.1); /* Azul un poco más intenso al pasar el mouse */
    border-color: #004481;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 68, 129, 0.15);
}

/* El logo dentro */
.grid-logos img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain;
    filter: grayscale(20%); /* Opcional: un poco gris para que el color resalte al hover */
    transition: filter 0.3s ease;
}

.grid-logos a:hover img {
    filter: grayscale(0%);
}

/* Keyframes para la animación de carga */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid-logos a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.grid-logos a:hover::after {
    left: 150%;
}

/* Tablas */
.table-responsive { overflow-x: auto; margin-bottom: 30px; }
.custom-table { width: 100%; border-collapse: collapse; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.custom-table th { background-color: #004481; color: white; text-align: left; padding: 15px; font-size: 14px; text-transform: uppercase; }
.custom-table td { padding: 15px; border-bottom: 1px solid #eee; font-size: 14px; color: #444; }
.custom-table tr:hover { background-color: #f9fbff; }
.date-cell { font-weight: bold; color: #004481; white-space: nowrap; width: 150px; }
.old-convocatory th { background-color: #666; }

/* ==========================================================================
   5. MÓDULO IDENTIDAD (VISIÓN Y MISIÓN) - SALUD BLUE STYLE
   ========================================================================== */
.identidad-institucional { padding: 60px 0; }

.identidad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.identidad-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 45, 86, 0.1);
    border: 1px solid #e1e8ed;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.identidad-card:hover { transform: translateY(-5px); }

.card-header {
    background: linear-gradient(135deg, #004481 0%, #002d56 100%);
    padding: 30px;
    text-align: center;
    color: white;
}

.icon-circle {
    width: 70px; height: 70px; background: white; border-radius: 50%;
    margin: 0 auto 15px; display: flex; align-items: center; justify-content: center;
    padding: 15px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.icon-circle img { max-width: 100%; }
.card-header h3 { margin: 0; font-size: 1.5rem; letter-spacing: 1px; }
.card-body { padding: 30px; text-align: center; }

.image-placeholder {
    width: 100%; height: 200px; background: #f0f4f8;
    border-radius: 10px; margin-bottom: 20px; overflow: hidden;
}

.image-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.card-body p { font-size: 1.1rem; color: #444; line-height: 1.7; margin: 0; }

/* Principios */
.principios-container { background: #f8fafc; padding: 40px; border-radius: 20px; text-align: center; }
.subsection-title { color: #004481; margin-bottom: 30px; font-size: 1.6rem; font-weight: 700; }
.principios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.principio-item {
    background: white; padding: 20px; border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; flex-direction: column;
    align-items: center; border-bottom: 3px solid #004481; transition: 0.3s;
}

.principio-item:hover { background: #004481; color: white; }
.p-icon { font-size: 2rem; margin-bottom: 10px; }
.principio-item span { font-weight: bold; text-transform: uppercase; font-size: 0.9rem; }

/* ==========================================================================
   6. MÓDULO RESEÑA HISTÓRICA - ESTILO HITOS AZUL
   ========================================================================== */
.resena-wrapper {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.fundacion-banner {
    background-color: #fff9db;
    border-left: 5px solid #fcc419;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 4px;
    font-size: 1.05rem;
    color: #444;
}

.fundacion-banner strong { color: #004481; }

.timeline-container { display: flex; flex-direction: column; gap: 20px; }
.timeline-entry { display: grid; grid-template-columns: 140px 1fr; align-items: flex-start; }

.entry-year {
    color: #004481; font-weight: 800; font-size: 1.1rem;
    position: relative; padding-right: 25px; text-align: right;
    border-right: 3px solid #004481;
}

.entry-year::after {
    content: ''; position: absolute; right: -8px; top: 5px;
    width: 12px; height: 12px; background: #fff;
    border: 3px solid #004481; border-radius: 50%;
}

.entry-content { padding-left: 25px; }
.entry-content h4 { margin: 0 0 8px 0; color: #333; font-size: 1.1rem; }
.entry-content p { margin: 0; color: #666; line-height: 1.5; font-size: 0.95rem; }

/* ==========================================================================
   7. RESPONSIVE DESIGN (Unificado)
   ========================================================================== */
@media (max-width: 992px) {
    .main-layout { grid-template-columns: 1fr; }
    .sidebar-left { order: 2; display: flex; justify-content: center; }
}

@media (max-width: 768px) {
    .gob-brand { flex-direction: column; text-align: center; gap: 5px; }
    .motto-link-highlight { font-size: 10px; border-left: none; padding-left: 0; }
    
    .banner-image-container { min-height: 250px; }
    .banner-text h1 { font-size: 1.8rem; }
    
    .identidad-grid { grid-template-columns: 1fr; }
    
    .timeline-entry { grid-template-columns: 1fr; gap: 10px; }
    .entry-year { text-align: left; border-right: none; border-bottom: 2px solid #004481; padding-right: 0; padding-bottom: 5px; width: fit-content; }
    .entry-year::after { display: none; }
    .entry-content { padding-left: 10px; border-left: 2px solid #e1e8ed; }
}

/* ==========================================================================
   8. MENSAJE DE NAVIDAD 
   ========================================================================== */
/* Estilos del Modal */
.modal-navidad {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-contenido {
    position: relative;
    margin: 2% auto; /* Reducimos el margen superior para que quepa en pantalla al ser más grande */
    padding: 20px;
    width: 95%;      /* Aumentamos el ancho relativo */
    max-width: 1000px; /* Cambiamos de 500px a 1000px (el doble) */
    text-align: center;
    animation: aparecerNavidad 0.8s ease-out;
}

/* Animación de entrada */
@keyframes aparecerNavidad {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Capa animada en bucle (Transparencia) */
.capa-animada {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/efecto_brillos.png'); /* Imagen que será transparente en bucle */
    background-size: cover;
    pointer-events: none;
    z-index: 2;
    animation: bucleTransparencia 3s infinite ease-in-out;
}

@keyframes bucleTransparencia {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.8; }
}

.img-saludo {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 3px solid #fff;
    box-shadow: 0 0 20px #9A1319;
}

.cerrar-modal {
    position: absolute;
    top: -10px;
    right: 5px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3;
}

.btn-navidad {
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #9A1319;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-navidad:hover {
    background-color: #004481;
}

/* Estilos para la nieve */
.copo-nieve {
    position: fixed;
    top: -100px;
    color: #fff;
    font-size: 1.2rem;
    user-select: none;
    z-index: 10000; /* Por encima del modal */
    pointer-events: none;
    animation: caida-nieve linear infinite;
}

@keyframes caida-nieve {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0.3; }
}


/* ==========================================================================
   8. VIDEO BOLETA ELECTRONICA 
   ========================================================================== */
/* Contenedor responsivo para YouTube */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-seccion {
        padding: 0 15px;
    }
} 

/* ==========================================================================
   9. SECCIÓN ATENCIÓN AL CIUDADANO
   Agregar al final de style2025.css
   ========================================================================== */

/* Contenedor principal */
.atencion-ciudadano {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 68, 129, 0.08);
    border-top: 4px solid #004481;
}

/* Encabezado de la sección */
.ciudadano-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
}

.ciudadano-titulo {
    color: #004481;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ciudadano-subtitulo {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 300;
}

/* Grid de acciones rápidas */
.acciones-rapidas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Tarjetas de acción */
.accion-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #e1e8ed;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.accion-card:nth-child(1) { --animation-order: 0; }
.accion-card:nth-child(2) { --animation-order: 1; }
.accion-card:nth-child(3) { --animation-order: 2; }

/* Efecto de brillo al hover */
.accion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 68, 129, 0.1), transparent);
    transition: left 0.5s;
}

.accion-card:hover::before {
    left: 100%;
}

.accion-card:hover {
    transform: translateY(-5px);
    border-color: #004481;
    box-shadow: 0 12px 30px rgba(0, 68, 129, 0.15);
}

/* Ícono de la acción */
.accion-icono {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #004481 0%, #002d56 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.accion-card:hover .accion-icono {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 68, 129, 0.3);
}

.accion-icono svg {
    width: 32px;
    height: 32px;
}

/* Contenido de la acción */
.accion-contenido {
    flex: 1;
}

.accion-contenido h3 {
    margin: 0 0 5px 0;
    color: #004481;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s;
}

.accion-card:hover .accion-contenido h3 {
    color: #002d56;
}

.accion-contenido p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Flecha indicadora */
.accion-flecha {
    color: #004481;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.accion-card:hover .accion-flecha {
    transform: translateX(5px);
}

/* Sección de contacto */
.contacto-institucional {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    animation: fadeIn 1s ease-out;
}

.contacto-titulo {
    color: #004481;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grid de contacto */
.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Items de contacto */
.contacto-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #004481;
    transition: all 0.3s ease;
    animation: slideInLeft 0.6s ease-out forwards;
    animation-delay: calc(var(--contact-order, 0) * 0.08s);
}

.contacto-item:nth-child(1) { --contact-order: 0; }
.contacto-item:nth-child(2) { --contact-order: 1; }
.contacto-item:nth-child(3) { --contact-order: 2; }
.contacto-item:nth-child(4) { --contact-order: 3; }
.contacto-item:nth-child(5) { --contact-order: 4; }
.contacto-item:nth-child(6) { --contact-order: 5; }

.contacto-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 68, 129, 0.1);
}

/* Ícono de contacto */
.contacto-icono {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #004481 0%, #002d56 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.contacto-icono.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.contacto-icono svg {
    width: 24px;
    height: 24px;
}

/* Información de contacto */
.contacto-info {
    flex: 1;
}

.contacto-info strong {
    display: block;
    color: #004481;
    font-size: 0.95rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.contacto-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efecto de pulso para los iconos */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.accion-card:hover .accion-icono {
    animation: pulse 1s infinite;
}

/* ==========================================================================
   RESPONSIVE DESIGN - ATENCIÓN AL CIUDADANO
   ========================================================================== */

@media (max-width: 992px) {
    .atencion-ciudadano {
        padding: 30px 20px;
    }

    .ciudadano-titulo {
        font-size: 1.6rem;
    }

    .acciones-rapidas {
        grid-template-columns: 1fr;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .atencion-ciudadano {
        padding: 25px 15px;
        margin: 30px 0;
    }

    .ciudadano-titulo {
        font-size: 1.4rem;
    }

    .ciudadano-subtitulo {
        font-size: 1rem;
    }

    .accion-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .accion-flecha {
        display: none;
    }

    .contacto-item {
        padding: 15px;
    }

    .contacto-info strong {
        font-size: 0.85rem;
    }

    .contacto-info p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .accion-icono {
        width: 50px;
        height: 50px;
    }

    .accion-icono svg {
        width: 26px;
        height: 26px;
    }

    .accion-contenido h3 {
        font-size: 1rem;
    }

    .accion-contenido p {
        font-size: 0.85rem;
    }
}

/* ==========================================================================
    ESTILOS PARA BLOQUE NOTICIAS-SALUD 
    ==========================================================================   */
.noticias-salud {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 40px 0;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 68, 129, 0.08);
  border-top: 4px solid #004481;
}

.seccion-header {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s ease-out;
}

.section-title {
  color: #004481;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seccion-subtitulo {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 300;
}

/* NOTICIAS BREVES */
.noticias-breves {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.noticia-item {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #004481;
  display: flex;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.noticia-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 68, 129, 0.15);
  border-left-color: #002d56;
}

.noticia-icono {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.noticia-icono svg {
  width: 28px;
  height: 28px;
}

.alerta .noticia-icono { background: linear-gradient(135deg, #dc3545, #c82333); }
.vacunacion .noticia-icono { background: linear-gradient(135deg, #28a745, #218838); }
.virus .noticia-icono { background: linear-gradient(135deg, #ffc107, #e0a800); }

.noticia-contenido h3 {
  color: #004481;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.noticia-contenido p {
  color: #666;
  font-size: 0.95rem;
  margin: 0 0 10px 0;
  line-height: 1.5;
}

.noticia-fecha {
  color: #999;
  font-size: 0.85rem;
  font-weight: 500;
}

/* BANNERS CAMPAÑAS */
.banners-campanas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.banner-campana {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 25px;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid #e1e8ed;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  min-height: 120px;
}

.banner-campana:hover {
  transform: translateY(-5px);
  border-color: #004481;
  box-shadow: 0 12px 30px rgba(0, 68, 129, 0.15);
}

.banner-campana.salud-mental { border-left: 5px solid #17a2b8; }
.banner-campana.vacunacion { border-left: 5px solid #28a745; }
.banner-campana.prevencion { border-left: 5px solid #ffc107; }

.banner-contenido {
  flex: 1;
}

.banner-contenido h3 {
  color: #004481;
  font-size: 1.2rem;
  margin: 0 0 5px 0;
  font-weight: 700;
}

.banner-contenido p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

.banner-icono {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #004481 0%, #002d56 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-left: 20px;
  flex-shrink: 0;
}

.banner-icono svg {
  width: 32px;
  height: 32px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .noticias-breves {
    grid-template-columns: 1fr;
  }
  
  .banners-campanas {
    grid-template-columns: 1fr;
  }
  
  .banner-icono {
    margin-left: 0;
    margin-top: 15px;
  }
  
  .banner-campana {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .noticias-salud {
    padding: 30px 20px;
    margin: 30px 10px;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
}
