/* ─── Feature Grid Widget ────────────────────────────────────────────────── */

.hbc-fg-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	width: 100%;
}

.hbc-fg-card {
	position: relative;
	padding: 30px 24px;
	background: #f5f5f5;
	border-right: 1px solid #e8e8e8;
	border-top: 1px solid #e8e8e8;
	border-bottom: 1px solid #e8e8e8;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.hbc-fg-card:first-child {
	border-left: 1px solid #e8e8e8;
}

/* Hover top border accent */
.hbc-fg-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #cc2222;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.hbc-fg-card:hover::before {
	transform: scaleX(1);
}

.hbc-fg-card:hover {
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* Icon */
.hbc-fg-icon {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
	color: #cc2222;
}

.hbc-fg-icon svg {
	width: 36px;
	height: 36px;
	display: block;
}

/* Title */
.hbc-fg-title {
	margin: 0 0 12px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: #111111;
}

/* Description */
.hbc-fg-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: #666666;
}

/* Link card */
a.hbc-fg-card:hover {
	text-decoration: none;
	color: inherit;
}

/* ─── Tablet (≤1024px) ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.hbc-fg-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.hbc-fg-card {
		border-left: 1px solid #e8e8e8;
	}
}

/* ─── Mobile (≤767px) ────────────────────────────────────────────────────── */
@media (max-width: 767px) {
	.hbc-fg-grid {
		grid-template-columns: 1fr;
	}
	.hbc-fg-card {
		border-left: 1px solid #e8e8e8;
	}
}
