.bbfront-page {
	margin: 0 0 20px;
}

.bbfront-page .bar-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0 0 10px;
	margin-bottom: 14px;
	border-bottom: 1px solid #d9d9d9;
}

.bbfront-title {
	margin: 0;
	font-size: 1.6em;
	line-height: 1.25;
}

#grid {
	margin: 0 -8px;
}

.grid-sizer,
.grid-item {
	width: 25%;
}

.layout-5_s .grid-sizer,
.layout-5_s .grid-item {
	width: 20%;
}

.grid-item {
	padding: 0 8px 16px;
	box-sizing: border-box;
}

.blog-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--bbfront-card-bg, #ffffff);
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.blog-item:hover {
	transform: translateY(-2px);
	border-color: #c8c8c8;
	box-shadow: 0 7px 18px rgba(0, 0, 0, 0.10);
}

.grid-item.is-ad .blog-item {
	background: #fafafa;
	border-style: dashed;
}

.blog-media {
	background: #f5f5f5;
}

.blog-media img {
	display: block;
	width: 100%;
	height: auto;
}

.blog-video iframe,
.blog-video video,
.blog-video embed,
.blog-video object {
	display: block;
	width: 100%;
	min-height: 220px;
}

.blog-details {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px 14px 16px;
}

.blog-title {
	margin: 0 0 8px;
	font-size: 1.15em;
	line-height: 1.35;
}

.blog-title a {
	color: inherit;
	text-decoration: none;
}

.blog-title a:hover,
.blog-title a:focus {
	text-decoration: underline;
}

.blog-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	font-size: 0.9em;
	color: #666666;
	padding-bottom: 10px;
	margin-bottom: 12px;
	border-bottom: 1px solid #ececec;
}

.blog-meta span {
	display: inline-flex;
	align-items: center;
}

.blog-summary {
	line-height: 1.55;
	color: #444444;
}

.blog-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
}

.blog-actions .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 32px;
	box-sizing: border-box;
}

.blog-actions .button2 {
	font-weight: 600;
}


.blog-actions .bbfront-readmore {
	min-height: 28px;
	padding: 3px 10px;
	font-size: .9em;
	line-height: 1.2;
}

.blog-actions .button-secondary,
.bbfront-page .button-secondary {
	background-image: none;
	background-color: #f6f6f6;
	border: 1px solid #cfcfcf;
	box-shadow: none;
	color: #333333;
}

.blog-actions .button-secondary:hover,
.blog-actions .button-secondary:focus,
.bbfront-page .button-secondary:hover,
.bbfront-page .button-secondary:focus {
	background-color: #ebebeb;
	border-color: #bbbbbb;
	color: #111111;
	text-decoration: none;
}

.avatar-blog img {
	width: 24px;
	height: 24px;
	max-width: 24px;
	max-height: 24px;
	object-fit: cover;
	vertical-align: middle;
	border-radius: 50%;
	margin-right: 6px;
}

.bbfront-author {
	display: inline-flex;
	align-items: center;
}

.post-tags {
	list-style: none;
	padding: 12px 0 0;
	margin: 14px 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	border-top: 1px dashed #e4e4e4;
}

.post-tag {
	margin: 0;
}

.post-tag-anchor {
	display: inline-block;
	padding: 4px 9px;
	border: 1px solid #d7d7d7;
	border-radius: 0;
	background: #f8f8f8;
	text-decoration: none;
	font-size: 0.85em;
	color: #444444;
}

.post-tag-anchor:hover,
.post-tag-anchor:focus {
	background: #eeeeee;
	border-color: #c2c2c2;
	text-decoration: none;
}

.bbfront-quote {
	margin: 0;
	padding: 0 0 0 14px;
	border-left: 4px solid #bcbcbc;
	color: #555555;
}

.bbfront-quote p {
	margin: 0 0 8px;
	font-style: italic;
	line-height: 1.55;
}

.bbfront-quote cite {
	display: block;
	font-size: 0.9em;
	font-style: normal;
	color: #666666;
}

.action-bar.bottom {
	display: flex;
	justify-content: center;
	margin-top: 10px;
}

.page-load-status {
	margin-top: 12px;
	text-align: center;
	color: #666666;
}

.bbfront-toggle {
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bbfront-toggle.is-active {
	background-image: none;
	background-color: #eaf4ea;
	border-color: #b9d2b9;
	color: #256b25;
}

.bbfront-toggle.is-active:hover,
.bbfront-toggle.is-active:focus {
	background-color: #dcefdc;
	border-color: #a6c6a6;
	color: #1c551c;
}

label[for="show_bbfront"] {
	font-weight: 600;
}

.hidden {
	display: none !important;
}

.grid--loading::after {
	content: '';
	display: block;
	clear: both;
}

@media (max-width: 1100px) {
	.grid-sizer,
	.grid-item,
	.layout-5_s .grid-sizer,
	.layout-5_s .grid-item {
		width: 33.3333%;
	}
}

@media (max-width: 800px) {
	.grid-sizer,
	.grid-item,
	.layout-5_s .grid-sizer,
	.layout-5_s .grid-item {
		width: 50%;
	}

	.blog-video iframe,
	.blog-video video,
	.blog-video embed,
	.blog-video object {
		min-height: 200px;
	}
}

@media (max-width: 540px) {
	#grid {
		margin: 0;
	}

	.grid-sizer,
	.grid-item,
	.layout-5_s .grid-sizer,
	.layout-5_s .grid-item {
		width: 100%;
	}

	.grid-item {
		padding: 0 0 12px;
	}

	.blog-details {
		padding: 13px;
	}

	.blog-actions {
		gap: 6px;
	}

	.blog-actions .button {
		flex: 1 1 auto;
	}
}
.bbfront-nav-link {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-weight: 600;
}

.bbfront-nav-link::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background-color: currentColor;
	opacity: .95;

	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 11.5L12 4l9 7.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M6.5 10.5V20h11V10.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M10 20v-5h4v5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M3 11.5L12 4l9 7.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M6.5 10.5V20h11V10.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/><path d='M10 20v-5h4v5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}