/* Review cards (speech bubble, avatar, highlights) shared by the v1 pages (home, reviews, tags) and the v2 registration page; both link this file from their <head>. The url()s resolve against the static root, exactly as they did in custom2.css. */
/* Reviews: speech bubble with a tail under it. Tail tip x = who-x + avatar/2 - tail/2 - border, measured inside the bubble's border, so it sits under the avatar's center. */
.review-item { --review-avatar: 44px; --review-tail: 20px; --review-who-x: 1.25rem; --review-border: 1px; --review-border-color: #dee2e6; --review-pad: 1.5rem; --review-quote-size: 2.25rem; --review-quote-inset-x: 0.025; --review-quote-inset-y: 0.141; --review-tail-offset: calc(var(--review-who-x) + var(--review-avatar) / 2 - var(--review-tail) / 2 - var(--review-border)); --review-tail-out: calc(-1 * (var(--review-tail) / 2 + var(--review-border) / 2)); }
.review-bubble { position: relative; background: #fff; border: var(--review-border) solid var(--review-border-color); border-radius: 1.25rem; padding: var(--review-pad); margin-bottom: 1.1rem; }
.review-bubble::after { content: ""; position: absolute; bottom: var(--review-tail-out); left: var(--review-tail-offset); width: var(--review-tail); height: var(--review-tail); background: #fff; border-right: var(--review-border) solid var(--review-border-color); border-bottom: var(--review-border) solid var(--review-border-color); transform: rotate(45deg); }
.review-bubble-detail { --review-pad: 2rem; }
.review-who { display: flex; align-items: center; gap: .75rem; padding-left: var(--review-who-x); }
@media (min-width: 768px) {
  .review-side-right .review-bubble::after { left: auto; right: var(--review-tail-offset); }
  .review-side-right .review-who { flex-direction: row-reverse; justify-content: flex-start; padding-left: 0; padding-right: var(--review-who-x); }
}
/* Tag pages: avatar beside the bubble, tail on the bubble's left edge at the avatar's vertical center. */
.review-tag { --review-tag-drop: 1.1rem; display: flex; align-items: flex-start; gap: 1rem; }
.review-tag .review-photo { margin-top: var(--review-tag-drop); }
.review-tag .review-bubble { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
.review-tag .review-bubble::after { bottom: auto; left: var(--review-tail-out); top: calc(var(--review-tag-drop) + var(--review-avatar) / 2 - var(--review-tail) / 2 - var(--review-border)); border-right: 0; border-bottom: var(--review-border) solid var(--review-border-color); border-left: var(--review-border) solid var(--review-border-color); }
.review-quote-featured { font-size: 1.1rem; }
.review-quote-regular { font-size: 1rem; }
/* The v2 registration page's row of three: smaller quotes so the cards sit under the form instead of competing with it. */
.review-compact .review-quote-featured, .review-compact .review-quote-regular { font-size: 0.9375rem; }
/* Faint quotation marks in two corners, each pad/2 from the bubble's inner edge; the inset fractions account for the empty part of the SVG's square (2.5% at the sides, 14.1% top and bottom). The opening mark hangs off the text block so it sits below a video. */
.review-text { position: relative; z-index: 0; }
.review-text::before, .review-bubble::before { content: ""; position: absolute; width: var(--review-quote-size); height: var(--review-quote-size); background-color: #f0f0f0; -webkit-mask: url("icons/review-quote.svg") center / contain no-repeat; mask: url("icons/review-quote.svg") center / contain no-repeat; pointer-events: none; }
.review-text::before { z-index: -1; top: calc(var(--review-pad) / -2 - var(--review-quote-size) * var(--review-quote-inset-y)); left: calc(var(--review-pad) / -2 - var(--review-quote-size) * var(--review-quote-inset-x)); transform: rotate(180deg); }
.review-bubble::before { right: calc(var(--review-pad) / 2 - var(--review-quote-size) * var(--review-quote-inset-x)); bottom: calc(var(--review-pad) / 2 - var(--review-quote-size) * var(--review-quote-inset-y)); }
.review-photo { width: var(--review-avatar); height: var(--review-avatar); border-radius: 50%; border: var(--review-border) solid #868e96; object-fit: cover; flex-shrink: 0; }
.review-photo-icon { display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; }
/* The avatar fills the circle and the mask is nudged down a tenth of it, so the torso runs into the ring. The nudge is a mask offset rather than a transform, and the avatar clips itself to the circle, because Safari does not clip a transformed child to the circle's rounded overflow. */
.review-avatar { --review-avatar-drop: calc((var(--review-avatar) - 2 * var(--review-border)) / 10); width: 100%; height: 100%; flex-shrink: 0; background-color: rgba(0, 0, 0, 0.6); clip-path: circle(50%); -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; -webkit-mask-position: center var(--review-avatar-drop); mask-repeat: no-repeat; mask-size: contain; mask-position: center var(--review-avatar-drop); }
.review-avatar-arms-up { -webkit-mask-image: url("icons/avatars/avatar-arms-up.svg"); mask-image: url("icons/avatars/avatar-arms-up.svg"); }
.review-avatar-thumbs-up { -webkit-mask-image: url("icons/avatars/avatar-thumbs-up.svg"); mask-image: url("icons/avatars/avatar-thumbs-up.svg"); }
.review-avatar-wave { -webkit-mask-image: url("icons/avatars/avatar-wave.svg"); mask-image: url("icons/avatars/avatar-wave.svg"); }
.review-avatar-giddy { -webkit-mask-image: url("icons/avatars/avatar-giddy.svg"); mask-image: url("icons/avatars/avatar-giddy.svg"); }
.review-avatar-fists-up { -webkit-mask-image: url("icons/avatars/avatar-fists-up.svg"); mask-image: url("icons/avatars/avatar-fists-up.svg"); }
.review-avatar-cheeks { -webkit-mask-image: url("icons/avatars/avatar-cheeks.svg"); mask-image: url("icons/avatars/avatar-cheeks.svg"); }
.review-avatar-big-wave { -webkit-mask-image: url("icons/avatars/avatar-big-wave.svg"); mask-image: url("icons/avatars/avatar-big-wave.svg"); }
.review-avatar-clasped { -webkit-mask-image: url("icons/avatars/avatar-clasped.svg"); mask-image: url("icons/avatars/avatar-clasped.svg"); }
.review-avatar-double-thumbs { -webkit-mask-image: url("icons/avatars/avatar-double-thumbs.svg"); mask-image: url("icons/avatars/avatar-double-thumbs.svg"); }
.review-avatar-sparkle { -webkit-mask-image: url("icons/avatars/avatar-sparkle.svg"); mask-image: url("icons/avatars/avatar-sparkle.svg"); }
.review-avatar-heart-hand { -webkit-mask-image: url("icons/avatars/avatar-heart-hand.svg"); mask-image: url("icons/avatars/avatar-heart-hand.svg"); }
.review-avatar-flex { -webkit-mask-image: url("icons/avatars/avatar-flex.svg"); mask-image: url("icons/avatars/avatar-flex.svg"); }
.review-avatar-content { -webkit-mask-image: url("icons/avatars/avatar-content.svg"); mask-image: url("icons/avatars/avatar-content.svg"); }
.review-avatar-hello { -webkit-mask-image: url("icons/avatars/avatar-hello.svg"); mask-image: url("icons/avatars/avatar-hello.svg"); }
.review-avatar-open-arms { -webkit-mask-image: url("icons/avatars/avatar-open-arms.svg"); mask-image: url("icons/avatars/avatar-open-arms.svg"); }
.review-avatar-pointing { -webkit-mask-image: url("icons/avatars/avatar-pointing.svg"); mask-image: url("icons/avatars/avatar-pointing.svg"); }
.review-avatar-chin-hands { -webkit-mask-image: url("icons/avatars/avatar-chin-hands.svg"); mask-image: url("icons/avatars/avatar-chin-hands.svg"); }
.review-avatar-fist-pump { -webkit-mask-image: url("icons/avatars/avatar-fist-pump.svg"); mask-image: url("icons/avatars/avatar-fist-pump.svg"); }
.review-credentials { font-size: 0.85em; }
/* Highlighter bands behind the bold phrases: a background image rather than a mask so the text is untouched; box-decoration-break: clone paints a full band on each line of a wrapped phrase. */
.review-text { color: #555; }
.review-hl { color: #000; font-weight: 400; padding: 0.08em 0.3em; margin: 0 -0.2em; background: no-repeat 0 0 / 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.review-hl-purple-1 { background-image: url("images/highlights/purple-1.svg"); }
.review-hl-purple-2 { background-image: url("images/highlights/purple-2.svg"); }
.review-hl-purple-3 { background-image: url("images/highlights/purple-3.svg"); }
.review-hl-purple-4 { background-image: url("images/highlights/purple-4.svg"); }
.review-hl-purple-5 { background-image: url("images/highlights/purple-5.svg"); }
.review-hl-purple-6 { background-image: url("images/highlights/purple-6.svg"); }
.review-hl-pink-1 { background-image: url("images/highlights/pink-1.svg"); }
.review-hl-pink-2 { background-image: url("images/highlights/pink-2.svg"); }
.review-hl-pink-3 { background-image: url("images/highlights/pink-3.svg"); }
.review-hl-pink-4 { background-image: url("images/highlights/pink-4.svg"); }
.review-hl-pink-5 { background-image: url("images/highlights/pink-5.svg"); }
.review-hl-pink-6 { background-image: url("images/highlights/pink-6.svg"); }
.review-hl-orange-1 { background-image: url("images/highlights/orange-1.svg"); }
.review-hl-orange-2 { background-image: url("images/highlights/orange-2.svg"); }
.review-hl-orange-3 { background-image: url("images/highlights/orange-3.svg"); }
.review-hl-orange-4 { background-image: url("images/highlights/orange-4.svg"); }
.review-hl-orange-5 { background-image: url("images/highlights/orange-5.svg"); }
.review-hl-orange-6 { background-image: url("images/highlights/orange-6.svg"); }
.review-hl-yellow-1 { background-image: url("images/highlights/yellow-1.svg"); }
.review-hl-yellow-2 { background-image: url("images/highlights/yellow-2.svg"); }
.review-hl-yellow-3 { background-image: url("images/highlights/yellow-3.svg"); }
.review-hl-yellow-4 { background-image: url("images/highlights/yellow-4.svg"); }
.review-hl-yellow-5 { background-image: url("images/highlights/yellow-5.svg"); }
.review-hl-yellow-6 { background-image: url("images/highlights/yellow-6.svg"); }
.review-hl-red-1 { background-image: url("images/highlights/red-1.svg"); }
.review-hl-red-2 { background-image: url("images/highlights/red-2.svg"); }
.review-hl-red-3 { background-image: url("images/highlights/red-3.svg"); }
.review-hl-red-4 { background-image: url("images/highlights/red-4.svg"); }
.review-hl-red-5 { background-image: url("images/highlights/red-5.svg"); }
.review-hl-red-6 { background-image: url("images/highlights/red-6.svg"); }
.review-hl-green-1 { background-image: url("images/highlights/green-1.svg"); }
.review-hl-green-2 { background-image: url("images/highlights/green-2.svg"); }
.review-hl-green-3 { background-image: url("images/highlights/green-3.svg"); }
.review-hl-green-4 { background-image: url("images/highlights/green-4.svg"); }
.review-hl-green-5 { background-image: url("images/highlights/green-5.svg"); }
.review-hl-green-6 { background-image: url("images/highlights/green-6.svg"); }
.review-hl-blue-1 { background-image: url("images/highlights/blue-1.svg"); }
.review-hl-blue-2 { background-image: url("images/highlights/blue-2.svg"); }
.review-hl-blue-3 { background-image: url("images/highlights/blue-3.svg"); }
.review-hl-blue-4 { background-image: url("images/highlights/blue-4.svg"); }
.review-hl-blue-5 { background-image: url("images/highlights/blue-5.svg"); }
.review-hl-blue-6 { background-image: url("images/highlights/blue-6.svg"); }

.review-bubble .review-thumb, .review-bubble .review-video { margin-bottom: var(--review-pad); }
.review-video iframe, .review-video video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 0.5rem; }
.review-thumb { position: relative; display: block; }
.review-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.review-thumb-play { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 2.25rem; display: flex; align-items: center; justify-content: center; padding-left: 4px; transition: background 0.15s; }
.review-thumb:hover .review-thumb-play { background: var(--bs-pink, #F04E8A); }

/* .review-name / .review-credentials replace Bootstrap's fw-bold / text-muted inside review.html so the card renders the same under v2, which has no Bootstrap. The credentials color is Bootstrap's --bs-secondary-color. */
.review-name { font-weight: 700; }
.review-credentials { color: rgba(33, 37, 41, 0.75); }
