:root {
  --dc-purple: #3f3196;
  --dc-purple-mid: #5142a8;
  --dc-purple-dark: #20166f;
  --dc-lavender: #eeeaf9;
  --dc-soft: #faf8ff;
  --dc-ink: #20232a;
  --dc-muted: #686875;
  --dc-border: rgba(51, 38, 143, 0.22);
  --dc-gold: #f5b301;
}

.dc-reviews-wrap,
.dc-review-form-wrap {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 40px));
  margin: 34px auto 46px;
  color: var(--dc-ink);
}

.dc-reviews-wrap {
  position: relative;
}

.dc-review-heading {
  position: absolute;
  right: clamp(14px, 2.2vw, 28px);
  bottom: 48px;
  z-index: 3;
  text-align: right;
  margin: 0;
  pointer-events: none;
}

.dc-review-heading h2 {
  margin: 0;
  color: rgba(51, 38, 143, 0.78);
  font-family: "Segoe Print", "Bradley Hand", "Brush Script MT", "Segoe Script", "Lucida Handwriting", "Apple Chancery", cursive;
  font-size: clamp(1.18rem, 1.55vw, 1.72rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transform: rotate(-4deg) translateY(0);
  transform-origin: 100% 50%;
  text-shadow: 0 5px 18px rgba(51, 38, 143, 0.08);
}

.dc-review-heading p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--dc-muted);
}

.dc-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px;
}

.dc-review-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 2.4vw, 30px);
  padding-bottom: clamp(30px, 3vw, 38px);
  border: 1px solid var(--dc-border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, #fff 0%, #fff 62%, #faf8ff 100%);
  box-shadow: 0 14px 36px rgba(30, 24, 72, 0.08);
}

.dc-review-card::before {
  content: "";
  position: absolute;
  inset: 14px 14px 18px;
  z-index: 0;
  border: 1px solid rgba(51, 38, 143, 0.10);
  border-radius: 16px;
  pointer-events: none;
}

.dc-review-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}

.dc-review-card__corner {
  display: none;
}

.dc-review-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}


.dc-review-card h3 {
  margin: 0 0 4px;
  color: var(--dc-purple-dark);
  font-size: 1.28rem;
}

.dc-review-meta {
  margin: 0;
  color: var(--dc-muted);
  font-size: 0.95rem;
}

.dc-review-meta span + span {
  margin-left: 7px;
}

.dc-stars {
  flex: 0 0 auto;
  color: rgba(63, 49, 150, 0.22);
  font-size: clamp(2.05rem, 3.25vw, 2.7rem);
  line-height: 1;
  letter-spacing: 5px;
  white-space: nowrap;
  text-shadow: 0 3px 10px rgba(63, 49, 150, 0.14);
}

.dc-stars span {
  display: inline-block;
  transform: rotate(8deg);
  transform-origin: 50% 55%;
}

.dc-stars .is-filled {
  color: var(--dc-purple);
}

.dc-review-text {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.58;
  transition: max-height 220ms ease;
}

.dc-review-text p:last-child {
  margin-bottom: 0;
}

.dc-review-card.is-collapsed .dc-review-text {
  max-height: 180px;
  overflow: hidden;
}

.dc-review-card.is-collapsed .dc-review-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 74%);
  pointer-events: none;
}

.dc-review-card.is-expanded .dc-review-text {
  max-height: none;
  overflow: visible;
}

.dc-review-read-more {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  border: 1px solid rgba(64, 50, 146, 0.28) !important;
  border-radius: 999px;
  padding: 8px 18px;
  background: #fff !important;
  color: #3f3196 !important;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(64, 50, 146, 0.08);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.dc-review-read-more:hover,
.dc-review-read-more:focus,
.dc-review-read-more:active {
  border-color: #3f3196 !important;
  background: #3f3196 !important;
  color: #fff !important;
  outline: none;
  box-shadow: 0 10px 22px rgba(64, 50, 146, 0.18);
}

.dc-review-read-more:focus-visible {
  outline: 3px solid rgba(75, 54, 168, 0.22);
  outline-offset: 3px;
}

.dc-review-read-more[hidden] {
  display: none;
}

.dc-no-reviews {
  text-align: center;
  color: var(--dc-muted);
}

.dc-review-form-wrap {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 14%, rgba(255,255,255,0.12), transparent 24%),
    radial-gradient(circle at 92% 88%, rgba(255,255,255,0.10), transparent 26%),
    linear-gradient(135deg, var(--dc-purple), var(--dc-purple-dark));
  color: #fff;
  box-shadow: 0 18px 42px rgba(30, 24, 72, 0.18);
}

.dc-review-form-wrap .dc-review-heading h2,
.dc-review-form-wrap .dc-review-heading p {
  color: #fff;
}

