/* =========================================================
   CBW SINGLE POST PAGE
   Scoped under .cbw-single-post-page
   ========================================================= */

.cbw-reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	z-index: 9999;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(8px);
	pointer-events: none;
}

.cbw-reading-progress__bar {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, #ffcd29 0%, #111111 100%);
	transition: width 0.12s linear;
}

.cbw-single-post-page {
	--cbw-yellow: #ffcd29;
	--cbw-black: #111111;
	--cbw-white: #ffffff;
	--cbw-light: #f8f9fb;
	--cbw-border: #e7e7e7;
	--cbw-text: #4d5562;
	--cbw-muted: #7a8190;
	--cbw-shadow-sm: 0 10px 24px rgba(17, 17, 17, 0.05);
	--cbw-shadow-md: 0 16px 42px rgba(17, 17, 17, 0.08);
	--cbw-shadow-lg: 0 26px 70px rgba(17, 17, 17, 0.10);
	--cbw-radius-sm: 14px;
	--cbw-radius-md: 22px;
	--cbw-radius-lg: 30px;
	--cbw-container: 1250px;
	--cbw-content-width: 780px;
	--cbw-sidebar-width: 330px;
	--cbw-gap: 34px;
	--cbw-transition: all 0.28s ease;
	color: var(--cbw-text);
	background: var(--cbw-white);
	position: relative;
	overflow-x: clip;
}

.cbw-single-post-page *,
.cbw-single-post-page *::before,
.cbw-single-post-page *::after {
	box-sizing: border-box;
}

.cbw-single-post-page img {
	max-width: 100%;
	height: auto;
	display: block;
}

.cbw-single-post-page a {
	color: inherit;
	text-decoration: none;
	transition: var(--cbw-transition);
}

.cbw-single-post-page__inner {
	max-width: var(--cbw-container);
	margin: 0 auto;
	padding: 0 20px 90px;
}

/* =========================================================
   HERO
   ========================================================= */

.cbw-post-hero {
	padding: 34px 0 34px;
}

.cbw-post-hero__wrap {
	background:
		radial-gradient(circle at top right, rgba(255, 205, 41, 0.18), transparent 32%),
		linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
	border: 1px solid var(--cbw-border);
	border-radius: var(--cbw-radius-lg);
	box-shadow: var(--cbw-shadow-md);
	padding: 34px;
	position: relative;
	overflow: hidden;
}

.cbw-post-hero__wrap::after {
	content: "";
	position: absolute;
	inset: auto -60px -60px auto;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(255, 205, 41, 0.08);
	filter: blur(10px);
	pointer-events: none;
}

.cbw-breadcrumb {
	margin-bottom: 26px;
	position: relative;
	z-index: 1;
}

.cbw-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.4;
	color: var(--cbw-muted);
}

.cbw-breadcrumb__list li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.cbw-breadcrumb__list li:not(:last-child)::after {
	content: "/";
	color: #b5bac3;
}

.cbw-breadcrumb__list a:hover {
	color: var(--cbw-black);
}

.cbw-post-hero__text {
	position: relative;
	z-index: 1;
	max-width: 900px;
}

.cbw-post-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(255, 205, 41, 0.18);
	color: var(--cbw-black);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.cbw-post-kicker__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cbw-yellow);
	box-shadow: 0 0 0 4px rgba(255, 205, 41, 0.18);
}

.cbw-post-title {
	margin: 0 0 18px;
	font-size: clamp(2rem, 4vw, 4rem);
	line-height: 1.06;
	letter-spacing: -0.03em;
	font-weight: 800;
	color: var(--cbw-black);
	max-width: 980px;
}

.cbw-post-intro {
	margin: 0;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.8;
	color: #555f6f;
	max-width: 860px;
}

.cbw-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.cbw-post-meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 14px;
	border-radius: 999px;
	background: var(--cbw-white);
	border: 1px solid var(--cbw-border);
	box-shadow: var(--cbw-shadow-sm);
	font-size: 13px;
	line-height: 1.4;
	color: var(--cbw-text);
}

