/* Original artwork, framed as a gallery. No treatment is applied to flyer pixels. */
.poster-card.event-card {
  --card-ink: var(--ink, #103e2d);
  --card-muted: var(--poster-muted, #526157);
  --card-line: var(--poster-line, #bcc3af);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--card-ink);
  position: relative;
  isolation: isolate;
}
.poster-card.event-card:hover,
.poster-card.event-card.map-selected {
  border-color: transparent;
  box-shadow: none;
}
.poster-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  min-height: 48px;
  margin-bottom: 8px;
}
.poster-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  color: var(--poster-primary, #0a653d);
  font-size: .875rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .01em;
}
.poster-category > span { overflow-wrap: anywhere; }
.poster-category .icon { width: 17px; height: 17px; flex: 0 0 17px; }
.poster-card .poster-save.save-button {
  position: static;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 9px;
  border: 1px solid var(--card-line);
  border-radius: 50%;
  background: transparent;
  color: var(--card-ink);
  box-shadow: none;
  z-index: auto;
}
.poster-card .poster-save.save-button:hover { background: var(--country-soft, #e7eee4); }
.poster-card .poster-save.save-button.is-saved {
  background: var(--acid, #d0e84c);
  border-color: var(--card-ink);
  color: var(--card-ink);
}
.poster-card .poster-save .icon { width: 19px; height: 19px; }
.poster-media {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 430px;
  border: 1px solid var(--card-line);
  border-radius: 4px;
  background: #f5f4ee;
  cursor: pointer;
  text-align: inherit;
  box-shadow: 4px 4px 0 rgba(16, 62, 45, .07);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.poster-card--venue .poster-media { aspect-ratio: 4 / 3; max-height: 340px; }
.poster-media .poster-original,
.poster-media > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
  filter: none;
  opacity: 1;
  mix-blend-mode: normal;
  transition: none;
}
.poster-card--venue .poster-media > img { object-fit: cover; }
.poster-card .poster-media:hover,
.poster-card.map-selected .poster-media {
  border-color: var(--poster-primary, #0a653d);
  box-shadow: 5px 5px 0 rgba(16, 62, 45, .14);
}
.poster-card .poster-media:hover > img,
.poster-card:hover .poster-media > img { transform: none; filter: none; }
.poster-media .photo-placeholder { width: 100%; height: 100%; min-height: 200px; }
.poster-card-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 18px 0 0;
}
.poster-disclosures { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.poster-disclosure,
.poster-sponsored {
  padding: 4px 7px;
  border: 1px dashed var(--card-line);
  border-radius: 2px;
  color: var(--card-muted);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.3;
}
.poster-sponsored { border-style: solid; background: var(--country-soft, #e7eee4); }
.poster-dateline,
.poster-location,
.poster-time {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  margin: 0;
  color: var(--card-muted);
  font-size: .875rem;
  line-height: 1.5;
}
.poster-dateline {
  margin-bottom: 8px;
  color: var(--poster-primary, #0a653d);
  font-weight: 700;
}
.poster-dateline .icon,
.poster-location .icon,
.poster-time .icon { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; }
.poster-location > span,
.poster-time > span { min-width: 0; overflow-wrap: anywhere; }
.poster-card-copy h3 { margin: 0 0 10px; line-height: 1.12; }
.poster-card .poster-card-title {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--card-ink);
  font-family: var(--heading, 'Space Grotesk', sans-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.16;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.poster-card-title:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.poster-time { margin-top: 4px; }
.poster-pin-pending { font-size: .8125rem; }
.poster-amenities { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; padding: 0; }
.poster-amenities li { padding: 4px 7px; border: 1px solid var(--card-line); border-radius: 3px; color: var(--card-muted); font-size: .75rem; line-height: 1.4; }
.poster-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 14px;
  margin-top: auto;
  padding: 16px 0 0;
}
.poster-admission { flex: 1 1 130px; color: var(--card-ink); font-size: .875rem; font-weight: 700; line-height: 1.5; }
.poster-card--venue .poster-admission { font-weight: 400; color: var(--card-muted); }
.poster-ticket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  gap: 7px;
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--card-ink);
  border-radius: 3px;
  background: transparent;
  color: var(--card-ink);
  font-family: inherit;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.poster-ticket .icon { flex: 0 0 16px; width: 16px; height: 16px; }
.poster-ticket:hover { background: var(--card-ink); color: var(--paper, #f5f3e9); }
.poster-card :is(button, a):focus-visible { outline: 3px solid var(--poster-primary, #0a653d); outline-offset: 4px; }

/* Gallery is the artwork-led default; map mode keeps a usable scrolling index. */
.explorer-layout.list-only #event-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 34px 26px;
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: visible;
  padding: 0 4px 6px 0;
}
.explorer-layout.list-only #event-list .poster-card { display: flex; flex-direction: column; gap: 0; padding: 0; }
#event-list > .empty-state { grid-column: 1 / -1; }
.explorer-layout:not(.list-only) #event-list .poster-card {
  display: grid;
  grid-template-columns: minmax(120px, .42fr) minmax(0, .58fr);
  align-items: start;
  gap: 0 15px;
  padding: 0 0 22px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--card-line);
}
.explorer-layout:not(.list-only) .poster-card-top { grid-column: 1 / -1; margin-bottom: 9px; }
.explorer-layout:not(.list-only) .poster-media { grid-column: 1; aspect-ratio: 3 / 4; min-height: 210px; max-height: 310px; }
.explorer-layout:not(.list-only) .poster-card--venue .poster-media { aspect-ratio: 3 / 4; }
.explorer-layout:not(.list-only) .poster-card-copy { grid-column: 2; padding-top: 0; min-height: 210px; }
.explorer-layout:not(.list-only) .poster-card-title { font-size: 1.25rem; }
.explorer-layout:not(.list-only) .poster-card-bottom { align-items: flex-start; flex-direction: column; gap: 8px; padding-top: 12px; }
.explorer-layout:not(.list-only) .poster-admission { flex: 0 1 auto; }
.explorer-layout:not(.list-only) .poster-amenities { gap: 5px; }

@media (max-width: 1100px) {
  .explorer-layout.list-only #event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .poster-media { max-height: 460px; }
  .explorer-layout:not(.list-only) #event-list .poster-card { grid-template-columns: minmax(115px, .43fr) minmax(0, .57fr); gap: 0 12px; }
  .explorer-layout:not(.list-only) .poster-card-title { font-size: 1.125rem; }
  .explorer-layout:not(.list-only) .poster-media { min-height: 200px; }
}
@media (max-width: 760px) {
  .explorer-layout #event-list,
  .explorer-layout.list-only #event-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    overflow: visible;
    padding: 0 4px 6px 0;
  }
  .explorer-layout #event-list .poster-card,
  .explorer-layout.list-only #event-list .poster-card,
  .explorer-layout:not(.list-only) #event-list .poster-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 22px;
    margin: 0;
    border-bottom: 1px dashed var(--card-line);
    border-radius: 0;
  }
  .explorer-layout .poster-card-top { margin-bottom: 7px; min-height: 44px; }
  .explorer-layout .poster-media,
  .explorer-layout:not(.list-only) .poster-media { aspect-ratio: 4 / 5; min-height: 0; max-height: 520px; }
  .explorer-layout .poster-card--venue .poster-media,
  .explorer-layout:not(.list-only) .poster-card--venue .poster-media { aspect-ratio: 4 / 3; min-height: 0; max-height: 360px; }
  .explorer-layout .poster-card-copy,
  .explorer-layout:not(.list-only) .poster-card-copy { padding-top: 16px; min-height: 0; }
  .explorer-layout .poster-card-title,
  .explorer-layout:not(.list-only) .poster-card-title { font-size: 1.5rem; }
  .explorer-layout .poster-card-bottom,
  .explorer-layout:not(.list-only) .poster-card-bottom { align-items: center; flex-direction: row; gap: 12px; padding-top: 15px; }
  .explorer-layout .poster-admission,
  .explorer-layout:not(.list-only) .poster-admission { flex: 1 1 130px; }
  .explorer-layout.mobile-map #event-list { display: none; }
}
@media (max-width: 370px) {
  .poster-category { font-size: .875rem; }
  .explorer-layout .poster-card-title,
  .explorer-layout:not(.list-only) .poster-card-title { font-size: 1.375rem; }
  .poster-media { box-shadow: 3px 3px 0 rgba(16, 62, 45, .07); }
  .poster-card-bottom { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .poster-media { transition: none; }
}
