/* Figma node 803:3120. Keep review content and layout editable in Elementor. */
body.page-id-20 .elementor-element-c6e0f67 .elementor-element-d8f796a {
  max-width: 928px;
}
body.page-id-20 .elementor-element-55af823 {
  min-height: 46.5px;
  --e-con-transform-flipY: -1 !important;
  background-image: url('./assets/testimonials/section-wave.svg') !important;
  background-position: center bottom !important;
  background-size: 2026px 46.5px !important;
  background-repeat: no-repeat !important;
}
body.page-id-20 .elementor-element-c3677b1 {
  --padding-top: 40px;
  --padding-right: 80px;
  --padding-bottom: 100px;
  --padding-left: 80px;
}
body.page-id-20 .elementor-1450 .elementor-element-ac7181d {
  min-height: 344px;
}
body.page-id-20 .elementor-1450 .elementor-element-bed3a9e {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
}
body.page-id-20 .elementor-1450 .elementor-element-bed3a9e::before {
  content: '';
  grid-column: 1;
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: block;
  background: url('./assets/testimonials/reviewer-school.svg') center / 44px 44px no-repeat;
}
body.page-id-20 .elementor-1450 .elementor-element-ac7181d:nth-child(3n + 2) .elementor-element-bed3a9e::before {
  background-image: url('./assets/testimonials/reviewer-community.svg');
}
body.page-id-20 .elementor-1450 .elementor-element-bed3a9e > .elementor-widget {
  grid-column: 2;
  min-width: 0;
  width: 100%;
}
body.page-id-20 .elementor-1450 .elementor-element-83270a4 { grid-row: 1; }
body.page-id-20 .elementor-1450 .elementor-element-993471a { grid-row: 2; }
body.page-id-20 .elementor-1450 .elementor-element-993471a p { line-height: 24px; }
body.page-id-20 .elementor-1450 .elementor-element-ac3f4b4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  overflow: hidden;
  max-height: 196px;
}
body.page-id-20 .elementor-1450 .elementor-element-ac3f4b4 p {
  margin: 0;
  display: inline;
}
body.page-id-20 .elementor-1450 .elementor-element-ac3f4b4 p + p::before { content: ' '; }
@media (max-width: 1024px) {
  body.page-id-20 .elementor-element-c3677b1 {
    --padding-top: 40px;
    --padding-right: 32px;
    --padding-bottom: 80px;
    --padding-left: 32px;
  }
}
@media (max-width: 767px) {
  body.page-id-20 .elementor-element-c3677b1 {
    --padding-right: 20px;
    --padding-bottom: 72px;
    --padding-left: 20px;
  }
  body.page-id-20 .elementor-1450 .elementor-element-ac3f4b4 {
    -webkit-line-clamp: 7;
    max-height: 196px;
  }
}

/* Match the Blog divider: a dedicated 47px full-width SVG layer, with only
   the artwork flipped so the filled area joins the reviews background. */
body.page-id-20 .elementor-element-55af823 {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 47px !important;
  height: 47px !important;
  margin: 0 0 -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  --e-con-transform-flipY: 1 !important;
  background: none !important;
}
body.page-id-20 .elementor-element-55af823::before {
  content: '';
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 47px;
  background: url('./assets/testimonials/section-wave.svg') center / 2026px 47px no-repeat;
  transform: scaleY(-1);
  transform-origin: center;
  pointer-events: none;
}
@media (max-width: 767px) {
  body.page-id-20 .elementor-element-55af823::before {
    background-size: 2026px 47px;
  }
}

/* Full review modal. Scoped to the Testimonials page. */
body.page-id-20 .elementor-1450 .elementor-element-ac7181d {
  position: relative;
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  body.page-id-20 .elementor-1450 .elementor-element-ac7181d:hover {
    box-shadow: 0 14px 34px rgba(28, 27, 31, 0.12);
    transform: translateY(-2px);
  }
}
body.page-id-20 .elementor-1450 .elementor-element-ac7181d:focus-within {
  outline: 3px solid rgba(50, 161, 178, 0.38);
  outline-offset: 3px;
}
body.page-id-20 .elementor-1450 .elementor-element-ac3f4b4 {
  -webkit-line-clamp: 5;
  line-clamp: 5;
  max-height: 140px;
}
body.page-id-20 .tm-testimonial-modal-trigger {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #1C1B1F;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: underline;
  text-decoration-color: rgba(28, 27, 31, 0.35);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}
