/* AMOP - Galería de Expresidentes | Author: jmazae | aislada del tema 2.7.0 */
.amop-ep{--amop-ep-blue:#2f3489;--amop-ep-navy:#171b58;--amop-ep-cyan:#089ae5;display:block;width:100%;max-width:1260px;margin:0 auto;padding:clamp(20px,3vw,44px) 0 clamp(28px,4vw,58px);color:#15182f;box-sizing:border-box;font-family:inherit;min-width:0}
.amop-ep *,.amop-ep *::before,.amop-ep *::after{box-sizing:border-box}
.amop-ep .amop-ep-heading{max-width:900px;margin:0 auto clamp(25px,3vw,42px);padding:0 12px;text-align:center;display:block;background:transparent;border:0}
.amop-ep .amop-ep-eyebrow{color:#8d6a35;font-size:12px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;line-height:1.6;margin-bottom:10px}
.amop-ep .amop-ep-title{font-family:Georgia,'Times New Roman',serif;font-size:clamp(27px,3.6vw,40px);font-weight:700;line-height:1.18;color:var(--amop-ep-navy)!important;margin:0 0 16px!important;text-align:center!important;letter-spacing:-.025em}
.amop-ep .amop-ep-heading-line{display:block;width:82px;height:4px;background:var(--amop-ep-cyan);border-radius:4px;margin:0 auto 18px}
.amop-ep .amop-ep-intro{max-width:800px;margin:0 auto!important;font-size:clamp(14px,1.45vw,16px);line-height:1.75;color:#485775;text-align:center!important;overflow-wrap:break-word}
.amop-ep .amop-ep-gallery{display:grid!important;grid-template-columns:repeat(var(--amop-ep-columns,4),minmax(0,1fr))!important;gap:clamp(14px,1.8vw,24px)!important;width:100%;min-width:0;margin:0 auto!important;padding:0!important;align-items:stretch}
.amop-ep .amop-ep-gallery::before,.amop-ep .amop-ep-gallery::after{content:none!important;display:none!important}
.amop-ep .amop-ep-card{display:flex!important;flex-direction:column;min-width:0;width:auto!important;margin:0!important;padding:0!important;border:1px solid #dce4f2!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 20px rgba(23,27,88,.09);overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;text-align:center}
.amop-ep .amop-ep-card::before,.amop-ep .amop-ep-card::after{content:none!important;display:none!important}
.amop-ep .amop-ep-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(23,27,88,.15)}
.amop-ep .amop-ep-photo-wrap{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:#edf2fa;border-bottom:4px solid var(--amop-ep-cyan)}
.amop-ep .amop-ep-photo{display:block!important;width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center 22%;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.amop-ep .amop-ep-photo-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;width:100%;height:100%;background:linear-gradient(145deg,#e9effa,#d8e3f5);color:#7181a7;font-weight:650;font-size:12px;text-align:center}
.amop-ep .amop-ep-photo-placeholder svg{fill:#98a9cb;max-width:45%;height:auto}
.amop-ep .amop-ep-card-body{padding:16px 12px 19px;display:flex;flex:1;flex-direction:column;align-items:center;gap:12px;justify-content:space-between;min-width:0}
.amop-ep .amop-ep-name{font-family:inherit;color:var(--amop-ep-navy)!important;font-size:clamp(14px,1.25vw,17px);font-weight:750;line-height:1.35;letter-spacing:-.01em;text-align:center!important;overflow-wrap:anywhere;margin:0!important;padding:0!important;border:0!important}
.amop-ep .amop-ep-period{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:7px 14px;background:#e8edfc;color:#253579;font-size:13px;line-height:1.2;font-weight:750;white-space:nowrap;max-width:100%}
.amop-ep .amop-ep-empty{max-width:700px;text-align:center!important;background:#f6f8fc;border:1px solid #e0e7ef;border-radius:12px;padding:25px 20px;margin:0 auto!important;color:#52617c}
@media(max-width:1100px){.amop-ep .amop-ep-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:800px){.amop-ep .amop-ep-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:540px){.amop-ep{padding:22px 0 36px}.amop-ep .amop-ep-gallery{grid-template-columns:minmax(0,1fr)!important;gap:18px!important;max-width:390px}.amop-ep .amop-ep-heading{margin-bottom:25px}.amop-ep .amop-ep-card-body{padding:15px 15px 18px}.amop-ep .amop-ep-name{font-size:17px}}
@media(prefers-reduced-motion:reduce){.amop-ep .amop-ep-card{transition:none}.amop-ep .amop-ep-card:hover{transform:none}}
