/* Native tour cards, in a single responsive horizontal row. */
body.single-lms_event:has(.lms-related-shows) .lms-single-event__nav{display:none!important}
body.single-lms_event .lms-related-shows{box-sizing:border-box;width:var(--lms-event-content-width);max-width:1290px;margin:clamp(40px,5vw,80px) auto 60px;padding:0;min-width:0;color:var(--lms-text);font-family:var(--lms-body-font)}
.lms-related-shows__heading{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:26px}
.lms-related-shows__heading>div:first-child{flex:1 1 340px;min-width:0}
.lms-related-shows__eyebrow{margin:0 0 12px;color:#fff;font-family:var(--lms-display-font);font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.lms-related-shows h2{font-family:var(--lms-display-font)!important;color:#fff;font-size:clamp(24px,3vw,36px);font-weight:400;line-height:1.3;text-transform:uppercase;letter-spacing:-.02em;margin:0!important}
.lms-related-shows__all{font-size:15px;font-weight:600;color:var(--lms-gold);text-decoration:none;padding:8px 0}
.lms-related-shows__all:is(:hover,:focus-visible),.lms-related-shows__details:is(:hover,:focus-visible){color:var(--lms-hover)}
.lms-related-shows__controls{display:flex;gap:10px;align-items:center}
.lms-related-shows__controls[hidden]{display:none!important}
.lms-related-shows__controls button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--lms-line)!important;border-radius:3px;background:transparent!important;color:#fff!important;box-shadow:none!important;padding:0;font:inherit;font-size:20px;cursor:pointer}
.lms-related-shows__controls button:not(:disabled):is(:hover,:focus-visible,:active){background:var(--lms-gold)!important;color:var(--lms-bg)!important;border-color:var(--lms-gold)!important}
.lms-related-shows__controls button:disabled{opacity:.35;cursor:default}
body.single-lms_event .lms-related-shows .lms-related-shows__track{display:grid!important;grid-template-columns:none!important;grid-template-rows:auto;grid-auto-flow:column;grid-auto-columns:calc((100% - 48px)/3);gap:24px!important;align-items:stretch;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:0!important;padding:4px 4px 16px!important;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:4px;scrollbar-width:thin;scrollbar-color:var(--lms-gold) var(--lms-panel);-webkit-overflow-scrolling:touch}
.lms-related-shows__item{min-width:0;display:flex;flex-direction:column;scroll-snap-align:start}
.lms-related-shows__item .lms-tour-event-card{width:100%;max-width:none;min-width:0;height:100%;display:flex;flex-direction:column;box-sizing:border-box}
.lms-related-shows__item .lms-tour-event-card__media{width:100%;flex:none;aspect-ratio:1;overflow:hidden}
.lms-related-shows__item .lms-tour-event-card__media img{display:block;width:100%;height:100%;object-fit:cover}
.lms-related-shows__item .lms-tour-event-card__body{display:flex;flex:1;flex-direction:column;min-width:0}
.lms-related-shows__item .lms-tour-event-card__action{margin-top:auto}
.lms-related-shows__item .lms-related-shows__title{display:block;font-family:var(--lms-display-font);font-weight:400;color:#fff;font-size:clamp(16px,1.4vw,20px);line-height:1.35;overflow-wrap:anywhere;margin:0 0 12px;text-decoration:none}
.lms-related-shows__item .lms-related-shows__title:is(:hover,:focus-visible){color:var(--lms-gold)}
.lms-related-shows__item .lms-related-shows__details{display:block;text-align:center;font-size:15px;font-weight:600;color:var(--lms-gold);padding:12px 16px 18px;text-decoration:none}
@media(max-width:1024px){body.single-lms_event .lms-related-shows .lms-related-shows__track{grid-auto-columns:calc((100% - 20px)/2);gap:20px!important}}
@media(max-width:620px){body.single-lms_event .lms-related-shows{margin-top:36px;margin-bottom:40px}.lms-related-shows__heading{align-items:center;gap:12px;margin-bottom:18px}.lms-related-shows__heading>div:first-child{flex-basis:100%}.lms-related-shows__all{margin-right:auto}.lms-related-shows__controls button{width:40px;height:40px}body.single-lms_event .lms-related-shows .lms-related-shows__track{grid-auto-columns:83%;gap:16px!important}.lms-related-shows__eyebrow{font-size:11px}}
@media(prefers-reduced-motion:reduce){.lms-related-shows__track{scroll-behavior:auto!important}}

/* Match the event detail area to the upcoming shows carousel on desktop.
   The plugin's original responsive summary and mobile rules remain intact. */
body.single-lms_event{--lms-event-content-width:min(calc(100% - 40px),1290px)}
@media(min-width:1025px){
  body.single-lms_event main#primary.site-main.lms-events-page{
    box-sizing:border-box;width:var(--lms-event-content-width)!important;max-width:1290px!important;
    min-width:0;margin-inline:auto!important;padding-inline:0!important;float:none;
  }
  body.single-lms_event main#primary.site-main.lms-events-page>.lms-events-container,
  body.single-lms_event main#primary.site-main.lms-events-page>.lms-events-container>article.lms-single-event{
    box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0;
    margin-inline:auto!important;padding-inline:0!important;
  }
}
