/* Single post — advanced editorial reading experience */

.single-page {
	--single-green: #3f9a44;
	--single-green-dark: #2d7a31;
	--single-gold: #c99a4a;
	--single-text: #1a2332;
	--single-muted: #64748b;
	--single-line: rgba(63, 154, 68, 0.12);
	background: #ffffff;
	font-family: IRANYekanX, sans-serif;
}

html.rbz-lang-en .single-page,
html.rbz-ltr .single-page {
	font-family: 'Plus Jakarta Sans', IRANYekanX, sans-serif;
}

/* ── Hero ── */

.single-hero {
	position: relative;
	padding-block: clamp(6.5rem, 10vw, 8.5rem) clamp(1.5rem, 3vw, 2.25rem);
	overflow: hidden;
}

.single-hero__scene {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.single-hero__orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.45;
}

.single-hero__orb--1 {
	width: clamp(220px, 30vw, 380px);
	height: clamp(220px, 30vw, 380px);
	top: -6%;
	inset-inline-start: -4%;
	background: rgba(63, 154, 68, 0.16);
}

.single-hero__orb--2 {
	width: clamp(180px, 24vw, 300px);
	height: clamp(180px, 24vw, 300px);
	bottom: 0;
	inset-inline-end: -2%;
	background: rgba(201, 154, 74, 0.14);
}

.single-hero__dots {
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image: radial-gradient(circle, rgba(63, 154, 68, 0.18) 1px, transparent 1px);
	background-size: 18px 18px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}

.single-hero__wheat {
	position: absolute;
	width: clamp(48px, 6vw, 72px);
	color: rgba(63, 154, 68, 0.12);
}

.single-hero__wheat--1 {
	top: 18%;
	inset-inline-start: 5%;
	transform: rotate(-12deg);
}

.single-hero__progress {
	position: fixed;
	top: 0;
	inset-inline: 0;
	height: 3px;
	background: rgba(63, 154, 68, 0.08);
	z-index: 120;
	pointer-events: none;
}

.single-hero__progress-bar {
	display: block;
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, var(--single-green-dark), var(--single-green));
	border-radius: 0 2px 2px 0;
	transition: width 0.08s linear;
}

[dir="ltr"] .single-hero__progress-bar {
	border-radius: 2px 0 0 2px;
}

.single-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100%, var(--rbz-container, 72rem));
	margin-inline: auto;
	padding-inline: var(--rbz-gutter, clamp(1rem, 3vw, 1.5rem));
}

.single-hero__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.single-hero__back,
.single-hero__crumb {
	display: inline-flex;
	align-items: center;
	gap: 0.4375rem;
	color: var(--single-muted);
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease, gap 0.2s ease;
}

.single-hero__back:hover,
.single-hero__crumb:hover {
	color: var(--single-green-dark);
	gap: 0.5625rem;
}

.single-hero__crumb {
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--single-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
}

.single-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.single-hero__layout {
		grid-template-columns: minmax(0, 1fr) minmax(15.5rem, 18.5rem);
		gap: clamp(1.25rem, 2.5vw, 2rem);
	}
}

.single-hero__head {
	max-width: 42rem;
}

.single-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.875rem;
	padding: 0.4rem 0.95rem;
	border: 1px solid rgba(63, 154, 68, 0.22);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	color: var(--single-green-dark);
	font-size: 0.75rem;
	font-weight: 800;
}

.single-hero__eyebrow-dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 50%;
	background: var(--single-green);
	box-shadow: 0 0 0 4px rgba(63, 154, 68, 0.15);
}

.single-hero__title {
	margin: 0 0 0.875rem;
	color: var(--single-text);
	font-size: clamp(1.875rem, 4.5vw, 2.875rem);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: -0.03em;
}

.single-hero__lead {
	margin: 0 0 1.25rem;
	max-width: 62ch;
	color: var(--single-muted);
	font-size: clamp(1rem, 1.8vw, 1.125rem);
	font-weight: 600;
	line-height: 1.85;
}

