.banner-video {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    /* overflow: hidden; */
    background: #0E121D;
}

/* Match 1920×1080 (16:9) video on wide screens — no crop */
@media (min-width: 992px) {
    .banner-video--native {
        aspect-ratio: 16 / 7;
        min-height: 0;
        height: auto;
    }
}

.banner-video__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    top: -10%;
    overflow: hidden;
}

.banner-video--native .banner-video__file {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-height: 1680px;
    max-width: none;
    flex: none;
    display: block;
    object-fit: cover;
    object-position: center center;
}

.banner-video:not(.banner-video--native) .banner-video__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-video:not(.banner-video--native) .banner-video__file {
    flex: 0 0 auto;
    display: block;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.banner-video__fallback {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.banner-video__youtube {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.banner-video__youtube iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
}

.banner-video__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14, 18, 29, 0.82) 0%, rgba(14, 18, 29, 0.45) 55%, rgba(14, 18, 29, 0.25) 100%);
}

.banner-video .container {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 120px;
}

.banner-video__content {
    max-width: 820px;
    color: #fff;
}

.banner-video__subtitle {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--builza-base, #FF5E14);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.banner-video__title {
    color: #fff;
    font-size: 54px;
    line-height: 1.15;
    margin-bottom: 22px;
}

.banner-video__title span {
    color: var(--builza-base, #FF5E14);
}

.banner-video__text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 560px;
    font-size: var(--builza-text-size-intro, 20px);
    line-height: var(--builza-text-line-intro, 1.7);
}

.banner-video__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.banner-video__play {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
}

.banner-video__play .fa-play {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--builza-base, #FF5E14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html[dir="rtl"] .banner-video__overlay {
    background: linear-gradient(270deg, rgba(14, 18, 29, 0.82) 0%, rgba(14, 18, 29, 0.45) 55%, rgba(14, 18, 29, 0.25) 100%);
}

@media (max-width: 991px) {
    .banner-video {
        min-height: 560px;
    }

    .banner-video__title {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .banner-video__title {
        font-size: 32px;
    }
}
