.single-post #main-content {
    padding-top: 60px;
}



.cnd-single-post {
	padding: 0 0 var(--spacing-4);
}

.cnd-single-post__container {
	max-width: 1200px;
}

.cnd-single-post__hero {
	margin-bottom: var(--spacing-3);
	position: relative;
}

.cnd-single-post__featured-bg {
	width: 100%;
	height: 400px;
	position: relative;
	overflow: hidden;
}

.cnd-single-post__featured-bg--empty {
	background: linear-gradient(180deg, rgba(35, 35, 35, 0.35), rgba(35, 35, 35, 0.65));
}

.cnd-single-post__featured-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(0 58 83 / 12%) 0%, rgb(0 62 89 / 60%) 42%, rgb(0 52 75 / 85%) 100%);
	pointer-events: none;
	mix-blend-mode: multiply;
	z-index: 1;
}

.cnd-single-post__featured-bg-layer {
	position: absolute;
	inset: -30px 0; /* extra bleed for parallax translate */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	transform: translate3d(0, 0, 0);
	will-change: transform;
	filter: blur(3px) saturate(.8);
	z-index: 0;
}

.cnd-single-post__hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 4%;
    pointer-events: none;
    z-index: 2;
}

.cnd-single-post__hero-inner a {
	pointer-events: auto;
}

.cnd-single-post__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.cnd-single-post__category {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
}

.cnd-single-post__title {
	margin: 0 0 14px;
	color: #fff;
	font-weight: 600;
	line-height: 1.1;
	font-size: clamp(2rem, 3.2vw, 3rem);
	text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.cnd-single-post__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.95rem;
	text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.cnd-single-post__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cnd-single-post__meta a {
	color: inherit;
	text-decoration: none;
}

.cnd-single-post__meta a:hover {
	text-decoration: underline;
}

.cnd-single-post__content {
	padding: 0;
}

.cnd-single-post__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--spacing-4);
	align-items: start;
}

@media (min-width: 992px) {
	.cnd-single-post__layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

.cnd-single-post__sidebar {
	display: grid;
	gap: var(--spacing-3);
	position: sticky;
	top: calc(var(--header-offset, var(--header-height, 0px)) + var(--spacing-2));
}

.cnd-single-post__widget {
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 12px;
	padding: 16px;
}

.cnd-single-post__widget--search,
.cnd-single-post__widget--categories {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.cnd-single-post__widget-title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--color-cnd-slate);
}

.cnd-single-post__widget--search .cnd-single-post__widget-title,
.cnd-single-post__widget--categories .cnd-single-post__widget-title {
	margin-bottom: 0.65rem;
	font-family: var(--font-cnd-title);
	font-size: 1.125rem;
}

.cnd-single-post__search-label {
	flex: 1;
	min-width: 0;
	display: block;
}

.cnd-single-post__search-form {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 12px;
	background: #fff;
	padding: 5px 5px 5px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cnd-single-post__search-form:focus-within {
	border-color: var(--color-cnd-pink);
	box-shadow: 0 0 0 3px rgba(221, 46, 134, 0.18);
}

.cnd-single-post__search-input {
	width: 100%;
	min-width: 0;
	height: 40px;
	border: 0;
	padding: 0;
	font-family: var(--font-cnd-body);
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-cnd-slate);
	background: transparent;
	outline: none;
	box-shadow: none;
}

.cnd-single-post__search-input::placeholder {
	color: rgba(0, 0, 0, 0.42);
}

.cnd-single-post__search-input:focus {
	border-color: transparent;
	box-shadow: none;
}

.cnd-single-post__search-button {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 0;
	background: var(--color-cnd-pink);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.cnd-single-post__search-button:hover {
	background: var(--color-cnd-pink-hover);
	transform: none;
}

.cnd-single-post__search-button-icon {
	display: block;
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.cnd-single-post__category-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cnd-single-post__category-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.8rem;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	font-family: var(--font-cnd-body);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	color: var(--color-cnd-slate);
	transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cnd-single-post__category-badge:hover,
.cnd-single-post__category-badge:focus-visible {
	border-color: var(--color-cnd-pink);
	background: rgba(221, 46, 134, 0.08);
	color: var(--color-cnd-pink);
	outline: none;
}

.cnd-single-post__tag-cloud a {
	display: inline-block;
	margin: 0 8px 8px 0;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	text-decoration: none;
	color: var(--color-cnd-slate);
	font-size: 0.95rem !important;
}

.cnd-single-post__banner {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	background: #dfe6eb;
}

.cnd-single-post__banner picture,
.cnd-single-post__banner-image {
	display: block;
	width: 100%;
	height: auto;
}

.cnd-single-post__content :is(p, ul, ol) {
	color: var(--color-cnd-slate);
    line-height: 1.4;
    font-size: 1rem;
}

.cnd-single-post__content h2,
.cnd-single-post__content h2 span,
.cnd-single-post__content h3,
.cnd-single-post__content h4 {
	color: var(--color-cnd-slate);
	margin-top: 1.4em;
	margin-bottom: 0.6em;
	line-height: 1.2;
	font-weight: 600!important;
    letter-spacing: -0.03em;
}

.cnd-single-post__content a,
.cnd-single-post__content a span {
	color: #00a2e7;
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-position: 0 100%;
	background-repeat: no-repeat;
	background-size: 0 1px;
	font-weight: 600!important;
	transition: background-size 0.32s ease, color 0.2s ease;
}

.cnd-single-post__content a:hover,
.cnd-single-post__content a:hover span {
	color: var(--color-cnd-pink);
	background-size: 100% 1px;
}

.cnd-single-post__content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.cnd-single-post__footer {
	margin-top: var(--spacing-3);
	display: grid;
	gap: 16px;
}

.cnd-single-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.cnd-single-post__tags-wrap {
	margin-top: var(--spacing-4);
}

.cnd-single-post__tags-title {
	margin: 0 0 12px;
	color: var(--color-cnd-slate);
	font-weight: 900;
	font-size: 1.2rem;
}

.cnd-single-post__tag {
	display: inline-flex;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	text-decoration: none;
	color: var(--color-cnd-slate);
	font-size: 0.95rem;
}

.cnd-single-post__tag:hover {
	border-color: var(--color-cnd-blue);
	color: var(--color-cnd-blue);
}

.cnd-single-post__nav {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

@media (min-width: 768px) {
	.cnd-single-post__nav {
		grid-template-columns: 1fr 1fr;
	}
}

.cnd-single-post__nav-card {
	display: block;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	padding: 14px 16px;
	text-decoration: none;
	color: var(--color-cnd-slate);
	background: #fff;
}

.cnd-single-post__nav-label {
	display: block;
	color: var(--color-cnd-text-muted);
	font-size: 0.9rem;
	margin-bottom: 6px;
}

.cnd-single-post__nav-title {
	margin: 0;
	font-weight: 700;
	line-height: 1.2;
	font-size: 1rem;
}

.cnd-single-post__related {
	margin-top: var(--spacing-4);
}

.cnd-single-post__related-title {
	margin: 0 0 16px;
	color: var(--color-cnd-slate);
	font-weight: 900;
	font-size: 1.5rem;
}

.cnd-single-post__related-grid.last-posts__grid {
	align-items: stretch;
}