.cbw-post-meta strong {
	color: var(--cbw-black);
	font-weight: 700;
}

.cbw-post-hero__media {
	margin: 28px 0 0;
	border-radius: calc(var(--cbw-radius-lg) - 10px);
	overflow: hidden;
	border: 1px solid var(--cbw-border);
	box-shadow: var(--cbw-shadow-md);
	background: var(--cbw-white);
}

.cbw-post-featured-image {
	width: 100%;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.cbw-post-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--cbw-content-width)) minmax(280px, var(--cbw-sidebar-width));
	gap: var(--cbw-gap);
	align-items: start;
	margin-top: 34px;
}

.cbw-post-main,
.cbw-post-sidebar {
	min-width: 0;
}

.cbw-post-main {
	padding-right: 10px;
}

.cbw-post-sidebar__inner {
	position: sticky;
	top: 24px;
	display: grid;
	gap: 18px;
}

/* =========================================================
   ARTICLE CARD
   ========================================================= */

.cbw-post-article {
	background: var(--cbw-white);
	border: 1px solid var(--cbw-border);
	border-radius: var(--cbw-radius-lg);
	box-shadow: var(--cbw-shadow-sm);
	padding: clamp(24px, 3vw, 40px);
	position: relative;
	overflow: hidden;
}

.cbw-post-article::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: linear-gradient(90deg, var(--cbw-yellow) 0%, #ffe899 55%, var(--cbw-yellow) 100%);
}

/* =========================================================
   CONTENT TYPOGRAPHY
   ========================================================= */

.cbw-post-content {
	font-size: 17px;
	line-height: 1.9;
	color: var(--cbw-text);
	word-wrap: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
}

.cbw-post-content > * {
	max-width: 100%;
}

.cbw-post-content > *:first-child {
	margin-top: 0;
}

.cbw-post-content > *:last-child {
	margin-bottom: 0;
}

.cbw-post-content p {
	margin: 0 0 1.45em;
	color: var(--cbw-text);
	padding: 0;
	margin-left: 0;
	margin-right: 0;
}

.cbw-post-content h2,
.cbw-post-content h3,
.cbw-post-content h4,
.cbw-post-content h5,
.cbw-post-content h6 {
	scroll-margin-top: 120px;
	color: var(--cbw-black);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 1.9em 0 0.7em;
	line-height: 1.18;
	margin-left: 0;
	margin-right: 0;
}

.cbw-post-content h2 {
	font-size: clamp(1.65rem, 2.1vw, 2.25rem);
	padding: 0 0 14px;
	position: relative;
}

.cbw-post-content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 72px;
	height: 4px;
	border-radius: 999px;
	background: var(--cbw-yellow);
}

.cbw-post-content h3 {
	font-size: clamp(1.35rem, 1.7vw, 1.65rem);
}

.cbw-post-content h4 {
	font-size: 1.15rem;
}

.cbw-post-content ul,
.cbw-post-content ol {
	margin: 0 0 1.6em 1.2em;
	padding: 0;
}

.cbw-post-content li {
	margin: 0 0 0.7em;
	padding-left: 0.1em;
}

.cbw-post-content ul li::marker {
	color: var(--cbw-yellow);
}

.cbw-post-content ol li::marker {
	color: var(--cbw-black);
	font-weight: 700;
}

