/* Single blog post — Figma 4-6440, TOC 1-6339 */

.hc-blog-single-page {
	padding-bottom: 0;
}

.hc-blog-single__container {
	padding-top: 30px;
	padding-bottom: 150px;
}

.hc-blog-single__breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 50px;
	font: 300 14px / 1.4 "Stolzl", system-ui, sans-serif;
	color: rgb(var(--color-brown-rgb) / 50%);
}

.hc-blog-single__breadcrumb-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.hc-blog-single__breadcrumb-link:hover {
	color: var(--color-brown);
}

.hc-blog-single__breadcrumb-current {
	color: rgb(var(--color-brown-rgb) / 70%);
}

/* Hero */
.hc-blog-single__hero {
	display: grid;
	grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
	gap: 81px;
	align-items: start;
	margin-bottom: 42px;
}

.hc-blog-single__hero-text {
	display: flex;
	flex-direction: column;
	gap: 37px;
	min-width: 0;
}
.hc-blog-single__sections .hc-blog-single__section-content {
	margin-top: 20px;
}
.hc-blog-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 11px;
	font: 400 14px / 1.1 "Stolzl", system-ui, sans-serif;
	letter-spacing: 0.01em;
	color: rgb(var(--color-brown-rgb) / 60%);
}

.hc-blog-single__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.hc-blog-single__meta-sep {
	width: 20px;
	height: 1px;
	background: rgb(var(--color-brown-rgb) / 60%);
}

.hc-blog-single__clock {
	flex-shrink: 0;
	color: currentColor;
}

.hc-blog-single__title {
	margin: 0;
	font: 400 40px / 1.1 "Stolzl", system-ui, sans-serif;
	letter-spacing: -0.02em;
	color: var(--color-brown);
}

.hc-blog-single__intro {
	font: 300 20px / 1.5 "Stolzl", system-ui, sans-serif;
	color: rgb(var(--color-brown-rgb) / 70%);
	margin: 0;
}

.hc-blog-single__intro > :first-child {
	margin-top: -14px;
}

.hc-blog-single__intro > :last-child {
	margin-bottom: 0;
}

.hc-blog-single__hero-media {
	min-width: 0;
}

.hc-blog-single__hero-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 432px;
	object-fit: cover;
	border-radius: 10px;
}

/* Body: TOC + sections */
.hc-blog-single__body {
	display: grid;
	grid-template-columns: minmax(0, 296px) minmax(0, 1fr);
	gap: 30px;
	align-items: start;
}

.hc-blog-single__toc-wrap {
	position: relative;
}

.hc-blog-single__toc {
	position: sticky;
	top: 100px;
	display: flex;
	gap: 20px;
	align-items: stretch;
	padding: 30px;
	border-radius: 10px;
	background: rgb(var(--color-brown-rgb) / 10%);
}

.hc-blog-single__toc-line {
	flex: 0 0 1.5px;
	background: rgb(var(--color-brown-rgb));
}

.hc-blog-single__toc-inner {
	flex: 1 1 auto;
	min-width: 0;
}

.hc-blog-single__toc-title {
	margin: 11px 0 30px;
	font: 500 20px / 1 "Stolzl", system-ui, sans-serif;
	letter-spacing: -0.02em;
	color: var(--color-brown);
}

.hc-blog-single__toc-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hc-blog-single__toc-item {
	margin: 0;
	padding: 0;
}

.hc-blog-single__toc-link {
	display: block;
	font: 400 18px / 1.22 "Stolzl", system-ui, sans-serif;
	color: var(--color-brown);
	text-decoration: none;
	opacity: 0.3;
	transition: opacity 0.2s ease;
}

.hc-blog-single__toc-link:hover,
.hc-blog-single__toc-link.is-active {
	opacity: 1;
}

.hc-blog-single__sections {
	display: flex;
	flex-direction: column;
	gap: 36px;
	min-width: 0;
}

.hc-blog-single__section {
	scroll-margin-top: 110px;
}

