﻿.section-hrdf-1n0v-video-hero {
    position: relative !important;
    overflow: hidden;
}

    /* JS ile üretilecek ortak medya alanı */
    .section-hrdf-1n0v-video-hero .hero-bg-media {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        overflow: hidden;
        pointer-events: none;
    }

        /* Normal mp4 video */
        .section-hrdf-1n0v-video-hero .hero-bg-media video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* YouTube iframe */
        .section-hrdf-1n0v-video-hero .hero-bg-media iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100vw;
            height: 56.25vw;
            min-width: 177.78vh;
            min-height: 100vh;
            transform: translate(-50%, -50%);
            border: 0;
            pointer-events: none;
        }

    /* Overlay videonun üstünde, yazının altında */
    .section-hrdf-1n0v-video-hero::before,
    .section-hrdf-1n0v-video-hero::after {
        z-index: 1;
    }

    /* İçerik en üstte */
    .section-hrdf-1n0v-video-hero > .container {
        position: relative;
        z-index: 2;
    }

@media (min-width: 980px) {
    [data-scid]:first-child > section {
        min-height: 100vh;
        min-height: 100dvh;
        display: flex;
        align-items: center;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

        [data-scid]:first-child > section > .container {
            width: 100%;
        }
}

@media (max-width: 980px) {
    .section-hrdf-1n0v-video-hero .hero-bg-media {
        left: -300px !important;
        width: calc(100% + 300px) !important;
    }

    .section-hrdf-1n0v-video-hero {
        background-position: -700px !important;
    }
}