.dc-review-form-wrap .dc-review-heading p {
  opacity: 0.88;
}

.dc-review-form {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  color: var(--dc-ink);
}

.dc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.dc-form-grid p {
  margin: 0;
}

.dc-form-full {
  grid-column: 1 / -1;
}

.dc-review-form label {
  display: block;
  margin: 0 0 7px;
  font-weight: 700;
  color: var(--dc-purple-dark);
}

.dc-review-form label span {
  color: #b10000;
}

.dc-review-form small {
  color: var(--dc-muted);
  font-weight: 600;
}

.dc-review-form input,
.dc-review-form select,
.dc-review-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid rgba(51, 38, 143, 0.24);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
}

.dc-review-form input:focus,
.dc-review-form select:focus,
.dc-review-form textarea:focus {
  outline: 2px solid rgba(75, 54, 168, 0.24);
  border-color: var(--dc-purple-mid);
}

.dc-review-form textarea {
  resize: vertical;
}

.dc-review-submit {
  margin-top: 22px;
  border: 0;
  border-radius: 999px;
  padding: 13px 28px;
  background: var(--dc-purple);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(51, 38, 143, 0.22);
}

.dc-review-submit:hover,
.dc-review-submit:focus {
  background: var(--dc-purple-dark);
}

.dc-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dc-review-notice {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--dc-purple-dark);
  font-weight: 700;
}

.dc-review-notice--error {
  color: #8a1f1f;
}

.dc-reviews-section-combo .dc-review-form-wrap {
  margin-top: 36px;
}


.dc-reviews-wrap .dc-review-heading {
  max-width: none;
}

.dc-review-card.is-collapsed {
  padding-bottom: clamp(24px, 2.7vw, 34px);
}

@media (max-width: 760px) {
  .dc-reviews-wrap,
  .dc-review-form-wrap {
    width: min(100% - 24px, 1120px);
    margin: 34px auto;
  }

  .dc-review-card__header,
  .dc-form-grid {
    display: block;
  }

  .dc-form-grid p + p {
    margin-top: 16px;
  }

  .dc-stars {
    margin-top: 12px;
    font-size: 2rem;
    letter-spacing: 3px;
  }

  .dc-review-card.is-collapsed .dc-review-text {
    max-height: 175px;
  }

  .dc-review-heading {
    right: 12px;
    bottom: 38px;
    max-width: none;
  }

  .dc-review-heading h2 {
    font-size: clamp(1.05rem, 4.3vw, 1.45rem);
    transform: rotate(-4deg) translateY(0);
    white-space: nowrap;
  }
}


/* Review rotator: one fixed-size card, one approved review visible at a time. */
.dc-review-grid.dc-review-rotator {
  display: block;
  position: relative;
}

.dc-review-grid.dc-review-rotator .dc-review-card {
  width: 100%;
  min-height: 350px;
}

.dc-review-grid.dc-review-rotator .dc-review-card[hidden] {
  display: none !important;
}

.dc-review-grid.dc-review-rotator .dc-review-card.is-entering {
  animation: dcReviewFadeIn 260ms ease both;
}

@keyframes dcReviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dc-review-grid.dc-review-rotator .dc-review-card:not(.is-expanded) {
  min-height: 350px;
}

.dc-review-grid.dc-review-rotator .dc-review-card.is-expanded {
  min-height: 350px;
}

@media (max-width: 760px) {
  .dc-review-grid.dc-review-rotator .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card:not(.is-expanded),
  .dc-review-grid.dc-review-rotator .dc-review-card.is-expanded {
    min-height: 390px;
  }
}


/* Expandable review form CTA for purple contact sections. */
.dc-review-form-wrap.dc-review-form-accordion {
  width: min(760px, calc(100% - 40px));
  margin: 26px auto 0;
  padding: 0;
  overflow: visible;
  border-radius: 24px;
  background: transparent;
  color: #fff;
  box-shadow: none;
}

.dc-review-form-accordion .dc-review-notice {
  margin: 0 0 14px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.96);
  color: var(--dc-purple-dark);
  text-align: center;
}

.dc-review-form-prompt {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,248,255,0.92));
  color: var(--dc-purple-dark);
  box-shadow: 0 14px 32px rgba(20, 14, 70, 0.18);
}

.dc-review-form-prompt__copy h2 {
  margin: 0 0 3px;
  color: var(--dc-purple-dark);
  font-size: clamp(1.12rem, 2.1vw, 1.55rem);
  line-height: 1.12;
}

.dc-review-form-prompt__copy p {
  margin: 0;
  color: var(--dc-muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.dc-review-form-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--dc-purple);
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--dc-purple);
  color: #fff;
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(63, 49, 150, 0.22);
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.dc-review-form-toggle:hover,
.dc-review-form-toggle:focus {
  background: var(--dc-purple-dark);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 14px 28px rgba(20, 14, 70, 0.26);
}

