.exhibitions-gallery{position:fixed;inset:0;z-index:5;background:#09110e;color:#eee6d9;overflow:auto;padding:clamp(28px,6vw,85px) clamp(22px,7vw,110px) 110px}.exhibitions-gallery[hidden]{display:none}.exhibitions-gallery h1{font:400 clamp(36px,5vw,68px)/1.1 Georgia,serif;margin:0 0 50px}.exhibitions-list{display:grid;gap:50px;max-width:1250px}.exhibition-card{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:50px;padding-bottom:45px;border-bottom:1px solid #cdb67830;align-items:start}.exhibition-card>img{max-width:100%;max-height:70svh;object-fit:contain;justify-self:center}.exhibition-card>div:only-child{grid-column:1/-1;max-width:760px}.exhibition-card h2{font:400 clamp(29px,4vw,46px)/1.15 Georgia,serif;margin:0 0 24px}.exhibition-card p{font:15px/1.9 Arial,sans-serif;color:#c3cdbd;white-space:pre-line;overflow-wrap:anywhere}.exhibition-card .exhibition-venue{color:#d6bc83;font-size:14px;margin-bottom:8px}.exhibition-card .exhibition-dates{font-size:12px;margin:0 0 28px}.exhibition-card a{display:inline-block;min-height:44px;padding:12px 0;color:#dfc58b;font-size:13px}.exhibitions-empty{font:17px/1.8 Arial,sans-serif;color:#bbc7b4;max-width:40ch}@media(max-width:650px){.exhibition-card{grid-template-columns:1fr;gap:28px}.exhibition-card>img{max-height:60svh}.exhibitions-gallery h1{margin-bottom:35px}}

.exhibitions-gallery{z-index:20;background:#101a10;padding:0 max(5vw,18px) max(6svh,30px);font-family:Georgia,serif}
.expo-head,.expo-menu,.exhibitions-gallery>h1,.exhibitions-list,.expo-photos,.exhibitions-empty{max-width:1160px;margin-inline:auto}
.expo-head{height:clamp(58px,8svh,82px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #b39a67}
.expo-head button,.expo-home,.expo-tile{appearance:none;background:transparent;border:0;border-radius:0;color:#f3ead9;font:inherit;cursor:pointer}
.expo-head button,.expo-home{padding:10px 8px;min-height:44px;font-size:clamp(17px,2vw,23px);touch-action:manipulation}
.expo-home{display:inline-flex;align-items:center;text-decoration:none}
.expo-head [hidden]{display:none!important}
.expo-head i{font-size:clamp(22px,3vw,33px)}
.exhibitions-gallery>h1{font:400 clamp(46px,8vw,90px)/1.05 Georgia,serif;margin:clamp(30px,6svh,65px) auto;letter-spacing:-.045em}
.expo-menu{border-top:1px solid #b39a67}
.expo-tile{width:100%;position:relative;isolation:isolate;overflow:hidden;text-align:left;min-height:clamp(185px,28svh,320px);padding:24px clamp(10px,3vw,42px);display:flex;flex-direction:column;justify-content:center;gap:12px;border-bottom:1px solid #b39a67}
.expo-tile:before{content:'';position:absolute;z-index:-1;inset:0 0 0 31%;background-position:center;background-size:cover;mask-image:linear-gradient(to right,transparent,#000 54%);transition:transform .45s}
.expo-tile.timeline:before{background-image:url('/assets/exposiciones/cf-eadadb7633a7/recorrido.webp')}
.expo-tile.moments:before{background-image:url('/assets/exposiciones/cf-eadadb7633a7/momentos.webp')}
.expo-tile span{max-width:57%;font:400 clamp(29px,4.8vw,61px)/1.04 Georgia,serif;letter-spacing:-.035em;text-wrap:balance;text-shadow:0 2px 9px #111a10}
.expo-tile b{color:#d6b572;font:400 31px/1 Georgia,serif}
.expo-tile:focus-visible,.expo-head button:focus-visible,.expo-home:focus-visible{outline:2px solid #f4d59c;outline-offset:-4px}
.expo-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:28px}
.expo-photos figure{margin:0}.expo-photos img{display:block;width:100%;max-height:65svh;object-fit:contain}.expo-photos figcaption{padding:12px 0;color:#d6bc83}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.expo-tile:hover:before{transform:scale(1.025)}}

/* Headings receive focus on view changes without a visible frame. */
.exhibitions-gallery h1:focus{outline:none}

.expo-moments-intro{max-width:1160px;margin:-20px auto 46px;color:#b9c2b2;font:14px/1.8 Arial,sans-serif;letter-spacing:.025em}
.expo-photos{display:block;columns:3;column-gap:28px}
.expo-photos figure{break-inside:avoid;margin:0 0 28px}
.expo-photo{display:block;width:100%;padding:0;border:0;background:#172218;cursor:zoom-in;overflow:hidden}
.expo-photos .expo-photo img{display:block;width:100%;height:auto;max-height:none;transition:transform .5s ease}
.expo-photos figcaption{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #b39a6738;color:#b39a67;font:11px/1.4 Arial,sans-serif;letter-spacing:.14em}
.expo-photo:focus-visible{outline:2px solid #d6b572;outline-offset:5px}
.expo-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:60px 70px;background:#09110ef5;color:#eee6d9;overflow:hidden}
.expo-viewer[open]{display:flex;align-items:center;justify-content:center}
.expo-viewer::backdrop{background:#09110e}
.expo-viewer img{display:block;max-width:100%;max-height:calc(100dvh - 120px);width:auto;height:auto;object-fit:contain}
.expo-viewer button{position:absolute;min-width:48px;min-height:48px;border:0;background:#09110e88;color:#eee6d9;font:36px/1 Georgia,serif;cursor:pointer}
.expo-viewer button:focus-visible{outline:2px solid #d6b572}
.expo-viewer-close{right:18px;top:12px}.expo-viewer-prev{left:12px;top:calc(50% - 24px)}.expo-viewer-next{right:12px;top:calc(50% - 24px)}
.expo-viewer p{position:absolute;bottom:18px;left:0;right:0;margin:0;text-align:center;color:#d6bc83;font:11px Arial,sans-serif;letter-spacing:.18em}
/* Photo 15 is a landscape picture embedded in a tall file with black bars. */
.expo-photo--framed{position:relative;aspect-ratio:864/493;overflow:hidden}
.expo-photos .expo-photo--framed img,.expo-viewer .expo-photo--framed img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:center}
.expo-viewer-stage:not(.expo-photo--framed){display:contents}
.expo-viewer-stage.expo-photo--framed{width:min(100%,calc((100dvh - 120px)*864/493))}
@media(max-width:950px){.expo-photos{columns:2}}
@media(max-width:600px){.expo-photos{columns:1}.expo-photos figure{margin-bottom:26px}.expo-moments-intro{margin-top:-12px;margin-bottom:30px;font-size:13px}.expo-viewer{padding:60px 44px}.expo-viewer-prev{left:0}.expo-viewer-next{right:0}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.expo-photo:hover img{transform:scale(1.025)}}
@media(prefers-reduced-motion:reduce){.expo-photos .expo-photo img{transition:none}}

.expo-trajectory-intro{max-width:1160px;margin:-15px auto 60px;display:grid;grid-template-columns:180px 1fr;gap:38px;align-items:start;border-bottom:1px solid #b39a6745;padding-bottom:38px}
.expo-trajectory-intro span{font:12px/1.8 Arial,sans-serif;letter-spacing:.18em;color:#d6b572}
.expo-trajectory-intro p{font:19px/1.7 Georgia,serif;color:#c6cbbb;margin:0;max-width:43ch}
.expo-timeline{max-width:1160px;margin:auto}
.expo-year{display:grid;grid-template-columns:180px minmax(0,1fr);gap:38px;padding:0 0 42px;margin:0 0 38px;border-bottom:1px solid #b39a6730}
.expo-year h2{font:400 clamp(28px,4vw,45px)/1.15 Georgia,serif;color:#d6b572;margin:0;letter-spacing:-.035em}
.expo-year p{font:15px/1.95 Arial,sans-serif;color:#d0d3c7;margin:0;max-width:70ch;text-wrap:pretty}
@media(max-width:650px){.expo-trajectory-intro{grid-template-columns:1fr;gap:16px;margin-bottom:36px;padding-bottom:28px}.expo-trajectory-intro p{font-size:18px}.expo-year{grid-template-columns:1fr;gap:18px;padding-bottom:30px;margin-bottom:30px}.expo-year p{font-size:14px;line-height:1.9}}

/* Gentle entrance on scroll, matching the reference's fade and upward drift. */
@media(prefers-reduced-motion:no-preference){
 .expo-photos figure.expo-reveal{opacity:0;transform:translate3d(0,36px,0) scale(.985);transition:opacity 1s ease,transform 1.15s cubic-bezier(.2,.65,.25,1)}
 .expo-photos figure.expo-reveal.is-revealed{opacity:1;transform:translate3d(0,0,0) scale(1)}
}

.expo-videos{max-width:1160px;margin:0 auto 60px}.expo-videos h2{font:400 clamp(27px,4vw,40px)/1.2 Georgia,serif;margin:0 0 28px;color:#eee6d9}.expo-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}.expo-video-grid figure{margin:0;min-width:0}.expo-video-grid video{display:block;width:100%;max-height:65svh;background:#080d09;object-fit:contain}.expo-video-grid figcaption{padding:14px 0;border-bottom:1px solid #b39a6738;color:#b39a67;font:12px/1.6 Arial,sans-serif}@media(max-width:650px){.expo-video-grid{grid-template-columns:1fr;gap:30px}.expo-videos{margin-bottom:40px}}

.expo-videos{margin-top:60px}
.expo-tile.events:before{background-image:url('/assets/exposiciones/cf-eadadb7633a7/recorrido.webp')}
.expo-load-status,.expo-photo-description{max-width:1160px;margin:0 auto 24px;color:#c6cbbb;font:14px/1.8 Arial,sans-serif;overflow-wrap:anywhere;white-space:pre-line}
.expo-photos .expo-photo-description{margin:10px 0 20px;font-size:13px;letter-spacing:0}
.expo-year p{white-space:pre-line;overflow-wrap:anywhere}
.expo-retry{display:block;margin:0 auto 28px;min-height:44px;padding:10px 18px;border:1px solid #b39a67;background:transparent;color:#f3ead9;font:14px Arial,sans-serif;cursor:pointer}
