.bm-content-page{width:min(960px,calc(100% - 32px));padding:34px 0 46px}.bm-archive-header{background:#fffaf0;border:1px solid rgba(27,21,16,.14);border-radius:22px;margin:0 0 20px;padding:24px}.bm-page-title{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.045em;line-height:1;margin:0}.bm-archive-description{color:#6f6257;margin-top:.7rem}.bm-post-grid{display:grid;gap:18px}.bm-content-card{background:#fffaf0;border:1px solid rgba(27,21,16,.14);border-radius:20px;display:grid;gap:16px;overflow:hidden;padding:18px}.bm-content-card__image{aspect-ratio:16/9;background:#e3d5be;border-radius:14px;display:block;overflow:hidden}.bm-content-card__image img{display:block;height:100%;object-fit:cover;width:100%}.bm-entry-header{margin-bottom:12px}.bm-entry-title{font-size:clamp(1.65rem,3vw,2.6rem);letter-spacing:-.04em;line-height:1.04;margin:0}.bm-content-card .bm-entry-title{font-size:clamp(1.25rem,2vw,1.75rem)}.bm-entry-title a{text-decoration:none}.bm-entry-title a:hover{text-decoration:underline}.bm-entry-meta{color:#6f6257;font-size:.9rem;font-weight:700;margin-top:.4rem}.bm-entry-summary{color:#4f453c}.bm-entry-summary p{margin-bottom:0}.bm-entry{background:#fffaf0;border:1px solid rgba(27,21,16,.14);border-radius:24px;margin:0 auto;padding:clamp(22px,4vw,38px)}.bm-entry-featured-image{border-radius:18px;margin:18px 0;overflow:hidden}.bm-entry-featured-image img{display:block;width:100%}.bm-entry-content{font-size:1.04rem}.bm-entry-content>*:first-child{margin-top:0}.bm-entry-content>*:last-child{margin-bottom:0}.bm-entry-content img{border-radius:14px}.bm-entry-content a{text-decoration-thickness:1.5px;text-underline-offset:3px}.bm-no-content{background:#fffaf0;border:1px solid rgba(27,21,16,.14);border-radius:22px;padding:28px}.bm-button{align-items:center;border-radius:999px;display:inline-flex;font-weight:800;min-height:2.6rem;padding:.6rem 1rem;text-decoration:none}.bm-button--primary{background:#1f3c2d;color:#fff}.navigation.pagination,.posts-navigation{margin-top:24px}.nav-links{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.page-numbers,.nav-links a{background:#fffaf0;border:1px solid rgba(27,21,16,.14);border-radius:999px;display:inline-flex;font-weight:800;min-height:2.3rem;padding:.5rem .8rem;text-decoration:none}.page-numbers.current{background:#1f3c2d;color:#fff}@media(max-width:640px){.bm-content-page{width:min(100% - 22px,960px);padding:24px 0 36px}.bm-archive-header,.bm-content-card,.bm-entry,.bm-no-content{border-radius:18px;padding:18px}}

/* v1.2.6: readable blog/page content in dark theme. */
html[data-bm-theme="dark"] .bm-content-page,
body[data-bm-theme="dark"] .bm-content-page {
	color: #f8ecd9;
}

html[data-bm-theme="dark"] .bm-archive-header,
html[data-bm-theme="dark"] .bm-content-card,
html[data-bm-theme="dark"] .bm-entry,
html[data-bm-theme="dark"] .bm-no-content,
body[data-bm-theme="dark"] .bm-archive-header,
body[data-bm-theme="dark"] .bm-content-card,
body[data-bm-theme="dark"] .bm-entry,
body[data-bm-theme="dark"] .bm-no-content {
	background: #21160f;
	border-color: rgba(244, 198, 101, .22);
	box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
	color: #f8ecd9;
}

html[data-bm-theme="dark"] .bm-entry-title,
html[data-bm-theme="dark"] .bm-page-title,
html[data-bm-theme="dark"] .bm-entry-content h1,
html[data-bm-theme="dark"] .bm-entry-content h2,
html[data-bm-theme="dark"] .bm-entry-content h3,
html[data-bm-theme="dark"] .bm-entry-content h4,
body[data-bm-theme="dark"] .bm-entry-title,
body[data-bm-theme="dark"] .bm-page-title,
body[data-bm-theme="dark"] .bm-entry-content h1,
body[data-bm-theme="dark"] .bm-entry-content h2,
body[data-bm-theme="dark"] .bm-entry-content h3,
body[data-bm-theme="dark"] .bm-entry-content h4 {
	color: #fff7e8;
}

html[data-bm-theme="dark"] .bm-entry-meta,
html[data-bm-theme="dark"] .bm-archive-description,
html[data-bm-theme="dark"] .bm-entry-summary,
body[data-bm-theme="dark"] .bm-entry-meta,
body[data-bm-theme="dark"] .bm-archive-description,
body[data-bm-theme="dark"] .bm-entry-summary {
	color: #d7c0a1;
}

html[data-bm-theme="dark"] .bm-entry-content,
html[data-bm-theme="dark"] .bm-entry-content p,
html[data-bm-theme="dark"] .bm-entry-content li,
html[data-bm-theme="dark"] .bm-entry-content blockquote,
body[data-bm-theme="dark"] .bm-entry-content,
body[data-bm-theme="dark"] .bm-entry-content p,
body[data-bm-theme="dark"] .bm-entry-content li,
body[data-bm-theme="dark"] .bm-entry-content blockquote {
	color: #f2dfc2;
}

html[data-bm-theme="dark"] .bm-entry-content a,
html[data-bm-theme="dark"] .bm-entry-title a,
body[data-bm-theme="dark"] .bm-entry-content a,
body[data-bm-theme="dark"] .bm-entry-title a {
	color: #f7bd2f;
}

html[data-bm-theme="dark"] .bm-entry-content hr,
body[data-bm-theme="dark"] .bm-entry-content hr {
	border-color: rgba(244, 198, 101, .22);
}

html[data-bm-theme="dark"] .bm-entry-content blockquote,
body[data-bm-theme="dark"] .bm-entry-content blockquote {
	border-left: 3px solid #f7bd2f;
	background: rgba(255, 255, 255, .04);
	border-radius: 12px;
	margin-left: 0;
	padding: 12px 16px;
}

html[data-bm-theme="dark"] .bm-entry-content code,
html[data-bm-theme="dark"] .bm-entry-content pre,
body[data-bm-theme="dark"] .bm-entry-content code,
body[data-bm-theme="dark"] .bm-entry-content pre {
	background: rgba(255, 255, 255, .08);
	color: #fff7e8;
}

html[data-bm-theme="dark"] .page-numbers,
html[data-bm-theme="dark"] .nav-links a,
body[data-bm-theme="dark"] .page-numbers,
body[data-bm-theme="dark"] .nav-links a {
	background: #21160f;
	border-color: rgba(244, 198, 101, .22);
	color: #f8ecd9;
}

html[data-bm-theme="dark"] .page-numbers.current,
body[data-bm-theme="dark"] .page-numbers.current {
	background: #f7bd2f;
	color: #1b1510;
}

/* v1.3.48: 404 recovery layout with lightweight product recommendations. */
.bm-error-page {
	width: min(1180px, calc(100% - 32px));
}

.bm-no-content--404 {
	margin: 0 auto 24px;
	max-width: 720px;
	text-align: center;
}

.bm-error-page__eyebrow {
	color: #1f3c2d;
	font-size: .76rem;
	font-weight: 900;
	letter-spacing: .13em;
	margin: 0 0 .55rem;
	text-transform: uppercase;
}

.bm-no-content--404 h1 {
	font-size: clamp(2rem, 5vw, 3.45rem);
	letter-spacing: -.05em;
	line-height: .95;
	margin: 0 0 .85rem;
}

.bm-no-content--404 p:not(.bm-error-page__eyebrow) {
	color: #6f6257;
	margin: 0 auto 1.15rem;
	max-width: 520px;
}

.bm-404-products {
	margin: 26px auto 0;
}

.bm-404-products__head {
	margin: 0 auto 18px;
	max-width: 680px;
	text-align: center;
}

.bm-404-products__head h2 {
	font-size: clamp(1.65rem, 3.4vw, 2.8rem);
	letter-spacing: -.045em;
	line-height: 1;
	margin: 0;
}

.bm-404-products__head p:not(.bm-error-page__eyebrow) {
	color: #6f6257;
	margin: .65rem auto 0;
	max-width: 560px;
}

.bm-404-products__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

html[data-bm-theme="dark"] .bm-error-page__eyebrow,
body[data-bm-theme="dark"] .bm-error-page__eyebrow {
	color: #f7bd2f;
}

html[data-bm-theme="dark"] .bm-no-content--404 p:not(.bm-error-page__eyebrow),
html[data-bm-theme="dark"] .bm-404-products__head p:not(.bm-error-page__eyebrow),
body[data-bm-theme="dark"] .bm-no-content--404 p:not(.bm-error-page__eyebrow),
body[data-bm-theme="dark"] .bm-404-products__head p:not(.bm-error-page__eyebrow) {
	color: #d7c0a1;
}

html[data-bm-theme="dark"] .bm-404-products__head h2,
body[data-bm-theme="dark"] .bm-404-products__head h2 {
	color: #fff7e8;
}

@media (max-width: 1024px) {
	.bm-404-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.bm-error-page {
		width: min(100% - 22px, 1180px);
	}

	.bm-404-products__grid {
		gap: 10px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 380px) {
	.bm-404-products__grid {
		gap: 8px;
	}
}

/* v1.3.49: keep the 404 recovery product cards responsive instead of full-width. */
.bm-error-page .bm-404-products {
	width: 100%;
}

.bm-error-page .bm-404-products__grid {
	align-items: stretch;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: none;
	width: 100%;
}

.bm-error-page .bm-404-products__grid .bmwa-p {
	max-width: none;
	min-width: 0;
	width: 100%;
}

.bm-error-page .bm-404-products__grid .bmwa-ph {
	aspect-ratio: 1;
	width: 100%;
}

@media (max-width: 1080px) {
	.bm-error-page .bm-404-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.bm-error-page .bm-404-products__grid {
		gap: 10px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 380px) {
	.bm-error-page .bm-404-products__grid {
		gap: 8px;
	}
}

/* v1.3.50: center 404 card content and support two recovery actions. */
.bm-no-content--404 {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

.bm-no-content--404 .bm-error-page__eyebrow,
.bm-no-content--404 h1,
.bm-no-content--404 p {
	text-align: center;
}

.bm-404-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.bm-button--secondary {
	background: #f7bd2f;
	color: #1b1510;
}

.bm-button--secondary:hover,
.bm-button--secondary:focus-visible {
	background: #ffd36a;
	color: #1b1510;
}

html[data-bm-theme="dark"] .bm-button--secondary,
body[data-bm-theme="dark"] .bm-button--secondary {
	background: #f7bd2f;
	color: #1b1510;
}

@media (max-width: 520px) {
	.bm-404-actions {
		width: 100%;
	}

	.bm-404-actions .bm-button {
		justify-content: center;
		width: 100%;
	}
}
