/* =============================================================================
 * testimonials-compact.css — Push 2, 2026-05-19
 * Scope: /customer-testimonials/ (post ID 26944) — S5 More Client Reviews
 * Pattern: Stacked single-column quote cards w/ SWRS-blue tint background
 * RUCSS: selectors below scoped under .swrs-testimonials-compact so the file
 *        is treated as "in use" the moment the wrapper renders.
 * ========================================================================== */

/* -----------------------------------------------------------------------------
 * Stack wrapper — single column, full-width quotes
 * -------------------------------------------------------------------------- */
.swrs-testimonials-compact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 40px;
  max-width: 920px;
  width: 100%;
}

/* On wide screens, soft 2-col masonry-like layout to avoid scroll fatigue
 * across 10 quotes. Cards are still readable individually. */
@media (min-width: 900px) {
  .swrs-testimonials-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 100%;
  }
}

/* -----------------------------------------------------------------------------
 * Trust badge — sits ABOVE the cards (verified Google + count + see-all link)
 * -------------------------------------------------------------------------- */
.swrs-trust-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid #d7dbe5;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  color: #0A1F44;
  margin: 16px 0 8px;
  box-shadow: 0 1px 2px rgba(10, 31, 68, 0.04);
}

.swrs-trust-badge__stars {
  color: #f5a623;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.swrs-trust-badge__count {
  color: #555f73;
  font-weight: 500;
}

.swrs-trust-badge__sep {
  color: #c0c4cf;
}

.swrs-trust-badge__link {
  color: #0085CA;
  font-weight: 600;
  text-decoration: none;
}

.swrs-trust-badge__link:hover,
.swrs-trust-badge__link:focus-visible {
  text-decoration: underline;
  color: #003B5C;
}

/* -----------------------------------------------------------------------------
 * Card (blockquote)
 * -------------------------------------------------------------------------- */
.swrs-tcompact {
  --swrs-accent: #0A1F44;
  position: relative;
  background: #f3f7fc;
  border: 1px solid #e0e8f2;
  border-left: 4px solid var(--swrs-accent);
  border-radius: 12px;
  padding: 24px 28px 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.swrs-tcompact:hover {
  box-shadow: 0 8px 22px rgba(10, 31, 68, 0.08);
  transform: translateY(-2px);
}

/* Decorative quote-mark in the top corner */
.swrs-tcompact::before {
  content: "\201C"; /* left double quotation mark */
  position: absolute;
  top: 6px;
  right: 18px;
  font-size: 56px;
  line-height: 1;
  color: var(--swrs-accent);
  opacity: 0.18;
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

/* -----------------------------------------------------------------------------
 * Source row (top of card) — pill + meta dots + date
 * -------------------------------------------------------------------------- */
.swrs-tcompact__source {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #555f73;
  text-transform: uppercase;
}

/* Pill — small platform badge */
.swrs-tcompact__source-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(10, 31, 68, 0.08);
  color: var(--swrs-accent);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

/* Bullet-dot separator rendered via CSS (so the HTML stays clean) */
.swrs-tcompact__source-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #a8aeba;
  margin: 0 4px;
  vertical-align: middle;
}

.swrs-tcompact__source-meta {
  color: #555f73;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.swrs-tcompact__source-date {
  color: #6b7280;
  font-weight: 500;
}

/* When the WHOLE source row is wrapped in <a>, the pill + meta become a link */
a.swrs-tcompact__source-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  border-radius: 999px;
  transition: opacity 180ms ease;
}

a.swrs-tcompact__source-link:hover,
a.swrs-tcompact__source-link:focus-visible {
  opacity: 0.78;
}

a.swrs-tcompact__source-link:focus-visible {
  outline: 2px solid #0085CA;
  outline-offset: 4px;
}

/* -----------------------------------------------------------------------------
 * Quote
 * -------------------------------------------------------------------------- */
.swrs-tcompact__quote {
  font-size: 16px;
  line-height: 1.6;
  color: #1a2438;
  margin: 0;
  font-style: italic;
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
 * Attribution
 * -------------------------------------------------------------------------- */
.swrs-tcompact__attr {
  font-size: 14px;
  font-weight: 700;
  color: #0085CA;
  margin: 0;
  letter-spacing: 0.01em;
}

/* -----------------------------------------------------------------------------
 * Reduced motion
 * -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .swrs-tcompact,
  a.swrs-tcompact__source-link {
    transition: none;
  }
  .swrs-tcompact:hover {
    transform: none;
  }
}
