
/* HOME reader entry: candidate content precedes the optional consultation. */
@media (max-width:47.999rem){
  body[data-reader-shell="home"] [data-reader-home-copy]{padding:1rem 1.25rem;}
  body[data-reader-shell="home"] [data-reader-home-copy] > p:last-child{margin-top:.5rem;}
  body[data-reader-shell="home"] [data-reader-home-intro] + div{margin-top:1rem;}
  body[data-reader-shell="home"] [data-home-event-reader]{margin-top:1.25rem;}
}

@media (max-width:47.999rem){
  
  body[data-reader-shell="home"] a[data-home-operational-action="events"]{display:none;}
}
@media (min-width:48rem){
  body[data-reader-shell="home"] a[data-home-operational-action="near"],
  body[data-reader-shell="home"] a[data-home-operational-action="events"]{display:inline-flex;}
}


/* HOME event cards: one scoped layout; phone tracks keep their native height. */
[data-home-event-reader][hidden],[data-home-event-reader] [data-event-card-host][hidden]{display:none!important}
[data-event-runtime-collection="home"] [data-event-collection-list]{align-items:flex-start}
[data-event-runtime-collection="home"] [data-event-card-host]:has(>[data-home-event-card]){display:block;align-self:flex-start;min-width:0}
[data-event-runtime-collection="home"] [data-home-event-card]{position:relative;display:block;min-width:0;height:auto}
[data-home-event-card] .event-card-editorial{display:block;min-width:0;padding:.875rem}
[data-home-event-card] .event-card-editorial__title{display:block;-webkit-line-clamp:unset;overflow:visible;margin:0;line-height:1.5}
[data-home-event-card] .event-card-editorial__meta{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start;gap:.375rem;margin-top:.375rem}
[data-home-event-card] .event-card-editorial__date{min-width:0;margin:0;font-size:.8125rem;line-height:1.6}
[data-home-event-card] .event-card-home__day{white-space:normal;overflow-wrap:anywhere}
[data-home-event-card] .event-card-editorial__status{margin-inline-start:0}
[data-home-event-card] .event-card-editorial__location{margin-top:.375rem;font-size:.8125rem;line-height:1.6;overflow-wrap:anywhere}
[data-home-event-card] .event-card-editorial>.event-card-media{margin:.625rem -.875rem 0}
[data-home-event-card] .event-card-editorial>.event-card-media .event-card-media__frame{width:100%;height:auto;aspect-ratio:auto;overflow:hidden;border-radius:0}
[data-home-event-card] .event-card-editorial>.event-card-media .event-card-media__image{display:block;width:100%;height:auto;object-fit:contain;transform:none;scale:1}
[data-home-event-card] .event-card-editorial>.event-card-media .event-card-media__credit{margin:0;padding:.375rem .875rem;font-size:.75rem;line-height:1.5;overflow:visible;overflow-wrap:anywhere;white-space:normal;-webkit-line-clamp:unset}
[data-home-event-card] .event-card-media__label{position:static;display:inline;margin-inline-end:.35rem;padding:0;background:transparent;font-size:inherit;font-weight:650}
[data-home-event-card] .event-card-editorial__description{display:block;overflow:visible;-webkit-line-clamp:unset;margin-top:.625rem}
[data-home-event-card] [data-home-experience-description]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
[data-home-event-card] .event-card-editorial__chips{margin-top:.45rem}
[data-home-event-card] [data-home-event-action]{margin-top:.5rem;padding-top:0;color:#065f46;font-size:.875rem;font-weight:650;line-height:1.5}
/* The existing title hit area and independent tag controls remain separate. */
[data-home-event-card] .event-home-primary::after{content:"";position:absolute;inset:0;z-index:1}
[data-home-event-card] .event-home-primary:focus-visible::after{outline:3px solid #0f766e;outline-offset:-3px;border-radius:1rem}
[data-home-event-card] .event-home-tag{position:relative;z-index:2;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 10px;border:1px solid #99c9c2;color:#075e58;background:#effbf8;text-decoration:none;font-weight:600}
[data-home-event-card] .event-home-tag:hover{background:#d6f3eb}
[data-home-event-card] .event-home-tag:focus-visible{outline:3px solid #0f766e;outline-offset:2px}
@media(max-width:767px){
 [data-event-runtime-collection="home"] [data-event-collection-list]:has(>[data-event-card-host]>[data-home-event-card]){margin-inline-end:-1rem;padding-inline-end:1rem}
 [data-event-runtime-collection="home"] [data-event-card-host]:has(>[data-home-event-card]){flex:0 0 auto;inline-size:min(calc(100vw - 3rem),25rem);max-inline-size:100%}
}
@media(max-width:350px){
 [data-home-event-card] .event-card-editorial{padding:.75rem}
 [data-home-event-card] .event-card-editorial>.event-card-media{margin-inline:-.75rem}
 [data-home-event-card] .event-card-editorial>.event-card-media .event-card-media__credit{padding-inline:.75rem}
}
@media(min-width:768px){
 [data-home-event-card] .event-card-editorial__title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 [data-event-runtime-collection="home"] [data-event-collection-list]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;overflow:visible;scroll-snap-type:none}
 [data-event-runtime-collection="home"] [data-event-card-host]:has(>[data-home-event-card]){display:flex;align-self:stretch;width:auto;min-width:0}
 [data-event-runtime-collection="home"] [data-home-event-card]{display:flex;flex:1;flex-direction:column;height:100%;width:100%}
 [data-home-event-card] .event-card-editorial{display:flex;flex:1;flex-direction:column}
 [data-home-event-card] .event-card-editorial__meta{grid-template-columns:minmax(0,1fr);gap:.25rem}
 [data-home-event-card] .event-card-editorial__status{justify-self:start}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]{display:grid;grid-template-columns:minmax(0,1fr) clamp(7.5rem,35%,11.25rem);grid-template-rows:auto auto auto 1fr auto auto auto;column-gap:1rem;align-content:start}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>.event-card-editorial__title{grid-column:1/-1;grid-row:1}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>.event-card-editorial__meta{grid-column:1;grid-row:2}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>.event-card-editorial__location{grid-column:1;grid-row:3}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>.event-card-media{grid-column:2;grid-row:2/8;align-self:start;min-width:0;margin:.5rem 0 0}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>.event-card-media .event-card-media__credit{padding:.375rem 0 0}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>.event-card-editorial__description{grid-column:1;grid-row:4}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>[data-event-card-price]:not([data-home-event-action]){grid-column:1;grid-row:5}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>.event-card-editorial__chips{grid-column:1;grid-row:6}
 [data-home-event-card] .event-card-editorial[data-event-card-media-kind="venue-photo"]>[data-home-event-action]{grid-column:1;grid-row:7}
 [data-home-event-card] [data-home-event-action]{margin-top:auto;padding-top:.65rem}
}

/* Exact source curated-eight desktop row rule; compatibility with the accepted shared stylesheet. */
@media(min-width:48rem){:is([data-home-featured-grid],#area-featured-grid:not(.area-hidden))[data-reader-curated-count="8"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch}:is([data-home-featured-grid],#area-featured-grid)[data-reader-curated-count="8"]>li{display:flex;align-self:stretch}}
