/**
 * Speaker Showcase - Frontend Styles
 * Scoped with .spsh- prefix so nothing leaks into the theme.
 */

.spsh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	margin: 30px 0;
}

.spsh-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	display: flex;
	flex-direction: column;
}

.spsh-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.spsh-card-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f3f4f6;
}

.spsh-card-image img,
.spsh-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.spsh-photo-placeholder {
	background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
	position: relative;
}

.spsh-photo-placeholder::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50%;
	height: 50%;
	background: #9ca3af;
	border-radius: 50%;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/></svg>") center/contain no-repeat;
	        mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/></svg>") center/contain no-repeat;
}

.spsh-card-body {
	padding: 18px 18px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.spsh-name {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
}

.spsh-designation {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: #2563eb;
	line-height: 1.4;
}

.spsh-organization {
	margin: 0 0 12px;
	font-size: 14px;
	color: #6b7280;
	line-height: 1.4;
}

.spsh-socials {
	display: flex;
	gap: 10px;
	margin-top: auto;
	padding-top: 12px;
}

.spsh-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f3f4f6;
	color: #4b5563;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.spsh-social:hover {
	transform: scale(1.08);
}

.spsh-social-linkedin:hover {
	background: #0a66c2;
	color: #fff;
}

.spsh-social-instagram:hover {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
	color: #fff;
}

.spsh-empty {
	padding: 30px;
	text-align: center;
	color: #6b7280;
	background: #f9fafb;
	border-radius: 8px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
	.spsh-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
		gap: 18px;
	}

	.spsh-name {
		font-size: 16px;
	}
}
