/* ==========================================================
   Boosters Blog Designer — Single Post
   ========================================================== */

.bbd-single { background: var(--bbd-sp-bg); overflow-x: clip; }

/* ---------------- Reading progress ---------------- */
.bbd-sp-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 99999; height: 4px; background: transparent; pointer-events: none; }
.admin-bar .bbd-sp-progress { top: 32px; }
.bbd-sp-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--bbd-primary), var(--bbd-accent)); transition: width .1s linear; }

/* ---------------- Shared header parts ---------------- */
.bbd-sp-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--bbd-meta); }
.bbd-scope .bbd-sp-crumb a { display: inline-flex; align-items: center; gap: 6px; color: inherit; transition: color .2s; }
.bbd-scope .bbd-sp-crumb a:hover { color: var(--bbd-primary); }
.bbd-sp-crumb .bbd-ico { width: 14px; height: 14px; }
.bbd-sp-crumb .sep { opacity: .5; }

.bbd-sp-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.bbd-scope .bbd-sp-cats a {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--bbd-primary);
	color: var(--bbd-btn-text);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	line-height: 1;
	transition: filter .2s, transform .2s;
}
.bbd-scope .bbd-sp-cats a:hover { color: var(--bbd-btn-text); filter: brightness(1.12); transform: translateY(-1px); }

.bbd-scope .bbd-sp-title {
	margin: 0 0 20px;
	font-family: var(--bbd-sp-title-font);
	font-size: var(--bbd-sp-title-size);
	font-weight: var(--bbd-sp-title-weight);
	line-height: 1.14;
	letter-spacing: -.015em;
	color: var(--bbd-sp-title);
}
.bbd-sp-lead { max-width: 720px; margin: 0 0 26px; font-family: var(--bbd-sp-font); font-size: calc(var(--bbd-sp-size) * 1.1); line-height: 1.65; color: var(--bbd-sp-text); opacity: .9; }

.bbd-sp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; font-size: 14px; color: var(--bbd-meta); }
.bbd-sp-mi { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.bbd-scope a.bbd-sp-mi { color: inherit; }
.bbd-sp-mi .bbd-ico { width: 16px; height: 16px; }
.bbd-scope .bbd-sp-author { display: inline-flex; align-items: center; gap: 12px; color: var(--bbd-sp-title); font-weight: 600; }
.bbd-sp-author span { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.bbd-sp-author small { font-size: 11.5px; font-weight: 500; color: var(--bbd-meta); }
.bbd-scope .bbd-sp-author .bbd-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .3); }

/* ---------------- Layout: Hero ---------------- */
.bbd-sp-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: var(--bbd-sp-hero-h);
	padding: 110px 24px 130px;
	background-color: var(--bbd-sp-hero-bg);
	background-position: center;
	background-size: cover;
	text-align: center;
}
.bbd-sp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bbd-sp-overlay); opacity: var(--bbd-sp-overlay-op); }
.bbd-sp-hero.no-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .14), transparent 40%), radial-gradient(circle at 80% 85%, rgba(255, 255, 255, .1), transparent 45%); }
.bbd-sp-hero-inner { width: 100%; max-width: 920px; margin: 0 auto; }
.bbd-sp-hero .bbd-sp-crumb, .bbd-sp-hero .bbd-sp-cats, .bbd-sp-hero .bbd-sp-meta { justify-content: center; }
.bbd-sp-hero .bbd-sp-crumb, .bbd-sp-hero .bbd-sp-meta { color: var(--bbd-sp-hero-text); opacity: .9; }
.bbd-scope .bbd-sp-hero .bbd-sp-crumb a:hover { color: var(--bbd-sp-hero-text); opacity: 1; }
.bbd-scope .bbd-sp-hero .bbd-sp-title, .bbd-scope .bbd-sp-hero .bbd-sp-author { color: var(--bbd-sp-hero-text); }
.bbd-sp-hero .bbd-sp-author small { color: var(--bbd-sp-hero-text); opacity: .75; }
.bbd-sp-hero .bbd-sp-lead { margin-left: auto; margin-right: auto; color: var(--bbd-sp-hero-text); }

