/* SISTEMAS 21 v3.1.27 — corrección de imágenes sin sustituir contenido. */
.s21v312 main,.s21v312 main :where(section,figure,picture,.wrap,.cms-two,.cms-grid,.s21rd-hero-grid,.s21h-hero-grid,.s21rd-cards,.s21h-service,.s21rd-team-card){min-width:0;box-sizing:border-box}
.s21v312 main :where(img,video,svg){max-width:100%;box-sizing:border-box}
.s21v312 main :where(picture,figure,.cms-visual,.s21-v29-gallery,.s21rd-team-photo,.s21-team-photo,.s21rd-hero-art,.s21h-hero-art){max-width:100%;min-width:0;box-sizing:border-box}
/* Keep editorial photography inside the artwork frame, not beyond its edges. */
.s21v312 main :is(.cms-visual,.s21-v29-gallery,.s21rd-team-photo,.s21-team-photo,.s21rd-hero-art,.s21h-hero-art){overflow:hidden}
.s21v312 main :is(.cms-visual,.s21rd-team-photo,.s21-team-photo) img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center}
.s21v312 main .cms-two>img,.s21v312 main .s21-widget-kind-image figure>img{display:block;max-width:100%;height:auto;object-fit:contain}
.s21v312 main .s21-v29-gallery img{display:block;max-width:100%;height:auto;object-fit:cover}
.s21v312 main :is(.s21rd-hero-art,.s21h-hero-art) img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
/* User-edited dimensions always remain bounded by their parent. */
.s21v312 main img[data-s21v326-width]{max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
.s21v312 main :is(.cms-visual,.s21rd-team-photo,.s21-team-photo) img[data-s21v326-width]{max-height:100%;object-position:center}
/* The header/logo and customer logos must never be cropped as editorial photography. */
.s21v312 :is(.s21v312-brand,.s21v312-footer-about) img,.s21v312 main :is(.s21-client-logo,.s21rd-client-logo){max-width:100%;height:auto;object-fit:contain}
.s21v327-image-anchor{display:contents;cursor:pointer}
.s21v327-image-anchor img{cursor:pointer}
.s21v327-image-anchor:focus-visible img{outline:3px solid #ff2d9c;outline-offset:3px}
.s21v312 .s21v327-block-cta{display:flex;justify-content:flex-start;max-width:100%;margin-top:18px}
.s21v312 .s21v327-block-cta .btn{white-space:normal;text-align:center;max-width:100%}
@media(max-width:767px){
 .s21v312 main :where(.cms-two,.s21-custom-columns,.s21rd-hero-grid,.s21h-hero-grid){min-width:0;max-width:100%}
 .s21v312 main :where(.s21rd-hero-art,.s21h-hero-art){width:100%;max-width:100%;aspect-ratio:4/3;min-height:0}
 .s21v312 main :where(.cms-visual,.s21rd-team-photo,.s21-team-photo){max-width:100%}
 .s21v312 main :where(.cms-two>img,.s21-widget-kind-image figure>img){width:100%;max-width:100%;height:auto}
 .s21v312 main :where(.s21-v29-gallery img){max-height:440px}
}
