/* grid */
.bloggrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 1fr;
	grid-gap: 40px;
	margin: 0 0 40px 0;
}

/* nav */
.paging-navigation {
	grid-column: 1/3;
}

/* hide blog grid head on paged */
.paged .bloggrid__head {
	display: none;
}

/* head */
.bloggrid__itemHead {
	hyphens: auto;
	word-wrap: break-word;
	white-space: normal;
}
.bloggrid__itemHead > div:before {
	float: left;
	content: "";
	display: block;
	padding-bottom: 100%;
}
.bloggrid__itemHead > div .gb-button-wrapper { clear: none; }
.bloggrid__itemHead select {
	width: 100%;
}

/* articles */
.bloggrid__itemArticle {
	display: grid;
	grid-gap: 0;
	grid-template-rows: 1fr max-content;
	grid-template-columns: 1fr;
	aspect-ratio: 1;
}
.bloggrid__itemArticleCover {
	width: auto;
	max-height: 100%;
	background: #f5f5f5;
	position: relative;
}
.bloggrid__itemArticleCover::before {
	content: "";
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	box-shadow: inset 0px 0px 0px 2px rgba(0,0,0,0.05);
}
.bloggrid__itemArticleCoverImg {
	display: block;
	object-fit: cover;
	height: 100%;
    width: 100%;
}
.bloggrid__itemArticleTitle {
	padding: 15px 20px;
	min-height: 4.5em;
	line-height: 1.5em;
	box-sizing: content-box;
	background: #193565;
	color: #fff;
	hyphens: auto;
	word-wrap: break-word;
	white-space: normal;
}
.bloggrid__item:hover .bloggrid__itemArticleTitle {
	color: #f3b854;
}

/* responsive design */
@media (max-width: 768px) {
	.bloggrid {
		grid-template-columns: repeat(1, 1fr);
		grid-gap: 20px;
	}
	.paging-navigation {
		grid-column: 1/1;
	}
	.bloggrid__itemArticleTitle {
		min-height: 0;
	}
}
@media (min-width: 769px) and (max-width: 1024px) {
	.bloggrid {
		grid-gap: 20px;
		font-size: 15px;
	}
}
