.di-event-image{margin:0;width:100%;background:#fff}
.di-event-image img{display:block;width:100%;max-width:100%;object-fit:contain;object-position:center;height:auto}
.di-event-image--overview img{aspect-ratio:16/9}
.di-event-image--banner img{aspect-ratio:16/10;max-height:70vh}
.di-event-image--related img{aspect-ratio:1}
.di-event-image--past img{height:auto;aspect-ratio:auto}
.di-event-grid .elementor-posts-container{align-items:start}
[id]{scroll-margin-top:160px}
.di-hero-claim h2.elementor-heading-title{max-width:22ch;overflow-wrap:break-word}
.di-hero-claim h4.elementor-heading-title{max-width:58ch;font-size:18px;line-height:1.55}
.di-hero-claim .elementor-widget-heading{position:relative;z-index:1}
.di-hero-claim .elementor-heading-title,.di-hero-claim .elementor-widget-text-editor{background:rgba(255,255,255,.92);padding:16px;border-radius:4px}
.di-flyer-notice{padding:24px;line-height:1.6;background:#f2f2ff;color:#333340}
.di-flyer-notice a{overflow-wrap:anywhere;text-decoration:underline}
.di-flyer-preview{display:inline-block;margin-top:12px;padding:12px 20px;border:1px solid currentColor;border-radius:4px}
@media(max-width:767px){[id]{scroll-margin-top:120px}.di-event-image--banner img{max-height:55vh}.di-flyer-notice{padding:20px}}

@media(max-width:767px){.di-hero-claim h4.elementor-heading-title{font-size:16px;line-height:1.5}.di-hero-claim{background-position:center bottom!important}.di-hero-claim .elementor-inner-column:last-child{min-height:180px}}

/* Keep WordPress lazy-image placeholders from forcing a 1500px card height. */
.di-event-image img{contain-intrinsic-size:none}

/* Center incomplete rows in the existing homepage event widget. */
.elementor-element-24c0e1c .elementor-posts-container{display:flex!important;justify-content:center;flex-wrap:wrap;gap:30px}
.elementor-element-24c0e1c .elementor-posts-container>.ecs-post-loop{flex:0 1 calc((100% - 60px)/3);min-width:0}
@media(max-width:1024px){.elementor-element-24c0e1c .elementor-posts-container>.ecs-post-loop{flex-basis:calc((100% - 30px)/2)}}
@media(max-width:767px){.elementor-element-24c0e1c .elementor-posts-container>.ecs-post-loop{flex-basis:100%}}
