[data-tp="od-thumb-carousel"] {
.wrap {
  position: relative;
  margin-top: 0.5rem;
}

.viewport {
  overflow: hidden;
  width: 100%;
  padding: 4px 4px 12px;
}

.track {
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}

.slide {
  flex: 0 0 auto;
  min-width: 0;
}

.card {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.media {
  display: block;
  width: 100%;
  height: 220px;
  background: #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.card:hover .media img {
  transform: scale(1.05);
}

.fallback {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  padding: 1rem;
  background:
    linear-gradient(160deg, #1f2937 0%, #334155 45%, #0f172a 100%);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.9rem 0.95rem 1.05rem;
  flex: 1;
}

.name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sub {
  font-size: 0.8rem;
  color: #64748b;
}

.btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  background: #0f172a;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.card:hover .btn {
  background: var(--tp-brand, #e53935);
}

.arrow {
  position: absolute;
  top: 110px;
  z-index: 2;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.arrow:hover {
  color: var(--tp-brand, #e53935);
}

.arrowLeft {
  left: -6px;
}

.arrowRight {
  right: -6px;
}

@media (max-width: 767px) {
  .media {
    height: 180px;
  }

  .arrow {
    top: 90px;
  }

  .arrowLeft {
    left: 0;
  }

  .arrowRight {
    right: 0;
  }
}

}
