/* Reviews route: repeated blocks remain owned by home.css. This file owns
   route flow and the unique text-review component only. */

body[data-route="reviews"] .reviews-intro {
  min-height: 224px;
  padding-top: 148px;
  padding-bottom: 59px;
  background: #fafafa;
}

body[data-route="reviews"] .reviews-breadcrumbs {
  display: flex;
  gap: 4px;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 17px;
}

body[data-route="reviews"] .reviews-breadcrumbs span[aria-current="page"] {
  color: #010f77;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews {
  position: relative;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

body[data-route="reviews"] .video-reviews {
  background: linear-gradient(to bottom, #fafafa calc(100% - 60px), #fff calc(100% - 60px));
}

body[data-route="reviews"] .reviews-rating {
  background: #fff;
  box-shadow: none;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews > .page-shell {
  position: relative;
  height: auto;
  padding-bottom: 120px;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading {
  position: relative;
  inset: auto;
  display: block;
  margin: 0;
  padding-top: 21px;
  pointer-events: auto;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading > div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 0;
  border-bottom: 0;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading :is(.section-kicker, .section-number),
body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading h2 {
  position: static;
  inset: auto;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading :is(.section-kicker, .section-number) {
  margin: 0;
  color: #5f5f5f;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading h2 {
  width: min(709px, 60%);
  margin-top: 60px;
  color: #c0c1cc;
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04em;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading h2 span {
  color: #232742;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__intro {
  width: min(459px, 45%);
  margin: 30px 0 0;
  font-size: 16px;
  line-height: 1.25;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__carousel {
  width: 100%;
  margin-top: 60px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__carousel.is-dragging {
  cursor: grabbing;
}

html:not(.js) body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__carousel {
  overflow-x: auto;
  scrollbar-gutter: auto;
  scrollbar-width: none;
}

html:not(.js) body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__carousel::-webkit-scrollbar {
  display: none;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  will-change: transform;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card {
  min-width: 0;
  flex: 0 0 40.7576%;
  padding: 20px 20px 43px;
  background: #fafafa;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card__person {
  display: grid;
  min-height: 133px;
  grid-template-columns: 119px minmax(0, 1fr);
  gap: clamp(20px, 2.15vw, 31px);
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card__person > img {
  width: 119px;
  height: 133px;
  object-fit: cover;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card__person > div {
  max-width: 310px;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card h3 {
  margin: 0;
  color: #010f77;
  font-size: 20px;
  line-height: 1;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card__person p {
  margin: 20px 0 0;
  color: rgba(48, 48, 48, .7);
  font-size: 12px;
  line-height: 1.15;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card blockquote {
  width: 100%;
  max-width: 461px;
  margin: 35px 0 0;
  font-size: 16px;
  line-height: 1;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav {
  position: absolute;
  z-index: 6;
  top: 205px;
  right: 0;
  left: auto;
  display: flex;
  width: 214px;
  align-items: center;
  gap: 18px;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav button {
  position: relative;
  width: 60px;
  height: 60px;
  padding: 0;
  color: #010f77;
  background: #fafafa;
  border: 0;
  font-size: 0;
  transition: color .2s ease, background .2s ease;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav button::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-bottom: 1.5px solid #010f77;
  border-left: 1.5px solid #010f77;
  content: "";
  transform: translate(-35%, -50%) rotate(45deg);
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav button:last-child::before {
  transform: translate(-65%, -50%) rotate(225deg);
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav button:is(:hover, :focus-visible) {
  color: #fff;
  background: #010f77;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav button:is(:hover, :focus-visible)::before {
  border-color: #fff;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav > span {
  color: #c4c4c1;
  font-family: var(--font-display);
  white-space: nowrap;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav b {
  color: #010f77;
  font-size: 24px;
  font-weight: 500;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: center;
  width: calc(100% - 1px);
  margin-top: 60px;
  margin-left: 1px;
  padding: 24.5px 10px;
  background: #fafafa;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta-star {
  display: grid;
  width: clamp(47px, 4.583vw, 66px);
  aspect-ratio: 1;
  place-items: center;
  background: #010f77;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta-star img {
  width: clamp(30px, 2.5vw, 36px);
  aspect-ratio: 1;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta p {
  max-width: 687px;
  margin: 0;
  color: #232742;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button {
  --corner-inset: 10px;
  --corner-color: #fff;
  --corner-hover-color: #010f77;
  position: relative;
  width: min(360px, 100%);
  min-height: 0;
  justify-content: center;
  padding-inline: 24px;
  padding-block: 21px;
  font-size: 16px;
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button::before,
body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button::after {
  position: absolute;
  width: 10px;
  height: 10px;
  background: transparent;
  pointer-events: none;
  content: "";
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button::before {
  top: calc(100% - var(--corner-inset) - 10px);
  left: var(--corner-inset);
  border-bottom: 2px solid var(--corner-color);
  border-left: 2px solid var(--corner-color);
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button::after {
  top: var(--corner-inset);
  left: calc(100% - var(--corner-inset) - 10px);
  border-top: 2px solid var(--corner-color);
  border-right: 2px solid var(--corner-color);
}

body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button:is(:hover, :focus-visible) {
  --corner-color: var(--corner-hover-color);
  color: #010f77;
  background: #fff;
  border-color: #010f77;
}

body[data-route="reviews"] .home-appointment__content .section-number {
  width: max-content;
  white-space: nowrap;
  overflow-wrap: normal;
}

@media (min-width: 1440px) {
  body[data-route="reviews"] .reviews-rating > .page-shell {
    padding-bottom: 120px;
  }

  body[data-page="home"][data-route="reviews"] main .home-appointment__grid {
    padding-bottom: 60px;
  }
}

@media (min-width: 768px) and (max-width: 1359px) {
  body[data-route="reviews"] .reviews-intro {
    min-height: 204px;
    padding: 128px 0 59px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading h2 {
    width: min(709px, 75%);
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__intro {
    width: min(459px, 55%);
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card {
    flex-basis: 55%;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta {
    grid-template-columns: 66px minmax(0, 1fr) minmax(260px, 32%);
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta p {
    font-size: clamp(24px, 2.5vw, 32px);
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body[data-route="reviews"] .reviews-intro {
    min-height: 174px;
    padding-top: 122px;
    padding-bottom: 35px;
  }

  body[data-route="reviews"] .reviews-breadcrumbs {
    margin-left: 4px;
  }

  body[data-route="reviews"] .video-reviews {
    margin-top: 0;
    background: #fafafa;
    box-shadow: 0 40px 0 #fafafa;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews {
    margin-top: 80px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews > .page-shell {
    padding-bottom: 0;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading {
    padding-top: 11px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading :is(.section-kicker, .section-number) {
    font-size: 12px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading h2 {
    width: min(355px, 100%);
    margin-top: 35px;
    font-size: 32px;
    line-height: 1;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__intro {
    width: 100%;
    margin-top: 30px;
    font-size: 14px;
    line-height: normal;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__carousel {
    margin-top: 35px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__track {
    gap: 10px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card {
    flex-basis: 100%;
    padding: 20px 20px 28px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card__person {
    gap: 20px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card blockquote {
    width: calc(100% - 6px);
    margin-top: 35px;
    font-size: 14px;
    line-height: 1;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__nav {
    position: relative;
    inset: auto;
    width: 214px;
    margin: 35px auto 0;
    transform: none;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta {
    display: block;
    width: 100%;
    margin-top: 50px;
    margin-left: 0;
    padding: 20px 20px 19px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta p {
    width: calc(100% - 16px);
    margin-top: 20px;
    font-size: 25px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta .button {
    width: 100%;
    margin-top: 43px;
  }

  body[data-route="reviews"] .reviews-rating {
    margin-top: 40px;
  }

  body[data-route="reviews"] .home-appointment {
    box-shadow: 0 -40px 0 #fafafa;
  }

  body[data-route="reviews"] .reviews-rating .section-number {
    font-size: 0;
  }

  body[data-route="reviews"] .reviews-rating .section-number::after {
    font-size: 12px;
    content: attr(data-phone-number);
  }

  body[data-route="reviews"] > .site-footer {
    margin-top: 40px;
    box-shadow: 0 -40px 0 #fafafa;
  }
}

@media (max-width: 410px) {
  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__heading h2,
  body:is([data-route="reviews"], [data-route="doctor"]) .text-reviews__cta p {
    font-size: clamp(23px, 7.44vw, 32px);
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card {
    padding-right: 16px;
    padding-left: 16px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card__person {
    grid-template-columns: min(119px, 34vw) minmax(0, 1fr);
    gap: 14px;
  }

  body:is([data-route="reviews"], [data-route="doctor"]) .text-review-card__person > img {
    width: min(119px, 34vw);
  }
}
