/* Domestic v11: full-width visual hero around the unchanged QSF. */

.domestic-hero--photo {
    background: #edf5ff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    clip-path: none;
    display: block;
    isolation: isolate;
    overflow: visible;
    padding: 0;
    position: relative;
}

.domestic-hero--photo > .domestic-hero__photo {
    display: block;
    height: 100%;
    inset: 0;
    max-width: none;
    object-fit: cover;
    object-position: 54% 52%;
    position: absolute;
    transform: none;
    width: 100%;
    z-index: 0;
}

.domestic-hero--photo::after {
    background:
        linear-gradient(90deg, rgba(243,248,255,.99) 0%, rgba(243,248,255,.96) 25%, rgba(243,248,255,.8) 44%, rgba(243,248,255,.28) 69%, rgba(243,248,255,.08) 100%),
        linear-gradient(0deg, rgba(231,241,253,.8) 0%, rgba(231,241,253,0) 34%);
    content: "";
    display: block;
    height: 100%;
    inset: 0;
    pointer-events: none;
    position: absolute;
    transform: none;
    width: 100%;
    z-index: 1;
}

.domestic-hero__inner {
    display: grid;
    gap: 14px 34px;
    grid-template-columns: minmax(0, 1.04fr) minmax(330px, .96fr);
    padding-bottom: 28px;
    padding-top: 42px;
    position: relative;
    z-index: 2;
}

.domestic-hero__inner > .domestic-search,
.domestic-hero__inner > .domestic-trust {
    grid-column: 1 / -1;
    max-width: none;
    width: 100%;
}

.domestic-hero__inner > .domestic-search {
    justify-self: stretch;
    margin: 18px 0 0;
}

.domestic-hero__inner > .domestic-trust {
    margin: 0;
}

.domestic-hero--photo .domestic-hero__copy {
    max-width: 790px;
}

.domestic-hero--photo h1 {
    font-size: clamp(2.8rem, 4.15vw, 4.35rem);
    max-width: 830px;
}

.domestic-hero--photo .domestic-hero__benefits li {
    gap: 11px;
}

.domestic-hero--photo .domestic-hero__benefits img {
    background: linear-gradient(145deg, #3269da, #0c56b8);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(20, 82, 174, .2);
    box-sizing: border-box;
    flex-basis: 44px;
    height: 44px;
    padding: 8px;
    width: 44px;
}

.domestic-hero--photo .domestic-hero__benefits strong {
    font-size: .8rem;
}

.domestic-hero--photo .domestic-hero__benefits small {
    font-size: .66rem;
}

.domestic-hero--photo > .domestic-hero__credit {
    bottom: 5px;
    display: block;
    right: max(12px, calc((100vw - 1650px) / 2));
    z-index: 3;
}

@media (max-width: 1180px) {
    .domestic-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    }
}

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

@media (max-width: 700px) {
    .domestic-hero--photo {
        background: #eef6ff;
    }

    .domestic-hero--photo > .domestic-hero__photo,
    .domestic-hero--photo > .domestic-hero__credit,
    .domestic-hero--photo::after {
        display: none;
    }

    .domestic-hero__inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 18px;
        padding-top: 0;
    }

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

    .domestic-hero__inner > .domestic-hero__copy {
        order: 2;
        padding-top: 22px;
    }

    .domestic-hero__inner > .domestic-trust {
        order: 3;
    }
}
