/* ========================================================================
   GODO TECHNOLOGY
   Diseño profesional y moderno para Radio y canal de televisión
   Colores: #1653c0 (azul principal) y #00ccff (azul secundario)
   ======================================================================== */

/* Importar fuentes modernas de Google Fonts con font-display optimizado */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700;800&family=Quicksand:wght@300;400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Importar archivos CSS específicos */
@import url('tv-player.css');

/* Definiciones de fuentes con font-display: swap para evitar FOUT */
@font-face {
    font-family: 'Quicksand';
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-display: swap;
}

@font-face {
    font-family: 'Work Sans';
    font-display: swap;
}

/* ===== VARIABLES CSS ===== */
:root {
    --primary-blue: #272626;
    --secondary-celeste: #243f8d;
    --harmonic-purple: #30488e;
    --color-primary: #30488e;
    --secondary: #f08120;
    
    /* Colores base */
    --white: #ffffff;
    --black: #000000;
    --yelow: #ffdd2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Gradientes principales */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--secondary-celeste));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-celeste), var(--harmonic-purple));
    --gradient-tertiary: linear-gradient(135deg, var(--primary-blue), var(--harmonic-purple));
    --gradient-full: linear-gradient(135deg, var(--primary-blue), var(--secondary-celeste), var(--harmonic-purple));
    
    /* Gradientes con transparencia */
    --gradient-overlay: linear-gradient(135deg, rgba(22, 83, 192, 0.9), rgba(0, 204, 255, 0.9));
    --gradient-overlay-purple: linear-gradient(135deg, rgba(22, 83, 192, 0.8), rgba(123, 91, 224, 0.8));
    --gradient-overlay-full: linear-gradient(135deg, rgba(22, 83, 192, 0.9), rgba(0, 204, 255, 0.7), rgba(123, 91, 224, 0.8));

    /* Transiciones */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Espaciado */
    --header-height: 140px;
    --nav-height: 70px;
    
        --chat-primary: var(--primary-blue);
    --chat-secondary: var(--secondary-celeste);
    --chat-gradient: var(--gradient-primary);
    --chat-gradient-hover: linear-gradient(135deg, #1553c0, #2563eb);
    --chat-surface: var(--white);
    --chat-border: #e8ecf0;
    --chat-text: var(--gray-800);
    --chat-text-muted: var(--gray-600);
    --chat-radius: 16px;
    --chat-radius-sm: 12px;
    --chat-shadow: 0 8px 32px rgba(22, 83, 192, 0.12);
    --chat-shadow-hover: 0 12px 48px rgba(22, 83, 192, 0.18);
    --chat-success: linear-gradient(135deg, #10b981, #059669);
    --chat-success-hover: linear-gradient(135deg, #059669, #047857);
    --whatsapp-green: #25d366;
}

/* ===== RESET Y BASE ===== */
* {
    box-sizing: border-box;
}

/* Eliminar líneas de enfoque y selección */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

button:focus,
a:focus,
input:focus:not(.search-input) {
    outline: none !important;
    box-shadow: none !important;
}

/* Eliminar estilos de Bootstrap que pueden causar líneas azules */
.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.mobile-menu-toggle:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Prevenir FOUT (Flash of Unstyled Text) especialmente en el menú */
/* Reglas consolidadas para .menu-link - evitar saltos y efectos visuales */

/* Mantener espacio del menú durante la carga */
html:not(.fonts-loaded) .main-menu {
    min-height: 70px;
}

/* Optimización adicional para logos y títulos */
html:not(.fonts-loaded) .main-logo {
    opacity: 0.9;
}

html.fonts-loaded .main-logo {
    opacity: 1;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-100);
    margin: 0;
    padding: 0;
}

p {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
}

.lead {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
}

/* ===== HEADER SIMPLE ===== */

/* Sección del Logo */
.logo-section {
    background: var(--gradient-full);
    padding: 1.5rem 0;
    border-bottom: 3px solid var(--yelow);
    position: relative;
    z-index: 999;
}

.logo-container {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition-normal);
}

.logo-container:hover {
    transform: translateY(-3px) scale(1.05);
}

.main-logo {
    width: 200px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    transition: var(--transition-normal);
}

/* ===== NAVEGACIÓN PRINCIPAL REESTRUCTURADA ===== */

/* Header de navegación - SIEMPRE FIJO */
.main-navigation {
    background: var(--color-primary);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: var(--nav-height);
}

.nav-wrapper {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== MENÚ PROFESIONAL ===== */
.professional-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

/* Botón hamburguesa (visible en todas las resoluciones) */
.menu-toggle {
    display: flex;
    flex-direction: column;
        justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    outline: none !important;
    box-shadow: none !important;
}

.menu-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--white);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.menu-toggle:hover .hamburger-line {
    background: var(--primary-blue);
}

/* Menú principal (oculto en móviles) */
.main-menu {
    flex: 1;
        display: flex;
        justify-content: center;
}

.menu-list {
    display: flex;
        align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.menu-item {
    position: relative;
}

/* Sección de acciones del menú (buscador + señal en vivo) */
.menu-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Estilos de enlaces del menú - sin saltos visuales */
.menu-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: var(--yelow);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.0rem;
    line-height: 1.2;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    /* Eliminar cualquier sombra o filtro */
    text-shadow: none !important;
    filter: none !important;
    /* Propiedades para evitar saltos */
    font-size-adjust: 0.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Forzar altura mínima consistente */
    min-height: 1.2em;
    /* Evitar cambios de layout durante carga de fuentes */
    font-display: swap;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
    /* Evitar que cause cambios de layout */
    will-change: width;
    pointer-events: none;
}

.menu-link:hover {
    color: var(--white);
    text-decoration: none;
}

.menu-link:hover::after {
    width: 80%;
}

.menu-link.active {
    color: var(--white);
}

.menu-link.active::after {
    width: 80%;
}



/* Buscador */
.search-section {
    flex-shrink: 0;
    margin-left: 1rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--gray-800);
    width: 200px;
    background: var(--white);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(22, 83, 192, 0.25);
}

.search-input::placeholder {
    color: var(--gray-500);
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background: black;
    transform: scale(1.05);
    color:white;
}

/* Botón Señal en Vivo */
.live-tv-section {
    flex-shrink: 0;
}

.live-tv-btn {
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, rgb(255, 0, 22), rgb(255, 0, 22));
    padding: 0.5rem 1rem;
    border-radius: 22px;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-family-menu);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.live-tv-btn:hover {
    background: linear-gradient(45deg, rgb(221, 15, 36), rgb(221, 15, 36));
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.live-tv-btn .signal-icon {
    animation: live-blink 1s ease-in-out infinite;
}



/* ===== MENÚ LATERAL UNIFICADO ===== */

/* Overlay del menú lateral */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1050;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menú lateral (funciona en todas las resoluciones) */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background: var(--white);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1100;
    overflow-y: auto;
}

.sidebar-menu.active {
    left: 0;
}

/* Header del menú lateral */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gradient-primary);
}

.sidebar-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    font-family: var(--font-family-headings);
}

.sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Lista del menú lateral */
.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-item {
    border-bottom: 1px solid var(--gray-100);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-family: var(--font-family-menu);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    background: var(--gray-50);
    color: var(--primary-blue);
    text-decoration: none;
}

.sidebar-link.active {
    background: rgba(22, 83, 192, 0.1);
    color: var(--primary-blue);
    border-right: 3px solid var(--primary-blue);
}

.sidebar-link i {
    font-size: 1.1rem;
    color: var(--gray-500);
    transition: color 0.3s ease;
    width: 20px;
    text-align: center;
}

.sidebar-link:hover i,
.sidebar-link.active i {
    color: var(--primary-blue);
}



/* Item especial señal en vivo en menú lateral */
.sidebar-live-item .sidebar-live-link {
    background: #ff0000;
    color: white !important;
    border-radius: 8px;
    margin: 0.5rem 1rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 0, 0, 0.3);
}

.sidebar-live-item .sidebar-live-link:hover {
    background: #cc0000;
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.sidebar-live-item .sidebar-live-link .signal-icon {
    color: white;
    animation: live-blink 1s ease-in-out infinite;
}

.sidebar-live-item .sidebar-live-link i {
    color: white;
}

/* Animaciones optimizadas */
@keyframes live-blink {
    0%, 100% { 
        opacity: 1;
    }
    50% { 
        opacity: 0;
    }
}

@keyframes pulse-signal {
    0% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== MEDIA QUERIES RESPONSIVE ===== */

/* Tablets y móviles */
@media (max-width: 991.98px) {
    .main-menu {
        display: none !important;
    }
    
    .search-section {
        display: none !important;
    }
    
    .professional-menu {
        justify-content: space-between;
    }
    
    .menu-actions {
        display: flex !important;
    align-items: center;
    }
    
    .live-tv-section {
        display: block !important;
    }
    
    /* Espaciado lateral mínimo para tablets */
    .main-content {
        padding: 1.5rem 0.5rem;
    }
    
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .sidebar-menu {
        width: 280px;
        left: -280px;
    }
    
    .sidebar-header {
        padding: 1.25rem 1rem;
    }
    
    .sidebar-title {
        font-size: 1rem;
    }
    
    .sidebar-link {
        padding: 1rem 1.25rem;
    }
    
    .live-tv-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
        gap: 0.45rem;
    }
    
    .menu-actions {
    gap: 0.5rem;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .sidebar-menu {
        width: 100%;
        left: -100%;
    }
    
    .live-tv-btn {
        padding: 0.35rem 0.8rem;
        border-radius: 20px;
        min-height: 34px;
        justify-content: center;
        font-size: 0.75rem;
        gap: 0.35rem;
    }
}

/* Desktop grande */
@media (min-width: 1200px) {
    .professional-menu {
        max-width: 1400px;
    }
    
    .menu-link {
        padding: 0.7rem 1rem;
        font-size: 1.0rem;
    }
    
    .live-tv-btn {
        padding: 0.6rem 1.3rem;
        font-size: 0.9rem;
        gap: 0.6rem;
    }
    
    .search-input {
        width: 250px;
    }
}

/* === LIVE PROGRAM INDICATOR V8 - DISEÑO DASHBOARD TECNOLÓGICO === */
.live-program-indicator {
    margin: 2rem 0;
    position: relative;
}

.live-program-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.live-program-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%);
    animation: borderShimmer 3s ease-in-out infinite;
}

@keyframes borderShimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.live-program-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.live-program-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2d6bd4 100%);
    padding: 12px 20px;
    position: relative;
    overflow: hidden;
}

.live-program-status {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-status-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.live-status-indicator {
    width: 16px;
    height: 16px;
    background: #00ff88;
    border-radius: 50%;
    position: relative;
    box-shadow: 
        0 0 10px rgba(0, 255, 136, 0.5),
        0 0 20px rgba(0, 255, 136, 0.3);
    animation: statusPulse 2s ease-in-out infinite;
}

.live-status-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 255, 136, 0.4);
    border-radius: 50%;
    animation: statusRing 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes statusRing {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.3; }
}

