/* ===== ESTILOS GENERALES ===== */
        .multiImage {
            margin-top: -1px;
        }

        /* ===== ESTILOS DE VIDEO ===== */
        .youtube-video-container {
            cursor: pointer;
            transition: transform 0.3s ease;
            margin-bottom: 1.5rem;
        }

        .youtube-video-container:hover {
            transform: scale(1.02);
        }

        .video-thumbnail {
            position: relative;
            width: 100%;
            height: 200px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .youtube-video-container:hover .play-overlay {
            opacity: 1;
        }

        .play-button {
            width: 60px;
            height: 60px;
            background: #ff0000;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .youtube-video-container:hover .play-button {
            transform: scale(1);
        }

        .video-title {
            text-align: center;
            margin-top: 0.5rem;
        }

        /* ===== TARJETAS SOCIALES COMPACTAS ===== */
        .social-card-compact {
            display: block;
            border-radius: 12px;
            padding: 1rem;
            color: white !important;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            height: 80px;
            margin-bottom: 0.75rem;
        }

        .social-card-compact:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
            text-decoration: none;
        }

        .social-card-content-compact {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            position: relative;
            z-index: 2;
            height: 100%;
        }

        .social-icon-container-compact {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .social-card-compact:hover .social-icon-container-compact {
            transform: scale(1.1);
        }

        .social-info-compact {
            flex: 1;
            overflow: hidden;
        }

        .social-count-compact {
            font-size: 1.1rem;
            font-weight: bold;
            line-height: 1;
            margin-bottom: 0.1rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .social-label-compact {
            font-size: 0.75rem;
            opacity: 0.9;
            margin-bottom: 0.2rem;
            white-space: nowrap;
        }

        .social-growth-compact {
            font-size: 0.65rem;
            opacity: 0.8;
            display: flex;
            align-items: center;
            gap: 0.2rem;
            white-space: nowrap;
        }

        .growth-arrow-compact {
            color: #4ade80;
            font-weight: bold;
            font-size: 0.7rem;
        }

        /* Colores específicos */
        .gradient-instagram-compact {
            background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        }

        .bg-linkedin-compact {
            background: linear-gradient(135deg, #0077B5, #00A0DC);
        }

        .bg-primary-compact {
            background: linear-gradient(135deg, #1877F2, #0A7BFF);
        }

        .bg-danger-compact {
            background: linear-gradient(135deg, #FF0000, #FF4D4D);
        }

        /* Grid compacto */
        .social-grid-compact {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
            margin-bottom: 1rem;
        }

        /* Botones sociales  */
        .social-btn-compact {
            border-radius: 20px;
            padding: 0.5rem 1rem;
            transition: all 0.3s ease;
            border-width: 1.5px;
            margin: 0.15rem;
            font-size: 0.8rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 90px;
        }

        .social-btn-compact:hover {
            transform: translateY(-1px);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
        }

        .social-btn-compact svg {
            width: 16px;
            height: 16px;
            margin-right: 0.4rem;
        }

        /* Estilos específicos para botones de redes sociales */
        .btn-outline-instagram {
            color: #E1306C;
            border-color: #E1306C;
        }
        
        .btn-outline-instagram:hover {
            color: white;
            background-color: #E1306C;
            border-color: #E1306C;
        }
        
        .btn-outline-linkedin {
            color: #0077B5;
            border-color: #0077B5;
        }
        
        .btn-outline-linkedin:hover {
            color: white;
            background-color: #0077B5;
            border-color: #0077B5;
        }

        /* Responsive mejorado */
        @media (max-width: 992px) {
            .social-grid-compact {
                grid-template-columns: 1fr 1fr;
                gap: 0.6rem;
            }
            
            .social-card-compact {
                height: 75px;
                padding: 0.8rem;
            }
            
            .social-icon-container-compact {
                width: 36px;
                height: 36px;
            }
            
            .social-count-compact {
                font-size: 1rem;
            }
            
            .video-thumbnail {
                height: 180px;
            }
            
            .social-btn-compact {
                padding: 0.4rem 0.8rem;
                font-size: 0.75rem;
                min-width: 80px;
            }
        }

        @media (max-width: 768px) {
            .social-grid-compact {
                grid-template-columns: 1fr;
                gap: 0.5rem;
            }
            
            .social-card-compact {
                height: 70px;
                padding: 0.7rem;
            }
            
            .social-icon-container-compact {
                width: 32px;
                height: 32px;
            }
            
            .social-count-compact {
                font-size: 0.95rem;
            }
            
            .social-label-compact {
                font-size: 0.7rem;
            }
            
            .video-thumbnail {
                height: 160px;
            }
            
            .social-btn-compact {
                padding: 0.35rem 0.7rem;
                font-size: 0.7rem;
                min-width: 70px;
            }
            
            .social-btn-compact svg {
                width: 14px;
                height: 14px;
                margin-right: 0.3rem;
            }
        }

        @media (max-width: 576px) {
            .social-card-compact {
                height: 65px;
                padding: 0.6rem;
            }
            
            .social-icon-container-compact {
                width: 30px;
                height: 30px;
            }
            
            .social-count-compact {
                font-size: 0.9rem;
            }
            
            .video-thumbnail {
                height: 150px;
            }
            
            .social-btn-compact {
                padding: 0.3rem 0.6rem;
                font-size: 0.65rem;
                min-width: 65px;
            }
        }

        /* Efectos de animación */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .social-card-compact {
            animation: fadeInUp 0.6s ease forwards;
        }

        /* Estilos para categorías mejoradas */
        .category-card {
            height: 140px;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            position: relative;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        }
        
        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
            opacity: 0.7;
            transition: opacity 0.3s ease;
            border-radius: 10px;
        }
        
        .category-card:hover::before {
            opacity: 0.8;
        }
        
        .category-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 12px;
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            text-align: center;
            z-index: 2;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
            transition: all 0.3s ease;
        }
        
        .category-card:hover .category-title {
            transform: translateY(-5px);
        }
        
        /* Responsive para categorías */
        @media (max-width: 768px) {
            .category-card {
                height: 120px;
            }
            
            .category-title {
                font-size: 1rem;
                padding: 10px;
            }
        }
        
        @media (max-width: 576px) {
            .category-card {
                height: 110px;
                margin-bottom: 1.2rem;
            }
            
            .category-title {
                font-size: 0.95rem;
                padding: 8px;
            }
        }

        /* Mejoras para botones de redes sociales en móviles */
        .social-buttons-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.4rem;
        }

        /* Ajustes para texto en redes sociales */
        .social-info-compact {
            min-width: 0; /* Permite que el texto se ajuste correctamente */
        }
        
        /* Ajustes para iconos SVG */
        .social-icon-container-compact svg {
            width: 20px;
            height: 20px;
            fill: white;
        }