.single-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.single-hero__meta-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.4375rem 0.75rem;
	border: 1px solid var(--single-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.88);
	color: var(--single-muted);
	font-size: 0.75rem;
	font-weight: 700;
}

.single-hero__meta-pill .rbz-icon {
	color: var(--single-green-dark);
	font-size: 0.875rem;
}

.single-hero__summary-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	padding: 0.875rem;
	border: 1px solid var(--single-line);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 18px 44px -28px rgba(26, 35, 50, 0.2);
	backdrop-filter: blur(10px);
}

@media (min-width: 1024px) {
	.single-hero__summary-card {
		flex-direction: column;
		padding: 1rem 1.125rem;
	}
}

.single-hero__metric {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	padding: 0.375rem 0.5rem;
}

.single-hero__metric-icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2.625rem;
	height: 2.625rem;
	border-radius: 14px;
	background: rgba(63, 154, 68, 0.1);
	color: var(--single-green-dark);
	font-size: 1.125rem;
}

.single-hero__metric-icon--gold {
	background: rgba(201, 154, 74, 0.12);
	color: #9a7332;
}

.single-hero__metric-body {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.single-hero__metric-value {
	color: var(--single-green-dark);
	font-size: 0.9375rem;
	font-weight: 900;
	line-height: 1.2;
}

.single-hero__metric-label {
	color: var(--single-muted);
	font-size: 0.6875rem;
	font-weight: 700;
}

.single-hero__metric-divider {
	flex-shrink: 0;
	align-self: stretch;
	width: 1px;
	margin-block: 0.25rem;
	background: var(--single-line);
}

@media (min-width: 1024px) {
	.single-hero__metric-divider {
		width: auto;
		height: 1px;
		margin: 0.25rem 0.5rem;
	}
}

.single-hero__media {
	margin-top: clamp(1.5rem, 3vw, 2rem);
}

.single-hero__frame {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	aspect-ratio: 21 / 9;
	background: rgba(63, 154, 68, 0.05);
	box-shadow: 0 24px 60px -32px rgba(26, 35, 50, 0.28);
}

.single-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.single-hero__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, transparent 50%);
	pointer-events: none;
}

.single-hero__frame-badge {
	position: absolute;
	inset-inline-end: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.375rem;
	height: 2.375rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--single-green-dark);
	font-size: 1rem;
	box-shadow: 0 8px 20px -12px rgba(26, 35, 50, 0.35);
}

/* ── Article layout ── */

.single {
	padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 4.5rem);
	background: #ffffff;
}

.single__inner {
	width: 100%;
	max-width: var(--rbz-container);
	margin: 0 auto;
	padding-inline: var(--rbz-gutter);
}

.single__layout {
	display: grid;
	grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
	gap: clamp(1.5rem, 3vw, 2.75rem);
	align-items: start;
}

