/* MIDO PHASE 9.4 THINKING PAGE ACTIVE */
/* =============================================================================
   Thinking page + single post template.

   Two roots, two scopes:
     - .cbm-thinking-page  — the /thinking grid
     - .cbm-post-single    — individual articles

   Reuses globals: .cbm-shell, .cbm-content-kicker, .cbm-content-heading,
   .cbm-content-body, .cbm-u-btn (and modifiers), .glass-card. No
   redefinition of any global rule.
   ========================================================================== */


/* ============================== THINKING PAGE ============================ */

.cbm-thinking-page {
	padding-bottom: clamp(48px, 6vw, 80px);
}

/* --- Grid section --- */
.cbm-thinking-page .cbm-thinking-page__grid-section {
	padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px);
}
.cbm-thinking-page .cbm-thinking-page__inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}

/* 3-col on desktop, 2-col on tablet, 1-col on mobile.
   The first card is "featured" — spans 2 columns on desktop/tablet. */
.cbm-thinking-page .cbm-thinking-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.5vw, 32px);
}
.cbm-thinking-page .cbm-thinking-card.is-featured {
	grid-column: span 2;
}
@media (max-width: 960px) {
	.cbm-thinking-page .cbm-thinking-page__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.cbm-thinking-page .cbm-thinking-card.is-featured {
		grid-column: span 2;
	}
}
@media (max-width: 640px) {
	.cbm-thinking-page .cbm-thinking-page__grid {
		grid-template-columns: 1fr;
	}
	.cbm-thinking-page .cbm-thinking-card.is-featured {
		grid-column: auto;
	}
}

/* --- Card --- */
.cbm-thinking-page .cbm-thinking-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--bg-elevated, #1B1620);
	border: 1px solid rgba(197, 166, 211, 0.10);
	border-radius: 20px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: transform 320ms var(--ease-soft, cubic-bezier(.4,0,.2,1)),
				border-color 320ms var(--ease-soft, cubic-bezier(.4,0,.2,1)),
				box-shadow 320ms var(--ease-soft, cubic-bezier(.4,0,.2,1));
	box-shadow: 0 30px 60px -30px rgba(0,0,0,0.45);
}
.cbm-thinking-page .cbm-thinking-card:hover {
	transform: translateY(-3px);
	border-color: rgba(183, 140, 255, 0.32);
	box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.cbm-thinking-page .cbm-thinking-card:focus-visible {
	outline: 2px solid var(--accent-lime, #B78CFF);
	outline-offset: 4px;
}

/* Card media — 16:9 with object-fit cover, no stretching. */
.cbm-thinking-page .cbm-thinking-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #050505;
}
.cbm-thinking-page .cbm-thinking-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	z-index: 0;
	transition: transform 980ms var(--ease-soft, cubic-bezier(.4,0,.2,1));
}
.cbm-thinking-page .cbm-thinking-card:hover .cbm-thinking-card__image {
	transform: scale(1.025);
}
.cbm-thinking-page .cbm-thinking-card__placeholder {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 60% 50% at 25% 30%, rgba(142, 99, 163, 0.34), transparent 60%),
		radial-gradient(ellipse 50% 40% at 80% 80%, rgba(183, 140, 255, 0.22), transparent 65%),
		linear-gradient(135deg, #1B1620 0%, #141017 100%);
}
.cbm-thinking-page .cbm-thinking-card__grain {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.4;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.42 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	background-size: 160px 160px;
	background-repeat: repeat;
}

