/* Full-width photographic treatment for Carry Care Mobility. */
.cm-care-hero {
    min-height: clamp(36rem, 72vh, 48rem);
    color: #fff;
    background-color: #071d31;
    background-image:
        linear-gradient(90deg, rgba(4, 21, 36, .98) 0%, rgba(4, 21, 36, .92) 37%, rgba(4, 21, 36, .57) 57%, rgba(4, 21, 36, .14) 79%, rgba(4, 21, 36, .04) 100%),
        url('/img/care-mobility/hero/hero_1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cm-care-hero > div {
    position: relative;
    z-index: 1;
}

.cm-care-hero > div > span {
    color: #b8ff5a;
}

.cm-care-hero p {
    max-width: 47rem;
}

.cm-care-hero + .cm-grid {
    margin-top: -4.25rem;
}

@media (max-width: 760px) {
    .cm-care-hero {
        min-height: 40rem;
        padding-top: 5rem;
        padding-bottom: 6rem;
        background-image:
            linear-gradient(180deg, rgba(4, 21, 36, .95) 0%, rgba(4, 21, 36, .86) 60%, rgba(4, 21, 36, .73) 100%),
            url('/img/care-mobility/hero/hero_1.png');
        background-position: 67% center;
    }

    .cm-care-hero + .cm-grid {
        margin-top: -3rem;
    }
}
