/* Sección Principal */
.sonovision-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.sonovision-section h1 {
    color: #1a8537;
    padding: 0 20px;
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #1a8537;
    padding-bottom: 10px;
}

/* Grid para Organizar el Logo y Streaming */
.sonovision-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.sonovision-logo {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sonovision-logo img {
    max-width: 100%;
    height: auto;
}

.sonovision-streaming {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sonovision-streaming iframe {
    width: 100%;
    height: 315px;
    border-radius: 8px;
    max-width: 600px;
}

.sonovision-streaming p {
    font-size: 18px;
    margin-top: 10px;
    color: #333;
    font-weight: bold;
}

/* Tabla de Programación */
.program-schedule {
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow-x: auto; /* Permitir desplazamiento horizontal en pantallas pequeñas */
}

.program-schedule h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.program-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    min-width: 600px; /* Asegura un ancho mínimo para que la tabla no se colapse en pantallas pequeñas */
}

.program-table th, .program-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #dddddd;
}

.program-table th {
    background-color: #28a745;
    color: #ffffff;
    text-transform: uppercase;
}

.program-table tr:hover {
    background-color: #f9f9f9;
}

.program-table td {
    color: #333;
}

.program-table td:first-child {
    font-weight: bold;
}

.program-table tr:last-child td {
    border-bottom: none;
}

/* Estilos para Programas Especiales */
.program-especial {
    padding: 20px;
    margin-top: 20px;
    background-color: #f8f8f8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    text-align: left;
    border: 2px solid #1a8537;
}

.program-especial h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    border-left: 5px solid;
    padding-left: 10px;
}

/* Responsivo para dispositivos móviles */
@media (max-width: 768px) {
    .sonovision-grid {
        grid-template-columns: 1fr;
    }

    .sonovision-logo, .sonovision-streaming {
        margin-bottom: 20px;
    }

    .sonovision-streaming iframe {
        height: 250px;
    }

    /* Ajustes para la tabla en móviles */
    .program-table {
        font-size: 14px; /* Reducir el tamaño del texto */
    }

    .program-schedule h2 {
        font-size: 20px; /* Ajustar el tamaño del encabezado */
    }

    .program-table th, .program-table td {
        padding: 8px 10px;
    }
}
