.flyer-zoom {
  cursor: zoom-in;
}

.flyer-zoom:focus-visible {
  position: relative;
  z-index: 1;
}

.course-overview {
  margin: 0 0 34px;
  border: 1px solid var(--line);
  background: #11110f;
}

.course-overview img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.course-overview figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 10px/1.5 "JetBrains Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.flyer-lightbox {
  width: min(1100px, calc(100% - 28px));
  height: calc(100dvh - 28px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .22);
  background: #090908;
  color: white;
  overflow: hidden;
}

.flyer-lightbox::backdrop {
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(5px);
}

.lightbox-bar {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 12px 10px 20px;
  border-bottom: 1px solid var(--line);
  background: #11110f;
}

.lightbox-bar p {
  overflow: hidden;
  font: 600 11px/1.4 "JetBrains Mono", monospace;
  letter-spacing: .05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.lightbox-bar button {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: var(--green);
  font: 27px/1 Arial, sans-serif;
  cursor: pointer;
}

.lightbox-stage {
  height: calc(100% - 58px);
  padding: 18px;
  overflow: auto;
  text-align: center;
  overscroll-behavior: contain;
}

.lightbox-stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: auto;
}

@media (min-width: 700px) {
  .lightbox-stage img {
    max-width: min(100%, 820px);
  }
}
