/* ============================================================
   Find Advocates — Reviews tab
   Reviewer → rating → quote → soft-rounded advocate profile tile
   (Airbnb review-media style).
   ============================================================ */

.fa2-rev-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fa2-rev {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid var(--ab-gray-100, #f0f0f0);
  background: var(--ab-white, #fff);
  transition: background 0.15s var(--fa2-ease, ease);
}

.fa2-rev:hover,
.fa2-rev.is-active {
  background: var(--ab-gray-50, #f7f7f7);
}

/* ── Reviewer header ─────────────────────────────────── */

.fa2-rev__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fa2-rev__reviewer-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ab-yellow, #ff3a5e) 14%, #ffffff);
  color: var(--ab-yellow-hover, #c75a4c);
  font-size: 15px;
  font-weight: 700;
}

.fa2-rev__reviewer {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fa2-rev__reviewer-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fa2-rev__author {
  font-size: 14px;
  font-weight: 600;
  color: var(--ab-navy, #222);
}

.fa2-rev__verified {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #0f7a4a;
}

.fa2-rev__verified .material-symbols-outlined {
  font-size: 14px;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
}

.fa2-rev__rating-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.fa2-rev__stars {
  display: inline-flex;
  gap: 1px;
  color: color-mix(in srgb, var(--ab-gray-500, #717171) 35%, transparent);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.fa2-rev__star.is-filled {
  color: var(--ab-yellow, #ff3a5e);
}

.fa2-rev__score {
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ab-navy, #222);
}

.fa2-rev__date {
  font-size: 12px;
  color: var(--ab-gray-500, #717171);
}

.fa2-rev__date::before {
  content: "·";
  margin-right: 8px;
  color: var(--ab-gray-200, #ebebeb);
}

/* ── Quote ───────────────────────────────────────────── */

.fa2-rev__quote {
  margin: 0;
  font-size: 15px;
  font-weight: 450;
  line-height: 1.5;
  color: var(--ab-navy, #222);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

/* ── Strength tags (same copy as profile review tags) ─ */

.fa2-rev__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fa2-rev__tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: var(--fa2-radius-full, 999px);
  background: var(--ab-gray-100, #f0f0f0);
  color: var(--ab-navy, #222);
  font-size: 12px;
  font-weight: 550;
  line-height: 1;
}

/* ── Advocate profile tile (rounded media under quote) ─ */

.fa2-rev__tile {
  --fa2-rev-tile: 104px;
  position: relative;
  display: block;
  width: var(--fa2-rev-tile);
  height: var(--fa2-rev-tile);
  margin-top: 2px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ab-gray-100, #f0f0f0);
  text-decoration: none;
  color: var(--ab-white, #fff);
  box-shadow: inset 0 0 0 1px rgb(34 34 34 / 0.06);
  transition: transform 0.15s var(--fa2-ease, ease), box-shadow 0.15s var(--fa2-ease, ease);
}

.fa2-rev__tile:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgb(34 34 34 / 0.08),
    0 4px 12px rgb(34 34 34 / 0.1);
}

.fa2-rev__tile:focus-visible {
  outline: var(--fa2-focus, 3px solid #222);
  outline-offset: var(--fa2-focus-offset, 2px);
}

.fa2-rev__tile img,
.fa2-rev__tile-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fa2-rev__tile-fallback {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ab-yellow, #ff3a5e) 16%, #ffffff);
  color: var(--ab-yellow-hover, #c75a4c);
  font-size: 28px;
  font-weight: 700;
}

.fa2-rev__tile-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  background: linear-gradient(to top, rgb(0 0 0 / 0.62), transparent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .fa2-rev {
    padding: 16px;
  }

  .fa2-rev__quote {
    -webkit-line-clamp: 4;
  }

  .fa2-rev__tile {
    --fa2-rev-tile: 96px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fa2-rev,
  .fa2-rev__tile {
    transition: none;
  }
}