.live-status-text {
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.live-time-display {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.live-time-display i {
    color: #00ff88;
}

.live-program-main {
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
}

.live-program-avatar {
    position: relative;
}

.live-program-image {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.live-program-avatar:hover .live-program-image {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.live-program-details {
    min-width: 0;
    flex: 1;
}

.live-program-title {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.live-program-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .live-program-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }
}

.live-program-host {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.live-program-host i {
    color: var(--primary-blue);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.host-label {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 4px;
}

.host-name {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
}

.live-program-schedule {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.live-program-schedule i {
    color: var(--primary-blue);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.schedule-label {
    color: #1565c0;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 4px;
}

.schedule-time {
    color: #0d47a1;
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
}

.live-program-description {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 10px;
    border-left: 4px solid #ff9800;
}

.live-program-description i {
    color: #ff9800;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.live-program-description span {
    font-style: italic;
    color: #5d4037;
    font-weight: 500;
}

.live-program-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.live-now-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.live-now-btn:hover {
    background: #0f3d8c;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
    text-decoration: none;
}

.live-now-btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.live-now-btn i {
    font-size: 1.1rem;
}

.live-share-buttons {
    display: flex;
        flex-direction: column;
    gap: 8px;
    align-items: center;
}

.live-share-title {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.live-share-icons {
    display: flex;
    gap: 8px;
}

.live-share-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    display: flex;
        align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.live-share-btn[title*="Facebook"] { 
    background: #3b5998; 
}
.live-share-btn[title*="Twitter"] { 
    background: #1da1f2; 
}
.live-share-btn[title*="WhatsApp"] { 
    background: #25d366; 
}

.live-share-btn:hover {
    transform: translateY(-2px) scale(1.05);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.live-program-progress-section {
    background: #f8f9fa;
    margin: 0;
    padding: 15px 20px;
    border-top: 1px solid #e9ecef;
}

.live-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.live-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #2d6bd4 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.live-progress-time-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 992px) {
    .live-program-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .live-program-actions {
        order: -1;
    }
    
    .live-program-header {
        padding: 10px 15px;
    }
    
    .live-program-main {
        padding: 15px;
    }
    
    .live-program-progress-section {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .live-program-container {
        border-radius: 12px;
    }
    
    .live-program-content {
        border-radius: 10px;
    }
    
    .live-program-image {
        width: 70px;
        height: 70px;
        border-radius: 10px;
    }
    
    .live-program-title {
        font-size: 1.2rem;
    }
    
    .live-now-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .live-program-info-grid {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .live-program-host,
    .live-program-schedule {
        padding: 8px 10px;
    }
    
    .host-label,
    .schedule-label {
        font-size: 0.8rem;
    }
    
    .host-name,
    .schedule-time {
        font-size: 0.9rem;
    }
    
    .live-program-description {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .live-progress-time-labels {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .live-program-header {
        padding: 10px 15px;
    }
    
    .live-program-main {
        padding: 15px;
    }
    
    .live-program-progress-section {
        padding: 12px 15px;
    }
    
    .live-program-image {
        width: 60px;
        height: 60px;
    }
    
    .live-program-title {
        font-size: 1.1rem;
    }
    
    .live-share-buttons {
        display: none;
    }
    
    .live-status-text {
        font-size: 0.8rem;
        letter-spacing: 0.5px;
    }
    
    .live-program-info-grid {
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .live-program-host,
    .live-program-schedule {
        padding: 6px 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .live-program-host i,
    .live-program-schedule i {
        width: auto;
    }
    
    .host-label,
    .schedule-label {
        font-size: 0.75rem;
    }
    
    .host-name,
    .schedule-time {
        font-size: 0.85rem;
    }
    
    .live-program-description {
        padding: 8px 10px;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 6px;
    }
    
    .live-progress-time-labels {
        font-size: 0.7rem;
        text-align: center;
    }
}

/* ===== CONTENIDO PRINCIPAL ===== */
.main-content {
    padding: 0;
    min-height: calc(100vh - var(--header-height));
}

/* Espaciado mínimo para móviles */
@media (max-width: 991.98px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .row > * {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* ===== CARDS Y COMPONENTES ===== */
.card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition-normal);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-family: var(--font-family-headings);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-text {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ===== BOTONES ===== */
.btn {
    font-family: var(--font-family);
    border-radius: 8px;
    font-weight: var(--font-weight-medium);
    padding: 0.75rem 1.5rem;
    transition: var(--transition-normal);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: var(--white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline-primary:hover {
    background: var(--gradient-tertiary);
    color: var(--white);
    border-color: var(--harmonic-purple);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
}

.btn-secondary:hover {
    background: var(--gradient-tertiary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-purple {
    background: var(--gradient-tertiary);
    color: var(--white);
    border: none;
}

.btn-purple:hover {
    background: var(--harmonic-purple-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ===== PAGINACIÓN ===== */
.pagination .page-item .page-link {
    border: none;
    color: var(--gray-600);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: var(--white);
}

.pagination .page-item .page-link:hover {
    background: var(--gray-200);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* ===== PROGRAMACIÓN ===== */
.schedule-nav .nav-link {
    color: var(--gray-600);
    font-weight: var(--font-weight-medium);
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 1rem 1.5rem;
    transition: var(--transition-normal);
}

.schedule-nav .nav-link.active {
    color: var(--primary-blue);
    background-color: transparent;
    border-bottom-color: var(--primary-blue);
}

.schedule-nav .nav-link:hover {
    color: var(--harmonic-purple);
    border-bottom-color: var(--secondary-celeste);
}

.program-row {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-normal);
    background: var(--white);
}

.program-row:last-child {
    border-bottom: 0;
}

.program-row.is-live {
    background: linear-gradient(135deg, rgba(22, 83, 192, 0.1), rgba(0, 204, 255, 0.1));
    border-left: 5px solid var(--primary-blue);
}

.program-row:hover {
    background: var(--gray-100);
    transform: translateX(5px);
}

.program-time {
    flex: 0 0 120px;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.program-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 1.5rem;
    border: 3px solid var(--white);
    box-shadow: var(--shadow);
}

.program-details h5 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--gray-800);
}

.program-details p {
    margin-bottom: 0;
    color: var(--gray-600);
    font-weight: var(--font-weight-medium);
}

.live-badge {
    font-size: 0.8rem;
    font-weight: var(--font-weight-bold);
    padding: 0.5rem 1rem;
    background: #dc3545;
    color: var(--white);
    border-radius: 20px;
    animation: pulse-live 1.5s infinite;
}

/* ===== ANIMACIONES ===== */
@keyframes pulse-glow {
    0% { 
        box-shadow: 0 0 5px rgba(22, 83, 192, 0.5); 
    }
    33% { 
        box-shadow: 0 0 15px rgba(0, 204, 255, 0.7); 
    }
    66% { 
        box-shadow: 0 0 20px rgba(123, 91, 224, 0.6); 
    }
    100% { 
        box-shadow: 0 0 5px rgba(22, 83, 192, 0.5); 
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes pulse-live {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1199.98px) and (min-width: 1000px) {
    .search-input {
        width: 180px;
    }
    
    .menu-link {
        padding: 0.75rem 0.75rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 1399.98px) and (min-width: 992px) {
    .search-input {
        width: 160px;
    }
    
    /* Mantener texto del menú visible pero más compacto */
    .menu-link span {
        display: inline;
        font-size: 0.9rem;
    }
    
    .menu-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Botón EN VIVO más compacto para esta resolución */
    .live-tv-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
        gap: 0.4rem;
    }
}



@media (max-width: 767.98px) {
    .main-logo {
        width: 150px;
        max-height: 90px;
    }
    
    .logo-section {
        padding: 1rem 0;
    }
    
    .main-content {
        padding: 1.5rem 0.5rem;
    }
    
    .program-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .program-time {
        flex: none;
    }
    
    .program-img {
        margin-right: 0;
    }
    
    /* Contenedores con espaciado lateral mínimo */
    .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .main-logo {
        width: 120px;
        max-height: 70px;
    }
    
    .logo-section {
        padding: 0.75rem 0;
    }
    
    .main-content {
        padding: 1rem 0.5rem;
    }
    
    /* Espaciado mínimo para móviles pequeños */
    .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .container-fluid {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* ===== TIPOGRAFÍA ESPECIAL ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.025em;
}

h1 {
    font-weight: var(--font-weight-bold);
    font-size: 2.5rem;
}

h2 {
    font-weight: var(--font-weight-bold);
    font-size: 2rem;
}

h3 {
    font-weight: var(--font-weight-semibold);
    font-size: 1.75rem;
}

h4 {
    font-weight: var(--font-weight-semibold);
    font-size: 1.5rem;
}

h5 {
    font-weight: var(--font-weight-medium);
    font-size: 1.25rem;
}

h6 {
    font-weight: var(--font-weight-medium);
        font-size: 1.1rem;
    }

.font-display {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.025em;
}

.font-body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
}

/* ===== UTILIDADES ===== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-tertiary {
    background: var(--gradient-tertiary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-full {
    background: var(--gradient-full);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.bg-gradient-tertiary {
    background: var(--gradient-tertiary);
}

.bg-gradient-full {
    background: var(--gradient-full);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

/* Colores individuales */
.text-primary-blue { color: var(--primary-blue); }
.text-secondary-celeste { color: var(--secondary-celeste); }
.text-harmonic-purple { color: var(--harmonic-purple); }

.bg-primary-blue { background-color: var(--primary-blue); }
.bg-secondary-celeste { background-color: var(--secondary-celeste); }
.bg-harmonic-purple { background-color: var(--harmonic-purple); }

/* Bordes con colores */
.border-primary-blue { border-color: var(--primary-blue); }
.border-secondary-celeste { border-color: var(--secondary-celeste); }
.border-harmonic-purple { border-color: var(--harmonic-purple); }

/* ===== WMB PUBLICOSTADOS (Banners Laterales) ===== */
.wmb-side-banner-left,
.wmb-side-banner-right {
    position: fixed !important;
    top: calc(var(--nav-height) + 3rem);
    width: 120px;
    z-index: 500;
    pointer-events: auto;
    /* Asegurar independencia total del contenido */
    isolation: isolate;
    /* Sin transición para evitar saltos */
}



.wmb-side-banner-left {
    right: calc(50vw + 500px);
}

.wmb-side-banner-right {
    left: calc(50vw + 500px);
}

/* Para pantallas más grandes */
@media (min-width: 1400px) {
    .wmb-side-banner-left {
        right: calc(50vw + 590px);
    }
    
    .wmb-side-banner-right {
        left: calc(50vw + 590px);
    }
}

.wmb-side-banner-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.wmb-side-banner-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Asegurar que el carousel no afecte a los banners laterales */
.wmb-main-carousel {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

/* Responsive: Ocultar banners laterales en pantallas pequeñas */
@media (max-width: 1399.98px) {
    .wmb-side-banner-left,
    .wmb-side-banner-right {
        display: none !important;
    }
}



/* ===== TURBOLINKS ===== */
.turbolinks-progress-bar {
    height: 3px;
    background: var(--gradient-primary);
}

/* ========================================================================
   ESTILOS ESPECÍFICOS PARA PÁGINA DE INICIO (HOME)
   Estilos organizados y centralizados desde views/home/index.php
   ======================================================================== */

/* === SECCIÓN DE CHAT PROMOCIONAL === */
.chat-promo-card {
    background: linear-gradient(135deg, var(--primary-blue), #3157b8);
    color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    height: 100%;
}

.chat-promo-card .promo-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.chat-promo-card h3 {
    font-weight: 700;
}

.chat-promo-card .btn-light {
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

/* === BARRA "EN VIVO" === */
.on-air-bar {
    background-color: var(--primary-blue);
}

/* === ESTILOS GENERALES DE SECCIÓN === */
.home-section-title {
    font-weight: 700;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.home-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-blue);
}

/* === CAROUSEL PRINCIPAL === */
.home-carousel {
    border-radius: 12px !important;
    overflow: hidden !important;
}

.home-carousel .carousel-inner {
    border-radius: 12px !important;
}

.home-carousel .carousel-item {
    border-radius: 12px !important;
}

.home-carousel .carousel-item img {
    border-radius: 0 !important;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    /* Optimizaciones para máxima calidad visual */
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Responsive para el carousel */
@media (max-width: 992px) {
    .home-carousel .carousel-item img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .home-carousel .carousel-item img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .home-carousel .carousel-item img {
        height: 250px;
    }
}

/* ===== OPTIMIZACIONES PARA PANTALLAS DE ALTA DENSIDAD ===== */
@media (-webkit-min-device-pixel-ratio: 2), 
       (min-resolution: 192dpi) {
    .home-carousel .carousel-item img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: high-quality;
    }
}

/* === NOTICIAS PROFESIONALES TV STYLE === */
.news-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

/* === NOTAS SOBRE UNIFICACIÓN === */
/* Los estilos de .news-main-title y .news-title-underline 
   ahora están unificados arriba en la sección de títulos.
   
   TODOS los títulos principales ahora tienen:
   - Mismo gradiente de color (azul a celeste)
   - Mismo tamaño y peso de fuente
   - Misma tipografía y espaciado
   - Mismas líneas decorativas
   
   Esto crea una identidad visual consistente en todo el sitio. */

.btn-more-news {
    background: #e8202e;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.btn-more-news:hover {
    background: #d01527;
    color: white;
    text-decoration: none;
}

/* Grid de noticias responsivo - 3 columnas */
.news-grid-3x4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.news-card-professional {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-normal);
}

.news-card-professional:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

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

.news-card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: #333;
    flex: 1;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-card-title a:hover {
    color: var(--primary-blue);
}

.news-card-meta {
    margin-bottom: 8px;
}

.news-date {
    color: var(--primary-blue);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Badges de categorías de noticias - Diseño discreto */
.news-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    z-index: 10;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card-professional:hover .news-badge {
    opacity: 1;
    transform: scale(1.05);
}

/* 
 * Estilos de categorías dinámicos:
 * Los colores ahora se obtienen desde la base de datos
 * y se aplican directamente con estilos inline
 */

.news-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.news-empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ddd;
}

/* === REDES SOCIALES ELEGANTES === */
.social-card {
    display: flex;
    align-items: center;
    padding: 24px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 100px;
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.social-card:hover::before {
    transform: scaleX(1);
}

.social-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-icon i {
    font-size: 28px;
    color: white;
    transition: all 0.3s ease;
}

.social-content {
    flex: 1;
    min-width: 0;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #2c3e50;
    font-family: var(--font-family-headings);
}

.social-subtitle {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin: 0;
    font-weight: 500;
}

.social-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-arrow i {
    font-size: 16px;
    color: #6c757d;
    transition: all 0.3s ease;
}

.social-card:hover .social-arrow {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.social-card:hover .social-arrow i {
    color: white;
    transform: translateX(2px);
}

.social-card:hover .social-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Colores específicos por red social */
.social-card.facebook .social-icon {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-card.tiktok .social-icon {
    background: linear-gradient(135deg, #000000, #333333);
}

.social-card.youtube .social-icon {
    background: linear-gradient(135deg, #ff0000, #ff5722);
}

.social-card.twitter .social-icon {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

/* Efectos de hover específicos por red */
.social-card.facebook:hover {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.03), rgba(66, 165, 245, 0.03));
}

.social-card.tiktok:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03), rgba(51, 51, 51, 0.03));
}

.social-card.youtube:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.03), rgba(255, 87, 34, 0.03));
}

.social-card.twitter:hover {
    background: linear-gradient(135deg, rgba(29, 161, 242, 0.03), rgba(66, 165, 245, 0.03));
}

/* === SECCIÓN DE CHAT PREMIUM === */
.chat-section {
    position: relative;
    padding: 80px 0;
    background: var(--gradient-primary);
    overflow: hidden;
}

.chat-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 100px 100px, 80px 80px, 60px 60px;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.chat-section-header {
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.chat-icon-pulse {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 2s infinite;
}

.chat-icon-pulse i {
    font-size: 22px;
    color: white;
}

.chat-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    font-family: var(--font-family-headings);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.chat-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
    margin: 0;
}

.chat-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.chat-feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.chat-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.chat-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-feature-icon.users {
    background: linear-gradient(135deg, #2196F3, #42A5F5);
}

.chat-feature-icon.clock {
    background: linear-gradient(135deg, #2196F3, #03A9F4);
}

.chat-feature-icon.live {
    background: linear-gradient(135deg, #FF5722, #FF9800);
}

.chat-feature-icon.secure {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
}

.chat-feature-icon i {
    font-size: 20px;
    color: white;
}

.chat-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #2c3e50;
}

.chat-feature-desc {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin: 0;
}

.chat-cta-wrapper {
    text-align: center;
}

.chat-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: white;
    color: var(--primary-blue);
    padding: 20px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.chat-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.5);
}

.chat-cta-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.chat-cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chat-cta-text strong {
    font-size: 1.2rem;
    line-height: 1.2;
}

.chat-cta-text small {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 400;
}

.chat-cta-arrow {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chat-cta-button:hover .chat-cta-arrow {
    background: var(--primary-blue);
    color: white;
    transform: translateX(4px);
}

/* Mockup del chat */
.chat-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

.chat-mockup-header {
    background: #2c3e50;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.chat-mockup-controls {
    display: flex;
    gap: 8px;
}

.chat-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.chat-control.red { background: #ff5f57; }
.chat-control.yellow { background: #ffbd2e; }
.chat-control.green { background: #28ca42; }

.chat-mockup-title {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chat-mockup-title:hover {
    color: var(--secondary-celeste) !important;
    text-decoration: none !important;
    transform: scale(1.05);
}

.chat-mockup-status {
    color: #bdc3c7;
    font-size: 0.8rem;
    white-space: nowrap;
}

.chat-mockup-messages {
    padding: 16px;
    min-height: 200px; /* Altura mínima para mantener proporción */
    background: #f8f9fa;
    /* Removido height fijo y overflow para que se expanda automáticamente */
}

.chat-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    animation: fadeInUp 0.5s ease;
}

.chat-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.chat-message-content {
    flex: 1;
    min-width: 0;
}

.chat-user-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.chat-typing .chat-typing-content {
    flex: 1;
}

.chat-typing-indicator {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    gap: 4px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chat-typing-indicator span {
    width: 8px;
    height: 8px;
    background: #bdc3c7;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.chat-typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        background: #bdc3c7;
    }
    30% {
        transform: translateY(-10px);
        background: var(--primary-blue);
    }
}

.chat-mockup-input {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-input-placeholder {
    flex: 1;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    color: #7f8c8d;
    font-size: 0.9rem;
    border: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.chat-input-placeholder:hover {
    background: #e9ecef;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    text-decoration: none !important;
}

.chat-input-placeholder:active {
    transform: scale(0.98);
    background: #dee2e6;
}

.chat-input-emoji {
    width: 36px;
    height: 36px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.chat-input-emoji:hover {
    background: #e9ecef;
    transform: scale(1.1);
    text-decoration: none !important;
}

.chat-input-send {
    width: 36px;
    height: 36px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.chat-input-send:hover {
    background: var(--secondary-celeste);
    transform: scale(1.05);
    color: white !important;
    text-decoration: none !important;
}

.chat-input-send:active {
    transform: scale(0.95);
}

/* === MEJORAS DE INTERACCIÓN DEL CHAT MOCKUP === */
/* Todos los elementos del chat mockup son clickeables y redirigen al chat real */
.chat-input-emoji:active {
    transform: scale(0.9);
}

.chat-mockup-title:active {
    transform: scale(1.02);
}

.chat-empty-state {
    text-align: center;
    padding: 30px 20px 20px;
    color: #7f8c8d;
}

.chat-empty-icon {
    margin-bottom: 16px;
}

.chat-empty-icon i {
    font-size: 2.5rem;
    color: #bdc3c7;
}

.chat-empty-text p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #5a6c7d;
}

.chat-empty-text small {
    font-size: 0.85rem;
    color: #95a5a6;
}

/* === TÍTULOS DE SECCIÓN UNIFICADOS === */
/* Diseño limpio, moderno y consistente para todos los títulos */

.home-section-primary-title,
.home-section-secondary-title, 
.home-section-tertiary-title,
.news-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50 !important;
    margin: 0;
    font-family: var(--font-family-headings);
    letter-spacing: -0.025em;
    line-height: 1.2;
    /* Sobreescribir cualquier gradiente aplicado por otras clases */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

/* Botón Ver más videos - mismo estilo que noticias */
.btn-more-videos {
    background: var(--harmonic-purple);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.btn-more-videos:hover {
    background: #6c5ce7;
    color: white;
    text-decoration: none;
}

/* === MEJORAS PARA VIDEOS - COLORES Y POSICIONAMIENTO === */

/* Color de selección armónico con el sitio */
.home-video-section ::selection {
    background: rgba(22, 83, 192, 0.2); /* Azul principal con transparencia */
    color: var(--primary-blue-dark);
}

.home-video-section ::-moz-selection {
    background: rgba(22, 83, 192, 0.2);
    color: var(--primary-blue-dark);
}

/* Color de selección global mejorado (opcional para futuro) */
::selection {
    background: rgba(22, 83, 192, 0.15);
    color: var(--primary-blue-dark);
}

::-moz-selection {
    background: rgba(22, 83, 192, 0.15);
    color: var(--primary-blue-dark);
}

/* Card de video con layout mejorado */
.home-video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-video-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.home-video-title {
    color: #2c3e50; /* Gris oscuro armónico */
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.6em; /* Asegura espacio para 2 líneas */
    flex: 1; /* Ocupa el espacio disponible */
}

.home-video-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home-video-title a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.home-video-meta {
    margin-top: auto; /* Empuja la fecha hacia abajo */
    padding-top: 0.5rem;
    border-top: 1px solid #f8f9fa;
}

.home-video-date {
    color: #7f8c8d;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.home-video-date i {
    color: var(--secondary-celeste);
    font-size: 0.75rem;
}

/* === LÍNEAS DECORATIVAS UNIFICADAS === */
/* Diseño limpio y moderno para todas las secciones */

.home-section-underline-primary,
.home-section-underline-secondary,
.home-section-underline-tertiary,
.news-title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-celeste));
    margin-top: 8px;
    border-radius: 2px;
    opacity: 0.9;
}

.home-video-card-img {
    height: 180px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.home-video-play-button {
    width: 60px;
    height: 60px;
    opacity: 0.9;
}

.home-section-underline-wide {
    width: 120px;
    height: 4px;
    background: var(--gradient-full);
    margin-top: 15px;
    border-radius: 2px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1199.98px) {
    .news-grid-3x4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .news-card-image {
        height: 220px;
    }
    
    .news-card-content {
        padding: 18px;
    }
    
    .news-card-title {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .chat-section {
        padding: 60px 0;
    }
    
    .chat-main-title {
        font-size: 2rem;
    }
    
    .chat-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .chat-mockup {
        margin-top: 40px;
    }
    
    /* Chat mockup responsive */
    .chat-mockup-messages {
        min-height: 150px; /* Menor altura mínima en tablet */
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .social-card {
        padding: 20px 16px;
        margin: 0 0.5rem 16px 0.5rem;
        min-height: 90px;
    }
    
    /* Videos responsive - tablet */
    .home-video-title {
        font-size: 0.95rem; /* Ligeramente más grande en tablet */
        min-height: 2.8em;
    }
    
    .home-video-date {
        font-size: 0.85rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        margin-right: 14px;
    }
    
    .social-icon i {
        font-size: 24px;
    }
    
    .social-title {
        font-size: 1rem;
    }
    
    .social-subtitle {
        font-size: 0.8rem;
    }
    
    .social-arrow {
        width: 36px;
        height: 36px;
    }
    
    .social-arrow i {
        font-size: 14px;
    }
    
    .chat-feature-card {
        padding: 20px;
        gap: 12px;
    }
    
    .chat-feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-grid-3x4 {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 0.5rem;
    }
    
    /* Títulos responsive unificados */
    .home-section-primary-title,
    .home-section-secondary-title, 
    .home-section-tertiary-title,
    .news-main-title {
        font-size: 1.8rem;
        padding: 0 0.5rem;
        /* Mantiene el gradiente en tablet */
    }
    
    /* Carousel con espaciado lateral mínimo en tablets */
    .home-carousel {
        margin: 0 0.5rem;
        border-radius: 8px !important;
    }
    
    /* Chat section con espaciado mínimo */
    .chat-section {
        padding: 2rem 0.5rem;
    }
    
    .news-card-image {
        height: 200px;
    }
    
    .news-card-content {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .social-card {
        padding: 18px 14px;
        margin: 0 0.5rem 16px 0.5rem;
        min-height: 80px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .social-icon i {
        font-size: 22px;
    }
    
    .social-title {
        font-size: 0.95rem;
    }
    
    .social-subtitle {
        font-size: 0.75rem;
    }
    
    .chat-main-title {
        font-size: 1.8rem;
    }
    
    .chat-feature-card {
        padding: 16px;
        gap: 10px;
    }
    
    .chat-feature-icon {
        width: 45px;
        height: 45px;
    }
    
    .chat-feature-title {
        font-size: 1rem;
    }
    
    .chat-feature-desc {
        font-size: 0.85rem;
    }
    
    .chat-cta-button {
        padding: 14px 20px;
        gap: 12px;
    }
    
    .chat-mockup {
        max-width: 100%;
        margin: 20px 0 0 0;
    }
    
    /* Chat mockup responsive móvil */
    .chat-mockup-messages {
        min-height: 120px; /* Menor altura mínima en móvil */
        padding: 12px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card-content {
        padding: 14px;
    }
    
    .news-card-title {
        font-size: 0.9rem;
    }
    
    .news-date {
        font-size: 0.75rem;
    }
    
    /* Videos responsive - móvil */
    .home-video-title {
        font-size: 1rem; /* Más grande en móvil para mejor legibilidad */
        min-height: 3em;
    }
    
    .home-video-date {
        font-size: 0.9rem;
    }
    
    .home-video-content {
        padding: 1.25rem; /* Más padding en móvil */
    }
    
    .home-video-meta {
        padding-top: 0.75rem;
    }
    
    /* Títulos responsive móvil */
    .home-section-primary-title,
    .home-section-secondary-title, 
    .home-section-tertiary-title,
    .news-main-title {
        font-size: 1.6rem;
        padding: 0 0.5rem;
        /* Mantiene el gradiente en móvil */
    }
    
    /* Carousel con espaciado mínimo en móviles */
    .home-carousel {
        margin: 0 0.5rem;
        border-radius: 6px !important;
    }
    
    /* Chat section con espaciado mínimo móvil */
    .chat-section {
        padding: 1.5rem 0.5rem;
    }
    
    /* Grid de noticias con espaciado mínimo móvil */
    .news-grid-3x4 {
        padding: 0 0.5rem;
    }
    
    /* Líneas decorativas responsive */
    .home-section-underline-primary,
    .home-section-underline-secondary,
    .home-section-underline-tertiary,
    .news-title-underline {
        width: 60px;
        height: 2px;
    }
}

/* ======================================================================
   WMB PÁGINA DE NOTICIAS PROFESIONAL - DISEÑO TELEVISIVO
   ====================================================================== */

/* === HEADER DE NOTICIAS PROFESIONAL === */
.wmb-news-hero {
    background: var(--gradient-full);
    padding: 4rem 0 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.wmb-news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    animation: wmb-news-pattern-float 20s ease-in-out infinite;
}

@keyframes wmb-news-pattern-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -20px) rotate(120deg); }
    66% { transform: translate(-15px, 15px) rotate(240deg); }
}

.wmb-news-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.wmb-news-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--font-family-headings);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.wmb-news-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 400;
    margin-bottom: 2rem;
}

.wmb-news-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.wmb-news-stat {
    text-align: center;
}

.wmb-news-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.wmb-news-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === BARRA DE BÚSQUEDA Y FILTROS === */
.wmb-news-search-bar {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    margin: -2rem auto 3rem;
    max-width: 800px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
    border: 1px solid rgba(22, 83, 192, 0.1);
}

.wmb-news-search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.wmb-news-search-input {
    flex: 1;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-50);
    transition: all 0.3s ease;
}

.wmb-news-search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(22, 83, 192, 0.25);
}

.wmb-news-search-input::placeholder {
    color: var(--gray-500);
}

.wmb-news-search-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wmb-news-search-btn:hover {
    background: var(--gradient-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 83, 192, 0.3);
}

.wmb-news-search-btn i {
    margin-right: 0.5rem;
}

/* === GRID DE NOTICIAS PROFESIONAL === */
.wmb-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* === CARDS DE NOTICIAS TELEVISIVOS === */
.wmb-news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wmb-news-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(22, 83, 192, 0.2);
}

.wmb-news-card-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--gray-100);
}

.wmb-news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.wmb-news-card:hover .wmb-news-card-image {
    transform: scale(1.08);
}

.wmb-news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wmb-news-card:hover .wmb-news-card-overlay {
    opacity: 1;
}

.wmb-news-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.wmb-news-card-date {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.wmb-news-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wmb-news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--gray-900);
    font-family: var(--font-family-headings);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 3.2em;
}

.wmb-news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wmb-news-card-title a:hover {
    color: var(--primary-blue);
}

.wmb-news-card-excerpt {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmb-news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
    margin-top: auto;
}

.wmb-news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.9rem;
}

.wmb-news-card-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wmb-news-card-views i {
    color: var(--secondary-celeste);
}

.wmb-news-card-read-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wmb-news-card-read-btn:hover {
    background: var(--gradient-tertiary);
    color: white;
    text-decoration: none;
    transform: translateX(3px);
}

.wmb-news-card-read-btn i {
    transition: transform 0.3s ease;
}

.wmb-news-card-read-btn:hover i {
    transform: translateX(3px);
}

/* === SOCIAL SHARE DENTRO DE LAS CARDS === */
.wmb-news-card-social {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wmb-news-social-btn {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.wmb-news-social-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.wmb-news-social-btn.facebook { background: #3b5998; }
.wmb-news-social-btn.twitter { background: #1da1f2; }
.wmb-news-social-btn.whatsapp { background: #25d366; }

.wmb-news-social-btn.facebook:hover { background: #2d4373; }
.wmb-news-social-btn.twitter:hover { background: #1a91da; }
.wmb-news-social-btn.whatsapp:hover { background: #1ebe57; }

/* === RESULTADO DE BÚSQUEDA === */
.wmb-news-search-result {
    background: rgba(22, 83, 192, 0.05);
    border-left: 4px solid var(--primary-blue);
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 2rem;
}

.wmb-news-search-result-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wmb-news-search-result-query {
    color: var(--harmonic-purple);
    font-weight: 700;
}

/* === PAGINACIÓN PROFESIONAL === */
.wmb-news-pagination {
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.wmb-news-pagination .pagination {
    justify-content: center;
    gap: 0.5rem;
}

.wmb-news-pagination .page-item .page-link {
    border: none;
    color: var(--gray-600);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--gray-100);
}

.wmb-news-pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(22, 83, 192, 0.3);
}

.wmb-news-pagination .page-item .page-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 83, 192, 0.2);
}

/* Paginación también funciona con clases estándar */
.pagination .page-item .page-link {
    border: none;
    color: var(--gray-600);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: var(--transition-normal);
    background: var(--gray-100);
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(22, 83, 192, 0.3);
}

.pagination .page-item .page-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 83, 192, 0.2);
}

/* === ESTADO VACÍO === */
.wmb-news-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: 20px;
    margin: 2rem 0;
}

.wmb-news-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.wmb-news-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.wmb-news-empty-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.wmb-news-empty-btn {
    background: var(--gradient-secondary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wmb-news-empty-btn:hover {
    background: var(--gradient-tertiary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* === EFECTOS Y OPTIMIZACIONES ADICIONALES === */
.wmb-news-card-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(22, 83, 192, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.wmb-news-card:hover .wmb-news-card-image-container::after {
    opacity: 1;
}

/* Loading skeleton para imágenes */
.wmb-news-card-image-loading {
    background: linear-gradient(90deg, 
        var(--gray-200) 25%, 
        var(--gray-100) 50%, 
        var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: wmb-loading-shimmer 1.5s infinite;
}

@keyframes wmb-loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Mejoras para accesibilidad */
.wmb-news-card:focus-within {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
    transform: translateY(-4px);
}

.wmb-news-search-input:focus,
.wmb-news-search-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Mejora para textos largos */
.wmb-news-card-title {
    word-wrap: break-word;
    hyphens: auto;
}

.wmb-news-card-excerpt {
    word-wrap: break-word;
}

/* Animación mejorada para botones sociales */
.wmb-news-social-btn {
    position: relative;
    overflow: hidden;
}

.wmb-news-social-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.wmb-news-social-btn:hover::before {
    width: 100%;
    height: 100%;
}

/* Optimización para impresión */
@media print {
    .wmb-news-hero,
    .wmb-news-search-bar,
    .wmb-news-card-social,
    .wmb-news-pagination {
        display: none !important;
    }
    
    .wmb-news-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .wmb-news-card-image {
        filter: grayscale(100%);
    }
}

/* Mejoras para dispositivos de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .wmb-news-card-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: high-quality;
    }
}

/* === ESTILOS COMPLEMENTARIOS PARA PÁGINA DE NOTICIAS === */
.wmb-news-card-excerpt {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmb-news-card-views {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 500;
}

.wmb-news-card-views i {
    color: var(--secondary-celeste);
    font-size: 0.9rem;
}

.wmb-news-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.wmb-news-card-social {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.wmb-news-card-read-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.wmb-news-card-read-btn:hover {
    background: var(--gradient-tertiary);
    color: white;
    text-decoration: none;
    transform: translateX(2px);
}

.wmb-news-card-read-btn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.wmb-news-card-read-btn:hover i {
    transform: translateX(2px);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .wmb-news-hero-title {
        font-size: 2.5rem;
    }
    
    .wmb-news-hero-stats {
        gap: 2rem;
    }
    
    .wmb-news-stat-number {
        font-size: 2rem;
    }
    
    .wmb-news-search-form {
        flex-direction: column;
    }
    
    .wmb-news-search-btn {
        width: 100%;
        justify-content: center;
    }
    
    .wmb-news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .wmb-news-card-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .wmb-news-card-read-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .wmb-news-hero {
        padding: 3rem 0 1.5rem;
    }
    
    .wmb-news-hero-title {
        font-size: 2rem;
    }
    
    .wmb-news-hero-subtitle {
        font-size: 1rem;
    }
    
    .wmb-news-hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .wmb-news-search-bar {
        margin: -1rem 1rem 2rem;
        padding: 1rem;
    }
    
    .wmb-news-card-content {
        padding: 1rem;
    }
    
    .wmb-news-card-title {
        font-size: 1.1rem;
    }
    
    .wmb-news-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .wmb-news-card-read-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .wmb-news-hero {
        padding: 2rem 0 1rem;
    }
    
    .wmb-news-hero-title {
        font-size: 1.8rem;
    }
    
    .wmb-news-search-bar {
        margin: -0.5rem 0.5rem 1.5rem;
        padding: 0.75rem;
    }
    
    .wmb-news-search-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .wmb-news-search-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .wmb-news-card-image-container {
        height: 180px;
    }
    
    .wmb-news-card-social {
        justify-content: center;
    }
}

/* ======================================================================
   WMB VISTA INDIVIDUAL DE NOTICIA - LAYOUT 2 COLUMNAS
   ====================================================================== */

/* === IMAGEN PRINCIPAL === */
.wmb-news-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* === TÍTULO Y METADATOS === */
.wmb-news-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    font-family: var(--font-family-headings);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.wmb-news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.wmb-meta-item {
    display: flex;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
}

.wmb-meta-item i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

/* === CONTENIDO DE LA NOTICIA === */
.wmb-news-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-800);
}

.wmb-news-detail-content p {
    margin-bottom: 1.5rem;
}

.wmb-news-detail-content h2,
.wmb-news-detail-content h3,
.wmb-news-detail-content h4 {
    color: var(--gray-900);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.wmb-news-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* === BOTONES DE COMPARTIR === */
.wmb-news-detail-share {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.wmb-news-detail-share h5 {
    color: var(--gray-800);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.wmb-share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.wmb-share-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    color: white;
    border: none;
}

.wmb-share-facebook {
    background: #3b5998;
}

.wmb-share-twitter {
    background: #1da1f2;
}

.wmb-share-whatsapp {
    background: #25d366;
}

.wmb-share-btn:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.wmb-share-facebook:hover { background: #2d4373; }
.wmb-share-twitter:hover { background: #1a91da; }
.wmb-share-whatsapp:hover { background: #1ebe57; }

/* === NAVEGACIÓN ANTERIOR/SIGUIENTE === */
.wmb-news-navigation {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
}

.wmb-nav-btn {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
}

.wmb-nav-btn:hover {
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

.wmb-nav-center {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-blue);
}

.wmb-nav-center:hover {
    background: var(--gradient-tertiary);
}

.wmb-nav-disabled {
    background: var(--gray-200);
    color: var(--gray-500);
    cursor: not-allowed;
    opacity: 0.6;
}

/* === SIDEBAR === */
.wmb-news-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 2rem); /* Respeta la altura del menú + espaciado */
}

.wmb-sidebar-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: none !important;
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.wmb-sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-blue);
    font-family: var(--font-family-headings);
}

.wmb-sidebar-title i {
    color: var(--primary-blue);
}

/* === NOTICIAS RELACIONADAS === */
.wmb-related-news {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wmb-related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.wmb-related-item:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: none !important;
    border-color: var(--primary-blue);
}

.wmb-related-image {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.wmb-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wmb-related-item:hover .wmb-related-image img {
    transform: scale(1.1);
}

.wmb-related-date {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
}

.wmb-related-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wmb-related-title {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-800);
}

.wmb-related-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.wmb-related-title a:hover {
    color: var(--primary-blue);
    text-decoration: none;
}

.wmb-related-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: auto;
}

.wmb-related-meta i {
    color: var(--secondary-celeste);
    font-size: 0.75rem;
}

/* === ESTADO VACÍO SIDEBAR === */
.wmb-sidebar-empty {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--gray-500);
}

.wmb-sidebar-empty i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.wmb-sidebar-empty p {
    margin: 0;
    font-size: 0.9rem;
}

/* === BOTÓN VOLVER === */
.wmb-back-btn {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: none;
}

.wmb-back-btn:hover {
    background: var(--gradient-tertiary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: none !important;
}

 /* === RESPONSIVE DESIGN === */
 @media (max-width: 1199px) {
     .wmb-news-sidebar {
         top: calc(var(--nav-height) + 1rem); /* Menos espaciado en tablets */
     }
 }

 @media (max-width: 992px) {
     .wmb-news-detail-title {
         font-size: 2rem;
     }
    
    .wmb-news-detail-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .wmb-share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .wmb-share-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .wmb-news-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wmb-nav-btn {
        justify-content: center;
    }
    
         .wmb-news-sidebar {
         margin-top: 3rem;
         position: static;
         top: auto;
     }
    
    .wmb-related-item {
        flex-direction: column;
        text-align: center;
    }
    
    .wmb-related-image {
        width: 100%;
        height: 150px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .wmb-news-detail-title {
        font-size: 1.75rem;
    }
    
    .wmb-news-detail-content {
        font-size: 1rem;
    }
    
    .wmb-news-detail-image {
        max-height: 250px;
    }
    
    .wmb-sidebar-section {
        padding: 1rem;
    }
    
    .wmb-related-image {
        height: 120px;
    }
    
    .wmb-related-title {
        font-size: 0.85rem;
    }
    
    .wmb-news-detail-meta {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 1rem;
        align-items: center;
    }
    
    .wmb-meta-item {
        display: inline-flex !important;
        align-items: center;
        white-space: nowrap;
    }
}

@media (max-width: 576px) {
    .wmb-news-detail-title {
        font-size: 1.5rem;
    }
    
    .wmb-news-detail-meta {
        padding: 0.75rem;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 0.75rem;
        align-items: center;
        justify-content: flex-start;
    }
    
    .wmb-meta-item {
        font-size: 0.8rem;
        display: inline-flex !important;
        align-items: center;
        white-space: nowrap;
        margin: 0;
        flex-shrink: 0;
    }
    
    .wmb-news-detail-share {
        padding: 1.5rem 1rem;
    }
    
    .wmb-share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .wmb-news-navigation {
        padding: 1rem;
    }
    
    .wmb-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* ======================================================================
   FOOTER PROFESIONAL PARA CANAL DE TV
   ====================================================================== */

.professional-footer {
    background: var(--gradient-full);
    color: #ffffff;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

.professional-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
    opacity: 0.6;
}

/* === SECCIÓN PRINCIPAL DEL FOOTER === */
.footer-main {
    padding: 3rem 0 2rem;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(22, 83, 192, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 204, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* === BRAND SECTION === */
.footer-brand {
    position: relative;
}

.footer-logo {
    width: 96%;
    height: auto;
    margin-bottom: 1rem;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-title {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--secondary-celeste) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #b0c4de;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-signals {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #87ceeb;
}

.signal-item i {
    color: var(--white);
    font-size: 1rem;
}

/* === SECCIONES Y ENLACES === */
.footer-section-title {
    font-family: var(--font-family-headings);
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--white);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-links a::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-5px);
    color: var(--white);
    font-size: 0.6rem;
    opacity: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
    padding-left: 1.2rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}



/* === REDES SOCIALES === */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.social-link i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateX(5px);
}

.social-link.facebook:hover i { color: #3b5998; }
.social-link.youtube:hover i { color: #ff0000; }
.social-link.instagram:hover i { color: #e4405f; }
.social-link.twitter:hover i { color: #1da1f2; }
.social-link.tiktok:hover i { color: #ff0050; }

/* === CONTACTO === */
.footer-contact {
    margin-top: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #b0c4de;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
}

.contact-item i {
    color: var(--white);
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

/* === FOOTER BOTTOM === */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-copyright {
    color: #b0c4de;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-copyright strong {
    color: #ffffff;
    font-weight: 600;
}

.legal-text {
    font-size: 0.8rem !important;
    color: #8fa8c2 !important;
    margin-top: 0.25rem !important;
}

.footer-credits {
    text-align: right;
}

.developer-credit {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    color: #b0c4de;
}

.developer-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.developer-link:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.developer-link i {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991.98px) {
    .footer-main {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-section-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .social-link {
        flex-direction: column;
        text-align: center;
        padding: 0.5rem;
        min-width: 60px;
    }
    
    .social-link span {
        font-size: 0.8rem;
    }
}

 @media (max-width: 767.98px) {
     .footer-main {
         padding: 2rem 0.5rem 1rem;
     }
     
     .footer-bottom {
         padding: 1rem 0.5rem 1rem 0.5rem;
     }
     
     .footer-credits {
         text-align: center;
         margin-top: 1rem;
     }
     
     .footer-copyright {
         text-align: center;
         margin-bottom: 1rem;
     }
     
     .developer-credit {
         text-align: center;
         margin-bottom: 0;
     }
     
     .footer-social {
         justify-content: center;
     }
 }

@media (max-width: 575.98px) {
    .footer-main {
        padding: 1.5rem 0.5rem 1rem;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .social-link {
        min-width: 50px;
        padding: 0.4rem;
    }
    
    .social-link i {
        font-size: 1rem;
    }
    
         .social-link span {
         font-size: 0.7rem;
     }
    }

/* ======================================================================
   WMB PROGRAMACIÓN PROFESIONAL - DISEÑO TELEVISIVO
   ====================================================================== */

/* === HERO SECTION === */
.wmb-schedule-hero {
    background: var(--gradient-full);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.wmb-schedule-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 60px 60px, 40px 40px;
    animation: wmb-schedule-pattern-move 25s ease-in-out infinite;
}

@keyframes wmb-schedule-pattern-move {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(25px, -25px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.wmb-schedule-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.wmb-schedule-icon-section {
    margin-bottom: 1.5rem;
}

.wmb-schedule-icon-pulse {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wmb-schedule-pulse 2.5s infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wmb-schedule-icon-pulse i {
    font-size: 2rem;
    color: white;
}

@keyframes wmb-schedule-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}

.wmb-schedule-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: var(--font-family-headings);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.wmb-schedule-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wmb-schedule-hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.wmb-schedule-stat {
    text-align: center;
}

.wmb-schedule-stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.wmb-schedule-stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.wmb-current-day-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wmb-current-day-indicator i {
    color: var(--secondary-celeste);
    font-size: 1.2rem;
}

/* === CONTENEDOR PRINCIPAL === */
.wmb-schedule-container {
    margin-bottom: 4rem;
}

/* === NAVEGACIÓN DE DÍAS === */
.wmb-schedule-nav-section {
    margin-bottom: 3rem;
}

.wmb-schedule-nav-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2rem;
    font-family: var(--font-family-headings);
}

.wmb-schedule-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.wmb-schedule-nav-link {
    position: relative;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: 15px;
    padding: 1rem 1.5rem;
    color: var(--gray-700);
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 140px;
    text-align: center;
}

.wmb-schedule-nav-link:hover {
    background: var(--gray-100);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 83, 192, 0.15);
}

.wmb-schedule-nav-link.active {
    background: var(--gradient-primary);
    border-color: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(22, 83, 192, 0.3);
}

.wmb-day-tab-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.wmb-day-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.wmb-day-programs-count {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.wmb-day-current-indicator {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4757;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    animation: wmb-current-day-blink 2s infinite;
}

.wmb-day-current-indicator i {
    font-size: 0.6rem;
    animation: wmb-day-pulse 1.5s infinite;
}

@keyframes wmb-current-day-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes wmb-day-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* === HEADER DEL DÍA === */
.wmb-schedule-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
}

.wmb-schedule-day-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
    font-family: var(--font-family-headings);
}

.wmb-schedule-day-subtitle {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.wmb-live-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ff4757;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    animation: wmb-live-glow 2s infinite;
}

.wmb-live-pulse {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: wmb-live-pulse-dot 1.5s infinite;
}

@keyframes wmb-live-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(255, 71, 87, 0.5); }
}

@keyframes wmb-live-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* === LISTA DE PROGRAMAS SIMPLIFICADA === */
.wmb-schedule-programs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wmb-schedule-program-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.wmb-schedule-program-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.wmb-schedule-program-item.wmb-schedule-live {
    border-color: #ff4757;
    background: linear-gradient(135deg, var(--white) 0%, #fffbfb 100%);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.15);
}

.wmb-schedule-time-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
    text-align: center;
}

.wmb-schedule-time-block {
    background: var(--gradient-primary);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.wmb-schedule-start-time {
    display: block;
}

.wmb-schedule-time-divider {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
    margin: 0.25rem 0;
}

.wmb-schedule-end-time {
    display: block;
    opacity: 0.9;
}

.wmb-schedule-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-size: 0.8rem;
    font-weight: 500;
}

.wmb-schedule-duration i {
    color: var(--secondary-celeste);
}

.wmb-schedule-program-image {
    position: relative;
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.wmb-schedule-program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wmb-schedule-program-item:hover .wmb-schedule-program-image img {
    transform: scale(1.05);
}

.wmb-schedule-live-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ff4757;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.3);
    white-space: nowrap;
}

.wmb-schedule-live-pulse {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: wmb-schedule-pulse 1.2s infinite;
}

@keyframes wmb-schedule-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.wmb-schedule-program-details {
    flex: 1;
    min-width: 0;
}

.wmb-schedule-program-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    font-family: var(--font-family-headings);
    line-height: 1.3;
}

.wmb-schedule-program-host {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.wmb-schedule-program-host i {
    color: var(--secondary-celeste);
}

.wmb-schedule-program-description {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmb-schedule-live-action {
    flex-shrink: 0;
}

.wmb-schedule-watch-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ff4757;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.wmb-schedule-watch-btn:hover {
    background: #ff3742;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 71, 87, 0.4);
}

/* === ESTADO VACÍO === */
.wmb-schedule-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--gray-50);
    border-radius: 20px;
    border: 2px dashed var(--gray-300);
}

.wmb-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.wmb-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.wmb-empty-subtitle {
    color: var(--gray-600);
    font-size: 1rem;
}

/* === SECCIÓN DE INFORMACIÓN === */
.wmb-schedule-info-section {
    background: var(--gray-50);
    padding: 4rem 0;
    margin-top: 4rem;
}

.wmb-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wmb-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.wmb-info-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(22, 83, 192, 0.3);
}

.wmb-info-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-family: var(--font-family-headings);
}

.wmb-info-card p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
}

.wmb-info-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    justify-content: center;
}

.wmb-info-btn:hover {
    background: var(--gradient-tertiary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1199px) {
    .wmb-schedule-programs-list {
        gap: 1.25rem;
    }
    
    .wmb-schedule-program-item {
        padding: 1.25rem;
    }
}

@media (max-width: 992px) {
    .wmb-schedule-nav {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .wmb-schedule-nav-link {
        min-width: auto;
        width: 100%;
    }
    
    .wmb-schedule-program-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .wmb-schedule-time-column {
        order: -1;
        min-width: auto;
    }
    
    .wmb-schedule-program-image {
        width: 150px;
        height: 100px;
        margin: 0 auto;
    }
    
    .wmb-schedule-program-details {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .wmb-schedule-nav-title {
        font-size: 1.5rem;
    }
    
    .wmb-schedule-nav {
        padding: 0.75rem;
        border-radius: 15px;
    }
    
    .wmb-schedule-nav-link {
        padding: 0.75rem 1rem;
        border-radius: 12px;
    }
    
    .wmb-day-name {
        font-size: 0.9rem;
    }
    
    .wmb-day-programs-count {
        font-size: 0.75rem;
    }
    
    .wmb-schedule-program-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .wmb-schedule-program-title {
        font-size: 1.2rem;
    }
    
    .wmb-schedule-program-image {
        width: 120px;
        height: 80px;
    }
    
    .wmb-schedule-time-block {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .wmb-info-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .wmb-schedule-nav-title {
        font-size: 1.3rem;
    }
    
    .wmb-schedule-programs-list {
        gap: 1rem;
    }
    
    .wmb-schedule-program-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .wmb-schedule-time-block {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }
    
    .wmb-schedule-program-image {
        width: 100px;
        height: 70px;
    }
    
    .wmb-schedule-program-title {
        font-size: 1.1rem;
    }
    
    .wmb-schedule-program-host {
        font-size: 0.8rem;
    }
    
    .wmb-schedule-program-description {
        font-size: 0.8rem;
    }
    
    .wmb-schedule-watch-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .wmb-info-card {
        padding: 1.5rem 1rem;
    }
    
    .wmb-info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .wmb-info-card h4 {
        font-size: 1.3rem;
    }
}

/* === PÁGINA DE LOGIN === */
.wmb-chat-login-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f2fd 100%);
    position: relative;
}

.wmb-chat-login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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='%23e8f2fd' fill-opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.wmb-chat-login-card {
    background: var(--white);
    border-radius: var(--chat-radius);
    border: 1px solid var(--chat-border);
    box-shadow: var(--chat-shadow);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.wmb-chat-login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--chat-gradient);
}

.wmb-chat-login-header {
    padding: 3rem 2.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.wmb-chat-whatsapp-icon {
    color: var(--whatsapp-green);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.2));
}

.wmb-chat-login-title {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-bold);
    font-size: 1.75rem;
    color: var(--chat-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.wmb-chat-login-subtitle {
    color: var(--chat-text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.wmb-chat-login-body {
    padding: 2rem 2.5rem 3rem;
}

/* Formulario de teléfono */
.wmb-chat-phone-form .input-group {
    border-radius: var(--chat-radius-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 2px solid var(--chat-border);
    transition: all 0.3s ease;
}

.wmb-chat-phone-form .input-group:focus-within {
    border-color: var(--chat-primary);
    box-shadow: 0 0 0 4px rgba(22, 83, 192, 0.1);
}

.wmb-chat-phone-form .form-select,
.wmb-chat-phone-form .form-control {
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    background: var(--white);
    transition: all 0.3s ease;
}

.wmb-chat-phone-form .form-select:focus,
.wmb-chat-phone-form .form-control:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.wmb-chat-phone-form .form-select {
    border-right: 1px solid var(--chat-border);
    font-weight: var(--font-weight-semibold);
}

/* Selector de países con banderas - Optimizado para Windows */
.wmb-country-selector {
    min-width: 170px !important;
    max-width: 170px !important;
    font-family: "Segoe UI Emoji", "Microsoft YaHei UI", "Apple Color Emoji", "Noto Color Emoji", "Twemoji", monospace !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    background: #ffffff !important;
    border-right: 2px solid var(--chat-border) !important;
    line-height: 1.8 !important;
    height: 50px !important;
    padding: 8px 12px !important;
    /* Configuración específica para banderas emoji en Windows */
    unicode-bidi: embed !important;
    direction: ltr !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /* Renderizado optimizado para Windows 10/11 */
    -webkit-font-smoothing: auto !important;
    -moz-osx-font-smoothing: auto !important;
    text-rendering: optimizeSpeed !important;
}

.wmb-country-selector option {
    padding: 8px 12px !important;
    font-family: "Segoe UI Emoji", "Microsoft YaHei UI", "Apple Color Emoji", "Noto Color Emoji", "Twemoji", monospace !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    line-height: 1.8 !important;
    color: #2c3e50 !important;
    background: #ffffff !important;
    /* Configuración para mostrar banderas correctamente en Windows */
    unicode-bidi: embed !important;
    direction: ltr !important;
    white-space: nowrap !important;
    -webkit-font-smoothing: auto !important;
    -moz-osx-font-smoothing: auto !important;
    text-rendering: optimizeSpeed !important;
}

/* Mejoras para móvil */
@media (max-width: 768px) {
    .wmb-country-selector {
        min-width: 135px !important;
        max-width: 135px !important;
        font-size: 0.85rem !important;
    }
    
    .wmb-country-selector option {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
}

@media (max-width: 576px) {
    .wmb-country-selector {
        min-width: 125px !important;
        max-width: 125px !important;
        font-size: 0.8rem !important;
    }
    
    .wmb-country-selector option {
        font-size: 0.75rem;
        padding: 6px 8px;
    }
}

/* Formulario de código */
.wmb-chat-code-input {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.8rem;
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--chat-radius-sm);
    border: 2px solid var(--chat-border);
    background: var(--white);
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.wmb-chat-code-input:focus {
    border-color: var(--chat-primary);
    box-shadow: 0 0 0 4px rgba(22, 83, 192, 0.1);
    outline: none;
}

/* Botones del chat */
.wmb-chat-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    border-radius: var(--chat-radius-sm);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 56px;
    font-family: var(--font-family-headings);
}

.wmb-chat-btn-primary {
    background: var(--chat-gradient) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(22, 83, 192, 0.2) !important;
    border: none !important;
}

.wmb-chat-btn-primary:hover {
    background: var(--chat-gradient-hover) !important;
    box-shadow: 0 4px 12px rgba(22, 83, 192, 0.3) !important;
    color: var(--white) !important;
}

.wmb-chat-btn-success {
    background: var(--chat-success) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2) !important;
    border: none !important;
}

.wmb-chat-btn-success:hover {
    background: var(--chat-success-hover) !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
    color: var(--white) !important;
}

.wmb-chat-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border-width: 2px;
}

/* === PÁGINA DE SETUP NICKNAME === */
.wmb-chat-setup-container {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafb 0%, #e8f2fd 100%);
    position: relative;
}

.wmb-chat-setup-card {
    background: var(--white);
    border-radius: var(--chat-radius);
    border: 1px solid var(--chat-border);
    box-shadow: var(--chat-shadow);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.wmb-chat-setup-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--chat-gradient);
}

.wmb-chat-welcome-section {
    padding: 3rem 2.5rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.wmb-chat-welcome-icon {
    width: 88px;
    height: 88px;
    background: var(--chat-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.25rem;
    box-shadow: 0 8px 24px rgba(22, 83, 192, 0.25);
    position: relative;
}

.wmb-chat-welcome-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, transparent, rgba(22, 83, 192, 0.1));
    z-index: -1;
}

.wmb-chat-setup-title {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-bold);
    font-size: 1.875rem;
    color: var(--chat-text);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.wmb-chat-setup-subtitle {
    color: var(--chat-text-muted);
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.wmb-chat-form-section {
    padding: 2rem 2.5rem 3rem;
}

.wmb-chat-nickname-group {
    margin-bottom: 2rem;
}

.wmb-chat-nickname-label {
    display: block;
    font-weight: var(--font-weight-semibold);
    color: var(--chat-text);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.wmb-chat-nickname-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    border: 2px solid var(--chat-border);
    border-radius: var(--chat-radius-sm);
    background: var(--white);
    color: var(--chat-text);
    transition: all 0.3s ease;
}

.wmb-chat-nickname-input:focus {
    border-color: var(--chat-primary);
    box-shadow: 0 0 0 4px rgba(22, 83, 192, 0.1);
    outline: none;
}

.wmb-chat-char-counter {
    font-size: 0.875rem;
    color: var(--chat-text-muted);
    margin-top: 0.5rem;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
}

.wmb-chat-char-counter.wmb-warning {
    color: #f59e0b;
}

.wmb-chat-char-counter.wmb-error {
    color: #ef4444;
}

.wmb-chat-info-text {
    color: var(--chat-text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.wmb-chat-footer-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
    text-align: center;
}

/* === SALA DE CHAT PRINCIPAL === */
.wmb-chat-room-container {
    max-width: 1000px;
    margin: 2rem auto;
}

.wmb-chat-room-card {
    background: var(--white);
    border-radius: var(--chat-radius);
    border: 1px solid var(--chat-border);
    box-shadow: var(--chat-shadow);
    overflow: hidden;
}

.wmb-chat-room-header {
    background: linear-gradient(135deg, var(--gray-800), var(--gray-700));
    color: var(--white);
    padding: 1.5rem 2rem;
    border-bottom: 3px solid var(--chat-primary);
    position: relative;
    overflow: hidden;
}

.wmb-chat-room-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='rgba(255,255,255,0.03)' fill-opacity='1'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.wmb-chat-room-header > * {
    position: relative;
    z-index: 2;
}

.wmb-chat-room-title {
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.wmb-chat-user-info {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: var(--font-weight-medium);
}

.wmb-chat-edit-btn {
    color: var(--secondary-celeste);
    text-decoration: none;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.wmb-chat-edit-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.wmb-chat-logout-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.wmb-chat-logout-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-1px);
}

/* Contenedor de mensajes */
.wmb-chat-container {
    height: 500px;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 1.5rem;
    background: #fafbfc;
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 83, 192, 0.3) transparent;
}

.wmb-chat-container::-webkit-scrollbar {
    width: 6px;
}

.wmb-chat-container::-webkit-scrollbar-track {
    background: transparent;
}

.wmb-chat-container::-webkit-scrollbar-thumb {
    background: rgba(22, 83, 192, 0.3);
    border-radius: 3px;
}

.wmb-chat-container::-webkit-scrollbar-thumb:hover {
    background: rgba(22, 83, 192, 0.5);
}

/* Mensajes */
.wmb-chat-message {
    display: flex;
    margin-bottom: 1.25rem;
    align-items: flex-end;
    gap: 0.75rem;
}

.wmb-chat-message.wmb-sent {
    flex-direction: row-reverse;
}

.wmb-chat-bubble {
    max-width: 70%;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    line-height: 1.4;
}

.wmb-chat-message.wmb-sent .wmb-chat-bubble {
    background: var(--chat-gradient);
    color: var(--white);
    border-bottom-right-radius: 6px;
    box-shadow: 0 2px 8px rgba(22, 83, 192, 0.2);
}

.wmb-chat-message.wmb-received .wmb-chat-bubble {
    background: var(--white);
    color: var(--chat-text);
    border: 1px solid var(--chat-border);
    border-bottom-left-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wmb-chat-nickname {
    font-weight: var(--font-weight-bold);
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wmb-chat-message.wmb-received .wmb-chat-nickname {
    color: var(--chat-primary);
}

.wmb-chat-message.wmb-sent .wmb-chat-nickname {
    color: rgba(255, 255, 255, 0.9);
}

.wmb-chat-message-text {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.wmb-chat-time {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: var(--font-weight-medium);
}

/* Formulario de envío */
.wmb-chat-form-container {
    padding: 1.5rem 2rem;
    background: var(--white);
    border-top: 1px solid var(--chat-border);
}

.wmb-chat-form .input-group {
    border-radius: var(--chat-radius-sm);
    overflow: hidden;
    border: 2px solid var(--chat-border);
    transition: all 0.3s ease;
}

.wmb-chat-form .input-group:focus-within {
    border-color: var(--chat-primary);
    box-shadow: 0 0 0 4px rgba(22, 83, 192, 0.1);
}

.wmb-chat-input {
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    background: var(--white);
    color: var(--chat-text);
    transition: all 0.3s ease;
}

.wmb-chat-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.wmb-chat-input::placeholder {
    color: var(--chat-text-muted);
}

/* Indicador de typing */
.wmb-chat-typing-indicator {
    display: none;
    padding: 0.5rem 1rem;
    background: rgba(22, 83, 192, 0.1);
    border-radius: var(--chat-radius-sm);
    margin: 0.5rem 1.5rem;
    color: var(--chat-primary);
    font-size: 0.85rem;
    font-style: italic;
}

.wmb-chat-send-btn {
    background: var(--chat-gradient) !important;
    border: none !important;
    color: var(--white) !important;
    padding: 1rem 1.5rem;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.wmb-chat-send-btn:hover:not(:disabled) {
    background: var(--chat-gradient-hover) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(22, 83, 192, 0.3);
}

.wmb-chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Estados de carga */
.wmb-chat-loading,
.wmb-chat-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--chat-text-muted);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
}



/* Mensajes de respuesta */
.wmb-chat-response-message {
    display: none;
    border-radius: 12px;
    border: none;
    font-weight: 500;
    margin: 28px 18px 0 18px;
    padding: 16px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    font-size: 1.05rem;
    text-align: center;
    background: #e6f4ea !important;
    color: #256029 !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .wmb-chat-room-container {
        margin: 1rem;
    }
    
    .wmb-chat-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .wmb-chat-login-header,
    .wmb-chat-welcome-section {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .wmb-chat-login-body,
    .wmb-chat-form-section {
        padding: 1.5rem 1.5rem 2.5rem;
    }
    
    .wmb-chat-login-title,
    .wmb-chat-setup-title {
        font-size: 1.5rem;
    }
    
    .wmb-chat-welcome-icon {
        width: 72px;
        height: 72px;
        font-size: 1.75rem;
    }
    
    .wmb-chat-room-header {
        padding: 1.25rem 1.5rem;
    }
    
    .wmb-chat-room-title {
        font-size: 1.25rem;
    }
    
    .wmb-chat-container {
        height: 350px;
        padding: 1rem;
    }
    
    .wmb-chat-bubble {
        max-width: 85%;
        padding: 0.875rem 1rem;
    }
    
    .wmb-chat-form-container {
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .wmb-chat-login-header,
    .wmb-chat-welcome-section {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    
    .wmb-chat-login-body,
    .wmb-chat-form-section {
        padding: 1.25rem 1.25rem 2rem;
    }
    
    .wmb-chat-welcome-icon {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    .wmb-chat-setup-title,
    .wmb-chat-login-title {
        font-size: 1.375rem;
    }
    
    .wmb-chat-code-input {
        font-size: 1.5rem;
        letter-spacing: 0.5rem;
        padding: 1.25rem 0.75rem;
    }
    
    .wmb-chat-container {
        height: 300px;
        padding: 0.75rem;
    }
    
    .wmb-chat-bubble {
        max-width: 90%;
        padding: 0.75rem 0.875rem;
    }
    
    .wmb-chat-room-title {
        font-size: 1.125rem;
    }
    
    .wmb-chat-user-info {
        font-size: 0.875rem;
    }
}

/* ===== CHAT ROOM - WMB ===== */

/* Chat Container */
.wmb-chat-container {
    max-height: 60vh;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* Chat Messages */
.wmb-chat-message {
    display: flex;
    margin-bottom: 1rem;
}

.wmb-chat-bubble {
    max-width: 75%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
}

.wmb-chat-message.wmb-sent .wmb-chat-bubble {
    background: var(--gradient-primary);
    color: var(--white);
    border-top-right-radius: 0.25rem;
    margin-left: auto;
}

.wmb-chat-message.wmb-received .wmb-chat-bubble {
    background: var(--gray-200);
    border-top-left-radius: 0.25rem;
    color: var(--gray-800);
}

.wmb-chat-nickname {
    font-weight: var(--font-weight-bold);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.wmb-chat-message.wmb-received .wmb-chat-nickname {
    color: var(--primary-blue);
}

.wmb-chat-time {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
    text-align: right;
}

.wmb-chat-message.wmb-sent .wmb-chat-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Chat Room Header */
.wmb-chat-room-header {
    background: var(--gray-800);
    color: var(--white);
}

.wmb-chat-room-title {
    margin-bottom: 0;
    font-family: var(--font-family-headings);
}

.wmb-chat-user-info {
    font-size: 0.9rem;
}

.wmb-chat-edit-btn {
    color: var(--white);
    transition: var(--transition-fast);
}

.wmb-chat-edit-btn:hover {
    color: var(--secondary-celeste);
}

.wmb-chat-logout-btn {
    transition: var(--transition-normal);
}

.wmb-chat-logout-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Chat Form */
.wmb-chat-form .input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.wmb-chat-input {
    border: 2px solid var(--gray-300);
    font-size: 1.1rem;
    transition: var(--transition-normal);
}

.wmb-chat-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.2rem rgba(22, 83, 192, 0.25);
}

.wmb-chat-send-btn {
    background: var(--gradient-primary);
    border: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-normal);
}

.wmb-chat-send-btn:hover {
    background: var(--gradient-tertiary);
    transform: translateY(-1px);
}

.wmb-chat-send-btn:disabled {
    opacity: 0.6;
    transform: none;
}

/* Chat Loading State */
.wmb-chat-loading {
    text-align: center;
    color: var(--gray-500);
    padding: 2rem;
}

.wmb-chat-empty {
    text-align: center;
    color: var(--gray-500);
    padding: 2rem;
}

/* Responsive Chat */
@media (max-width: 768px) {
    .wmb-chat-container {
        max-height: 50vh;
    }
    
    .wmb-chat-bubble {
        max-width: 85%;
        padding: 0.6rem 0.8rem;
    }
    
    .wmb-chat-nickname {
        font-size: 0.8rem;
    }
    
    .wmb-chat-time {
        font-size: 0.7rem;
    }
    
    .wmb-chat-input {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .wmb-chat-container {
        max-height: 45vh;
    }
    
    .wmb-chat-bubble {
        max-width: 90%;
        padding: 0.5rem 0.7rem;
    }
    
    .wmb-chat-room-title {
        font-size: 1.1rem;
    }
    
    .wmb-chat-user-info {
        font-size: 0.8rem;
    }
}

/* =============================================
   WMB VIDEO PLAYER STYLES - MOVED FROM INLINE
   ============================================= */

/* Video player wrapper - responsive 16:9 aspect ratio */
.wmb-video-player-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
}

.wmb-video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Specific styles for Facebook video embeds */
.wmb-video-player-wrapper iframe[src*="facebook.com"] {
    /* Facebook embeds may have fixed dimensions, force responsiveness */
    min-height: 314px;
}

/* Related videos list styles */
.wmb-related-videos-list .wmb-related-video-item {
    display: flex;
    margin-bottom: 1rem;
    transition: background-color 0.2s ease-in-out;
    border-radius: 0.5rem;
}

.wmb-related-videos-list .wmb-related-video-item:hover {
    background-color: #f8f9fa;
}

.wmb-related-video-item .wmb-thumbnail-link {
    flex-shrink: 0;
    width: 160px; /* Fixed width for thumbnail */
    margin-right: 1rem;
}

.wmb-related-video-item .wmb-thumbnail-link img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0.5rem;
}

.wmb-related-video-item .wmb-video-details .wmb-video-title {
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wmb-related-video-item .wmb-video-details .wmb-video-channel {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Responsive adjustments for video player */
@media (max-width: 992px) {
    .wmb-related-video-item .wmb-thumbnail-link {
        width: 140px;
    }
    
    .wmb-related-video-item .wmb-video-details .wmb-video-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .wmb-video-player-wrapper {
        border-radius: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .wmb-related-video-item .wmb-thumbnail-link {
        width: 120px;
        margin-right: 0.75rem;
    }
    
    .wmb-related-video-item .wmb-video-details .wmb-video-title {
        font-size: 0.85rem;
    }
    
    .wmb-related-video-item .wmb-video-details .wmb-video-channel {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .wmb-video-player-wrapper {
        border-radius: 0.25rem;
    }
    
    .wmb-related-videos-list .wmb-related-video-item {
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }
    
    .wmb-related-video-item .wmb-thumbnail-link {
        width: 100px;
        margin-right: 0.5rem;
    }
    
    .wmb-related-video-item .wmb-video-details .wmb-video-title {
        font-size: 0.8rem;
                 -webkit-line-clamp: 3;
     }
}

/* =============================================
   WMB INLINE STYLES CLEANUP - MOVED FROM INLINE
   ============================================= */

/* News badge with dynamic color */
.wmb-news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e8202e;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

/* Chat mockup links without decoration */
.wmb-chat-link {
    text-decoration: none !important;
    color: inherit !important;
}

/* File preview for uploads */
.wmb-file-preview {
    max-width: 200px;
    height: auto;
    border-radius: 0.5rem;
    margin-top: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Panel image previews */
.wmb-panel-image-preview {
    max-width: 240px;
    height: auto;
    border-radius: 0.5rem;
    border: 1px solid #ddd;
}

.wmb-panel-image-small {
    max-height: 100px;
    border-radius: 0.5rem;
}

.wmb-panel-image-thumbnail {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.wmb-panel-image-list {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.wmb-panel-image-staff {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.wmb-panel-image-program {
    width: 100px;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

.wmb-panel-image-banner {
    width: 150px;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
}

.wmb-panel-image-publicostado {
    max-width: 250px;
    height: auto;
    border-radius: 0.5rem;
}

.wmb-panel-image-news {
    width: 80px;
    height: 45px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.wmb-panel-image-form {
    max-width: 200px;
    height: auto;
    display: block;
    margin-top: 5px;
    border-radius: 0.5rem;
}

/* Color picker styles */
.wmb-color-picker {
    width: 60px;
    height: 38px;
    border-radius: 0.25rem;
    border: 1px solid #ddd;
}

.wmb-color-preview {
    width: 40px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
    margin-left: 0.5rem;
}

.wmb-color-badge {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #ddd;
    display: inline-block;
}

/* Drop area styles */
.wmb-drop-area {
    min-height: 150px;
    cursor: pointer;
    border: 2px dashed #ccc;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.wmb-drop-area:hover,
.wmb-drop-area.dragover {
    border-color: var(--primary-blue);
    background-color: rgba(22, 83, 192, 0.05);
}

/* Toast container */
.wmb-toast-container {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 1rem;
    z-index: 1055;
}

/* Facebook embed specific styles */
.wmb-facebook-embed {
    width: 560px;
    height: 314px;
    border: none;
    overflow: hidden;
    border-radius: 0.5rem;
}

/* Responsive adjustments for inline cleanup */
@media (max-width: 768px) {
    .wmb-panel-image-preview {
        max-width: 150px;
    }
    
    .wmb-panel-image-thumbnail {
        width: 100px;
        height: 75px;
    }
    
    .wmb-panel-image-list {
        width: 60px;
        height: 60px;
    }
    
    .wmb-facebook-embed {
                 width: 100%;
         height: 250px;
     }
}

/* =============================================
   WMB TV PLAYER STYLES - PROFESSIONAL STREAMING
   ============================================= */

/* TV Player Page Layout */
.wmb-tv-player-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.wmb-tv-header {
    background: var(--white);
    border-bottom: 3px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.wmb-tv-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay-full);
    opacity: 0.05;
    z-index: 1;
}

.wmb-tv-header .container {
    position: relative;
    z-index: 2;
}

/* Live Indicator Badge */
.wmb-live-indicator-badge .badge {
    animation: wmb-pulse-badge 2s infinite;
    font-size: 1rem !important;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.wmb-blink-dot {
    animation: wmb-blink 1s infinite;
    margin-right: 0.5rem;
}

@keyframes wmb-pulse-badge {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 25px rgba(220, 53, 69, 0.5); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3); }
}

@keyframes wmb-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* TV Player Container */
.wmb-tv-player-container {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(22, 83, 192, 0.1);
}

/* Video Player Wrapper */
.wmb-player-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.wmb-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wmb-video-player video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Poster del video */
.wmb-video-player .video-js .vjs-poster {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: #000 !important;
}

/* Asegurar que el player tenga dimensiones correctas */
.wmb-video-player .video-js {
    background-color: #000 !important;
}

/* Video.js Custom Styling */
.wmb-video-player .video-js {
    width: 100% !important;
    height: 100% !important;
    font-family: var(--font-family);
}

.wmb-video-player .video-js .vjs-big-play-button {
    background: var(--gradient-primary);
    border: none !important;
    border-radius: 50% !important;
    width: 80px !important;
    height: 80px !important;
    line-height: 80px !important;
    font-size: 2rem !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    transition: all 0.3s ease !important;
    position: absolute !important;
    z-index: 3 !important;
}

.wmb-video-player .video-js .vjs-big-play-button:hover {
    background: var(--gradient-tertiary);
    transform: translate(-50%, -50%) scale(1.1);
}

.wmb-video-player .video-js .vjs-control-bar {
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    height: 60px;
    padding: 0 15px;
}

.wmb-video-player .video-js .vjs-button > .vjs-icon-placeholder:before {
    font-size: 1.5rem;
    line-height: 2;
}

.wmb-video-player .video-js .vjs-progress-control {
    height: 6px;
}

.wmb-video-player .video-js .vjs-progress-holder {
    background: rgba(255,255,255,0.3);
    height: 6px;
    border-radius: 3px;
}

.wmb-video-player .video-js .vjs-play-progress {
    background: var(--primary-blue);
    border-radius: 3px;
}

.wmb-video-player .video-js .vjs-mute-control.vjs-vol-3 {
    animation: wmb-volume-pulse 2s ease-in-out infinite;
}

@keyframes wmb-volume-pulse {
    0%, 100% { 
        transform: scale(1); 
        background: rgba(var(--primary-blue), 0.1);
    }
    50% { 
        transform: scale(1.1); 
        background: rgba(var(--primary-blue), 0.2);
    }
}

/* === Estilos para Indicador de Programa En Vivo - Premium Profesional === */
.live-premium-card {
    display: flex;
    background-color: #181818;
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: stretch; /* Make columns same height */
}

.live-premium-card:hover {
    /* Animación de hover eliminada por solicitud del usuario */
}

.live-premium-image-container {
    flex: 0 0 35%; /* Image takes 35% of width */
    position: relative;
    min-height: 280px;
}

.live-premium-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.live-premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255 0 13);
    backdrop-filter: blur(5px);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-premium-badge i {
    font-size: 1.2rem;
    animation: pulse-icon 1.5s infinite ease-in-out;
}

@keyframes pulse-icon {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.live-premium-content {
    flex: 1;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.premium-content-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.live-premium-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.live-premium-schedule {
    color: #aaa;
    font-size: 0.9rem;
    white-space: nowrap;
    padding-top: 5px;
}
.live-premium-schedule i {
    margin-right: 6px;
}

.live-premium-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.7;
    flex-grow: 1; /* Pushes footer down */
}

.premium-content-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.live-premium-hosts {
    color: #aaa;
    font-size: 0.9rem;
}
.live-premium-hosts i {
    margin-right: 8px;
    color: #E50914;
}

.btn-premium-live {
    background: #E50914;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-premium-live:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
    /* Sombra eliminada por solicitud del usuario */
}

/* Tablets y dispositivos medianos */
@media (max-width: 991.98px) {
    .live-premium-card {
        flex-direction: column;
        margin: 0 1rem;
    }
    
    .live-premium-image-container {
        flex-basis: auto;
        width: 100%;
        height: 250px;
        min-height: 250px;
        position: relative;
    }
    
    .live-premium-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .live-premium-content {
        padding: 1.5rem 2rem 2rem 2rem;
    }
    
    .live-premium-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .premium-content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .live-premium-schedule {
        white-space: normal;
    }
    
    .premium-content-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .live-premium-hosts {
        text-align: center;
    }
    
    .btn-premium-live {
        justify-content: center;
        width: 100%;
        padding: 15px 25px;
    }
}

/* Móviles grandes */
@media (max-width: 767.98px) {
    .live-program-section {
        margin: 2rem 0 !important;
    }
    
    .live-premium-card {
        margin: 0 0.5rem;
        border-radius: 12px;
    }
    
    .live-premium-image-container {
        height: 200px;
        min-height: 200px;
    }
    
    .live-premium-content {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
    
    .live-premium-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .premium-content-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .live-premium-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .premium-content-footer {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .live-premium-hosts {
        font-size: 0.85rem;
    }
    
    .btn-premium-live {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Móviles pequeños */
@media (max-width: 575.98px) {
    .live-program-section {
        margin: 1.5rem 0 !important;
    }
    
    .live-premium-card {
        margin: 0;
        border-radius: 8px;
    }
    
    .live-premium-image-container {
        height: 180px;
        min-height: 180px;
    }
    
    .live-premium-badge {
        top: 10px;
        left: 10px;
        width: 35px;
        height: 35px;
    }
    
    .live-premium-badge i {
        font-size: 1rem;
    }
    
    .live-premium-content {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
    }
    
    .live-premium-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .live-premium-schedule {
        font-size: 0.8rem;
    }
    
    .live-premium-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .live-premium-hosts {
        font-size: 0.8rem;
    }
    
    .btn-premium-live {
        padding: 10px 18px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .premium-content-footer {
        gap: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .premium-content-header, .premium-content-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .btn-premium-live {
        width: 100%;
        justify-content: center;
    }
}

/* Loading State */
.wmb-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.wmb-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.2);
    border-left: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: wmb-spin 1s linear infinite;
}

@keyframes wmb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wmb-loading-text {
    color: white;
    margin-top: 1rem;
    font-weight: 500;
}

/* Error State */
.wmb-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: white;
    text-align: center;
    padding: 2rem;
}

.wmb-error-content i {
    font-size: 4rem;
    color: #dc3545;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.wmb-error-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.wmb-error-message {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.wmb-retry-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wmb-retry-btn:hover {
    background: var(--gradient-tertiary);
    transform: translateY(-2px);
}

/* Player Controls */
.wmb-player-controls {
    padding: 2rem;
    background: var(--gray-100);
    border-top: 1px solid var(--gray-300);
}

.wmb-now-playing h5 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wmb-program-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.wmb-player-actions .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

.wmb-player-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Stream Info Card */
.wmb-stream-info-card {
    background: var(--white);
    border-radius: 15px;
    border: 1px solid rgba(22, 83, 192, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.wmb-stream-info-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.wmb-stream-info-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: wmb-shine 3s ease-in-out infinite;
}

@keyframes wmb-shine {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(180deg); }
}

.wmb-stream-info-body {
    padding: 2rem;
}

.wmb-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wmb-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.wmb-feature-item:hover {
    background: rgba(22, 83, 192, 0.05);
    padding-left: 0.5rem;
    border-radius: 8px;
}

.wmb-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Quality Selector */
.wmb-quality-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.wmb-quality-btn {
    background: var(--gray-200);
    border: 2px solid transparent;
    color: var(--gray-700);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wmb-quality-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.wmb-quality-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 992px) {
    .wmb-tv-player-container {
        border-radius: 15px;
    }
    
    .wmb-player-controls {
        padding: 1.5rem;
    }
    
    .wmb-stream-info-body {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .wmb-tv-header h1 {
        font-size: 1.8rem !important;
    }
    
    .wmb-live-indicator-badge {
        text-align: center;
        margin-top: 1rem;
    }
    
    .wmb-player-controls {
        padding: 1rem;
        text-align: center;
    }
    
    .wmb-player-controls .row > div {
        margin-bottom: 1rem;
    }
    
    .wmb-player-actions {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .wmb-video-player .video-js .vjs-big-play-button {
        width: 60px !important;
        height: 60px !important;
        line-height: 60px !important;
        font-size: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .wmb-tv-player-container {
        border-radius: 10px;
        margin: 0 0.5rem;
    }
    
    .wmb-stream-info-header {
        padding: 1rem;
    }
    
    .wmb-stream-info-body {
        padding: 1rem;
    }
    
    .wmb-player-controls {
        padding: 1rem;
    }
}

/* ====================================
   TV Player - Estilos Completamente Nuevos
   ==================================== */

/* Página del player */
.wmb-tv-error-page {
    min-height: 50vh;
    display: flex;
    align-items: center;
}

/* Header del player */
.wmb-tv-header {
    background: var(--bs-light);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Badge de en vivo */
.wmb-live-badge .badge {
    animation: pulse 2s ease-in-out infinite;
}

.wmb-pulse-dot {
    font-size: 0.8em;
    margin-right: 5px;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Contenedor del player */
.wmb-player-container {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Wrapper del player - Aspect ratio 16:9 */
.wmb-player-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

/* Video.js Player */
.wmb-player-wrapper .video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Overlays del player */
.wmb-loading-overlay,
.wmb-error-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Cuando se muestran los overlays */
.wmb-loading-overlay[style*="display: flex"],
.wmb-error-overlay[style*="display: flex"] {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contenido de carga */
.wmb-loading-content {
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

/* Spinner Moderno Mejorado */
.wmb-loading-spinner {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.wmb-loading-spinner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.wmb-loading-spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--bs-primary);
    border-right-color: var(--bs-primary);
    border-radius: 50%;
    animation: wmb-spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

/* Puntos de carga animados */
.wmb-loading-dots {
    display: inline-block;
    width: 50px;
    text-align: left;
}

.wmb-loading-dots::after {
    content: '...';
    animation: wmb-dots 1.5s steps(4, end) infinite;
}

@keyframes wmb-dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

@keyframes wmb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Texto de carga */
.wmb-loading-text {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
}

.wmb-loading-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Overlay de Error Mejorado */
.wmb-error-content {
    text-align: center;
    max-width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.wmb-error-content i {
    font-size: 64px;
    color: var(--bs-warning);
    margin-bottom: 20px;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

.wmb-error-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.wmb-error-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Botón de reintentar mejorado */
.wmb-retry-btn {
    background: var(--bs-primary);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wmb-retry-btn:hover {
    background: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.wmb-retry-btn:active {
    transform: translateY(0);
}

.wmb-retry-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.wmb-retry-btn:hover i {
    transform: rotate(180deg);
}

/* Contador de reintento automático */
.wmb-retry-countdown {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.wmb-retry-countdown span {
    color: var(--bs-info);
    font-weight: 600;
}

/* Estado de conexión */
.wmb-connection-status {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wmb-connection-status.wmb-show {
    opacity: 1;
}

.wmb-connection-status i {
    font-size: 10px;
}

.wmb-connection-status.wmb-connecting {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.wmb-connection-status.wmb-connected {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.5);
}

.wmb-connection-status.wmb-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
}

/* Animación de pulso para elementos importantes */
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

/* Controles adicionales del player */
.wmb-player-controls {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 0 12px 12px;
}

.wmb-stream-info h5 {
    color: #333;
    margin-bottom: 0.5rem;
}

.wmb-player-actions .btn {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
}

/* Card de información */
.wmb-info-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Toast notifications */
.wmb-toast {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Personalización de Video.js */
.video-js {
    background-color: #000;
}

.video-js .vjs-big-play-button {
    font-size: 5em;
    line-height: 1.5em;
    height: 1.5em;
    width: 1.5em;
    display: block !important;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0;
    margin-top: -0.75em;
    margin-left: -0.75em;
    cursor: pointer;
    border: 0.06666em solid #fff;
    background-color: rgba(43, 51, 63, 0.7);
    border-radius: 50%;
    transition: all 0.4s;
    z-index: 1;
}

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus,
.video-js .vjs-big-play-button:hover {
    background-color: rgba(13, 110, 253, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(13, 110, 253, 0.8);
}

.video-js .vjs-big-play-button .vjs-icon-placeholder {
    font-family: VideoJS;
}

.video-js .vjs-big-play-button .vjs-icon-placeholder:before {
    content: '\f101';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0.75em;
    line-height: 1.5em;
    text-align: center;
}

/* Asegurar que el control bar no tape el video */
.video-js .vjs-control-bar {
    display: flex;
    visibility: visible;
    opacity: 1;
}

/* Hacer el player más oscuro mientras carga */
.video-js.vjs-waiting .vjs-poster {
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .wmb-player-controls {
        padding: 15px;
    }
    
    .wmb-stream-info h5 {
        font-size: 1rem;
    }
    
    .wmb-player-actions .btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Ocultar el botón play central de Video.js siempre */
.video-js .vjs-big-play-button {
    display: none !important;
}

/* Botón Activar sonido */
.wmb-unmute-btn {
    position: absolute;
    right: 24px;
    bottom: 24px;
    z-index: 10001;
    background: #fff;
    color: #0d6efd;
    border: none;
    border-radius: 24px;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.wmb-unmute-btn:hover {
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 6px 24px rgba(13,110,253,0.18);
}
.wmb-unmute-btn i {
    font-size: 1.3em;
}

/* ===== NUEVOS ESTILOS PARA NOTICIAS - DISEÑO MINIMALISTA ===== */

/* Modificar iconos de redes sociales para que sean circulares y elegantes */
.wmb-news-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    background: #6c757d;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wmb-news-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    color: white;
    text-decoration: none;
}

/* Colores más sutiles para redes sociales */
.wmb-news-social-btn.facebook { 
    background: #4267B2; 
    border-color: #4267B2;
}
.wmb-news-social-btn.twitter { 
    background: #1DA1F2; 
    border-color: #1DA1F2;
}
.wmb-news-social-btn.whatsapp { 
    background: #25D366; 
    border-color: #25D366;
}

.wmb-news-social-btn.facebook:hover { 
    background: #365899; 
    border-color: #365899;
}
.wmb-news-social-btn.twitter:hover { 
    background: #1A91DA; 
    border-color: #1A91DA;
}
.wmb-news-social-btn.whatsapp:hover { 
    background: #1EBE57; 
    border-color: #1EBE57;
}

/* Botón "Leer Más" como texto simple sin cuadro */
.wmb-news-card-read-btn,
.wmb-news-card-read-btn:hover,
.wmb-news-card-read-btn:focus {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #495057;
}

.wmb-news-card-read-btn:hover,
.wmb-news-card-read-btn:focus {
    color: #212529;
    text-decoration: none;
}

.wmb-news-card-read-btn::after {
    content: none !important;
}

.wmb-news-card-read-btn:hover::after {
    width: 100%;
}

.wmb-news-card-read-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.wmb-news-card-read-btn:hover i {
    transform: translateX(2px);
}

/* Hacer las tarjetas menos coloridas y más minimalistas */
.news-card-professional {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card-professional:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-4px);
    border-color: #dee2e6;
}

/* Badge de categoría mediano y sólido */
.wmb-news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    opacity: 1;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 0.4px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-card-professional:hover .wmb-news-badge {
    opacity: 1;
    transform: scale(1.02);
}

/* Contenido de la tarjeta más limpio */
.news-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px 0;
    color: #212529;
    flex: 1;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-title a:hover {
    color: #495057;
}

/* Extracto más legible */
.wmb-news-card-excerpt {
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
    font-weight: 400;
}

/* Meta información más sutil */
.news-card-meta {
    margin-bottom: 12px;
}

.news-date {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
}

.wmb-news-card-views {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 500;
}

.wmb-news-card-views i {
    color: #adb5bd;
    margin-right: 4px;
}

/* Acciones de la tarjeta */
.wmb-news-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f8f9fa;
}

.wmb-news-card-social {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Responsive para los nuevos estilos */
@media (max-width: 768px) {
    .wmb-news-social-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .wmb-news-card-read-btn {
        font-size: 0.85rem;
    }
    
    .news-card-content {
        padding: 16px;
    }
    
    .news-card-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .wmb-news-card-social {
        gap: 6px;
    }
    
    .wmb-news-social-btn {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .wmb-news-card-read-btn {
        font-size: 0.8rem;
    }
}

/* === Redes sociales verticales en contactos === */
.contact-social-vertical {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 32px 18px 24px 18px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.contact-social-vertical:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    transform: translateY(-4px) scale(1.03);
}
.contact-social-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    margin-top: 8px;
}
.contact-social-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #222;
}
.contact-social-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 18px;
}
.contact-social-btn {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border: 2px solid #e9ecef;
    color: #495057;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    z-index: 2;
}
.contact-social-btn:hover {
    background: #f8f9fa;
    color: #fff;
}
.border-facebook { border-color: #4267B2 !important; }
.border-tiktok { border-color: #000 !important; }
.border-youtube { border-color: #FF0000 !important; }
.border-twitter { border-color: #1DA1F2 !important; }
.contact-social-vertical.border-facebook .contact-social-icon,
.contact-social-vertical.border-facebook .contact-social-btn:hover { color: #4267B2; background: #4267B2; }
.contact-social-vertical.border-tiktok .contact-social-icon,
.contact-social-vertical.border-tiktok .contact-social-btn:hover { color: #000; background: #000; }
.contact-social-vertical.border-youtube .contact-social-icon,
.contact-social-vertical.border-youtube .contact-social-btn:hover { color: #FF0000; background: #FF0000; }
.contact-social-vertical.border-twitter .contact-social-icon,
.contact-social-vertical.border-twitter .contact-social-btn:hover { color: #1DA1F2; background: #1DA1F2; }
@media (max-width: 767px) {
    .contact-social-vertical { min-height: 220px; padding: 24px 10px 18px 10px; }
    .contact-social-btn { width: 38px; height: 38px; font-size: 1.1rem; }
    .contact-social-icon { font-size: 2.1rem; }
}

/* === Estilos del Player de TV === */

.wmb-player-wrapper {
    position: relative; /* Clave para posicionar los overlays */
    background-color: #000;
}

.wmb-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.85);
    color: #fff;
    display: flex; /* Usado por JS para mostrar/ocultar */
    flex-direction: column; /* Para apilar icono y texto */
    justify-content: center;
    align-items: center;
    z-index: 20;
    text-align: center;
    padding: 20px;
    border-radius: inherit;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.wmb-player-overlay.vjs-hidden {
    opacity: 0;
    pointer-events: none;
}

.wmb-overlay-content p {
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    margin-top: 1rem; /* Espacio entre el icono y el texto */
}

/* === Redes sociales simples en contactos === */
.contact-social-simple {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
    color: #fff;
    background: #adb5bd;
    transition: background 0.2s, transform 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
}
.contact-social-simple.facebook { background: #4267B2; }
.contact-social-simple.tiktok { background: #000; }
.contact-social-simple.youtube { background: #FF0000; }
.contact-social-simple.twitter { background: #1DA1F2; }
.contact-social-simple:hover {
    transform: scale(1.12);
    filter: brightness(1.1);
    color: #fff;
    text-decoration: none;
}
@media (max-width: 767px) {
    .contact-social-simple { width: 44px; height: 44px; font-size: 1.3rem; }
}

/* --- AJUSTE TARJETAS DE NOTICIAS MÓVIL --- */
@media (max-width: 576px) {
  .news-card-professional {
    height: auto !important;
    min-height: unset !important;
    display: flex;
    flex-direction: column;
  }
  .news-card-content {
    flex: 1 1 auto;
    min-height: unset !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .news-card-title {
    margin-bottom: 0.5rem;
    min-height: unset !important;
    height: auto !important;
    flex: unset !important;
  }
  .news-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: unset !important;
    height: auto !important;
    margin-bottom: 0.5rem;
  }
}

/* ===== SELECTOR DE PAÍSES CON BANDERAS EMOJI ===== */
/* Maximizar visualización de banderas emoji en el chat */
.wmb-country-selector {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', 'Twemoji', 'Segoe UI Symbol', 'Arial', sans-serif;
  font-size: 1.1em;
  line-height: 1.4;
}

/* === Select2 y banderas para el selector de países === */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem 0 0 0.375rem !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1.1rem !important;
    box-shadow: none !important;
}

/* Mejorar integración visual del grupo de teléfono */
.wmb-chat-phone-form .input-group {
    display: flex;
    align-items: stretch;
}
.wmb-chat-phone-form .select2-container--default .select2-selection--single {
    border-right: 0 !important;
    border-radius: 0.375rem 0 0 0.375rem !important;
}
.wmb-chat-phone-form .form-control {
    border-radius: 0 0.375rem 0.375rem 0 !important;
    border-left: 0 !important;
    height: 48px !important;
    box-shadow: none;
}
.wmb-chat-phone-form .select2-container--default.select2-container--focus .select2-selection--single,
.wmb-chat-phone-form .form-control:focus {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15) !important;
    z-index: 2;
}
.wmb-chat-phone-form .select2-container--default .select2-selection--single:focus {
    outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
    padding-left: 0 !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}
.select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 0.375rem !important;
    font-size: 1.1rem !important;
}
.select2-results__option {
    padding: 8px 12px !important;
}
.country-flag {
    width: 20px;
    height: 15px;
    margin-right: 8px;
    vertical-align: middle;
}