/* Card Grid (bento) --------------------------------------------------------- */
.fc_card_grid { background: #F7F7F7; }
.card-grid-section { padding: 64px 0; }
@media (min-width: 1024px) { .card-grid-section { padding: 96px 0; } }

.card-grid-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.card-grid-heading {
	font-family: var(--font-serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 300;
	color: #1a1a1a;
	margin: 0 0 .75rem;
	letter-spacing: -.01em;
}
.card-grid-intro { font-size: 1.05rem; font-weight: 300; color: #555; margin: 0; }

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 320px;
	gap: 24px;
}
.bento-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
}
/* 4-card bento arrangement */
.bento-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.bento-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.bento-card:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
.bento-card:nth-child(4) { grid-column: 3; grid-row: 1 / span 2; }

.bento-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.bento-card:hover .bento-img { transform: scale(1.05); }
.bento-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,.8), rgba(0,0,0,.3) 45%, rgba(0,0,0,.8));
}
.bento-top { position: absolute; top: 24px; left: 24px; right: 24px; z-index: 2; max-width: 85%; }
.bento-title { font-family: var(--font-sans); font-size: 1.6rem; font-weight: 400; color: #fff; margin: 0 0 .5rem; letter-spacing: .01em; }
.bento-desc { color: rgba(255,255,255,.9); font-size: .95rem; font-weight: 300; margin: 0; }
.bento-cta { position: absolute; bottom: 24px; right: 24px; z-index: 2; }
.bento-cta .btn-outline-light { padding: .65em 1.4em; font-size: 12px; }

@media (max-width: 991px) {
	.card-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 280px; }
	.bento-card:nth-child(1) { grid-column: 1; grid-row: 1; }
	.bento-card:nth-child(2) { grid-column: 2; grid-row: 1; }
	.bento-card:nth-child(3) { grid-column: 1 / span 2; grid-row: 2; }
	.bento-card:nth-child(4) { grid-column: 1 / span 2; grid-row: 3; }
}
@media (max-width: 560px) {
	.card-grid { grid-template-columns: 1fr; }
	.bento-card, .bento-card:nth-child(n) { grid-column: 1 !important; grid-row: auto !important; height: 280px; }
}
