/* Explicit hero frames replace historical overscan, padding and translate offsets. */
.mba-hub-v7[data-hub=payments] .hg-hero-image,.mba-hub-v7[data-hub=deposits] .hg-hero-image{inset:0;margin:0;padding:0;border:0;width:100%;max-width:100%;height:100%;display:block;object-fit:cover;object-position:right top;transform:none}
.mba-hub-v7[data-hub=payments] .hg-hero{aspect-ratio:auto;height:auto;min-height:0}.mba-hub-v7[data-hub=payments] .hg-hero>.hg-wrap{position:relative;inset:auto;width:92%;max-width:1320px;height:auto}.mba-hub-v7[data-hub=payments] .hg-hero-copy{position:relative;inset:auto;width:58%;max-width:760px;transform:none;padding:28px 0}.mba-hub-v7[data-hub=payments] .hg-tiles{width:100%}.mba-hub-v7[data-hub=payments] .hg-hero h1{font-size:clamp(52px,4.6vw,70px)}
.mba-hub-v7[data-hub=deposits] .hg-hero{min-height:470px}.mba-hub-v7[data-hub=deposits] .hg-hero>.hg-wrap{min-height:470px}.mba-hub-v7[data-hub=deposits] .hg-hero-copy{padding-top:28px;padding-bottom:28px}
.banks-directory .directory-hero-layout{align-items:stretch;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.banks-directory .directory-hero-art{align-self:stretch;min-width:0;padding:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;max-width:100%}.banks-directory .directory-bank-art{width:100%;height:100%;max-height:none;min-height:0;display:block;object-fit:contain;object-position:center top;animation:none;transform:none}.banks-directory .directory-hero-art>p{margin:0;align-self:end}
@media(min-width:1600px){.mba-hub-v7[data-hub=deposits] .hg-hero,.mba-hub-v7[data-hub=deposits] .hg-hero>.hg-wrap{min-height:485px}}
@media(max-width:900px){.mba-hub-v7[data-hub=payments] .hg-hero{aspect-ratio:auto;height:auto;min-height:0;display:flex;flex-direction:column}.mba-hub-v7[data-hub=payments] .hg-hero>.hg-wrap{position:relative;width:calc(100% - 32px);height:auto;order:0}.mba-hub-v7[data-hub=payments] .hg-hero-copy{position:relative;inset:auto;width:100%;max-width:none;transform:none;padding:28px 0 24px}.mba-hub-v7[data-hub=payments] .hg-hero-image{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:2.2;object-fit:cover;object-position:right top;opacity:1;mask-image:none;-webkit-mask-image:none}.mba-hub-v7[data-hub=payments] .hg-tiles{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.mba-hub-v7[data-hub=payments] .hg-hero h1{font-size:48px}.mba-hub-v7[data-hub=payments] .hg-hero-lead{font-size:17px}.mba-hub-v7[data-hub=payments] .hg-desktop-break{display:none}
.mba-hub-v7[data-hub=deposits] .hg-hero{display:flex;flex-direction:column;min-height:0}.mba-hub-v7[data-hub=deposits] .hg-hero>.hg-wrap{order:0;min-height:0;width:calc(100% - 32px)}.mba-hub-v7[data-hub=deposits] .hg-hero-image{position:relative;inset:auto;order:1;width:100%;height:auto;aspect-ratio:2.2;object-fit:cover;object-position:right top;opacity:1;mask-image:none;-webkit-mask-image:none}.mba-hub-v7[data-hub=deposits] .hg-hero-shade{display:none}.mba-hub-v7[data-hub=deposits] .hg-hero-copy{width:100%;max-width:none}.mba-hub-v7[data-hub=deposits] .hg-slogan{display:none}}
@media(max-width:650px){.banks-directory .directory-hero-layout{grid-template-columns:minmax(0,1fr);gap:22px}.banks-directory .directory-hero-art{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto;align-items:center;gap:12px}.banks-directory .directory-bank-art{height:auto;max-height:180px;object-fit:contain}.banks-directory .directory-hero-art>p{align-self:center;flex-wrap:wrap}}

.hg-hero:has(.hg-deposits-hero-copy) .hg-hero-image{bottom:0;height:100%}.directory-hero-layout .directory-hero-art{align-self:stretch;height:auto!important;margin-top:0!important;margin-bottom:0!important}

@media(min-width:901px){.mba-hub-v7[data-hub=payments] .hg-hero-lead{max-width:600px;font-size:20px;line-height:1.4}.mba-hub-v7[data-hub=payments] .hg-hero-shade{display:block;position:absolute;inset:0;width:100%;height:100%;background:linear-gradient(90deg,#faf7f1 0%,#faf7f1f5 36%,#faf7f100 66%);pointer-events:none}}
