/* Tech B2B - MP4 Hero element */

.hero-video-section {
    position: relative;
    width: 100%;
    height: var(--hero-height, 500px);
    overflow: hidden;
}

.hero-video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100%;
    width: 100vw;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-video-section__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Content overlay */
.hero-video-section__content {
    position: absolute;
    inset: 0;
    display: flex;
    padding: 24px;
    pointer-events: none;
}
.hero-video-section__content--valign-top    { align-items: flex-start; }
.hero-video-section__content--valign-middle { align-items: center; }
.hero-video-section__content--valign-bottom { align-items: flex-end; }

.hero-video-section__container {
    width: 100%;
    max-width: var(--hero-site-width, 1170px);
    margin: 0 auto;
    display: flex;
}

.hero-video-section__panel {
    box-sizing: border-box;
    pointer-events: auto;
    background: var(--hero-panel-bg, rgba(255, 255, 255, 0.88));
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}
.hero-video-section__panel--right { width: 50%; margin-left: auto; }
.hero-video-section__panel--left  { width: 50%; margin-right: auto; }
.hero-video-section__panel--full  { width: 100%; }

@media (max-width: 768px) {
    .hero-video-section {
        height: auto;
    }
    .hero-video-section video {
        position: relative;
        transform: none;
        top: 0;
        left: 0;
        min-width: 100vw;
        width: 100vw;
    }
    .hero-video-section__content {
        padding: 16px;
    }
    .hero-video-section__panel--right,
    .hero-video-section__panel--left,
    .hero-video-section__panel--full {
        width: 100%;
        margin: 0;
    }
    .hero-video-section__panel {
        padding: 24px;
        border-radius: 12px;
    }
}
