/*
 * Inline <style> rules from insights.php, kept page-scoped exactly as they were
 * there. Loaded only by the page that owns them.
 *
 * The port carried the markup across but not this block, so the insight cards
 * rendered as unstyled links — no card surface, default link blue, foot items
 * running together on one line.
 */

/* ===== Insight cards (scoped) ===== */
.insight-card {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	padding: 32px 30px 26px;
	background: #171a23;
	background-image: linear-gradient(158deg, #1d212c 0%, #15171e 62%);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
	transition: border-color .35s, transform .35s, box-shadow .35s;
}

a.insight-card-link {
	text-decoration: none;
	display: block;
	height: 100%;
}

a.insight-card-link:hover .insight-card {
	border-color: rgba(250, 78, 78, 0.55);
	transform: translateY(-6px);
	box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6);
}

.insight-card-icon {
	width: 52px;
	height: 52px;
	border-radius: 15px;
	background: linear-gradient(145deg, #ff6a5e, #e03e3e);
	box-shadow: 0 10px 22px rgba(250, 78, 78, 0.30);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 21px;
	margin-bottom: 18px;
}

.insight-card-topic {
	display: inline-block;
	color: #ff7a70;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.insight-card h3 {
	color: #fff;
	font-size: 21px;
	line-height: 1.3;
	margin: 0 0 12px;
}

.insight-card p {
	color: rgba(255, 255, 255, 0.62);
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 18px;
}

.insight-card-foot {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.insight-card-read {
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
}

.insight-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 700;
	font-size: 15px;
}

.insight-card-cta i {
	color: var(--accent-color);
	transition: transform .3s;
}

a.insight-card-link:hover .insight-card-cta i {
	transform: translateX(5px);
}

@media (max-width: 575px) {
	.insight-card {
		padding: 26px 22px 22px;
	}

	.insight-card h3 {
		font-size: 19px;
	}
}
