/* Events public index — /events, /{state}/events, /{state}/{city}/events, /events/type/{slug}.
 *
 * TOP RULE 3 / ADR-027: literal color values only, no var(--*).
 * Palette graded against s417 v3 Expedia tab (public surfaces).
 *   navy   #191e3b
 *   blue   #1668e3
 *   green  #1b8c3f
 *   gold   #ffc94d
 *   ink    #0f1a2f
 *   muted  #6b7280
 *   line   #e2e6ee
 *   surface #ffffff
 *   bg      #f6f8fc
 */

.evt-headband {
    background: #f6f8fc;
    border-bottom: 1px solid #e2e6ee;
    padding: 24px 0 20px;
}
.evt-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.evt-h1 {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1.2;
    color: #191e3b;
    font-weight: 700;
}
.evt-h1-sub {
    font-weight: 400;
    color: #4a5568;
    font-size: 22px;
}
.evt-count {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.evt-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    padding: 24px 0 48px;
}
@media (max-width: 900px) {
    .evt-layout { grid-template-columns: 1fr; gap: 20px; }
}

.evt-facets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.evt-facet-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.evt-facet-block {
    background: #ffffff;
    border: 1px solid #e2e6ee;
    border-radius: 6px;
    padding: 14px 14px 12px;
}
.evt-facet-title {
    margin: 0 0 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #191e3b;
    font-weight: 700;
}
.evt-facet-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.evt-facet-item { margin: 0; padding: 0; }
.evt-facet-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 4px;
    text-decoration: none;
    color: #0f1a2f;
    font-size: 14px;
    border-radius: 4px;
}
.evt-facet-link:hover { background: #f6f8fc; color: #1668e3; }
.evt-facet-checked { background: #eaf1fd; color: #1668e3; font-weight: 600; }
.evt-facet-ct { color: #6b7280; font-size: 13px; }

.evt-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #0f1a2f;
    cursor: pointer;
}
.evt-toggle input { margin: 0; }

.evt-section-title {
    margin: 0 0 16px;
    font-size: 18px;
    color: #191e3b;
    font-weight: 700;
}

.evt-grid {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.evt-grid-muted { opacity: 0.85; }

.evt-card {
    background: #ffffff;
    border: 1px solid #e2e6ee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 120ms ease, border-color 120ms ease;
}
.evt-card:hover {
    border-color: #b8c4d8;
    box-shadow: 0 4px 12px rgba(25, 30, 59, 0.08);
}
.evt-card-past { opacity: 0.75; }

.evt-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.evt-card-img {
    aspect-ratio: 16 / 9;
    background: #f6f8fc;
    overflow: hidden;
}
.evt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.evt-card-img-empty {
    background: linear-gradient(135deg, #eaf1fd 0%, #f6f8fc 100%);
}
.evt-card-body {
    padding: 12px 14px 14px;
}
.evt-card-date {
    font-size: 12px;
    color: #1668e3;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}
.evt-card-date-past {
    color: #6b7280;
}
.evt-card-title {
    margin: 0 0 6px;
    font-size: 16px;
    color: #191e3b;
    font-weight: 700;
    line-height: 1.3;
}
.evt-card-tag {
    display: inline-block;
    background: #eaf1fd;
    color: #1668e3;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 4px;
}
.evt-card-center, .evt-card-loc {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

.evt-empty {
    background: #ffffff;
    border: 1px dashed #e2e6ee;
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
}
.evt-empty-title {
    margin: 0 0 6px;
    font-size: 16px;
    color: #191e3b;
    font-weight: 600;
}
.evt-empty-body {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.evt-past {
    margin-top: 32px;
    border-top: 1px solid #e2e6ee;
    padding-top: 20px;
}
.evt-past-summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #191e3b;
    padding: 6px 0;
    list-style: none;
}
.evt-past-summary::-webkit-details-marker { display: none; }
.evt-past-summary::before {
    content: "\25B8";
    display: inline-block;
    margin-right: 8px;
    color: #6b7280;
    transition: transform 120ms ease;
}
.evt-past[open] .evt-past-summary::before { transform: rotate(90deg); }
