  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background: #f5f7fb;
            padding: 20px;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }
        
        /* Header */
        .rss-header {
            background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
            color: white;
            text-align: center;
            padding: 40px 20px;
            border-radius: 20px;
            margin-bottom: 30px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
        
        .rss-header h1 {
            font-size: 2rem;
            margin-bottom: 10px;
        }
        
        .rss-header p {
            opacity: 0.9;
            font-size: 0.95rem;
        }
        
        .update-info {
            margin-top: 15px;
            font-size: 0.75rem;
            opacity: 0.7;
        }
        
        /* Grid de feeds */
        .rss-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
            gap: 25px;
        }
        
        /* Tarjeta de cada medio */
        .rss-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .rss-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.12);
        }
        
        /* Cabecera de la tarjeta */
        .rss-card-header {
            padding: 14px 18px;
            border-bottom: 3px solid;
            background: #f8f9fa;
        }
        
        .rss-card-header h2 {
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0;
        }
        
        /* Lista de noticias */
        .rss-noticias {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .rss-noticias li {
            border-bottom: 1px solid #eee;
        }
        
        .rss-noticias li:last-child {
            border-bottom: none;
        }
        
        .noticia-link {
            display: flex;
            gap: 12px;
            padding: 12px 14px;
            text-decoration: none;
            color: #333;
            transition: background 0.2s;
        }
        
        .noticia-link:hover {
            background: #f8f9fa;
        }
        
        .noticia-imagen {
            flex-shrink: 0;
            width: 80px;
            height: 80px;
            border-radius: 8px;
            overflow: hidden;
            background: #f0f0f0;
        }
        
        .noticia-imagen img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .noticia-contenido {
            flex: 1;
            min-width: 0;
        }
        
        .noticia-titulo {
            font-weight: 600;
            font-size: 0.85rem;
            line-height: 1.4;
            margin-bottom: 5px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            color: #1a1a2e;
        }
        
        .noticia-fecha {
            font-size: 0.65rem;
            color: #999;
            margin-bottom: 4px;
        }
        
        .noticia-descripcion {
            font-size: 0.7rem;
            color: #666;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.3;
        }
        
        /* Sin imagen */
        .noticia-link.sin-imagen .noticia-imagen {
            display: none;
        }
        
        /* Footer de la tarjeta */
        .rss-card-footer {
            padding: 10px 14px;
            background: #f8f9fa;
            border-top: 1px solid #eee;
            text-align: center;
        }
        
        .rss-card-footer a {
            text-decoration: none;
            font-size: 0.7rem;
            font-weight: 500;
        }
        
        .rss-error, .rss-vacio {
            padding: 30px;
            text-align: center;
            color: #999;
            font-size: 0.8rem;
        }
        
        /* Footer página */
        .page-footer {
            text-align: center;
            margin-top: 40px;
            padding: 20px;
            background: white;
            border-radius: 16px;
            color: #666;
            font-size: 0.7rem;
        }
        
        @media (max-width: 768px) {
            body {
                padding: 10px;
            }
            
            .rss-header h1 {
                font-size: 1.5rem;
            }
            
            .rss-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .noticia-imagen {
                width: 65px;
                height: 65px;
            }
        }