/* Blog post title (above featured image) */
.post-single-page .post-entry-header {
	text-align: center;
	margin-bottom: 24px;
}

.post-single-page .post-entry-title {
	font-size: 34px;
	line-height: 1.4;
	font-weight: 600;
	word-break: break-word;
	letter-spacing: normal;
	margin: 0;
	color: var(--themeht-text-color);
}

/* Headings inside post content */
.post-single-page .entry-content h1,
.post-single-page .entry-content h2,
.post-single-page .entry-content h3,
.post-single-page .entry-content h4,
.post-single-page .entry-content h5,
.post-single-page .entry-content h6 {
	letter-spacing: normal;
	word-break: break-word;
	font-weight: 600;
}

.post-single-page .entry-content h1 {
	font-size: 30px;
	line-height: 1.4;
	margin-bottom: 16px;
}

.post-single-page .entry-content h2 {
	font-size: 26px;
	line-height: 1.4;
	margin-bottom: 14px;
}

.post-single-page .entry-content h3 {
	font-size: 22px;
	line-height: 1.45;
	margin-bottom: 12px;
	font-weight: 500;
}

.post-single-page .entry-content h4 {
	font-size: 19px;
	line-height: 1.45;
	margin-bottom: 10px;
	font-weight: 500;
}

.post-single-page .entry-content h5 {
	font-size: 17px;
	line-height: 1.5;
	margin-bottom: 8px;
	font-weight: 500;
}

.post-single-page .entry-content h6 {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 8px;
	font-weight: 500;
}

/* Slightly larger when blog has no sidebar (full width) */
.post-single-page .col-lg-12 .post-entry-title {
	font-size: 40px;
}

.post-single-page .col-lg-12 .entry-content h1 { font-size: 34px; }
.post-single-page .col-lg-12 .entry-content h2 { font-size: 28px; }
.post-single-page .col-lg-12 .entry-content h3 { font-size: 24px; }

/* Tablet */
@media (max-width: 991px) {
	.post-single-page .post-entry-title {
		font-size: 30px;
	}

	.post-single-page .entry-content h1 { font-size: 26px; }
	.post-single-page .entry-content h2 { font-size: 23px; }
	.post-single-page .entry-content h3 { font-size: 20px; }
	.post-single-page .entry-content h4 { font-size: 18px; }
}

/* Mobile */
@media (max-width: 767px) {
	.post-single-page .post-entry-header {
		margin-bottom: 20px;
	}

	.post-single-page .post-entry-title {
		font-size: 26px;
		line-height: 1.45;
	}

	.post-single-page .entry-content h1 { font-size: 24px; }
	.post-single-page .entry-content h2 { font-size: 21px; }
	.post-single-page .entry-content h3 { font-size: 19px; }
	.post-single-page .entry-content h4 { font-size: 17px; }
	.post-single-page .entry-content h5 { font-size: 16px; }
	.post-single-page .entry-content h6 { font-size: 15px; }
}

/* Shared section title */
.post-single-page .mednix-cbl-section-title {
	font-size: 28px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 24px;
	text-align: right;
	color: var(--themeht-text-color);
	letter-spacing: normal;
}

/* Share buttons */
.post-single-page .mednix-cbl-share {
	margin-top: 40px;
	padding: 28px 32px;
	border-radius: 20px;
	background: #eaf5f6;
	border: 1px solid rgba(12, 143, 153, 0.12);
	text-align: center;
}

.post-single-page .mednix-cbl-share__title {
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 20px;
	text-align: center;
	color: var(--themeht-text-color);
}

.post-single-page .mednix-cbl-share__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.post-single-page .mednix-cbl-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 22px 12px 16px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.post-single-page .mednix-cbl-share__btn:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.post-single-page .mednix-cbl-share__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	font-size: 20px;
	line-height: 1;
	flex-shrink: 0;
}

.post-single-page .mednix-cbl-share__btn--whatsapp {
	background-color: #25d366;
}

.post-single-page .mednix-cbl-share__btn--facebook {
	background-color: #1877f2;
}

.post-single-page .mednix-cbl-share__btn--telegram {
	background-color: #229ed9;
}

/* RTL post navigation */
.post-single-page .mednix-cbl-post-nav {
	margin-top: 48px;
	clear: both;
	width: 100%;
}

.post-single-page .mednix-cbl-post-nav__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
}

.post-single-page .mednix-cbl-post-nav__item {
	width: 100%;
	min-width: 0;
}

.post-single-page .mednix-cbl-post-nav__item:only-child {
	max-width: 100%;
}

.post-single-page .mednix-cbl-post-nav__item--prev:only-child {
	justify-self: end;
}

