/* Domestic v7: mobile order, homepage-width QSF and stacked map. */

@media (max-width: 900px) {
    .domestic-map-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .domestic-map-copy {
        order: 1;
    }

    .domestic-map {
        min-width: 0;
        order: 2;
    }
}

@media (max-width: 700px) {
    .domestic-hero--photo {
        padding-top: 12px;
    }

    .domestic-hero--photo::after {
        display: none;
    }

    .domestic-hero--photo > .domestic-search {
        order: 1;
        width: calc(100% + 24px);
        max-width: none;
        margin: 0 -12px;
    }

    .domestic-hero--photo > .domestic-hero__photo {
        position: relative;
        inset: auto;
        grid-column: 1 / -1;
        order: 2;
        width: calc(100% + 24px);
        height: 230px;
        margin: 0 -12px;
        object-position: 54% 48%;
    }

    .domestic-hero--photo > .domestic-hero__credit {
        position: relative;
        inset: auto;
        justify-self: end;
        order: 3;
        margin: -40px 6px 5px 0;
        color: rgba(255, 255, 255, .9);
    }

    .domestic-hero--photo > .domestic-hero__copy {
        order: 4;
    }

    .domestic-hero--photo > .domestic-trust {
        order: 5;
    }

    .domestic-map-section {
        gap: 18px;
    }

    .domestic-map {
        min-height: 340px;
        width: 100%;
    }
}
