/* ============================================================
   Vendavo Speaker Grid  –  vendavo-speaker-grid.css
   ============================================================ */

/* ── Wrapper ───────────────────────────────────────────────── */
.vsg {
	width: 100%;
}

/* ── Grid ──────────────────────────────────────────────────── */
.vsg-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* ── Card ──────────────────────────────────────────────────── */
.vsg-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	text-align: left;
	padding: 0;
	background-color: transparent;
	border-radius: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vsg-card:hover {
	transform: translateY(-3px);
}

.vsg-card__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vsg-card--placeholder {
	pointer-events: none;
}

/* ── Avatar ────────────────────────────────────────────────── */
.vsg-avatar {
	width: 130px;
	height: 130px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 0;
	margin-right: 20px;
	flex-shrink: 0;
}

.vsg-avatar__wrap {
	display: block;
	width: 100%;
	height: 100%;
}

.vsg-avatar__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

/* Fallback / placeholder circle */
.vsg-avatar__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background-color: #3AC8B0;
	color: #ffffff;
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

/* ── Speaker Name ──────────────────────────────────────────── */
.vsg-name {
	margin: 0;
	font-family: 'Arvo', serif;
	font-style: normal;
	font-weight: 700;
	font-size: 20px;
	line-height: 28px;
	letter-spacing: -0.02em;
	color: #2D234B;
}

/* ── Job Title ─────────────────────────────────────────────── */
.vsg-job {
	margin: 0;
	font-family: 'Arvo', serif;
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 25px;
	letter-spacing: -0.02em;
	color: #2D234B;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.vsg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.vsg-grid {
		grid-template-columns: 1fr;
	}

	.vsg-avatar {
		width: 100px;
		height: 100px;
	}
}
