.post {
	display: grid;
	grid-template-rows: 10em 19em 15em;
	align-items: flex-start;
	padding: 0 1rem;
	width: 100%;
	gap: 0.5em;
}

.post > p {
	overflow: scroll;
	max-height: 100%;
	line-height: 1.5em;
}

.post.featured {
	grid-template-rows: auto;
	gap: 1em;
}

.post-header {
	position: relative;
	margin: 0;
	width: 100%;
}

p.post-summary {
	text-align: left;
	margin-bottom: 1rem;
	overflow: hidden;
}

#posts {
	display: inline-grid;
	grid-template-columns: repeat(2, minmax(auto, auto));
	gap: 2px;
	text-align: center;
	padding: 2px 0;
}

@media screen and (max-width: 736px) {
	#posts {
		grid-template-columns: 100%;
	}

	.post {
		grid-template-rows: auto auto 18em;
	}
}

#posts>article.post {
	padding: 2rem;
	background-color: white;
}

figure.post-image {
	display: block;
	width: 100%;
}

.post-image {
	overflow: hidden;
}

figure.post-image>.image {
	display: inline-block;
	padding: 10px;
}

figure.post-image>.image img {
	max-height: 17em;
	width: auto;
	margin: 0 auto;
	max-width: 100%;
}

.post-image figcaption {
	text-align: right;
	font-size: 0.5em;
}

.post-button {
	box-shadow: inset 0 0 0 2px #303030;
	color: #303030 !important;
	cursor: pointer;
	display: inline-block;
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.075em;
	height: 3rem;
	line-height: 3rem;
	padding: 0 2rem;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	margin: 2rem;
}

.post-author,
.post-date {
	font-size: 0.68rem;
}

.posts-border {
	background-color: #eeeeee;
}



.post-content {
	text-align: left;
	width: 100%;
}

.post-content .date {
	margin-bottom: 0;
}

.post-content p {
	margin-bottom: 1rem;
	line-height: 1.5em;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-weight: 900;
	line-height: 1.5;
	letter-spacing: 0.075em;
	text-transform: none;
	/*margin: 0 0 1rem 0;*/
	text-align: left;
}

.post-content h1 a,
.post-content h2 a,
.post-content h3 a,
.post-content h4 a,
.post-content h5 a,
.post-content h6 a {
	border-bottom: 0;
	color: inherit;
	text-decoration: none;
	text-align: left;
}

.post-content h1 {
	font-size: 2.7rem;
	line-height: 1.1;
	margin: 2.5rem 0 1rem 0;
}

.post-content h2 {
	font-size: 1.57rem;
	line-height: 1.3;
	margin: 2.5rem 0 1.5rem 0;
}

.post-content h3 {
	font-size: 1.45rem;
	line-height: 1.1;
	margin: 4rem 0 2rem 0;
}

.post-content h4 {
	font-size: 1.35rem;
	line-height: 1.1;
	margin: 4rem 0 2rem 0;
}

.post-content code b {
	color: inherit!important;
}

.post-content blockquote.blue {
	width: 100%;
	margin: 0;
	display: block;
	padding: 24px 24px calc(1px / 10) 50px;
	position: relative;
	margin-top: 32px;
	border-left: 4px solid;
	border-radius: 3px;
	margin-bottom: 32px;
	background-color: #F5F7F9;
	border-color: #3884ff;
}

.post-content blockquote.red {
	width: 100%;
	margin: 0;
	display: block;
	padding: 24px 24px calc(1px / 10) 50px;
	position: relative;
	margin-top: 32px;
	border-left: 4px solid;
	border-radius: 3px;
	margin-bottom: 32px;
	background-color: #F5F7F9;
	border-color: #ff4642;
}

.post-content .ul-text {
	margin-left: 2rem;
}

.post-content figure.caption {
	margin: 4rem 0;
	text-align: center;
	width: 100%;
}

.post-content figure.caption .image75 {
	width: 75%;
}

.post-content figure.caption .image40 {
	width: 40%;
}

.post-content figure.caption figcaption {
	text-align: center;
	font-size: 0.54rem;
}


@media screen and (max-width: 980px) {
	.post-content figure.caption .image75 {
		width: 100%;
	}
	.post-content figure.caption .image40 {
		width: 75%;
	}
	.post-content figure.caption figcaption {
		text-align: center;
		font-size: 0.54rem;
	}
}



.post-content > .bio {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.post-content > .bio > .author-image > img {
	width: 180px;
	height: 180px;
	border-radius: 180px;
}

.post-content > .bio > .author-description {
	font-size: 0.72rem;
	display: flex;
	flex-direction: column;
}

.post-content > .bio h1 {
	font-size: 1.35rem;
	text-align: center;
}

.post-content > .bio p {
	font-size: 1rem;
	text-align: center;
}

.post-content .left {
	float: left;
	width: 50%;
	margin: 0 0 2rem 0;
}

.post-content p.left {
	text-align: center;
}

.post-content div.clearfix {
	width: 100%;
}


code {
	background: rgba(220, 220, 220, 0.25);
	border: solid 2px #eeeeee;
	border-radius: 5px;
	font-family: "Courier New", monospace;
	font-size: 1.2rem;
	padding: 0.15rem 0.35rem;
}

blockquote {
	border-left: solid 4px #eeeeee;
	font-style: italic;
	margin: 1rem 0 2rem 0;
	padding: 0 0 0.5rem 2rem;
}


.back-button {
	display: flex;
	top: 4.5rem;
	left: 3rem;
	text-decoration: none;
	align-items: center;
	transition: filter ease-in-out;
}

.back-button:hover {
	filter: invert(56%) sepia(22%) saturate(0%) hue-rotate(304deg) brightness(92%) contrast(89%);
}

.back-button .arrow {
	margin-right: 0.5rem;
	fill: black;
	width: 20px;
	height: 20px;

	display: block;
	text-indent: -9999px;
	background: url(images/arrow.svg);
	background-size: 20px 20px;
}


h2.post-title {
	margin-top: 0.25em;
	margin-bottom: 0.2em;
}

span.post-date {
	font-size: 1em;
}

article#main ul li {
	font-size: 1.25rem;
}

article p img {
	max-width: 100%;
}