/**
 * Home page cards — table layout:
 *   row 1: image | title (spaced tab, vertically centered with image)
 *   row 2: description (full width, line below)
 */

.section-intro {
	margin-bottom: 1.5em;
	color: #5a7189;
}

.home-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	align-items: start;
	width: 100%;
}

.home-cards__item {
	min-width: 0;
}

.home-card {
	background: #fff;
	border: 1px solid rgba(74, 143, 199, 0.28);
	border-radius: 12px;
	padding: 1.15rem 1.25rem;
	box-shadow: 0 4px 18px rgba(42, 64, 88, 0.08);
	width: 100%;
	box-sizing: border-box;
}

.home-card__table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
	table-layout: fixed;
}

.home-card__table td {
	text-align: left;
	border: 0;
}

/* Row 1: image + title — title centered with picture, tab space between */
.home-card__table tr:first-child td {
	vertical-align: middle;
	height: 80px;
}

.home-card__table .home-card__img {
	width: 80px;
	padding: 0 0.75rem 0 0;
	vertical-align: middle;
}

.home-card__table .home-card__title {
	vertical-align: middle;
	padding: 0 0 0 1.75rem;
}

.home-card__table .home-card__img img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: contain;
	border-radius: 8px;
}

.home-card__table .home-card__title h3 {
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
	color: #2a4058 !important;
	font-size: 1.1em !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: normal !important;
}

.home-card__table h3::before,
.home-card .home-card__title h3::before {
	display: none !important;
	content: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	position: static !important;
}

/* Template .feature-list h3 color/bullet — must not apply inside cards */
.home-cards .feature-list h3,
.home-card__table h3 {
	color: #2a4058 !important;
	margin: 0 !important;
}

.home-card__table .home-card__title a {
	color: #2a4058;
	text-decoration: none;
	font-weight: 700;
}

.home-card__table .home-card__title a:hover {
	color: #2563a8;
	text-decoration: underline;
}

/* Row 2: description on its own line below (like a break under the header row) */
.home-card__table tr:last-child td,
.home-card__table .home-card__desc {
	vertical-align: top;
	padding-top: 1rem;
	border-top: 1px solid rgba(74, 143, 199, 0.28);
	color: #5a7189;
	font-size: 0.92em;
	line-height: 1.5;
}

@media screen and (max-width: 1280px) {
	.home-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 736px) {
	.home-cards {
		grid-template-columns: 1fr;
		max-width: 22rem;
		margin-left: auto;
		margin-right: auto;
	}
}
