/**
 * Offshore Broker Reviews — front-end styles.
 * This file is yours to edit; it is loaded as an external stylesheet so you can
 * restyle reviews to match your theme without touching the plugin PHP.
 */

.wwrv-reviews,
.wwrv-form-wrap {
	--wwrv-star: #e6a817;
	--wwrv-star-off: #d4d4d8;
	--wwrv-border: #e4e4e7;
	--wwrv-ink: #1f2937;
	--wwrv-muted: #6b7280;
	--wwrv-accent: #0f3d2e;
	--wwrv-radius: 10px;
	color: var(--wwrv-ink);
	font-size: 16px;
	line-height: 1.6;
}

/* ---------- Stars ---------- */
.wwrv-stars {
	display: inline-flex;
	gap: 2px;
	line-height: 1;
}

.wwrv-star {
	color: var(--wwrv-star-off);
	font-size: 1.05em;
}

.wwrv-star.wwrv-on {
	color: var(--wwrv-star);
}

/* ---------- Aggregate ---------- */
.wwrv-aggregate {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 14px 16px;
	margin: 0 0 20px;
	border: 1px solid var(--wwrv-border);
	border-radius: var(--wwrv-radius);
	background: #fafafa;
}

.wwrv-aggregate-score {
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1;
}

.wwrv-aggregate .wwrv-stars {
	font-size: 1.3em;
}

.wwrv-aggregate-meta {
	color: var(--wwrv-muted);
	font-size: 0.95em;
}

/* ---------- Review list ---------- */
.wwrv-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wwrv-list > li { list-style: none; }

.wwrv-review {
	padding: 18px 0;
	border-bottom: 1px solid var(--wwrv-border);
}

.wwrv-review:last-child {
	border-bottom: 0;
}

/* Accent strip is an explorer-only flourish; hidden on plain in-page lists. */
.wwrv-review-accent { display: none; }

.wwrv-review-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}
.wwrv-review-topline:empty { display: none; }
/* Keep the Client/Partner badge top-right even when there is no service eyebrow. */
.wwrv-review-topline .wwrv-badge { margin-left: auto; }

.wwrv-review-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin-bottom: 8px;
}

.wwrv-review-head {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.wwrv-review-rating .wwrv-stars {
	font-size: 1.1em;
}

.wwrv-review-author {
	font-weight: 600;
}

.wwrv-review-date {
	color: var(--wwrv-muted);
	font-size: 0.9em;
}

.wwrv-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 9px;
	border-radius: 999px;
	border: 1px solid var(--wwrv-border);
	font-size: 0.7em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wwrv-muted);
}

.wwrv-badge-partner {
	color: var(--wwrv-accent);
	border-color: var(--wwrv-accent);
}

.wwrv-review-org {
	display: block;
	width: 100%;
	margin-top: 2px;
	color: var(--wwrv-muted);
	font-size: 0.9em;
}

.wwrv-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Client/Partner choice on the form */
.wwrv-source-input {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.wwrv-source-input label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 400;
	margin: 0;
	cursor: pointer;
}

/* Explorer audience toggle */
.wwrv-explorer-audience {
	display: inline-flex;
	gap: 6px;
	margin: 0 0 14px;
	padding: 4px;
	border: 1px solid var(--wwrv-border, #e4e4e7);
	border-radius: 999px;
}

.wwrv-audience {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.9em;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wwrv-audience.is-active {
	background: var(--wwrv-accent, #0f3d2e);
	color: #fff;
}

.wwrv-review-title {
	margin: 4px 0 6px;
	font-size: 1.1em;
}

.wwrv-review-body {
	margin: 0;
}

.wwrv-review-body p:last-child {
	margin-bottom: 0;
}

.wwrv-review-cf {
	margin-top: 6px;
	font-size: 0.92em;
	color: var(--wwrv-muted);
}

.wwrv-cf-label {
	font-weight: 600;
}

/* ---------- Review media (photos + video) ---------- */
.wwrv-review-media {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
	gap: 8px;
	margin: 12px 0 0;
}

.wwrv-review-media .wwrv-media-item {
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,.08);
	background: #f1f1f1;
}

.wwrv-review-media .wwrv-media-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}

.wwrv-review-media .wwrv-media-item:hover img {
	transform: scale(1.05);
}

.wwrv-review-video {
	margin: 12px 0 0;
}

.wwrv-video-frame {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
}

.wwrv-video-frame iframe,
.wwrv-video-file {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.wwrv-video-file {
	position: static;
	border-radius: 12px;
	background: #000;
	display: block;
}

/* ---------- Owner response ---------- */
.wwrv-response {
	margin: 12px 0 0;
	padding: 12px 14px;
	border-left: 3px solid var(--wwrv-accent);
	background: #f4f7f5;
	border-radius: 0 var(--wwrv-radius) var(--wwrv-radius) 0;
}

/* Response header: optional staff photo beside the attribution. */
.wwrv-response-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

.wwrv-response-avatar {
	/* !important + fixed basis so a theme rule (e.g. img{width:100%}) can't blow
	   the avatar up and crush the response label into a sliver. */
	flex: 0 0 40px;
	width: 40px !important;
	height: 40px !important;
	max-width: 40px !important;
	min-width: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(0,0,0,.08);
	display: block;
}

.wwrv-response-meta {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.wwrv-response-label {
	display: block;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--wwrv-accent);
	margin-bottom: 0;
}

/* Service eyebrow (base / per-page lists). */
.wwrv-review-service {
	display: inline-block;
	margin: 0 0 8px;
	padding: 2px 10px;
	border: 1px solid var(--wwrv-accent);
	border-radius: 999px;
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wwrv-accent);
}

.wwrv-response-date {
	display: block;
	font-size: 0.82em;
	color: var(--wwrv-muted);
	margin-bottom: 6px;
}

.wwrv-response-body p:last-child {
	margin-bottom: 0;
}

.wwrv-empty {
	color: var(--wwrv-muted);
}

/* ---------- Notices ---------- */
.wwrv-notice {
	padding: 12px 16px;
	border-radius: var(--wwrv-radius);
	margin: 0 0 16px;
	font-weight: 500;
}

.wwrv-notice-success {
	background: #e8f5ee;
	border: 1px solid #a7d7bd;
	color: #0f3d2e;
}

.wwrv-notice-error {
	background: #fdecec;
	border: 1px solid #f3b4b4;
	color: #8a1c1c;
}

/* ---------- Form ---------- */
.wwrv-form-wrap {
	margin-top: 28px;
}

.wwrv-form {
	max-width: 560px;
}

.wwrv-field {
	margin: 0 0 16px;
}

.wwrv-field label,
.wwrv-field .wwrv-label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.wwrv-req {
	color: #b42318;
}

.wwrv-field input[type="text"],
.wwrv-field input[type="email"],
.wwrv-field select,
.wwrv-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--wwrv-border);
	border-radius: 8px;
	font: inherit;
	box-sizing: border-box;
}

