/* A shared background and transparency fade remove the pasted-image seam. */
.front-hero.hero-food {
    --hero-surface: #0b8055;
    background: var(--hero-surface);
}
.front-hero.hero-grocery {
    --hero-surface: #edf8e9;
    background: var(--hero-surface);
}
.front-hero.hero-grocery .hero-art {
    /* The cream photo backdrop picks up the card colour, without blurring it. */
    mix-blend-mode: multiply;
}
.front-hero.hero-food .hero-art,
.front-hero.hero-grocery .hero-art {
    width: 72%;
}
.front-hero.hero-grocery .hero-art img {
    object-fit: contain;
    object-position: right center;
    transform: scale(1.12);
    transform-origin: right center;
}
.front-hero.hero-food .hero-art,
.front-hero.hero-grocery .hero-art {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, rgba(0,0,0,.55) 24%, #000 40%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.12) 10%, rgba(0,0,0,.55) 24%, #000 40%, #000 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.front-hero.hero-food .hero-art::before,
.front-hero.hero-grocery .hero-art::before {
    background: none;
    pointer-events: none;
}
/* Older browsers still get a matching, soft overlay instead of a hard seam. */
@supports not ((mask-image: linear-gradient(black, transparent)) or (-webkit-mask-image: linear-gradient(black, transparent))) {
    .front-hero.hero-food .hero-art::before,
    .front-hero.hero-grocery .hero-art::before {
        z-index: 1;
        background: linear-gradient(90deg, var(--hero-surface), transparent 36%);
    }
}
