.dr-reviews-section,
.dr-reviews-page {
  --reviews-navy: #0f3151;
  --reviews-blue: #1484bd;
  --reviews-blue-dark: #0d6da3;
  --reviews-sky: #eaf6fc;
  --reviews-line: #cfe4f0;
  --reviews-text: #445f79;
  box-sizing: border-box;
  color: var(--reviews-navy);
  font-family: inherit;
}

.dr-reviews-section *,
.dr-reviews-page * {
  box-sizing: border-box;
}

.dr-reviews-section {
  background: linear-gradient(180deg, #f8fcff 0%, #edf7fc 100%);
  padding: 76px 24px 82px;
}

.dr-reviews-page {
  background: #f7fbfe;
  min-height: 60vh;
  max-width: 100%;
  overflow-x: hidden;
}

.dr-reviews-shell {
  width: min(1180px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.dr-reviews-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

[dir="rtl"] .dr-reviews-heading {
  direction: rtl;
}

.dr-reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--reviews-blue-dark);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dr-reviews-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--reviews-blue);
}

.dr-reviews-heading h1,
.dr-reviews-heading h2 {
  max-width: 100%;
  margin: 0;
  color: var(--reviews-navy);
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: break-word;
  white-space: normal !important;
}

.dr-reviews-heading h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

.dr-reviews-heading p {
  margin: 14px auto 0;
  color: var(--reviews-text);
  font-size: 17px;
  line-height: 1.8;
}

.dr-reviews-hero {
  padding: 76px 24px 42px;
  background:
    radial-gradient(circle at 10% 10%, rgba(20,132,189,.12), transparent 32%),
    linear-gradient(180deg, #f4fbff 0%, #f7fbfe 100%);
}

.dr-reviews-hero .dr-reviews-heading {
  margin-bottom: 0;
}

.dr-reviews-source-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.dr-reviews-source-summary a,
.dr-review-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--reviews-line);
  border-radius: 999px;
  background: #fff;
  color: var(--reviews-navy) !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
}

.dr-reviews-source-summary a {
  max-width: 100%;
  padding: 10px 14px;
  text-align: center;
  white-space: normal;
}

.dr-source-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--reviews-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

.dr-reviews-body {
  padding: 24px 24px 86px;
}

.dr-review-group + .dr-review-group {
  margin-top: 62px;
}

.dr-review-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
}

.dr-review-group-heading h2 {
  margin: 0;
  color: var(--reviews-navy);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.3;
}

.dr-review-group-heading p {
  margin: 0;
  color: #6c8295;
  font-size: 14px;
}

.dr-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.dr-review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--reviews-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(15, 49, 81, .08);
}

.dr-review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.dr-review-source {
  padding: 7px 10px 7px 7px;
}

[dir="rtl"] .dr-review-source {
  padding: 7px 7px 7px 10px;
}

.dr-review-rating {
  color: #e5aa19;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.dr-review-recommended {
  color: #168a58;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.dr-review-recommended::before {
  content: "\2713";
  display: inline-grid;
  width: 20px;
  height: 20px;
  margin-inline-end: 5px;
  place-items: center;
  border-radius: 50%;
  background: #dff5eb;
}

.dr-review-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #233e58;
  font-size: 16px;
  font-style: normal;
  line-height: 1.85;
}

.dr-review-card blockquote p {
  margin: 0;
  overflow-wrap: anywhere;
}

.dr-review-card blockquote p::before {
  content: "“";
  color: var(--reviews-blue);
  font-size: 30px;
  font-weight: 900;
  line-height: 0;
  vertical-align: -7px;
  margin-inline-end: 4px;
}

.dr-review-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.dr-review-person strong,
.dr-review-person time {
  display: block;
}

.dr-review-person strong {
  color: var(--reviews-navy);
  font-size: 15px;
}

.dr-review-person time {
  margin-top: 3px;
  color: #7a8ea1;
  font-size: 12px;
}

.dr-review-translation-label {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--reviews-sky);
  color: var(--reviews-blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.dr-review-original-toggle {
  appearance: none;
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--reviews-blue-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  align-self: flex-start;
}

.dr-review-original {
  margin-top: 14px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: #f3f8fb;
  color: #304b65 !important;
  font-size: 14px !important;
}

.dr-review-original[hidden] {
  display: none !important;
}

.dr-reviews-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dr-reviews-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--reviews-blue);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(20, 132, 189, .24);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.dr-reviews-button:hover,
.dr-reviews-button:focus-visible {
  background: var(--reviews-blue-dark);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .dr-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .dr-reviews-section {
    padding: 56px 16px 62px;
  }

  .dr-reviews-hero {
    padding: 56px 18px 34px;
  }

  .dr-reviews-body {
    padding: 18px 16px 64px;
  }

  .dr-reviews-heading {
    margin-bottom: 26px;
  }

  .dr-reviews-heading p {
    font-size: 15px;
    line-height: 1.75;
  }

  .dr-review-group-heading {
    display: block;
  }

  .dr-review-group-heading p {
    margin-top: 6px;
  }

  .dr-reviews-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .dr-review-card {
    padding: 20px;
    border-radius: 18px;
  }

  .dr-review-card-top {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .dr-reviews-source-summary a {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dr-reviews-button {
    transition: none;
  }
}
