/* Sample pages of the CHF 59 pack. One slide per document. */
.mappe-gallery {
  margin: 4px 0 22px;
}

.mappe-gallery:focus-visible,
.mappe-gallery-prev:focus-visible,
.mappe-gallery-next:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 3px;
}

.mappe-gallery-viewport {
  overflow: hidden;
  border-radius: 8px;
  touch-action: pan-y;
}

.mappe-gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.28s ease;
}

@media (prefers-reduced-motion: reduce) {
  .mappe-gallery-track {
    transition: none;
  }
}

.mappe-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.mappe-gallery-slide img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #f8fafc;
}

.mappe-gallery-slide figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--slate-400, #94a3b8);
  text-align: center;
}

.mappe-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.mappe-gallery-prev,
.mappe-gallery-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #1e293b;
  color: #e2e8f0;
  cursor: pointer;
  flex-shrink: 0;
}

.mappe-gallery-prev:hover,
.mappe-gallery-next:hover {
  background: #334155;
}

.mappe-gallery-status {
  margin: 0;
  min-width: 7.5rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--slate-300, #cbd5e1);
}
