/*Blog listing*/

/*Flexed rather than floated - the cards are as tall as their content, and a float drop would
  leave the last item of a row hanging off the one above it*/
.blog-posts {
	display: flex;
	flex-wrap: wrap;
}

.blog-post-column {
	margin-bottom: 25px;
	display: flex;
}

/*The card fills its column so every card in a row ends up the same height*/
.blog-post-card {
	display: block;
	width: 100%;
	padding: 25px;
	text-decoration: none;
	color: inherit;
}

.blog-post-card:hover,
.blog-post-card:focus {
	text-decoration: none;
	color: inherit;
}

.blog-post-date {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #8a94a0;
	margin-bottom: 8px;
}

.blog-post-title {
	margin-top: 0px;
	margin-bottom: 8px;
	font-size: 22px;
}

.blog-post-sub-title {
	margin-top: 0px;
	margin-bottom: 12px;
	font-size: 16px;
	color: #5a646f;
}

.blog-post-excerpt {
	margin-bottom: 15px;
}

.blog-post-read-more {
	font-weight: bold;
	color: #fb172b;
}


/*List view - one post per row, so the cards stack full width*/
.blog-view-list .blog-post-column {
	width: 100%;
	flex: 0 0 100%;
	max-width: 100%;
}

.blog-view-list .blog-post-title {
	font-size: 26px;
}


/*Blog post page*/

.blog-post-page-body {
	font-size: 18px;
}

.blog-post-page-body img {
	max-width: 100%;
	height: auto;
}
