/* Values are bounded, sanitized post metadata shared by wp-admin and the frontend. */
.event-card[data-am-event-design] .event-art{height:var(--am-cardHeight,360px);color:var(--am-cardTitleColor,#fff4df);background:#302335}
.event-card[data-am-event-design] .event-art.autore{background:#d9b769}
.event-card[data-am-event-design] .event-art img{object-position:var(--am-cardImageX,75%) var(--am-cardImageY,50%);opacity:calc(var(--am-cardImageOpacity,100) / 100);filter:none}
.event-card[data-am-event-design] .event-art-shade{background:var(--am-cardOverlayColor,#302335);opacity:calc(var(--am-cardOverlayOpacity,70) / 100)}
.event-card[data-am-event-design] .art-title{top:72px;bottom:62px;display:flex;flex-direction:column;justify-content:var(--am-cardPosition,center);text-align:var(--am-cardAlign,left);min-width:0}
.event-card[data-am-event-design] .art-title h3{color:var(--am-cardTitleColor,#fff4df);font:400 var(--am-cardTitleSize,48px)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.035em;margin:0 0 15px;max-width:none;overflow-wrap:anywhere}
.event-card[data-am-event-design] .art-title p{color:var(--am-cardSubtitleColor,#fff4df);margin:0;font:italic 16px/1.5 Georgia,'Times New Roman',serif}
.event-card[data-am-event-design] .art-top,.event-card[data-am-event-design] .art-bottom{color:var(--am-cardMetaColor,#f1dfb8)}
.event-card[data-show-subtitle="false"] .art-title p,.event-card[data-show-meta="false"] .art-top,.event-card[data-show-signature="false"] .art-bottom{display:none}
.event-card .event-meta{display:flex;gap:8px 16px;align-items:baseline;flex-wrap:wrap;margin-top:20px;font-size:.9375rem;line-height:1.65}
.event-card .event-meta time{flex-shrink:0}
.event-card .event-card-description{margin:20px 0 24px;line-height:1.8}
.event-card .event-card-bottom{border-top:1px solid #ded5c8}
.event-card .event-card-booking{display:inline-block;margin-top:12px;padding:8px 15px;border:1px solid #c7a36b;color:#38293c;background:#efe5cb;border-radius:3px}
.event-card .am-past-label{font-size:.8125rem;color:#756b71}
.event-card .event-card-bottom a:empty,.event-card .event-card-booking:empty{display:none}
.am-event-hero[data-am-event-design]{min-height:var(--am-heroHeight,440px);color:var(--am-heroTextColor,#fff4df);text-align:var(--am-heroAlign,left);display:flex;align-items:center}
.am-event-hero[data-am-event-design]::after{background:var(--am-heroOverlayColor,#241923);opacity:calc(var(--am-heroOverlayOpacity,72) / 100)}
.am-event-hero[data-am-event-design] .am-event-cover img{object-position:var(--am-heroImageX,50%) var(--am-heroImageY,50%)}
.am-event-hero[data-am-event-design] .am-event-title{width:calc(100% - 112px);max-width:1216px;margin-inline:auto}
.am-event-hero[data-am-event-design] .am-event-title h1{color:var(--am-heroTitleColor,#fffdf8);font-size:var(--am-heroTitleSize,68px)}
.am-event-hero[data-am-event-design] .am-event-subtitle,.am-event-hero[data-am-event-design] .heading-meta,.am-event-hero[data-am-event-design] .heading-meta a,.am-event-hero[data-am-event-design] .breadcrumbs,.am-event-hero[data-am-event-design] .breadcrumbs a{color:var(--am-heroTextColor,#fff4df)}
.am-event-hero[data-am-event-design] .am-eyebrow{color:var(--am-heroAccentColor,#edcd82)}
.am-event-detail[data-am-event-design]{max-width:var(--am-contentWidth,1216px);gap:var(--am-contentGap,70px)}
.am-event-detail[data-booking-sticky="false"] .booking,.am-event-detail[data-booking-sticky="false"]>.am-dynamic-booking{position:static}
@media(min-width:801px){
 .am-event-detail[data-booking-position="left"]{grid-template-columns:minmax(0,425px) minmax(0,1fr)}
 .am-event-detail[data-booking-position="left"]>.am-dynamic-booking{grid-column:1;grid-row:1}
 .am-event-detail[data-booking-position="left"]>.am-event-description{grid-column:2;grid-row:1}
 .am-event-detail[data-booking-position="below"]{grid-template-columns:minmax(0,1fr)}
 .am-event-detail[data-booking-position="below"]>.am-dynamic-booking{width:min(640px,100%);justify-self:center;position:static}
}
.home-carousel-feature[data-am-event-design] h3,.home-carousel-feature[data-am-event-design] h3 a{color:var(--am-cardTitleColor,#fff4df)}
.home-carousel-feature[data-am-event-design] .home-carousel-copy>p{color:var(--am-cardSubtitleColor,#fff4df)}
.home-carousel-feature[data-am-event-design] .home-carousel-format{color:var(--am-cardMetaColor,#f1dfb8)}
.am-event-archive-link{display:inline-block;margin-block:0 28px;text-underline-offset:5px}
.am-archive-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:flex-end;border-block:1px solid #ded5c8;padding-block:24px;margin-bottom:24px}
.am-archive-filters label{display:flex;flex-direction:column;gap:7px;font-size:.875rem;min-width:145px;max-width:100%}
.am-archive-filters input,.am-archive-filters select{font:inherit;max-width:100%;min-height:44px;padding:9px;border:1px solid #cbbda6;background:#fffdf8;color:#38293c;border-radius:2px}
.am-archive-submit{min-height:44px;background:#38293c;color:#fffdf8;border:1px solid #38293c;padding:10px 18px;font:inherit;cursor:pointer}
.am-archive-pagination{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:35px}
.am-archive-pagination>*{min-width:44px;min-height:44px;padding:10px;text-align:center}
@media(max-width:800px){
 .am-event-hero[data-am-event-design]{min-height:var(--am-heroMobileHeight,360px)}
 .am-event-hero[data-am-event-design] .am-event-title{width:calc(100% - 48px)}
 .am-event-hero[data-am-event-design] .am-event-title h1{font-size:var(--am-heroMobileTitleSize,44px)}
 .am-event-detail[data-am-event-design]{gap:32px}
 .am-event-detail[data-am-event-design] .booking{position:static}
}
@media(max-width:599px){
 .event-card[data-am-event-design] .event-art{height:var(--am-cardMobileHeight,320px)}
 .event-card[data-am-event-design] .art-title h3{font-size:var(--am-cardMobileTitleSize,36px)}
 .event-card[data-am-event-design] .art-title{left:22px;right:22px;top:65px;bottom:65px}
 .event-card .art-top,.event-card .art-bottom{left:22px;right:22px;letter-spacing:.12em}
 .am-archive-filters label{width:100%}
}
