/* R46: reduce cumulative section whitespace across all page families.
   Geometry only; preserve content, interactive behavior, colour schemes and hero. */
:root{--nesto-section-space:clamp(22px,2.8vw,36px);--nesto-section-space-mobile:18px}
/* R45 assigned 28-54px to every nested section, doubling neighbouring gaps.
   Restore compact natural flow, while keeping readable content separation. */
body[data-nesto-page] main > section:not(.hero):not(.bp-hero):not(.r40-hero):not(.bank-hero):not(.nesto-hero):not(.nesto-unified-home-promo),
body[data-nesto-page] main .section:not(.hero),
body[data-nesto-page] main .bank-section,
body[data-nesto-page] main .bp-section,
body[data-nesto-page] main .r40-section{
 min-height:0!important;height:auto!important;
 padding-top:clamp(22px,2.8vw,36px)!important;
 padding-bottom:clamp(22px,2.8vw,36px)!important;
}
body[data-nesto-page] main .bank-intro{padding-top:20px!important;padding-bottom:12px!important}
body[data-nesto-page] main .nesto-overview{margin-top:12px!important;margin-bottom:16px!important;padding-top:14px!important;padding-bottom:14px!important}
body[data-nesto-page] main .bank-section :is(h2,h3){margin-bottom:12px!important}
body[data-nesto-page] main .bank-section :is(p,ul){margin-top:8px!important;margin-bottom:12px!important}
body[data-nesto-page] main .bank-columns{gap:clamp(12px,2vw,24px)!important}
/* Homepage: make the promotion a genuinely compact embossed ribbon, not an
   enormous full-width card with the copy stranded on its left edge. */
body[data-nesto-page="index"] main .nesto-unified-home-promo{
 box-sizing:border-box!important;width:calc(100% - 32px)!important;
 max-width:720px!important;margin:12px auto 18px!important;
 padding:12px 16px!important;display:flex!important;align-items:center!important;
 gap:16px!important;min-height:0!important;height:auto!important;
}
body[data-nesto-page="index"] main .nesto-unified-home-promo>img{
 width:74px!important;height:74px!important;flex:0 0 74px!important;
}
body[data-nesto-page="index"] main .nesto-unified-home-promo>div{flex:1 1 auto!important;min-width:0!important}
body[data-nesto-page="index"] main .nesto-unified-home-promo h2{margin:2px 0 4px!important;line-height:1.2!important}
body[data-nesto-page="index"] main .nesto-unified-home-promo p{margin:2px 0!important}
body[data-nesto-page="index"] main .nesto-unified-home-promo a{margin-top:8px!important}
@media(max-width:780px){
 :root{--nesto-section-space:18px}
 body[data-nesto-page] main > section:not(.hero):not(.bp-hero):not(.r40-hero):not(.bank-hero):not(.nesto-hero):not(.nesto-unified-home-promo),
 body[data-nesto-page] main .section:not(.hero),
 body[data-nesto-page] main .bank-section,
 body[data-nesto-page] main .bp-section,
 body[data-nesto-page] main .r40-section{
  padding-top:18px!important;padding-bottom:20px!important;
  min-height:0!important;height:auto!important;
 }
 body[data-nesto-page] main .bank-intro{padding-top:16px!important;padding-bottom:8px!important}
 body[data-nesto-page] main .nesto-overview{margin-top:8px!important;margin-bottom:10px!important;padding-top:10px!important;padding-bottom:10px!important}
 body[data-nesto-page="index"] main .nesto-unified-home-promo{
  max-width:600px!important;width:calc(100% - 24px)!important;
  margin:8px auto 12px!important;padding:12px!important;gap:10px!important;
 }
 body[data-nesto-page="index"] main .nesto-unified-home-promo>img{
  width:56px!important;height:56px!important;flex:0 0 56px!important;
 }
}
