/*
	editorial-htmly5up — HTMLy overrides for Editorial
*/

.post-body img,
.post-body video,
.post-body iframe {
	max-width: 100%;
	height: auto;
}

.post-meta,
.post-tags {
	color: #7f888f;
	font-size: 0.9em;
}

.post-nav {
	margin-top: 2em;
}

.related,
.related-posts {
	margin-top: 2em;
}

.pagination {
	margin-top: 3em;
	text-align: center;
}

.pagination a,
.pagination span {
	border-bottom: 0;
	display: inline-block;
	margin: 0 0.35em 0.5em 0;
}

.pagination a {
	box-shadow: inset 0 0 0 2px #377dff;
	border-radius: 0.375em;
	color: #377dff !important;
	font-size: 0.8em;
	font-weight: 600;
	height: 2.75em;
	line-height: 2.75em;
	padding: 0 1.25em;
	text-align: center;
}

.pagination a:hover {
	background-color: rgba(55, 125, 255, 0.05);
}

.pagination .current,
.pagination .page-number,
.pagination span.page-number {
	color: #3d4449;
	font-weight: 600;
}

/* Admin toolbar: keep desktop sidebar lock below the bar */
body.is-admin {
	padding-top: 48px;
}

@media screen and (max-width: 1280px) {
	body.is-admin {
		padding-top: 0;
	}

	#main > .inner {
		padding-top: 4.5em;
	}
}

/* HTMLy menu output inside Editorial #menu */
#menu ul ul {
	list-style: none;
	padding-left: 0;
}

#footer .copyright + .copyright {
	margin-top: 0.75em;
}

#sidebar-brand {
	text-align: center;
}

#sidebar-brand .sidebar-brand {
	border-bottom: 0;
	color: inherit;
	display: block;
}

#sidebar-brand .avatar {
	border-radius: 50%;
	display: block;
	height: 120px;
	margin: 0 auto 1em;
	object-fit: cover;
	width: 120px;
}

#sidebar-brand .site-title {
	color: #3d4449;
	display: block;
	font-family: "Roboto Slab", serif;
	font-size: 1.35em;
	font-weight: 700;
}

#sidebar-brand .tagline {
	color: #7f888f;
	display: block;
	margin: 0.4em 0 1em;
}

#sidebar-brand .icons {
	padding: 0;
	text-align: center;
}

#sidebar-brand .icons li {
	display: inline-block;
}

#sidebar > .inner > #search.alt {
	margin-top: 0;
}

.contact-status {
	margin: 1em 0 0;
}

.contact-status.is-success {
	color: #2e7d32;
}

.contact-status.is-error {
	color: #c62828;
}

.contact-honeypot {
	display: none !important;
}

.g-recaptcha {
	margin-bottom: 1.5em;
}
