/* App Store reviews: _includes/reviews.html renders _data/reviews.yml as a
   grid of quote cards on the home page (section 04) and under the apps on
   /al-islam/ and /star-wars/. Real reviews, quoted word for word. Built like
   the achievement cards above them on the home page (the same title and body
   sizes, a hairline edge, a faint lift of white) so the two read as one
   family; the stars take the trophy line's gold. */

/* 320px: three across at the content width (six cards land 3 + 3, where
   280px made it 4 + 2), two on a tablet, one on a phone */
.rv-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.rv {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 1.2rem 1.25rem 1.1rem;
  border: 1px solid var(--line); border-radius: 16px;
  background: rgba(255, 255, 255, 0.016);
}
.rv-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.rv-app {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-2); transition: color .25s;
}
@media (hover: hover) { .rv-app:hover { color: var(--green-2); } }
/* 44px to tap on a phone without moving the row */
@media (pointer: coarse) { .rv-app { padding-block: 12px; margin-block: -12px; } }
.rv-stars { font-size: 0.82rem; letter-spacing: 0.14em; color: var(--gold); white-space: nowrap; }
.rv-off { color: var(--mute); }

/* the quote takes the spare height, so every card's name line sits on the
   same baseline as its neighbours' */
.rv-quote { margin: 0; flex: 1; }
.rv-title { font-family: var(--sans); font-weight: 650; font-size: 0.98rem; line-height: 1.35; color: var(--ink); margin-bottom: 0.45rem; }
.rv-text { font-size: 0.88rem; line-height: 1.7; color: var(--ink-dim); }
.rv-by {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--mute);
  display: flex; flex-wrap: wrap; gap: 0.2rem 0.6rem;
  padding-top: 0.75rem; border-top: 1px solid var(--line);
}
/* separators as ::before, so a wrapped line starts with the dot (as .honor-line does) */
.rv-by span + span::before { content: "· "; }

/* the home page's section, on the rhythm of the sections around it */
.reviews { padding-top: 2rem; padding-bottom: 5rem; }
.rv-more { margin-top: 1.4rem; font-size: 0.88rem; color: var(--ink-dim); }
.rv-more a { color: var(--blue-2); transition: color .25s; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (hover: hover) { .rv-more a:hover { color: var(--gold); } }
