/* A quiet transition between the awards hero and the lens banners. */
.testimonial-slider-large.patient-testimonials {
  padding: 80px 0 88px;
  background: #fff;
  color: #17334d;
  font-family: 'Libre Franklin', Arial, sans-serif;
  scroll-margin-top: 190px;
}
.patient-testimonials *, .patient-testimonials *::before, .patient-testimonials *::after { box-sizing: border-box; }
.patient-testimonials__inner { width: min(1100px, calc(100% - 112px)); margin: 0 auto; }
.patient-testimonials__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.patient-testimonials__video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #0b2236;
  /* Match the embedded video cards in the shared lens banners. */
  box-shadow: 0 6px 22px rgba(0,0,0,.28), 0 1px 3px rgba(0,0,0,.22);
}
.patient-testimonials__video iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.patient-testimonials__play { position: absolute; inset: 0; display: block; color: #fff; }
.patient-testimonials__play[hidden] { display: none; }
.patient-testimonials__play img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.patient-testimonials__play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 13px; background: rgba(0,0,0,.72); transition: background .15s; }
.patient-testimonials__play-icon::after { content: ''; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%); border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.patient-testimonials__play:hover .patient-testimonials__play-icon, .patient-testimonials__play:focus-visible .patient-testimonials__play-icon { background: #c4302b; }
.patient-testimonials__watch { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: 5px; background: rgba(0,0,0,.72); color: #fff; font-size: 12px; line-height: 1.5; font-weight: 600; }
.patient-testimonials__carousel { position: relative; }
.patient-testimonials__track { display: grid; gap: 48px; touch-action: pan-y; }
/* Shared grid area reserves the taller story's height so changing slides does not shift the page. */
.patient-testimonials__carousel.is-ready .patient-testimonials__track { gap: 0; }
.patient-testimonials__carousel.is-ready .patient-testimonials__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .5s ease; }
.patient-testimonials__carousel.is-ready .patient-testimonials__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.patient-testimonials__controls { position: relative; display: flex; align-items: center; justify-content: center; margin-top: 26px; min-height: 44px; }
.patient-testimonials__controls[hidden] { display: none; }
.patient-testimonials__arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid #c5d4df; background: #f3f7fa; color: #00437f; cursor: pointer; transition: background .15s, border-color .15s; }
.patient-testimonials__arrow { position: absolute; }
.patient-testimonials__arrow::before { content: ''; width: 11px; height: 11px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.patient-testimonials__arrow--prev { left: 0; }
.patient-testimonials__arrow--prev::before { transform: rotate(-135deg); margin-left: 4px; }
.patient-testimonials__arrow--next { right: 0; }
.patient-testimonials__arrow--next::before { transform: rotate(45deg); margin-right: 4px; }
.patient-testimonials__arrow:hover { background: #e5eff6; border-color: #00437f; }
.patient-testimonials__dots { display: flex; align-items: center; gap: 0; }
.patient-testimonials__dot { display: grid; place-items: center; width: 32px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.patient-testimonials__dot::before { content: ''; width: 8px; height: 8px; border: 1px solid #57758e; border-radius: 50%; transition: background .2s; }
.patient-testimonials__dot[aria-current="true"]::before { background: #00437f; border-color: #00437f; }
.patient-testimonials :is(button, a):focus-visible { outline: 3px solid #00437f; outline-offset: 3px; }
.patient-testimonials__play:focus-visible { outline-offset: -4px; }
.patient-testimonials__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (min-width: 1200px) {
  .patient-testimonials__inner { width: min(1100px, calc(100% - 160px)); }
  .patient-testimonials__controls { position: static; }
  .patient-testimonials__arrow { top: calc((100% - 70px) / 2); transform: translateY(-50%); }
  .patient-testimonials__arrow--prev { left: -64px; }
  .patient-testimonials__arrow--next { right: -64px; }
}
@media (prefers-reduced-motion: reduce) {
  .patient-testimonials__carousel.is-ready .patient-testimonials__slide { transition: none; }
}
.patient-testimonials__story { margin: 0; min-width: 0; }
.patient-testimonials__quote-mark { display: block; width: 42px; height: 32px; margin-bottom: 18px; color: #a8c5d7; }
.patient-testimonials__quote {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  color: #00437f;
  font-family: inherit;
  font-size: clamp(26px, 2.25vw, 32px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.patient-testimonials__author { display: flex; align-items: center; gap: 18px; text-align: left; }
.patient-testimonials__portrait { position: relative; display: block; flex: 0 0 104px; width: 104px; isolation: isolate; }
/* A solid backing keeps the blue disc consistent through fine alpha edges. */
.patient-testimonials__portrait::before { content: ''; position: absolute; z-index: -1; left: 10%; top: 17%; width: 80%; height: 80%; border-radius: 50%; background: #214e7e; }
/* The circle is in the artwork; keep the complete head and its transparent margin. */
.patient-testimonials__portrait img { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
.patient-testimonials__name { margin: 0 0 5px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.patient-testimonials__role { margin: 0; color: #5d6c79; font-size: 13px; line-height: 1.6; }
@media (max-width: 991px) {
  .patient-testimonials__inner { width: calc(100% - 72px); }
  .patient-testimonials__layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; }
  .patient-testimonials__quote { font-size: 26px; }
  .patient-testimonials__author { gap: 14px; }
}
@media (max-width: 767px) {
  .testimonial-slider-large.patient-testimonials { padding: 56px 0 60px; scroll-margin-top: 120px; }
  .patient-testimonials__inner { width: calc(100% - 44px); max-width: 540px; }
  .patient-testimonials__layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .patient-testimonials__story { max-width: 440px; margin: 0 auto; text-align: center; }
  .patient-testimonials__quote-mark { width: 34px; height: 26px; margin: 0 auto 12px; }
  .patient-testimonials__quote { margin-bottom: 22px; font-size: 25px; }
  .patient-testimonials__author { justify-content: center; gap: 14px; text-align: left; }
  .patient-testimonials__portrait { flex-basis: 88px; width: 88px; }
  .patient-testimonials__name { font-size: 15px; }
  .patient-testimonials__role { font-size: 12px; }
}
