/*
 * TXINS Insurance Products page — page-insurance-products.php only (enqueued
 * via is_page('insurance-products')). Layered over the shared design system in
 * ../../style.css (tokens, buttons, .txins-btn--text pills, quote band,
 * .txins-closing). All rules scoped to #txins-products.
 */

#txins-products {
	color: var(--txins-gray-800);
}

/* Page hero: shared .txins-pagehero rules live in ../../style.css section 9. */

/* ---------- Jump nav (reuses the .txins-btn--text pill recipe from style.css) ---------- */
#txins-products .txins-products-jump {
	background: var(--txins-gray-50);
	border-bottom: 1px solid var(--txins-gray-100);
}

#txins-products .txins-products-jump__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

/* ---------- Product cards ---------- */
#txins-products .txins-products-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 820px) {
	#txins-products .txins-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1.75rem;
	}
}

#txins-products .txins-product-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--txins-white);
	border: 1px solid var(--txins-gray-200);
	border-radius: var(--txins-radius);
	box-shadow: var(--txins-shadow);
	padding: 1.75rem 1.6rem 1.6rem;
	/* Anchor landings clear the chrome (matches the site-wide rule for content ids). */
	scroll-margin-top: 5rem;
}

#txins-products .txins-product-card__icon {
	color: var(--txins-blue);
	margin-bottom: 0.8rem;
}

#txins-products .txins-product-card__icon svg {
	width: 44px;
	height: 44px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#txins-products .txins-product-card h2 {
	color: var(--txins-blue);
	font-size: var(--txins-text-xl);
	line-height: 1.2;
	margin: 0 0 0.6rem;
}

#txins-products .txins-product-card p {
	line-height: 1.65;
	margin: 0 0 1.1rem;
}

#txins-products .txins-product-card .txins-btn {
	margin-top: auto;
}

/* ---------- Closing note under the grid ---------- */
#txins-products .txins-products-note {
	max-width: 46rem;
	margin: 2.25rem auto 0;
	text-align: center;
	line-height: 1.65;
}

#txins-products .txins-products-note a {
	color: var(--txins-blue-light);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}
