/* Contenedor Principal */
.highlights-section {
    background-color: #0f0f0f;
    /* Negro profundo */
    display: flex;
    align-items: center;
    padding: 40px 20px;
    gap: 30px;
    font-family: 'Arial', sans-serif;
    overflow-x: auto;
    /* Permite scroll horizontal si hay muchos items */
}

/* Bloque de texto izquierdo */
.highlights-info {
    min-width: 250px;
    color: #ffffff;
}

.highlights-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.highlights-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 5px 0 0 0;
    opacity: 0.9;
}

/* Grid de videos */
.highlights-grid {
    display: flex;
    gap: 15px;
}

/* Cada miniatura */
.highlight-item {
    position: relative;
    flex: 0 0 auto;
    /* Evita que las imágenes se encojan */
    width: 280px;
    /* Ajusta según prefieras el tamaño */
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: scale(1.05);
}

.highlight-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Etiqueta de tiempo (arriba a la izquierda como en tu imagen) */
.video-duration {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 8px;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 2px;
}

/* Personalización del scrollbar (opcional) */
.highlights-section::-webkit-scrollbar {
    height: 6px;
}

.highlights-section::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}