.ring-gallery {
  margin: 36px 0;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid #d5e7df;
  border-radius: 24px;
  background: #edf6f2;
}
.ring-gallery-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.ring-gallery h3 { margin: 0; color: #14362e; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.025em; }
.ring-gallery-controls { display: flex; gap: 8px; }
.ring-gallery-controls[hidden] { display: none; }
.ring-gallery-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #94cbb6;
  border-radius: 50%;
  background: white;
  color: #00674e;
  font: 700 23px/1 system-ui, sans-serif;
  cursor: pointer;
}
.ring-gallery-controls button:hover:not(:disabled) { background: #00674e; color: white; }
.ring-gallery-controls button:disabled { opacity: .45; cursor: default; }
.ring-gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  padding: 0 0 10px;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: #75a894 #dcece5;
}
.ring-gallery :is(button, .ring-gallery-track):focus-visible { outline: 3px solid #007456; outline-offset: 3px; }
.ring-gallery-track li { flex: 0 0 calc((100% - 32px)/3); min-width: 0; scroll-snap-align: start; }
.ring-gallery-track img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 15px; background: #e1eee7; }
@media (max-width: 800px) { .ring-gallery-track li { flex-basis: calc((100% - 16px)/2); } }
@media (max-width: 560px) {
  .ring-gallery-track { gap: 12px; }
  .ring-gallery-track li { flex-basis: 84%; }
}
