/* Testimonials page styles */

/* CareAxis testimonial PAGE ONLY. No styles for the shared header, footer, WhatsApp or navigation. */
.ca-testi-hero .ca-testi-hero-art {
  width: min(100%, 355px);
  aspect-ratio: 1 / 1;
  min-height: 0;
  align-self: center;
  justify-self: end;
  border: 9px solid #fff;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(36,116,169,.11);
  background: #dff4fd;
}
.ca-testi-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ca-testi-section {
  padding: clamp(66px, 7.5vw, 105px) 0;
  background: linear-gradient(180deg, #f4faff 0%, #fff 85%);
}
.ca-testi-section-head {
  max-width: 750px;
  margin: 0 auto 43px;
  text-align: center;
}
.ca-testi-section-head .section-label { margin-bottom: 12px; }
.ca-testi-section-head h2 { margin: 0 0 13px; font-size: clamp(2.05rem, 3.2vw, 3.25rem); }
.ca-testi-section-head p { margin: 0 auto; max-width: 550px; font-size: 16px; line-height: 1.7; }
.ca-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  align-items: stretch;
}
.ca-testi-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 30px 27px 27px;
  background: #fff;
  border: 1px solid #d7e8f2;
  border-radius: 18px;
  box-shadow: 0 7px 24px rgba(45,116,165,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ca-testi-card:hover { transform: translateY(-5px); box-shadow: 0 15px 34px rgba(45,116,165,.13); border-color: #b1d6eb; }
.ca-testi-quote-mark { height: 44px; font: 700 73px/.8 Georgia,serif; color: #b5dff1; }
.ca-testi-card blockquote {
  margin: 14px 0 27px;
  padding: 0;
  flex: 1;
  color: #486a84;
  font-size: 15.5px;
  line-height: 1.75;
  font-style: italic;
  font-weight: 400;
  overflow-wrap: break-word;
}
.ca-testi-author { display: flex; align-items: center; gap: 13px; margin-top: auto; min-width: 0; }
.ca-testi-avatar {
  position: relative;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: #e6f4fb;
  border: 2px solid #2b81bc;
  border-radius: 50%;
  overflow: hidden;
}
.ca-testi-initials { color: #2672a2; font-size: 16px; font-weight: 800; }
.ca-testi-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ca-testi-author-info { display: flex; flex-direction: column; min-width: 0; }
.ca-testi-author-info strong { display: block; color: #2876b2; font-size: 16px; line-height: 1.27; }
.ca-testi-role { color: #668397; font-size: 12px; line-height: 1.4; margin-top: 4px; }
.ca-testi-stars { display: inline-flex; gap: 2px; width: max-content; color: #efb500; font-size: 19px; letter-spacing: .03em; margin-top: 6px; line-height: 1; }
.ca-testi-star-half { background: linear-gradient(90deg,#efb500 50%,#cbd7df 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 1000px) {
  .ca-testi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .ca-testi-hero .ca-testi-hero-art { max-width: 270px; }
}
@media (max-width: 700px) {
  .ca-testi-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .ca-testi-section-head { margin-bottom: 28px; }
  .ca-testi-card { padding: 25px 22px; }
  .ca-testi-hero .ca-testi-hero-art { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ca-testi-card { transition: none; }
  .ca-testi-card:hover { transform: none; }
}

/* Keep section copy consistent with all CareAxis service pages. */
.ca-testi-section .ca-testi-section-head{text-align:left;margin-left:0;margin-right:0;max-width:820px}
.ca-testi-section .ca-testi-section-head p{margin-left:0;margin-right:0;max-width:720px}
.ca-testi-section .ca-testi-card blockquote{quotes:none}
.ca-testi-section .ca-testi-card blockquote::before,
.ca-testi-section .ca-testi-card blockquote::after{content:none}
.ca-testi-hero .ca-testi-hero-art{min-height:0;aspect-ratio:1/1}
.ca-testi-hero .ca-testi-hero-art img{width:100%;height:100%;object-fit:cover}
@media(max-width:700px){.ca-testi-section .ca-testi-section-head{text-align:left}}

