.event-copy { min-width: 0; }
.toolbar-actions { display: flex; align-items: center; gap: 12px; }
.view-switcher { display: flex; padding: 3px; border: 1px solid #55596f; border-radius: 12px; background: #0c0e18; }
.view-switcher button { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 7px 11px; color: var(--muted); border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: .2s; }
.view-switcher button:hover { color: var(--paper); }
.view-switcher button.active { color: #071009; background: var(--acid); }
.view-icon { display: grid; width: 16px; height: 16px; gap: 2px; }
.view-icon i { display: block; border: 1.5px solid currentColor; border-radius: 1px; }
.view-icon-list { grid-template-rows: repeat(3, 1fr); }
.view-icon-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); }
.view-icon-calendar { grid-template-columns: repeat(3, 1fr); grid-template-rows: 4px repeat(2, 1fr); }
.view-icon-calendar i:first-child { grid-column: 1 / -1; background: currentColor; border: 0; }
.events.events-calendar { display: block; overflow: auto; padding-right: 0; }
.calendar { min-width: 720px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0c0e18; }
.calendar-header { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.calendar-header h3 { margin: 0; font: 700 26px/1 Fraunces,serif; text-align: center; text-transform: capitalize; }
.calendar-header button { width: 42px; height: 36px; color: var(--paper); border: 1px solid #55596f; border-radius: 8px; background: #151727; cursor: pointer; }
.calendar-header button:hover { color: #071009; border-color: var(--acid); background: var(--acid); }
.calendar-weekdays,.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(96px,1fr)); }
.calendar-weekdays { color: var(--muted); border-bottom: 1px solid var(--line); background: #111321; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.calendar-weekdays span { padding: 10px 12px; border-right: 1px solid var(--line); }
.calendar-day { min-height: 130px; padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(145deg,#111321,#0c0e18); }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day-empty { background: #090b14; }
.calendar-day-number { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 7px; color: #d4d5dc; font-size: 12px; font-weight: 700; }
.calendar-day.is-today .calendar-day-number { color: #071009; border-radius: 50%; background: var(--acid); }
.calendar-events { display: grid; gap: 5px; }
.calendar-event { width: 100%; padding: 7px 8px; overflow: hidden; color: var(--paper); border: 1px solid #373b55; border-radius: 6px; background: #1b1e31; font: inherit; font-size: 11px; line-height: 1.25; text-align: left; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; }
.calendar-event span { margin-right: 5px; color: var(--acid); font-weight: 700; }
.calendar-event:hover,.calendar-event:focus-visible { border-color: var(--acid); outline: 0; background: #252940; }
.quick-filters { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 24px 0 4px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quick-filter-label { margin-right: 3px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.quick-filter-group button { color: var(--paper); background: #151727; border: 1px solid #55596f; border-radius: 999px; padding: 8px 13px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.quick-filter-group button:hover { border-color: var(--acid); }
.quick-filter-group button.active { color: #071009; background: var(--acid); border-color: var(--acid); }
.event-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.event-ticket { white-space: nowrap; color: #071009; background: var(--acid); border-radius: 8px; padding: 9px 12px; font-size: 12px; font-weight: 800; text-decoration: none; }
.event.with-image { grid-template-columns: 132px 92px 1fr auto; }
.event-image {
  width: 132px;
  height: 106px;
  border-radius: 9px;
  object-fit: cover;
  background: #202337;
}
.event-copy h3 { margin: 3px 0 7px; }
.event-copy h3 a { color: inherit; text-decoration: none; }
.event-copy h3 a:hover { color: var(--acid); text-decoration: underline; }
.events.events-grid { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; align-items: stretch; }
.events-grid .event,
.events-grid .event.with-image { position: relative; display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto 1fr auto; gap: 0 16px; min-width: 0; padding: 0 20px 20px; overflow: hidden; align-items: start; }
.events-grid .event:hover { transform: translateY(-4px); }
.events-grid .event-image { grid-column: 1 / -1; width: calc(100% + 40px); height: 180px; margin: 0 -20px 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.events-grid .datebox { grid-column: 1; grid-row: 2 / span 2; padding: 2px 15px 0 0; }
.events-grid .event-copy { display: contents; }
.events-grid .category { grid-column: 2; grid-row: 2; align-self: center; }
.events-grid .event-copy h3 { grid-column: 1 / -1; grid-row: 3; margin: 18px 0 10px; font-size: 25px; }
.events-grid .excerpt { grid-column: 1 / -1; grid-row: 4; margin: 0 0 18px; color: #b7b8c3; line-height: 1.55; }
.events-grid .meta { grid-column: 1 / -1; grid-row: 5; padding-top: 14px; border-top: 1px solid var(--line); }
.events-grid .event-actions { grid-column: 1 / -1; grid-row: 6; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 18px; }
.events-grid .empty { grid-column: 1 / -1; }
.category {
  color: var(--acid);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.excerpt {
  max-width: 850px;
  margin: 0 0 10px;
  color: #c6c7d0;
  font-size: 14px;
  line-height: 1.45;
}
.event-details {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.description {
  margin-top: 24px;
  color: #d6d5dc;
  font-size: 16px;
  line-height: 1.72;
}
.description p {
  margin: 0 0 1.15em;
}
.description p:first-child {
  color: var(--paper);
  font-size: 18px;
}
.dialog-image {
  display: block;
  width: 100%;
  max-height: 390px;
  object-fit: cover;
  background: #202337;
}
.event-detail { display: block; width: min(920px, calc(100% - 40px)); margin: 60px auto 100px; }
.event-detail article { padding: 36px; border: 1px solid var(--line); background: var(--ink-soft); }
.event-detail h1 { max-width: 850px; margin: 10px 0 24px; font-family: "Fraunces", serif; font-size: clamp(38px, 7vw, 72px); line-height: 1; }
.detail-image { width: 100%; max-height: 520px; margin-bottom: 30px; object-fit: cover; }
.event-detail .primary { display: inline-block; margin-top: 22px; }
.secondary { color: var(--paper); border: 1px solid #62657b; border-radius: 10px; padding: 12px 18px; font-weight: 700; text-decoration: none; }
@media (max-width: 850px) {
  .toolbar { align-items: flex-start; gap: 16px; }
  .toolbar-actions { flex-direction: column; align-items: flex-end; }
  .quick-filters { display: grid; gap: 12px; }
  .quick-filter-label { width: 54px; }
  .event.with-image { grid-template-columns: 78px 1fr; }
  .event-image { grid-column: 1 / -1; width: 100%; height: 180px; }
  .event-actions { grid-column: 2; align-items: flex-start; }
  .events-grid .event-actions { grid-column: 1 / -1; align-items: center; }
  .dialog-image { max-height: 260px; }
}
@media (max-width: 520px) {
  .view-switcher button { padding: 7px 9px; }
  .view-switcher button > span:last-child { display: none; }
  .calendar { min-width: 660px; }
}
