/* Single post: TOC sidebar + post hero */
.blog-post-single {
	--mira-sticky-header-offset: 170px;
	scroll-padding-top: var(--mira-sticky-header-offset);
}

.mira-toc-sidebar.blog-left-box {
	width: 320px;
	flex: 0 0 320px;
}

.mira-toc-sidebar .table-of-content-bg {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

@media (min-width: 1200px) {
	.mira-toc-sidebar .table-of-content-bg {
		position: sticky;
		top: var(--mira-sticky-header-offset, 170px);
		align-self: flex-start;
		z-index: 90;
	}
}

.mira-toc-sidebar .table-of-content-box {
	background: transparent;
	padding: 0;
	border: 0;
	box-shadow: none;
}

/* Main TOC card */
.mira-toc-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(11, 19, 43, 0.08);
	padding: 22px 0 18px;
	overflow: hidden;
}

.mira-toc-card__title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0b132b;
	margin: 0 22px 18px;
	line-height: 1.3;
}

.mira-toc-nav {
	padding: 0;
}

.mira-toc-list {
	list-style: none;
	margin: 0;
	padding: 0 0 6px;
	position: relative;
}

.mira-toc-list::before {
	content: "";
	position: absolute;
	left: 37px;
	top: 28px;
	bottom: 28px;
	width: 1px;
	background: #e8e8e8;
	z-index: 0;
}

.mira-toc-item {
	position: relative;
	margin: 0;
	z-index: 1;
}

.mira-toc-item__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 18px 14px 16px;
	position: relative;
}

.mira-toc-item.is-active .mira-toc-item__head {
	background: #fff5eb;
}

.mira-toc-item.is-active .mira-toc-item__head::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: #f56916;
	border-radius: 0 2px 2px 0;
}

.mira-toc-item__num {
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	color: #5c6478;
	position: relative;
	z-index: 1;
}

.mira-toc-item__num span {
	line-height: 1;
}

.mira-toc-item.is-active .mira-toc-item__num {
	background: #fff;
	box-shadow: 0 0 0 1px #f0f0f0;
	color: #0b132b;
}

.mira-toc-item.is-active .mira-toc-item__num::after {
	content: "";
	position: absolute;
	bottom: 4px;
	left: 50%;
	transform: translateX(-50%);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #f56916;
}

.mira-toc-item__link {
	flex: 1;
	font-size: 14px;
	line-height: 1.45;
	color: #0b132b;
	text-decoration: none;
	font-weight: 500;
	padding-top: 6px;
	transition: color 0.2s ease;
}

.mira-toc-item.is-active .mira-toc-item__link {
	font-weight: 700;
	color: #0b132b;
}

.mira-toc-item__link:hover {
	color: #f56916;
}

.mira-toc-item__toggle {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	margin-top: 4px;
	border: 0;
	background: transparent;
	color: #5c6478;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 4px;
	transition: transform 0.2s ease, color 0.2s ease;
}

.mira-toc-item__toggle:hover {
	color: #f56916;
}

.mira-toc-item.is-open .mira-toc-item__toggle {
	transform: rotate(0deg);
}

.mira-toc-item:not(.is-open) .mira-toc-item__toggle {
	transform: rotate(-90deg);
}

.mira-toc-sub {
	list-style: none;
	margin: 0;
	padding: 0 18px 12px 64px;
	display: none;
}

.mira-toc-sub.is-open {
	display: block;
}

.mira-toc-sub li {
	margin: 0 0 8px;
	padding-left: 14px;
	position: relative;
}

.mira-toc-sub li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #0b132b;
}

.mira-toc-sub__link {
	font-size: 13px;
	line-height: 1.45;
	color: #3d4558;
	text-decoration: none;
	font-weight: 400;
	display: block;
}

.mira-toc-sub__link:hover {
	color: #f56916;
}

/* Reading progress */
.mira-toc-reading {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 8px 18px 0;
	padding: 14px;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	background: #fff;
}

.mira-toc-reading__icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: linear-gradient(135deg, #f0aa0e 0%, #f56916 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 20px;
}

.mira-toc-reading__body {
	flex: 1;
	min-width: 0;
}

.mira-toc-reading__label {
	display: block;
	font-size: 12px;
	color: #8a93a8;
	line-height: 1.3;
	margin-bottom: 2px;
}

.mira-toc-reading__section {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #0b132b;
	line-height: 1.35;
	margin-bottom: 10px;
}

