/* Jaguars Events: card layout, card tones and filter pills. Colors match the site palette. */

/* Rotating card colors (white / peach / gold) in event grids.
   JS sets data-tone on visible cards; nth-child is the no-JS fallback. */
.elementor-loop-container > .e-loop-item:nth-child(3n+2) .jag-ev-card,
.elementor-loop-container > .e-loop-item[data-tone="1"] .jag-ev-card { background-color: #FCD3CE !important; }
.elementor-loop-container > .e-loop-item:nth-child(3n) .jag-ev-card,
.elementor-loop-container > .e-loop-item[data-tone="2"] .jag-ev-card { background-color: #D6A129 !important; }
.elementor-loop-container > .e-loop-item[data-tone="0"] .jag-ev-card { background-color: #FFFFFF !important; }

.e-loop-item.jag-hidden { display: none !important; }
.jag-events-empty { display: none; text-align: center; font-family: "Montserrat", sans-serif; color: #2F2D27; padding: 24px 0; }
.jag-events-empty.is-visible { display: block; }

/* Filter pills: active state */
.jag-filter .elementor-button { cursor: pointer; transition: background-color .15s, color .15s; }
.jag-filter.is-active .elementor-button { background-color: #2F2D27 !important; color: #FFFFFF !important; }

/* Card header: fixed-width date badge, title column takes the rest and wraps.
   Elementor makes containers 100% wide on mobile, so the badge width is locked at every size. */
.jag-ev-badge { --width: 64px; width: 64px !important; max-width: 64px; flex: 0 0 64px !important; }
.jag-ev-badge .elementor-heading-title { white-space: nowrap; }
.jag-ev-head-text { --width: auto; width: auto !important; flex: 1 1 0% !important; min-width: 0 !important; }
.jag-ev-head-text .elementor-heading-title { overflow-wrap: break-word; }
