.fvc-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fvc-height-fill {
  min-height: 100%;
}

.fvc-grid {
  display: grid;
  grid-template-columns: repeat(var(--fvc-columns, 2), minmax(0, 1fr));
  gap: var(--fvc-gap, 20px);
  height: 100%;
}

.fvc-column {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.fvc-track {
  display: flex;
  flex-direction: column;
  gap: var(--fvc-gap, 20px);
  will-change: transform;
  animation: fvc-scroll-up var(--fvc-speed, 30s) linear infinite;
  animation-delay: var(--fvc-delay, 0s);
}

.fvc-pause-hover .fvc-column:hover .fvc-track {
  animation-play-state: paused;
}

.fvc-set {
  display: flex;
  flex-direction: column;
  gap: var(--fvc-gap, 20px);
}

.fvc-card {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  transform: translateZ(0);
}

.fvc-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@keyframes fvc-scroll-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-50% - (var(--fvc-gap, 20px) / 2)));
  }
}

@media (max-width: 1024px) {
  .fvc-wrapper {
    --fvc-gap: 16px;
  }

  .fvc-card {
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  .fvc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fvc-track,
  .fvc-set {
    gap: 12px;
  }

  .fvc-card {
    border-radius: 16px;
  }

  .fvc-height-fixed {
    height: 500px !important;
  }
}
