
/*──────────────────────────────────────────────────────────────────────────
	LAYOUT
──────────────────────────────────────────────────────────────────────────*/

.site-container,
.entry-content > :where(:not(.alignwide, .alignfull)) {
	width: min(
		calc(100% - (2 * var(--wpcore-page-padding))),
		var(--wpcore-content-width)
	);
	margin-inline: auto;
}

.entry-content > .alignwide {
	width: min(
		calc(100% - (2 * var(--wpcore-page-padding))),
		var(--wpcore-wide-width)
	);
	margin-inline: auto;
}

.entry-content > .alignfull {
	width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--wpcore-border-color);
	background: var(--wp--preset--color--background);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	width: 100%;
	min-height: 4.5rem;
	padding-inline: var(--wpcore-page-padding);
}

/*──────────────────────────────────────────────────────────────────────────
	MAIN CONTENT
──────────────────────────────────────────────────────────────────────────*/

.site-main {
	min-height: 60vh;
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.entry-header {
	margin-bottom: 2rem;
}

.entry-title {
	margin-top: 0;
}

.entry-meta {
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
}

.entry-content > * + * {
	margin-top: 1.5rem;
}

.post-content + .post-content {
	margin-top: 4rem;
	padding-top: 4rem;
	border-top: 1px solid var(--wpcore-border-color);
}

/*──────────────────────────────────────────────────────────────────────────
	FOOTER
──────────────────────────────────────────────────────────────────────────*/

.site-footer {
	margin-top: 4rem;
	border-top: 1px solid var(--wpcore-border-color);
	background: var(--wp--preset--color--surface);
}

.site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding-block: 2rem;
}