
.collections-list-section {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.collections-list {
  width: 100%;
  min-height: 500px;
  color: #ffffff;
  justify-content: center;
  align-items: center;
  overflow: scroll;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background-image: url(img/wc.webp);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
}

.collections-list img {
  width: clamp(375px, 500px, 80%);
  height: auto;
}

.collections-list ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  list-style: none;
  line-height: 1.25;
  background-color: rgba(82,73,86,.8);
}

.collections-list a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: inline-block;
  transition: background-color 0.5s ease;
}

.collections-list a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  text-decoration: none;
  text-underline-offset: 3px;
}

.collections-list-text {
  position: absolute;
  inset: 0; /* fills entire tile */
  display: flex;
  flex-direction: column;

  text-align: center;
  align-items: center;
  background-size: 100%;

  opacity: 0;
  transition: opacity 300ms ease;
}

.collections-list:hover .collections-list-text,
.tile.show-overlay .collections-list-text {
  opacity: 1;
}

.collections-list:hover {
  transform: scale(1.02);
}

/* =========================
   ARCHIVE SLIDER
========================= */

.archive-photo-slider {
  width: 100%;
  background: rgba(82,73,86,.6);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.archive-photo-slider::-webkit-scrollbar {
  display: none;
}

.archive-viewport {
  margin-top: 28px;
  width: 100%;
  align-self: center;
  max-height: 500px;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  z-index: 10;
  border-style: solid;
  border-color: #000000;
  border-width: 20px;

}

.archive-viewport img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
  background-color: #000000;
}

.archive-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #000000;
  color: white;
  border: none;
  font-size: 2rem;
  width: 55px;
  height: 55px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-prev {
  left: -10px;
}

.archive-next {
  right: -10px;
}

.archive-caption {
  margin-top: 15px;
  justify-content: center;
  color:#000000;
  text-align: center;
  align-items: center;
  font-size: 1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.archive-caption img {
  width: 200px;
  padding: 15px;
}


.archive-caption h4 {
  margin-bottom: .5rem;
}

/* =========================
   ARCHIVE THUMB STRIP
========================= */
.archive-thumbs {
  margin-top: 20px;
  padding: 1rem;
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  justify-content: flex-start;
  background-color: #000000;
}

.archive-thumb {
  width: 120px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.60;
  transition: opacity .2s ease;
  background-color: #000000;
}

.archive-thumb:hover {
  opacity: .75;
}

.archive-thumb.active {
  opacity: 1;
  border: 3px solid #ffffff;
}