/* All project albums share the same full-frame viewer. */
.sun-slider {
  width: 100%;
  max-width: 1200px;
  margin: 34px auto 70px;
}
.sun-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: min(65vw, 680px);
  min-height: 350px;
  overflow: hidden;
  background: #e8e5df;
  touch-action: pan-y;
}
.sun-stage > .sun-main {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.sun-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 54px;
  border: 0;
  background: rgba(248, 247, 243, .9);
  color: #282724;
  font-size: 31px;
  cursor: pointer;
}
.sun-prev { left: 12px; }
.sun-next { right: 12px; }
.sun-arrow:hover { background: #fff; }
.sun-arrow:focus-visible, .sun-thumb:focus-visible {
  outline: 2px solid #292824;
  outline-offset: 3px;
}
.sun-count {
  margin: 15px 0;
  text-align: center;
  color: #77736c;
  font-size: 14px;
  letter-spacing: .08em;
}
.sun-thumbs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}
.sun-thumb {
  flex: 0 0 112px;
  width: 112px;
  height: 77px;
  padding: 0;
  border: 2px solid transparent;
  background: #e8e5df;
  cursor: pointer;
  opacity: .65;
  scroll-snap-align: center;
}
.sun-thumb.active { border-color: #4d4b46; opacity: 1; }
.sun-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 700px) {
  .sun-stage { height: 62vw; min-height: 240px; }
  .sun-arrow { width: 38px; height: 46px; font-size: 25px; }
  .sun-prev { left: 3px; }
  .sun-next { right: 3px; }
  .sun-thumb { flex-basis: 78px; width: 78px; height: 56px; }
}