/* Card body */
.cbm-thinking-page .cbm-thinking-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(20px, 2.2vw, 28px);
}
.cbm-thinking-page .cbm-thinking-card__meta {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--text-muted, #AFA4B8);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
.cbm-thinking-page .cbm-thinking-card__cat { color: var(--accent-soft, #C5A6D3); }
.cbm-thinking-page .cbm-thinking-card__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--text-faint, #7C7284);
	display: inline-block;
}
.cbm-thinking-page .cbm-thinking-card__title {
	margin: 0;
	font-family: var(--font-display, "Migra", "Playfair Display", Georgia, serif);
	font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.5rem);
	line-height: 1.25;
	color: var(--text-primary, #F6F2F7);
}
.cbm-thinking-page .cbm-thinking-card.is-featured .cbm-thinking-card__title {
	font-size: clamp(1.35rem, 1rem + 1.2vw, 1.95rem);
}
.cbm-thinking-page .cbm-thinking-card__excerpt {
	margin: 0;
	color: var(--text-secondary, #DDD6E3);
	opacity: 0.88;
	line-height: 1.5;
	font-size: 14.5px;
	/* Limit to ~3 lines so cards stay even */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.cbm-thinking-page .cbm-thinking-card__read {
	margin-top: 4px;
	color: var(--accent-lime, #B78CFF);
	font-size: 13px;
	letter-spacing: 0.04em;
	font-weight: 500;
}

/* --- Empty state --- */
.cbm-thinking-page .cbm-thinking-page__empty {
	padding-block: clamp(56px, 9vw, 120px);
}
.cbm-thinking-page .cbm-thinking-page__empty-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}
.cbm-thinking-page .cbm-thinking-page__empty-card {
	padding: clamp(32px, 5vw, 56px);
	border-radius: 20px;
	max-width: 720px;
	text-align: left;
}
.cbm-thinking-page .cbm-thinking-page__empty-heading {
	margin: 0 0 14px;
	text-align: left;
	max-width: 22ch;
}
.cbm-thinking-page .cbm-thinking-page__empty-body {
	margin: 0 0 28px;
	max-width: 56ch;
	color: var(--text-secondary, #DDD6E3);
	opacity: 0.92;
	line-height: 1.55;
}

/* --- Final CTA --- */
.cbm-thinking-page .cbm-thinking-page__cta {
	position: relative;
	padding-block: clamp(72px, 10vw, 140px);
	overflow: clip;
	isolation: isolate;
}
.cbm-thinking-page .cbm-thinking-page__cta-atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 60% 50% at 22% 50%, rgba(142, 99, 163, 0.20), transparent 60%),
		radial-gradient(ellipse 50% 40% at 78% 50%, rgba(183, 140, 255, 0.16), transparent 65%);
	opacity: 0.85;
}
.cbm-thinking-page .cbm-thinking-page__cta-inner {
	position: relative;
	z-index: 1;
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
	text-align: left;
}
.cbm-thinking-page .cbm-thinking-page__cta-heading {
	margin: 0 0 16px;
	text-align: left;
	max-width: 22ch;
}
.cbm-thinking-page .cbm-thinking-page__cta-body {
	margin: 0 0 32px;
	max-width: 60ch;
	color: var(--text-secondary, #DDD6E3);
	opacity: 0.92;
	line-height: 1.55;
}

/* --- Fallback hero (only triggers if reusable hero partial fails) --- */
.cbm-thinking-page .cbm-thinking-page__fallback-hero {
	background: var(--bg-elevated, #1B1620);
	border-bottom: 1px solid rgba(245, 243, 247, 0.045);
}


/* ============================= POST SINGLE ============================== */

.cbm-post-single {
	padding-bottom: clamp(48px, 6vw, 80px);
}

/* Hero */
.cbm-post-single .cbm-post-single__hero {
	padding-block: clamp(110px, 14vw, 168px) clamp(28px, 3.5vw, 48px);
}
.cbm-post-single .cbm-post-single__hero-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
	text-align: left;
}
.cbm-post-single .cbm-post-single__kicker {
	margin: 0 0 14px;
}
.cbm-post-single .cbm-post-single__title {
	margin: 0 0 18px;
	text-align: left;
	max-width: 28ch;
}
.cbm-post-single .cbm-post-single__meta {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--text-muted, #AFA4B8);
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
.cbm-post-single .cbm-post-single__cat { color: var(--accent-soft, #C5A6D3); }
.cbm-post-single .cbm-post-single__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--text-faint, #7C7284);
	display: inline-block;
}

/* Cover */
.cbm-post-single .cbm-post-single__cover-section {
	padding-block: clamp(20px, 3vw, 40px);
}
.cbm-post-single .cbm-post-single__cover-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}
.cbm-post-single .cbm-post-single__cover {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(197, 166, 211, 0.10);
	background: #050505;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.cbm-post-single .cbm-post-single__cover-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	z-index: 0;
}
.cbm-post-single .cbm-post-single__cover-placeholder {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 60% 50% at 25% 30%, rgba(142, 99, 163, 0.34), transparent 60%),
		radial-gradient(ellipse 50% 40% at 80% 80%, rgba(183, 140, 255, 0.22), transparent 65%),
		linear-gradient(135deg, #1B1620 0%, #141017 100%);
}
.cbm-post-single .cbm-post-single__cover-grain {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0.45;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.42 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	background-size: 160px 160px;
	background-repeat: repeat;
}

/* Article body — readable column, comfortable rhythm */
.cbm-post-single .cbm-post-single__body {
	padding-block: clamp(40px, 6vw, 80px) clamp(48px, 7vw, 96px);
}
.cbm-post-single .cbm-post-single__body-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}
.cbm-post-single .cbm-post-single__content {
	max-width: 68ch;
	color: var(--text-secondary, #DDD6E3);
	line-height: 1.7;
	font-size: 17px;
}
.cbm-post-single .cbm-post-single__content > * + * {
	margin-top: 1.2em;
}
.cbm-post-single .cbm-post-single__content h2,
.cbm-post-single .cbm-post-single__content h3 {
	color: var(--text-primary, #F6F2F7);
	font-family: var(--font-display, "Migra", "Playfair Display", Georgia, serif);
	line-height: 1.3;
	margin-top: 1.8em;
}
.cbm-post-single .cbm-post-single__content h2 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); }
.cbm-post-single .cbm-post-single__content h3 { font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem); }
.cbm-post-single .cbm-post-single__content a {
	color: var(--accent-lime, #B78CFF);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
.cbm-post-single .cbm-post-single__content blockquote {
	margin: 1.5em 0;
	padding: 12px 22px;
	border-left: 2px solid var(--accent-lime, #B78CFF);
	color: var(--text-primary, #F6F2F7);
	font-style: italic;
}
.cbm-post-single .cbm-post-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}
.cbm-post-single .cbm-post-single__content pre {
	background: var(--bg-elevated, #1B1620);
	border: 1px solid rgba(245, 243, 247, 0.06);
	border-radius: 14px;
	padding: 16px 18px;
	overflow-x: auto;
	font-size: 14px;
}
.cbm-post-single .cbm-post-single__content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.95em;
	background: rgba(245, 243, 247, 0.04);
	padding: 2px 6px;
	border-radius: 6px;
}
.cbm-post-single .cbm-post-single__content ul,
.cbm-post-single .cbm-post-single__content ol {
	padding-inline-start: 22px;
}
.cbm-post-single .cbm-post-single__content li + li {
	margin-top: 0.4em;
}

/* Hide WP comments block by default (the theme doesn't support them cleanly). */
.cbm-post-single #comments,
.cbm-post-single .comments-area,
.cbm-post-single .comment-respond { display: none; }

/* Footer nav */
.cbm-post-single .cbm-post-single__nav {
	padding-block: clamp(24px, 4vw, 56px) clamp(40px, 6vw, 72px);
	border-top: 1px solid rgba(245, 243, 247, 0.045);
}
.cbm-post-single .cbm-post-single__nav-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}
.cbm-post-single .cbm-post-single__back {
	align-self: flex-start;
}

/* Responsive */
@media (max-width: 560px) {
	.cbm-post-single .cbm-post-single__hero {
		padding-block: clamp(96px, 22vw, 128px) clamp(20px, 5vw, 32px);
	}
	.cbm-post-single .cbm-post-single__title {
		max-width: none;
	}
	.cbm-post-single .cbm-post-single__nav-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* MIDO PHASE 9.4.2 THINKING SYSTEM ACTIVE */
/* =============================================================================
   Phase 9.4.2 additions: filters, card meta, comments, related posts.
   Scoped under .cbm-thinking-page and .cbm-post-single.
   ========================================================================== */

/* ---- Filter chips (Thinking page) ---- */
.cbm-thinking-page .cbm-thinking-page__filters {
	padding-block: clamp(8px, 1.5vw, 18px) clamp(4px, 1vw, 10px);
}
.cbm-thinking-page .cbm-thinking-page__filters-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}
.cbm-thinking-page .cbm-thinking-filter {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cbm-thinking-page .cbm-thinking-filter__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}
.cbm-thinking-page .cbm-thinking-filter__label {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-faint, #7C7284);
	margin-right: 4px;
	min-width: 74px;
}
.cbm-thinking-page .cbm-thinking-filter__chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(197, 166, 211, 0.18);
	background: rgba(245, 243, 247, 0.02);
	color: var(--text-secondary, #DDD6E3);
	font-size: 12.5px;
	letter-spacing: 0.02em;
	text-decoration: none;
	transition: border-color 240ms ease, background 240ms ease, color 240ms ease;
}
.cbm-thinking-page .cbm-thinking-filter__chip:hover {
	border-color: rgba(183, 140, 255, 0.45);
	color: var(--text-primary, #F6F2F7);
}
.cbm-thinking-page .cbm-thinking-filter__chip.is-active {
	background: var(--accent-lime, #B78CFF);
	border-color: var(--accent-lime, #B78CFF);
	color: #0D0D0D;
	font-weight: 600;
}

/* ---- Duration chip inside thinking cards ---- */
.cbm-thinking-page .cbm-thinking-card__dur {
	color: var(--text-muted, #AFA4B8);
}

/* ---- Related posts (single post) ---- */
.cbm-post-single .cbm-post-single__related {
	padding-block: clamp(40px, 6vw, 80px);
	border-top: 1px solid rgba(245, 243, 247, 0.045);
}
.cbm-post-single .cbm-post-single__related-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}
.cbm-post-single .cbm-post-single__related-title {
	margin: 0 0 clamp(22px, 3vw, 36px);
	text-align: left;
	font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
}
.cbm-post-single .cbm-post-single__related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2.2vw, 28px);
}
@media (max-width: 860px) {
	.cbm-post-single .cbm-post-single__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.cbm-post-single .cbm-post-single__related-grid { grid-template-columns: 1fr; }
}

/* Mini card variant reuses the thinking-card visual language. Because the
   related grid lives under .cbm-post-single, we restate the card rules here
   scoped to that root (no reliance on .cbm-thinking-page being present). */
.cbm-post-single .cbm-thinking-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--bg-elevated, #1B1620);
	border: 1px solid rgba(197, 166, 211, 0.10);
	border-radius: 18px;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: transform 320ms ease, border-color 320ms ease, box-shadow 320ms ease;
	box-shadow: 0 24px 48px -28px rgba(0,0,0,0.45);
}
.cbm-post-single .cbm-thinking-card:hover {
	transform: translateY(-3px);
	border-color: rgba(183, 140, 255, 0.32);
}
.cbm-post-single .cbm-thinking-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #050505;
}
.cbm-post-single .cbm-thinking-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	z-index: 0;
}
.cbm-post-single .cbm-thinking-card__placeholder {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 60% 50% at 25% 30%, rgba(142, 99, 163, 0.34), transparent 60%),
		radial-gradient(ellipse 50% 40% at 80% 80%, rgba(183, 140, 255, 0.22), transparent 65%),
		linear-gradient(135deg, #1B1620 0%, #141017 100%);
}
.cbm-post-single .cbm-thinking-card__grain {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.4;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.42 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	background-size: 160px 160px;
	background-repeat: repeat;
}
.cbm-post-single .cbm-thinking-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(16px, 1.8vw, 22px);
}
.cbm-post-single .cbm-thinking-card__meta {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--text-muted, #AFA4B8);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}
.cbm-post-single .cbm-thinking-card__cat { color: var(--accent-soft, #C5A6D3); }
.cbm-post-single .cbm-thinking-card__dot {
	width: 4px; height: 4px; border-radius: 50%;
	background: var(--text-faint, #7C7284); display: inline-block;
}
.cbm-post-single .cbm-thinking-card__title {
	margin: 0;
	font-family: var(--font-display, "Migra", "Playfair Display", Georgia, serif);
	font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.25rem);
	line-height: 1.25;
	color: var(--text-primary, #F6F2F7);
}
.cbm-post-single .cbm-thinking-card__read {
	margin-top: 2px;
	color: var(--accent-lime, #B78CFF);
	font-size: 12.5px;
	font-weight: 500;
}

/* ---- Single post extra meta segments ---- */
.cbm-post-single .cbm-post-single__type { color: var(--accent-soft, #C5A6D3); }
.cbm-post-single .cbm-post-single__dur { color: var(--text-muted, #AFA4B8); }
.cbm-post-single .cbm-post-single__media-link { margin: 0 0 24px; }

/* ---- Comments ---- */
.cbm-post-single .cbm-post-single__comments-section {
	padding-block: clamp(32px, 5vw, 64px);
	border-top: 1px solid rgba(245, 243, 247, 0.045);
}
.cbm-post-single .cbm-post-single__comments-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}
.cbm-post-single .cbm-post-comments {
	max-width: 68ch;
}
.cbm-post-single .cbm-post-comments__title {
	margin: 0 0 24px;
	text-align: left;
	font-size: clamp(1.3rem, 1.05rem + 0.8vw, 1.7rem);
}
.cbm-post-single .cbm-post-comments__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.cbm-post-single .cbm-post-comments__list .comment,
.cbm-post-single .cbm-post-comments__list li {
	list-style: none;
}
.cbm-post-single .cbm-post-comments__list .comment-body {
	background: var(--bg-elevated, #1B1620);
	border: 1px solid rgba(245, 243, 247, 0.06);
	border-radius: 14px;
	padding: 16px 18px;
	color: var(--text-secondary, #DDD6E3);
	line-height: 1.6;
}
.cbm-post-single .cbm-post-comments__list .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	color: var(--text-primary, #F6F2F7);
	font-weight: 600;
}
.cbm-post-single .cbm-post-comments__list .comment-author .avatar {
	border-radius: 50%;
}
.cbm-post-single .cbm-post-comments__list .comment-meta {
	font-size: 12px;
	color: var(--text-faint, #7C7284);
	margin-bottom: 8px;
}
.cbm-post-single .cbm-post-comments__list .comment-meta a { color: var(--text-faint, #7C7284); text-decoration: none; }
.cbm-post-single .cbm-post-comments__list .children {
	list-style: none;
	margin: 14px 0 0 22px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.cbm-post-single .cbm-post-comments__list .reply a {
	display: inline-block;
	margin-top: 8px;
	color: var(--accent-lime, #B78CFF);
	font-size: 12.5px;
	text-decoration: none;
}
.cbm-post-single .cbm-post-comments__closed {
	color: var(--text-faint, #7C7284);
	font-size: 13px;
	margin: 0 0 24px;
}
.cbm-post-single .cbm-post-comments__form-title {
	margin: 0 0 14px;
	text-align: left;
	font-size: clamp(1.2rem, 1rem + 0.6vw, 1.45rem);
}
.cbm-post-single .comment-respond {
	background: var(--bg-elevated, #1B1620);
	border: 1px solid rgba(245, 243, 247, 0.06);
	border-radius: 16px;
	padding: clamp(18px, 2.4vw, 28px);
}
.cbm-post-single .comment-form-comment textarea,
.cbm-post-single .comment-form-author input,
.cbm-post-single .comment-form-email input,
.cbm-post-single .comment-form-url input {
	width: 100%;
	background: var(--bg-primary, #141017);
	border: 1px solid rgba(245, 243, 247, 0.10);
	border-radius: 10px;
	padding: 11px 13px;
	color: var(--text-primary, #F6F2F7);
	font: inherit;
	margin-top: 6px;
}
.cbm-post-single .comment-form-comment textarea:focus,
.cbm-post-single .comment-form-author input:focus,
.cbm-post-single .comment-form-email input:focus,
.cbm-post-single .comment-form-url input:focus {
	outline: none;
	border-color: rgba(183, 140, 255, 0.55);
}
.cbm-post-single .comment-form label {
	font-size: 13px;
	color: var(--text-muted, #AFA4B8);
}
.cbm-post-single .comment-form p { margin: 0 0 14px; }
.cbm-post-single .form-submit { margin-bottom: 0; }
.cbm-post-single .comment-form .submit {
	cursor: pointer;
	border: none;
}

/* MIDO PHASE 9.4.2.1 POST TYPE TEMPLATES ACTIVE */
/* =============================================================================
   Type-specific single-post layouts: blog (default), youtube, short.
   Scoped under .cbm-post-single--{type}. Blog inherits the existing
   .cbm-post-single rules unchanged.
   ========================================================================== */

/* ---- YouTube: responsive 16:9 embed ---- */
.cbm-post-single--youtube .cbm-post-single__video-section {
	padding-block: clamp(20px, 3vw, 40px);
}
.cbm-post-single--youtube .cbm-post-single__video-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
}
.cbm-post-single--youtube .cbm-post-single__embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(197, 166, 211, 0.10);
	background: #050505;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.cbm-post-single--youtube .cbm-post-single__embed iframe,
.cbm-post-single--youtube .cbm-post-single__embed object,
.cbm-post-single--youtube .cbm-post-single__embed embed {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
}
/* Fallback cover keeps the standard 16:9 treatment. */
.cbm-post-single--youtube .cbm-post-single__cover {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(197, 166, 211, 0.10);
	background: #050505;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}
.cbm-post-single--youtube .cbm-post-single__media-link {
	margin: 18px 0 0;
}
/* Slightly wider reading column for video notes. */
.cbm-post-single--youtube .cbm-post-single__body--wide .cbm-post-single__content {
	max-width: 78ch;
}

/* ---- Short / Reel: vertical-first, two-column on desktop ---- */
.cbm-post-single--short .cbm-post-single__short {
	padding-block: clamp(110px, 14vw, 168px) clamp(32px, 5vw, 64px);
}
.cbm-post-single--short .cbm-post-single__short-inner {
	width: var(--site-w);
	max-width: var(--site-max);
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(280px, 380px) 1fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
@media (max-width: 820px) {
	.cbm-post-single--short .cbm-post-single__short-inner {
		grid-template-columns: 1fr;
		gap: clamp(24px, 6vw, 36px);
	}
}
.cbm-post-single--short .cbm-post-single__short-media {
	position: sticky;
	top: 96px;
}
@media (max-width: 820px) {
	.cbm-post-single--short .cbm-post-single__short-media {
		position: static;
		max-width: 380px;
	}
}
.cbm-post-single--short .cbm-post-single__reel {
	position: relative;
	aspect-ratio: 9 / 16;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid rgba(197, 166, 211, 0.12);
	background: #050505;
	box-shadow: 0 36px 70px -30px rgba(0, 0, 0, 0.6);
}
.cbm-post-single--short .cbm-post-single__reel-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	z-index: 0;
}
.cbm-post-single--short .cbm-post-single__reel-embed {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.cbm-post-single--short .cbm-post-single__reel-embed iframe,
.cbm-post-single--short .cbm-post-single__reel-embed object,
.cbm-post-single--short .cbm-post-single__reel-embed embed {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	border: 0;
	display: block;
}
.cbm-post-single--short .cbm-post-single__reel .cbm-post-single__cover-placeholder {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(ellipse 60% 50% at 30% 25%, rgba(142, 99, 163, 0.40), transparent 60%),
		radial-gradient(ellipse 50% 40% at 75% 80%, rgba(183, 140, 255, 0.26), transparent 65%),
		linear-gradient(160deg, #1B1620 0%, #141017 100%);
}
.cbm-post-single--short .cbm-post-single__media-link {
	margin: 16px 0 0;
}
.cbm-post-single--short .cbm-post-single__short-content {
	padding-top: 4px;
}
.cbm-post-single--short .cbm-post-single__short-content .cbm-post-single__title {
	max-width: 18ch;
}
.cbm-post-single--short .cbm-post-single__short-content .cbm-post-single__content {
	max-width: 60ch;
	margin-top: 18px;
}
