/*
 * Scrumiz AI — About → Scrumiz.ai (company) page components.
 *
 * Only the video slot lives here. It reuses the homepage video-slot class
 * names (.home-video, .home-video-frame, .home-video-note) so the two slots
 * stay visually identical, but this template does not load home.css, so the
 * frame rules are restated here with page-local spacing.
 */

/* ========== VIDEO SLOT ========== */
/* Sits inside the main content column, between the intro and the first
   service block, so it only needs its own bottom breathing room. */
.scrumiz-video-section {
    margin: 0 0 3.5rem;
}

.scrumiz-video-section .section-title {
    margin-bottom: 2rem;
}

.home-video {
    margin: 0 auto;
}

.home-video-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sz-bg-card-alt);
    border: 1px solid var(--sz-border);
    border-radius: var(--sz-radius-lg);
    box-shadow: var(--sz-glow-sm);
}

.home-video-frame > iframe,
.home-video-frame > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

/* contain, so a non-16:9 upload is letterboxed rather than cropped */
.home-video-frame > video {
    object-fit: contain;
    background: #000;
}

.home-video-note {
    margin: 1rem 0 0;
    text-align: center;
    color: var(--sz-text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .scrumiz-video-section {
        margin: 0 0 2.5rem;
    }

    .scrumiz-video-section .section-title {
        margin-bottom: 1.5rem;
    }

    .home-video-frame {
        border-radius: var(--sz-radius);
    }
}
