/* Editorial Testimonial Slider Styles — Scoped under .common-testimonial */
.common-testimonial {
  --testimonial-bg: oklch(18% 0.04 260);
  --testimonial-surface: oklch(99% 0.002 240);
  --testimonial-fg: oklch(18% 0.02 250);
  --testimonial-muted: oklch(54% 0.01 250);
  --testimonial-border: oklch(92% 0.005 250);
  --testimonial-exclusive: oklch(25% 0.04 255);
  --testimonial-accent: oklch(58% 0.20 30);
  --testimonial-accent-hover: oklch(52% 0.20 30);
  --testimonial-font-display: 'Playfair Display', Georgia, serif;
  --testimonial-font-strong: 'Montserrat', sans-serif;
  --testimonial-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --testimonial-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

.common-testimonial.testimonials-section {
  padding: 120px 0;
  background:
    radial-gradient(ellipse at 80% 20%, oklch(58% 0.20 30 / 22%) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, oklch(72% 0.18 95 / 4%) 0%, transparent 35%),
    linear-gradient(180deg, oklch(18% 0.04 260) 0%, oklch(22% 0.04 255) 60%, oklch(24% 0.04 250) 100%);
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.common-testimonial .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.common-testimonial .section-label {
  font-family: var(--testimonial-font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--testimonial-accent);
  font-weight: 600;
  display: block;
  margin-bottom: 16px;
}

.common-testimonial .section-title {
  font-family: var(--testimonial-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0;
}

.common-testimonial .section-title strong {
  font-family: var(--testimonial-font-strong);
  font-weight: 800;
}

.common-testimonial .section-title em {
  font-family: var(--testimonial-font-display);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.common-testimonial .section-title .accent-dot {
  color: var(--testimonial-accent);
}

.common-testimonial .testimonials-header {
  margin-bottom: 60px;
  text-align: left;
}

.common-testimonial .testimonial-slider-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.common-testimonial .testimonial-swiper {
  overflow: hidden;
}

.common-testimonial .testimonial-split-card {
  display: flex;
  background: var(--testimonial-surface);
  border: 1px solid var(--testimonial-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02), 0 0 60px oklch(58% 0.20 30 / 8%);
  height: 440px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.common-testimonial .testimonial-split-card:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2), 0 0 100px oklch(58% 0.20 30 / 25%);
  border-color: oklch(58% 0.20 30 / 30%);
}

/* Asymmetric Split: 38% Image, 62% Quote */
.common-testimonial .testimonial-split-img {
  flex: 0 0 38%;
  position: relative;
  background-color: var(--testimonial-exclusive);
  overflow: hidden;
}

.common-testimonial .testimonial-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(10%) contrast(1.02);
  transition: transform 0.5s ease;
  display: block;
}

.common-testimonial .testimonial-split-card:hover .testimonial-split-img img {
  transform: scale(1.03);
}

.common-testimonial .testimonial-split-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.common-testimonial .testimonial-split-content {
  flex: 1;
  padding: 50px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: var(--testimonial-surface);
  min-width: 0;
  transition: background 0.3s ease;
}

.common-testimonial .testimonial-split-card:hover .testimonial-split-content {
  background: linear-gradient(135deg, var(--testimonial-surface) 0%, oklch(99% 0.005 30) 100%);
}

.common-testimonial .testimonial-large-quote {
  font-family: var(--testimonial-font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
  color: var(--testimonial-exclusive);
  font-style: italic;
  font-weight: 400;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.common-testimonial .testimonial-large-quote::before {
  content: "\201C";
  font-family: var(--testimonial-font-display);
  font-size: 140px;
  color: var(--testimonial-accent);
  opacity: 0.12;
  position: absolute;
  top: -70px;
  left: -35px;
  line-height: 1;
  z-index: -1;
}

.common-testimonial .testimonial-split-author {
  margin-top: auto;
  border-top: 1px solid var(--testimonial-border);
  padding-top: 20px;
}

.common-testimonial .testimonial-split-name {
  font-family: var(--testimonial-font-strong);
  font-weight: 700;
  font-size: 15px;
  color: var(--testimonial-exclusive);
  letter-spacing: 0.02em;
}

.common-testimonial .testimonial-split-role {
  font-family: var(--testimonial-font-body);
  font-size: 13px;
  color: var(--testimonial-muted);
  margin-top: 4px;
}

.common-testimonial .testimonial-split-company {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--testimonial-font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--testimonial-accent);
  font-weight: 700;
}

/* Minimalist Controls */
.common-testimonial .testimonial-controls-minimal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 24px;
  padding-right: 8px;
}

.common-testimonial .testimonial-counter {
  font-family: var(--testimonial-font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.common-testimonial .testimonial-counter .current-idx {
  color: #fff;
  font-weight: 600;
}

.common-testimonial .testimonial-arrows {
  display: flex;
  gap: 12px;
}

.common-testimonial .btn-arrow-min {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s ease, transform 0.2s ease;
}

.common-testimonial .btn-arrow-min:hover {
  background: var(--testimonial-accent);
  border-color: var(--testimonial-accent);
  color: #fff;
  transform: scale(1.05);
}

.common-testimonial .btn-arrow-min:active {
  transform: scale(0.95);
}

.common-testimonial .btn-arrow-min svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .common-testimonial.testimonials-section {
    padding: 80px 0;
  }
  .common-testimonial .testimonial-split-card {
    flex-direction: column;
    height: auto;
  }
  .common-testimonial .testimonial-split-img {
    flex: 0 0 260px;
    height: 260px;
  }
  .common-testimonial .testimonial-split-content {
    padding: 36px 24px;
  }
  .common-testimonial .testimonial-large-quote {
    font-size: 17px;
  }
  .common-testimonial .testimonial-large-quote::before {
    font-size: 90px;
    top: -45px;
    left: -15px;
  }
  .common-testimonial .testimonial-controls-minimal {
    justify-content: center;
    margin-top: 20px;
    padding-right: 0;
  }
}