/*
 * Insights video hub + testimonial avatar/logo styles.
 *
 * Loaded site-wide by the assets/css glob in functions.php (and explicitly
 * from page-insights.php like the other page templates). The testimonial
 * rules live here because template-parts/testimonials.php renders on the
 * home and bootcamp pages too.
 */

/* ========== TESTIMONIAL TILES: AVATAR & COMPANY LOGO ========== */

.testimonial-avatar {
    margin-bottom: 15px;
}

.testimonial-avatar .testimonial-avatar-img,
.testimonial-avatar img {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(99, 102, 241, 0.45);
}

.testimonial-company--logo img {
    display: block;
    max-height: 36px;
    width: auto;
    max-width: 160px;
    /* Subtle lift so dark logo art stays visible on the dark tile. */
    filter: brightness(1.35);
}

/* ========== INSIGHTS: VIDEO HUB ========== */

.sz-videos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .sz-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .sz-videos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.sz-video-card {
    background: var(--sz-bg-card);
    border: 1px solid var(--sz-border);
    border-radius: var(--sz-radius);
    overflow: hidden;
    transition: all var(--sz-transition);
}

.sz-video-card:hover {
    border-color: var(--sz-border-hover);
    transform: translateY(-3px);
}

.sz-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--sz-bg-card-alt);
}

.sz-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.sz-video-info {
    padding: 1.25rem 1.5rem 1.5rem;
}

.sz-video-info h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}

.sz-video-info p {
    font-size: 0.875rem;
    color: var(--sz-text-muted);
    line-height: 1.5;
    margin: 0;
}
