.home-highlights {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.home-highlights h2 { font-size: 28px; }
.home-halloween h2 { display: flex; align-items: center; gap: 10px; }
.halloween-dates { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.home-halloween .highlight-date { color: #9a430b; }
html[data-theme="dark"] .home-halloween .highlight-date { color: #ffba83; }

.highlight-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.highlight-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.highlight-card:hover { border-color: var(--forest); box-shadow: var(--shadow-sm); }
.highlight-card:focus-visible, .highlight-controls button:focus-visible, .highlight-cards:focus-visible {
  outline: 2px solid var(--forest-ink);
  outline-offset: 3px;
}

.highlight-image {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--mint);
  border-bottom: 1px solid var(--line);
}

.highlight-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.highlight-copy { display: grid; gap: 6px; padding: 14px 16px 16px; }
.highlight-copy .event-badges { margin-bottom: 0; }
.highlight-date { color: var(--forest-ink); font-size: 13px; font-weight: 750; }
.highlight-title { font-size: 17px; line-height: 1.3; overflow-wrap: anywhere; }
.highlight-venue { color: var(--muted); font-size: 13px; }
.highlight-controls { margin-left: auto; display: flex; gap: 8px; }
.highlight-controls[hidden], .highlight-card[hidden], .home-highlights[hidden] { display: none; }
.highlight-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--forest-ink);
  font-size: 22px;
  cursor: pointer;
}
.highlight-controls button:disabled { opacity: .35; cursor: default; }

@media (max-width: 799px) {
  .home-highlights { padding: 24px 0; }
  .highlight-cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 3px;
    padding: 3px 3px 12px;
    margin: 14px -3px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
  }
  .highlight-card { scroll-snap-align: start; }
  .highlight-cards:has(.highlight-card:only-child) { grid-auto-columns: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .highlight-card { transition: none; }
}
