/*
 * Insights page — first block matches Home hero card; stage uses still image.
 * Closes inside the same home-stage frame pattern as FAQ / Solutions.
 *
 * site-shell: min(1348px, 100%) with 16px horizontal padding (see global.css).
 */

.page-template-page-insights .site-header,
.page-slug-insights .site-header {
	padding: 0;
}

.page-template-page-insights .site-main,
.page-slug-insights .site-main {
	padding: 0;
	max-width: 100%;
	background-color: transparent;
}

.page-template-page-insights .home-stage__frame,
.page-slug-insights .home-stage__frame {
	border: 1px solid rgba(100, 100, 102, 0.5);
}

.insights-stage__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	border-radius: inherit;
}

.insights-stage__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 32%;
	opacity: 0.86;
	border-radius: inherit;
}

.insights-stage__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(
		circle at 50% 34%,
		rgba(0, 0, 0, 0.04) 0%,
		rgba(0, 0, 0, 0.22) 70%,
		rgba(0, 0, 0, 0.32) 100%
	);
}

/*
 * Hero card: base rules in faq/hero.css. Insights title is two lines on desktop (br);
 * card width follows the title; line + description span the full card width.
 */
.page-template-page-insights .faq-hero__line,
.page-slug-insights .faq-hero__line {
	width: 100%;
	max-width: none;
}

/* Optional editor block below hero */
.insights-page__content {
	padding-top: clamp(1.5rem, 4vw, 3rem);
	padding-bottom: clamp(2rem, 5vw, 4rem);
}

.insights-page__entry {
	max-width: 72ch;
	margin-inline: auto;
	color: #e6e7eb;
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.55;
}

.insights-page__entry > *:first-child {
	margin-top: 0;
}

.insights-page__entry > *:last-child {
	margin-bottom: 0;
}

/* Featured topics: reuse home-insights components; spacing after hero (not home’s 190px). */
.insights-page-topics.home-insights {
	margin-top: clamp(40px, 7vw, 88px);
}

.insights-page-topics .home-insights__inner {
	width: 100%;
}

.insights-page-topics .home-insights__panel {
	margin-top: 0;
	padding-top: 0;
	padding-bottom: clamp(16px, 3vw, 24px);
}

/* No full-width grid / gradient bands behind the cards (Insights only). */
.insights-page-topics.home-insights::before {
	content: none;
	display: none;
}

.insights-page-topics .home-insights__panel::before,
.insights-page-topics .home-insights__panel::after {
	content: none;
	display: none;
}

.insights-page-topics .home-insights__grid::before {
	content: none;
	display: none;
}

/* Cards: semi-transparent; glow only inside, top and bottom corners. */
.insights-page-topics .home-insights__grid {
	align-items: stretch;
}

.insights-page-topics .home-insights-card {
	display: grid;
	grid-template-rows: subgrid;
	grid-row: span 3;
	min-height: 100%;
	background:
		radial-gradient(circle at 12% 88%, rgba(115, 172, 203, 0.06) 0%, rgba(115, 172, 203, 0.02) 46%, transparent 68%),
		radial-gradient(circle at 88% 12%, rgba(115, 172, 203, 0.05) 0%, transparent 62%),
		linear-gradient(180deg, rgba(20, 28, 43, 0.22) 0%, rgba(6, 10, 18, 0.12) 100%);
	border-color: rgba(184, 207, 237, 0.32);
	backdrop-filter: blur(10px) saturate(118%);
	-webkit-backdrop-filter: blur(10px) saturate(118%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.insights-page-topics .home-insights__grid .home-insights-card::before {
	content: "";
	position: absolute;
	z-index: 0;
	pointer-events: none;
	inset: 0;
	border-radius: inherit;
	filter: blur(18px);
	opacity: 0.75;
	background:
		radial-gradient(ellipse 130% 70% at 14% 96%, rgba(115, 172, 203, 0.42) 0%, rgba(115, 172, 203, 0.12) 38%, transparent 70%),
		radial-gradient(ellipse 130% 70% at 86% 4%, rgba(115, 172, 203, 0.38) 0%, rgba(115, 172, 203, 0.1) 40%, transparent 72%);
}

.insights-page-topics .home-insights-card__index {
	font-size: 48px;
	font-weight: 400;
	line-height: 0.84;
}

@media (max-width: 768px) {
	.insights-page-topics .home-insights-card__index {
		font-size: 48px;
	}
}

.insights-page-topics .home-insights-card::after {
	opacity: 0.07;
}

.insights-page-topics .home-insights-card__text {
	margin-top: 10px;
	margin-bottom: 32px;
}

.insights-page-topics .home-insights-card__button {
	align-self: center;
	padding-top: 8px;
}