.single__aside-sticky {
	position: sticky;
	top: clamp(5.5rem, 8vw, 6.5rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.single__read-card {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 1rem;
	border: 1px solid var(--single-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 32px -24px rgba(26, 35, 50, 0.14);
}

.single__read-ring {
	position: relative;
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
}

.single__read-ring svg {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.single__read-ring-track,
.single__read-ring-fill {
	fill: none;
	stroke-width: 2.5;
}

.single__read-ring-track {
	stroke: rgba(63, 154, 68, 0.12);
}

.single__read-ring-fill {
	stroke: var(--single-green);
	stroke-linecap: round;
	stroke-dasharray: 97.4;
	stroke-dashoffset: 97.4;
	transition: stroke-dashoffset 0.12s linear;
}

.single__read-percent {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--single-green-dark);
	font-size: 0.6875rem;
	font-weight: 900;
}

.single__read-label {
	display: block;
	color: var(--single-text);
	font-size: 0.75rem;
	font-weight: 800;
}

.single__read-hint {
	display: block;
	margin-top: 0.125rem;
	color: var(--single-muted);
	font-size: 0.6875rem;
	font-weight: 600;
}

.single__toc,
.single__share {
	padding: 1rem 1.125rem;
	border: 1px solid var(--single-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 32px -24px rgba(26, 35, 50, 0.1);
}

.single__toc[hidden] {
	display: none;
}

.single__toc-title,
.single__share-title {
	display: flex;
	align-items: center;
	gap: 0.4375rem;
	margin-bottom: 0.75rem;
	color: var(--single-text);
	font-size: 0.75rem;
	font-weight: 800;
}

.single__toc-title .rbz-icon,
.single__share-title .rbz-icon {
	color: var(--single-green-dark);
	font-size: 0.9375rem;
}

.single__toc-list {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: toc;
}

.single__toc-item {
	counter-increment: toc;
}

.single__toc-link {
	display: block;
	padding: 0.375rem 0;
	color: var(--single-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.55;
	text-decoration: none;
	border-inline-start: 2px solid transparent;
	padding-inline-start: 0.625rem;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.single__toc-link:hover,
.single__toc-link.is-active {
	color: var(--single-green-dark);
	border-inline-start-color: var(--single-green);
}

.single__toc-link--h3 {
	padding-inline-start: 1.25rem;
	font-size: 0.75rem;
	font-weight: 500;
}

.single__share-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
}

.single__share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4375rem;
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1px solid var(--single-line);
	border-radius: 999px;
	background: #ffffff;
	color: var(--single-green-dark);
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.single__share-btn:hover,
.single__share-btn.is-copied {
	background: var(--single-green);
	border-color: var(--single-green);
	color: #ffffff;
	transform: translateY(-1px);
}

.single__share-btn--telegram:hover {
	background: #229ed9;
	border-color: #229ed9;
}

.single__share-btn--whatsapp:hover {
	background: #25d366;
	border-color: #25d366;
}

.single__article-card {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--single-line);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 24px 60px -36px rgba(26, 35, 50, 0.16);
}

/* ── Prose ── */

.single__prose {
	max-width: 72ch;
	color: var(--single-text);
	font-size: clamp(1rem, 1.6vw, 1.0625rem);
	line-height: 2;
}

.single__prose > *:first-child {
	margin-top: 0;
}

.single__prose > *:last-child {
	margin-bottom: 0;
}

.single__prose h2,
.single__prose h3,
.single__prose h4 {
	color: var(--single-text);
	font-weight: 800;
	line-height: 1.45;
	letter-spacing: -0.02em;
	scroll-margin-top: 6rem;
}

.single__prose h2 {
	margin: 2.25rem 0 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(63, 154, 68, 0.12);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.single__prose h3 {
	margin: 1.75rem 0 0.75rem;
	font-size: clamp(1.0625rem, 2vw, 1.25rem);
}

.single__prose h4 {
	margin: 1.5rem 0 0.625rem;
	font-size: 1rem;
}

.single__prose p {
	margin-bottom: 1.25rem;
}

.single__prose a {
	color: var(--single-green-dark);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(45, 122, 49, 0.35);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s ease;
}

.single__prose a:hover {
	text-decoration-color: var(--single-green-dark);
}

.single__prose ul,
.single__prose ol {
	margin: 0 0 1.25rem;
	padding-inline-start: 1.5rem;
}

.single__prose li {
	margin-bottom: 0.5rem;
}

.single__prose li::marker {
	color: var(--single-green);
}

.single__prose blockquote {
	position: relative;
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-inline-start: 3px solid var(--single-green);
	border-radius: 0 16px 16px 0;
	background: rgba(63, 154, 68, 0.05);
	color: var(--single-text);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.85;
}

[dir="ltr"] .single__prose blockquote {
	border-radius: 16px 0 0 16px;
}

.single__prose blockquote p:last-child {
	margin-bottom: 0;
}

.single__prose img,
.single__prose figure {
	max-width: 100%;
	margin: 1.75rem 0;
	border-radius: 18px;
}

.single__prose figcaption {
	margin-top: 0.625rem;
	color: var(--single-muted);
	font-size: 0.8125rem;
	text-align: center;
}

.single__prose pre {
	margin: 1.5rem 0;
	padding: 1.125rem 1.25rem;
	border-radius: 16px;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 0.875rem;
	line-height: 1.7;
	overflow-x: auto;
}

.single__prose code {
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: rgba(63, 154, 68, 0.08);
	color: var(--single-green-dark);
	font-size: 0.9em;
}

.single__prose pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.single__prose table {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.single__prose th,
.single__prose td {
	padding: 0.75rem 1rem;
	border: 1px solid rgba(63, 154, 68, 0.12);
	text-align: start;
}

.single__prose th {
	background: rgba(63, 154, 68, 0.06);
	font-weight: 700;
}

.single__prose hr {
	margin: 2.5rem 0;
	border: none;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(63, 154, 68, 0.2), transparent);
}

/* Tags + author */

.single__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.75rem;
	border-top: 1px solid rgba(63, 154, 68, 0.1);
}

.single__tags-label {
	color: var(--single-muted);
	font-size: 0.8125rem;
	font-weight: 700;
}

.single__tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.single__tag {
	display: inline-block;
	padding: 0.3125rem 0.75rem;
	border: 1px solid rgba(63, 154, 68, 0.14);
	border-radius: 999px;
	background: rgba(63, 154, 68, 0.06);
	color: var(--single-green-dark);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
}

.single__tag:hover {
	background: var(--single-green);
	color: #ffffff;
}

.single__author {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	margin-top: 1.75rem;
	padding: 1.125rem 1.25rem;
	border: 1px solid rgba(63, 154, 68, 0.1);
	border-radius: 18px;
	background: rgba(63, 154, 68, 0.03);
}

.single__author-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--single-green-dark), var(--single-green));
	color: #ffffff;
	font-size: 1.125rem;
}

.single__author-label {
	display: block;
	color: var(--single-muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.single__author-name {
	display: block;
	color: var(--single-text);
	font-size: 0.9375rem;
	font-weight: 800;
}

.single__author-bio {
	margin: 0.375rem 0 0;
	color: var(--single-muted);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.7;
}

/* ── Related posts ── */

.single-related {
	padding-block: clamp(2.5rem, 5vw, 4rem);
	background:
		radial-gradient(ellipse 80% 50% at 50% 0%, rgba(63, 154, 68, 0.06) 0%, transparent 70%),
		#ffffff;
}

.single-related__inner {
	width: 100%;
	max-width: var(--rbz-container);
	margin: 0 auto;
	padding-inline: var(--rbz-gutter);
}

.single-related__head {
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
	text-align: center;
}

.single-related__eyebrow {
	display: inline-block;
	margin-bottom: 0.625rem;
	padding: 0.3rem 0.75rem;
	border: 1px solid rgba(63, 154, 68, 0.16);
	border-radius: 999px;
	background: rgba(63, 154, 68, 0.06);
	color: var(--single-green);
	font-size: 0.75rem;
	font-weight: 700;
}

.single-related__title {
	color: var(--single-text);
	font-size: clamp(1.375rem, 2.8vw, 1.75rem);
	font-weight: 800;
	line-height: 1.45;
}

.single-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.875rem, 1.8vw, 1.125rem);
}

.single-related__card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--single-line);
	background: #ffffff;
	box-shadow: 0 16px 40px -28px rgba(26, 35, 50, 0.14);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.single-related__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 48px -24px rgba(26, 35, 50, 0.2);
}

