/**
 * Shared styling for the data-driven marketing pages
 * (About, Services, Industries, landing pages, generic page.php, 404).
 * Deliberately small — most layout uses the Tailwind CDN utilities and
 * the existing homepage component classes (.wc-card, .faq-*, .stat-card,
 * .techstack-pill, .site-bg-grid).
 */

/* Clear the fixed floating header */
.exergy-page-hero {
	padding-top: 190px;
	padding-bottom: 5rem;
}

@media (max-width: 767px) {
	.exergy-page-hero {
		padding-top: 150px;
		padding-bottom: 3.5rem;
	}
}

.exergy-page main,
.exergy-page-main {
	overflow-x: hidden;
}

/* Prose container for generic pages */
.exergy-prose {
	color: #374151;
	font-weight: 300;
	line-height: 1.8;
}
.exergy-prose h2 {
	color: #0D2C40;
	font-weight: 800;
	font-size: 1.9rem;
	margin: 2.5rem 0 1rem;
}
.exergy-prose h3 {
	color: #0D2C40;
	font-weight: 700;
	font-size: 1.35rem;
	margin: 2rem 0 0.75rem;
}
.exergy-prose p {
	margin-bottom: 1.25rem;
}
.exergy-prose ul {
	list-style: disc;
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
}
.exergy-prose a {
	color: #FF0032;
	text-decoration: underline;
}

/* Capability / benefit cards reuse Tailwind utilities in markup;
   this just gives the icon badge a consistent look. */
.exergy-cap-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.9rem;
	background: rgba(255, 0, 50, 0.08);
	color: #FF0032;
	font-size: 1.15rem;
	margin-bottom: 1.25rem;
	transition: background 0.35s ease, color 0.35s ease, transform 0.35s ease;
}
.exergy-cap-card:hover .exergy-cap-icon {
	background: #FF0032;
	color: #fff;
	transform: translateY(-2px);
}

/* Related-pages links */
.exergy-related-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1rem;
}

@media (prefers-reduced-motion: reduce) {
	.exergy-cap-icon {
		transition: none;
	}
}
