main .page-hero.consultation-flag-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 70% -35%, #c7343c66, transparent 58%),
        linear-gradient(108deg, #921321, #a81722 58%, #b91d27);
}

.consultation-flag-banner::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-end: -20px;
    z-index: -1;
    aspect-ratio: 3.4;
    background: url("visuals/uimmigrate-consultation-extended-waves.webp") center / cover no-repeat;
    mask-image: linear-gradient(to right,
        transparent 0%, #0001 12%, #0005 24%,
        #000b 36%, #000e 46%, #000 55%);
}

main .consultation-flag-banner :is(h1, .hero-summary) { color: #fff; }
main .consultation-flag-banner .eyebrow { color: #fff0ee; }
main .consultation-flag-banner .hero-summary { max-width: min(60%, 72ch); }

@media (max-width: 900px) {
    .consultation-flag-banner::before { opacity: .62; }
}

@media (max-width: 650px) {
    .consultation-flag-banner::before {
        inset-inline-end: -70px;
        opacity: .27;
    }
    main .consultation-flag-banner .hero-summary { max-width: 43ch; }
}

.consultation-flag-banner + .consultation-booking-entry {
    padding-block-start: clamp(24px, 3vw, 40px);
}

.consultation-flag-banner:has(+ .consultation-booking-entry) h1 {
    max-width: 72%;
}

@media (max-width: 650px) {
    .consultation-flag-banner:has(+ .consultation-booking-entry) h1 { max-width: 100%; }
}