.single-related__index {
	position: absolute;
	top: 0.875rem;
	inset-inline-start: 0.875rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2rem;
	padding: 0.25rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--single-green-dark);
	font-size: 0.6875rem;
	font-weight: 900;
	box-shadow: 0 6px 16px -10px rgba(26, 35, 50, 0.35);
}

.single-related__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.single-related__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgba(63, 154, 68, 0.05);
}

.single-related__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.single-related__card:hover .single-related__img {
	transform: scale(1.05);
}

.single-related__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--single-green);
	font-size: 2rem;
	opacity: 0.28;
}

.single-related__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(10, 16, 12, 0.35) 100%);
	pointer-events: none;
}

.single-related__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem 1.125rem 1.125rem;
}

.single-related__cat {
	align-self: flex-start;
	margin-bottom: 0.5rem;
	padding: 0.1875rem 0.5rem;
	border-radius: 999px;
	background: rgba(63, 154, 68, 0.08);
	color: var(--single-green-dark);
	font-size: 0.6875rem;
	font-weight: 700;
}

.single-related__card-title {
	margin-bottom: 0.75rem;
	color: var(--single-text);
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.55;
}

.single-related__read {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: auto;
	color: var(--single-muted);
	font-size: 0.75rem;
	font-weight: 700;
	transition: gap 0.25s ease, color 0.25s ease;
}

