/* ── Static Review Cards — design v2 ── */

html, body { max-width: 100%; overflow-x: hidden; }

.rv-section { padding: 28px 0 0; background: #f4f4f4; }

.rv-section-hdr { display: none; }

.rv-grid { max-width: 1090px; margin: 0 auto; padding: 0 6px 32px; display: flex; flex-direction: column; gap: 16px; }

/* ── Card shell ── */
.rv-card {
  background: #fff;
  border: 1.3px solid #d0d0d0;
  border-radius: 0;
  padding: 22px 28px 16px;
  box-shadow: none;
  position: relative;
}

/* ── Header ── */
.rv-hdr {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 14px;
}

.rv-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0d1f3c;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
  margin-right: 10px;
}

/* Name + location in a single row */
.rv-hdr-info {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  min-width: 0;
}

.rv-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: bold;
  color: #1a1a1a;
  white-space: nowrap;
}

.rv-loc {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  color: #1464a5;
  white-space: nowrap;
}

.rv-date {
  color: #888;
  font-size: 15px;
}

/* Verified badge — bold serif with bottom underline + tooltip */
.rv-vbadge {
  margin-left: auto;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: bold;
  color: #0d1f3c;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0 0 2px 0;
  border-bottom: 1px dashed #0d1f3c;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  cursor: help;
  outline: none;
}

.rv-vbadge::after {
  content: "This Customer was invited to write this review by WintegoSPY,LLC after purchase and using the software for more than 15 days.";
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 155px;
  background: #f6f4f4;
  border: 3px solid #0d1f3c;
  border-radius: 8px;
  padding: 12px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 12px;
  font-weight: normal;
  color: #01669a;
  line-height: 1.55;
  white-space: normal;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}

.rv-vbadge:hover::after,
.rv-vbadge:focus::after {
  opacity: 1;
}

