.section-testimonial-carousel {
  padding: 96px 40px 136px;
  background: url("https://roge.energy/wp-content/uploads/2025/10/background-decoration-gradient-blue.png"),
    linear-gradient(90deg, #ff8c00 0%, #ffda00 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  min-height: 600px;
  display: flex;
}

.tc-card {
  display: flex !important;
  align-items: start;
  padding: 32px;
  max-width: 1250px;
  min-height: 280px;
  gap: 40px;
  border-radius: 20px;
  background-color: #fff;
  transition: opacity .5s, transform .5s;
  width: 100%;
  transform: translateX(0);
}

.tc-card-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-block: 20px;
  width: 100%;
}

.tc-card-text {
  font-size: 18px;
  color: #494949;
  width: fit-content;
}

.tc-card-name,
.tc-card-role {
  font-weight: 500;
  color: #314587;
}

.tc-card-name {
  font-size: 24px;
}

.tc-card-role {
  font-size: 16px;
}

.card-aspas {
  width: 16px;
  height: 10px;
}

.tc-card-img {
  max-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 24px;
}

.tc-cards {
  position: relative;
  min-height: 280px;
  height: auto;
  display: flex;
  align-items: stretch;
}

.tc-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.tc-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d1d1d1;
  cursor: pointer;
  transition: background .5s;
}

.tc-dot.active {
  background: #314587;
}

@media (max-width: 700px) {
  .tc-card {
    flex-direction: column;
    align-items: center;
  }
}

.tc-card.enter-right {
  transform: translateX(100vw);
  opacity: 0;
}

.tc-card.enter-left {
  transform: translateX(-100vw);
  opacity: 0;
}

.tc-card.exit-left {
  transform: translateX(-100vw);
  opacity: 0;
}

.tc-card.exit-right {
  transform: translateX(100vw);
  opacity: 0;
}

.tc-cards .tc-card {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tc-cards[data-current="0"] .tc-card:nth-child(1),
.tc-cards[data-current="1"] .tc-card:nth-child(2),
.tc-cards[data-current="2"] .tc-card:nth-child(3),
.tc-cards[data-current="3"] .tc-card:nth-child(4),
.tc-cards[data-current="4"] .tc-card:nth-child(5),
.tc-cards[data-current="5"] .tc-card:nth-child(6),
.tc-cards[data-current="6"] .tc-card:nth-child(7),
.tc-cards[data-current="7"] .tc-card:nth-child(8),
.tc-cards[data-current="8"] .tc-card:nth-child(9),
.tc-cards[data-current="9"] .tc-card:nth-child(10) { 
    position: relative !important;
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.tc-cards:not([data-hydrated]) .tc-card:first-child {
    position: relative !important;
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}


