/*slider*/
div.juxtapose {
    width: 100vw !important;
    height: 100vh !important;
}

div.jx-image.jx-left,
div.jx-image.jx-right {
    background-repeat: no-repeat;
    background-size: cover;
}

div.jx-image.jx-left.mg-left {
    background-image: url(../images/showroom-detail/xpower/mg4-xpower-back-mobile.jpg);
    background-attachment: local;
    background-size: unset;
}

div.jx-image.jx-right.mg-right {
    background-image: url(../images/showroom-detail/extended-range/mg4-extended-range-back-mobile.jpg);
    background-attachment: local;
    background-size: unset;
}

@media (min-width: 768px) {
    div.jx-image.jx-right.mg-right {
        background-image: url(../images/showroom-detail/extended-range/mg4-extended-range-back-desktop.jpg);
    }

    div.jx-image.jx-left.mg-left {
        background-image: url(../images/showroom-detail/xpower/mg4-xpower-back.jpg);
    }
}

.jx-slider .jx-handle div.jx-controller img {
    display: none;
}

.features-data {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .features-data {
        flex-direction: row;
    }
}

.mg-xpower-wrapper .features-data > div {
    color: black;
    border-color: black;
}

.features-data > div:first-child {
    border: none;
}

.features-data > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: 0.5rem;
}

@media (min-width: 768px) {
    .features-data > div {
        padding-block: 0;
        padding-inline: 1.5rem;
        border-left: 1px solid white;
    }
}

.features-data > div strong {
    font-size: clamp(2rem, 0.9511rem + 5.2766vw, 4rem);
    margin-right: 4px;
}
.features-data > div > span {
    font-size: clamp(1.8rem, 1.3745rem + 1.3617vw, 2.6rem);
}
.features-data > div > .feature-data-span {
    font-size: clamp(0.9rem, 0.6606rem + 0.766vw, 1.35rem);
}

@media (min-width: 768px) {
    .features-data > div strong {
        margin-right: 8px;
    }
}

.juxtapose-container {
    position: absolute;
    overflow: hidden;
    top: 10%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .juxtapose-container {
        gap: 2rem;
    }
}

.mg-xpower-wrapper .juxtapose-container {
    align-items: flex-start;
    width: 100%;
}

.mg-extended-range-wrapper .juxtapose-container {
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.juxtapose-logo {
    max-width: 500px;
    min-width: 300px;
    width: 80%;
    max-height: 100px;
    height: 100%;
    object-fit: contain;
}

.juxtapose-logo.juxtapose-logo-xpower {
    margin: 0 auto;
}

@media (min-width: 768px) {
    .juxtapose-logo.juxtapose-logo-xpower {
        margin: 0;
        margin-left: 6rem;
    }

    .juxtapose-logo.juxtapose-logo-extended-range {
        margin-right: 6rem;
        margin-bottom: 10px;
    }
}

.juxtapose-car {
    position: absolute;
    width: 700px;
    height: auto;
    left: 50% !important;
    top: 65%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

@media (min-width: 768px) {
    .juxtapose-car {
        top: 50%;
    }
}

.mg-xpower-wrapper {
    position: absolute;
    height: 100%;
    left: 0 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100vw;
}

.mg-extended-range-wrapper {
    position: absolute;
    height: 100%;
    right: 0 !important;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    width: 100vw;
}

@media screen and (max-width: 992px) {
    .mg-xpower-wrapper,
    .mg-extended-range-wrapper {
        height: 100vh;
        top: 0;
        right: 0;
        width: 100%;
    }
}