.cbw-post-content a {
	color: var(--cbw-black);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(255, 205, 41, 0.85);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.cbw-post-content a:hover {
	color: #000000;
	text-decoration-color: var(--cbw-black);
}

.cbw-post-content strong {
	color: var(--cbw-black);
	font-weight: 700;
}

.cbw-post-content em {
	color: #626c7a;
}

.cbw-post-content hr {
	border: 0;
	border-top: 1px solid var(--cbw-border);
	margin: 2.2em 0;
}

/* =========================================================
   IMAGES / MEDIA
   ========================================================= */

.cbw-post-content figure {
	margin: 2em 0;
}

.cbw-post-content img {
	border-radius: 22px;
	box-shadow: var(--cbw-shadow-md);
	overflow: hidden;
}

.cbw-post-content .wp-caption,
.cbw-post-content .wp-block-image,
.cbw-post-content .wp-block-gallery,
.cbw-post-content .gallery {
	margin: 2em 0;
}

.cbw-post-content figcaption,
.cbw-post-content .wp-caption-text {
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.6;
	color: var(--cbw-muted);
	text-align: center;
}

/* =========================================================
   BLOCKQUOTE
   ========================================================= */

.cbw-post-content blockquote {
	margin: 2em 0;
	padding: 26px 26px 26px 28px;
	border: 1px solid var(--cbw-border);
	border-left: 5px solid var(--cbw-yellow);
	border-radius: 24px;
	background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
	box-shadow: var(--cbw-shadow-sm);
	position: relative;
}

.cbw-post-content blockquote p:last-child {
	margin-bottom: 0;
}

.cbw-post-content blockquote::before {
	content: "“";
	position: absolute;
	top: 12px;
	right: 18px;
	font-size: 64px;
	line-height: 1;
	color: rgba(17, 17, 17, 0.08);
	font-family: Georgia, serif;
}

/* =========================================================
   TABLES
   ========================================================= */

.cbw-post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2em 0;
	background: var(--cbw-white);
	border: 1px solid var(--cbw-border);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--cbw-shadow-sm);
	display: block;
	overflow-x: auto;
	white-space: nowrap;
}

.cbw-post-content table thead th {
	background: #fff8dc;
	color: var(--cbw-black);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.cbw-post-content th,
.cbw-post-content td {
	padding: 16px 18px;
	border-bottom: 1px solid var(--cbw-border);
	text-align: left;
	font-size: 15px;
	line-height: 1.6;
	vertical-align: top;
}

.cbw-post-content tbody tr:last-child td {
	border-bottom: 0;
}

.cbw-post-content tbody tr:nth-child(even) {
	background: #fcfcfd;
}

/* =========================================================
   INLINE CTA
   ========================================================= */

.cbw-inline-cta {
	margin-top: 40px;
	padding: 28px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(255, 205, 41, 0.20), transparent 34%),
		linear-gradient(180deg, #111111 0%, #1c1c1c 100%);
	color: #ffffff;
	box-shadow: var(--cbw-shadow-lg);
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: center;
	flex-wrap: wrap;
}

.cbw-inline-cta__content {
	max-width: 700px;
}

.cbw-inline-cta__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.10);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--cbw-yellow);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 12px;
}

.cbw-inline-cta h2 {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 2vw, 2rem);
	line-height: 1.15;
	color: #ffffff;
}

.cbw-inline-cta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.84);
	font-size: 15px;
	line-height: 1.8;
}

.cbw-inline-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.cbw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	border: 1px solid transparent;
	cursor: pointer;
	transition: var(--cbw-transition);
	text-align: center;
}

.cbw-btn:hover {
	transform: translateY(-2px);
}

.cbw-btn--primary {
	background: var(--cbw-yellow);
	color: var(--cbw-black);
	box-shadow: 0 12px 30px rgba(255, 205, 41, 0.22);
}

.cbw-btn--primary:hover {
	background: #ffd84e;
	color: var(--cbw-black);
}

.cbw-btn--secondary {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.20);
}

.cbw-btn--secondary:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
}

.cbw-btn--full {
	width: 100%;
}

/* =========================================================
   AUTHOR BOX
   ========================================================= */

.cbw-author-box {
	margin-top: 34px;
	padding: 26px;
	border-radius: 26px;
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
	border: 1px solid var(--cbw-border);
	box-shadow: var(--cbw-shadow-sm);
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.cbw-author-box__avatar img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
	border: 4px solid #fff7d2;
	box-shadow: var(--cbw-shadow-sm);
}

.cbw-author-box__label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #8a91a0;
	margin-bottom: 8px;
}

