/* ── Testimonials Section ──────────────────────────────────────── */
.testimonials-section {
  background: var(--off-white);
  padding: 40px 0;
}

.testimonials-section .eyebrow {
  color: var(--gold);
}

.testimonials-section .section__title {
  color: var(--black);
  margin-bottom: 32px;
}

/* ── Layout ────────────────────────────────────────────────────── */
.testimonials-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonials-player {
  width: 100%;
}

.testimonials-thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.testimonials-thumbs::-webkit-scrollbar {
  display: none;
}

/* ── Featured Player ───────────────────────────────────────────── */
.testimonials-featured {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--black);
}

.testimonials-featured iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
}

/* ── Custom Controls ───────────────────────────────────────────── */
.t-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-controls__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tiffany);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  padding-left: 4px;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s;
}

.t-play-btn:hover {
  opacity: 0.85;
}

.t-progress-wrap {
  flex: 1;
  height: 3px;
  background: var(--gray-mid);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.t-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  width: 0%;
  pointer-events: none;
}

.t-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.t-mute-btn,
.t-fullscreen-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
}

.t-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Info Block ────────────────────────────────────────────────── */
.testimonials-info {
  margin-top: 20px;
}

.t-info-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--black);
  margin: 0 0 8px;
}

.t-info-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-style: italic;
  color: var(--gray-mid);
  margin: 0;
  line-height: 1.7;
}

/* ── Thumb Cards ───────────────────────────────────────────────── */
.t-thumb {
  flex: 0 0 220px;
  cursor: pointer;
}

.t-thumb__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.t-thumb--active .t-thumb__img-wrap {
  border-color: var(--gold);
}

.t-thumb__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.t-thumb__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: var(--black);
  margin: 6px 0 0;
  line-height: 1.4;
}

/* ── Desktop ───────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .testimonials-section {
    padding: 60px 0;
  }
}

@media (min-width: 1024px) {
  .testimonials-section {
    padding: 100px 0;
  }

  .testimonials-layout {
    flex-direction: row;
    align-items: flex-start;
  }

  .testimonials-player {
    flex: 0 0 65%;
  }

  .testimonials-thumbs {
    flex: 0 0 calc(35% - 32px);
    flex-direction: column;
    overflow-x: visible;
    overflow-y: auto;
    gap: 0;
  }

  .t-thumb {
    flex: none;
    width: 100%;
    margin-bottom: 12px;
  }
}

/* ── RTL adjustments ───────────────────────────────────────────── */
[dir="rtl"] .testimonials-layout {
  flex-direction: column;
}

@media (min-width: 1024px) {
  [dir="rtl"] .testimonials-layout {
    flex-direction: row-reverse;
  }
}

[dir="rtl"] .t-info-title,
[dir="rtl"] .t-info-quote,
[dir="rtl"] .t-thumb__name {
  font-family: 'Tajawal', sans-serif;
}
