.bw-post-grid-block {
	--column-gap: 20px;
}
.bw-post-grid-block a {
	text-decoration: none;
}
/* display grid items */
.bw-post-grid-block [data-grid-items] {
	display: flex;
	flex-wrap: wrap;
	gap: var(--column-gap);
}
.bw-post-grid-block [data-grid-items] > * {
	width: calc((100% + var(--column-gap)) / var(--columns, 2) - var(--column-gap));
}
.bw-post-grid-block, .single-content h2 + .bw-post-grid-block {
	margin-top: var(--column-gap);
}
.bw-post-grid-block .bw-post:not(:last-child) {
	padding-bottom: var(--column-gap);
	border-bottom: 1px solid #eee;
}
.bw-post-grid-block .bw-date {
	font-size: 14px;
}
.bw-post-grid-block .bw-title {
	font-size: 18px;
	font-weight: 400;
	margin: 10px 0 15px 0;
}
.bw-post-grid-block .bw-download-button {
	display: inline-block;
	padding: 8px 16px;
	color: var(--global-palette-highlight);
	border: solid 1px var(--global-palette-highlight);
	border-radius: 5px;
}
.bw-post-grid-block .bw-download-button {
	transition: background-color,color 0.5s ease;
}
.bw-post-grid-block .bw-download-button:hover, .bw-post-grid-block .bw-download-button:active {
	color: var(--global-palette-highlight-alt2);
	background-color: var(--global-palette-highlight);
}
.bw-post-grid-block .bw-download-button + .bw-download-button {
	margin-left: 30px;
}
.bw-post-grid-block .bw-summary {
	margin-top: 20px;
}

/* loading animation */
.bw-post-grid-block.loading {
	animation: loading 1s ease-in-out infinite alternate;
}
@keyframes loading {
	from {opacity: 0.3;}
	to {opacity: 0.7;}
}
/* hide show more */
.bw-post-grid-block.no-more [data-show-more] {
	display: none !important;
}
.bw-post-grid-block .bw-items + div {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}
.bw-post-grid-block .bw-show-more {
	border-radius: 3px;
	background-color: var(--global-palette-btn-bg);
	color: var(--global-palette-btn);
	padding: 0.4em 1em;
	border: 0;
	line-height: 1.6;
	display: inline-block;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: background-color,color 0.2s ease;
	box-shadow: 0px 0px 0px -7px rgb(0 0 0 / 0%);
}
/* hide public documants layout */
.bw-post-grid-block .bw-pubdoc {
	display: flex;
	flex: 0 0 auto;
	justify-content: space-between;
	gap: 20px;
}
.bw-post-grid-block .bw-pubdoc > :first-child {
	width: calc(75% - 10px);
}
.bw-post-grid-block .bw-pubdoc > :last-child {
	width: calc(25% - 10px);
}
.bw-post-grid-block .bw-pubdoc img {
	float: right;
}
.bw-post-grid-block .bw-pubdoc .bw-download-button {
	min-width: 145px;
	text-align: center;
	margin: 30px 0;
}


@media screen and (max-width: 1024px) {
	.bw-post-grid-block .bw-pubdoc > :first-child {
		width: 100%;
	}
	.bw-post-grid-block .bw-pubdoc > :last-child {
		display: none;
	}
}
@media screen and (max-width: 767px) {
	.bw-post-grid-block [data-grid-items] > * {
		width: 100%;
	}
}
