@media (max-width: 800px) {
    body :is(#swiper-banners .main-banner, .main-banner) .main-banner__wrapper:has(> .main-banner__img) {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        margin: 0;
        overflow: hidden;
        border-radius: 8px;
        background: #174e52;
    }

    body :is(#swiper-banners .main-banner, .main-banner) .main-banner__wrapper > .main-banner__img {
        position: relative;
        inset: auto;
        order: -1;
        width: 100%;
        height: clamp(220px, 82vw, 490px);
        max-width: none;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }

    body :is(#swiper-banners .main-banner, .main-banner) .main-banner__img :is(a, picture, img) {
        display: block;
        width: 100%;
        height: 100%;
    }

    body :is(#swiper-banners .main-banner, .main-banner) .main-banner__img img {
        object-fit: cover;
        object-position: center;
    }

    #swiper-banners.swiper-main-banner--supplied .main-banner--supplied-image .main-banner__img img {
        object-position: right center;
        object-view-box: inset(0 0 0 45%);
    }

    body :is(#swiper-banners .main-banner, .main-banner) .main-banner__img::after {
        position: absolute;
        z-index: 1;
        inset: auto 0 0;
        height: 30%;
        content: "";
        background: linear-gradient(to bottom, transparent, #174e52);
        pointer-events: none;
    }

    body :is(#swiper-banners .main-banner, .main-banner) .main-banner__wrapper > .main-banner__info:has(+ .main-banner__img) {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: clamp(25px, 8vw, 42px) 20px 28px;
        background: #174e52;
        color: #fff;
    }

    body .main-banner__info:has(+ .main-banner__img) .wmt-line {
        display: none;
    }

    body .main-banner__info:has(+ .main-banner__img) :is(.wmt-line__title, .wmt-line__subtitle) {
        color: inherit;
        overflow-wrap: anywhere;
    }

    body .main-banner__info:has(+ .main-banner__img) .wmt-line__title {
        font-size: clamp(22px, 5.6vw, 34px);
        line-height: 1.22;
    }

    body .main-banner__info:has(+ .main-banner__img) .wmt-line__subtitle {
        font-size: clamp(16px, 4vw, 22px);
        line-height: 1.4;
    }

    body .main-banner__info:has(+ .main-banner__img) .wmt-line__link {
        box-sizing: border-box;
        width: auto;
        max-width: 100%;
        height: auto;
        min-height: 44px;
        padding: 9px 18px;
        border-color: currentColor;
        background: transparent;
        color: #fff;
        white-space: normal;
    }


    #swiper-banners.swiper-main-banner > .swiper-pagination {
        position: relative;
        inset: auto;
        z-index: 2;
        height: auto;
        min-height: 24px;
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Service banners can contain several paragraphs and actions. */
    body .wmt-service-detail > .wmt-service-detail__hero:has(> .wmt-service-detail__hero-media) {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 0;
    }

    body .wmt-service-detail__hero > .wmt-service-detail__hero-media {
        order: -1;
        aspect-ratio: auto;
    }

    body .wmt-service-detail__hero > .wmt-service-detail__hero-media > .wmt-service-detail__hero-image {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: clamp(240px, 65vw, 420px);
        aspect-ratio: auto;
        object-fit: contain;
    }

    body .wmt-service-detail__legacy-hero .full_width_banner img {
        display: block;
        width: 100%;
        height: auto;
    }
}
