.bfg-rm-frontend {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.bfg-rm-section .bfg-rm-heading {
	font-size: 1.25em;
	margin-bottom: 14px;
}

.bfg-rm-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 20px;
}

.bfg-rm-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: inherit;
}

.bfg-rm-card .bfg-rm-avatar img {
	border-radius: 50%;
	width: 96px;
	height: 96px;
	object-fit: cover;
}

.bfg-rm-card .bfg-rm-name {
	margin-top: 8px;
	font-weight: 600;
	font-size: 0.95em;
}

.bfg-rm-card .bfg-rm-location {
	margin-top: 2px;
	font-size: 0.8em;
	color: #646970;
}

.bfg-rm-card .bfg-rm-role {
	margin-top: 4px;
	font-size: 0.82em;
	color: #3c434a;
}

.bfg-rm-card .bfg-rm-scil-badge {
	margin-top: 6px;
	display: inline-block;
	font-size: 0.72em;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #1d4ed8;
	background: #eef2ff;
	border-radius: 999px;
	padding: 3px 10px;
}

@media (max-width: 480px) {
	.bfg-rm-grid {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
		gap: 14px;
	}

	.bfg-rm-card .bfg-rm-avatar img {
		width: 72px;
		height: 72px;
	}
}