.section-3__card-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.section-3__card-trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}

.section-3__loop-carousel:has(.section-3__card-trigger:focus-visible) .section-3__loop-group {
  animation-play-state: paused;
}

.section-3__preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  order: 1;
  min-width: 0;
  margin: 24px 0 0;
}

.section-3__preview img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 56svh;
  object-fit: contain;
}

.section-3__preview-caption {
  text-align: center;
}

@media (min-width: 768px) {
  .section-3__preview {
    position: relative;
    display: block;
    flex: 1 1 0;
    order: 0;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    margin: 32px 0;
  }

  .section-3__preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 32px);
    min-height: 0;
    max-height: none;
  }

  .section-3__preview-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
  }
}

.section-3__preview[hidden] {
  display: none;
}

.section-3__preview {
  position: relative;
}

.section-3__preview-canvas {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  z-index: 1;
}

.section-3__preview-canvas[hidden] {
  display: none;
}

.section-3__preview--bending img {
  opacity: 0;
}
