.bg-photo-text {
    position: relative;
    padding: 32px 0;
}

.bg-photo-text .boxes-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

.bg-photo-text .boxes-item .btn-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    opacity: 0;
    transition: opacity .3s ease;
}

.bg-photo-text .block-content {
    aspect-ratio: 1920 / 600;
    width: 100%;
    height: auto;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg-photo-text .block-description {
    background: rgba(0, 0, 51, 0.80);
    padding: 64px;
    color: #fff;
    max-width: 40%;
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.bg-photo-text .block-description * {
    color: #fff;
}

.bg-photo-text .block-description h1,
.bg-photo-text .block-description h2,
.bg-photo-text .block-description h3,
.bg-photo-text .block-description h4,
.bg-photo-text .block-description h5,
.bg-photo-text .block-description h6 {
    text-transform: uppercase;
    font-weight: 700;
}

.bg-photo-text.text_direction .block-description {
    margin-left: auto;
}

.bg-photo-text .block-image {
    display: none;
}

@media (max-width:1440px) {
    .bg-photo-text .block-description {
        padding: 48px;
        max-width: 55%;
    }
}

@media (max-width:1199px) {
    .bg-photo-text {
        padding: 48px 0
    }
}

@media (max-width:991px) {
    .bg-photo-text .block-image {
        display: flex;
    }

    .bg-photo-text .block-image img {
        width: 100%;
        aspect-ratio: 359 / 184;
        height: auto;
        object-fit: cover;
    }

    .bg-photo-text .block-description {
        max-width: 100%;
        backdrop-filter: blur(12.5px);
        padding: 16px;
    }
}

@media (max-width:768px) {
    .bg-photo-text {
        padding: 16px 0;
    }
}