/* 고객 후기 — ContentsDoc/02 구현
   시공사례 카드와 같은 결로 맞춘다. 화면마다 다른 카드 모양을 두지 않는다. */

.rv-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}
.rv-grid > *{ min-width: 0; }

.rv-card{
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rv-badges{ display: flex; gap: 6px; flex-wrap: wrap; }
.rv-badge{
  background: var(--accent-soft); color: var(--accent);
  font-size: 11.5px; font-weight: 800; padding: 5px 11px; border-radius: 100px;
}
.rv-badge.plain{ background: var(--surface-2); color: var(--muted-2); }

.rv-stars{ color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.rv-stars .off{ color: var(--gray-300); }

.rv-summary{ font-size: 16px; font-weight: 800; line-height: 1.5; letter-spacing: -0.01em; margin: 0; }
.rv-body{
  font-size: 14.5px; line-height: 1.75; color: var(--muted-2);
  white-space: pre-line; margin: 0;
  /* 카드 높이를 맞춰 목록이 들쭉날쭉해 보이지 않게 한다 */
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.rv-shots{ display: flex; gap: 8px; flex-wrap: wrap; }
.rv-shots img{
  width: 72px; height: 54px; object-fit: cover;
  border-radius: 8px; background: var(--surface-2);
}
.rv-meta{
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-100);
  font-size: 12.5px; color: var(--muted); font-weight: 600;
  display: flex; justify-content: space-between; gap: 10px;
}

/* ── 후기 남기기 ────────────────────────────────────────────────── */
.rv-write{
  border-top: 2px solid var(--ink);
  padding-top: 40px;
  max-width: 640px;
}
.rv-write h2{ font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.rv-note{
  font-size: 14px; color: var(--muted-2); line-height: 1.7; margin: 0 0 22px;
  background: var(--surface-2); border-left: 3px solid var(--accent);
  padding: 14px 17px; border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.rv-note b{ color: var(--fg); }
.form-card select{
  width: 100%; padding: 12px 14px; font-size: 15px; font-family: inherit; color: var(--fg);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
}
.form-card select:focus{ border-color: var(--accent); outline: none; }

@media (max-width: 900px){ .rv-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .rv-grid{ grid-template-columns: 1fr; } }
