/* BlueWave Featured Posts — scope: .bw-posts */
.bw-posts { display: block; }

.bw-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.bw-posts__card {
	border-radius: 22px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e8e5db;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bw-posts__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 38px rgba(2, 30, 45, 0.14);
}

.bw-posts__img {
	position: relative;
	aspect-ratio: 4 / 3;
	background-size: cover;
	background-position: center;
	background-color: #f2ebdc;
	overflow: hidden;
}

/* Warm BlueWave gradient overlay (same as bw-industries__pic). Fades away on
   hover; toggled off entirely via the .bw-posts--img-grad-yes wrapper class. */
.bw-posts--img-grad-yes .bw-posts__img::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(135deg, rgba(241, 194, 134, 0.32) 0%, rgba(186, 132, 84, 0.28) 100%),
		linear-gradient(180deg, rgba(60, 38, 22, 0.05) 25%, rgba(40, 26, 14, 0.85) 100%);
	opacity: 1;
	transition: opacity 0.35s ease;
}
.bw-posts--img-grad-yes .bw-posts__card:hover .bw-posts__img::after {
	opacity: 0;
}

.bw-posts__body {
	padding: 22px 24px 26px;
}

.bw-posts__meta {
	display: block;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #0e547a;
	font-weight: 400;
}

.bw-posts__title {
	font-family: var(--display, "Stack Sans Headline", "Helvetica Neue", Arial, sans-serif);
	font-size: 22px;
	color: #023c5a;
	margin: 8px 0 10px;
	line-height: 1.2;
}

.bw-posts__excerpt {
	color: #5b6b75;
	font-size: 14.5px;
	margin: 0;
}

.bw-posts__empty {
	color: #5b6b75;
	font-style: italic;
	text-align: center;
	padding: 24px;
}

/* CTA */
.bw-posts__cta {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}
.bw-posts__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 999px;
	border: 1.5px solid #023c5a;
	background: #023c5a;
	color: #f2ebdc;
	text-decoration: none;
	font-weight: 700;
	font-size: 16px;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.bw-posts__cta-btn:hover {
	background: #0e547a;
	border-color: #0e547a;
	transform: translateY(-1px);
}
.bw-posts__cta-btn:hover .bw-btn-arrow { transform: translateX(3px); }
