/* Original homepage testimonials, presented without unsupported platform or rating claims. */
.rasa-testimonials-desktop { display: none; }

@media (min-width: 901px) {
  main > #testimonials {
    padding: var(--rasa-section-space) 0 clamp(40px, 3.4vw, 60px);
    background: #f0f6f2;
    color: #104534;
    scroll-margin-top: 100px;
  }
  #testimonials > .testimonials-legacy { display: none; }
  .rasa-testimonials-desktop {
    --rt-visible: 3;
    --rt-gap: clamp(20px, 1.65vw, 28px);
    display: block;
    width: 88.8%;
    max-width: 1680px;
    margin-inline: auto;
    font-family: "Poppins", "Segoe UI", sans-serif;
  }
  .rt-heading-group { text-align: center; margin-bottom: clamp(30px, 2.8vw, 48px); }
  .rt-eyebrow { margin: 0 0 15px; color: #315648; font-size: clamp(11px, .83vw, 14px); font-weight: 600; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; }
  .rt-heading { margin: 0; color: #104534; font: 700 clamp(40px, 3.65vw, 64px)/1.12 "Poppins", "Segoe UI", sans-serif; letter-spacing: -.045em; }
  .rt-heading span { display: block; }
  .rt-intro { max-width: 830px; margin: 20px auto 0; color: #315648; font-size: clamp(14px, 1.12vw, 18px); line-height: 1.65; }
  .rt-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--rt-visible) - 1) * var(--rt-gap)) / var(--rt-visible));
    gap: var(--rt-gap);
    align-items: stretch;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-block: 2px 14px;
  }
  .rt-track::-webkit-scrollbar { display: none; }
  .rt-card {
    min-width: 0;
    margin: 0;
    padding: clamp(24px, 2.1vw, 36px);
    border: 1px solid #cbded2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 12px -10px #10453430;
    scroll-snap-align: start;
  }
  .rt-profile { position: relative; display: flex; align-items: center; gap: 14px; min-height: 66px; padding-right: 22px; }
  .rt-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 54px; width: 54px; height: 54px; border-radius: 50%; color: #fff; background: #14563f; font-size: 19px; font-weight: 500; line-height: 1; }
  .rt-avatar-2 { background: #94630b; }
  .rt-avatar-3 { background: #416f9e; }
  .rt-avatar-4 { background: #8a5037; }
  .rt-avatar-5 { background: #526f5d; }
  .rt-person { min-width: 0; }
  .rt-person strong { display: block; color: #104534; font-size: clamp(15px, 1.19vw, 20px); font-weight: 600; line-height: 1.4; letter-spacing: -.025em; }
  .rt-person > span { display: block; margin-top: 4px; color: #486757; font-size: clamp(12px, .86vw, 14px); line-height: 1.55; }
  .rt-quote-mark { position: absolute; right: 0; top: 3px; width: 25px; height: 24px; color: #cbded2; transform: rotate(180deg); }
  .rt-card blockquote { margin: 22px 0 0; padding: 21px 0 0; border-top: 1px solid #d8e5dc; color: #254d3e; font-size: clamp(15px, 1.12vw, 18px); font-weight: 400; line-height: 1.8; }
  .rt-navigation { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; margin-top: 6px; }
  .rt-navigation[hidden] { display: none; }
  .rt-count { display: flex; gap: 9px; margin: 0; color: #315e4a; font-size: 14px; font-variant-numeric: tabular-nums; line-height: 1.5; }
  .rt-count-total { color: #537261; }
  .rt-dots { display: flex; justify-content: center; }
  .rt-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; border-radius: 50%; cursor: pointer; }
  .rt-dot::after { content: ""; width: 8px; height: 8px; background: var(--rasa-control-edge); border-radius: 10px; transition: width 180ms ease, background 180ms ease; }
  .rt-dot[aria-current="true"]::after { width: 24px; background: #104534; box-shadow: inset 0 0 0 3px #f9cf16; }
  .rt-dot:hover::after { background: #104534; }
  .rt-arrows { display: flex; justify-self: end; gap: 12px; }
  .rt-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #789989; border-radius: 50%; background: transparent; color: #104534; cursor: pointer; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
  .rt-arrow svg { width: 24px; height: 24px; }
  .rt-arrow-next { background: #104534; border-color: #104534; color: #f9cf16; }
  .rt-arrow:hover:not(:disabled) { color: #104534; background: #f9cf16; border-color: #f9cf16; }
  .rt-arrow:active:not(:disabled) { background: #e7be10; }
  .rt-arrow:disabled { color: #9aafa2; background: transparent; border-color: #cbd9d0; cursor: default; }
  .rt-arrow:focus-visible, .rt-dot:focus-visible, .rt-track:focus-visible { outline: 2px solid #104534; outline-offset: 4px; }
  .rt-track:focus-visible { border-radius: 18px; }
  .rt-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
}

@media (min-width: 901px) and (max-width: 1150px) {
  .rasa-testimonials-desktop { --rt-visible: 2; }
  .rt-profile { min-height: 62px; }
  .rt-intro { max-width: 650px; }
  .rt-card { padding: 26px; }
  .rt-person strong { font-size: 17px; }
  .rt-person > span { font-size: 13px; }
}

@media (min-width: 901px) and (prefers-reduced-motion: reduce) {
  .rt-arrow, .rt-dot::after { transition: none; }
}
