/* Photographic cover review: shorter, lighter overlays and clear mobile photographs. */
body.b-site main section[class$="-cover"]:before,
body.b-site main section.b-sky-cover:before,
body.b-master-palette main section.b-sky-cover:before{
 background:linear-gradient(90deg,rgba(240,246,252,.86) 0%,rgba(240,246,252,.79) 24%,rgba(240,246,252,.62) 40%,rgba(240,246,252,.08) 58%,transparent 70%)!important;
}
body.b-site main section.b-succession-cover:before,
body.b-site main section.b-wholelife-cover:before{
 background:linear-gradient(90deg,rgba(240,246,252,.84),rgba(240,246,252,.74) 25%,rgba(240,246,252,.56) 42%,rgba(240,246,252,.08) 58%,transparent 68%)!important;
}
body.b-site.b-master-palette main section.b-process-photo:before{
 background:linear-gradient(270deg,rgba(240,246,252,.82),rgba(240,246,252,.54) 20%,transparent 40%)!important;
}
body.b-site main .ib-education-copy{background:rgba(240,246,252,.74)}
body.b-site main #banco-infinito .ib-education-copy{background:rgba(240,246,252,.74)}
body.b-site main section[class$="-cover"]>img,
body.b-site main section.b-sky-cover>img,
body.b-site main .lp-photo img,
body.b-site main #bm-medicare .hero img{opacity:1!important;filter:none!important}
body.b-site main .lp-hero:after{
 background:linear-gradient(90deg,rgba(240,246,252,.86),rgba(240,246,252,.79) 26%,rgba(240,246,252,.58) 42%,rgba(240,246,252,.08) 60%,transparent 72%);
}
body.b-site main .lp-hero-clinical:after{
 background:linear-gradient(90deg,#fff 0%,#fff 30%,rgba(255,255,255,.70) 39%,rgba(255,255,255,.10) 53%,transparent 65%);
}
body.b-site main .lp-hero-retirement:after{
 background:linear-gradient(90deg,rgba(240,246,252,.85),rgba(240,246,252,.76) 27%,rgba(240,246,252,.52) 44%,rgba(240,246,252,.06) 60%,transparent 72%);
}
/* These layouts place copy beside or below the photo; no veil is necessary. */
body.b-site main :is(.lp-hero-work,.lp-hero-home,.lp-hero-care,.lp-hero-enterprise) .lp-photo:after,
body.b-site main .lp-hero-home .lp-photo:before{background:none}
body.b-site main .lp-hero-journey:after{
 background:linear-gradient(90deg,rgba(16,25,42,.87),rgba(16,25,42,.68) 30%,rgba(16,25,42,.13) 60%,transparent 78%);
}
body.b-site main #bm-medicare .hero:before{
 background:linear-gradient(90deg,rgba(240,246,252,.88),rgba(240,246,252,.78) 25%,rgba(240,246,252,.50) 44%,rgba(240,246,252,.06) 61%,transparent 72%)!important;
}
@media(max-width:800px){
 /* Put copy on its own surface instead of whitening the photograph on mobile. */
 body.b-site main section[class$="-cover"],body.b-site main section.b-sky-cover{min-height:0!important}
 body.b-site main section[class$="-cover"]:before,
 body.b-site main section.b-sky-cover:before,
 body.b-master-palette main section.b-sky-cover:before{display:none!important}
 body.b-site main section[class$="-cover"]>img,
 body.b-site main section.b-sky-cover>img{position:relative!important;inset:auto!important;left:auto!important;width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important}
 body.b-site main section[class$="-cover"]>.b-wrap,
 body.b-site main section.b-sky-cover>.b-wrap{min-height:0!important;padding:30px 24px!important;justify-content:flex-start!important}
 body.b-site main section.b-sky-cover.b-sky-portrait>img{max-height:520px;object-fit:contain!important}
 body.b-site main #banco-infinito .ib-education-copy{background:#F0F6FC}
}
@media(max-width:760px){
 body.b-site main .lp-hero:after{display:none}
 body.b-site main .lp-photo:after,body.b-site main .lp-photo:before{background:none!important}
 body.b-site main #bm-medicare .hero{display:block;min-height:0}
 body.b-site main #bm-medicare .hero:before{display:none!important}
 body.b-site main #bm-medicare .hero img{position:relative;inset:auto;width:100%;height:auto;min-height:0;object-fit:contain;z-index:0}
 body.b-site main #bm-medicare .hero .copy{width:100%;padding:30px 24px}
}
/* Nuestro proceso already uses a separate photo at these widths. */
@media(min-width:801px) and (max-width:1100px){
 body.b-site.b-master-palette main section.b-process-photo:before{display:none!important}
}
