/* ─── HUFF Schedule Filter ──────────────────────────────────────────────────
   Scope: everything prefixed .huff-  so nothing bleeds into existing styles.
   ─────────────────────────────────────────────────────────────────────────── */

.huff-filters {
  margin: 0 1rem 1rem 1rem;
  margin-top: 1rem;
}

/* Rows */
.huff-filters__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e0ddd8;
}

.huff-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.huff-filter-group--artists {
  margin-bottom: 1rem;
}

/* Label above each pill group */
.huff-filter-label {
  font-size: 0.6875rem;         /* 11px */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
}

/* Pill groups */
.huff-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem;               /* 5px */
}

/* Individual pill */
.huff-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3125rem;
  font-size: 0.75rem;           /* 12px */
  padding: 0.25rem 0.625rem;   /* 4px 10px */
  border-radius: 999px;
  border: 1px solid #ccc;
  background: #fff;
  color: #555;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s, border-color 0.1s, color 0.1s;
  line-height: 1.4;
}

.huff-pill:hover {
  background: #f5f4f1;
  border-color: #aaa;
}

/* Active states — date & artist use a neutral dark */
.huff-pill--active {
  background: #2c2b28;
  border-color: #2c2b28;
  color: #f0ede8;
}

/* Venue pills: active state uses the venue colour set inline via JS.
   We override the generic active background with the dot colour via a
   CSS custom property set by JS, falling back to the dark neutral. */
.huff-pill--active[data-venue-pill] {
  background: var(--venue-color, #2c2b28);
  border-color: var(--venue-color, #2c2b28);
  color: #fff;
}

/* Colour dot inside venue pills */
.huff-pill__dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Status bar */
.huff-filters__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.75rem;
}

/* Clear button */
.huff-filter-clear {
  font-size: 0.75rem;
  color: #534AB7;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.huff-filter-clear:hover {
  text-decoration: underline;
}

/* Empty state */
.huff-filter-empty {
  padding: 2rem;
  text-align: center;
  color: #888;
  font-size: 0.875rem;
}

/* Artist tags in the event markup (already rendered by EE template) */
.artist-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.375rem;
  display: none;
}

.artist-tag {
  font-size: 0.6875rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: #f5f4f1;
  color: #555;
  border: 1px solid #e0ddd8;
  cursor: pointer;
  transition: border-color 0.1s, color 0.1s;
}

.artist-tag:hover {
  border-color: #aaa;
  color: #222;
}

/* Hide venue sections with no matching events */
[data-venue-block] {
  transition: opacity 0.15s;
}

/* Responsive — stack date/venue rows on narrow screens */
@media (max-width: 600px) {
  .huff-filters__row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* ─── Artist search input ────────────────────────────────────────────────── */

.huff-filter-group--artists {
  margin-bottom: 1rem;
}

/* Wrapper positions ghost and real input on top of each other */
.huff-artist-search {
  position: relative;
  display: inline-block;
  min-width: 220px;
  max-width: 320px;
}

/* Shared input styles */
.huff-artist-input {
  display: block;
  width: 100%;
  font-size: 0.8125rem;       /* 13px */
  font-family: inherit;
  padding: 0.3125rem 0.625rem;
  border-radius: 6px;
  box-sizing: border-box;
  line-height: 1.5;
}

/* Ghost: sits behind, shows the completed suggestion in muted colour */
.huff-artist-input--ghost {
  position: absolute;
  top: 0; left: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #aaa;
  pointer-events: none;
  z-index: 0;
}

/* Real input: transparent background so ghost shows through */
.huff-artist-input--real {
  position: relative;
  border: 1px solid #ccc;
  background: transparent;
  color: inherit;
  z-index: 1;
  outline: none;
  transition: border-color 0.15s;
}

.huff-artist-input--real:focus {
  border-color: #534AB7;
}

.huff-artist-input--real::placeholder {
  color: #bbb;
}

@media (max-width: 600px) {
  .huff-artist-search {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem 2.5rem;
  background: #2ed9c3;
  color: #fff;
  box-sizing: border-box;
  z-index: 1000;
  
  font-family: "Big John Regular", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-banner a {
  color: #fafafa;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}

.cta-banner a:hover {
  text-decoration: underline;
}