/*
 * Testimonial Spotlight — homepage [mr_testimonials]: rotating photo +
 * quote panel matching the homepage_5 reference.
 * @package log-core
 */

/* Reference's plain, unclassed #testiSection reads white via its white
   body. This site's body uses --paper sitewide by design, so #testimonials
   needs its own explicit white background to match (see #categories in
   log-cat-grid.css for the same fix). */
#testimonials {
	background: var(--white);
}

#testimonials .section-sub {
	margin: 12px auto 0;
}

.spot-wrap {
	border-radius: 28px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	min-height: 420px;
	box-shadow: 0 32px 80px -24px rgba(10, 10, 10, .22);
	background: var(--ink-900);
}

.spot-photo {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 40px;
	min-height: 300px;
	background: linear-gradient(145deg, var(--ink-900), var(--gold-600));
}

.spot-photo-grain {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 60% 30%, rgba(255, 255, 255, .10), transparent 70%), linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55) 100%);
	pointer-events: none;
}

.spot-photo-avatar {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -60%);
	font-family: var(--display);
	font-size: clamp(80px, 16vw, 160px);
	font-weight: 300;
	color: rgba(255, 255, 255, .10);
	line-height: 1;
	pointer-events: none;
}

.spot-name-tag {
	position: relative;
	z-index: 2;
}

.spot-name-tag .sn {
	font-family: var(--display);
	font-size: 22px;
	font-weight: 500;
	color: #fff;
	line-height: 1.2;
}

.spot-name-tag .sr {
	font-family: var(--mono, monospace);
	font-size: 11px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	margin-top: 5px;
}

.spot-stars-row {
	display: flex;
	gap: 3px;
	margin-bottom: 14px;
	position: relative;
	z-index: 2;
	min-height: 14px;
}

.spot-stars-row svg {
	width: 14px;
	height: 14px;
	fill: var(--gold-500);
	stroke: none;
}

.spot-quote-panel {
	padding: 48px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: var(--ink-950);
}

.spot-qmark {
	font-family: var(--display);
	font-size: 80px;
	line-height: .7;
	background: linear-gradient(110deg, var(--gold-600), var(--gold-400));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	height: 48px;
	margin-bottom: 8px;
	display: block;
}

.spot-qtext {
	font-family: var(--display);
	font-weight: 300;
	font-style: italic;
	font-size: clamp(18px, 2.2vw, 26px);
	line-height: 1.45;
	color: rgba(255, 255, 255, .9);
	flex: 1;
	margin: 0;
}

.spot-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 36px;
	flex-wrap: wrap;
	gap: 16px;
}

.spot-dots {
	display: flex;
	gap: 10px;
	align-items: center;
}

.spot-dot {
	height: 4px;
	border-radius: 4px;
	border: none;
	padding: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, .2);
	transition: width .4s cubic-bezier(.16, 1, .3, 1), background .3s;
	width: 28px;
}

.spot-dot.active {
	background: var(--gold-600);
	width: 52px;
}

.spot-counter {
	font-family: var(--mono, monospace);
	font-size: 12px;
	letter-spacing: .1em;
	color: rgba(255, 255, 255, .35);
}

.spot-nav {
	display: flex;
	gap: 10px;
}

.spot-nav-btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .7);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	transition: all .25s;
}

.spot-nav-btn:hover {
	background: rgba(255, 255, 255, .14);
	color: #fff;
	border-color: rgba(255, 255, 255, .4);
}

@media (max-width: 700px) {
	.spot-wrap {
		grid-template-columns: 1fr;
	}

	.spot-photo {
		min-height: 200px;
		padding: 28px;
	}

	.spot-photo-avatar {
		font-size: 80px;
	}

	.spot-quote-panel {
		padding: 28px 24px;
	}

	.spot-qtext {
		font-size: 16px;
	}
}