.cbw-author-box__name {
	margin: 0 0 8px;
	font-size: 1.5rem;
	line-height: 1.2;
	color: var(--cbw-black);
}

.cbw-author-box__bio {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--cbw-text);
}

.cbw-author-box__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.cbw-author-box__trust span {
	display: inline-flex;
	align-items: center;
	padding: 9px 12px;
	border-radius: 999px;
	background: var(--cbw-light);
	border: 1px solid var(--cbw-border);
	font-size: 12px;
	font-weight: 700;
	color: var(--cbw-black);
}

/* =========================================================
   POST NAV
   ========================================================= */

.cbw-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 34px;
}

.cbw-post-nav__item {
	padding: 18px;
	border: 1px solid var(--cbw-border);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: var(--cbw-shadow-sm);
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	min-width: 0;
}

.cbw-post-nav__item:hover {
	transform: translateY(-3px);
	box-shadow: var(--cbw-shadow-md);
	border-color: #dcdcdc;
}

.cbw-post-nav__thumb img,
.cbw-post-nav__thumb-placeholder {
	width: 92px;
	height: 92px;
	border-radius: 18px;
	object-fit: cover;
	display: block;
	background: #f2f4f8;
}

.cbw-post-nav__thumb-placeholder {
	background:
		linear-gradient(135deg, rgba(255, 205, 41, 0.18), rgba(17, 17, 17, 0.05)),
		#f3f5f8;
}

.cbw-post-nav__content {
	min-width: 0;
}

.cbw-post-nav__label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8b92a1;
	margin-bottom: 8px;
}

.cbw-post-nav__title {
	display: block;
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 700;
	color: var(--cbw-black);
}

/* =========================================================
   SIDEBAR CARDS
   ========================================================= */

.cbw-toc-card,
.cbw-share-card,
.cbw-sidebar-cta,
.cbw-recent-card,
.cbw-sidebar-faq {
	background: #ffffff;
	border: 1px solid var(--cbw-border);
	border-radius: 24px;
	box-shadow: var(--cbw-shadow-sm);
	padding: 22px;
}

.cbw-toc-card {
	background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}

.cbw-toc-card__head {
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--cbw-border);
}

.cbw-toc-card__head h2,
.cbw-sidebar-title,
.cbw-sidebar-cta h2,
.cbw-sidebar-faq h2 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.3;
	color: var(--cbw-black);
	font-weight: 800;
}

.cbw-toc-card__body ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.cbw-toc-card__body li {
	margin: 0;
}

.cbw-toc-card__body li a {
	display: block;
	padding: 11px 12px;
	border-radius: 14px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--cbw-text);
	background: transparent;
	border: 1px solid transparent;
}

.cbw-toc-card__body li a:hover,
.cbw-toc-card__body li a.is-active {
	background: #fff8dc;
	border-color: rgba(255, 205, 41, 0.4);
	color: var(--cbw-black);
}

.cbw-toc-card__body ul ul {
	padding-left: 12px;
	border-left: 1px solid var(--cbw-border);
}

.cbw-toc-card__body ul ul li a {
	font-size: 13px;
	color: #697181;
}

.cbw-toc-card--mobile {
	display: none;
	margin-bottom: 18px;
}

.cbw-toc-card--desktop {
	display: block;
}

.cbw-share-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.cbw-share-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--cbw-light);
	border: 1px solid var(--cbw-border);
	font-size: 13px;
	font-weight: 700;
	color: var(--cbw-black);
}

.cbw-share-links a:hover {
	background: #fff8dc;
	border-color: rgba(255, 205, 41, 0.45);
	transform: translateY(-1px);
}

.cbw-sidebar-cta {
	background:
		radial-gradient(circle at top right, rgba(255, 205, 41, 0.20), transparent 34%),
		linear-gradient(180deg, #111111 0%, #1e1e1e 100%);
	color: #ffffff;
	box-shadow: var(--cbw-shadow-md);
}

.cbw-sidebar-cta__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--cbw-yellow);
	margin-bottom: 10px;
}