.dc-review-form-toggle:focus-visible {
  outline: 3px solid rgba(255,255,255,0.42);
  outline-offset: 3px;
}

.dc-review-form-toggle__icon {
  display: inline-flex;
  width: 1.35em;
  height: 1.35em;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  font-size: 1.05em;
  line-height: 1;
  transition: transform 180ms ease;
}

.dc-review-form-toggle[aria-expanded="true"] .dc-review-form-toggle__icon {
  transform: rotate(45deg);
}

.dc-review-form-panel {
  position: relative;
  z-index: 1;
  margin: -28px auto 0;
  padding: 42px 18px 18px;
  border-radius: 0 0 24px 24px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.26);
  border-top: 0;
  box-shadow: 0 16px 34px rgba(20, 14, 70, 0.16);
  animation: dcReviewFormOpen 220ms ease both;
}

.dc-review-form-panel[hidden] {
  display: none !important;
}

.dc-review-form-accordion .dc-review-form {
  margin-top: 0;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(51, 38, 143, 0.14);
  border-radius: 18px;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 10px 28px rgba(20, 14, 70, 0.14);
}

.dc-review-form-accordion .dc-review-submit {
  background: var(--dc-purple);
  color: #fff;
}

.dc-review-form-accordion .dc-review-submit:hover,
.dc-review-form-accordion .dc-review-submit:focus {
  background: var(--dc-purple-dark);
  color: #fff;
}

@keyframes dcReviewFormOpen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .dc-review-form-wrap.dc-review-form-accordion {
    width: min(100% - 24px, 760px);
  }

  .dc-review-form-prompt {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
    text-align: center;
  }

  .dc-review-form-toggle {
    justify-content: center;
    width: 100%;
  }

  .dc-review-form-panel {
    margin-top: -18px;
    padding-top: 32px;
  }
}