.post-single-page .mednix-cbl-post-nav__item--prev:only-child .mednix-cbl-post-nav__link {
	max-width: 100%;
}

.post-single-page .mednix-cbl-post-nav__link {
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-decoration: none;
	color: var(--themeht-text-color);
	padding: 24px 28px;
	border: 1px solid var(--themeht-border-light-color, #e0e0e0);
	border-radius: 12px;
	background: transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.post-single-page .mednix-cbl-post-nav__link:hover {
	border-color: var(--themeht-primary-color, #0c8f99);
}

.post-single-page .mednix-cbl-post-nav__item--prev .mednix-cbl-post-nav__link {
	text-align: right;
}

.post-single-page .mednix-cbl-post-nav__item--next .mednix-cbl-post-nav__link {
	text-align: left;
}

.post-single-page .mednix-cbl-post-nav__meta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.post-single-page .mednix-cbl-post-nav__item--next .mednix-cbl-post-nav__meta {
	flex-direction: row-reverse;
}

.post-single-page .mednix-cbl-post-nav__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #185768;
	color: #fcb900;
	font-size: 18px;
	line-height: 1;
	flex-shrink: 0;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.post-single-page .mednix-cbl-post-nav__subtitle {
	font-size: 14px;
	font-weight: 600;
	color: #185768;
	transition: color 0.2s ease;
}

.post-single-page .mednix-cbl-post-nav__title {
	display: block;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	word-break: break-word;
}

.post-single-page .mednix-cbl-post-nav__link:hover .mednix-cbl-post-nav__subtitle {
	color: #fcb900;
}

.post-single-page .mednix-cbl-post-nav__link:hover .mednix-cbl-post-nav__icon {
	background: #fcb900;
	color: #fff;
}

.post-single-page .mednix-cbl-post-nav__link:hover .mednix-cbl-post-nav__title {
	color: var(--themeht-primary-color, #0c8f99);
}

/* Related posts — clean grid, no extra boxes */
.post-single-page .mednix-cbl-related {
	margin-top: 56px;
	width: 100%;
}

.post-single-page .mednix-cbl-related__title {
	margin-bottom: 28px;
}

.post-single-page .mednix-cbl-related__grid {
	margin-left: 0;
	margin-right: 0;
	row-gap: 32px;
}

.post-single-page .mednix-cbl-related__item {
	margin-bottom: 0 !important;
}

.post-single-page .mednix-cbl-related .post-card {
	border: none;
	box-shadow: none;
	background: transparent;
	padding: 0;
}

.post-single-page .mednix-cbl-related .post-image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
}

.post-single-page .mednix-cbl-related .post-desc {
	padding-top: 20px !important;
}

.post-single-page .mednix-cbl-related .post-title h4 {
	font-size: 20px !important;
	line-height: 1.45 !important;
	margin-bottom: 10px !important;
	margin-top: 0 !important;
}

.post-single-page .mednix-cbl-related .post-title h4 a {
	color: var(--themeht-text-color);
	text-decoration: none;
}

.post-single-page .mednix-cbl-related .post-title h4 a:hover {
	color: var(--themeht-primary-color, #0c8f99);
}

.post-single-page .mednix-cbl-related__excerpt {
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 16px;
	color: var(--themeht-body-color, #666);
}

@media (max-width: 991px) {
	.post-single-page .mednix-cbl-section-title {
		font-size: 24px;
	}

	.post-single-page .mednix-cbl-related .post-title h4 {
		font-size: 18px !important;
	}
}

@media (max-width: 767px) {
	.post-single-page .mednix-cbl-share {
		padding: 22px 20px;
	}

	.post-single-page .mednix-cbl-share__buttons {
		flex-direction: column;
	}

	.post-single-page .mednix-cbl-share__btn {
		width: 100%;
		justify-content: center;
		font-size: 15px;
	}

	.post-single-page .mednix-cbl-post-nav__links {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.post-single-page .mednix-cbl-post-nav__item--prev:only-child {
		justify-self: stretch;
	}

	.post-single-page .mednix-cbl-post-nav__item--next .mednix-cbl-post-nav__link,
	.post-single-page .mednix-cbl-post-nav__item--prev .mednix-cbl-post-nav__link {
		text-align: right;
		padding: 20px;
	}

	.post-single-page .mednix-cbl-post-nav__item--next .mednix-cbl-post-nav__meta {
		flex-direction: row;
	}

	.post-single-page .mednix-cbl-post-nav__title {
		font-size: 17px;
	}

	.post-single-page .mednix-cbl-related__grid {
		row-gap: 40px;
	}

	.post-single-page .mednix-cbl-related .post-title h4 {
		font-size: 17px !important;
	}
}
