/* Why DJ — "What Our Community Is Saying" testimonials carousel.
   Light section: header (title + prev/next circles), a two-column card
   (red quote panel left, photo right) that cross-fades, and pagination dots. */

.why-dj-testimonials.uk-section {
  background: #f6f6f5;
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

.why-dj-testimonials__inner {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Design caps the testimonial block at 1200px (not the full 1600 content width). */
.why-page-main .why-dj-testimonials__inner.uk-container {
  max-width: 1200px !important;
}

/* ---- Header ---- */
.why-dj-testimonials__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.why-dj-testimonials__heading {
  margin: 0;
  color: #1a1a1a;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.why-dj-testimonials__nav {
  display: flex;
  gap: 12px;
  flex: 0 0 auto;
}

.why-dj-testimonials__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.why-dj-testimonials__arrow--prev {
  background: #e9e9ea;
  color: #1a1a1a;
}
.why-dj-testimonials__arrow--prev:hover {
  background: #dcdcde;
}

.why-dj-testimonials__arrow--next {
  background: #a91d22;
  color: #ffffff;
}
.why-dj-testimonials__arrow--next:hover {
  background: #c02127;
}

.why-dj-testimonials__arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ---- Card stage (cross-fade) ---- */
.why-dj-testimonials__stage {
  position: relative;
}

.why-dj-testimonials__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
}

/* Stack slides on top of each other and fade between them. */
.why-dj-testimonials__stage .why-dj-testimonials__card {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease;
}
.why-dj-testimonials__stage .why-dj-testimonials__card.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.why-dj-testimonials__quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(32px, 4vw, 72px) clamp(28px, 4vw, 85px);
  background: #a91d22;
  color: #ffffff;
}

.why-dj-testimonials__quote {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: 30ch;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.15rem, 1.9vw, 1.6875rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.32;
}

.why-dj-testimonials__author {
  margin: 0;
}

.why-dj-testimonials__name {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.6875rem);
  font-weight: 600;
  line-height: 1.2;
}

.why-dj-testimonials__handle {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Poppins", sans-serif;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.2;
}

.why-dj-testimonials__photo {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}
.why-dj-testimonials__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Dots ---- */
.why-dj-testimonials__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 9px;
}

.why-dj-testimonials__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #d1d1d6;
  transition: width 200ms ease, background-color 200ms ease;
}
.why-dj-testimonials__dot.is-active {
  width: 24px;
  background: #a91d22;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
  .why-dj-testimonials__card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .why-dj-testimonials__photo {
    order: -1;
    aspect-ratio: 16 / 10;
  }
  .why-dj-testimonials__photo img {
    position: static;
  }
}