.hc-blog-single__section-title {
	margin: 0;
	font: 400 40px / 1.1 "Stolzl", system-ui, sans-serif;
	letter-spacing: -0.02em;
	color: var(--color-brown);
}

.hc-blog-single__section-content {
	margin-top: 30px;
	font: 300 20px / 1.5 "Stolzl", system-ui, sans-serif;
	color: rgb(var(--color-brown-rgb) / 70%);
}

.hc-blog-single__section:nth-child(n + 2) .hc-blog-single__section-title {
	margin-top: 0;
}

.hc-blog-single__section:nth-child(n + 2) .hc-blog-single__section-content {
	margin-top: 15px;
}

.hc-blog-single__section-content > :first-child {
	margin-top: 0;
}

.hc-blog-single__section-content > :last-child {
	margin-bottom: 0;
}

.hc-blog-single__section-content p {
	margin: 0 0 1em;
}

.hc-blog-single__section-content p:last-child {
	margin-bottom: 0;
}

.hc-blog-single__section-content a {
	color: var(--color-brown);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hc-blog-single__section-content a:hover {
	opacity: 0.8;
}

.hc-blog-single__section-content ul,
.hc-blog-single__section-content ol {
	margin: 0 0 1em;
	padding-left: 1.5em;
}

.hc-blog-single__section-content li {
	margin-bottom: 0.5em;
}

.hc-blog-single__section-content li strong,
.hc-blog-single__section-content li b {
	font-weight: 400;
}

.hc-blog-single__section-content h3,
.hc-blog-single__section-content h4 {
	margin: 1.5em 0 0.75em;
	font: 400 24px / 1.2 "Stolzl", system-ui, sans-serif;
	color: var(--color-brown);
}

.hc-blog-single__empty {
	margin: 0;
	font: 300 16px / 1.4 "Stolzl", system-ui, sans-serif;
	color: rgb(var(--color-brown-rgb) / 60%);
}

@media (max-width: 1199px) {
	.hc-blog-single__hero {
		grid-template-columns: minmax(0, 1fr);
	}

	.hc-blog-single__hero-media {
		order: -1;
	}

	.hc-blog-single__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.hc-blog-single__toc {
		position: static;
	}
}

@media (max-width: 767px) {
	.hc-blog-single__container {
		padding: 0 16px 48px;
	}

	.hc-blog-single__breadcrumbs {
		margin-bottom: 30px;
	}

	.hc-blog-single__title,
	.hc-blog-single__section-title {
		font-size: 28px;
	}

	.hc-blog-single__intro,
	.hc-blog-single__section-content {
		font-size: 16px;
		font-weight: 400;
		line-height: 28px;
	}

	.hc-blog-single__toc {
		padding: 16px;
	}

	.hc-blog-single__toc-link {
		font-size: 16px;
	}

	.hc-blog-single__sections {
		gap: 22px;
	}

	.hc-blog-single__section {
		scroll-margin-top: 88px;
	}
	.hc-blog-single__hero {
		gap: 25px;
	}
	.hc-blog-single__meta-sep {
		width: 10px;
	}
	.hc-blog-single__meta {
		font-size: 12px;
	}
	.hc-blog-single__hero .hc-blog-single__title {
		font-size: 20px;
	}

	.hc-blog-single__intro > :first-child {
		margin-top: -22px;
	}

	.hc-blog-single__body {
		margin-top: -17px;
	}

	.hc-blog-single__toc {
		border-radius: 20px;
	}
	.hc-blog-single__toc-title {
		margin: 1px 0 18px 6px;
	}
	.hc-blog-single__toc-list {
		gap: 15px;
	}
	.hc-blog-single__toc-item {
		margin-left: 7px;
	}
	.hc-blog-single__toc-link {
		font-size: 18px;
		line-height: 22px;
	}
	.hc-blog-single__body .hc-blog-single__section-title {
		font-size: 20px;
		letter-spacing: -0.4px;
		margin-top: 5px;
	}
	.hc-blog-single__sections .hc-blog-single__section-content {
		margin-top: 12px;
	}

}
