/* ==========================================================================
   Hotbox Grid module
   ========================================================================== */
.hotbox-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.hotbox-grid.cols-1 {
	grid-template-columns: 1fr;
}
.hotbox-grid.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}
.hotbox-grid.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}
.hotbox-card {
	position: relative;
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	height: 460px;
	box-shadow: var(--shadow-md);
	background: var(--navy-mid);
	text-decoration: none;
}
/* Hover lift/zoom and the pointer cursor only apply when the card is an
   actual link (link_url set) — an unlinked card shouldn't look clickable. */
a.hotbox-card {
	cursor: pointer;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}
a.hotbox-card:hover {
	transform: translateY(-8px) scale(1.01);
	box-shadow: var(--shadow-lg);
}
a.hotbox-card:hover .hotbox-img {
	transform: scale(1.08);
}
a.hotbox-card:hover .hotbox-overlay {
	background: linear-gradient(0deg, rgba(10, 35, 66, 0.96) 0%, rgba(10, 35, 66, 0.70) 50%, rgba(10, 35, 66, 0.25) 100%);
}
.hotbox-card .hotbox-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.hotbox-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 35, 66, 0.92) 0%, rgba(10, 35, 66, 0.55) 45%, rgba(10, 35, 66, 0.15) 100%);
	transition: background 0.35s ease;
}
.hotbox-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 36px 32px 32px;
	z-index: 2;
}
.hotbox-icon {
	width: 52px;
	height: 52px;
	background: var(--gold);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	color: #fff!important;
	margin-bottom: 14px;
	box-shadow: 0 4px 12px rgba(201, 150, 58, 0.4);
}
.hotbox-grid .hotbox-body h3 {
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
	line-height: 1.3;
}
.hotbox-body p {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.6;
	margin-bottom: 18px;
}
.hotbox-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gold-light);
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
	transition: gap 0.2s;
}
.hotbox-link:hover {
	gap: 10px;
}

@media (max-width: 960px) {
	/* .cols-1/.cols-2 already sit at or below 2 columns, so they're left alone here —
	   this only needs to cap the wider variants (base's 3, and .cols-4) at 2. */
	.hotbox-grid,
	.hotbox-grid.cols-4 {
		grid-template-columns: 1fr 1fr;
	}
	.hotbox-card {
		height: 400px;
	}
}
@media (max-width: 680px) {
	.hotbox-grid,
	.hotbox-grid.cols-2,
	.hotbox-grid.cols-4 {
		grid-template-columns: 1fr;
	}
	.hotbox-card {
		height: 360px;
	}
}
