/* Colegio Notarial — Activity Popup. All public styles are namespaced. */
.cnpr-ep-overlay,[class^="cnpr-ep-"]{box-sizing:border-box}
.cnpr-ep-overlay *, .cnpr-ep-overlay *::before, .cnpr-ep-overlay *::after{box-sizing:border-box}
.cnpr-ep-overlay[hidden],.cnpr-ep-overlay [hidden]{display:none!important}
.cnpr-ep-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:26px 16px;isolation:isolate;overscroll-behavior:contain;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;font-size:16px;line-height:1.5;color:#17223c;-webkit-font-smoothing:antialiased}
.cnpr-ep-backdrop{position:absolute;inset:0;background:rgba(8,16,35,.69);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px);opacity:0;transition:opacity .28s ease}
.cnpr-ep-dialog{position:relative;z-index:1;display:flex;width:min(920px,100%);max-height:min(760px,calc(100dvh - 52px));overflow:hidden;border-radius:25px;background:#fff;box-shadow:0 32px 100px rgba(0,0,0,.27),0 10px 38px rgba(0,0,0,.16);transform:translateY(24px) scale(.97);opacity:0;transition:transform .38s cubic-bezier(.18,.82,.2,1),opacity .27s ease;outline:none}
.cnpr-ep-overlay.is-visible .cnpr-ep-backdrop{opacity:1}
.cnpr-ep-overlay.is-visible .cnpr-ep-dialog{opacity:1;transform:translateY(0) scale(1)}
.cnpr-ep-close{position:absolute!important;top:15px;right:15px;z-index:4;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border:1px solid rgba(18,31,57,.07)!important;border-radius:50%!important;background:rgba(255,255,255,.95)!important;color:#243047!important;display:grid!important;place-items:center!important;padding:0!important;box-shadow:0 4px 14px rgba(0,0,0,.09)!important;cursor:pointer!important;transition:background .2s ease,transform .2s ease!important;line-height:1!important}
.cnpr-ep-close svg{width:19px;height:19px;display:block}
.cnpr-ep-close:hover{transform:rotate(90deg)!important;background:#f2f5fb!important}
.cnpr-ep-close:focus-visible,.cnpr-ep-primary:focus-visible{outline:3px solid #78a7ff!important;outline-offset:3px!important}
.cnpr-ep-visual{position:relative;flex:0 0 49%;min-width:0;min-height:320px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f2f5fa}
.cnpr-ep-visual::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 10% 95%,rgba(36,118,241,.14),transparent 50%);pointer-events:none}
.cnpr-ep-image{display:block!important;position:relative!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;border:none!important;border-radius:0!important;box-shadow:none!important}
.cnpr-ep-art-fallback{width:100%;height:100%;min-height:360px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;position:relative;isolation:isolate;color:#fff;background:linear-gradient(145deg,#102b54 4%,#2455a2 48%,#5a8fe5 100%);overflow:hidden}
.cnpr-ep-art-fallback::before,.cnpr-ep-art-fallback::after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.25);border-radius:50%;z-index:-1}
.cnpr-ep-art-fallback::before{transform:translate(-100px,-135px) scale(1.4)}
.cnpr-ep-art-fallback::after{transform:translate(150px,160px) scale(1.6)}
.cnpr-ep-art-fallback span{font-family:Georgia,serif;font-size:90px;letter-spacing:-9px;line-height:1}
.cnpr-ep-art-fallback i{display:block;width:54px;height:2px;background:rgba(255,255,255,.72);margin:16px 0 5px}
.cnpr-ep-art-fallback b{font-weight:600;letter-spacing:.28em;font-size:12px}
.cnpr-ep-content{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;padding:66px 43px 34px;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(155deg,#fff 54%,#f8faff 100%)}
.cnpr-ep-content-body{width:100%;margin:auto 0}
.cnpr-ep-eyebrow{display:flex;align-items:center;gap:9px;margin-bottom:19px!important;color:var(--cnpr-ep-accent,#2563eb)!important;font-size:11px!important;line-height:1.5!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase!important}
.cnpr-ep-dot{width:7px;height:7px;flex:none;border-radius:50%;background:currentColor;box-shadow:0 0 0 5px color-mix(in srgb,var(--cnpr-ep-accent,#2563eb) 12%,transparent)}
.cnpr-ep-dialog .cnpr-ep-title{color:#16243f!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;font-size:clamp(26px,2.9vw,38px)!important;font-weight:760!important;line-height:1.14!important;letter-spacing:-.044em!important;margin:0 0 18px!important;padding:0!important;text-align:left!important;border:0!important;word-break:normal!important}
.cnpr-ep-dialog .cnpr-ep-description{color:#5c6a7f!important;font-size:15px!important;line-height:1.75!important;font-weight:400!important;margin:0!important;letter-spacing:0!important;text-align:left!important;white-space:pre-line}
.cnpr-ep-actions{margin-top:37px;display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.cnpr-ep-overlay a.cnpr-ep-primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:20px!important;max-width:100%;border-radius:13px!important;padding:15px 21px!important;background:var(--cnpr-ep-accent,#2563eb)!important;color:#fff!important;font-size:14px!important;line-height:1.35!important;font-weight:700!important;letter-spacing:-.01em!important;text-decoration:none!important;text-align:center!important;box-shadow:0 8px 20px color-mix(in srgb,var(--cnpr-ep-accent,#2563eb) 25%,transparent)!important;transition:transform .2s ease,filter .2s ease!important;word-break:break-word}
.cnpr-ep-overlay a.cnpr-ep-primary[hidden]{display:none!important}
.cnpr-ep-overlay a.cnpr-ep-primary:hover{filter:brightness(.92)!important;transform:translateY(-2px)!important}
.cnpr-ep-primary svg{flex:none;width:18px;height:18px}
.cnpr-ep-origin{font-size:9px!important;font-weight:750!important;letter-spacing:.14em!important;color:#a6afbd!important;line-height:1.5!important}
.cnpr-ep-layout-poster{flex-direction:column;width:min(620px,100%);max-height:calc(100dvh - 48px)}
.cnpr-ep-layout-poster .cnpr-ep-visual{flex:0 1 auto;min-height:0;max-height:min(69dvh,670px);background:#f3f5f9}
.cnpr-ep-layout-poster .cnpr-ep-image{width:100%!important;height:auto!important;max-height:min(69dvh,670px)!important;object-fit:contain!important}
.cnpr-ep-layout-poster .cnpr-ep-content{flex:0 0 auto;max-height:30vh;padding:16px 23px 19px;overflow:auto}
.cnpr-ep-layout-poster .cnpr-ep-content-body{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cnpr-ep-layout-poster .cnpr-ep-actions{margin:0;flex-direction:row;align-items:center;justify-content:space-between;gap:14px}
.cnpr-ep-layout-poster .cnpr-ep-origin{max-width:150px;text-align:right}
.cnpr-ep-lock{overflow:hidden!important}
@media (max-width:700px){
 .cnpr-ep-overlay{padding:12px}
 .cnpr-ep-dialog{display:flex;flex-direction:column;width:min(460px,100%);max-height:calc(100dvh - 24px);border-radius:21px;overflow-y:auto}
 .cnpr-ep-close{top:11px;right:11px;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important}
 .cnpr-ep-visual{flex:0 0 auto;width:100%;min-height:0;max-height:38dvh}
 .cnpr-ep-visual.cnpr-ep-visual-placeholder{min-height:175px}
 .cnpr-ep-image{height:auto!important;max-height:38dvh!important;width:100%!important;object-fit:contain!important}
 .cnpr-ep-art-fallback{min-height:175px}
 .cnpr-ep-art-fallback span{font-size:64px}
 .cnpr-ep-content{flex:0 0 auto;overflow:visible;padding:25px 25px 23px}
 .cnpr-ep-eyebrow{font-size:10px!important;margin-bottom:12px!important}
 .cnpr-ep-dialog .cnpr-ep-title{font-size:clamp(23px,6vw,30px)!important;margin-bottom:10px!important}
 .cnpr-ep-dialog .cnpr-ep-description{font-size:14px!important;line-height:1.6!important}
 .cnpr-ep-actions{margin-top:21px;gap:14px}
 .cnpr-ep-overlay a.cnpr-ep-primary{width:100%;padding:14px 16px!important;gap:13px!important}
 .cnpr-ep-origin{font-size:8px!important}
 .cnpr-ep-layout-poster .cnpr-ep-visual{max-height:72dvh}
 .cnpr-ep-layout-poster .cnpr-ep-image{max-height:72dvh!important}
 .cnpr-ep-layout-poster .cnpr-ep-content{padding:12px 15px 15px}
 .cnpr-ep-layout-poster .cnpr-ep-actions{flex-direction:column;align-items:stretch;gap:10px}
 .cnpr-ep-layout-poster .cnpr-ep-origin{max-width:none;text-align:center}
}
@media (max-width:370px){.cnpr-ep-content{padding:20px 18px 18px}.cnpr-ep-dialog .cnpr-ep-title{font-size:23px!important}.cnpr-ep-visual{max-height:33dvh}.cnpr-ep-image{max-height:33dvh!important}}
@media (max-height:550px) and (min-width:701px){.cnpr-ep-dialog{max-height:calc(100dvh - 22px)}.cnpr-ep-content{padding:28px 37px 20px}.cnpr-ep-dialog .cnpr-ep-title{font-size:26px!important}.cnpr-ep-actions{margin-top:20px}}
@media (prefers-reduced-motion:reduce){.cnpr-ep-overlay *{transition:none!important;animation:none!important}}

/* Poster-only mode displays the original art without adding extra height. */
.cnpr-ep-layout-poster.cnpr-ep-no-cta .cnpr-ep-content{display:none}
.cnpr-ep-layout-poster.cnpr-ep-no-cta .cnpr-ep-visual{max-height:calc(100dvh - 48px)}
.cnpr-ep-layout-poster.cnpr-ep-no-cta .cnpr-ep-image{max-height:calc(100dvh - 48px)!important}
@media(max-width:700px){.cnpr-ep-layout-poster.cnpr-ep-no-cta .cnpr-ep-visual{max-height:calc(100dvh - 24px)}.cnpr-ep-layout-poster.cnpr-ep-no-cta .cnpr-ep-image{max-height:calc(100dvh - 24px)!important}}
