/* Galería institucional - estilos independientes del tema / Elementor */
.lsm-gf-gallery,.lsm-gf-gallery * { box-sizing:border-box; }
.lsm-gf-gallery { --lsm-gf-navy:#06182f; --lsm-gf-blue:#00529b; --lsm-gf-cyan:#67d8ee; --lsm-gf-red:#d71920; font-family:"Indivisa Text Sans",Arial,sans-serif!important; color:#0b1d35; font-size:14px; font-weight:400; margin:0 0 64px; }
.lsm-gf-gallery :is(h2,p,span,button,strong,small) { font-family:"Indivisa Text Sans",Arial,sans-serif!important; text-transform:none!important; }
.lsm-gf-heading { max-width:840px; margin-bottom:26px; }
.lsm-gf-kicker { font-size:12px!important; letter-spacing:.14em!important; font-weight:800!important; color:var(--lsm-gf-red)!important; display:block; margin-bottom:10px; }
.lsm-gf-heading h2 { margin:0 0 12px!important; color:var(--lsm-gf-navy)!important; font-size:clamp(30px,3.7vw,47px)!important; font-weight:800!important; line-height:1.13!important; letter-spacing:-.027em; }
.lsm-gf-heading p { margin:0!important; color:#54677e!important; font-size:15px!important; line-height:1.7!important; font-weight:400!important; }
.lsm-gf-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.lsm-gf-gallery .lsm-gf-photo { border:0!important; background:var(--lsm-gf-navy); border-radius:18px; overflow:hidden; position:relative; padding:0!important; margin:0!important; width:100%; aspect-ratio:4/3; cursor:zoom-in; display:block; box-shadow:0 3px 14px rgba(6,24,47,.10); text-align:left; color:#fff!important; min-width:0; }
.lsm-gf-gallery .lsm-gf-photo[hidden] { display:none!important; }
.lsm-gf-photo img { position:absolute; inset:0; width:100%; height:100%; display:block; object-fit:cover; transition:transform .45s ease; }
.lsm-gf-photo:hover img { transform:scale(1.06); }
.lsm-gf-photo:after { content:""; display:block; pointer-events:none; position:absolute; inset:0; background:linear-gradient(180deg,rgba(6,24,47,.02) 25%,rgba(6,24,47,.18) 55%,rgba(6,24,47,.88) 100%); }
.lsm-gf-photo-label { position:absolute; z-index:1; left:17px; bottom:17px; right:45px; display:flex; flex-direction:column; gap:5px; color:#fff!important; }
.lsm-gf-photo-label strong { display:block; color:#fff!important; font-size:16px!important; font-weight:700!important; line-height:1.23!important; }
.lsm-gf-photo-label small { display:block; color:#bdeffc!important; font-size:12px!important; font-weight:400!important; line-height:1.3!important; }
.lsm-gf-zoom { z-index:1; position:absolute; right:13px; top:13px; height:34px; width:34px; display:grid; place-items:center; font-size:19px; background:rgba(5,23,47,.44); border:1px solid rgba(255,255,255,.6); border-radius:50%; color:#fff; }
.lsm-gf-photo:focus-visible,.lsm-gf-more:focus-visible { outline:3px solid var(--lsm-gf-cyan)!important; outline-offset:3px; }
.lsm-gf-actions { display:flex; justify-content:center; padding-top:24px; }
.lsm-gf-gallery button.lsm-gf-more { background:#fff!important; color:var(--lsm-gf-blue)!important; border:1px solid #b4d4e9!important; padding:12px 19px!important; border-radius:12px!important; font-size:14px!important; font-weight:700!important; cursor:pointer; min-height:46px; }
.lsm-gf-gallery button.lsm-gf-more:hover { background:#edf6fc!important; }
.lsm-gf-empty { background:#f3f8fc; border:1px dashed #b8d0e4; border-radius:16px; padding:24px; color:#536b82; font-size:14px; }
.lsm-gf-loader { min-height:100px; color:#587085; font-size:14px; padding:24px 0; }
.lsm-gf-lightbox[hidden] { display:none!important; }
.lsm-gf-lightbox { position:fixed; inset:0; z-index:999999; background:rgba(2,9,21,.95); display:flex; align-items:center; justify-content:center; padding:56px 75px 70px; color:#fff; font-family:"Indivisa Text Sans",Arial,sans-serif; }
.lsm-gf-lightbox figure { margin:0; max-width:100%; display:flex; align-items:center; flex-direction:column; gap:13px; }
.lsm-gf-lightbox img { display:block; width:auto; height:auto; max-width:100%; max-height:calc(100vh - 155px); object-fit:contain; }
.lsm-gf-lightbox figcaption { color:#e5f4fa; font-size:14px; text-align:center; }
.lsm-gf-lightbox button { position:absolute; display:grid; place-items:center; border:1px solid rgba(255,255,255,.33); background:rgba(6,24,47,.76); color:#fff; cursor:pointer; border-radius:50%; width:44px; height:44px; font-size:27px; line-height:1; padding:0; }
.lsm-gf-lightbox button:hover { background:#00529b; }
.lsm-gf-lightbox .lsm-gf-close { top:16px; right:18px; }
.lsm-gf-lightbox .lsm-gf-prev { left:18px; top:calc(50% - 22px); }
.lsm-gf-lightbox .lsm-gf-next { right:18px; top:calc(50% - 22px); }
@media(max-width:900px){.lsm-gf-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.lsm-gf-gallery{margin-bottom:52px}.lsm-gf-grid{grid-template-columns:1fr;gap:12px}.lsm-gf-gallery .lsm-gf-photo{aspect-ratio:16/10}.lsm-gf-lightbox{padding:55px 12px 70px}.lsm-gf-lightbox .lsm-gf-prev{left:6px}.lsm-gf-lightbox .lsm-gf-next{right:6px}.lsm-gf-lightbox button{width:37px;height:37px}.lsm-gf-lightbox img{max-height:calc(100vh - 180px)}}
@media(prefers-reduced-motion:reduce){.lsm-gf-gallery *{transition:none!important}}
.lsm-gf-lightbox button[hidden] { display:none!important; }
