/* ============================================================
   Brown County Annual Events v1.3
   Palette and type scale deliberately match bc-events-calendar.css
   so the two never drift apart visually.
   Filter dropdown styles are inherited from that stylesheet
   (.bc-acc-filter, .bc-cat-*) — not duplicated here.
   ============================================================ */

.bc-ae-wrap { width: 100%; }

/* ── Month jump nav ── */
.bc-ae-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 0;
    margin-bottom: 4px;
    border-bottom: 1px solid #ede5db;
}
a.bc-ae-nav-link {
    font-size: 0.82em;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #8b4513;
    text-decoration: none;
    padding: 5px 11px;
    border: 1px solid #e3d7c8;
    border-radius: 999px;
    background: #fdfaf6;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
a.bc-ae-nav-link:hover,
a.bc-ae-nav-link:focus-visible {
    background: #8b4513;
    border-color: #8b4513;
    color: #fff;
    text-decoration: none;
}
a.bc-ae-nav-link--empty { opacity: 0.32; }

/* Keep month headings clear of a sticky site header when jumping */
.bc-ae-month { scroll-margin-top: 90px; }
.bc-ae-event { scroll-margin-top: 90px; }

/* ── Month headings ── */
.bc-ae-month-heading {
    margin: 30px 0 4px;
    padding-bottom: 7px;
    border-bottom: 2px solid #8b4513;
    color: #2a1a0a;
}
.bc-ae-month:first-of-type .bc-ae-month-heading { margin-top: 16px; }

/* ── Event block ── */
.bc-ae-event {
    padding: 16px 0;
    border-bottom: 1px solid #ede5db;
}
.bc-ae-event:last-child { border-bottom: none; }

.bc-ae-name {
    margin: 0 0 7px;
    color: #2a1a0a;
    line-height: 1.3;
}

/* ── Meta lines (date / location / cost / link) ── */
.bc-ae-meta { margin-bottom: 9px; }
.bc-ae-meta-line {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 2px;
    color: #3a2a1a;
}
.bc-ae-icon {
    display: inline-block;
    width: 1.35em;
    font-style: normal;
}
.bc-ae-label {
    font-weight: 700;
    color: #3a2a1a;
}
.bc-ae-date .bc-ae-value { font-weight: 700; color: #2a1a0a; }

.bc-ae-location .bc-ae-value,
.bc-ae-location a {
    font-weight: 700;
    font-style: italic;
    color: #3a2a1a;
}
.bc-ae-location a { color: #8b4513; text-decoration: none; }
.bc-ae-location a:hover { text-decoration: underline; }

.bc-ae-cost .bc-ae-value { font-weight: 600; color: #5a4a3a; }

.bc-ae-link a {
    font-weight: 700;
    color: #8b4513;
    text-decoration: none;
}
.bc-ae-link a:hover { text-decoration: underline; color: #6b3410; }

/* ── Description ── */
p.bc-ae-desc {
    margin: 0 0 8px;
    font-size: 0.94em;
    color: #5a4a3a;
    line-height: 1.6;
}
p.bc-ae-desc:last-child { margin-bottom: 0; }

/* ── Cancelled ── */
.bc-ae-event--cancelled .bc-ae-date .bc-ae-value {
    color: #a3352b;
    text-transform: uppercase;
    font-size: 0.92em;
    letter-spacing: 0.02em;
}

/* ── Umbrella groups (4th of July Fireworks, Halloween Festivities) ── */
.bc-ae-group {
    padding: 4px 0 8px;
    border-bottom: 1px solid #ede5db;
}
.bc-ae-group:last-child { border-bottom: none; }
.bc-ae-group > .bc-ae-event { border-bottom: none; padding-bottom: 4px; }

/* An umbrella is a grouping heading, not an event — no date line to align to */
.bc-ae-event--umbrella .bc-ae-meta:empty { display: none; }
.bc-ae-event--umbrella .bc-ae-name { color: #8b4513; }

.bc-ae-group-children {
    margin: 4px 0 0 18px;
    padding-left: 18px;
    border-left: 3px solid #f0e6d8;
}
.bc-ae-event--child { padding: 12px 0; }
/* No font-size override here on purpose. Nested events render as real h4s, so
   letting the theme size them keeps them matching a normal bolded H4 elsewhere
   on the site. The old 1.02em cap made them smaller than the theme's h4 and
   hard to read against the group heading above. */
.bc-ae-event--child .bc-ae-name { font-weight: 700; }
.bc-ae-event--child:last-child { padding-bottom: 2px; }

/* ── On hiatus (still in its month, might come back) ── */
.bc-ae-hiatus-note {
    font-size: 0.86em;
    font-style: italic;
    color: #7a6a58;
}
.bc-ae-event--hiatus .bc-ae-date .bc-ae-value { color: #7a6a58; }

/* ── No Longer Happening (bottom section) ──
   Kept on the page for search, so it stays readable - just visibly retired
   rather than hidden or struck through. */
.bc-ae-retired { margin-top: 40px; }
.bc-ae-retired .bc-ae-month-heading {
    border-bottom-color: #c9bcab;
    color: #6b5a48;
}
p.bc-ae-retired-intro {
    margin: 10px 0 4px;
    font-size: 0.92em;
    color: #6b5a48;
    line-height: 1.6;
}
.bc-ae-event--retired .bc-ae-name { color: #6b5a48; }
.bc-ae-event--retired .bc-ae-date .bc-ae-label,
.bc-ae-event--retired .bc-ae-date .bc-ae-value { color: #7a6a58; }
.bc-ae-event--retired p.bc-ae-desc { color: #6b5a48; }

/* ── Filter empty state ── */
.bc-ae-filter-empty {
    margin: 14px 0;
    padding: 12px 14px;
    background: #fdf7ef;
    border: 1px solid #e3d7c8;
    border-radius: 6px;
    font-size: 0.92em;
    color: #5a4a3a;
}
button.bc-ae-reset {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: #8b4513;
    text-decoration: underline;
    cursor: pointer;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .bc-ae-nav { gap: 5px; padding: 10px 0; }
    a.bc-ae-nav-link { font-size: 0.76em; padding: 4px 9px; }
    .bc-ae-group-children { margin-left: 8px; padding-left: 12px; }
    .bc-ae-month-heading { margin-top: 24px; }
}