.cbw-sidebar-cta h2 {
	color: #ffffff;
	margin-bottom: 10px;
}

.cbw-sidebar-cta p {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.84);
}

/* =========================================================
   SIDEBAR RELATED
   ========================================================= */

.cbw-sidebar-related__list {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.cbw-sidebar-related__item {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: 16px;
	background: var(--cbw-light);
	border: 1px solid var(--cbw-border);
}

.cbw-sidebar-related__item:hover {
	background: #fff8dc;
	border-color: rgba(255, 205, 41, 0.45);
	transform: translateY(-1px);
}

.cbw-sidebar-related__thumb img,
.cbw-sidebar-related__thumb-placeholder {
	width: 76px;
	height: 76px;
	border-radius: 14px;
	object-fit: cover;
	display: block;
	background: #f2f4f8;
}

.cbw-sidebar-related__thumb-placeholder {
	background:
		linear-gradient(135deg, rgba(255, 205, 41, 0.18), rgba(17, 17, 17, 0.05)),
		#f3f5f8;
}

.cbw-sidebar-related__content {
	min-width: 0;
	display: grid;
	gap: 4px;
}

.cbw-sidebar-related__title {
	font-size: 14px;
	line-height: 1.45;
	font-weight: 700;
	color: var(--cbw-black);
}

.cbw-sidebar-related__meta {
	font-size: 12px;
	color: var(--cbw-muted);
}

/* =========================================================
   SIDEBAR FAQ
   ========================================================= */

.cbw-sidebar-faq__list {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.cbw-sidebar-faq__item {
	border: 1px solid var(--cbw-border);
	border-radius: 16px;
	background: #fbfbfc;
	overflow: hidden;
}

.cbw-sidebar-faq__question {
	width: 100%;
	background: transparent;
	border: 0;
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	text-align: left;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.5;
	font-weight: 700;
	color: var(--cbw-black);
}

.cbw-sidebar-faq__icon {
	position: relative;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.cbw-sidebar-faq__icon::before,
.cbw-sidebar-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: var(--cbw-black);
	transform: translate(-50%, -50%);
	transition: var(--cbw-transition);
}

.cbw-sidebar-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.cbw-sidebar-faq__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.28s ease;
}

.cbw-sidebar-faq__answer-inner {
	overflow: hidden;
	padding: 0 18px;
	font-size: 14px;
	line-height: 1.8;
	color: var(--cbw-text);
}

.cbw-sidebar-faq__item.is-open .cbw-sidebar-faq__answer {
	grid-template-rows: 1fr;
}

.cbw-sidebar-faq__item.is-open .cbw-sidebar-faq__answer-inner {
	padding: 0 18px 18px;
}

.cbw-sidebar-faq__item.is-open .cbw-sidebar-faq__icon::after {
	opacity: 0;
}

/* =========================================================
   RELATED POSTS
   ========================================================= */

.cbw-related-posts {
	margin-top: 38px;
}

.cbw-section-heading {
	margin-bottom: 20px;
}

.cbw-section-heading__kicker {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 205, 41, 0.18);
	color: var(--cbw-black);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
}

.cbw-section-heading h2 {
	margin: 0;
	font-size: clamp(1.6rem, 2vw, 2.2rem);
	line-height: 1.12;
	color: var(--cbw-black);
	letter-spacing: -0.02em;
}

.cbw-related-posts__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.cbw-related-card {
	background: #ffffff;
	border: 1px solid var(--cbw-border);
	border-radius: 26px;
	box-shadow: var(--cbw-shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: var(--cbw-transition);
}

.cbw-related-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cbw-shadow-md);
}

.cbw-related-card__media {
	display: block;
	background: #f2f4f8;
	overflow: hidden;
}

