.sab-author-box,
.sab-author-box *,
.sab-author-box *::before,
.sab-author-box *::after {
	box-sizing: border-box;
}

.sab-author-box {
	--sab-accent: #c8623f;
	--sab-dark: #23272b;
	--sab-light: #f4eadc;
	--sab-radius: 14px;
	--sab-max-width: 1100px;

	overflow: hidden;
	width: 100%;
	max-width: var(--sab-max-width);
	margin: 28px auto;
	border-radius: var(--sab-radius);
	background: var(--sab-dark);
	color: #f7f5f1;
	box-shadow: 0 10px 28px rgba(25, 29, 32, 0.16);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.sab-author-main {
	display: grid;
	grid-template-columns: minmax(180px, 30%) minmax(0, 70%);
	min-height: 315px;
}

.sab-author-visual {
	position: relative;
	overflow: hidden;
	min-height: 315px;
	background: var(--sab-light);
}

.sab-author-visual::after {
	position: absolute;
	top: -6%;
	right: -27px;
	width: 54px;
	height: 112%;
	border-radius: 50%;
	background: var(--sab-dark);
	box-shadow: -6px 0 0 var(--sab-accent);
	content: "";
}

.sab-author-texture {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 20%, rgba(255,255,255,0.5), transparent 38%),
		linear-gradient(35deg, transparent 48%, rgba(91,74,52,0.06) 49%, transparent 51%);
	background-size: auto, 34px 34px;
}

.sab-author-image-wrap {
	position: absolute;
	inset: 0 4% 0 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.sab-author-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.sab-author-placeholder {
	position: absolute;
	top: 50%;
	left: 44%;
	z-index: 2;
	display: grid;
	width: 118px;
	height: 118px;
	transform: translate(-50%, -50%);
	border: 3px solid rgba(255,255,255,0.78);
	border-radius: 50%;
	background: linear-gradient(145deg, #b9a58c, #806e59);
	color: #fff;
	font-size: 28px;
	font-weight: 800;
	place-items: center;
}

.sab-author-content {
	padding: 32px 38px 28px;
	background:
		linear-gradient(rgba(35,39,43,0.97), rgba(35,39,43,0.97)),
		radial-gradient(circle at 20% 20%, rgba(255,255,255,0.07), transparent 45%);
}

.sab-eyebrow-row {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-bottom: 13px;
}

.sab-eyebrow {
	color: var(--sab-accent);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sab-eyebrow-line {
	flex: 1;
	height: 2px;
	background: linear-gradient(90deg, var(--sab-accent), transparent);
}

.sab-author-content h2 {
	margin: 0 0 8px;
	color: #fff !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 700;
	line-height: 0.98;
}

.sab-author-role {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 0 17px !important;
	color: #e6d5bd !important;
	font-size: 0.98rem;
}

.sab-author-role strong {
	color: #fff;
}

.sab-author-content > p:not(.sab-author-role) {
	margin: 0 0 13px !important;
	color: rgba(255,255,255,0.84) !important;
	font-size: 0.9rem;
	line-height: 1.5;
}

.sab-author-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.sab-button {
	display: inline-flex;
	gap: 9px;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 10px 18px;
	border: 2px solid transparent;
	border-radius: 7px;
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none !important;
	transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}

.sab-button:hover {
	transform: translateY(-1px);
}

.sab-button-primary {
	background: var(--sab-accent);
	color: #fff !important;
}

.sab-button-primary:hover {
	filter: brightness(0.92);
}

.sab-button-secondary {
	border-color: var(--sab-accent);
	color: #fff !important;
	background: transparent;
}

.sab-button-secondary:hover {
	background: rgba(255,255,255,0.06);
}

.sab-button-icon {
	display: grid;
	width: 24px;
	height: 24px;
	border: 2px solid currentColor;
	border-radius: 50%;
	font-size: 14px;
	place-items: center;
}

.sab-user-icon {
	position: relative;
	display: inline-block;
	width: 22px;
	height: 22px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.sab-user-icon::after {
	position: absolute;
	right: -4px;
	bottom: -8px;
	left: -4px;
	height: 10px;
	border: 2px solid currentColor;
	border-top: 0;
	border-radius: 0 0 16px 16px;
	content: "";
}

.sab-trust-row {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: center;
	padding: 14px 20px;
	border-top: 1px solid rgba(255,255,255,0.12);
	background: #1d2023;
	color: #fff;
	font-size: 0.84rem;
	font-weight: 650;
	text-align: center;
}

.sab-shield {
	display: inline-flex;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	color: var(--sab-accent);
}

.sab-shield svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.sab-dot {
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--sab-accent);
}

/* Keep the horizontal card layout through normal article widths. */
@media (max-width: 680px) {
	.sab-author-main {
		grid-template-columns: minmax(150px, 31%) minmax(0, 69%);
		min-height: 300px;
	}

	.sab-author-visual {
		min-height: 300px;
	}

	.sab-author-content {
		padding: 26px 24px 24px;
	}

	.sab-author-content h2 {
		font-size: 2.25rem;
	}

	.sab-author-role,
	.sab-author-content > p:not(.sab-author-role) {
		font-size: 0.82rem;
	}

	.sab-button {
		padding-right: 14px;
		padding-left: 14px;
	}
}

/* Stack only on genuinely narrow phones. */
@media (max-width: 520px) {
	.sab-author-box {
		margin-top: 22px;
		margin-bottom: 22px;
	}

	.sab-author-main {
		grid-template-columns: 1fr;
	}

	.sab-author-visual {
		min-height: 260px;
	}

	.sab-author-visual::after {
		display: none;
	}

	.sab-author-image-wrap {
		inset: 0;
	}

	.sab-author-content {
		padding: 28px 22px;
	}

	.sab-author-actions {
		flex-direction: column;
	}

	.sab-button {
		width: 100%;
	}

	.sab-trust-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 9px;
		text-align: left;
	}

	.sab-dot {
		display: none;
	}
}