/* ---------------- Layout: Standard / Minimal ---------------- */
.bbd-sp-head { padding: 72px 24px 0; text-align: center; }
.bbd-sp-head-inner { max-width: calc(var(--bbd-sp-width) + 80px); margin: 0 auto; }
.bbd-sp-head .bbd-sp-crumb, .bbd-sp-head .bbd-sp-cats, .bbd-sp-head .bbd-sp-meta { justify-content: center; }
.bbd-sp-head .bbd-sp-lead { margin-left: auto; margin-right: auto; }
.bbd-sp-head--minimal .bbd-sp-head-inner { padding-bottom: 40px; border-bottom: 1px solid var(--bbd-border); }
.bbd-sp-hero-img { max-width: calc(var(--bbd-sp-width) + 280px); margin: 44px auto 0; }
.bbd-scope .bbd-sp-hero-img img { width: 100%; max-height: 640px; object-fit: cover; border-radius: calc(var(--bbd-radius) + 6px); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); }
.bbd-sp-hero-img figcaption { margin-top: 12px; font-size: 13px; color: var(--bbd-meta); text-align: center; }

/* ---------------- Layout: Split ---------------- */
.bbd-sp-split { padding: 70px 24px 20px; }
.bbd-sp-split-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; max-width: var(--bbd-container); margin: 0 auto; }
.bbd-sp-split.no-image .bbd-sp-split-inner { grid-template-columns: 1fr; max-width: calc(var(--bbd-sp-width) + 80px); }
.bbd-sp-split-img { position: relative; }
.bbd-sp-split-img::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0; border-radius: calc(var(--bbd-radius) + 6px); background: var(--bbd-accent); opacity: .18; }
.bbd-scope .bbd-sp-split-img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--bbd-radius) + 6px); box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45); }

/* ---------------- Body / box ---------------- */
.bbd-sp-body { padding: 48px 20px 80px; }
.bbd-sp-grid { max-width: var(--bbd-sp-width); margin: 0 auto; }
.bbd-sp-sidebar-right .bbd-sp-grid,
.bbd-sp-sidebar-left .bbd-sp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; max-width: calc(var(--bbd-sp-width) + 364px); }
.bbd-sp-sidebar-left .bbd-sp-grid { grid-template-columns: 320px minmax(0, 1fr); }
.bbd-sp-sidebar-left .bbd-sp-sidebar { order: -1; }
.bbd-sp-article { min-width: 0; margin: 0; }

.bbd-sp-style-card .bbd-sp-box {
	padding: var(--bbd-sp-pad);
	background: var(--bbd-sp-content-bg);
	border-radius: calc(var(--bbd-radius) + 6px);
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 24px 60px -30px rgba(15, 23, 42, .22);
}
.bbd-sp-style-plain .bbd-sp-box { padding: 0; }
.bbd-sp-layout-hero.bbd-sp-style-card .bbd-sp-body { padding-top: 0; }
.bbd-sp-layout-hero.bbd-sp-style-card .bbd-sp-grid { position: relative; z-index: 2; margin-top: -80px; }

.bbd-sp-is-elementor .bbd-sp-grid { max-width: none; }
.bbd-sp-is-elementor .bbd-sp-box { padding: 0; background: none; box-shadow: none; border-radius: 0; }
.bbd-sp-is-elementor .bbd-sp-after, .bbd-sp-is-elementor .bbd-sp-authorbox,
.bbd-sp-is-elementor .bbd-sp-nav, .bbd-sp-is-elementor .bbd-sp-comments { max-width: var(--bbd-sp-width); margin-left: auto; margin-right: auto; }
.bbd-sp-is-elementor.bbd-sp-layout-hero .bbd-sp-grid { margin-top: 0; }
.bbd-sp-is-elementor .bbd-sp-body { padding-top: 0; }