.single-related__card:hover .single-related__read {
	gap: 0.5625rem;
	color: var(--single-green-dark);
}

/* ── Post navigation ── */

.single-nav {
	padding-block: 0 clamp(3rem, 6vw, 4.5rem);
	background: #ffffff;
}

.single-nav__inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.875rem, 1.8vw, 1.125rem);
	width: 100%;
	max-width: var(--rbz-container);
	margin: 0 auto;
	padding-inline: var(--rbz-gutter);
}

.single-nav__link {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.125rem 1.25rem;
	border: 1px solid var(--single-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 12px 32px -24px rgba(26, 35, 50, 0.12);
	color: inherit;
	text-decoration: none;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.single-nav__link:hover {
	background: rgba(63, 154, 68, 0.06);
	border-color: rgba(63, 154, 68, 0.2);
	transform: translateY(-2px);
}

.single-nav__link--next {
	text-align: end;
}

.single-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.125rem;
	height: 2.125rem;
	border-radius: 10px;
	background: rgba(63, 154, 68, 0.1);
	color: var(--single-green-dark);
	font-size: 0.9375rem;
}

.single-nav__dir {
	color: var(--single-green-dark);
	font-size: 0.75rem;
	font-weight: 800;
}

.single-nav__title {
	color: var(--single-text);
	font-size: 0.9375rem;
	font-weight: 800;
	line-height: 1.55;
}

.single-nav__spacer {
	display: block;
}

/* ── Bottom CTA ── */

.single-cta {
	padding-block: 0 clamp(3rem, 6vw, 4.5rem);
	background: #ffffff;
}

.single-cta__inner {
	width: min(100%, var(--rbz-container, 72rem));
	margin-inline: auto;
	padding-inline: var(--rbz-gutter, clamp(1rem, 3vw, 1.5rem));
}

.single-cta__card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 1.5rem;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	border: 1px solid var(--single-line);
	border-radius: 24px;
	background:
		radial-gradient(ellipse 80% 120% at 100% 0%, rgba(63, 154, 68, 0.08) 0%, transparent 60%),
		rgba(255, 255, 255, 0.98);
	box-shadow: 0 24px 60px -36px rgba(26, 35, 50, 0.18);
}

.single-cta__eyebrow {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.3rem 0.75rem;
	border: 1px solid rgba(63, 154, 68, 0.16);
	border-radius: 999px;
	background: rgba(63, 154, 68, 0.06);
	color: var(--single-green-dark);
	font-size: 0.6875rem;
	font-weight: 800;
}

.single-cta__title {
	margin: 0 0 0.375rem;
	color: var(--single-text);
	font-size: clamp(1.125rem, 2.2vw, 1.375rem);
	font-weight: 900;
}

.single-cta__desc {
	margin: 0;
	max-width: 42ch;
	color: var(--single-muted);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.75;
}