.wwrv-field select {
	cursor: pointer;
}

.wwrv-field textarea {
	resize: vertical;
}

.wwrv-hint {
	display: block;
	margin-top: 4px;
	font-size: 0.85em;
	color: var(--wwrv-muted);
}

/* Star rating input — rendered right-to-left so hover fills left-to-right. */
.wwrv-rating-input {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 2px;
	font-size: 1.8em;
	line-height: 1;
}

.wwrv-rating-input input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}

.wwrv-rating-input label {
	color: var(--wwrv-star-off);
	cursor: pointer;
	margin: 0;
	transition: color 0.1s ease;
}

.wwrv-rating-input input:checked ~ label,
.wwrv-rating-input label:hover,
.wwrv-rating-input label:hover ~ label {
	color: var(--wwrv-star);
}

.wwrv-rating-input input:focus-visible + label {
	outline: 2px solid var(--wwrv-accent);
	outline-offset: 2px;
}

.wwrv-submit {
	display: inline-block;
	padding: 11px 22px;
	border: 0;
	border-radius: 8px;
	background: var(--wwrv-accent);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.wwrv-submit:hover {
	filter: brightness(1.08);
}

/* ---------- All-reviews explorer ---------- */
.wwrv-explorer {
	color: var(--wwrv-ink, #1f2937);
}

.wwrv-explorer-heading {
	margin: 0 0 16px;
}

.wwrv-explorer-summary {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	padding: 16px 18px;
	margin: 0 0 18px;
	border: 1px solid var(--wwrv-border, #e4e4e7);
	border-radius: var(--wwrv-radius, 10px);
	background: #fafafa;
}

.wwrv-explorer-score {
	font-size: 1.7em;
	font-weight: 700;
	line-height: 1;
}

.wwrv-explorer-summary .wwrv-stars {
	font-size: 1.3em;
}

.wwrv-explorer-meta {
	color: var(--wwrv-muted, #6b7280);
	font-size: 0.95em;
}

.wwrv-explorer-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 18px;
}

.wwrv-explorer-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.wwrv-filter {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 14px;
	border: 1px solid var(--wwrv-border, #e4e4e7);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.9em;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.wwrv-filter:hover {
	border-color: var(--wwrv-accent, #0f3d2e);
}

.wwrv-filter.is-active {
	background: var(--wwrv-accent, #0f3d2e);
	border-color: var(--wwrv-accent, #0f3d2e);
	color: #fff;
}

.wwrv-filter-count {
	font-size: 0.82em;
	opacity: 0.7;
}

.wwrv-explorer-sort select {
	padding: 9px 12px;
	border: 1px solid var(--wwrv-border, #e4e4e7);
	border-radius: 8px;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.wwrv-explorer-none {
	color: var(--wwrv-muted, #6b7280);
	padding: 24px 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Leave-a-review button ---------- */
.wwrv-button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 8px;
	background: var(--wwrv-accent, #0f3d2e);
	color: #fff !important;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: filter 0.12s ease;
}

.wwrv-button:hover,
.wwrv-button:focus {
	color: #fff !important;
	filter: brightness(1.1);
	text-decoration: none;
}

/* Honeypot — hidden from humans, present for bots. */
.wwrv-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ============================================================
   All-reviews explorer — Services Directory design language,
   kept on the dark Insights-Hub palette. Scoped to .wwrv-explorer.
   ============================================================ */
.wwrv-explorer {
	--h-ink: #F1EDF5;
	--h-body: #CFC9DB;
	--h-soft: #8A819E;
	--h-line: #221D2E;
	--h-line-strong: #3A3049;
	--h-accent: #9A6FB8;
	--h-star: #C59ADE;
	--h-surface: #100D16;
	--h-card: #171220;
	--h-radius: 14px;
	--h-pill: 999px;
	/* Self-contained dark surface, so the shortcode is legible on ANY page. */
	padding: clamp(18px, 3vw, 30px);
	border-radius: 18px;
	background: var(--h-surface);
	color: var(--h-ink);
	font-family: inherit;
}
.wwrv-explorer * { box-sizing: border-box; }

/* Per-category accent colours — same colour system as the Services Directory
   (service catalog), tuned brighter for this dark surface. "general" and
   "offshore-trusts" take the site's brand colour (var(--h-star)) so each reskin
   matches its own catalog, where the trust colour is the brand colour. */
.wwrv-explorer,
.wwrv-reviews { --cat: var(--h-star); }
.wwrv-explorer [data-category="general"],
.wwrv-reviews [data-category="general"],
.wwrv-explorer [data-wwrv-filter="general"],
.wwrv-explorer [data-category="offshore-trusts"],
.wwrv-reviews [data-category="offshore-trusts"],
.wwrv-explorer [data-wwrv-filter="offshore-trusts"]      { --cat: var(--h-star); }
.wwrv-explorer [data-category="offshore-companies"],
.wwrv-reviews [data-category="offshore-companies"],
.wwrv-explorer [data-wwrv-filter="offshore-companies"]   { --cat: #6E9BD4; } /* catalog #385c85 */
.wwrv-explorer [data-category="banking-and-investment"],
.wwrv-reviews [data-category="banking-and-investment"],
.wwrv-explorer [data-wwrv-filter="banking-and-investment"],
.wwrv-explorer [data-category="offshore-banking"],
.wwrv-reviews [data-category="offshore-banking"],
.wwrv-explorer [data-wwrv-filter="offshore-banking"]     { --cat: #4FA0A8; } /* catalog #326a71 */
.wwrv-explorer [data-category="precious-metals"],
.wwrv-reviews [data-category="precious-metals"],
.wwrv-explorer [data-wwrv-filter="precious-metals"]      { --cat: #CBA84B; } /* catalog #876921 */
.wwrv-explorer [data-category="cryptocurrency"],
.wwrv-reviews [data-category="cryptocurrency"],
.wwrv-explorer [data-wwrv-filter="cryptocurrency"]       { --cat: #D79455; }
.wwrv-explorer [data-category="equity-stripping"],
.wwrv-reviews [data-category="equity-stripping"],
.wwrv-explorer [data-wwrv-filter="equity-stripping"]     { --cat: #B885A0; } /* catalog #704c5d */
.wwrv-explorer [data-category="offshore-foundations"],
.wwrv-reviews [data-category="offshore-foundations"],
.wwrv-explorer [data-wwrv-filter="offshore-foundations"] { --cat: #C09A70; } /* catalog #765d45 */
.wwrv-explorer [data-category="other"],
.wwrv-reviews [data-category="other"],
.wwrv-explorer [data-wwrv-filter="other"]                { --cat: #8E938D; }

.wwrv-explorer-heading {
	margin: 0 0 18px;
	color: var(--h-ink);
	font-weight: 400;
	letter-spacing: -0.02em;
}

/* ---- Summary panel ---- */
.wwrv-explorer .wwrv-explorer-summary {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 20px 22px;
	margin: 0 0 20px;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	background: var(--h-card);
	box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.wwrv-explorer .wwrv-explorer-score {
	font-size: 2.1em;
	font-weight: 600;
	line-height: 1;
	color: var(--h-ink);
}
.wwrv-explorer .wwrv-explorer-summary .wwrv-stars { font-size: 1.5em; }
.wwrv-explorer .wwrv-stars .wwrv-star { color: #312841; }
.wwrv-explorer .wwrv-stars .wwrv-star.wwrv-on { color: var(--h-star); }

/* Big summary stars get a brushed-silver outline for a premium feel. */
.wwrv-explorer .wwrv-explorer-summary .wwrv-stars .wwrv-star {
	-webkit-text-stroke: 1px #C6C9CF;
	text-stroke: 1px #C6C9CF;
	paint-order: stroke fill;
	letter-spacing: 2px;
}
.wwrv-explorer .wwrv-explorer-meta { color: var(--h-soft); font-size: .95em; }

/* ---- Audience segmented toggle ---- */
.wwrv-explorer .wwrv-explorer-audience {
	display: inline-flex;
	gap: 4px;
	margin: 0 0 14px;
	padding: 4px;
	border: 1px solid var(--h-line);
	border-radius: var(--h-pill);
	background: rgba(255,255,255,.02);
}
.wwrv-explorer .wwrv-audience {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 30px;
	padding: 7px 16px;
	border: 0;
	border-radius: var(--h-pill);
	background: transparent;
	color: var(--h-soft);
	font: inherit;
	font-size: 12.5px;
	line-height: 1;
	cursor: pointer;
	transition: color .2s ease, background .2s ease;
}
.wwrv-explorer .wwrv-audience:hover { color: var(--h-ink); }
.wwrv-explorer .wwrv-audience.is-active { background: var(--h-star); color: #0F120F; font-weight: 600; }
.wwrv-explorer .wwrv-audience.is-active .wwrv-filter-count { background: rgba(0,0,0,.2); color: #0F120F; }

/* ---- Filter + sort row ---- */
.wwrv-explorer .wwrv-explorer-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 22px;
}
.wwrv-explorer .wwrv-explorer-filters { display: flex; flex-wrap: wrap; gap: 8px; }

/* Filter pills are colour-coded by category (like the Services Directory pills):
   a tinted background, the category colour as text + border. The per-category
   --cat (set on each [data-wwrv-filter] above) drives it; no grey override. */
.wwrv-explorer .wwrv-filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 15px;
	border: 1px solid;
	border-color: color-mix(in srgb, var(--cat) 30%, var(--h-line));
	border-radius: var(--h-pill);
	background: color-mix(in srgb, var(--cat) 9%, transparent);
	color: var(--cat);
	font: inherit;
	font-size: 12.5px;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.wwrv-explorer .wwrv-filter:hover {
	border-color: var(--cat);
	background: color-mix(in srgb, var(--cat) 16%, transparent);
	transform: translateY(-1px);
}
.wwrv-explorer .wwrv-filter.is-active {
	background: var(--cat);
	border-color: var(--cat);
	color: #0F120F;
	transform: none;
}
.wwrv-explorer .wwrv-filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: var(--h-pill);
	background: rgba(241,239,232,.08);
	color: var(--h-body);
	font-size: 10px;
}
.wwrv-explorer .wwrv-filter.is-active .wwrv-filter-count { background: rgba(0,0,0,.2); color: #0F120F; }

.wwrv-explorer .wwrv-explorer-sort select {
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid var(--h-line);
	border-radius: var(--h-pill);
	background: rgba(255,255,255,.02);
	color: var(--h-body);
	font: inherit;
	cursor: pointer;
}
.wwrv-explorer .wwrv-explorer-sort select option { background: #141816; color: #F1EFE8; }

/* ---- Review cards ---- */
.wwrv-explorer .wwrv-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wwrv-explorer .wwrv-list > li { list-style: none; }

/* display:flex below overrides the [hidden] attribute the filter JS sets,
   so hidden cards must be forced out explicitly, or filtering does nothing. */
.wwrv-explorer .wwrv-review[hidden] { display: none !important; }

.wwrv-explorer .wwrv-review {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 26px 24px 22px;
	overflow: hidden;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	background: var(--h-card);
	box-shadow: 0 14px 34px rgba(0,0,0,.16);
	transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.wwrv-explorer .wwrv-review:hover {
	border-color: var(--h-line-strong);
	border-color: color-mix(in srgb, var(--cat) 55%, var(--h-line-strong));
	transform: translateY(-3px);
	box-shadow: 0 22px 46px rgba(0,0,0,.26);
}

/* 4px accent strip across the top, coloured by service. */
.wwrv-explorer .wwrv-review-accent {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 2;
	height: 3px;
	background: var(--cat);
	opacity: .92;
}

.wwrv-explorer .wwrv-review-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 2px 0 14px;
}
.wwrv-explorer .wwrv-review-service {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cat);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	line-height: 1.3;
}
.wwrv-explorer .wwrv-review-service-dot {
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cat);
}

.wwrv-explorer .wwrv-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border: 1px solid var(--h-line-strong);
	border-radius: var(--h-pill);
	background: rgba(241,239,232,.03);
	color: var(--h-soft);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}
/* Partner badge uses a distinct gold so Client vs Partner reads at a glance
   (and keeps green from dominating the card). */
.wwrv-explorer .wwrv-badge-partner {
	color: #E7C76A;
	border-color: rgba(224,194,94,.55);
	background: rgba(224,194,94,.12);
}

.wwrv-explorer .wwrv-review-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
}
.wwrv-explorer .wwrv-review-rating { margin-right: auto; }
.wwrv-explorer .wwrv-review-date { color: var(--h-soft); font-size: 12px; }

.wwrv-explorer .wwrv-review-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0 0 14px;
}
.wwrv-explorer .wwrv-review-author { color: var(--h-ink); font-weight: 600; font-size: 14px; }
.wwrv-explorer .wwrv-review-org {
	color: var(--h-soft);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.wwrv-explorer .wwrv-review-org::before { content: "·"; margin-right: 8px; color: var(--h-line-strong); }

.wwrv-explorer h3.wwrv-review-title,
.wwrv-explorer .wwrv-review-title {
	color: var(--h-ink);
	margin: 0 0 10px !important;
	/* !important: Salient styles in-content <h3> very large; this keeps the
	   review title at an h4-ish scale regardless of the theme. */
	font-size: 17px !important;
	line-height: 1.3 !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em !important;
}
.wwrv-explorer .wwrv-review-body { color: var(--h-body); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---- Owner response ---- */
.wwrv-explorer .wwrv-response {
	margin-top: 16px;
	padding: 14px 16px;
	background: rgba(255,255,255,.025);
	border-left: 3px solid var(--cat);
	border-radius: 0 10px 10px 0;
}
.wwrv-explorer .wwrv-response-label { color: var(--h-ink); font-size: 13px; }
.wwrv-explorer .wwrv-response-body { color: var(--h-body); font-size: 13.5px; line-height: 1.55; }
.wwrv-explorer .wwrv-response-date { color: var(--h-soft); font-size: 12px; }
.wwrv-explorer .wwrv-response-avatar { border-color: var(--h-line-strong); }

/* ---- Media (dark) ---- */
.wwrv-explorer .wwrv-review-media .wwrv-media-item { border-color: var(--h-line); background: #0F120F; }
.wwrv-explorer .wwrv-video-frame,
.wwrv-explorer .wwrv-video-file { background: #000; }
.wwrv-explorer .wwrv-video-link { color: var(--h-star); }

.wwrv-explorer .wwrv-review > *:last-child { margin-bottom: 0; }

.wwrv-explorer .wwrv-explorer-none,
.wwrv-explorer .wwrv-empty { color: var(--h-soft); }

@media (max-width: 680px) {
	.wwrv-explorer .wwrv-list { grid-template-columns: 1fr; }
	.wwrv-explorer .wwrv-explorer-controls { align-items: stretch; }
	.wwrv-explorer .wwrv-explorer-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
	.wwrv-explorer .wwrv-filter { flex: 0 0 auto; }
}

/* ============================================================
   Submission form — same Services-Directory design language,
   dark palette. Scoped to .wwrv-form-wrap. A themed page that
   targets the form by a more specific selector still wins.
   ============================================================ */
.wwrv-form-wrap {
	--h-ink: #F1EDF5;
	--h-body: #CFC9DB;
	--h-soft: #8A819E;
	--h-line: #221D2E;
	--h-line-strong: #3A3049;
	--h-accent: #9A6FB8;
	--h-star: #C59ADE;
	--h-card: #171220;
	--h-field: #140F1C;
	--h-radius: 14px;
	--h-pill: 999px;

	margin-top: 28px;
	padding: 30px 28px;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	background: var(--h-card);
	box-shadow: 0 14px 34px rgba(0,0,0,.16);
	color: var(--h-ink);
}
.wwrv-form-wrap * { box-sizing: border-box; }

.wwrv-form-wrap .wwrv-form { max-width: 620px; }

.wwrv-form-wrap .wwrv-field { margin: 0 0 18px; }

/* Labels as small uppercase eyebrows, matching the directory toolbar.
   !important so a theme's form-label styling can't enlarge/recolour them. */
.wwrv-form-wrap .wwrv-field label,
.wwrv-form-wrap .wwrv-field .wwrv-label {
	display: block;
	margin-bottom: 8px;
	color: var(--h-soft) !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	letter-spacing: .08em !important;
	text-transform: uppercase !important;
	line-height: 1.3 !important;
}
.wwrv-form-wrap .wwrv-req { color: #E39A9A; }

.wwrv-form-wrap .wwrv-field input[type="text"],
.wwrv-form-wrap .wwrv-field input[type="email"],
.wwrv-form-wrap .wwrv-field select,
.wwrv-form-wrap .wwrv-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--h-line);
	border-radius: 10px;
	background: var(--h-field);
	color: var(--h-ink);
	font: inherit;
	line-height: 1.4;
	transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.wwrv-form-wrap .wwrv-field select {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--h-soft) 50%),
		linear-gradient(135deg, var(--h-soft) 50%, transparent 50%);
	background-position:
		calc(100% - 20px) calc(50% - 2px),
		calc(100% - 15px) calc(50% - 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 40px;
}
.wwrv-form-wrap .wwrv-field select option { background: #141816; color: #F1EFE8; }
.wwrv-form-wrap .wwrv-field textarea { resize: vertical; min-height: 120px; }

.wwrv-form-wrap .wwrv-field input::placeholder,
.wwrv-form-wrap .wwrv-field textarea::placeholder { color: var(--h-soft); opacity: 1; }

.wwrv-form-wrap .wwrv-field input:focus,
.wwrv-form-wrap .wwrv-field select:focus,
.wwrv-form-wrap .wwrv-field textarea:focus {
	outline: none;
	border-color: var(--h-star);
	box-shadow: 0 0 0 3px rgba(197,154,222,.14);
}

.wwrv-form-wrap .wwrv-hint {
	display: block;
	margin-top: 6px;
	color: var(--h-soft);
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
}

/* "Post anonymously" checkbox. label.wwrv-check beats the generic
   .wwrv-field label eyebrow styling (same specificity, so it must win on order). */
.wwrv-form-wrap .wwrv-field-anon { margin-top: -4px; }
.wwrv-form-wrap label.wwrv-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	color: var(--h-body);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}
/* Font-size on the span (a direct value) so a page `label { font-size … !important }`
   can't enlarge the checkbox text and force the row to wrap. */
.wwrv-form-wrap label.wwrv-check span {
	font-size: 13px;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.35;
}
.wwrv-form-wrap .wwrv-check input[type="checkbox"] {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: var(--h-star);
	cursor: pointer;
}

/* Reviewer-type radios + partner fields as pill chips. */
.wwrv-form-wrap .wwrv-source-input {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
}
.wwrv-form-wrap .wwrv-source-input label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 9px 16px;
	border: 1px solid var(--h-line);
	border-radius: var(--h-pill);
	background: transparent;
	color: var(--h-body);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
	transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.wwrv-form-wrap .wwrv-source-input label:hover { border-color: var(--h-line-strong); color: var(--h-ink); }
.wwrv-form-wrap .wwrv-source-input input { accent-color: var(--h-star); margin: 0; }

/* Star rating — rendered right-to-left so hover fills left-to-right.
   Sized up so it reads at the same weight as the inputs around it. */
.wwrv-form-wrap .wwrv-rating-input {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 8px;
	font-size: 2.9em;
	line-height: 1;
}
.wwrv-form-wrap .wwrv-rating-input input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
}
.wwrv-form-wrap .wwrv-rating-input label {
	margin: 0;
	padding: 0;
	line-height: 1;
	cursor: pointer;
	letter-spacing: 0;
	text-transform: none;
	transition: transform .12s ease;
}
/* Size AND colour live on the glyph span (not the label): a page-level
   `label { font-size/color … !important }` would otherwise cap the size and
   freeze the colour. A value set directly on the span beats an inherited one. */
.wwrv-form-wrap .wwrv-rating-input label .wwrv-star-glyph {
	display: inline-block;
	font-size: 30px !important;
	line-height: 1;
	color: #312841;
	transition: color .12s ease;
}
.wwrv-form-wrap .wwrv-rating-input input:checked ~ label .wwrv-star-glyph,
.wwrv-form-wrap .wwrv-rating-input label:hover .wwrv-star-glyph,
.wwrv-form-wrap .wwrv-rating-input label:hover ~ label .wwrv-star-glyph { color: var(--h-star) !important; }
.wwrv-form-wrap .wwrv-rating-input label:hover { transform: scale(1.08); }
.wwrv-form-wrap .wwrv-rating-input input:focus-visible + label { outline: 2px solid var(--h-star); outline-offset: 2px; }

/* A field that has been disabled by the "post anonymously" toggle. */
.wwrv-form-wrap .wwrv-field-disabled { opacity: .4; }

/* Actions row: anonymity checkbox on the left, Submit on the right,
   both vertically centred. */
.wwrv-form-wrap .wwrv-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 18px;
	margin: 8px 0 0;
}
.wwrv-form-wrap .wwrv-actions .wwrv-submit { margin-left: auto; flex: 0 0 auto; }
.wwrv-form-wrap label.wwrv-check-inline {
	/* Natural width (do NOT grow) so the button stays on the same row and the
	   margin-left:auto above can push it to the right — centred, not wrapped. */
	flex: 0 1 auto;
	align-items: center;
	margin: 0;
	font-size: 12.5px;
	line-height: 1.3;
	color: var(--h-soft);
}
.wwrv-form-wrap label.wwrv-check-inline input[type="checkbox"] { margin: 0; }
@media (max-width: 560px) {
	.wwrv-form-wrap .wwrv-actions { flex-direction: column; align-items: stretch; }
	.wwrv-form-wrap .wwrv-actions .wwrv-submit { margin-left: 0; width: 100%; }
}
/* Outline pill: clear with white text + a thin white border, fills on hover.
   !important on the look so a theme's global button style (filled, square) can't
   take over the submit button. */
.wwrv-form-wrap .wwrv-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 30px !important;
	border: 1px solid var(--h-ink) !important;
	border-radius: var(--h-pill) !important;
	background: transparent !important;
	background-image: none !important;
	color: var(--h-ink) !important;
	font: inherit;
	font-weight: 600 !important;
	letter-spacing: .01em;
	text-transform: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.wwrv-form-wrap .wwrv-submit:hover,
.wwrv-form-wrap .wwrv-submit:focus-visible {
	background: var(--h-ink) !important;
	color: #0F120F !important;
	transform: translateY(-1px);
}
.wwrv-form-wrap .wwrv-submit.wwrv-submitting { opacity: .7; cursor: default; transform: none; }

/* Notices (dark). */
.wwrv-form-wrap .wwrv-notice {
	padding: 13px 16px;
	margin: 0 0 20px;
	border-radius: 10px;
	font-weight: 500;
}
.wwrv-form-wrap .wwrv-notice-success {
	background: rgba(154,111,184,.2);
	border: 1px solid var(--h-accent);
	color: #BFE3B4;
}
.wwrv-form-wrap .wwrv-notice-error {
	background: rgba(120,40,40,.22);
	border: 1px solid #6E3A3A;
	color: #E7B4B4;
}

@media (max-width: 680px) {
	.wwrv-form-wrap { padding: 24px 20px; }
}

/* ============================================================
   In-page review list [ob_reviews] — same card design language,
   dark palette. Scoped to .wwrv-reviews.
   ============================================================ */
.wwrv-reviews {
	--h-ink: #F1EDF5;
	--h-body: #CFC9DB;
	--h-soft: #8A819E;
	--h-line: #221D2E;
	--h-line-strong: #3A3049;
	--h-accent: #9A6FB8;
	--h-star: #C59ADE;
	--h-surface: #100D16;
	--h-card: #171220;
	--h-radius: 14px;
	--h-pill: 999px;
	/* Self-contained dark surface, so the shortcode is legible on ANY page. */
	padding: clamp(18px, 3vw, 30px);
	border-radius: 18px;
	background: var(--h-surface);
	color: var(--h-ink);
	font-family: inherit;
}
.wwrv-reviews * { box-sizing: border-box; }

/* Aggregate summary panel. */
.wwrv-reviews .wwrv-aggregate {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 20px 22px;
	margin: 0 0 20px;
	border: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	background: var(--h-card);
	box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.wwrv-reviews .wwrv-aggregate-score {
	font-size: 2.1em;
	font-weight: 600;
	line-height: 1;
	color: var(--h-ink);
}
.wwrv-reviews .wwrv-aggregate .wwrv-stars { font-size: 1.5em; }
.wwrv-reviews .wwrv-aggregate .wwrv-stars .wwrv-star {
	-webkit-text-stroke: 1px #C6C9CF;
	text-stroke: 1px #C6C9CF;
	paint-order: stroke fill;
	letter-spacing: 2px;
}
.wwrv-reviews .wwrv-stars .wwrv-star { color: #312841; }
.wwrv-reviews .wwrv-stars .wwrv-star.wwrv-on { color: var(--h-star); }
.wwrv-reviews .wwrv-aggregate-meta { color: var(--h-soft); font-size: .95em; }

/* Cards. */
.wwrv-reviews .wwrv-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wwrv-reviews .wwrv-list > li { list-style: none; }
.wwrv-reviews .wwrv-review[hidden] { display: none !important; }

.wwrv-reviews .wwrv-review {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 26px 24px 22px;
	overflow: hidden;
	border: 1px solid var(--h-line);
	border-bottom: 1px solid var(--h-line);
	border-radius: var(--h-radius);
	background: var(--h-card);
	box-shadow: 0 14px 34px rgba(0,0,0,.16);
	transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.wwrv-reviews .wwrv-review:last-child { border-bottom: 1px solid var(--h-line); }
.wwrv-reviews .wwrv-review:hover {
	border-color: var(--h-line-strong);
	border-color: color-mix(in srgb, var(--cat) 55%, var(--h-line-strong));
	transform: translateY(-3px);
	box-shadow: 0 22px 46px rgba(0,0,0,.26);
}

.wwrv-reviews .wwrv-review-accent {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 2;
	height: 3px;
	background: var(--cat);
	opacity: .92;
}

.wwrv-reviews .wwrv-review-topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 2px 0 14px;
}
.wwrv-reviews .wwrv-review-service {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--cat);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .09em;
	text-transform: uppercase;
	line-height: 1.3;
}
.wwrv-reviews .wwrv-review-service-dot {
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cat);
}

.wwrv-reviews .wwrv-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border: 1px solid var(--h-line-strong);
	border-radius: var(--h-pill);
	background: rgba(241,239,232,.03);
	color: var(--h-soft);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.wwrv-reviews .wwrv-badge-partner {
	color: #E7C76A;
	border-color: rgba(224,194,94,.55);
	background: rgba(224,194,94,.12);
}

.wwrv-reviews .wwrv-review-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
}
.wwrv-reviews .wwrv-review-rating { margin-right: auto; }
.wwrv-reviews .wwrv-review-date { color: var(--h-soft); font-size: 12px; }

.wwrv-reviews .wwrv-review-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin: 0 0 14px;
}
.wwrv-reviews .wwrv-review-author { color: var(--h-ink); font-weight: 600; font-size: 14px; }
.wwrv-reviews .wwrv-review-org {
	color: var(--h-soft);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.wwrv-reviews .wwrv-review-org::before { content: "·"; margin-right: 8px; color: var(--h-line-strong); }

.wwrv-reviews h3.wwrv-review-title,
.wwrv-reviews .wwrv-review-title {
	color: var(--h-ink);
	margin: 0 0 10px !important;
	font-size: 17px !important;
	line-height: 1.3 !important;
	font-weight: 600 !important;
	letter-spacing: -0.01em !important;
}
.wwrv-reviews .wwrv-review-body { color: var(--h-body); font-size: 14px; line-height: 1.6; margin: 0; }

.wwrv-reviews .wwrv-review-cf { color: var(--h-body); font-size: 13px; margin-top: 10px; }
.wwrv-reviews .wwrv-cf-label { color: var(--h-soft); }

.wwrv-reviews .wwrv-response {
	margin-top: 16px;
	padding: 14px 16px;
	background: rgba(255,255,255,.025);
	border-left: 3px solid var(--cat);
	border-radius: 0 10px 10px 0;
}
.wwrv-reviews .wwrv-response-label { color: var(--h-ink); font-size: 13px; }
.wwrv-reviews .wwrv-response-body { color: var(--h-body); font-size: 13.5px; line-height: 1.55; }
.wwrv-reviews .wwrv-response-date { color: var(--h-soft); font-size: 12px; }
.wwrv-reviews .wwrv-response-avatar { border-color: var(--h-line-strong); }

.wwrv-reviews .wwrv-review-media .wwrv-media-item { border-color: var(--h-line); background: #0F120F; }
.wwrv-reviews .wwrv-video-frame,
.wwrv-reviews .wwrv-video-file { background: #000; }
.wwrv-reviews .wwrv-video-link { color: var(--h-star); }

.wwrv-reviews .wwrv-review > *:last-child { margin-bottom: 0; }
.wwrv-reviews .wwrv-empty { color: var(--h-soft); }

/* The form can sit under [ob_reviews show_form="yes"]; keep a gap. */
.wwrv-reviews .wwrv-form-wrap { margin-top: 20px; }

@media (max-width: 680px) {
	.wwrv-reviews .wwrv-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Leave-a-review button [ob_review_button] — accent pill.
   ============================================================ */
.wwrv-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border: 0;
	border-radius: 999px;
	background: #C59ADE;
	color: #0F120F !important;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.wwrv-button:hover,
.wwrv-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(197,154,222,.22);
	filter: brightness(1.04);
	color: #0F120F !important;
}

/* ============================================================
   Star sheen — a subtle satin gradient on lit stars (lighter at
   the top), clipped to the glyph. Browsers without background-clip
   fall back to the solid --h-star colour set earlier.
   ============================================================ */
.wwrv-explorer .wwrv-stars .wwrv-star.wwrv-on,
.wwrv-reviews .wwrv-stars .wwrv-star.wwrv-on {
	background: linear-gradient(180deg, #E3CDF0 0%, #C59ADE 46%, #9A6FB8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .22);
}

/* The big aggregate stars keep their silver edge; the sheen sits inside it. */
.wwrv-explorer .wwrv-explorer-summary .wwrv-stars .wwrv-star.wwrv-on,
.wwrv-reviews .wwrv-aggregate .wwrv-stars .wwrv-star.wwrv-on {
	background: linear-gradient(180deg, #EEDDF7 0%, #C59ADE 48%, #9A6FB8 100%);
	-webkit-background-clip: text;
	background-clip: text;
}

@media (prefers-reduced-motion: no-preference) {
	.wwrv-explorer .wwrv-stars .wwrv-star.wwrv-on,
	.wwrv-reviews .wwrv-stars .wwrv-star.wwrv-on {
		transition: filter .2s ease;
	}
}

/* ============================================================
   Network reviews [ob_reviews_network] — compact "other platforms"
   strip, self-contained dark surface.
   ============================================================ */
.wwrv-network {
	--h-ink: #F1EDF5;
	--h-body: #CFC9DB;
	--h-soft: #8A819E;
	--h-line: #221D2E;
	--h-line-strong: #3A3049;
	--h-accent: #9A6FB8;
	--h-star: #C59ADE;
	--h-surface: #100D16;
	--h-card: #171220;
	padding: clamp(18px, 3vw, 28px);
	border-radius: 18px;
	background: var(--h-surface);
	color: var(--h-ink);
	font-family: inherit;
}
.wwrv-network * { box-sizing: border-box; }

.wwrv-network-head { margin: 0 0 16px; }
.wwrv-network-eyebrow {
	display: inline-block;
	color: var(--h-soft);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.wwrv-network-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wwrv-network-list > li { list-style: none; }

/* Each card carries --plat (the source company's brand colour, from its feed);
   falls back to this site's brand. The card is tinted to match its platform. */
.wwrv-network-card {
	--plat: var(--h-star);
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 18px 18px 18px 21px;
	border: 1px solid var(--h-line);
	border-left: 3px solid var(--plat);
	border-radius: 12px;
	background: var(--h-card);
	box-shadow: 0 10px 26px rgba(0,0,0,.14);
	overflow: hidden;
	min-width: 0;
}
/* Stars sit UNDER the platform badge so a long platform name can never push
   them past the card edge. */
.wwrv-network-card-top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	max-width: 100%;
}
.wwrv-network-card-top .wwrv-stars { flex: 0 0 auto; white-space: nowrap; }
.wwrv-network-platform {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	padding: 3px 9px;
	border: 1px solid;
	border-color: color-mix(in srgb, var(--plat) 45%, var(--h-line-strong));
	border-radius: 999px;
	background: color-mix(in srgb, var(--plat) 12%, transparent);
	color: var(--plat);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
}
.wwrv-network .wwrv-stars { font-size: 1em; }
.wwrv-network .wwrv-stars .wwrv-star { color: #312841; }
/* Stars take the platform colour so each company's reviews read as theirs. */
.wwrv-network-card .wwrv-stars .wwrv-star.wwrv-on {
	color: var(--plat);
	background: linear-gradient(180deg, color-mix(in srgb, var(--plat) 55%, #fff) 0%, var(--plat) 55%, color-mix(in srgb, var(--plat) 80%, #000) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.wwrv-network-title {
	margin: 2px 0 0;
	color: var(--h-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.wwrv-network-body {
	margin: 0;
	color: var(--h-body);
	font-size: 13px;
	line-height: 1.55;
}
.wwrv-network-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 8px;
	margin-top: 2px;
}
.wwrv-network-author { color: var(--h-ink); font-size: 12.5px; font-weight: 600; }
.wwrv-network-date { color: var(--h-soft); font-size: 11.5px; }
.wwrv-network-date::before { content: "·"; margin-right: 8px; color: var(--h-line-strong); }

@media (max-width: 680px) {
	.wwrv-network-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Compact review block [ob_reviews_block] — overall rating, a few
   recent reviews, and a read-more button. Self-contained surface.
   ============================================================ */
.wwrv-block {
	--h-ink: #F1EDF5;
	--h-body: #CFC9DB;
	--h-soft: #8A819E;
	--h-line: #221D2E;
	--h-line-strong: #3A3049;
	--h-accent: #9A6FB8;
	--h-star: #C59ADE;
	--h-surface: #100D16;
	--h-card: #171220;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(18px, 3vw, 26px);
	border-radius: 18px;
	background: var(--h-surface);
	color: var(--h-ink);
	font-family: inherit;
}
.wwrv-block * { box-sizing: border-box; }

.wwrv-block-eyebrow {
	color: var(--h-soft);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.wwrv-block-summary { display: flex; align-items: center; gap: 13px; }
.wwrv-block-score { font-size: 2.4em; font-weight: 600; line-height: 1; color: var(--h-ink); }
.wwrv-block-summary-main { display: flex; flex-direction: column; gap: 3px; }
.wwrv-block-meta { color: var(--h-soft); font-size: 13px; }

.wwrv-block .wwrv-stars { font-size: 1.1em; line-height: 1; }
.wwrv-block .wwrv-stars .wwrv-star { color: #312841; }
.wwrv-block .wwrv-stars .wwrv-star.wwrv-on {
	color: var(--h-star);
	background: linear-gradient(180deg, color-mix(in srgb, var(--h-star) 55%, #fff) 0%, var(--h-star) 55%, color-mix(in srgb, var(--h-star) 80%, #000) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.wwrv-block-summary .wwrv-stars { font-size: 1.3em; }
.wwrv-block-summary .wwrv-stars .wwrv-star {
	-webkit-text-stroke: 1px #C6C9CF;
	text-stroke: 1px #C6C9CF;
	paint-order: stroke fill;
	letter-spacing: 1px;
}

.wwrv-block-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.wwrv-block-item {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 15px 0;
	border-top: 1px solid var(--h-line);
}
.wwrv-block-item .wwrv-stars { font-size: .95em; }
.wwrv-block-quote { margin: 0; color: var(--h-body); font-size: 13.5px; line-height: 1.5; }
.wwrv-block-author { color: var(--h-ink); font-size: 12.5px; font-weight: 600; }
.wwrv-block-date { color: var(--h-soft); font-weight: 400; }

/* Read-more CTA — outline pill (matches the submit button), fills on hover. */
.wwrv-block .wwrv-button.wwrv-block-cta {
	align-self: flex-start;
	margin-top: 2px;
	padding: 11px 24px;
	border: 1px solid var(--h-ink);
	border-radius: 999px;
	background: transparent;
	color: var(--h-ink) !important;
	font-weight: 600;
	box-shadow: none;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.wwrv-block .wwrv-button.wwrv-block-cta:hover,
.wwrv-block .wwrv-button.wwrv-block-cta:focus-visible {
	background: var(--h-ink);
	color: #0F120F !important;
	transform: translateY(-2px);
	box-shadow: none;
	filter: none;
}

/* ============================================================
   Review block — layout variants + category accent.
   layout = summary (default) | badge | spotlight | grid | strip
   A category-scoped block ([ob_reviews_block category="..."]) takes that
   category's colour (shared with the catalog); trusts/general = brand.
   ============================================================ */
.wwrv-block { --cat: var(--h-star); position: relative; overflow: hidden; }
.wwrv-block[data-category="offshore-companies"]     { --cat: #6E9BD4; }
.wwrv-block[data-category="banking-and-investment"],
.wwrv-block[data-category="offshore-banking"]       { --cat: #4FA0A8; }
.wwrv-block[data-category="precious-metals"]        { --cat: #CBA84B; }
.wwrv-block[data-category="cryptocurrency"]         { --cat: #D79455; }
.wwrv-block[data-category="equity-stripping"]       { --cat: #B885A0; }
.wwrv-block[data-category="offshore-foundations"]   { --cat: #C09A70; }
.wwrv-block[data-category="other"]                  { --cat: #8E938D; }

/* Accent strip across the top, coloured by category/brand. */
.wwrv-block::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--cat);
	opacity: .9;
}
.wwrv-block-eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.wwrv-block-eyebrow::before {
	content: "";
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--cat);
}
.wwrv-block-score { color: var(--h-ink); }

/* ---- badge: a slim inline trust bar ---- */
.wwrv-block--badge {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 13px 18px;
	border: 1px solid var(--h-line);
}
.wwrv-block--badge .wwrv-stars {
	font-size: 1.25em;
}
.wwrv-block--badge .wwrv-stars .wwrv-star {
	-webkit-text-stroke: 1px #C6C9CF;
	text-stroke: 1px #C6C9CF;
	paint-order: stroke fill;
	letter-spacing: 1px;
}
.wwrv-block-badge-text { color: var(--h-body); font-size: 14px; }
.wwrv-block-badge-text strong { color: var(--h-ink); font-weight: 700; }
.wwrv-block-badge-link {
	margin-left: auto;
	color: var(--cat);
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	white-space: nowrap;
}
.wwrv-block-badge-link:hover { text-decoration: underline; }

/* ---- strip: score | quote | button, horizontally ---- */
.wwrv-block--strip {
	flex-direction: row;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.wwrv-block--strip .wwrv-block-summary { flex: 0 0 auto; margin: 0; }
.wwrv-block-stripquote {
	flex: 1 1 240px;
	min-width: 0;
	padding-left: 24px;
	border-left: 1px solid var(--h-line);
}
.wwrv-block-stripquote .wwrv-block-quote { margin: 0 0 4px; }
.wwrv-block--strip .wwrv-block-cta { flex: 0 0 auto; margin-left: auto; }

/* ---- spotlight: one featured review, large ---- */
.wwrv-block--spotlight { gap: 14px; }
.wwrv-block-spot { display: flex; flex-direction: column; gap: 12px; }
.wwrv-block-spot .wwrv-stars { font-size: 1.15em; }
.wwrv-block-spot-quote {
	margin: 0;
	padding: 0;
	border: 0;
	color: var(--h-ink);
	font-size: clamp(18px, 1.7vw, 22px);
	line-height: 1.42;
	font-weight: 400;
	letter-spacing: -0.01em;
}
.wwrv-block-spot-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 4px;
	padding-top: 14px;
	border-top: 1px solid var(--h-line);
}
.wwrv-block-spot-foot .wwrv-block-meta { color: var(--h-soft); font-size: 13px; }
.wwrv-block-spot-foot .wwrv-block-meta strong { color: var(--h-ink); }

/* ---- grid: aggregate header + cards ---- */
.wwrv-block--grid { gap: 18px; }
.wwrv-block-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	flex-wrap: wrap;
}
.wwrv-block-head .wwrv-block-summary { margin: 0; }
.wwrv-block-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
}
.wwrv-block-grid .wwrv-block-item {
	padding: 18px;
	border: 1px solid var(--h-line);
	border-radius: 12px;
	background: var(--h-card);
	gap: 7px;
}
