/* Memorial de Cuarto Pueblo · estilo conmemorativo sobrio · v2.9.0 */
.eh-memorial{--memory-ink:#112920;--memory-night:#08261d;--memory-gold:#e6bf65;--memory-cream:#f8f5eb;background:#fcfdf9;color:var(--memory-ink)}
.eh-memory-hero{min-height:590px;position:relative;isolation:isolate;display:flex;align-items:center;color:#fff;background:#102b24;overflow:hidden}
.eh-memory-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:saturate(.7)}
.eh-memory-overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,24,20,.98),rgba(4,34,26,.80) 50%,rgba(5,25,23,.38)),linear-gradient(0deg,#091f19aa,transparent 50%)}
.eh-memory-hero-inner{padding-block:88px 76px}
.eh-memory-eyebrow,.eh-memory-label{display:block;font-size:11px;font-weight:900;letter-spacing:.145em;color:#a38336;text-transform:uppercase}
.eh-memory-eyebrow{color:#f0ca75;background:rgba(13,45,32,.55);border:1px solid #d7be7a50;padding:9px 14px;border-radius:50px;width:max-content;max-width:100%}
.eh-memory-hero h1{font-family:Georgia,serif;font-weight:650;font-size:clamp(46px,7vw,88px);line-height:1.05;letter-spacing:-.04em;color:#fff;margin:20px 0}
.eh-memory-hero h1 span{display:block;color:#f2d293;font-family:inherit;font-weight:400;font-size:clamp(26px,3.2vw,45px);letter-spacing:-.02em;margin-top:10px}
.eh-memory-hero-inner>p{font-size:clamp(16px,1.55vw,19px);line-height:1.7;max-width:680px;color:#f6f7ec;margin-bottom:25px}
.eh-memory-hero-actions{display:flex;flex-wrap:wrap;gap:12px}.eh-memory-hero-actions a{display:inline-flex;align-items:center;justify-content:center;font-weight:780;padding:12px 20px;border-radius:10px;min-height:48px}.eh-memory-primary{color:#192a21!important;background:linear-gradient(110deg,#f4da97,#dfad4f)}.eh-memory-ghost{color:#fff!important;background:#ffffff12;border:1px solid #f0e6c155}
.eh-memory-date{margin-top:37px;padding-left:16px;border-left:3px solid #e4bf77;display:grid;gap:2px}.eh-memory-date strong{font-size:20px;color:#f2cf84}.eh-memory-date small{color:#e9eee3;font-size:12px}
.eh-memory-note{background:#e8ebdf;color:#395347;padding:12px 0;font-size:13px}.eh-memory-note .eh-wrap{display:flex;gap:12px;align-items:center}.eh-memory-note span{font-size:22px}
.eh-memory-intro,.eh-memory-timeline,.eh-memory-gallery,.eh-memory-videos,.eh-memory-sources,.eh-memory-closing,.eh-memory-custom{padding:clamp(54px,7vw,90px) 0}
.eh-memory-intro-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.76fr);gap:clamp(28px,5vw,85px);align-items:center}
.eh-memorial h2{color:#123e30;font-family:Georgia,serif;font-size:clamp(29px,3.5vw,45px);font-weight:650;line-height:1.16;margin:12px 0 20px;letter-spacing:-.035em}
.eh-memory-intro p{font-size:15.2px;color:#3f554b;line-height:1.85;margin:0 0 16px}.eh-memory-intro p a,.eh-memory-archive-note a{color:#007743!important;text-decoration:underline!important;text-underline-offset:3px;font-weight:700}
.eh-memory-source-note{font-size:12px!important;color:#6d766e!important;border-left:3px solid #d8bd7b;padding-left:13px}
.eh-memory-dedication{background:radial-gradient(circle at 50% 35%,#385b3d,#12372c 58%,#08241c);border:1px solid #a98d56;border-radius:23px;padding:57px 35px;text-align:center;color:#fff;box-shadow:0 20px 45px #0c432625}
.eh-memory-dedication>span{display:block;color:#e6c57c;font-size:11px;letter-spacing:.16em;font-weight:900;margin-top:12px}
.eh-memory-dedication blockquote{font-family:Georgia,serif;font-size:clamp(23px,2.4vw,33px);line-height:1.38;color:#fff0c8;font-weight:400;margin:19px 0}
.eh-memory-dedication p{color:#e6f3e8;margin:0 0 21px;font-size:13px}.eh-memory-dedication small{color:#d4c58d;font-size:12px}
.eh-memory-candle{height:82px;width:42px;position:relative;margin-inline:auto;display:grid;place-items:end center}.eh-memory-candle:before{content:"";width:30px;height:49px;background:linear-gradient(90deg,#b8af92,#efe5c6 60%,#ae9d71);border-radius:4px 4px 2px 2px;box-shadow:0 6px 16px #0004}.eh-memory-candle>span{position:absolute;top:2px;left:16px;width:11px;height:23px;border-radius:70% 20% 70% 20%;transform:rotate(12deg);background:#fff3bf;box-shadow:0 0 18px 7px #f7ca6b66,0 0 48px 15px #f8dc8955;animation:ehMemoryFlame 3s ease-in-out infinite alternate}@keyframes ehMemoryFlame{to{transform:rotate(-9deg) scale(.92)}}
.eh-memory-timeline{background:#f2f5ef}.eh-memory-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;position:relative;margin-top:38px}.eh-memory-steps article{position:relative;background:#fff;border:1px solid #d9e6d9;border-top:4px solid #d2af68;border-radius:15px;padding:23px 19px;box-shadow:0 9px 26px #00381d0b}.eh-memory-year{display:inline-block;font-weight:900;color:#09613b;font-size:13px}.eh-memory-steps h3{font-size:18px;color:#144731;margin:10px 0}.eh-memory-steps p{font-size:13px;line-height:1.65;color:#526258;margin:0}
.eh-memory-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:18px}.eh-memory-heading>p{max-width:390px;font-size:13px;color:#607268}.eh-memory-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.eh-memory-photo{border:0;overflow:hidden;cursor:pointer;background:#174034;color:#fff;padding:0;display:block;position:relative;border-radius:16px;text-align:left;aspect-ratio:1.6;box-shadow:0 10px 29px #00391e19}
.eh-memory-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s,filter .45s}.eh-memory-photo:hover img{transform:scale(1.045);filter:brightness(.9)}
.eh-memory-photo:after{content:"";position:absolute;inset:25% 0 0;background:linear-gradient(transparent,#001c14e8);pointer-events:none}
.eh-memory-photo-copy{position:absolute;z-index:1;bottom:16px;left:18px;right:45px}.eh-memory-photo-copy strong{font-size:19px;display:block}.eh-memory-photo-copy small{font-size:12px;display:block;line-height:1.45;color:#e5f0e8}.eh-memory-expand{position:absolute;right:18px;top:17px;z-index:1;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#fffdf0e8;color:#005b3a;font-size:21px}
.eh-memory-archive-note{margin-top:22px;padding:16px 19px;background:#e9f1e8;border:1px solid #ccdfcd;border-radius:12px;font-size:13px;color:#355341;line-height:1.7}
.eh-memory-videos{background:linear-gradient(145deg,#0b3025,#041d17);color:#fff}.eh-memory-videos h2{color:#fff}.eh-memory-videos .eh-memory-label{color:#e2c17b}.eh-memory-videos-intro{font-size:14px;line-height:1.7;color:#dde9df;max-width:840px;margin-bottom:28px}
.eh-memory-videos-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.eh-memory-video{background:#f9fcf8;color:#18352a;border-radius:15px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 13px 30px #0002}.eh-memory-video-player{position:relative;background:#16392c;aspect-ratio:16/10;overflow:hidden}.eh-memory-video-player>img{width:100%;height:100%;object-fit:cover;filter:brightness(.45)}.eh-memory-play{position:absolute;inset:0;margin:auto;width:max-content;max-width:94%;height:54px;background:#ffffffee;color:#044b32;border:0;border-radius:11px;font-weight:900;font-size:13px;padding:12px 18px;cursor:pointer}.eh-memory-play span{color:#a76809;font-size:17px;margin-right:5px}.eh-memory-video-player iframe{width:100%;height:100%;border:0;display:block;position:absolute;inset:0}.eh-memory-video-body{padding:22px;flex:1;display:flex;flex-direction:column}.eh-memory-video-body small,.eh-memory-video-link-inner small{font-weight:900;color:#776128;letter-spacing:.08em;font-size:10px}.eh-memory-video-body h3,.eh-memory-video-link-inner h3{font-size:19px;color:#15412d;margin:12px 0 8px;line-height:1.28}.eh-memory-video-body p,.eh-memory-video-link-inner p{color:#5b6c60;line-height:1.65;font-size:13px;flex:1;margin:0 0 15px}.eh-memory-video-body a,.eh-memory-video-link-inner a{color:#007947!important;font-weight:850;font-size:13px}.eh-memory-video-link{background:linear-gradient(160deg,#f2ead8,#f9faf2)}.eh-memory-video-link-inner{padding:30px 23px;display:flex;flex-direction:column;height:100%}.eh-memory-video-link-inner>span{font-size:45px;color:#bd9252;margin-bottom:30px}
.eh-memory-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.eh-memory-source-grid a{display:block;padding:25px;background:#fff;border:1px solid #d9e6d9;border-radius:14px;box-shadow:0 10px 26px #00371e0b;transition:transform .2s,border-color .2s}.eh-memory-source-grid a:hover{transform:translateY(-3px);border-color:#b2d1bb}.eh-memory-source-grid span{font-size:10px;letter-spacing:.1em;font-weight:900;color:#99763b}.eh-memory-source-grid h3{font-size:19px;color:#0e4d33;margin:12px 0}.eh-memory-source-grid p{font-size:13px;line-height:1.65;color:#536a5a}.eh-memory-source-grid b{font-size:13px;color:#077a46}
.eh-memory-closing{background:#072a20;color:#fff;text-align:center}.eh-memory-closing-inner{max-width:820px!important}.eh-memory-closing .eh-memory-candle{margin-bottom:18px}.eh-memory-closing .eh-memory-label{color:#dec389}.eh-memory-closing h2{color:#ffedc7}.eh-memory-closing p{color:#e5eee6;max-width:680px;margin:0 auto 25px;font-size:15px;line-height:1.8}.eh-memory-closing a{color:#ffe09c!important;font-weight:700;font-size:14px;text-decoration:underline!important;text-underline-offset:4px}
.eh-memory-custom .eh-wrap{max-width:900px}
.eh-memory-modal[hidden]{display:none!important}.eh-memory-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:14px}.eh-memory-modal-shade{position:absolute;inset:0;background:#00140feb;backdrop-filter:blur(7px)}.eh-memory-modal-window{position:relative;z-index:1;width:min(1120px,100%);max-height:96dvh;padding:14px;background:#f4f6f1;border-radius:16px;display:flex;flex-direction:column;align-items:center;box-shadow:0 20px 70px #0009}.eh-memory-modal-image{display:block;max-height:74dvh;max-width:100%;height:auto;width:auto;object-fit:contain}.eh-memory-modal-title{font-size:14px;color:#144533;font-weight:800;margin:8px 0}.eh-memory-modal-close{position:absolute;right:12px;top:12px;width:42px;height:42px;border:none;border-radius:50%;background:#0b4035;color:#fff;font-size:30px;cursor:pointer;z-index:3}.eh-memory-modal-controls{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px}.eh-memory-modal-controls button{border:1px solid #adcebb;border-radius:8px;padding:9px 14px;background:#e4f1e8;color:#064b32;cursor:pointer;font-weight:850}.eh-memory-modal-count{font-size:12px;color:#456354}
@media(max-width:1000px){.eh-memory-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.eh-memory-videos-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-memory-video-link{grid-column:span 2}}
@media(max-width:760px){.eh-memory-hero{min-height:550px}.eh-memory-hero-inner{padding-block:65px}.eh-memory-intro-grid{grid-template-columns:1fr}.eh-memory-dedication{padding:40px 25px}.eh-memory-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-memory-heading{display:block}.eh-memory-heading>p{max-width:none}.eh-memory-gallery-grid{gap:10px}.eh-memory-photo{aspect-ratio:1.05}.eh-memory-photo-copy{left:10px;right:10px;bottom:10px}.eh-memory-photo-copy strong{font-size:15px}.eh-memory-photo-copy small{font-size:11px;max-height:52px;overflow:hidden}.eh-memory-videos-grid,.eh-memory-source-grid{grid-template-columns:1fr}.eh-memory-video-link{grid-column:auto}}
@media(max-width:500px){.eh-memory-hero h1{font-size:46px}.eh-memory-hero h1 span{font-size:27px}.eh-memory-steps{grid-template-columns:1fr}.eh-memory-gallery-grid{grid-template-columns:1fr}.eh-memory-photo{aspect-ratio:1.5}.eh-memory-hero-actions a{width:100%}.eh-memory-modal-window{padding:7px}.eh-memory-modal-controls button{padding:9px 10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.eh-memory-candle>span{animation:none}.eh-memory-photo img{transition:none}}


/* 2.9.1 · Nuestros orígenes */
.eh-memory-origins{padding:clamp(52px,7vw,90px) 0;background:linear-gradient(180deg,#f9fbf6 0%,#eef7f0 100%)}
.eh-memory-origins-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.75fr);gap:22px;align-items:stretch}
.eh-origin-feature,.eh-origin-stack{background:#fff;border-radius:20px;box-shadow:0 18px 36px rgba(4,48,28,.08);border:1px solid rgba(7,121,71,.08);overflow:hidden}
.eh-origin-player{position:relative;aspect-ratio:16/9;background:#12382b}
.eh-origin-player>img{width:100%;height:100%;object-fit:cover;filter:brightness(.58)}
.eh-origin-feature-copy{padding:24px 24px 26px}.eh-origin-feature-copy small{display:inline-block;font-size:11px;font-weight:900;color:#8e6b24;letter-spacing:.08em;margin-bottom:8px}.eh-origin-feature-copy h3{font-size:clamp(24px,2.8vw,34px);line-height:1.12;color:#12352a;margin:0 0 10px}.eh-origin-feature-copy p{line-height:1.75;color:#577064;margin:0 0 16px}.eh-origin-feature-copy a{font-weight:850;color:#007947!important}
.eh-origin-play{height:58px;font-size:14px;padding-inline:22px}
.eh-origin-stack{padding:24px;background:linear-gradient(170deg,#0f3d2f,#0b2b22);color:#fff}.eh-origin-stack h3{color:#fff;margin:0 0 9px;font-size:22px}.eh-origin-stack p{color:#d3e4db;line-height:1.7;font-size:14px}.eh-origin-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:11px}.eh-origin-list li{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 12px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08)}
.eh-origin-order{width:44px;height:44px;border-radius:14px;background:rgba(255,255,255,.14);display:grid;place-items:center;font-weight:900;color:#ffe28f}
.eh-origin-list strong{display:block;font-size:14px;line-height:1.35}.eh-origin-list small{display:block;color:#b7d2c0;font-size:11px;margin-top:4px}.eh-origin-list a{color:#fff!important;font-size:12px;font-weight:850;white-space:nowrap}
@media(max-width:960px){.eh-memory-origins-grid{grid-template-columns:1fr}.eh-origin-stack{padding:20px}}
@media(max-width:760px){.eh-origin-feature-copy{padding:18px 18px 20px}.eh-origin-list li{grid-template-columns:40px minmax(0,1fr);gap:10px}.eh-origin-list a{grid-column:2/-1}}