.single-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.single-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4375rem;
	padding: 0.75rem 1.25rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.8125rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-cta__btn--primary {
	border: none;
	background: linear-gradient(145deg, #2d7a31, #3f9a44);
	color: #ffffff;
	box-shadow: 0 10px 24px -14px rgba(45, 122, 49, 0.55);
}

.single-cta__btn--ghost {
	border: 1px solid var(--single-line);
	background: #ffffff;
	color: var(--single-green-dark);
}

.single-cta__btn:hover {
	transform: translateY(-1px);
}

/* ── Scroll reveal ── */

.single-page[data-single-scroll] [data-single-reveal]:not(.is-revealed) {
	opacity: 0;
	transform: translateY(16px);
}

.single-page[data-single-scroll] [data-single-reveal].is-revealed {
	animation: single-reveal 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.single-page[data-single-scroll] [data-single-reveal][data-delay="1"].is-revealed {
	animation-delay: 0.12s;
}

.single-page[data-single-scroll] [data-single-reveal][style*="--single-i"].is-revealed {
	animation-delay: calc(var(--single-i, 0) * 0.08s + 0.1s);
}

@keyframes single-reveal {
	to {
		opacity: 1;
		transform: none;
	}
}

.single-page[data-single-scroll] [data-single-reveal].is-instant {
	animation: none !important;
	opacity: 1 !important;
	transform: none !important;
}

/* ── Responsive ── */

@media (max-width: 1023px) {
	.single-hero {
		padding-block: clamp(5rem, 11vw, 6.5rem) clamp(1.25rem, 3vw, 1.75rem);
	}

	.single-hero__wheat {
		display: none;
	}

	.single-hero__orb {
		opacity: 0.28;
	}

	.single-hero__top {
		flex-direction: column;
		align-items: stretch;
		gap: 0.5rem;
		margin-bottom: 0.875rem;
	}

	.single-hero__back {
		align-self: flex-start;
		padding: 0.4rem 0.85rem;
		border: 1px solid var(--single-line);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.88);
	}

	.single-hero__crumb {
		align-self: stretch;
		justify-content: center;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.single-hero__layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.single-hero__title {
		font-size: clamp(1.375rem, 6vw, 2rem);
	}

	.single-hero__lead {
		font-size: 0.875rem;
		line-height: 1.85;
		max-width: none;
	}

	.single-hero__summary-card {
		flex-direction: row;
		padding: 0.625rem;
		border-radius: 16px;
	}

	.single-hero__metric-divider {
		width: 1px;
		height: auto;
		margin-block: 0.25rem;
	}

	.single-hero__metric {
		padding: 0.5rem 0.375rem;
	}

	.single-hero__metric-icon {
		width: 2.125rem;
		height: 2.125rem;
		font-size: 0.9375rem;
		border-radius: 10px;
	}

	.single-hero__metric-value {
		font-size: 0.9375rem;
	}

	.single-hero__media {
		margin-top: 1.125rem;
	}

	.single-hero__frame {
		aspect-ratio: 16 / 9;
		border-radius: 18px;
	}

	.single {
		padding-block: 1.25rem clamp(5rem, 12vw, 6rem);
	}

	.single__layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.single__body {
		order: 1;
	}

	.single__aside {
		order: 2;
	}

	.single__aside-sticky {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	.single__read-card {
		grid-column: 1 / -1;
	}

	.single__toc {
		display: none;
	}

	.single__share {
		min-width: 0;
	}

	.single__share-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.single__share-btn--copy {
		grid-column: 1 / -1;
	}

	.single__article-card {
		padding: 1rem;
		border-radius: 18px;
	}

	.single__prose {
		font-size: 0.9375rem;
		line-height: 1.95;
	}

	.single__prose h2 {
		margin-top: 1.75rem;
		font-size: 1.125rem;
		scroll-margin-top: 5rem;
	}

	.single__prose h3 {
		font-size: 1rem;
		scroll-margin-top: 5rem;
	}

	.single__prose table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.single__mobile-bar {
		display: block;
	}

	.single-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.625rem;
	}

	.single-related__card:hover {
		transform: none;
	}

	.single-related__body {
		padding: 0.625rem 0.625rem 0.75rem;
	}

	.single-related__card-title {
		font-size: 0.8125rem;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.single-nav__inner {
		gap: 0.625rem;
	}

	.single-cta__card {
		flex-direction: column;
		align-items: stretch;
		padding: 1.25rem;
		border-radius: 18px;
	}

	.single-cta__actions {
		flex-direction: column;
	}

	.single-cta__btn {
		width: 100%;
		justify-content: center;
	}

	.single-cta {
		padding-bottom: calc(clamp(3rem, 6vw, 4.5rem) + 4.5rem + env(safe-area-inset-bottom, 0));
	}

	.single-page[data-single-scroll] [data-single-reveal]:not(.is-revealed) {
		opacity: 1;
		transform: none;
	}

	.single-page[data-single-scroll] [data-single-reveal].is-revealed {
		animation: none;
	}
}

@media (max-width: 720px) {
	.single__aside-sticky {
		grid-template-columns: 1fr;
	}

	.single__share-grid {
		grid-template-columns: 1fr;
	}

	.single-hero__meta-pill {
		font-size: 0.6875rem;
		padding: 0.375rem 0.625rem;
	}

	.single-nav__inner {
		grid-template-columns: 1fr;
	}

	.single-nav__link--next {
		text-align: start;
	}
}

@media (max-width: 480px) {
	.single-hero {
		padding-block: clamp(4.5rem, 14vw, 5.5rem) 1rem;
	}

	.single-hero__inner,
	.single__inner,
	.single-related__inner,
	.single-nav__inner,
	.single-cta__inner {
		padding-inline: max(1rem, var(--rbz-gutter));
	}

	.single-hero__back {
		width: 100%;
		justify-content: center;
	}

	.single-hero__title {
		font-size: clamp(1.25rem, 7vw, 1.625rem);
		margin-bottom: 0.625rem;
	}

	.single-hero__frame {
		border-radius: 14px;
	}

	.single__read-card,
	.single__share,
	.single__article-card,
	.single__author {
		padding: 0.875rem 1rem;
		border-radius: 14px;
	}

	.single-related__grid {
		gap: 0.5rem;
	}

	.single-related__card {
		border-radius: 14px;
	}

	.single-related__index {
		top: 0.625rem;
		inset-inline-start: 0.625rem;
		font-size: 0.625rem;
	}

	.single-related__read span {
		display: none;
	}

	.single-nav__link {
		padding: 0.875rem 1rem;
	}
}

/* Mobile reading bar + sheet */

.single__mobile-bar {
	display: none;
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 90;
	padding-bottom: env(safe-area-inset-bottom, 0);
	background: rgba(255, 255, 255, 0.96);
	border-top: 1px solid var(--single-line);
	box-shadow: 0 -8px 32px -16px rgba(26, 35, 50, 0.18);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.single__mobile-track {
	height: 3px;
	background: rgba(63, 154, 68, 0.1);
}

.single__mobile-fill {
	display: block;
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, var(--single-green-dark), var(--single-green));
	transition: width 0.08s linear;
}

.single__mobile-inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.625rem max(1rem, var(--rbz-gutter));
}

.single__mobile-read {
	flex-shrink: 0;
	min-width: 2.75rem;
	color: var(--single-green-dark);
	font-size: 0.75rem;
	font-weight: 900;
}

.single__mobile-btn {
	display: inline-flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	min-height: 2.5rem;
	padding: 0 0.75rem;
	border: 1px solid var(--single-line);
	border-radius: 12px;
	background: rgba(63, 154, 68, 0.04);
	color: var(--single-green-dark);
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 800;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.single__mobile-btn:hover,
.single__mobile-btn[aria-expanded="true"] {
	background: rgba(63, 154, 68, 0.1);
	border-color: rgba(63, 154, 68, 0.22);
}

.single__sheet {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 0;
}

.single__sheet[hidden] {
	display: none;
}

.single__sheet-backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	background: rgba(15, 23, 42, 0.45);
	cursor: pointer;
}

.single__sheet-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-height: min(72vh, 32rem);
	padding-bottom: env(safe-area-inset-bottom, 0);
	border-radius: 20px 20px 0 0;
	background: #ffffff;
	box-shadow: 0 -16px 48px -20px rgba(26, 35, 50, 0.28);
	animation: single-sheet-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.single__sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem max(1rem, var(--rbz-gutter));
	border-bottom: 1px solid var(--single-line);
}

.single__sheet-title {
	margin: 0;
	color: var(--single-text);
	font-size: 0.9375rem;
	font-weight: 900;
}

.single__sheet-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border: 1px solid var(--single-line);
	border-radius: 50%;
	background: rgba(63, 154, 68, 0.04);
	color: var(--single-green-dark);
	font-size: 1rem;
	cursor: pointer;
}