.rv-badge-img {
  height: 1.4em;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

/* ── Score + stars row ── */
.rv-stars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.rv-stars-score {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: bold;
  color: #0d1f3c;
  margin-right: 4px;
  line-height: 1;
}

.rv-stars {
  color: #f5a623;
  font-size: 28px;
  letter-spacing: 2px;
  line-height: 1;
}

.rv-stars-lbl {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  color: #888;
  font-style: italic;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
}

/* ── Title + body ── */
.rv-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.rv-body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 19px;
  color: #333;
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ── Sub-ratings ── */
.rv-subratings {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
  border: none;
  padding: 0;
}

.rv-subrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rv-sublbl {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13.5px;
  color: #333;
  font-weight: normal;
  width: 210px;
  flex-shrink: 0;
}

/* 5-segment bar */
.rv-subbar {
  display: flex;
  gap: 4px;
  width: 200px;
  flex-shrink: 0;
  align-items: center;
}

.rv-seg {
  flex: 1;
  height: 5px;
  background: #ccc;
}

.rv-seg.on {
  background: #0d1f3c;
}

.rv-subscore {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13.5px;
  color: #333;
  font-weight: bold;
  min-width: 30px;
  flex-shrink: 0;
}

/* ── CS Thread (1-star & 2-star pages) ── */
.rv-thread {
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 12px 16px;
  margin-bottom: 14px;
  font-size: 0.84rem;
  border-top: 1px solid #e0e0e0;
}

.rv-thread-hdr {
  font-size: 0.72rem;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.rv-msg { margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e8e8e8; }
.rv-msg:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.rv-msg-who { font-size: 0.72rem; font-weight: 700; margin-bottom: 3px; }
.rv-msg-who.customer { color: #c40000; }
.rv-msg-who.rep { color: #1464a5; }
.rv-msg-txt { font-family: Georgia, 'Times New Roman', serif; color: #333; line-height: 1.55; }

.rv-resolved-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #2d8c3e;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

/* ── Footer ── */
.rv-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  border-top: 1px solid #e8e8e8;
  padding-top: 12px;
}

.rv-helpful-lbl {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  color: #1464a5;
  margin-right: 2px;
}

.rv-thumb {
  height: 34px;
  background: #e8e8e8;
  border: none;
  border-radius: 3px;
  font-size: 14px;
  cursor: pointer;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.rv-thumb:hover { background: #d4d4d4; }
.rv-thumb-voted { background: #0d1f3c !important; color: #fff !important; }
.rv-thumb-dim { opacity: 0.45; cursor: default; }

.rv-card { opacity: 0; transform: translateY(26px); transition: opacity .48s ease, transform .48s ease; }
.rv-card.rv-in { opacity: 1; transform: translateY(0); }

/* Verified long-term year seal tooltip */
.rv-yr-seal { cursor: help; position: relative; border-bottom: 1px dashed currentColor; }
.rv-yr-seal::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 0; width: 195px; background: #f6f4f4; border: 3px solid #0d1f3c; border-radius: 8px; padding: 12px; font-family: Georgia, 'Times New Roman', serif; font-size: 12px; font-weight: normal; color: #01669a; line-height: 1.55; white-space: normal; z-index: 300; opacity: 0; pointer-events: none; transition: opacity .18s ease; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.rv-yr-seal:hover::after, .rv-yr-seal:focus::after, .rv-yr-seal.tip-open::after { opacity: 1; }

.rv-share-sep { display: none; }

.rv-share-lbl {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 14px;
  color: #888;
  margin-left: auto;
  margin-right: 6px;
}

.rv-share-btn {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0;
  background: #1878f3;
}
/* f → Facebook blue, t → Twitter blue, ✉ → gray with blue icon */
.rv-share-btn + .rv-share-btn { background: #1da1f2; }
.rv-share-btn + .rv-share-btn + .rv-share-btn { background: #e8e8e8; color: #1464a5; }

/* ── Tablet + Mobile: each header element on its own row ── */
@media (max-width: 768px) {
  .rv-grid { padding: 0 10px 24px; gap: 12px; }
  .rv-card { padding: 16px 14px 14px; }

  /* CSS Grid: avatar | name on row1, avatar | loc on row2, badge spans row3 */
  .rv-hdr {
    display: grid;
    grid-template-columns: 42px 1fr;
    grid-template-areas:
      "avatar name"
      "avatar loc"
      "badge  badge";
    column-gap: 10px;
    row-gap: 4px;
    align-items: start;
  }
  .rv-avatar { grid-area: avatar; width: 42px; height: 42px; font-size: 17px; margin-right: 0; align-self: start; }
  .rv-hdr-info { display: contents; } /* transparent: lets name+loc sit directly in grid */
  .rv-name { grid-area: name; font-size: 16px; white-space: normal; align-self: end; }
  .rv-loc  { grid-area: loc;    font-size: 13px; white-space: normal; align-self: start; }
  .rv-loc .rv-date { display: block; margin-bottom: 2px; }
  .rv-vbadge { grid-area: badge; margin-left: 0; font-size: 13px; white-space: normal; align-self: start; }

  .rv-body { font-size: 16px; }
  .rv-date { font-size: 13px; }
  .rv-sublbl { width: 160px; }
  .rv-subbar { width: 130px; }
  .rv-stars-score, .rv-stars { font-size: 22px; }
}

/* ── Mobile ── */
@media (max-width: 620px) {
  .rv-grid { padding: 0 8px 20px; gap: 10px; }
  .rv-card { padding: 14px 12px 12px; }
  .rv-hdr { grid-template-columns: 36px 1fr; }
  .rv-avatar { width: 36px; height: 36px; font-size: 14px; }
  .rv-name { font-size: 15px; }
  .rv-loc { font-size: 13px; }
  .rv-stars-score, .rv-stars { font-size: 20px; }
  .rv-stars-lbl { font-size: 13px; }
  .rv-body { font-size: 15px; }
  .rv-title { font-size: 13px; }
  .rv-sublbl { width: 120px; font-size: 11.5px; }
  .rv-subbar { width: 90px; }
  .rv-subscore { font-size: 11.5px; }
  .rv-helpful-lbl { font-size: 12px; }
  .rv-thumb { font-size: 12px; height: 30px; padding: 0 8px; }
  .rv-share-lbl { font-size: 12px; }
  .rv-share-btn { width: 28px; height: 28px; font-size: 12px; }
}

/* ── Small mobile ── */
@media (max-width: 400px) {
  .rv-grid { padding: 0 4px 16px; }
  .rv-card { padding: 12px 10px 10px; }
  .rv-hdr-info { gap: 4px 8px; }
  .rv-name { font-size: 14px; }
  .rv-stars-score, .rv-stars { font-size: 18px; }
  .rv-body { font-size: 14px; }
  .rv-sublbl { width: 100px; font-size: 11px; }
  .rv-subbar { width: 75px; }
  .rv-subrow { gap: 6px; }
  .rv-vbadge::after { right: auto; left: 0; width: 160px; }
}
