/*
 * Virginia Master Maintenance — Insights Page Styles
 * Brand color: #6b8fa8 | Background: #111111 | Font: "Inter", sans-serif
 */

/* -----------------------------------------------
   Hero Banner
----------------------------------------------- */

.vmm-insights-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.vmm-insights-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

.vmm-insights-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(17, 17, 17, 0.45) 0%,
		rgba(17, 17, 17, 0.60) 50%,
		rgba(17, 17, 17, 0.90) 82%,
		rgba(17, 17, 17, 1.00) 100%
	);
	z-index: 1;
}

/* Bottom-to-section fade — consistent with site-wide hero pattern */
.vmm-insights-hero::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 160px;
	background: linear-gradient(to bottom, transparent 0%, #111111 100%);
	pointer-events: none;
	z-index: 2;
}

.vmm-insights-hero__content {
	position: relative;
	z-index: 3;
	max-width: 760px;
	padding: 0 clamp(2rem, 6vw, 5rem);
}

.vmm-insights-hero__title {
	font-size: clamp(2.6rem, 5.5vw, 5rem);
	font-weight: 600;
	color: #ffffff;
	line-height: 1.1;
	font-family: "Inter", sans-serif;
	margin: 0 0 1.25rem;
}

.vmm-insights-hero__rule {
	width: 200px;
	height: 3px;
	background-color: #6b8fa8;
	border: none;
	margin: 0 0 2rem;
}

.vmm-insights-hero__sub {
	font-size: clamp(1rem, 2vw, 1.3rem);
	color: #dce8f0;
	line-height: 1.7;
	margin: 0;
	max-width: 560px;
}

/* -----------------------------------------------
   Insights Grid Section
----------------------------------------------- */

.vmm-insights {
	background-color: #111111;
	padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 6vw, 5rem);
}

.vmm-insights__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.vmm-insights__heading {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	line-height: 1.15;
	margin: 0 0 1rem;
}

.vmm-insights__rule {
	width: 200px;
	height: 3px;
	background-color: #6b8fa8;
	border: none;
	margin: 0 0 3rem;
}

.vmm-insights__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

/* -----------------------------------------------
   Card
----------------------------------------------- */

.vmm-insights__card {
	background-color: #1a1a1a;
	border: 1px solid rgba(107, 143, 168, 0.15);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.vmm-insights__card-img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.vmm-insights__card-body {
	padding: 1.5rem;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.vmm-insights__card-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #ffffff;
	font-family: "Inter", sans-serif;
	line-height: 1.35;
	margin: 0;
}

.vmm-insights__card-excerpt {
	font-size: 0.95rem;
	color: #8fa8bc;
	line-height: 1.7;
	margin: 0;
	flex: 1;
}

.vmm-insights__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 700;
	font-family: "Inter", sans-serif;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-top: 0.5rem;
	transition: gap 0.2s ease;
}

.vmm-insights__card-link:hover {
	gap: 1rem;
}

.vmm-insights__card-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background-color: var(--wp--preset--color--brand);
	font-size: 1rem;
	flex-shrink: 0;
	transition: background-color 0.2s ease;
}

.vmm-insights__card-link:hover .vmm-insights__card-arrow {
	background-color: var(--vmm-brand-hover);
}

/* -----------------------------------------------
   Responsive
----------------------------------------------- */

@media (max-width: 960px) {
	.vmm-insights__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 580px) {
	.vmm-insights__grid {
		grid-template-columns: 1fr;
	}
}
