/* Single news article. Card styles for the "Latest news" row come from news.css. */

.article-head {
	padding: 2.5rem 0 3rem;
	background: #393635;
	color: #fff;
}
.article-head.has-image { padding-bottom: 6rem; }

.article-head .container { max-width: 56rem; }

.article-head__back {
	display: inline-block;
	margin-bottom: 1.75rem;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .75);
	text-decoration: none;
}
.article-head__back:hover { color: #fff; }

.article-head__meta {
	margin: 0 0 .75rem;
	font-size: .9rem;
	color: rgba(255, 255, 255, .8);
}
.article-head__meta .entry-date { font-weight: 700; color: #fff; }
.article-head__meta a { color: inherit; text-decoration: none; }
.article-head__meta a:hover { text-decoration: underline; }
.article-head__sep { margin: 0 .35rem; }

.article-head__title {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.22;
	text-transform: uppercase;
	text-wrap: balance;
}

.article-body {
	max-width: 56rem;
	padding-bottom: 3.5rem;
}

/* Featured image pulled up over the dark band */
.article-figure {
	margin: -4rem 0 2.5rem;
	position: relative;
}
.article-head:not(.has-image) + .article-body .article-figure { margin-top: 0; }
.article-figure img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 .75rem 2rem rgba(14, 24, 47, .22);
}
.article-figure figcaption {
	margin-top: .6rem;
	font-size: .85rem;
	color: #5c6470;
}
.article-head:not(.has-image) + .article-body { padding-top: 3rem; }

/* Reading column */
.article-content {
	max-width: 44rem;
	margin: 0 auto;
	font-size: 1.075rem;
	line-height: 1.75;
	color: #2b3240;
}
.article-content > * + * { margin-top: 1.25rem; }
.article-content > p:first-of-type {
	font-size: 1.2rem;
	line-height: 1.6;
	font-weight: 700;
	color: #0e182f;
}
.article-content h2,
.article-content h3,
.article-content h4 {
	margin-top: 2.25rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0e182f;
}
.article-content h2 { font-size: 1.5rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content h4 { font-size: 1.1rem; }
.article-content a { color: #3a571b; text-decoration: underline; text-underline-offset: .15em; }
.article-content a:hover { color: #d56157; }
.article-content ul,
.article-content ol { padding-left: 1.4rem; }
.article-content li + li { margin-top: .4rem; }
.article-content blockquote {
	margin: 2rem 0;
	padding: .25rem 0 .25rem 1.5rem;
	border-left: 4px solid #82a338;
	font-size: 1.2rem;
	font-style: italic;
	color: #0e182f;
}
.article-content img,
.article-content figure { max-width: 100%; height: auto; }
.article-content figcaption { margin-top: .5rem; font-size: .85rem; color: #5c6470; }

/* Previous / next */
.post-navigation { max-width: 44rem; margin: 3.5rem auto 0; padding-top: 2rem; border-top: 1px solid #d9dcd3; }
.post-navigation .nav-links { display: grid; gap: 1.25rem; }
.post-navigation a { display: block; color: #0e182f; text-decoration: none; }
.post-navigation .nav-subtitle {
	display: block;
	margin-bottom: .25rem;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #5c6470;
}
.post-navigation .nav-title { display: block; font-weight: 700; line-height: 1.3; }
.post-navigation a:hover .nav-title { color: #3a571b; }
.post-navigation .nav-next { text-align: left; }

/* Latest news row */
.article-more {
	padding: 3rem 0 4rem;
	background: #eef0ea;
}
.article-more__title {
	margin: 0 0 2rem;
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	color: #0e182f;
}
.article-more__all { margin: 2.5rem 0 0; text-align: center; }
.article-more__all .news-card__btn { display: inline-block; }

@media (min-width: 768px) {
	.post-navigation .nav-links { grid-template-columns: 1fr 1fr; gap: 2rem; }
	.post-navigation .nav-next { grid-column: 2; text-align: right; }
}
@media (min-width: 992px) {
	.article-head { padding: 3.5rem 0 4rem; }
	.article-head.has-image { padding-bottom: 8rem; }
	.article-head__title { font-size: 2.4rem; }
	.article-figure { margin-top: -6rem; margin-bottom: 3.5rem; }
	.article-body { padding-bottom: 5rem; }
	.article-more { padding: 4.5rem 0 5.5rem; }
}
