/* ============================================================
   ClioconTestimonialsSection — Figma CIs8dXkXRGQGuyagIgryfN, node 7399:12213
   (desktop) / 7399:13831 (mobile); unchanged from the first design, whose
   ids (lggjmuj2yPib1xxVgnbLOc 7305:*) the comments below use. Spec: ClioconTestimonialsSection.figma.md
   and ../ClioconPage.mobile.figma.md.

   Mostly the MOBILE frame differs from CaseStudies' `redesign` look (plus
   the quote mark's line, at every width) — every rule is under `.cliocon-testimonials`
   (a `display: contents` wrapper), so the About page and every other
   CaseStudies consumer are untouched. Rules carry one class more than the
   About / shared rules they override (those sheets load first or last
   depending on the bundle, so specificity — not order — decides).
   ============================================================ */

.cliocon-testimonials {
  display: contents;
}

/* The quote mark (7399:12226 / mobile 7399:13844): Rowan 48 on a NORMAL
   line inside its 36px box, so the ink starts 13px into the box. About's rule
   sets it on a 48px line, which lifts it 8px. */
.cliocon-testimonials .case-studies[data-variant="redesign"] .case-study-card__quote-mark {
  line-height: normal;
}

@media (max-width: 767px) {
  /* Header: the design system's mobile badge gap (the 402 frame's 8 read
     as a bug); header → cards and cards → ratings are Figma's 32
     (CaseStudies: 36 / 64) — owner, 2026-10-20. The section's 64 / 64
     padding at 402 is CaseStudies' own ≤479 step. */
  .cliocon-testimonials .case-studies__content,
  .cliocon-testimonials .case-studies {
    gap: var(--spacing-8);                     /* 32px */
  }

  /* Cards (7305:2661): 24 padding all round, 24/32 Rowan quote, 16/24
     author lines — About's mobile is 24/32/36/36 padding, 20/28 quote and
     the slide's 12/16 author type. */
  .cliocon-testimonials .case-studies[data-variant="redesign"] .case-study-card {
    padding: var(--spacing-6);                 /* 24px */
  }

  /* Card layout (7399:13842): Figma stacks the card top-down — mark row, 24,
     quote, 36, author — with any spare room at the BOTTOM. The desktop card's
     `space-between` (and About's bottom-aligned quote) would put the quote
     straight under the mark in the taller card and push the shorter card's
     quote down.

     Height follows the content. Figma draws a fixed 457 for its 338px cards
     at 402; as a min-height it left wider phones (≤767) with a tall empty
     card (owner, 2026-10-20). The swipe row still stretches both cards to
     the taller one, so they stay equal. */
  .cliocon-testimonials .case-studies[data-variant="redesign"] .case-study-card {
    justify-content: flex-start;
    gap:             var(--spacing-6);         /* 24px */
  }

  .cliocon-testimonials .case-studies[data-variant="redesign"] .case-study-card__quote {
    flex: 0 0 auto;
  }

  .cliocon-testimonials .case-study-card .case-study-card__quote {
    font-size:   var(--font-size-2xl);         /* 24px */
    line-height: var(--line-height-2xl);       /* 32px */
  }

  .cliocon-testimonials .case-study-card .case-study-card__author-name,
  .cliocon-testimonials .case-study-card .case-study-card__author-role {
    font-size:   var(--font-size-base);        /* 16px */
    line-height: var(--line-height-base);      /* 24px */
  }

  /* Ratings: the stock RatingsBar below 992 (see CaseStudies.css, redesign)
     — owner, 2026-10-20; the mobile frame's centred single column read
     oddly. */
}

