/**
 * Modern insights index.
 */
:root {
	--insight-ink: #17243d;
	--insight-muted: #607086;
	--insight-blue: #2879c7;
	--insight-green: #80bf2f;
	--insight-line: #dfe7ef;
	--insight-surface: #f6f9fc;
}

.insights-v2-page {
	min-height: 100vh;
	color: var(--insight-ink);
	background: #fff;
}

.insights-v2-shell {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.insights-v2-hero {
	position: relative;
	overflow: hidden;
	padding: 82px 0 78px;
	background:
		radial-gradient(circle at 7% 24%, rgba(128, 191, 47, .2) 0 145px, transparent 146px),
		radial-gradient(circle at 93% 8%, rgba(40, 121, 199, .13) 0 165px, transparent 166px),
		linear-gradient(135deg, #f2fbf6, #eef7ff);
}

.insights-v2-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 850px;
	text-align: center;
}

.insights-v2-eyebrow {
	display: inline-block;
	margin-bottom: 13px;
	color: #578c1d;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.insights-v2-hero h1 {
	margin: 0 auto 18px;
	font-size: clamp(43px, 5.5vw, 65px);
	line-height: 1.04;
	letter-spacing: -.05em;
}

.insights-v2-hero p {
	max-width: 720px;
	margin: 0 auto;
	color: #506176;
	font-size: 18px;
	line-height: 1.65;
}

.insights-v2-content {
	padding-top: 52px;
	padding-bottom: 92px;
}

.insights-v2-discovery {
	display: grid;
	grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
	gap: 22px;
	align-items: center;
	margin-bottom: 42px;
}

.insights-v2-search {
	display: flex;
	min-height: 50px;
	padding: 0 15px;
	gap: 10px;
	align-items: center;
	color: #728096;
	background: #fff;
	border: 1px solid var(--insight-line);
	border-radius: 12px;
	box-shadow: 0 7px 18px rgba(23, 36, 61, .04);
}

.insights-v2-search:focus-within {
	border-color: var(--insight-blue);
	box-shadow: 0 0 0 3px rgba(40, 121, 199, .12);
}

.insights-v2-search input {
	width: 100%;
	padding: 0;
	color: var(--insight-ink);
	background: transparent;
	border: 0;
	outline: 0;
	font: inherit;
	font-size: 14px;
}

.insights-v2-filters {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	justify-content: flex-end;
	scrollbar-width: none;
}

.insights-v2-filters::-webkit-scrollbar {
	display: none;
}

.insights-filter {
	min-height: 40px;
	padding: 9px 14px;
	color: var(--insight-muted);
	background: #fff;
	border: 1px solid var(--insight-line);
	border-radius: 999px;
	font: inherit;
	font-size: 12px;
	font-weight: 750;
	white-space: nowrap;
	cursor: pointer;
}

.insights-filter:hover,
.insights-filter.is-active {
	color: #fff;
	background: var(--insight-blue);
	border-color: var(--insight-blue);
}

.insights-v2-featured {
	margin-bottom: 44px;
}

.insights-v2-featured.is-empty {
	display: none;
}

.insight-card-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(350px, .82fr);
	min-height: 420px;
	overflow: hidden;
	background: var(--insight-surface);
	border: 1px solid var(--insight-line);
	border-radius: 20px;
	box-shadow: 0 16px 42px rgba(23, 36, 61, .08);
}

.insight-featured-image,
.insight-card-image {
	display: block;
	overflow: hidden;
	background: #eaf0f5;
}

.insight-featured-image img,
.insight-card-image img,
.insight-image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.insight-image-placeholder {
	background: linear-gradient(135deg, #dff0e8, #e3effa);
}

.insight-card:hover img {
	transform: scale(1.035);
}

.insight-featured-copy {
	display: flex;
	padding: 48px 42px;
	flex-direction: column;
	justify-content: center;
}

.insight-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 17px;
	color: var(--insight-muted);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.insight-card-meta span + span::before {
	content: "•";
	margin-right: 17px;
	color: #a7b3bf;
}

.insight-featured-copy h2 {
	margin: 18px 0 14px;
	font-size: clamp(27px, 3vw, 38px);
	line-height: 1.18;
	letter-spacing: -.035em;
}

.insight-card h2 a {
	color: var(--insight-ink);
	text-decoration: none;
}

.insight-card h2 a:hover {
	color: var(--insight-blue);
}

.insight-featured-copy > p,
.insight-card-content > p {
	margin: 0;
	color: var(--insight-muted);
	line-height: 1.65;
}

.insight-read-link {
	display: inline-flex;
	margin-top: 23px;
	gap: 8px;
	align-items: center;
	color: var(--insight-blue);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.insight-read-link:hover {
	text-decoration: underline;
}

.insights-v2-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.insight-card-standard {
	display: flex;
	min-width: 0;
	overflow: hidden;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--insight-line);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(23, 36, 61, .045);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.insight-card-standard:hover {
	border-color: rgba(40, 121, 199, .35);
	box-shadow: 0 15px 34px rgba(23, 36, 61, .09);
	transform: translateY(-3px);
}

.insight-card-image {
	height: 210px;
}

.insight-card-content {
	display: flex;
	min-height: 270px;
	padding: 24px;
	flex: 1;
	flex-direction: column;
}

.insight-card-content h2 {
	margin: 16px 0 11px;
	font-size: 20px;
	line-height: 1.35;
	letter-spacing: -.025em;
}

.insight-card-content > p {
	font-size: 14px;
}

.insight-card-content .insight-read-link {
	margin-top: auto;
	padding-top: 21px;
}

.insight-card.is-filtered-out {
	display: none;
}

.insights-v2-results {
	min-height: 20px;
	margin: 24px 0 0;
	color: var(--insight-muted);
	font-size: 13px;
	text-align: center;
}

.blog-load-more-wrapper {
	margin-top: 34px;
	text-align: center;
}

.blog-load-more-btn {
	display: inline-flex;
	min-height: 48px;
	padding: 12px 23px;
	align-items: center;
	justify-content: center;
	color: #fff !important;
	background: var(--insight-blue);
	border-radius: 10px;
	box-shadow: 0 9px 20px rgba(40, 121, 199, .2);
	font-size: 14px;
	font-weight: 750;
	text-decoration: none !important;
}

.blog-load-more-btn:hover {
	background: #165f9f;
}

.blog-load-more-btn.is-loading {
	opacity: .7;
	pointer-events: none;
}

.insights-v2-empty {
	padding: 80px 20px;
	text-align: center;
}

@media (max-width: 980px) {
	.insights-v2-discovery {
		grid-template-columns: 1fr;
	}

	.insights-v2-filters {
		justify-content: flex-start;
	}

	.insight-card-featured {
		grid-template-columns: 1fr;
	}

	.insight-featured-image {
		height: 380px;
	}

	.insights-v2-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.insights-v2-shell {
		width: min(100% - 32px, 1180px);
	}

	.insights-v2-hero {
		padding: 60px 0 56px;
	}

	.insights-v2-hero h1 {
		font-size: 41px;
	}

	.insights-v2-hero p {
		font-size: 16px;
	}

	.insights-v2-content {
		padding-top: 34px;
		padding-bottom: 68px;
	}

	.insights-v2-discovery {
		gap: 14px;
		margin-bottom: 28px;
	}

	.insight-featured-image {
		height: 230px;
	}

	.insight-featured-copy {
		padding: 29px 24px 32px;
	}

	.insights-v2-grid {
		grid-template-columns: 1fr;
	}

	.insight-card-image {
		height: 205px;
	}

	.insight-card-content {
		min-height: 0;
	}
}
