/*
 * Site-specific additions on top of the stock Twenty Sixteen + WordPress block styles.
 * WordPress printed the equivalents of these inline (global styles / layout support).
 */

:root {
	--wp--style--block-gap: 24px;
	--wp--preset--font-size--small: 13px;
	--wp--preset--font-size--medium: 20px;
	--wp--preset--font-size--large: 36px;
	--wp--preset--font-size--x-large: 42px;
}

.is-layout-flex {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
}

.is-layout-flex > * {
	margin: 0;
}

.wp-block-columns.is-layout-flex {
	align-items: normal;
	gap: 2em;
}

.wp-block-gallery.has-nested-images.is-layout-flex {
	align-items: normal;
	gap: 16px;
}

.wp-block-post-template {
	list-style: none;
	margin-left: 0;
	padding: 0;
}

.wp-block-post-template > li + li {
	margin-top: 1.75em;
}

/* Pagefind search-term highlighting in results */
.search-results mark {
	background: #fff9c0;
	color: inherit;
}

/* The theme draws a "/" after the footer title, expecting the "Proudly powered by WordPress" link that we no longer show. */
.site-footer .site-title:after {
	content: none;
}

/*
 * Single-author site: posts don't show the author/date meta column, so let the
 * content use the full width instead of the theme's 71% column beside it.
 */
@media screen and (min-width: 61.5625em) {
	body:not(.search-results) article:not(.type-page) .entry-content {
		float: none;
		width: auto;
	}

	body:not(.search-results) article:not(.type-page) img.below-entry-meta,
	body:not(.search-results) article:not(.type-page) figure.below-entry-meta {
		margin-left: 0;
		max-width: 100%;
	}
}
