/* Exhibition carousel. Full photos, compact controls, one thumbnail row. */
.exhibition-viewer .carousel-inner {
  height: clamp(320px, 65vh, 620px);
  background: #eeece7;
}
.exhibition-viewer .carousel-item { height: 100%; }
.exhibition-viewer-photo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.exhibition-viewer-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.exhibition-viewer-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #28251f;
  font-size: 13px;
}
.exhibition-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
}
.exhibition-viewer-hint { font-size: 12px; color: #77716a; }
.exhibition-viewer-navigation { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.exhibition-viewer .exhibition-viewer-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #d4cabc;
  border-radius: 50%;
  background: transparent;
  color: #423b30;
  font-size: 13px;
}
.exhibition-viewer .exhibition-viewer-arrow:hover { background: #ba9358; border-color: #ba9358; color: #fff; }
.exhibition-viewer-counter { min-width: 42px; text-align: center; font-size: 12px; letter-spacing: 1px; color: #5e5951; }
.exhibition-viewer-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 0 10px;
  scrollbar-width: thin;
  scrollbar-color: #c1b49e transparent;
}
.exhibition-viewer .exhibition-viewer-thumbnail {
  flex: 0 0 68px;
  width: 68px;
  height: 76px;
  padding: 3px;
  border: 1px solid transparent;
  background: transparent;
  opacity: 0.55;
}
.exhibition-viewer-thumbnail > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.exhibition-viewer .exhibition-viewer-thumbnail.is-active { opacity: 1; border-color: #ba9358; }
.exhibition-viewer .exhibition-viewer-thumbnail:hover { opacity: 1; }
.exhibition-viewer button:focus-visible,
.exhibition-viewer-photo:focus-visible { outline: 2px solid #ba9358; outline-offset: -2px; }
.exhibition-detail-description { line-height: 1.8; }
.exhibition-detail-description p { margin-bottom: 1rem; }
.exhibition-detail-description p:last-child { margin-bottom: 0; }
.exhibition-detail-contact { margin-top: 32px; padding-top: 24px; border-top: 1px solid #ded8ce; }
.exhibition-detail-contact p { font-size: 14px; line-height: 1.8; }
@media (max-width: 575px) {
  .exhibition-viewer .carousel-inner { height: clamp(300px, 60vh, 500px); }
  .exhibition-viewer-hint { max-width: 140px; line-height: 1.5; }
  .exhibition-viewer .exhibition-viewer-thumbnail { flex-basis: 56px; width: 56px; height: 64px; }
}
