/*
 * Perspectiva editorial media v43.
 * Premium branded edge and native modal. No lightbox library, no crop changes.
 */
body.single-post.lafer-enterprise .lfx-article .lfpe-image-zoomable{
  cursor:zoom-in!important;
  border:1px solid rgba(5,61,189,.19);
  border-radius:clamp(15px,1.75vw,24px);
  box-shadow:0 11px 29px rgba(5,36,105,.075),0 0 0 4px rgba(227,238,255,.32);
  transition:box-shadow .2s ease,border-color .2s ease,filter .2s ease;
}
body.single-post.lafer-enterprise .lfx-article .lfpe-image-zoomable:hover,
body.single-post.lafer-enterprise .lfx-article .lfpe-image-zoomable:focus-visible{
  border-color:rgba(5,61,189,.5);
  box-shadow:0 19px 45px rgba(5,42,122,.17),0 0 0 4px rgba(5,61,189,.08);
}
body.single-post.lafer-enterprise .lfx-article .lfpe-image-zoomable:focus-visible{
  outline:3px solid #053dbd;outline-offset:5px;
}
body.single-post.lafer-enterprise .lfx-silencio-gallery figure:has(.lfpe-image-zoomable){
  outline:1px solid rgba(5,61,189,.2);outline-offset:0;
}
body.single-post.lafer-enterprise dialog.lfpe-image-viewer{
  position:fixed!important;top:50%!important;left:50%!important;bottom:auto!important;right:auto!important;
  translate:-50% -50%!important;transform:none!important;
  margin:0!important;padding:7px!important;
  width:min(1060px,calc(100vw - 32px))!important;
  max-width:calc(100vw - 32px)!important;
  max-height:calc(100dvh - 30px)!important;
  overflow:auto;overscroll-behavior:contain;
  border:1px solid rgba(208,229,255,.78)!important;
  border-radius:clamp(19px,2.8vw,29px)!important;
  background:linear-gradient(145deg,#f5f9ff,#dbe9ff 60%,#f8fbff)!important;
  box-shadow:0 29px 100px rgba(0,6,51,.48),inset 0 0 0 1px rgba(255,255,255,.94);
  color:#000633;
  z-index:999999!important;
}
body.single-post.lafer-enterprise dialog.lfpe-image-viewer::backdrop{
  background:rgba(0,6,51,.82);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
body.single-post.lafer-enterprise .lfpe-image-viewer-inner{padding:clamp(8px,1.5vw,15px)}
body.single-post.lafer-enterprise .lfpe-image-viewer-top{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:0 0 13px;padding:0 4px;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-top>span{
  display:inline-flex;align-items:center;gap:9px;
  font:750 10px/1.3 'Montserrat','Outfit',sans-serif;
  letter-spacing:.17em;color:#16458f;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-top i{
  display:inline-block;width:4px;height:4px;border-radius:50%;background:#053dbd;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-close{
  flex:none;display:grid;place-items:center;
  width:38px;height:38px;padding:0;border-radius:13px;
  color:#000633;background:#fff;border:1px solid rgba(5,61,189,.2);
  box-shadow:0 6px 18px rgba(5,36,105,.09);cursor:pointer;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-close svg{width:21px;height:21px}
body.single-post.lafer-enterprise .lfpe-image-viewer-close:focus-visible{
  outline:3px solid #053dbd;outline-offset:2px;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-media{
  display:flex;align-items:center;justify-content:center;
  background:#07163c;overflow:hidden;
  border-radius:clamp(14px,2vw,20px);
  border:1px solid rgba(255,255,255,.6);
  min-height:70px;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-media>img{
  display:block;max-width:100%;width:auto;height:auto;
  max-height:calc(100dvh - 178px);
  object-fit:contain;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-caption{
  max-width:92ch;margin:12px auto 2px;padding:0 8px;
  font:500 clamp(12px,1vw,13px)/1.5 'Outfit',sans-serif;
  color:#365478;text-align:center;
}
body.single-post.lafer-enterprise .lfpe-image-viewer-caption[hidden]{display:none}
@media(max-width:740px){
  body.single-post.lafer-enterprise dialog.lfpe-image-viewer{
    width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;
    max-height:calc(100dvh - 16px)!important;padding:5px!important;border-radius:20px!important;
  }
  body.single-post.lafer-enterprise .lfpe-image-viewer-inner{padding:7px}
  body.single-post.lafer-enterprise .lfpe-image-viewer-media>img{max-height:calc(100dvh - 150px)}
}
@media(prefers-reduced-motion:reduce){
  body.single-post.lafer-enterprise .lfx-article .lfpe-image-zoomable{transition:none!important}
}
