/* ===== Homepage "Patient Stories" (components/Testimonials.tsx): three vertical testimonial videos ===== */
.rt { box-sizing: border-box; width: min(90vw, 1290px); margin: 0 auto 80px; font-family: "Lato", "Segoe UI", Helvetica, Arial, sans-serif; }
.rt *, .rt *::before, .rt *::after { box-sizing: border-box; }
.rt-head { text-align: center; margin-bottom: 32px; }
.rt-head h2 { margin: 0; font-family: var(--theme-headings-font-family, Georgia, "Times New Roman", serif); font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; line-height: 1.2; color: #313131; }
.rt-head p { margin: 10px 0 0; font-size: 18px; color: #584048; }
.rt-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 28px; }
.rt-card { margin: 0; }
.rt-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #2c1a24; box-shadow: 0 18px 36px -24px rgba(49, 49, 49, 0.55); }
.rt-frame video, .rt-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.rt-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.rt-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 40%); }
.rt-btn { position: absolute; left: 50%; top: 50%; z-index: 1; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: #b5106a; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5); transition: transform 0.2s; }
.rt-btn svg { width: 30px; height: 30px; fill: #fff; margin-left: 3px; }
.rt-play:hover .rt-btn { transform: scale(1.08); }
.rt-play:focus-visible { outline: 3px solid #b5106a; outline-offset: -3px; }
.rt-time { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 13px; font-weight: 700; }
.rt-name { margin: 14px 0 0 !important; text-align: center; font-family: var(--theme-headings-font-family, Georgia, "Times New Roman", serif); font-size: 20px; font-weight: 700; color: #313131; }
@media (max-width: 999.98px) { .rt { margin-bottom: 60px; } .rt-row { gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); } .rt-head p { font-size: 16px; } }
/* phones: one card at a time with the next peeking in, swipe sideways */
@media (max-width: 689.98px) {
  .rt { width: 100%; margin-bottom: 48px; }
  .rt-head { padding: 0 16px; margin-bottom: 20px; }
  .rt-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 8px; scrollbar-width: none; }
  .rt-row::-webkit-scrollbar { display: none; }
  .rt-card { flex: 0 0 68%; scroll-snap-align: center; }
  .rt-frame { border-radius: 20px; }
  .rt-btn { width: 58px; height: 58px; margin: -29px 0 0 -29px; }
}
@media (prefers-reduced-motion: reduce) { .rt-btn { transition: none; } }
