/*
 * Stylesheet for the Pass The Foundation Reviews section (/reviews/).
 *
 * Loaded alongside /resources/assets/resources.css on every reviews page
 * (see scripts/generate-reviews.mjs) — that file already defines the
 * shared CSS custom properties (--base-*, --brand-*, --signal-*,
 * --correct-*) plus the site header/footer/breadcrumbs/button classes
 * (.rpg-header, .rpg-footer, .rpg-breadcrumbs, .rpg-btn, .rpg-main,
 * .rpg-h1, .rpg-intro, etc.) that these pages reuse rather than
 * redefining. This file only adds the review-specific classes.
 */

.rvw-aggregate {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--base-600);
}

.rvw-stars {
  display: inline-block;
  color: var(--flag-500, #f5a623);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.rvw-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.rvw-card {
  background: #fff;
  border: 1px solid var(--base-200);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
}

.rvw-quote {
  margin: 0.6rem 0 0;
  color: var(--base-800);
  font-size: 1rem;
  line-height: 1.6;
}

.rvw-meta {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--base-500);
}

.rvw-author {
  font-weight: 600;
  color: var(--base-700);
}

.rvw-cta-row {
  margin: 2rem 0 0;
  text-align: center;
}

.rvw-empty {
  background: #fff;
  border: 1px dashed var(--base-300);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--base-600);
}

.rvw-empty p {
  margin: 0 0 1.25rem;
}

/* ---------- Submission form ---------- */
.rvw-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rvw-form label {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--base-700);
}

.rvw-form input,
.rvw-form select,
.rvw-form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--base-200);
  border-radius: 8px;
  color: var(--base-900);
  background: #fff;
}

.rvw-form input:focus,
.rvw-form select:focus,
.rvw-form textarea:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 1px var(--brand-600);
}

.rvw-form button {
  margin-top: 1.5rem;
  align-self: flex-start;
  cursor: pointer;
  border: none;
}

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