/**
 * Zuukalabs staff cards.
 */

.zls,
.zls * {
	box-sizing: border-box;
}

.zls {
	--zls-red: #993133;
	--zls-label: #993133;
	--zls-title: #993133;
	--zls-intro: #6b6b6b;
	--zls-accent: #c6a15b;
	--zls-name: #993133;
	--zls-role: #6b6b6b;
	--zls-member-role: #6b6b6b;
	--zls-featured-name: #993133;
	--zls-featured-bg: #ffffff;
	--zls-card: #ffffff;
	--zls-line: #efe8df;
	--zls-badge: #f4e9d6;
	--zls-badge-text: #993133;
	--zls-social: #993133;
	--zls-social-hover: #993133;
	--zls-social-hover-text: #ffffff;
	--zls-cols: 4;
	color: var(--zls-role);
}

.zls-font-poppins,
.zls-font-poppins .zls-featured-name,
.zls-font-poppins .zls-title,
.zls-font-poppins .zls-label,
.zls-font-poppins .zls-name,
.zls-font-poppins .zls-role,
.zls-font-poppins .zls-badge,
.zls-font-poppins .zls-intro,
.zls-font-poppins .zls-featured-role {
	font-family: Poppins, sans-serif;
}

.zls-featured {
	display: flex;
	align-items: center;
	gap: 28px;
	max-width: 920px;
	margin: 0 auto 48px;
	padding: 16px 28px 16px 16px;
	background: var(--zls-featured-bg);
	border: 1px solid var(--zls-line);
	border-radius: 22px;
}

.zls-photo-right {
	flex-direction: row-reverse;
	padding: 16px 16px 16px 28px;
}

.zls-featured-photo {
	width: 260px;
	flex: 0 0 auto;
	padding: 10px;
	border: 1px solid #e9d9bd;
	border-radius: 20px;
	background: #ffffff;
}

.zls-featured-body {
	min-width: 0;
	text-align: left;
}

.zls-badge {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--zls-badge);
	color: var(--zls-badge-text);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	line-height: 1.2;
	text-transform: uppercase;
}

.zls-featured-name,
.zls-title,
.zls-label,
.zls-intro,
.zls-name,
.zls-role,
.zls-featured-role {
	margin: 0;
}

.zls-featured-name {
	color: var(--zls-featured-name);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.15;
}

.zls-featured-name a,
.zls-name a {
	color: inherit;
	text-decoration: none;
}

.zls-featured-name a:hover,
.zls-name a:hover {
	text-decoration: underline;
}

.zls-featured-role {
	margin-top: 10px;
	color: var(--zls-role);
	font-size: 16px;
	line-height: 1.5;
}

.zls-head {
	max-width: 720px;
	margin: 0 auto 28px;
}

.zls-label {
	margin-bottom: 8px;
	color: var(--zls-label);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 2px;
	line-height: 1.3;
	text-transform: uppercase;
}

.zls-title {
	color: var(--zls-title);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.15;
}

.zls-intro {
	margin-top: 10px;
	color: var(--zls-intro);
	font-size: 16px;
	line-height: 1.5;
}

.zls-accent {
	width: 48px;
	height: 3px;
	margin-top: 14px;
	border-radius: 2px;
	background: var(--zls-accent);
}

.zls-align-left .zls-head {
	margin-left: 0;
	text-align: left;
}

.zls-align-left .zls-accent {
	margin-right: auto;
	margin-left: 0;
}

.zls-align-center .zls-head {
	text-align: center;
}

.zls-align-center .zls-accent {
	margin-right: auto;
	margin-left: auto;
}

.zls-align-right .zls-head {
	margin-right: 0;
	text-align: right;
}

.zls-align-right .zls-accent {
	margin-right: 0;
	margin-left: auto;
}

.zls-grid {
	display: grid;
	grid-template-columns: repeat(var(--zls-cols, 4), minmax(0, 1fr));
	gap: 18px;
	text-align: left;
}

.zls-card {
	min-width: 0;
	padding: 16px 16px 18px;
	background: var(--zls-card);
	border: 1px solid var(--zls-line);
	border-radius: 18px;
	text-align: center;
}

.zls-photo {
	background: #ffffff;
}

.zls-card .zls-photo {
	width: 100%;
	margin: 0 auto 14px;
	padding: 6px;
	border: 1px solid #eee5d7;
	border-radius: 16px;
	background: #fbf8f3;
}

.zls .zls-photo img.zls-img,
.zls .zls-photo .zls-photo-empty {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center top;
	border-radius: 14px;
}

.zls-photo-empty {
	background: #f3eee8;
}

.zls-name {
	color: var(--zls-name);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
}

.zls-role {
	margin-top: 4px;
	color: var(--zls-member-role);
	font-size: 12px;
	line-height: 1.4;
}

.zls-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.zls-card .zls-socials {
	justify-content: center;
}

.zls-featured .zls-socials {
	justify-content: flex-start;
}

.zls-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--zls-social);
	border-radius: 50%;
	background: transparent;
	color: var(--zls-social);
	line-height: 0;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.zls-social svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}

.zls-social:hover,
.zls-social:focus-visible {
	background: var(--zls-social-hover);
	border-color: var(--zls-social-hover);
	color: var(--zls-social-hover-text);
}

@media (max-width: 767px) {
	.zls-featured,
	.zls-photo-right {
		flex-direction: column;
		align-items: stretch;
		padding: 16px;
	}

	.zls-featured-photo {
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}

	.zls-featured-name {
		font-size: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zls-social {
		transition: none;
	}
}
