/* Homepage text (front page only). Only the page's own text is touched: direct children of .entry-content. */
.home .entry-content {
	--home-text: #374151;
	--home-strong: #111827;
	--home-line: #e7e9ee;
	--home-panel: #f6f7f9;
	--home-red: #ce1126;
}

.home .entry-content > p,
.home .entry-content > ul,
.home .entry-content > ol {
	color: var(--home-text);
	font-size: 16px;
	line-height: 1.75;
}
.home .entry-content > p { margin: 0 0 1.1em; }
.home .entry-content > p a:not([style]),
.home .entry-content > ul a,
.home .entry-content > ol a {
	color: var(--home-red);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Section headings (spacing comes from content.css, the same on every page) */
.home .entry-content > h2 {
	padding: 0;
	border: 0;
	color: var(--home-strong);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -.01em;
}
.home .entry-content > h3 {
	margin: 1.6em 0 .6em;
	color: var(--home-strong);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
}

/* Bullet lists in a soft panel */
.home .entry-content > ul {
	margin: 0 0 1.4em;
	padding: 16px 20px;
	list-style: none;
	background: var(--home-panel);
	border: 1px solid var(--home-line);
	border-radius: 14px;
}
.home .entry-content > ul > li {
	position: relative;
	margin: 0 0 .5em;
	padding: 0 0 0 24px;
	list-style: none;
}
.home .entry-content > ul > li:last-child { margin-bottom: 0; }
.home .entry-content > ul > li::before {
	content: "";
	position: absolute;
	top: .66em;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--home-red);
}

/* Tables become a grid of cards: "Title" in bold on the first line, text below. */
.home .entry-content > table {
	display: block;
	width: 100%;
	margin: 1.2em 0 1.6em;
	border: 0;
	counter-reset: home-card;
}
.home .entry-content > table > tbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.home .entry-content > table tr { display: contents; }
.home .entry-content > table td,
.home .entry-content > table th {
	position: relative;
	display: block;
	padding: 18px 20px 18px 64px;
	background: #fff;
	border: 1px solid var(--home-line);
	border-radius: 14px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px -10px rgba(16, 24, 40, .14);
	color: var(--home-text);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	text-align: left;
	counter-increment: home-card;
}
.home .entry-content > table td::before,
.home .entry-content > table th::before {
	content: counter(home-card);
	position: absolute;
	top: 18px;
	left: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: #fdecee;
	color: var(--home-red);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}
.home .entry-content > table td > strong:first-child,
.home .entry-content > table th > strong:first-child {
	display: block;
	margin: 4px 0 6px;
	color: var(--home-strong);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}
.home .entry-content > table td > strong:first-child + br,
.home .entry-content > table th > strong:first-child + br { display: none; }

@media (max-width: 767px) {
	.home .entry-content > h2 { font-size: 22px; }
	.home .entry-content > ul { padding: 14px 16px; }
	.home .entry-content > table > tbody { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.home .entry-content > table td,
	.home .entry-content > table th { padding: 16px 16px 16px 58px; }
	.home .entry-content > table td::before,
	.home .entry-content > table th::before { top: 16px; left: 14px; }
}
