/* Static customer stories. No Elementor classes or carousel initialization. */
@layer base, components, utilities;
@layer components {
.testimonials {
  --testimonials-ink: var(--hero-ink, var(--site-color-ink));
  --testimonials-body: var(--hero-muted, var(--site-color-muted));
  --testimonials-surface: var(--site-color-quiet);
  --testimonials-rule: var(--site-color-line);
  display: block;
  width: 100%;
  margin: 0;
  padding: var(--site-space-96) var(--site-space-24);
  background: var(--testimonials-surface);
  color: var(--testimonials-ink);
  font-family: var(--type-font-text);
  text-align: left;
}
.testimonials, .testimonials * { box-sizing: border-box; }
.testimonials__inner { max-width: 1200px; margin: 0 auto; }
.testimonials .testimonials__eyebrow {
  margin: 0 0 var(--site-space-16);
  color: var(--testimonials-body);
  font-size: var(--type-body-sm-size);
  font-weight: var(--type-weight-medium);
  line-height: var(--type-line-body);
}
/* Same primary heading tokens and narrow-layout size as Ptero and FAQ.
   Numbers uses a separate display face for its cumulative-time figure. */
.testimonials .testimonials__title {
  max-width: 28ch;
  margin: 0;
  color: var(--testimonials-ink);
  font-family: var(--type-font-text);
  font-size: var(--type-heading-1-size);
  font-weight: var(--type-heading-1-weight);
  line-height: var(--type-heading-1-line);
  letter-spacing: var(--type-heading-1-track);
  text-wrap: balance;
  scroll-margin-top: 120px;
}
.testimonials__featured, .testimonials__more {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--site-space-40);
}
.testimonials__featured { margin-top: var(--site-space-40); }
/* Seven stories read as 2 / 2 / 2 / 1; the last story keeps the left half. */
.testimonials .testimonial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--site-space-20);
  min-width: 0;
  margin: 0;
  padding: var(--site-space-28) 0;
  border-top: 1px solid var(--testimonials-rule);
}
.testimonials .testimonial__quote {
  width: 100%;
  max-width: 65ch;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--testimonials-ink);
  font: inherit;
  font-size: var(--type-body-size);
  font-weight: var(--type-weight-regular);
  line-height: var(--type-line-body);
  text-wrap: pretty;
  overflow-wrap: break-word;
}
.testimonials .testimonial__quote p { margin: 0; color: inherit; font: inherit; }
.testimonials .testimonial__source {
  /* The theme sets figcaption padding with !important in the legacy layer.
     Reset its spacing variable locally instead of changing shared CSS. */
  --column-spacing: 0px;
  display: flex;
  align-items: center;
  min-height: 28px;
  max-width: 100%;
  margin-top: auto;
  padding: 0;
  background: transparent;
}
.testimonials .testimonial__logo {
  display: block;
  width: auto;
  height: var(--testimonial-logo-height, 24px);
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  filter: grayscale(1);
}
/* Match optical weight: the two-line Hyundai mark needs more height, while
   MUSINSA's long uppercase wordmark reads heavier at the same nominal size. */
.testimonials .testimonial__logo--hyundai-motor-group { --testimonial-logo-height: 28px; }
/* The 640x200 originals have transparent padding. Cover crops the top and
   bottom; a negative left margin offsets the side padding (55px of 640 for
   MUSINSA, 49px for BitBar) so every mark starts on the text edge. */
.testimonials .testimonial__logo--musinsa { --testimonial-logo-height: 20px; aspect-ratio: 640 / 96; object-fit: cover; filter: grayscale(1) brightness(.6); margin-left: calc(var(--testimonial-logo-height) * -55 / 96); }
.testimonials .testimonial__logo--saucelabs { aspect-ratio: 640 / 136; object-fit: cover; filter: grayscale(1) brightness(.6); }
.testimonials .testimonial__logo--bitbar { --testimonial-logo-height: 28px; aspect-ratio: 640 / 168; object-fit: cover; filter: grayscale(1) brightness(.6); margin-left: calc(var(--testimonial-logo-height) * -49 / 168); }
@media (max-width: 899px) {
  .testimonials { padding: var(--site-space-64) var(--site-space-16); }
  .testimonials__featured, .testimonials__more { column-gap: var(--site-space-32); }
}
@media (max-width: 767px) {
  .testimonials__featured, .testimonials__more { grid-template-columns: minmax(0, 1fr); }
  .testimonials .testimonial { padding: var(--site-space-20) 0; }
  .testimonials .testimonial__quote { font-size: var(--type-body-size); }
}
/* Content is always visible; no reveal, hover or scrolling animation. */
@media (prefers-reduced-motion: reduce) {
  .testimonials, .testimonials * { animation: none; transition: none; }
}
}
