.wp-site-blocks {
	min-height: 100vh;
}

header.wp-block-template-part {
	border-bottom: 1px solid #e1e5e8;
}

header.wp-block-template-part > .wp-block-group,
main.wp-block-group,
footer.wp-block-template-part > .wp-block-group {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

header .wp-block-site-title {
	font-weight: 800;
	letter-spacing: 0;
}

footer.wp-block-template-part nav,
footer.wp-block-template-part p:has(a[href*="wordpress.org"]),
footer.wp-block-template-part p:has(+ p a[href*="wordpress.org"]) {
	display: none;
}

footer.wp-block-template-part {
	border-top: 1px solid #e1e5e8;
}

footer.wp-block-template-part > .wp-block-group {
	padding-block: 34px;
}

body.home main {
	margin-top: 28px !important;
	padding-top: 0;
}

body.home main > p:last-child {
	max-width: 680px;
	color: #5a666d;
	font-size: 17px;
}

body.home .wp-block-query .wp-block-post-template {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 34px 30px;
	max-width: 900px;
}

body.home .wp-block-post {
	width: 100%;
	max-width: 900px;
	padding-bottom: 28px;
	border-bottom: 1px solid #dfe4e7;
}

body.home .wp-block-post > * {
	width: 100% !important;
	max-width: none !important;
}

body.home .wp-block-post-featured-image {
	margin-bottom: 16px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

body.home .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.home .wp-block-post-title {
	font-size: 36px;
	line-height: 1.2;
}

body.home .wp-block-post-excerpt,
body.home .wp-block-post-content {
	color: #3f4a50;
	font-size: 17px;
	line-height: 1.7;
}

.codex-source-note {
	margin-top: 32px;
	padding: 14px 16px;
	border-left: 3px solid #1f7a6e;
	background: #f3f6f5;
	color: #34434a;
	font-size: 14px;
	line-height: 1.65;
}

.codex-source-note a {
	color: #145c54;
	font-weight: 700;
}

@media (max-width: 700px) {
	header.wp-block-template-part > .wp-block-group,
	main.wp-block-group,
	footer.wp-block-template-part > .wp-block-group {
		width: min(100% - 28px, 1180px);
	}

	body.home .wp-block-query .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	body.home main {
		margin-top: 20px !important;
	}

	body.home .wp-block-post-featured-image {
		width: 100% !important;
		margin-inline: 0 !important;
	}

	body.home .wp-block-post-title {
		font-size: 28px;
	}
}
