.patient-reviews {
  padding: clamp(32px, 5vw, 72px) 0;
  background: #f6f8f9;
  color: #253b4a;
  font: 400 16px/1.6 "Roboto", Arial, sans-serif;
}
.patient-reviews *, .patient-reviews *::before, .patient-reviews *::after { box-sizing: border-box; }
.patient-reviews .container { width: 100%; container-type: inline-size; }
.patient-reviews .patient-reviews__title { margin: 0 0 28px; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; }
.patient-reviews__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  margin-bottom: 32px;
  border: 1px solid #c5deda;
  border-radius: 12px;
  background: #fff;
}
.patient-reviews__source { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 20px; font-weight: 700; }
.patient-reviews__google { font: 500 30px/1.3 Arial, sans-serif; letter-spacing: -1.5px; }
.patient-reviews__google span:nth-child(1), .patient-reviews__google span:nth-child(4) { color: #4285f4; }
.patient-reviews__google span:nth-child(2), .patient-reviews__google span:nth-child(6) { color: #ea4335; }
.patient-reviews__google span:nth-child(3) { color: #fbbc05; }
.patient-reviews__google span:nth-child(5) { color: #34a853; }
.patient-reviews__rating-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.patient-reviews__average { font-size: 20px; }
.patient-reviews__count { color: #52616b; font-size: 14px; }
.patient-reviews__stars { position: relative; display: inline-block; flex: 0 0 auto; color: #dce2e6; font: 24px/1.2 Arial, sans-serif; letter-spacing: 2px; white-space: nowrap; }
.patient-reviews__stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; color: #f4b400; }
.patient-reviews .patient-reviews__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 24px;
  border-radius: 30px;
  background: #253b4a;
  color: #fff;
  font: 600 15px/1.5 "Roboto", Arial, sans-serif;
  text-decoration: none;
  text-align: center;
  flex-shrink: 0;
}
.patient-reviews .patient-reviews__button:hover { background: #35576c; color: #fff; }
.patient-reviews__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.patient-reviews__card { display: flex; gap: 18px; min-width: 0; padding: 28px 24px; border-radius: 10px; background: #fff; box-shadow: 0 8px 28px rgba(37, 59, 74, .07); }
.patient-reviews__avatar { position: relative; display: grid; place-items: center; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; overflow: hidden; background: #e4eeed; color: #316b68; font-size: 25px; font-weight: 500; }
.patient-reviews__card:nth-child(3n+2) .patient-reviews__avatar { background: #ece8f2; color: #6e5384; }
.patient-reviews__card:nth-child(3n) .patient-reviews__avatar { background: #f3e9dd; color: #88613a; }
.patient-reviews__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.patient-reviews__avatar img[hidden] { display: none; }
.patient-reviews__content { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.patient-reviews .patient-reviews__author { margin: 0 0 9px; font: 700 17px/1.4 "Roboto", Arial, sans-serif; color: #253b4a; }
.patient-reviews__date { display: block; margin-top: 4px; color: #63717b; font-size: 14px; }
.patient-reviews .patient-reviews__text, .patient-reviews__excerpt { margin: 12px 0 0; color: #45545d; font: 400 16px/1.65 "Roboto", Arial, sans-serif; }
.patient-reviews__excerpt { display: block; }
.patient-reviews__details summary { cursor: pointer; list-style: none; }
.patient-reviews__details summary::-webkit-details-marker { display: none; }
.patient-reviews__more, .patient-reviews__less { display: block; margin-top: 10px; color: #253b4a; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.patient-reviews__less, .patient-reviews__details[open] .patient-reviews__more, .patient-reviews__details[open] .patient-reviews__excerpt { display: none; }
.patient-reviews__details[open] .patient-reviews__less { display: block; }
.patient-reviews a:focus-visible, .patient-reviews summary:focus-visible { outline: 3px solid #527d98 !important; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 1100px) { .patient-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Service pages can place sections in a narrow column beside a sidebar. */
@container (max-width: 1000px) { .patient-reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 600px) {
  .patient-reviews__grid { grid-template-columns: minmax(0, 1fr); }
  .patient-reviews__summary { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
  .patient-reviews__summary { align-items: flex-start; flex-direction: column; gap: 20px; padding: 24px 20px; }
  .patient-reviews__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .patient-reviews__card { padding: 24px 20px; gap: 16px; }
  .patient-reviews .patient-reviews__button { width: 100%; }
  .patient-reviews__count { flex-basis: 100%; }
}