.single__sheet-body {
	max-height: calc(min(72vh, 32rem) - 4rem);
	overflow-y: auto;
	padding: 0.75rem max(1rem, var(--rbz-gutter)) 1.25rem;
}

.single__sheet-body .single__toc-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

@keyframes single-sheet-in {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}

body.single-sheet-open {
	overflow: hidden;
}

@media (hover: none) {
	.single-related__card:hover,
	.single-related__card:hover .single-related__img,
	.single-nav__link:hover,
	.single__share-btn:hover,
	.single__tag:hover,
	.single-cta__btn:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.single-page[data-single-scroll] [data-single-reveal] {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.single-related__card:hover,
	.single-nav__link:hover {
		transform: none;
	}
}

/* ── Dark mode ── */

html.rbz-dark .single-page,
html.rbz-dark .single-hero,
html.rbz-dark .single,
html.rbz-dark .single-related,
html.rbz-dark .single-nav {
	background: transparent;
}

html.rbz-dark .single-hero__title,
html.rbz-dark .single-related__card-title,
html.rbz-dark .single-nav__title,
html.rbz-dark .single__prose h2,
html.rbz-dark .single__prose h3,
html.rbz-dark .single__prose h4,
html.rbz-dark .single__author-name {
	color: #e2e8f0;
}

html.rbz-dark .single-hero__lead,
html.rbz-dark .single-hero__meta,
html.rbz-dark .single__prose,
html.rbz-dark .single__toc-link {
	color: #94a3b8;
}

html.rbz-dark .single-hero__summary-card,
html.rbz-dark .single__read-card,
html.rbz-dark .single__article-card,
html.rbz-dark .single-cta__card,
html.rbz-dark .single__toc,
html.rbz-dark .single__share,
html.rbz-dark .single__author,
html.rbz-dark .single-nav__link,
html.rbz-dark .single-related__card {
	border-color: rgba(63, 154, 68, 0.18);
	background: rgba(15, 23, 42, 0.5);
}

html.rbz-dark .single__share-btn {
	background: rgba(15, 23, 42, 0.6);
	color: #86efac;
}

html.rbz-dark .single-hero__steps,
html.rbz-dark .single-hero__stat {
	border-color: rgba(63, 154, 68, 0.14);
	background: rgba(15, 23, 42, 0.35);
}

html.rbz-dark .single-cta__btn--ghost {
	border-color: rgba(63, 154, 68, 0.25);
	color: #86efac;
}

html.rbz-dark .single__read-ring-track {
	stroke: rgba(63, 154, 68, 0.15);
}

html.rbz-dark .single__read-ring-fill {
	stroke: #4ade80;
}

html.rbz-dark .single__read-percent {
	color: #86efac;
}

html.rbz-dark .single-hero__back,
html.rbz-dark .single-hero__crumb {
	background: rgba(20, 28, 22, 0.78);
	border-color: rgba(63, 154, 68, 0.15);
}

html.rbz-dark .single__mobile-bar {
	background: rgba(14, 20, 16, 0.96);
	border-top-color: rgba(63, 154, 68, 0.15);
}

html.rbz-dark .single__sheet-panel {
	background: rgba(15, 23, 42, 0.98);
}

html.rbz-dark .single__sheet-title {
	color: #e2e8f0;
}

html.rbz-dark .single__sheet-close,
html.rbz-dark .single__mobile-btn {
	background: rgba(15, 23, 42, 0.6);
	border-color: rgba(63, 154, 68, 0.2);
	color: #86efac;
}