/* ---------------- Content typography ---------------- */
.bbd-sp-content, .bbd-sp-content-raw { font-family: var(--bbd-sp-font); font-size: var(--bbd-sp-size); line-height: var(--bbd-sp-lh); color: var(--bbd-sp-text); overflow-wrap: break-word; }
.bbd-sp-content-raw img { max-width: 100%; height: auto; }
.bbd-sp-content > *:first-child { margin-top: 0; }
.bbd-sp-content > *:last-child { margin-bottom: 0; }
.bbd-single .bbd-sp-content :where(p) { margin: 0 0 1.45em; }
.bbd-single .bbd-sp-content :where(h1, h2, h3, h4, h5, h6) { font-family: var(--bbd-sp-h-font); color: var(--bbd-sp-title); line-height: 1.3; letter-spacing: -.01em; scroll-margin-top: 100px; }
.bbd-single .bbd-sp-content :where(h2) { margin: 1.9em 0 .7em; font-size: var(--bbd-sp-h2); font-weight: 700; }
.bbd-single .bbd-sp-content :where(h3) { margin: 1.7em 0 .6em; font-size: calc(var(--bbd-sp-h2) * .8); font-weight: 700; }
.bbd-single .bbd-sp-content :where(h4) { margin: 1.5em 0 .5em; font-size: calc(var(--bbd-sp-h2) * .66); font-weight: 600; }
.bbd-single .bbd-sp-content :where(h5, h6) { margin: 1.4em 0 .5em; font-size: 1em; font-weight: 600; }
.bbd-single .bbd-sp-content :where(a) { color: var(--bbd-sp-link); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--bbd-sp-link) 40%, transparent); transition: text-decoration-color .2s; }
.bbd-single .bbd-sp-content :where(a:hover) { text-decoration-color: var(--bbd-sp-link); }
.bbd-single .bbd-sp-content :where(strong, b) { color: var(--bbd-sp-title); font-weight: 700; }
.bbd-single .bbd-sp-content :where(ul, ol) { margin: 0 0 1.45em; padding-left: 1.4em; }
.bbd-single .bbd-sp-content :where(li) { margin: 0 0 .55em; padding-left: .2em; }
.bbd-single .bbd-sp-content :where(li)::marker { color: var(--bbd-primary); font-weight: 700; }
.bbd-single .bbd-sp-content :where(img) { max-width: 100%; height: auto; border-radius: var(--bbd-radius); }
.bbd-single .bbd-sp-content :where(figure) { margin: 2em 0; max-width: 100%; }
.bbd-single .bbd-sp-content :where(figcaption, .wp-caption-text) { margin-top: 10px; font-size: .82em; color: var(--bbd-meta); text-align: center; }
.bbd-single .bbd-sp-content :where(blockquote) {
	position: relative;
	margin: 2em 0;
	padding: 26px 30px 26px 34px;
	border-left: 4px solid var(--bbd-primary);
	border-radius: 0 var(--bbd-radius) var(--bbd-radius) 0;
	background: var(--bbd-sp-bg);
	font-family: var(--bbd-sp-title-font);
	font-size: 1.15em;
	font-style: italic;
	color: var(--bbd-sp-title);
}
.bbd-single .bbd-sp-content :where(blockquote p:last-child) { margin-bottom: 0; }
.bbd-single .bbd-sp-content :where(blockquote cite) { display: block; margin-top: 12px; font-family: var(--bbd-sp-font); font-size: .75em; font-style: normal; color: var(--bbd-meta); }
.bbd-single .bbd-sp-content :where(hr) { margin: 2.5em 0; border: 0; border-top: 1px solid var(--bbd-border); }
.bbd-single .bbd-sp-content :where(table) { width: 100%; margin: 0 0 1.6em; border-collapse: collapse; font-size: .9em; }
.bbd-single .bbd-sp-content :where(th, td) { padding: 12px 14px; border: 1px solid var(--bbd-border); text-align: left; }
.bbd-single .bbd-sp-content :where(th) { background: var(--bbd-sp-bg); color: var(--bbd-sp-title); font-weight: 600; }
.bbd-single .bbd-sp-content :where(code) { padding: 2px 7px; border-radius: 6px; background: #f1f5f9; color: #be185d; font-size: .86em; }
.bbd-single .bbd-sp-content :where(pre) { margin: 0 0 1.6em; padding: 20px 22px; overflow-x: auto; border: 1px solid var(--bbd-border); border-radius: var(--bbd-radius); background: #f8fafc; font-size: .85em; line-height: 1.6; }
.bbd-single .bbd-sp-content :where(pre code) { padding: 0; background: none; color: #334155; }
.bbd-single .bbd-sp-content :where(iframe, video, embed) { max-width: 100%; border-radius: var(--bbd-radius); }
.bbd-single .bbd-sp-content :where(.wp-block-embed iframe, .wp-video) { width: 100%; }
.bbd-single .bbd-sp-content :where(.aligncenter) { margin-left: auto; margin-right: auto; }
.bbd-single .bbd-sp-content :where(.alignleft) { float: left; margin: .3em 1.6em 1em 0; }
.bbd-single .bbd-sp-content :where(.alignright) { float: right; margin: .3em 0 1em 1.6em; }
.bbd-sp-content::after { content: ""; display: table; clear: both; }
.bbd-sp-pages { margin-top: 24px; font-weight: 600; }

/* ---------------- TOC ---------------- */
.bbd-toc { margin: 0 0 36px; padding: 6px 22px 10px; background: var(--bbd-sp-bg); border: 1px solid var(--bbd-border); border-radius: var(--bbd-radius); }
.bbd-scope .bbd-toc-head,
.bbd-scope .bbd-toc-head:hover,
.bbd-scope .bbd-toc-head:focus { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 0; border: 0; background: none; color: var(--bbd-sp-title); font-family: var(--bbd-sp-h-font); font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: none; }
.bbd-toc-head .bbd-ico { transform: rotate(90deg); transition: transform .25s; }
.bbd-toc.is-collapsed .bbd-toc-head .bbd-ico { transform: rotate(0); }
.bbd-toc.is-collapsed .bbd-toc-list { display: none; }
.bbd-toc-list { margin: 4px 0 8px; padding: 0; list-style: none; counter-reset: bbdtoc; }
.bbd-toc-list li { margin: 0; padding: 6px 0; border-top: 1px dashed var(--bbd-border); font-size: 14.5px; line-height: 1.45; }
.bbd-toc-list li.lvl-2 { counter-increment: bbdtoc; }
.bbd-toc-list li.lvl-2 a::before { content: counter(bbdtoc) ". "; color: var(--bbd-primary); font-weight: 700; }
.bbd-toc-list li.lvl-3 { padding-left: 22px; font-size: 13.5px; }
.bbd-scope .bbd-toc-list a { color: var(--bbd-sp-text); transition: color .2s; }
.bbd-scope .bbd-toc-list a:hover, .bbd-scope .bbd-toc-list a.is-active { color: var(--bbd-primary); }

/* ---------------- After content: tags + share ---------------- */
.bbd-sp-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--bbd-border); }
.bbd-sp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bbd-sp-tags > span { margin-right: 4px; font-weight: 600; color: var(--bbd-sp-title); font-size: 14px; }
.bbd-scope .bbd-sp-tags a { padding: 7px 13px; border-radius: 999px; background: var(--bbd-sp-bg); border: 1px solid var(--bbd-border); color: var(--bbd-sp-text); font-size: 13px; transition: all .2s; }
.bbd-scope .bbd-sp-tags a:hover { border-color: var(--bbd-primary); color: var(--bbd-primary); }

.bbd-sp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bbd-sp-share-label { font-size: 14px; font-weight: 600; color: var(--bbd-sp-title); }
.bbd-sp-share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bbd-scope .bbd-sh,
.bbd-scope button.bbd-sh:hover,
.bbd-scope button.bbd-sh:focus {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--bbd-border);
	border-radius: 50%;
	background: var(--bbd-sp-content-bg);
	color: var(--bbd-sp-title);
	cursor: pointer;
	transition: all .25s var(--bbd-ease);
}
.bbd-scope .bbd-sh:hover { transform: translateY(-3px); color: #fff; border-color: transparent; }
.bbd-scope .bbd-sh-facebook:hover { background: #1877f2; }
.bbd-scope .bbd-sh-x:hover { background: #000; }
.bbd-scope .bbd-sh-linkedin:hover { background: #0a66c2; }
.bbd-scope .bbd-sh-whatsapp:hover { background: #25d366; }
.bbd-scope .bbd-sh-pinterest:hover { background: #e60023; }
.bbd-scope .bbd-sh-email:hover, .bbd-scope button.bbd-sh-link:hover { background: var(--bbd-primary); color: var(--bbd-btn-text); }
.bbd-sh-tip { position: absolute; bottom: calc(100% + 8px); left: 50%; padding: 5px 9px; border-radius: 6px; background: #0f172a; color: #fff; font-size: 11px; white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: all .2s; }
.bbd-sh-link.is-copied .bbd-sh-tip { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Author box ---------------- */
.bbd-sp-authorbox { display: flex; gap: 22px; align-items: flex-start; margin-top: 36px; padding: 28px; background: var(--bbd-sp-bg); border: 1px solid var(--bbd-border); border-radius: calc(var(--bbd-radius) + 2px); }
.bbd-scope .bbd-sp-authorbox .bbd-avatar { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.bbd-sp-authorbox small { display: block; margin-bottom: 2px; color: var(--bbd-primary); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.bbd-scope .bbd-sp-authorbox h4 { margin: 0 0 8px; font-family: var(--bbd-sp-h-font); font-size: 20px; color: var(--bbd-sp-title); }
.bbd-sp-authorbox p { margin: 0 0 12px; font-size: 15px; line-height: 1.65; color: var(--bbd-sp-text); }
.bbd-scope .bbd-sp-authorbox a { display: inline-flex; align-items: center; gap: 6px; color: var(--bbd-primary); font-size: 14px; font-weight: 600; }

/* ---------------- Prev / Next ---------------- */
.bbd-sp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.bbd-scope .bbd-sp-nav-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px;
	background: var(--bbd-sp-content-bg);
	border: 1px solid var(--bbd-border);
	border-radius: calc(var(--bbd-radius) + 2px);
	color: var(--bbd-sp-title);
	transition: all .3s var(--bbd-ease);
}
.bbd-scope .bbd-sp-nav-item:hover { border-color: var(--bbd-primary); transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(15, 23, 42, .35); }
.bbd-sp-nav-next { flex-direction: row-reverse; text-align: right; }
.bbd-scope .bbd-sp-nav-thumb { flex: 0 0 64px; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.bbd-sp-nav-item span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bbd-sp-nav-item small { display: inline-flex; align-items: center; gap: 4px; color: var(--bbd-meta); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bbd-sp-nav-next small { justify-content: flex-end; }
.bbd-sp-nav-item small .bbd-ico { width: 14px; height: 14px; }
.bbd-sp-nav-item strong { font-family: var(--bbd-sp-h-font); font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------------- Comments ---------------- */
.bbd-sp-comments { margin-top: 30px; padding: 36px var(--bbd-sp-pad); background: var(--bbd-sp-content-bg); border: 1px solid var(--bbd-border); border-radius: calc(var(--bbd-radius) + 6px); font-family: var(--bbd-sp-font); color: var(--bbd-sp-text); }
.bbd-sp-style-plain .bbd-sp-comments { padding: 36px 0 0; border: 0; border-top: 1px solid var(--bbd-border); border-radius: 0; background: none; }
.bbd-scope .bbd-sp-comments :where(h2, h3) { font-family: var(--bbd-sp-h-font); color: var(--bbd-sp-title); }
.bbd-scope .bbd-sp-comments :where(textarea, input[type="text"], input[type="email"], input[type="url"]) { width: 100%; padding: 12px 14px; border: 1px solid var(--bbd-border); border-radius: 12px; background: #fff; font-family: inherit; font-size: 15px; }
.bbd-scope .bbd-sp-comments :where(textarea:focus, input:focus) { outline: 0; border-color: var(--bbd-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bbd-primary) 15%, transparent); }
.bbd-scope .bbd-sp-comments input[type="submit"],
.bbd-scope .bbd-sp-comments input[type="submit"]:hover { padding: 13px 28px; border: 0; border-radius: 999px; background: var(--bbd-primary); color: var(--bbd-btn-text); font-weight: 600; cursor: pointer; }
.bbd-scope .bbd-sp-comments :where(.comment-list) { padding: 0; list-style: none; }
.bbd-scope .bbd-sp-comments :where(.avatar) { border-radius: 50%; }
.bbd-scope .bbd-sp-comments :where(a) { color: var(--bbd-sp-link); }

/* ---------------- Related ---------------- */
.bbd-sp-related { padding: 80px 20px 90px; background: var(--bbd-sp-content-bg); border-top: 1px solid var(--bbd-border); }
.bbd-sp-related-inner { max-width: var(--bbd-container); margin: 0 auto; }
.bbd-scope .bbd-sp-section-title { position: relative; margin: 0 0 44px; padding-bottom: 16px; font-family: var(--bbd-sp-title-font); font-size: 34px; color: var(--bbd-sp-title); text-align: center; }
.bbd-sp-section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 50px; height: 3px; border-radius: 3px; background: var(--bbd-accent); transform: translateX(-50%); }
.bbd-sp-related .bbd-card { background: var(--bbd-card); }

/* ---------------- Tablet ---------------- */
@media (max-width: 1024px) {
	.bbd-sp-sidebar-right .bbd-sp-grid, .bbd-sp-sidebar-left .bbd-sp-grid { grid-template-columns: 1fr; max-width: var(--bbd-sp-width); }
	.bbd-sp-sidebar-left .bbd-sp-sidebar { order: 0; }
	.bbd-sp-split-inner { grid-template-columns: 1fr; gap: 36px; max-width: calc(var(--bbd-sp-width) + 80px); }
	.bbd-sp-split-img { order: -1; }
}

/* ---------------- Mobile ---------------- */
@media (max-width: 767px) {
	.admin-bar .bbd-sp-progress { top: 46px; }
	.bbd-sp-hero { min-height: var(--bbd-sp-hero-h-m); padding: 80px 18px 90px; }
	.bbd-sp-layout-hero.bbd-sp-style-card .bbd-sp-grid { margin-top: -50px; }
	.bbd-scope .bbd-sp-title { font-size: var(--bbd-sp-title-size-m); margin-bottom: 16px; }
	.bbd-sp-lead { font-size: var(--bbd-sp-size-m); }
	.bbd-sp-crumb { margin-bottom: 16px; font-size: 12px; }
	.bbd-sp-meta { gap: 10px 16px; font-size: 13px; }
	.bbd-sp-head { padding: 44px 18px 0; }
	.bbd-sp-split { padding: 36px 18px 10px; }
	.bbd-sp-split-img::before { inset: 10px -8px -10px 8px; }
	.bbd-sp-hero-img { margin-top: 28px; }
	.bbd-sp-body { padding: 28px 12px 56px; }
	.bbd-sp-style-card .bbd-sp-box { padding: var(--bbd-sp-pad-m); border-radius: var(--bbd-radius); }
	.bbd-sp-content, .bbd-sp-content-raw { font-size: var(--bbd-sp-size-m); }
	.bbd-single .bbd-sp-content :where(h2) { font-size: var(--bbd-sp-h2-m); }
	.bbd-single .bbd-sp-content :where(h3) { font-size: calc(var(--bbd-sp-h2-m) * .82); }
	.bbd-single .bbd-sp-content :where(h4) { font-size: calc(var(--bbd-sp-h2-m) * .7); }
	.bbd-single .bbd-sp-content :where(blockquote) { padding: 18px 18px 18px 22px; font-size: 1.05em; }
	.bbd-single .bbd-sp-content :where(.alignleft, .alignright) { float: none; margin: 1em 0; }
	.bbd-single .bbd-sp-content :where(table) { display: block; overflow-x: auto; }
	.bbd-sp-after { flex-direction: column; align-items: flex-start; margin-top: 36px; }
	.bbd-sp-authorbox { flex-direction: column; align-items: center; padding: 22px; text-align: center; }
	.bbd-sp-nav { grid-template-columns: 1fr; }
	.bbd-sp-comments { padding: 26px var(--bbd-sp-pad-m); }
	.bbd-sp-related { padding: 56px 16px 64px; }
	.bbd-scope .bbd-sp-section-title { font-size: 26px; margin-bottom: 30px; }

	/* Mobile visibility switches */
	.bbd-m-noimg .bbd-sp-featured { display: none; }
	.bbd-m-noimg .bbd-sp-hero { background-image: none !important; }
	.bbd-m-nometa .bbd-sp-meta { display: none; }
	.bbd-m-noshare .bbd-sp-share { display: none; }
	.bbd-m-notoc .bbd-toc { display: none !important; }
	.bbd-m-norelated .bbd-sp-related { display: none; }
	.bbd-m-nosidebar .bbd-sp-sidebar { display: none; }
}