.cbw-related-card__media img,
.cbw-related-card__placeholder {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.cbw-related-card__placeholder {
	background:
		linear-gradient(135deg, rgba(255, 205, 41, 0.18), rgba(17, 17, 17, 0.05)),
		#f3f5f8;
}

.cbw-related-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.cbw-related-card__cat {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8a91a0;
	margin-bottom: 10px;
}

.cbw-related-card__title {
	margin: 0 0 10px;
	font-size: 1.15rem;
	line-height: 1.35;
	font-weight: 800;
	color: var(--cbw-black);
}

.cbw-related-card__title a:hover {
	color: #000000;
}

.cbw-related-card__excerpt {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.75;
	color: var(--cbw-text);
}

.cbw-related-card__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--cbw-black);
}

.cbw-related-card__link:hover {
	color: #000000;
	transform: translateX(2px);
}

/* =========================================================
   ASTRA / WORDPRESS CONFLICT FIXES
   ========================================================= */

.cbw-single-post-page .entry-content > .alignwide,
.cbw-single-post-page .entry-content > .alignfull,
.cbw-single-post-page .entry-content .alignwide,
.cbw-single-post-page .entry-content .alignfull {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
	width: 100%;
}

.cbw-single-post-page .entry-content .wp-block-button__link,
.cbw-single-post-page .entry-content .button,
.cbw-single-post-page .entry-content .ast-button {
	border-radius: 999px;
}

.cbw-single-post-page .entry-content .wp-block-image img {
	height: auto;
}

.cbw-single-post-page .entry-content .wp-block-table {
	margin: 2em 0;
}

.cbw-single-post-page .ast-article-single {
	padding: 0;
}

.cbw-single-post-page .post-navigation,
.cbw-single-post-page .comments-area,
.cbw-single-post-page .entry-header {
	display: none;
}

