.triple-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.tc-row {
  position: absolute;
  inset: 0;
}

.tc-bottom { z-index: 1; }
.tc-middle { z-index: 2; }
.tc-top    { z-index: 3; }

.tc-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.tc-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.tc-slide img,
.tc-row.tc-middle > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