body.page-id-20 .tm-testimonial-modal-trigger svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  transition: transform 180ms ease;
}
body.page-id-20 .tm-testimonial-modal-trigger:hover {
  color: #16798A;
  text-decoration-color: #16798A;
}
body.page-id-20 .tm-testimonial-modal-trigger:hover svg { transform: translateX(3px); }
body.page-id-20 .tm-testimonial-modal-trigger:focus-visible,
body.page-id-20 .tm-testimonials-modal__close:focus-visible {
  outline: 3px solid rgba(50, 161, 178, 0.55);
  outline-offset: 3px;
}
html.tm-testimonials-modal-open,
html.tm-testimonials-modal-open body { overflow: hidden; }
html.tm-testimonials-modal-open body { padding-right: var(--tm-testimonials-scrollbar-width, 0); }
body.page-id-20 .tm-testimonials-modal[hidden] { display: none !important; }
body.page-id-20 .tm-testimonials-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 24px;
  font-family: Inter, sans-serif;
}
body.page-id-20 .tm-testimonials-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 27, 31, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 180ms ease;
}
body.page-id-20 .tm-testimonials-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 40px;
  border: 1px solid #E5E7EB;
  border-radius: 28px;
  background: #FFFFFF;
  box-shadow: 0 28px 80px rgba(28, 27, 31, 0.3);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}
body.page-id-20 .tm-testimonials-modal.is-open .tm-testimonials-modal__backdrop,
body.page-id-20 .tm-testimonials-modal.is-open .tm-testimonials-modal__dialog { opacity: 1; }
body.page-id-20 .tm-testimonials-modal.is-open .tm-testimonials-modal__dialog { transform: translateY(0) scale(1); }
body.page-id-20 .tm-testimonials-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 1px solid #E5E7EB;
  border-radius: 50%;
  background: #FFFFFF;
  color: #1C1B1F;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease;
}
body.page-id-20 .tm-testimonials-modal__close:hover {
  border-color: #B6DFE8;
  background: #E3FBFF;
}
body.page-id-20 .tm-testimonials-modal__close svg { width: 20px; height: 20px; }
body.page-id-20 .tm-testimonials-modal__header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-right: 48px;
}
body.page-id-20 .tm-testimonials-modal__avatar {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #50C6D8 url('./assets/testimonials/reviewer-school.svg') center / 44px 44px no-repeat;
}
body.page-id-20 .tm-testimonials-modal__avatar.is-community {
  background-color: #99CC33;
  background-image: url('./assets/testimonials/reviewer-community.svg');
}
body.page-id-20 .tm-testimonials-modal__name {
  margin: 0 0 4px;
  color: #1C1B1F;
  font-family: Inter, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}
body.page-id-20 .tm-testimonials-modal__details {
  margin: 0;
  color: #606060;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}
body.page-id-20 .tm-testimonials-modal__review {
  margin-top: 28px;
  color: #1C1B1F;
  font-size: 17px;
  font-weight: 400;
  line-height: 29px;
  overflow-wrap: anywhere;
}
body.page-id-20 .tm-testimonials-modal__review p { margin: 0 0 18px; }
body.page-id-20 .tm-testimonials-modal__review p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  body.page-id-20 .elementor-1450 .elementor-element-ac3f4b4 {
    -webkit-line-clamp: 4;
    line-clamp: 4;
    max-height: 112px;
  }
  body.page-id-20 .tm-testimonials-modal { align-items: end; padding: 16px; }
  body.page-id-20 .tm-testimonials-modal__dialog {
    width: 100%;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 28px 24px 32px;
    border-radius: 24px;
    transform: translateY(24px);
  }
  body.page-id-20 .tm-testimonials-modal__close { top: 16px; right: 16px; }
  body.page-id-20 .tm-testimonials-modal__header {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding-right: 42px;
  }
  body.page-id-20 .tm-testimonials-modal__avatar {
    width: 48px;
    height: 48px;
    background-size: 38px 38px;
  }
  body.page-id-20 .tm-testimonials-modal__name { font-size: 19px; line-height: 26px; }
  body.page-id-20 .tm-testimonials-modal__details { font-size: 14px; line-height: 21px; }
  body.page-id-20 .tm-testimonials-modal__review {
    margin-top: 24px;
    font-size: 16px;
    line-height: 27px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.page-id-20 .elementor-1450 .elementor-element-ac7181d,
  body.page-id-20 .tm-testimonial-modal-trigger,
  body.page-id-20 .tm-testimonial-modal-trigger svg,
  body.page-id-20 .tm-testimonials-modal__backdrop,
  body.page-id-20 .tm-testimonials-modal__dialog,
  body.page-id-20 .tm-testimonials-modal__close { transition: none !important; }
}
