.pre-section-title .section-title-wrapper>* {
    margin: 5rem 0;
}

.bfc-bg-photo-text {
    background-repeat: no-repeat;
    background-size: cover;
}

.bfc-bg-photo-text.photo-narrow {
    position: relative;
}

.bfc-bg-photo-text.photo-narrow::before {
    content: '';
    width: 100%;
}

.bfc-bg-photo-text.bfc-bg-photo-text-left.photo-narrow::before {
    right: 0;
    left: auto;
}

.bfc-bg-photo-text.bfc-bg-photo-text-right.photo-narrow::before {
    left: 0;
    right: auto;
}

@media (min-width:1200px) {
    .bfc-bg-photo-text.photo-narrow::before {
        width: 41.66666667%;
        height: 100%;
        background-size: cover;
        background-position: center center;
        position: absolute;
        top: 0;
    }
}

@media (min-width:1400px) {
    .bfc-bg-photo-text.photo-narrow::before {
        width: 58.33333333%;
    }
}

.bfc-bg-photo-text:hover .bfc-bg-photo-text-wrapper:before {
    opacity: .6
}

@media(max-width:767.98px) {
    .bfc-bg-photo-text:hover .bfc-bg-photo-text-wrapper:before {
        opacity: 1
    }
}

.bfc-bg-photo-text.bfc-bg-photo-text-right .row {
    justify-content: flex-end
}

.bfc-bg-photo-text.bfc-bg-photo-text-left .row {
    justify-content: flex-start
}

.bfc-bg-photo-text.bfc-bg-photo-text-left .row .bfc-bg-photo-text-wrapper {
    text-align: right
}

.bfc-bg-photo-text .row .bfc-bg-photo-text-wrapper .btn {
    margin: 2rem 0;
}

.bfc-bg-photo-text+style+.bfc-bg-photo-text,
.bfc-bg-photo-text+.bfc-bg-photo-text {
    margin-top: 4rem
}

.bfc-bg-photo img {
    height: auto;
    max-width: 100%
}

.bfc-bg-photo-text-wrapper {
    padding: 2rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative
}

.bfc-bg-photo-text-wrapper>:not(.btn) {
    color: #ffe500;
    position: relative;
    z-index: 1
}

.bfc-bg-photo-text-wrapper h2 {
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 6.3rem;
    margin: 0;
    text-shadow: 0 0 15px rgba(0, 0, 0, .99)
}

.bfc-bg-photo-text-wrapper h5 {
    font-size: 2.3rem;
    font-weight: 200;
    line-height: 3.3rem;
    margin: 0;
    padding-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 0, 0, .99)
}

.bfc-bg-photo-text-wrapper p {
    font-size: 1.8rem;
    line-height: 3rem;
    padding-top: 2.4rem
}

.bfc-bg-photo-text-wrapper:before {
    background-color: #152d34;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    opacity: .8;
    position: absolute;
    top: 0;
    transition: opacity .3s ease;
    width: 100%;
    z-index: 0
}

.bfc-bg-photo-text-wrapper .btn {
    margin: 2rem auto 0;
    position: relative;
    z-index: 1
}

@media (min-width:1400px) and (max-width:1800px) {
    .bfc-bg-photo-text .bfc-bg-photo-text-wrapper {
        padding: 5rem 6rem 3rem;
    }

    .bfc-bg-photo-text .bfc-bg-photo-text-wrapper p {
        font-size: 1.4rem;
    }
}

@media (min-width:1400px) {
    .bfc-bg-photo-text {
        /* aspect-ratio: 1920 / 500; */
        display: flex;
    }

    .bfc-bg-photo-text .bfc-bg-photo-text-wrapper,
    .bfc-bg-photo-text .row>*,
    .bfc-bg-photo-text .row {
        height: 100%;
    }
}

@media (min-width:1200px) {

    .bfc-bg-photo-text-wrapper,
    .bfc-bg-photo-text+style+.bfc-bg-photo-text,
    .bfc-bg-photo-text+.bfc-bg-photo-text {
        min-height: 500px;
    }
}

@media(max-width:1399.98px) {
    .bfc-bg-photo-text-wrapper {
        padding: 7rem 3rem
    }

    .bfc-bg-photo-text-wrapper h2 {
        font-size: 3.4rem;
        line-height: 3.7rem;
        padding-bottom: 1rem
    }

    .bfc-bg-photo-text-wrapper h5 {
        font-size: 2.8rem;
        line-height: 2.3rem
    }
}

@media(max-width:767.98px) {
    .bfc-bg-photo-text-wrapper {
        padding: 3rem 2rem 3.7rem
    }

    .bfc-bg-photo-text-wrapper h2 {
        font-size: 2.4rem;
        line-height: 2.7rem
    }

    .bfc-bg-photo-text-wrapper h5 {
        font-size: 1.8rem;
        line-height: 1.3rem
    }

    .bfc-bg-photo-text-wrapper p {
        font-size: 1.6rem;
        line-height: 1.8rem
    }

    .bfc-bg-photo-text-wrapper .btn {
        margin: 4.5rem auto 0
    }

    .bfc-bg-photo-text {
        background-image: unset !important
    }

    .bfc-bg-photo-text .bfc-bg-photo-text-wrapper:before {
        opacity: 1
    }

    .bfc-bg-photo-text .bfc-bg-photo-text-wrapper .btn {
        margin: 2.6rem auto 0
    }
}