/**
 * Customer spotlight
 *
 * The section partials in /partials/customer-spotlight/ and their full-story
 * modals. Any page that calls on1_customer_spotlight() loads this sheet.
 *
 * @copyright   2026, ON1
 */

/* !- Photo */
.customer-spotlight .spotlight-figure {
	border-radius: var(--border-radius);
	margin: 0;
	overflow: hidden;
	position: relative;
}

.customer-spotlight .spotlight-figure img {
	display: block;
	height: auto;
	width: 100%;
}

.customer-spotlight .spotlight-badge {
	backdrop-filter: blur(6px);
	background: rgba(30, 30, 30, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 50rem;
	bottom: 1.25rem;
	color: #fff;
	display: inline-block;
	font-size: var(--text-mini);
	font-style: normal;
	font-weight: 600;
	left: 1.25rem;
	padding: 0.5rem 0.875rem;
	position: absolute;
	z-index: 2;
}

.customer-spotlight .spotlight-badge i {
	color: var(--green-300);
	margin-right: 0.375rem;
}

/* !- Story */
.customer-spotlight .spotlight-quote {
	border: 0;
	font-style: normal;
	margin: 0 0 1.75rem;
	padding: 0;
}

.customer-spotlight .spotlight-quote::before {
	color: var(--green-500);
	content: '\201C';
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4rem;
	font-weight: 700;
	height: 2.25rem;
	line-height: 1;
	opacity: 0.4;
}

.customer-spotlight .spotlight-quote p {
	color: var(--text-50);
	font-size: var(--text-xl);
	line-height: 1.6;
	margin: 0;
}

.customer-spotlight .spotlight-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
}

.customer-spotlight .spotlight-tools li {
	background: var(--green-transparent);
	border: 1px solid var(--green-600);
	border-radius: 50rem;
	color: var(--text-100);
	font-size: var(--text-mini);
	font-weight: 600;
	padding: 0.4375rem 0.8125rem;
}

/* !- Author */
.customer-spotlight .spotlight-author {
	align-items: center;
	border-top: 1px solid var(--bg-700);
	display: flex;
	gap: 0.875rem;
	margin-bottom: 1.75rem;
	padding-top: 1.5rem;
}

.customer-spotlight .spotlight-avatar {
	align-items: center;
	background: linear-gradient(-40deg, var(--green-500), var(--blue-500));
	border-radius: 50%;
	color: #fff;
	display: flex;
	flex: 0 0 auto;
	font-size: var(--text-sm);
	font-weight: 700;
	height: 3.25rem;
	justify-content: center;
	width: 3.25rem;
}

.customer-spotlight .spotlight-name {
	color: var(--text-50);
	font-weight: 700;
	margin: 0;
}

.customer-spotlight .spotlight-name i {
	color: var(--blue-500);
	font-size: var(--text-sm);
	margin-left: 0.25rem;
}

.customer-spotlight .spotlight-role {
	color: var(--text-400);
	font-size: var(--text-xs);
	margin: 0.125rem 0 0;
}

.customer-spotlight .spotlight-story-link {
	background: none;
	border: 0;
	color: var(--link-alt);
	font-weight: 600;
	padding: 0;
}

.customer-spotlight .spotlight-story-link i {
	margin-left: 0.25rem;
}

/* !- Full-story modal */
.spotlight-modal .modal-body {
	color: var(--text-300);
	padding: 2.5rem;
}

.spotlight-modal .modal-body > :last-child {
	margin-bottom: 0;
}

.spotlight-modal h2,
.spotlight-modal h3 {
	color: var(--text-50);
}

.spotlight-modal .spotlight-modal-img {
	border-radius: var(--border-radius);
	margin-bottom: 1.75rem;
}

.spotlight-modal h2 {
	font-size: var(--text-3xl);
	margin-bottom: 0.25rem;
}

.spotlight-modal .spotlight-modal-byline {
	color: var(--text-400);
	font-size: var(--text-sm);
	margin-bottom: 1.75rem;
}

.spotlight-modal h3 {
	font-size: var(--text-lg);
	margin: 2rem 0 0.75rem;
}

.spotlight-modal .spotlight-modal-specs {
	color: var(--text-400);
	font-size: var(--text-sm);
}

@media (max-width: 575.98px) {
	.spotlight-modal .modal-body {
		padding: 1.5rem;
	}
}
