.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;
}

@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;
	}
}
