/* Reviewed By - trust box. rem-based so it stays compact regardless of theme font size. */
.revby-trust-box {
	--revby-border: #e2e5ea;
	--revby-muted: #64707e;
	--revby-accent: #1a7f5a;
	--revby-bg: transparent;

	background: var(--revby-bg);
	border: 1px solid var(--revby-border);
	border-radius: var(--revby-radius, 8px);
	padding: 1rem 1.15rem;
	margin: 1.5rem 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

.revby-row {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 0.65rem;
}

.revby-row:last-child {
	margin-bottom: 0;
}

.revby-avatar {
	flex: none;
}

.revby-avatar img {
	border-radius: 50%;
	display: block;
	width: 38px;
	height: 38px;
	object-fit: cover;
}

.revby-label {
	color: var(--revby-muted);
}

.revby-trust-box strong {
	font-weight: 650;
}

.revby-reviewer a {
	color: var(--revby-accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.revby-detail {
	color: var(--revby-muted);
}

.revby-credentials {
	display: block;
	color: var(--revby-muted);
	font-size: 0.85rem;
	margin-top: 0.1rem;
}

.revby-dates {
	color: var(--revby-muted);
	font-size: 0.82rem;
	display: block;
	margin-top: 0.75rem;
	padding-top: 0.65rem;
	border-top: 1px solid var(--revby-border);
}

/* Preset: card - soft filled card. */
.revby-preset-card {
	--revby-bg: #f7f8fa;

	border: none;
	box-shadow: 0 1px 3px rgba(20, 28, 40, 0.08);
}

/* Preset: badge - accent bar, no box. */
.revby-preset-badge {
	border: none;
	border-left: 3px solid var(--revby-accent);
	border-radius: 0;
	padding: 0.25rem 0 0.25rem 1rem;
}

/* Preset: inline - one compact byline, no box. Segments flow like a sentence:
   they stay on ONE line and only wrap mid-flow when they truly run out of room. */
.revby-preset-inline {
	border: none;
	background: none;
	padding: 0;
	margin: 0.75rem 0;
	font-size: 0.86rem;
	line-height: 1.9;
}

.revby-preset-inline .revby-row {
	display: inline;
	margin: 0;
}

.revby-preset-inline .revby-row + .revby-row::before {
	content: "|";
	color: var(--revby-border);
	margin: 0 0.55rem 0 0.35rem;
}

.revby-preset-inline .revby-avatar {
	display: inline-block;
	vertical-align: middle;
	margin-right: 0.35rem;
}

.revby-preset-inline .revby-avatar img {
	width: 22px;
	height: 22px;
	display: inline-block;
}

.revby-preset-inline .revby-credentials {
	display: none;
}

.revby-preset-inline .revby-dates {
	border: none;
	padding: 0;
	margin: 0;
	font-size: inherit;
	display: inline;
}

/* Bio card - rich profile card after the content. */
.revby-bio-card {
	--revby-border: #e2e5ea;
	--revby-muted: #64707e;
	--revby-accent: #1a7f5a;

	background: #f7f8fa;
	border-radius: var(--revby-radius, 8px);
	padding: 1.25rem 1.4rem;
	margin: 1.5rem 0;
	font-size: 0.9rem;
	line-height: 1.55;
}

.revby-bio-eyebrow {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--revby-muted);
	margin-bottom: 0.8rem;
}

.revby-bio-main {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.revby-bio-main .revby-avatar img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.revby-bio-name {
	margin: 0 0 0.35rem;
	font-size: 1rem;
}

.revby-bio-name a {
	color: var(--revby-accent);
	font-weight: 700;
	text-decoration: none;
}

.revby-bio-name a:hover {
	text-decoration: underline;
}

.revby-bio-name .revby-bio-title {
	font-weight: 650;
	margin-left: 0.25rem;
}

.revby-bio-text {
	color: var(--revby-muted);
}

.revby-bio-text p {
	margin: 0.3rem 0 0;
	font-size: inherit;
}

/* Editor placeholder for the block. */
.revby-editor-placeholder {
	color: var(--revby-muted);
	font-style: italic;
}

/* Small screens. */
@media (max-width: 600px) {
	.revby-trust-box {
		padding: 0.85rem 0.95rem;
	}

	.revby-bio-card {
		padding: 1rem 1.1rem;
	}

	.revby-bio-main .revby-avatar img {
		width: 56px;
		height: 56px;
	}

	.revby-avatar img {
		width: 34px;
		height: 34px;
	}

	.revby-preset-inline .revby-avatar img {
		width: 20px;
		height: 20px;
	}
}
