/* Custom homepage hero image — fill hero column to the bottom edge */
section[data-framer-name="Hero section"] {
    overflow: visible !important;
}

section[data-framer-name="Hero section"] .framer-yea2bj,
section[data-framer-name="Hero section"] .framer-n2mdgz,
section[data-framer-name="Hero section"] [data-framer-name="Image"] {
    height: 100% !important;
    min-height: 100% !important;
    align-self: stretch !important;
}

section[data-framer-name="Hero section"] .framer-n2mdgz {
    align-items: flex-end !important;
    justify-content: center !important;
}

section[data-framer-name="Hero section"] [data-framer-name="Image"] {
    display: flex !important;
    flex: 1 1 auto !important;
    place-content: flex-end center !important;
    align-items: flex-end !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}

section[data-framer-name="Hero section"] [data-framer-name="Image"] [data-framer-background-image-wrapper="true"] {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: 0 !important;
    left: auto !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
}

img[alt*="Hand holding phone" i],
img[src*="hero-mobile-app"] {
    display: block !important;
    width: auto !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: bottom center !important;
    background: transparent !important;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (min-width: 810px) {
    section[data-framer-name="Hero section"] [data-framer-name="Image"] {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    img[alt*="Hand holding phone" i],
    img[src*="hero-mobile-app"] {
        max-height: 100% !important;
    }
}

@media (max-width: 809.98px) {
    section[data-framer-name="Hero section"] [data-framer-name="Image"] {
        min-height: 52vh !important;
    }
}

/* Hide removed Cash Management and Brokerage homepage sections */
section.framer-msoepv,
section.framer-65jtcu,
section.framer-1aw508n {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

a[href*="cash-management"],
a[href*="brokerage-services"],
a[href*="atomicbrokerage"] {
    display: none !important;
}
