/* Three spacious exhibition albums. No placeholder photography. */
.events-hero {
  padding: clamp(65px, 9vw, 116px) 24px 78px;
  text-align: center;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}
.events-hero .eyebrow { justify-content: center; }
.events-hero h1 {
  margin: 0 auto;
  color: var(--pine);
  font-size: clamp(38px, 5.5vw, 70px);
  letter-spacing: -.045em;
  line-height: 1.2;
  text-wrap: balance;
}
.events-hero p:not(.eyebrow) { max-width: 650px; margin: 22px auto 0; color: var(--muted); }
.events-hero .events-template-note { font-size: 12px; max-width: 540px; }
.event-section { padding-top: 72px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.event-section:last-child { border-bottom: 0; padding-bottom: 88px; }
.event-heading { text-align: center; margin-bottom: 30px; }
.event-heading .eyebrow { justify-content: center; margin-bottom: 15px; }
.event-title { margin: 0; color: var(--pine); font-size: clamp(26px, 3.5vw, 40px); line-height: 1.4; overflow-wrap: anywhere; }
.event-title.is-empty { color: #7b857d; font-weight: 400; }
.event-media { position: relative; max-width: 1120px; margin: 0 auto; }
.event-track {
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border: 1px solid var(--line);
  background: var(--sand);
}
.event-track::-webkit-scrollbar { display: none; }
.event-slide { flex: 0 0 100%; width: 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; }
.event-slide img { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--sand); }
.event-empty, .event-photo-error {
  aspect-ratio: 16 / 10;
  border: 1px dashed #babfb6;
  background: #f3f1eb;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}
.event-photo-error { position: absolute; inset: 0; border: 0; height: 100%; }
.event-empty strong, .event-photo-error strong { color: #6d796f; font-size: clamp(16px, 2vw, 22px); font-weight: 400; }
.event-empty p, .event-photo-error p { max-width: 430px; margin: 12px 0 0; font-size: 12px; }
.event-blank-number { font-family: var(--serif); font-size: 28px; color: #b4baaf; margin-bottom: 20px; }
.event-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 16px; flex-wrap: wrap; }
.event-controls__buttons { display: flex; align-items: center; gap: 8px; }
.event-arrow { width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.event-toggle { min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 11px; }
.event-controls button:hover:not(:disabled) { color: var(--orange-dark); border-color: var(--pine); }
.event-controls button:disabled { opacity: .4; cursor: default; }
.event-counter { font-size: 11px; color: var(--muted); min-width: 105px; text-align: right; }
.event-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; max-width: 360px; }
.event-dot { width: 22px; height: 24px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.event-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #bdc3b9; }
.event-dot[aria-current=true]::after { background: var(--orange); }
.event-media [hidden] { display: none !important; }
.events-contact { padding: 70px 24px 85px; background: var(--pine); color: var(--white); text-align: center; }
.events-contact h2 { max-width: 760px; margin: 0 auto; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.035em; line-height: 1.3; }
.events-contact p { color: #c7d1c8; max-width: 600px; margin: 20px auto 25px; font-size: 14px; }
@media (max-width: 760px) {
  .events-hero { padding: 60px 22px 62px; }
  .events-hero p:not(.eyebrow) { font-size: 13px; }
  .events-hero .events-template-note { font-size: 11px; }
  .event-section { padding-top: 48px; padding-bottom: 45px; }
  .event-heading { margin-bottom: 22px; }
  .event-track, .event-empty { aspect-ratio: 4 / 3; }
  .event-empty p, .event-photo-error p { font-size: 10px; }
  .event-controls { gap: 8px; }
  .event-dots { flex: 0 0 100%; order: 3; }
  .event-toggle { font-size: 10px; padding-inline: 8px; }
  .event-counter { min-width: 0; font-size: 10px; }
}

/* Desktop 16:10 / mobile 4:3 supplied versions are selected by picture. */
.event-slide picture { display: block; width: 100%; height: 100%; }