.cbw-post-content .wp-block-group,
.cbw-post-content .wp-block-columns {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {
	.cbw-post-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 24px;
	}

	.cbw-related-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.cbw-single-post-page__inner {
		padding: 0 16px 72px;
	}

	.cbw-post-hero__wrap {
		padding: 24px;
	}

	.cbw-post-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.cbw-post-main {
		padding-right: 0;
	}

	.cbw-post-sidebar__inner {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cbw-toc-card--desktop {
		display: none;
	}

	.cbw-toc-card--mobile {
		display: block;
	}

	.cbw-inline-cta {
		padding: 24px;
	}

	.cbw-related-posts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.cbw-post-hero {
		padding-top: 20px;
	}

	.cbw-post-hero__wrap {
		padding: 20px;
		border-radius: 24px;
	}

	.cbw-post-featured-image {
		aspect-ratio: 16 / 9;
	}

	.cbw-post-meta {
		gap: 10px;
	}

	.cbw-post-meta li {
		padding: 10px 12px;
		font-size: 12px;
	}

	.cbw-post-article {
		padding: 22px 18px;
		border-radius: 24px;
	}

	.cbw-post-content {
		font-size: 16px;
		line-height: 1.85;
	}

	.cbw-post-content h2 {
		font-size: 1.55rem;
	}

	.cbw-post-content h3 {
		font-size: 1.28rem;
	}

	.cbw-post-content table {
		font-size: 14px;
	}

	.cbw-inline-cta {
		padding: 22px 18px;
		border-radius: 24px;
	}

	.cbw-author-box {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.cbw-author-box__avatar img {
		width: 82px;
		height: 82px;
	}

	.cbw-post-nav {
		grid-template-columns: 1fr;
	}

	.cbw-post-nav__item {
		grid-template-columns: 80px minmax(0, 1fr);
	}

	.cbw-post-nav__thumb img,
	.cbw-post-nav__thumb-placeholder {
		width: 80px;
		height: 80px;
	}

	.cbw-post-sidebar__inner {
		grid-template-columns: 1fr;
	}

	.cbw-related-posts__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.cbw-single-post-page__inner {
		padding-left: 12px;
		padding-right: 12px;
	}

	.cbw-post-hero__wrap,
	.cbw-post-article,
	.cbw-toc-card,
	.cbw-share-card,
	.cbw-sidebar-cta,
	.cbw-recent-card,
	.cbw-related-card,
	.cbw-sidebar-faq {
		border-radius: 20px;
	}

	.cbw-post-title {
		font-size: 2rem;
	}

	.cbw-breadcrumb__list {
		font-size: 12px;
	}

	.cbw-post-content h2 {
		scroll-margin-top: 100px;
	}

	.cbw-sidebar-related__item {
		grid-template-columns: 68px minmax(0, 1fr);
	}

	.cbw-sidebar-related__thumb img,
	.cbw-sidebar-related__thumb-placeholder {
		width: 68px;
		height: 68px;
	}
}
/* --- Post Page Layout & Spacing Fixes --- */

/* 1. White Content Box ke andar spacing (Fixes text touching edges) */
.cbw-post-article {
    padding: 35px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    box-sizing: border-box !important;
    margin-bottom: 30px !important;
}

/* 2. Bullet points aur Lists ko andar karne ke liye */
.cbw-post-article ul, 
.cbw-post-article ol {
    padding-left: 30px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

/* 3. Desktop aur Tablet par main container ki sides ki space */
@media (min-width: 992px) {
    .cbw-single-post-page__inner {
        padding-left: 50px !important;
        padding-right: 50px !important;
        max-width: 1300px !important; /* Container ko thora wide rakha hai */
    }
}

/* 4. Mobile Devices (Phone) ke liye adjustment */
@media (max-width: 767px) {
    .cbw-post-article {
        padding: 20px 15px !important; /* Mobile par thori kam padding taake space zaya na ho */
    }
    
    .cbw-single-post-page__inner {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .cbw-post-article ul, 
    .cbw-post-article ol {
        padding-left: 20px !important;
    }
}
/* =========================
   FINAL WORKING STICKY SYSTEM
========================= */

/* layout stable */
.cbw-post-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 30px;
	align-items: start;
}

/* ONLY sidebar sticky */
.cbw-post-sidebar {
	position: sticky;
	top: 30px;
	align-self: start;
}

/* inner normal flow */
.cbw-post-sidebar__inner {
	position: static;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
@media (max-width: 992px){

	/* layout vertical karo */
	.cbw-post-layout {
		display: flex !important;
		flex-direction: column !important;
	}

	/* MAIN CONTENT pehle */
	.cbw-post-main {
		order: 1;
	}

	/* SIDEBAR baad me */
	.cbw-post-sidebar {
		order: 2;
		position: static !important;
		top: auto !important;
	}

	.cbw-post-sidebar__inner {
		position: static !important;
	}

}
/* =========================
   FORCE REMOVE BLUE (FINAL FIX)
========================= */

body .cbw-sidebar-faq__question,
body button.cbw-sidebar-faq__question {
	background: #f5f5f5 !important;
	color: #111 !important;
	border: none !important;
}

/* HOVER */
body .cbw-sidebar-faq__question:hover,
body button.cbw-sidebar-faq__question:hover {
	background: #ffcd29 !important;
	color: #111 !important;
}

/* ACTIVE / CLICK */
body .cbw-sidebar-faq__question:active,
body button.cbw-sidebar-faq__question:active {
	background: #ffcd29 !important;
	color: #111 !important;
}

/* OPEN STATE */
body .cbw-sidebar-faq__item.is-open .cbw-sidebar-faq__question {
	background: #ffcd29 !important;
	color: #111 !important;
}

/* REMOVE ALL FOCUS BLUE */
body .cbw-sidebar-faq__question:focus,
body .cbw-sidebar-faq__question:focus-visible,
body button.cbw-sidebar-faq__question:focus,
body button.cbw-sidebar-faq__question:focus-visible {
	outline: none !important;
	box-shadow: none !important;
	background: #ffcd29 !important;
	color: #111 !important;
}

/* MOBILE TAP BLUE REMOVE */
body button.cbw-sidebar-faq__question {
	-webkit-tap-highlight-color: transparent !important;
}