.banner {
    width: 100%;
    position: relative;
}

.banner.border-top {
    border-top: 1px solid var(--color-black);
}

.banner.border-bottom {
    border-bottom: 1px solid var(--color-black);
}

.banner:after {
    content: "";
    display: block;
    position: relative;
    pointer-events: none;
    width: 100%;
    padding-bottom: 42.5%;
}

.banner > * {
    position: absolute;
    height: 100%;
}

.banner.fullwidth .image,
.banner.fullwidth .carousel,
.banner.fullwidth .text-block {
    width: 100%;
    top: 0;
    left: 0;
}

.banner.halfs .image,
.banner.halfs .carousel {
    width: 50%;
    left: 0;
}

.banner.fullwidth .banner-title {
    width: 28vw;
}

.banner .text-block {
    z-index: 2;
    pointer-events: none;
}

.banner.halfs .text-block {
    left: 50%;
    width: 50%;
    padding-bottom: 4.7vw;
}

.banner.six-four .image,
.banner.six-four .carousel {
    width: 62%;
    left: 0;
}

.banner.fullwidth .carousel .swiper-wrapper,
.banner.fullwidth .carousel .swiper-slide {
    width: 100%;
    height: 100%;
}

.banner.six-four .text-block {
    width: 38%;
    left: 62%;
    padding-bottom: 4.7vw;
}

.banner.fullwidth .text-block.white {
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.banner .desktop,
.banner .mobile {
    position: absolute;
    top: 0;
    left: 0;
}

.banner .mobile {
    display: none;
}

.banner .desktop,
.banner .mobile,
.banner picture,
.banner img {
    width: 100%;
    height: 100%;
}

.banner img {
    display: block;
    object-fit: cover;
}

.swiper-gallery .swiper-pagination {
    top: unset;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-gallery .swiper-pagination-bullet {
    background: #b5b4b1;
    opacity: 1 !important;
}

.swiper-gallery .swiper-pagination-bullet-active {
    background: var(--color-white);
}

.banner .text-block .banner-content {
    height: 100%;
    width: 100%;
    padding: 2.2vw 1.82vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.banner.fullwidth .text-block .banner-content {
    width: 37vw;
}

.banner .text-block .button {
    pointer-events: initial;
    position: absolute;
}

.banner.halfs .text-block,
.banner.six-four .text-block {
    border-left: 1px solid var(--color-black);
}

.banner.halfs .text-block .button,
.banner.six-four .text-block .button {
    bottom: 0;
    left: 0;
    width: 100%;
}

.banner.fullwidth .text-block .button {
    right: 1.82vw;
    bottom: 2.2vw;
    background-color: transparent !important;
    font-size: 1.33rem;
    line-height: 1.6rem;
    height: auto;
    padding-right: 3vw;
    text-decoration: underline;
}

.banner.fullwidth .text-block.white .button {
    filter: invert(100%);
}

.banner.halfs .text-block .button,
.banner.six-four .text-block .button {
    padding: 0 1.66vw;
    border-top: 1px solid var(--color-black);
}

.banner.six-four .text-block .banner-content .banner-title {
    font-size: 2rem;
    line-height: 2.4rem;
}

.icon-3d {
    position: absolute;
    width: 3.9vw;
    height: 3.9vw;
    background: url("../../images/360.svg");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 3;
}

.banner.fullwidth .icon-3d {
    top: 3.65vw;
    right: 31vw;
}

.banner.halfs .icon-3d {
    top: 2.2vw;
    right: 52.2vw;
}

.banner.six-four .icon-3d {
    top: 2.2vw;
    right: 40.2vw;
}

@media only screen and (max-width: 768px) {
    .banner {
        height: 185vw;
    }

    .banner.m_separated {
        height: auto;
    }

    .banner:after {
        content: none;
    }

    .banner .desktop {
        display: none;
    }

    .banner .mobile {
        display: block;
    }

    .banner > * {
        width: 100% !important;
        left: 0 !important;
        top: 0 !important;
    }

    .banner.m_separated > *,
    .banner.m_separated .mobile {
        position: relative;
    }

    .banner.m_separated picture {
        height: 90vw;
        display: block;
    }

    .banner .text-block {
        padding-bottom: 14vw !important;
    }

    .banner.m_separated .text-block {
        padding-bottom: 0 !important;
    }

    .banner .text-block.white {
        color: var(--color-white);
        background: rgba(0, 0, 0, 0.15);
        pointer-events: none;
    }

    .swiper-gallery .swiper-pagination {
        display: none;
    }

    .banner .text-block .banner-content {
        padding: 4.615vw 6.15vw !important;
        width: 100% !important;
    }
    

    .banner.m_separated .text-block .banner-content {
        display: block;
        float: left;
    }

    .banner.m_separated .text-block .banner-content .banner-subtitle {
        margin-bottom: 6.5vw;
    }

    .banner .text-block .banner-content .banner-title {
        font-size: 2rem !important;
        line-height: 2.2rem !important;
    }

    .banner.m_separated .text-block .banner-content .banner-title {
        margin-bottom: 22vw;
        display: block;
    }

    .banner .text-block .button,
    .banner.fullwidth .text-block .button {
        background-color: transparent !important;
        padding: 0 6.15vw !important;
        width: 100%;
        border-top: 0 !important;
        text-decoration: underline;
        font-size: 1rem;
        line-height: 1rem;
        height: 16vw;
        right: 0;
    }

    .banner .text-block.white .button {
        filter: invert(100%);
    }

    .banner.m_separated .text-block.white .button {
        filter: none;
        border-top: 1px solid var(--color-black) !important;
        margin-top: 6.5vw;
        text-decoration: none;
        float: left;
        position: relative;
        bottom: unset;
    }

    .banner.banner.m_separated .text-block.white {
        background-color: var(--color-white);
        color: var(--color-black);
    }

    .icon-3d {
        width: 19vw !important;
        height: 20vw;
        right: unset !important;
        left: 12.85vw !important;
        top: 55.5vw !important;
    }

    .banner.m_separated .icon-3d {
        position: absolute;
        top: 12.85vw !important;
    }

    .banner.fullwidth .banner-title {
        width: 100%;
    }

    .banner.halfs .text-block,
    .banner.six-four .text-block {
        border-left: 0;
    }
}
