.ff-carousel {
  position: relative;
  overflow: hidden;
  width: 800px;
  height: var(--ff-carousel-height, 450px);
  margin: auto;
}

.ff-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.ff-carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ff-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ff-carousel-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ff-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
}

.ff-left-control,
.ff-right-control {
  display: flex;
  align-items: center;
}

.ff-carousel-icons {
  cursor: pointer;
  margin: 15px;
}

.ff-slide_header {
  position: absolute;
  width: 100%;
  height: 50px;
  z-index: 10;
}

.ff-slide-name {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--base-bg-color);
  padding: 6px 12px;
  color: var(--dotted-border-color);
  font-size: 14px;
  border-radius: 30px;
  max-width: 400px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 15;
}

.ff-collapse_icon {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 15;
}

.ff-carousel-bottom-text {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.ff-left-text,
.ff-right-text {
  max-width: 130px;
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 30px;
  margin: 10px;
  color: var(--primary-icon-color);
}

.ff-left-text {
  background: transparent;
}

.ff-right-text {
  background: var(--dotted-border-color);
}

.ff-time-text {
  font-size: 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
