.rfi-grid-wrapper {
	width: 100%;
}

/* FLEX GRID CONTAINER */
.rfi-grid {
	display: flex;
	flex-wrap: wrap;
	gap:15px;
}

/* ===== DESKTOP: 4-wide ===== */
.rfi-grid-item {
	display: block;
	width: calc(25% - 15px);
	padding: 10px;       /* 10px on each side → 20px gaps overall */
	box-sizing: border-box;

	/* TILE LOOK */
	height: 250px;       /* <<< set your desired tile height */
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	border-radius: 6px;
	overflow: hidden;
	text-decoration: none;
	position: relative;
}
.rfi-grid-item:hover:after{
	content:'';
	background: rgba(0,0,0,.2);
	position: absolute;
	top:0;right:0;left:0;bottom:0;
}

/* ===== TABLET: 2-wide ===== */
@media (max-width: 1024px) {
	.rfi-grid-item {
		flex: 0 0 50%;
		max-width: 50%;
	}
}

/* ===== MOBILE: 1-wide ===== */
@media (max-width: 640px) {
	.rfi-grid-item {
		flex: 0 0 100%;
		max-width: 100%;
	}
}
