.roc-topdoctors-reviews {
  --roc-td-blue: #0aa3dc;
  --roc-td-blue-dark: #008fca;
  --roc-td-gold: #f7aa22;
  --roc-td-green: #1ebf62;
  --roc-td-text: #061d3a;
  --roc-td-muted: #7c8795;
  display: flex;
  height: 100%;
  color: var(--roc-td-text);
  font-family: var(--e-global-typography-text-font-family), Roboto, system-ui, sans-serif;
  width: 100%;
}

.roc-td-card {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 2px solid var(--roc-td-blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(6, 29, 58, 0.14);
  min-height: 100%;
}

.roc-td-header {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 14px 12px;
}

.roc-td-logo {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  text-decoration: none;
}

.roc-td-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.roc-td-summary {
  min-width: 0;
}

.roc-td-summary h3 {
  margin: 0;
  color: var(--roc-td-blue);
  font-family: var(--e-global-typography-primary-font-family), Roboto, system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.05;
}

.roc-td-summary p {
  margin: 3px 0 4px;
  color: var(--roc-td-muted);
  font-size: 9px;
  line-height: 1.25;
}

.roc-td-rating {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 5px;
}

.roc-td-rating strong {
  color: #343c45;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

.roc-td-stars {
  position: relative;
  display: inline-block;
  color: #cfd5da;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.roc-td-review .roc-td-stars {
  font-size: 17px;
}

.roc-td-stars-filled {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: var(--roc-td-gold);
  white-space: nowrap;
}

.roc-td-cta {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 3px;
  color: #fff;
  background: var(--roc-td-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.roc-td-cta:hover,
.roc-td-cta:focus {
  color: #fff;
  background: var(--roc-td-blue-dark);
}

.roc-td-cta span:last-child {
  font-size: 26px;
  font-weight: 700;
  line-height: 0.6;
}

.roc-td-reviews {
  flex: 1;
  margin: 2px 14px 0;
  padding: 14px 11px 16px;
  border: 1px solid #d0d0d0;
  border-radius: 9px;
}

.roc-td-review + .roc-td-review {
  margin-top: 14px;
}

.roc-td-review-top {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}

.roc-td-verified {
  color: var(--roc-td-green);
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

.roc-td-verified::after {
  content: "✓";
  display: inline-flex;
  width: 15px;
  height: 15px;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.roc-td-text {
  position: relative;
  display: -webkit-box;
  margin: 6px 0 0;
  padding-left: 28px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  color: #0b1520;
  font-size: 13px;
  line-height: 1.35;
}

.roc-td-text::before {
  content: "“";
  position: absolute;
  top: -6px;
  left: 0;
  color: #c9c9c9;
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
}

.roc-td-meta {
  margin: 6px 0 0 28px;
  color: #0b1520;
  font-size: 12px;
  line-height: 1.25;
  height: 50px;
}

.roc-td-meta strong {
  margin-right: 6px;
  font-weight: 700;
}

.roc-td-all {
  display: block;
  margin-top: 14px;
  color: var(--roc-td-blue);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.roc-td-powered {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px;
  color: #c7c7c7;
  font-size: 8px;
  text-transform: uppercase;
}

.roc-td-powered strong {
  color: #9f9f9f;
  font-size: 13px;
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .roc-td-header {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px;
    padding: 10px;
  }

  .roc-td-logo {
    min-height: 78px;
  }

  .roc-td-summary h3 {
    font-size: 17px;
  }

  .roc-td-rating strong,
  .roc-td-stars {
    font-size: 16px;
  }

  .roc-td-cta {
    min-height: 40px;
    font-size: 13px;
  }

  .roc-td-cta span:last-child {
    font-size: 28px;
  }

  .roc-td-reviews {
    margin: 0 10px;
    padding: 12px 10px 14px;
  }

  .roc-td-review-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .roc-td-review .roc-td-stars {
    font-size: 16px;
  }

  .roc-td-verified,
  .roc-td-meta {
    font-size: 11px;
  }

  .roc-td-text {
    padding-left: 24px;
    -webkit-line-clamp: 7;
    font-size: 12px;
  }

  .roc-td-text::before {
    font-size: 40px;
  }

  .roc-td-meta {
    margin-left: 24px;
  }

  .roc-td-all {
    font-size: 12px;
  }

  .roc-td-powered,
  .roc-td-powered strong {
    font-size: 11px;
  }
}
