/* Stretch the Elementor widget wrapper and its card to the full grid-cell height. */
.elementor-widget-rcw_review_card {
  height: 100%;
  align-self: stretch;
}
.elementor-widget-rcw_review_card > .elementor-widget-container {
  height: 100%;
}

/* Defaults are sized to match the reference design at normal (1x) scale. */
.rcw-card {
  width: 100%;
  height: 100%;
  max-width: 760px;
  color: #222;
  font-size: 1rem;
  line-height: 1.55;
  box-sizing: border-box;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
}
.rcw-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.rcw-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #e8ecee;
  color: #cfd7dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.25rem;
}
.rcw-avatar svg {
  width: 1.75rem;
  height: 1.75rem;
}
.rcw-meta { min-width: 0; }
.rcw-name { font-weight: 600; font-size: 1.0625rem; line-height: 1.2; }
.rcw-date { color: #757575; font-size: 1rem; line-height: 1.3; margin-top: 0.25rem; }
.rcw-badge {
  display: inline-block;
  margin-top: 0.375rem;
  background: #f3f4f5;
  color: #6b6f73;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.25;
  padding: 0.25rem 0.375rem;
  letter-spacing: 0.01em;
}
.rcw-text {
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
@media (max-width: 767px) {
  .rcw-header { gap: 0.625rem; margin-bottom: 0.875rem; }
  .rcw-avatar { width: 3rem; height: 3rem; flex-basis: 3rem; }
  .rcw-avatar svg { width: 1.625rem; height: 1.625rem; }
}

/* Four-line collapsed preview, using a native text ellipsis. */
.rcw-text.rcw-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
/* The toggle behaves like a text link, never like a themed button. */
.rcw-card .rcw-toggle,
.rcw-card .rcw-toggle:hover,
.rcw-card .rcw-toggle:focus,
.rcw-card .rcw-toggle:active {
  display: inline-block;
  appearance: none;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  margin: 1rem 0 0;
  width: auto;
  background: transparent !important;
  background-color: transparent !important;
  color: #74A84A !important;
  font-family: inherit;
  font-size: 1rem;
  line-height: inherit;
  letter-spacing: normal;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
}
.rcw-card .rcw-toggle:hover { text-decoration: underline; }
.rcw-card .rcw-toggle[hidden] { display: none !important; }
.rcw-card .rcw-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
