/* ═══════════════════════════════════════════════════════════════
   Testimonials Carousel — quote & photo cards, scroll-snap strip
   Arrows live on the header row, stars sit above the heading.
   ═══════════════════════════════════════════════════════════════ */

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}

/* ─── Contained layout (aligns with the rest of the theme) ──── */

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 80px);
}

/* ─── Top row: arrows at the edges, stars + heading centered ── */

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-top {
  position: relative;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-top-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-stars-row {
  display: flex;
  justify-content: center;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-stars-row .tsc-stars {
  color: var(--color-brand-rose, #D9A79E);
  gap: 2px;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-heading {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 500;
  letter-spacing: 0.042em;
  text-transform: uppercase;
  color: #312509;
  text-align: center;
  margin: 0;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-heading::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-brand-ink, #2B3A33);
  margin: 10px auto 0;
}

/* ─── Arrows (header row) ───────────────────────────────────── */

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-brand-ink, #2B3A33);
  background: transparent;
  color: var(--color-brand-ink, #2B3A33);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-arrow:hover {
  border-color: var(--color-brand-sage-dark, #5D8F76);
  color: var(--color-brand-sage-dark, #5D8F76);
  background: rgba(111, 162, 135, 0.08);
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-arrow:focus-visible {
  outline: 2px solid var(--color-brand-sage-dark, #5D8F76);
  outline-offset: 2px;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-arrow--prev { left: 0; }
.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-arrow--next { right: 0; }

/* ─── Track ─────────────────────────────────────────────────── */

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-track {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 0 8px;
  scrollbar-width: none;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-track::-webkit-scrollbar {
  display: none;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-card {
  flex-shrink: 0;
  scroll-snap-align: center;
  border-radius: 14px;
}

/* ─── Quote card ────────────────────────────────────────────── */

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-card--quote {
  width: 248px;
  aspect-ratio: 3 / 4;
  background: var(--tsc-card-bg, #EDE4D8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 26px 22px;
  margin: 0;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-quote {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-brand-ink, #2B3A33);
  margin: 0;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-name {
  font-family: var(--font-label);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-ink, #2B3A33);
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--color-brand-ink, #2B3A33);
  line-height: 1;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-star {
  display: inline-flex;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-star--empty {
  opacity: 0.25;
}

/* ─── Photo card (full-bleed image) ─────────────────────────── */

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-card--photo {
  width: 248px;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
}

.cc_CbJVgymZBw_Gb4nhar4Gg .tsc-card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Breakpoints ───────────────────────────────────────────── */

@media (max-width: 767px) {
  .cc_CbJVgymZBw_Gb4nhar4Gg .tsc-top { padding: 0 clamp(52px, 14vw, 64px); }
  .cc_CbJVgymZBw_Gb4nhar4Gg .tsc-card--quote { width: 232px; aspect-ratio: 3 / 4; padding: 22px 18px; }
  .cc_CbJVgymZBw_Gb4nhar4Gg .tsc-card--photo { width: 218px; }
  .cc_CbJVgymZBw_Gb4nhar4Gg .tsc-arrow { width: 36px; height: 36px; }
  .cc_CbJVgymZBw_Gb4nhar4Gg .tsc-track { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .cc_CbJVgymZBw_Gb4nhar4Gg .tsc-arrow {
    transition: none;
  }

  .cc_CbJVgymZBw_Gb4nhar4Gg .tsc-track {
    scroll-behavior: auto;
  }
}

/* host theme h2 override guard */
.cc_CbJVgymZBw_Gb4nhar4Gg .tsc .tsc-top .tsc-top-center .tsc-heading {
  display: block !important;
  text-align: center !important;
}
