/* Photograph thumbnails crop into the shared 4:5 format; viewers retain originals. */
body .event-gallery img,body .event-gallery .studio-asset-preview,
body main section:not(.te-source--full-frame) button[data-image]>img,body .vision-image{aspect-ratio:4/5!important;object-fit:cover!important}
body .event-gallery img,body main section:not(.te-source--full-frame) button[data-image]>img{width:100%;height:auto!important}
body .event-gallery .studio-asset-preview{--slot-ratio:4/5;min-height:0!important}
body .event-gallery>*{transform:none!important;opacity:1!important}
@media(min-width:501px){
 body .event-chapter .event-film{position:relative!important;top:auto!important}
 body .event-chapter .event-gallery{height:var(--paired-photo-height,auto)!important;max-height:var(--paired-photo-height,none)!important;overflow:auto;align-self:start;padding-bottom:0;box-sizing:border-box}
}
/* Six complete photographs share the reel's exact height; crop is layout-driven. */
@media(min-width:501px){
 body .event-chapter .event-columns{min-height:0!important;grid-template-columns:calc(var(--event-media-height) * .5625) minmax(0,1fr);gap:16px}
 body .event-chapter[data-film-side=right] .event-columns{grid-template-columns:minmax(0,1fr) calc(var(--event-media-height) * .5625)}
 body #moxy.event-chapter .event-columns,body #f1.event-chapter .event-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body .event-chapter .event-gallery{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:calc((var(--paired-photo-height) - 10px)/2);gap:10px;align-content:start;scroll-snap-type:y proximity}
 body .event-gallery>*,body .event-gallery .event-photo button,body .event-gallery .studio-asset-preview{height:100%!important;min-height:0!important}
 body .event-gallery .event-photo{position:relative;overflow:hidden;scroll-snap-align:start}
 body .event-gallery .event-photo img,body .event-gallery .studio-asset-preview{aspect-ratio:auto!important;height:100%!important;object-fit:cover!important}
 body .event-gallery .event-photo figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
 body .event-chapter .event-heading{position:relative!important;top:auto!important;display:block!important;padding:12px 0!important;margin-bottom:10px!important}
 body .event-chapter .event-heading h2{font-size:32px!important}
 body .event-chapter .event-heading .eyebrow{font-size:9px;margin-bottom:8px}
 body .event-chapter .project-copy .text-link{min-height:30px;font-size:12px}
}
/* Two projects per editorial spread on roomy desktop screens. */
@media(min-width:1100px){
 body .brands-events-projects,body #brands-events #social-clubs{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
 body .brands-events-projects>.event-chapter,body #social-clubs>.event-chapter{--event-media-height:clamp(240px,25vw,340px)!important;min-width:0;padding-bottom:28px!important}
 body .brands-events-projects .project-heading-logo,body #social-clubs .project-heading-logo{height:28px!important;width:calc(28px * var(--logo-ratio))!important}
 body .brands-events-projects .event-heading,body #social-clubs .event-heading{min-height:70px;box-sizing:border-box}
}
@media(min-width:501px) and (prefers-reduced-motion:no-preference){
 body .event-chapter .event-heading{position:sticky!important;top:var(--site-header-height,128px)!important;z-index:14}
}