.mira-toc-reading__bar {
	height: 5px;
	border-radius: 999px;
	background: #f0f0f0;
	overflow: hidden;
}

.mira-toc-reading__fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #f0aa0e 0%, #f56916 100%);
	transition: width 0.25s ease;
}

/* Google preferred source card */
.mira-toc-sidebar .mira-toc-google {
	margin: 0;
}

.mira-toc-sidebar .mira-toc-google a {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(11, 19, 43, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mira-toc-sidebar .mira-toc-google a:hover {
	box-shadow: 0 6px 20px rgba(11, 19, 43, 0.12);
	transform: translateY(-1px);
}

.mira-toc-sidebar .mira-toc-google img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

/* Easy TOC fallback — match card look */
.mira-toc-sidebar .table-of-content-box .ez-toc-widget-container,
.mira-toc-sidebar .table-of-content-box .widget {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(11, 19, 43, 0.08);
	padding: 22px 18px;
	border: 0;
}

.mira-toc-sidebar .ez-toc-title,
.mira-toc-sidebar .widget-title {
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0b132b !important;
	margin-bottom: 16px !important;
}

.mira-toc-sidebar .ez-toc-list a {
	color: #0b132b;
	font-size: 14px;
}

@media (max-width: 1199px) {
	.mira-toc-sidebar.blog-left-box {
		width: 100%;
		flex: 0 0 100%;
		max-width: 400px;
		margin: 0 auto 24px;
	}
}

@media (max-width: 991px) {
	.mira-toc-sidebar.blog-left-box {
		max-width: none;
	}
}

/* Post hero: title + meta card bar */
.mira-post-hero.detail_head {
	padding:0px !important;
	margin: 0 0 24px;
	border-bottom: none;
}

.mira-post-hero__title {
	font-size: clamp(24px, 3.5vw, 30px) !important;
	font-weight: 700 !important;
	color: #0b132b !important;
	line-height: 1.2 !important;
	padding: 0 !important;
	margin: 0 0 20px !important;
	letter-spacing: -0.02em;
}

.mira-post-hero__meta-bar {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	margin: 0;
	padding:0px 15px;
	background: #fff;
	border: 1px solid #e8ecf4;
	border-radius: 14px;
	box-shadow: 0 4px 24px rgba(11, 19, 43, 0.06);
	gap: 0;
}

.mira-post-hero__meta-bar:has(.mira-post-hero__meta-cell:nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mira-post-hero__meta-bar:has(.mira-post-hero__meta-cell:nth-child(3):last-child) {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mira-post-hero__meta-cell {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 10px 15px;
	margin: 0;
}

.mira-post-hero__meta-cell:not(:first-child) {
	border-left: 1px solid #e4e8f0;
}

.mira-post-hero__meta-cell:first-child {
	padding-left: 0;
}

.mira-post-hero__meta-cell:last-child {
	padding-right: 0;
}

.mira-post-hero__meta-views .mira-post-hero__meta-value {
	letter-spacing: 0.01em;
}

.mira-post-hero__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 10px;
	background: #eef0ff;
}

.mira-post-hero__icon-wrap i {
	font-size: 22px;
	line-height: 1;
	color: #6b5ce7;
}

.mira-post-hero__meta-copy {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.mira-post-hero__meta-label {
	font-size: 12px;
	font-weight: 500;
	color: #8a93a8;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: none;
}

.mira-post-hero__meta-value {
	font-size: 15px;
	font-weight: 700;
	color: #0b132b;
	line-height: 1.35;
	word-break: break-word;
}

.mira-post-hero__meta-author {
	gap: 12px;
}

.mira-post-hero__avatar {
	width: 48px !important;
	height: 48px !important;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.mira-post-hero__author-name {
	font-size: 15px;
	font-weight: 700;
	color: #f56916;
	text-decoration: none;
	line-height: 1.3;
}

.mira-post-hero__author-name:hover {
	color: #e85d0a;
}

.blog_detail_box .mira-post-hero__meta-bar .mira-post-hero__meta-cell {
	text-transform: none;
	letter-spacing: 0;
	margin-left: 0;
	list-style: none;
}

.blog_detail_box .mira-post-hero__meta-bar .mira-post-hero__author-name {
	color: #f56916;
}

@media (max-width: 1199px) {
	.mira-post-hero__meta-bar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 18px 20px;
	}

	.mira-post-hero__meta-cell {
		padding: 12px 16px;
	}

	.mira-post-hero__meta-cell:nth-child(odd) {
		border-left: none;
		padding-left: 0;
	}

	.mira-post-hero__meta-cell:nth-child(even) {
		border-left: 1px solid #e4e8f0;
	}

	.mira-post-hero__meta-cell:nth-child(n + 3) {
		border-top: 1px solid #e4e8f0;
	}

	.mira-post-hero__meta-cell:nth-child(3) {
		padding-top: 16px;
	}
}

@media (max-width: 767px) {
	.mira-post-hero__meta-bar,
	.mira-post-hero__meta-bar:has(.mira-post-hero__meta-cell:nth-child(3):last-child) {
		display: flex;
		align-items: center;
		gap: 0;
		padding: 8px 12px;
		overflow: hidden;
		white-space: nowrap;
	}

	.mira-post-hero__meta-cell {
		flex: 0 1 auto;
		min-width: 0;
		padding: 0 8px;
		border: none !important;
		gap: 10px;
		align-items: center;
	}

	.mira-post-hero__meta-cell:nth-child(n + 3) {
		border-top: none !important;
	}

	.mira-post-hero__meta-views {
		display: none;
	}

	.mira-post-hero__meta-author {
		order: 1;
		padding-left: 0;
		flex: 1 1 auto;
	}

	.mira-post-hero__meta-read {
		order: 2;
		border-left: none !important;
		flex: 0 0 auto;
	}

	.mira-post-hero__meta-date {
		order: 3;
		padding-right: 0;
		border-left: none !important;
		flex: 0 0 auto;
	}

	.mira-post-hero__icon-wrap {
		width: auto;
		height: auto;
		background: transparent;
		border-radius: 0;
	}

	.mira-post-hero__icon-wrap i {
		font-size: 17px;
		color: #8a93a8;
	}

	.mira-post-hero__meta-label {
		display: none;
	}

	.mira-post-hero__meta-value {
		font-size: 14px;
		line-height: 1.2;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;
	}

	.mira-post-hero__avatar {
		width: 28px !important;
		height: 28px !important;
		border: 1px solid #eceff5;
	}

	.mira-post-hero__author-name {
		font-size: 14px;
		line-height: 1.2;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		display: block;
		max-width: 118px;
	}
}

@media (max-width: 479px) {
	.mira-post-hero__meta-bar,
	.mira-post-hero__meta-bar:has(.mira-post-hero__meta-cell:nth-child(3):last-child) {
		padding: 8px 10px;
	}

	.mira-post-hero__meta-cell {
		padding: 0 8px;
		gap: 8px;
	}

	.mira-post-hero__meta-date {
		display: flex;
	}

	.mira-post-hero__meta-value,
	.mira-post-hero__author-name {
		font-size: 13px;
	}
}

@media (max-width: 767px) {
	.mira-post-hero__title {
		margin-bottom: 16px !important;
	}
}

/* —— Sidebar inquiry form (single post) —— */
.mira-sidebar-form-wrap {
	width: 100%;
}

.mira-sidebar-form-wrap .mira-sidebar-form.enquiryForm {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.mira-sidebar-form-wrap .mira-sf-field {
	position: relative;
	display: flex;
	align-items: center;
}

.mira-sidebar-form-wrap .mira-sf-field--select {
	position: relative;
	z-index: 1;
}

.mira-sidebar-form-wrap .mira-sf-field--select:focus-within {
	z-index: 50;
}

.mira-sidebar-form-wrap .mira-sf-field > .ti {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;
	color: #9aa3b5;
	pointer-events: none;
	z-index: 2;
	line-height: 1;
}

.mira-sidebar-form-wrap .mira-sf-field .form-control,
.mira-sidebar-form-wrap .mira-sf-field .form-select {
	width: 100%;
	height: 48px;
	padding: 10px 14px 10px 44px;
	font-size: 14px;
	color: #0b132b;
	background: #fff;
	border: 1px solid #d8dde6;
	border-radius: 8px;
	box-shadow: none;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.mira-sidebar-form-wrap .mira-sf-field .form-control::placeholder {
	color: #8a93a8;
}

/* Country select: no Bootstrap form-select (avoids extra SVG arrow). Match placeholder gray until a value is chosen. */
.mira-sidebar-form-wrap .mira-sf-field--select select.mira-sf-select {
	appearance: none !important;
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	padding-right: 40px;
	cursor: pointer;
	background-color: #fff;
	background-image: none !important;
	color: #0b132b;
}

.mira-sidebar-form-wrap .mira-sf-field--select select.mira-sf-select:invalid {
	color: #8a93a8;
}

.mira-sidebar-form-wrap .mira-sf-field--select select.mira-sf-select option {
	color: #0b132b;
}

.mira-sidebar-form-wrap .mira-sf-field--select select.mira-sf-select option[value=""] {
	color: #8a93a8;
}

.mira-sidebar-form-wrap .mira-sf-field--select select.mira-sf-select::-ms-expand {
	display: none;
}

.mira-sidebar-form-wrap .mira-sf-field--select > .ti:not(.mira-sf-chevron) {
	color: #9aa3b5;
}

.mira-sidebar-form-wrap .mira-sf-field .form-control:focus,
.mira-sidebar-form-wrap .mira-sf-field .form-select:focus {
	border-color: #f56916;
	outline: none;
	box-shadow: none;
}

.mira-sidebar-form-wrap .mira-sf-field--select .mira-sf-chevron {
	left: auto;
	right: 14px;
	font-size: 16px;
	color: #9aa3b5;
}

.mira-sidebar-form-wrap .mira-sf-field--textarea {
	align-items: stretch;
}

.mira-sidebar-form-wrap .mira-sf-field--textarea .message {
	height: 120px;
	min-height: 120px;
	padding: 12px 14px;
	resize: vertical;
}

.mira-sidebar-form-wrap .mira-sf-nda {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: #e8f5e9;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.4;
	color: #2e7d32;
}

.mira-sidebar-form-wrap .mira-sf-nda .ti-shield-check {
	flex-shrink: 0;
	font-size: 20px;
	color: #43a047;
}

.mira-sidebar-form-wrap .mira-sf-honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.mira-sidebar-form-wrap .mira-sf-captcha.math-captcha {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin: 0;
}

.mira-sidebar-form-wrap .mira-sf-captcha-q {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 500;
	color: #0b132b;
	background: #fff;
	border: 1px solid #d8dde6;
	border-radius: 8px;
	text-align: center;
}

.mira-sidebar-form-wrap .mira-sf-captcha .captcha_answer,
.mira-sidebar-form-wrap .mira-sf-captcha .mira-sf-captcha-input {
	flex: 1;
	height: 48px;
	padding: 10px 14px;
	margin: 0;
	border: 1px solid #d8dde6;
	border-radius: 8px;
	background: #fff;
	font-size: 14px;
	color: #0b132b;
}

/* If type=number is ever used again, hide spinners */
.mira-sidebar-form-wrap .mira-sf-captcha .captcha_answer::-webkit-outer-spin-button,
.mira-sidebar-form-wrap .mira-sf-captcha .captcha_answer::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.mira-sidebar-form-wrap .mira-sf-captcha .captcha_answer[type="number"] {
	-moz-appearance: textfield;
}

.mira-sidebar-form-wrap .mira-sf-captcha .captcha_answer::placeholder,
.mira-sidebar-form-wrap .mira-sf-captcha .mira-sf-captcha-input::placeholder {
	color: #8a93a8;
}

.mira-sidebar-form-wrap .mira-sf-captcha .captcha-error {
	display: block;
	width: 100%;
	margin-top: 4px;
}

.mira-sidebar-form-wrap .mira-sf-submit-wrap {
	margin-top: 4px;
	text-align: stretch;
}

/* Wins over global .btn-orange { color: #000 !important } in button.css */
.mira-sidebar-form-wrap .mira-sf-submit.validateForm.btn-orange {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 52px;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff !important;
	border: none;
	border-radius: 8px;
	background: linear-gradient(180deg, #f5a623 0%, #f56916 100%);
	box-shadow: 0 2px 8px rgba(245, 105, 22, 0.35);
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.mira-sidebar-form-wrap .mira-sf-submit.validateForm.btn-orange span {
	color: #fff !important;
}

.mira-sidebar-form-wrap .mira-sf-submit.validateForm.btn-orange:hover,
.mira-sidebar-form-wrap .mira-sf-submit.validateForm.btn-orange:focus {
	color: #fff !important;
	filter: brightness(1.05);
	box-shadow: 0 4px 12px rgba(245, 105, 22, 0.4);
}

.mira-sidebar-form-wrap .mira-sf-submit.validateForm.btn-orange .ti-send {
	font-size: 18px;
	color: #fff !important;
}

/* ========== Single post layout: responsive columns & spacing ========== */
.mira-single-post.blog_detail_bg {
	--mira-layout-pad-x: clamp(14px, 4vw, 32px);
	--mira-layout-gap: clamp(18px, 2.8vw, 36px);
	--mira-layout-stack-gap: clamp(24px, 5vw, 44px);
}

.mira-single-post.blog_detail_bg > .mira-single-container {
	width: 100%;
	max-width: 100%;
	margin-inline: auto;
	padding-left: var(--mira-layout-pad-x);
	padding-right: var(--mira-layout-pad-x);
	box-sizing: border-box;
}

.mira-single-post .mira-single-columns.blog-detail-content-bg {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: flex-start;
	gap: var(--mira-layout-gap);
	row-gap: var(--mira-layout-stack-gap);
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.mira-single-post .blog-content-des-bg {
	flex: 1 1 280px;
	min-width: 0;
	max-width: 100%;
}

.mira-single-post .blog-right-content {
	flex: 0 1 320px;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.mira-single-post .blog_detail_box,
.mira-single-post .blog_detail_innner {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.mira-single-post .mira-toc-google img {
	max-width: 100%;
	height: auto;
	display: block;
}

.mira-single-post .sidebar-form-box {
	width: 100%;
	box-sizing: border-box;
}

/* Desktop: one row, TOC + article + sidebar */
@media (min-width: 1200px) {
	/*
	 * Sticky sidebars need columns as tall as the article: with align-items:flex-start,
	 * left/right only matched their own content height, so position:sticky never "ran".
	 */
	.mira-single-post .mira-single-columns.blog-detail-content-bg {
		flex-wrap: nowrap;
		align-items: stretch;
		column-gap: var(--mira-layout-gap);
		row-gap: 0;
	}

	.mira-single-post .mira-toc-sidebar.blog-left-box {
		flex: 0 0 320px;
		width: 320px;
		max-width: 320px;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.mira-single-post .blog-content-des-bg {
		flex: 1 1 0;
		min-width: 0;
		min-height: 0;
	}

	.mira-single-post .blog-right-content {
		flex: 0 0 300px;
		width: 300px;
		max-width: 320px;
		display: flex;
		flex-direction: column;
		gap: clamp(16px, 2vw, 24px);
		min-height: 0;
	}

	/* Inquiry form stays in view while reading long posts */
	.mira-single-post .blog-right-content .sidebar-form-box {
		position: sticky;
		top: var(--mira-sticky-header-offset, 170px);
		align-self: flex-start;
		width: 100%;
		max-width: 100%;
		z-index: 88;
		max-height: calc(100vh - var(--mira-sticky-header-offset, 170px) - 24px);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		box-sizing: border-box;
	}
}

/* Tablet / small laptop: stack TOC, then article, then form */
@media (max-width: 1199px) {
	.mira-single-post .mira-single-columns.blog-detail-content-bg {
		flex-direction: column;
		align-items: stretch;
	}

	.mira-single-post .mira-toc-sidebar.blog-left-box {
		width: 100%;
		max-width: min(560px, 100%);
		margin-inline: auto;
		flex: 0 0 auto;
	}

	.mira-single-post .blog-content-des-bg {
		flex: 1 1 auto;
		width: 100%;
		order: 0;
	}

	.mira-single-post .blog-right-content {
		flex: 0 0 auto;
		width: 100%;
		max-width: min(520px, 100%);
		margin-inline: auto;
		padding-bottom: clamp(8px, 2vw, 24px);
	}
}

/* Phones: tighter rhythm, readable type */
@media (max-width: 767px) {
	.mira-single-post.blog_detail_bg {
		padding-top: clamp(76px, 20vw, 108px);
		padding-bottom: clamp(28px, 8vw, 48px);
	}

	.mira-single-post .mira-post-hero.detail_head {
		padding: 0 0 clamp(16px, 4vw, 24px);
		margin: 0 0 clamp(16px, 4vw, 22px);
	}

	.mira-single-post .mira-post-hero__title {
		font-size: clamp(22px, 6.2vw, 30px) !important;
		line-height: 1.28 !important;
	}

	.mira-single-post .blog_detail_box .single-post-content,
	.mira-single-post .blog_detail_box .post-content.single-post-content {
		font-size: clamp(15px, 3.8vw, 17px);
		line-height: 1.65;
	}

	.mira-single-post .blog_detail_box .single-post-content h2,
	.mira-single-post .blog_detail_box .post-content.single-post-content h2 {
		font-size: clamp(22px, 5.6vw, 28px) !important;
		line-height: 1.3 !important;
		font-weight: 700 !important;
		margin: 1.25em 0 0.6em !important;
	}

	.mira-single-post .blog_detail_box .single-post-content h3,
	.mira-single-post .blog_detail_box .post-content.single-post-content h3 {
		font-size: clamp(18px, 4.8vw, 23px) !important;
		line-height: 1.35 !important;
		font-weight: 700 !important;
		margin: 1.1em 0 0.55em !important;
	}

	.mira-single-post .blog_detail_box .single-post-content p,
	.mira-single-post .blog_detail_box .post-content.single-post-content p {
		font-size: clamp(15px, 3.8vw, 17px);
		line-height: 1.7;
	}

	.mira-single-post .post-category-bg .full-image-box img {
		width: 100%;
		height: auto;
	}

	.mira-single-post .prev-next-sidebar {
		margin-top: clamp(20px, 5vw, 32px);
	}
}

@media (max-width: 479px) {
	.mira-single-post.blog_detail_bg {
		--mira-layout-pad-x: 14px;
		--mira-layout-gap: 14px;
		--mira-layout-stack-gap: 20px;
	}

	.mira-single-post .mira-toc-card {
		padding-left: 0;
		padding-right: 0;
	}

	.mira-single-post .mira-toc-card__title {
		margin-left: clamp(14px, 4vw, 22px);
		margin-right: clamp(14px, 4vw, 22px);
	}
}

/* Mobile TOC drawer toggle */
.mira-toc-mobile-head,
.mira-toc-mobile-toggle,
.mira-toc-mobile-backdrop {
	display: none;
}

@media (max-width: 767px) {
	.mira-single-post .mira-toc-mobile-toggle {
		position: fixed;
		left: clamp(10px, 3.5vw, 16px);
		right: auto;
		bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 16px));
		z-index: 221;
		border: 0;
		border-radius: 14px;
		background: linear-gradient(135deg, #f7a326 0%, #f56916 100%);
		color: #fff;
		padding: 8px 10px 8px 8px;
		box-shadow: 0 8px 28px rgba(245, 105, 22, 0.38);
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-weight: 700;
		font-size: 12px;
		letter-spacing: 0.01em;
	}

	@media (max-width: 479px) {
		.mira-single-post .mira-toc-mobile-toggle {
			left: 10px;
			bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 12px));
		}
	}

	.mira-single-post .mira-toc-mobile-toggle__icon {
		width: 28px;
		height: 28px;
		border-radius: 9px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		background: rgba(255, 255, 255, 0.22);
		font-size: 16px;
	}

	.mira-single-post .mira-toc-mobile-toggle__label {
		line-height: 1;
	}

	.mira-single-post .mira-toc-mobile-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(11, 19, 43, 0.46);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s ease;
		z-index: 219;
	}

	.mira-single-post .mira-toc-sidebar.blog-left-box {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		width: min(88vw, 360px);
		max-width: 360px;
		margin: 0;
		padding: 0;
		z-index: 220;
		transform: translateX(108%);
		transition: transform 0.28s ease;
		background: #fff;
		box-shadow: -6px 0 30px rgba(11, 19, 43, 0.2);
		max-height: 100vh;
		overflow: hidden;
	}

	.mira-single-post .mira-toc-sidebar .table-of-content-bg {
		height: 100%;
		padding: 14px 12px 18px;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.mira-single-post .mira-toc-mobile-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 4px 4px 10px;
		border-bottom: 1px solid #eceff5;
		margin-bottom: 4px;
	}

	.mira-single-post .mira-toc-mobile-title {
		margin: 0;
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.05em;
		text-transform: uppercase;
		color: #0b132b;
	}

	.mira-single-post .mira-toc-mobile-close {
		border: 0;
		background: #f4f6fb;
		color: #4b556b;
		width: 34px;
		height: 34px;
		border-radius: 10px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		font-size: 20px;
		padding: 0;
	}

	.mira-single-post .mira-toc-mobile-close:active {
		transform: scale(0.96);
	}

	body.mira-toc-open {
		overflow: hidden;
	}

	body.mira-toc-open .mira-single-post .mira-toc-sidebar.blog-left-box {
		transform: translateX(0);
	}

	body.mira-toc-open .mira-single-post .mira-toc-mobile-backdrop {
		opacity: 1;
		pointer-events: auto;
	}
}