/* Mobile review layout cleanup */
@media (max-width: 760px) {
  .dc-reviews-wrap {
    width: min(100% - 20px, 430px);
    margin: 28px auto 42px;
  }

  .dc-review-grid,
  .dc-review-grid.dc-review-rotator {
    width: 100%;
    max-width: 100%;
  }

  .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card:not(.is-expanded),
  .dc-review-grid.dc-review-rotator .dc-review-card.is-expanded {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 390px;
    padding: 20px 18px 24px;
    border-radius: 18px;
  }

  .dc-review-card::before {
    inset: 10px;
    border-radius: 15px;
  }

  .dc-review-card__header {
    display: block;
    margin-bottom: 12px;
  }

  .dc-review-card h3 {
    max-width: 100%;
    margin-bottom: 4px;
    font-size: 1.12rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .dc-review-meta {
    font-size: 0.88rem;
  }

  .dc-stars {
    display: flex;
    justify-content: flex-start;
    gap: 7px;
    margin: 14px 0 0;
    font-size: clamp(1.65rem, 8vw, 2.05rem);
    letter-spacing: 0;
  }

  .dc-review-text {
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .dc-review-card.is-collapsed .dc-review-text {
    max-height: 150px;
  }

  .dc-review-card.is-collapsed .dc-review-text::after {
    height: 52px;
  }

  .dc-review-read-more {
    margin-top: 14px;
    padding: 9px 18px;
    font-size: 0.94rem;
  }

  /*
   * The handwritten signature is beautiful on desktop, but on a phone it
   * collides with the button/review text and makes the card feel cramped.
   */
  .dc-reviews-wrap .dc-review-heading {
    display: none;
  }
}

/* Rescue the review area when a theme keeps desktop columns on phones. */
@media (max-width: 760px) {
  .wp-block-column:has(.dc-reviews-wrap),
  .wp-block-column:has(.dc-review-form-wrap),
  .wpb_column:has(.dc-reviews-wrap),
  .wpb_column:has(.dc-review-form-wrap),
  .vc_column_container:has(.dc-reviews-wrap),
  .vc_column_container:has(.dc-review-form-wrap) {
    flex-basis: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

@media (max-width: 420px) {
  .dc-reviews-wrap {
    width: min(100% - 16px, 390px);
  }

  .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card:not(.is-expanded),
  .dc-review-grid.dc-review-rotator .dc-review-card.is-expanded {
    min-height: 410px;
    padding: 18px 16px 22px;
  }

  .dc-stars {
    gap: 5px;
  }
}


/* Stronger mobile override: break the review card out of narrow page-builder columns. */
@media (max-width: 760px) {
  .dc-reviews-wrap {
    box-sizing: border-box !important;
    position: relative !important;
    display: block !important;
    width: calc(100vw - 28px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: 30px !important;
    margin-right: 0 !important;
    margin-bottom: 46px !important;
    margin-left: calc(50% - 50vw + 14px) !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .dc-review-grid,
  .dc-review-grid.dc-review-rotator {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card:not(.is-expanded),
  .dc-review-grid.dc-review-rotator .dc-review-card.is-expanded {
    box-sizing: border-box !important;
    display: block;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 390px !important;
    padding: 20px 20px 64px !important;
  }

  .dc-review-card[hidden],
  .dc-review-grid.dc-review-rotator .dc-review-card[hidden] {
    display: none !important;
  }

  .dc-review-card__header {
    display: block !important;
  }

  .dc-stars {
    display: flex !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    letter-spacing: 0 !important;
  }

  .dc-review-read-more {
    position: absolute !important;
    left: 20px !important;
    bottom: 20px !important;
    margin-top: 0 !important;
  }

  .dc-reviews-wrap .dc-review-heading {
    display: block !important;
    position: absolute !important;
    right: 18px !important;
    bottom: 21px !important;
    z-index: 3 !important;
    max-width: calc(100% - 190px) !important;
    pointer-events: none !important;
    text-align: right !important;
  }

  .dc-reviews-wrap .dc-review-heading h2 {
    display: block !important;
    margin: 0 !important;
    color: rgba(63, 49, 150, 0.78) !important;
    font-size: clamp(0.9rem, 4.8vw, 1.22rem) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transform: rotate(-4deg) translateY(0) !important;
    transform-origin: 100% 50% !important;
  }
}

@media (max-width: 420px) {
  .dc-reviews-wrap {
    width: calc(100vw - 20px) !important;
    margin-left: calc(50% - 50vw + 10px) !important;
  }

  .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card,
  .dc-review-grid.dc-review-rotator .dc-review-card:not(.is-expanded),
  .dc-review-grid.dc-review-rotator .dc-review-card.is-expanded {
    min-height: 405px !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  .dc-review-read-more {
    left: 16px !important;
  }

  .dc-reviews-wrap .dc-review-heading {
    right: 14px !important;
    max-width: calc(100% - 168px) !important;
  }

  .dc-reviews-wrap .dc-review-heading h2 {
    font-size: clamp(0.78rem, 4.5vw, 1rem) !important;
  }
}


/* Mobile expandable review form width fix */
@media (max-width: 760px) {
  .dc-review-form-wrap.dc-review-form-accordion {
    box-sizing: border-box !important;
    width: calc(100vw - 34px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-top: 26px !important;
    margin-right: 0 !important;
    margin-bottom: 18px !important;
    margin-left: calc(50% - 50vw + 17px) !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .dc-review-form-accordion .dc-review-notice {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 14px !important;
    padding: 14px 16px !important;
  }

  .dc-review-form-prompt {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    padding: 18px 18px 20px !important;
    border-radius: 22px !important;
  }

  .dc-review-form-prompt__copy h2 {
    font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
  }

  .dc-review-form-prompt__copy p {
    font-size: 0.95rem !important;
  }

  .dc-review-form-toggle {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
  }

  .dc-review-form-panel {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .dc-review-form-accordion .dc-review-form {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
  }
}

@media (max-width: 420px) {
  .dc-review-form-wrap.dc-review-form-accordion {
    width: calc(100vw - 24px) !important;
    margin-left: calc(50% - 50vw + 12px) !important;
  }
}


/* Mobile CTA right-edge alignment tweak */
@media (max-width: 760px) {
  .dc-review-form-wrap.dc-review-form-accordion {
    width: calc(100vw - 46px) !important;
    margin-left: calc(50% - 50vw + 17px) !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 420px) {
  .dc-review-form-wrap.dc-review-form-accordion {
    width: calc(100vw - 36px) !important;
    margin-left: calc(50% - 50vw + 12px) !important;
  }
}


/* Final mobile CTA containment fix: match the actual form column, not the viewport. */
@media (max-width: 760px) {
  .dc-review-form-wrap.dc-review-form-accordion {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 26px auto 18px !important;
    padding: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  .dc-review-form-accordion .dc-review-notice,
  .dc-review-form-prompt,
  .dc-review-form-panel,
  .dc-review-form-accordion .dc-review-form {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .dc-review-form-prompt {
    margin: 0 !important;
  }
}

@media (max-width: 420px) {
  .dc-review-form-wrap.dc-review-form-accordion {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* Review form Turnstile alignment */
.dc-review-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.dc-review-form-actions .dc-review-submit {
  flex: 0 0 auto;
  margin-top: 0;
}

.dc-review-turnstile {
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 760px) {
  .dc-review-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
  }

  .dc-review-turnstile {
    margin-left: 0;
    align-self: flex-start;
    max-width: 100%;
  }

  .dc-review-form-actions .dc-review-submit {
    width: 100%;
  }
}
