/* Loaded only on pages containing [foodcorps_gofundme]. */

/* Fill this banner at every viewport width without changing other page heroes. */
.foodcorps-anniversary-donate .text-header-b-figure {
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

.foodcorps-anniversary-donate .text-header-b-figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: none;
}

html {
    scrollbar-gutter: stable;
}

@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

/* Header scripts set transition: all inline. Never animate the SDK's top/width. */
body {
    transition-property: background-color !important;
}

/* SDK restores scroll before hiding its modal; restoration must be immediate. */
html:has(body > eg-modal:not([aria-hidden="true"])) {
    scroll-behavior: auto !important;
    /* Root paints the reserved gutter, outside the SDK's shadow-DOM backdrop. */
    background-color: #474746;
    background-color: color-mix(in srgb, #1a1919 80%, var(--bs-light, #fbfef9));
}
