/* v12: source-attributed testimonial evidence gallery */
.v12-review-context {
  width: min(100%, 780px);
  margin: 30px auto 0;
  padding: 19px 22px;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 7px 7px 0 var(--yellow);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.65;
  text-align: center;
}

.v12-review-context strong {
  color: var(--yellow);
}

.v12-review-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-top: 58px;
}

.v12-review-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 9px 9px 0 var(--yellow);
}

.v12-review-card:nth-child(4n + 2),
.v12-review-card:nth-child(4n + 3) {
  box-shadow: 9px 9px 0 rgba(117, 76, 255, 0.9);
}

.v12-review-card__header {
  display: grid;
  gap: 15px;
  padding: 26px 24px 24px;
  background:
    linear-gradient(rgba(9, 9, 9, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.045) 1px, transparent 1px),
    #fff;
  background-size: 20px 20px;
}

.v12-review-card__source {
  justify-self: start;
  padding: 7px 10px;
  color: var(--yellow);
  background: var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.v12-review-card--reader .v12-review-card__source {
  color: #fff;
  background: var(--violet-deep);
}

.v12-review-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1.24;
  word-break: keep-all;
}

.v12-review-card__evidence {
  display: grid;
  flex: 1 0 auto;
  place-items: center;
  margin: 0;
  padding: 17px;
  background: #eeece7;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.v12-review-card__evidence img {
  width: 100%;
  max-height: 590px;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(9, 9, 9, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(9, 9, 9, 0.14);
}

.v12-review-card__footer {
  display: grid;
  gap: 12px;
  padding: 22px 24px 25px;
}

.v12-review-card__result {
  color: var(--violet-deep);
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.v12-review-card__author {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.v12-review-disclaimer {
  width: min(100%, 820px);
  margin: 46px auto 0;
  padding: 18px 20px;
  color: #4f4d49;
  background: rgba(255, 216, 41, 0.24);
  border: 2px solid var(--ink);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
  text-align: center;
}

@media (max-width: 760px) {
  .v12-review-context {
    margin-top: 24px;
    padding: 16px 15px;
    border-radius: 13px;
    box-shadow: 5px 5px 0 var(--yellow);
    font-size: 14px;
  }

  .v12-review-ledger {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 42px;
  }

  .v12-review-card {
    border-width: 2px;
    border-radius: 19px;
    box-shadow: 6px 6px 0 var(--yellow);
  }

  .v12-review-card:nth-child(4n + 2),
  .v12-review-card:nth-child(4n + 3) {
    box-shadow: 6px 6px 0 rgba(117, 76, 255, 0.9);
  }

  .v12-review-card__header {
    gap: 13px;
    padding: 22px 18px 20px;
  }

  .v12-review-card h3 {
    font-size: clamp(23px, 7.4vw, 30px);
  }

  .v12-review-card__evidence {
    padding: 12px;
  }

  .v12-review-card__evidence img {
    max-height: none;
    border-radius: 9px;
  }

  .v12-review-card__footer {
    padding: 19px 18px 22px;
  }

  .v12-review-card__result {
    font-size: 17px;
  }

  .v12-review-disclaimer {
    margin-top: 36px;
    padding: 16px 15px;
    font-size: 13px;
    text-align: left;
  }
}
