/* =========================================================
   Heal Pharmacy - Blog Listing & Blog Details Styles
   ========================================================= */

.heal-blog-wrap {
	font-family: 'Inter', sans-serif;
	color: #1e293b;
}

.heal-blog-header {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-left: 5px solid #38b86c;
	border-radius: 10px;
	padding: 20px 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.heal-blog-badge {
	display: inline-block;
	background: rgba(56, 184, 108, 0.12);
	color: #269352;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

.heal-blog-header h2 {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
}

.heal-blog-header p {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}


.heal-blog-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.heal-blog-card:hover {
	transform: translateY(-3px);
	border-color: #38b86c;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.heal-blog-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #f1f5f9;
}

.heal-blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.heal-blog-card:hover .heal-blog-thumb img {
	transform: scale(1.04);
}

.heal-blog-card-body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.heal-blog-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 12.5px;
	color: #64748b;
}

.heal-blog-cat {
	background: #38b86c;
	color: #ffffff;
	font-size: 11.5px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 4px;
}

.heal-blog-date {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.heal-blog-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 10px;
}

.heal-blog-title a {
	color: #0f172a;
	text-decoration: none;
}

.heal-blog-title a:hover {
	color: #38b86c;
}

.heal-blog-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
	margin: 0 0 16px;
	flex: 1;
}

.heal-blog-readmore {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13.5px;
	font-weight: 600;
	color: #38b86c;
	text-decoration: none;
	margin-top: auto;
}

.heal-blog-readmore:hover {
	color: #269352;
	text-decoration: underline;
}

/* Pagination */
.heal-blog-pagination {
	margin-top: 28px;
	display: flex;
	justify-content: flex-end;
}

.heal-blog-pagination ul.page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.heal-blog-pagination ul.page-numbers li a,
.heal-blog-pagination ul.page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 6px;
	border: 1px solid #e2e8f0;
	background: #ffffff;
	color: #475569;
	font-size: 13.5px;
	text-decoration: none;
}

.heal-blog-pagination ul.page-numbers li span.current {
	background: #38b86c;
	border-color: #38b86c;
	color: #ffffff;
	font-weight: 600;
}

.heal-blog-pagination ul.page-numbers li a:hover {
	background: #f8fafc;
	border-color: #38b86c;
	color: #0f172a;
}

.heal-blog-empty {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 32px;
	text-align: center;
	color: #64748b;
}

/* Single Blog Details Page */
.heal-single-post {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 26px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	font-family: 'Inter', sans-serif;
}

.heal-single-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding-bottom: 16px;
	margin-bottom: 18px;
	border-bottom: 1px solid #e2e8f0;
}

.heal-back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	color: #0f172a;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 6px;
	text-decoration: none;
}

.heal-back-link:hover {
	background: #38b86c;
	border-color: #38b86c;
	color: #ffffff;
}

.heal-single-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: #64748b;
}

.heal-single-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
	margin: 0 0 20px;
}

.heal-single-hero {
	margin-bottom: 24px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
}

.heal-single-hero img {
	width: 100%;
	max-height: 440px;
	object-fit: cover;
	display: block;
}

.heal-single-body {
	font-size: 15.5px;
	line-height: 1.75;
	color: #334155;
}

.heal-single-body h2,
.heal-single-body h3,
.heal-single-body h4 {
	color: #0f172a;
	font-weight: 700;
	margin-top: 24px;
	margin-bottom: 10px;
}

.heal-single-body p {
	margin-bottom: 16px;
}

.heal-related-posts {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
}

.heal-related-posts h3 {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 18px;
}

.heal-related-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.heal-related-grid {
		grid-template-columns: 1fr;
	}
}

.heal-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 1199px) {
	.heal-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.heal-blog-grid {
		grid-template-columns: 1fr;
	}
}


/* Blog Details Page Wrapper & Sidebar Alignment */
.heal-blog-details-section {
	background-color: #e6f7ed;
	padding: 32px 0 60px;
}

.heal-blog-details-section .heal-single-post {
	width: 100%;
	box-sizing: border-box;
}

.heal-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.heal-related-grid .heal-blog-thumb {
	height: 150px;
	aspect-ratio: auto;
}

@media (max-width: 991px) {
	.heal-related-grid {
		grid-template-columns: 1fr;
	}
}



/* =========================================================
   Related Articles Slider - 3 Items Per Row
   ========================================================= */
.heal-related-posts {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid #e2e8f0;
	width: 100%;
	box-sizing: border-box;
}

.heal-related-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 18px;
}

.heal-related-header h3 {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}

.heal-related-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}

.heal-slider-btn {
	width: 34px;
	height: 34px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #0f172a;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	transition: all 0.15s ease;
}

.heal-slider-btn:hover:not(:disabled) {
	background: #38b86c;
	border-color: #38b86c;
	color: #ffffff;
}

.heal-slider-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.heal-related-viewport {
	overflow: hidden;
	width: 100%;
}

.heal-related-track {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 18px;
	margin: 0;
	padding: 0;
	transition: transform 0.35s ease;
	will-change: transform;
}

.heal-related-slide {
	flex: 0 0 calc((100% - 36px) / 3) !important;
	width: calc((100% - 36px) / 3) !important;
	min-width: 0 !important;
	max-width: calc((100% - 36px) / 3) !important;
	box-sizing: border-box;
	display: flex;
}

.heal-related-slide .heal-blog-card {
	width: 100%;
	margin: 0;
}

.heal-related-slide .heal-blog-thumb {
	height: 150px;
	aspect-ratio: auto;
}

.heal-related-dots {
	display: flex;
	justify-content: center;
	gap: 7px;
	margin-top: 16px;
}

.heal-slider-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: #cbd5e1;
	padding: 0;
	cursor: pointer;
	transition: all 0.2s ease;
}

.heal-slider-dot.is-active {
	width: 22px;
	border-radius: 999px;
	background: #38b86c;
}

@media (max-width: 991px) {
	.heal-related-slide {
		flex: 0 0 calc((100% - 18px) / 2) !important;
		width: calc((100% - 18px) / 2) !important;
		max-width: calc((100% - 18px) / 2) !important;
	}
}

@media (max-width: 640px) {
	.heal-related-slide {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}


.author-details-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.author-card-header {
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.6px;
	color: #334155;
}
.author-card-body {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px;
	flex-wrap: wrap;
}
.author-profile-item {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 240px;
}
.author-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #e2e8f0;
	flex-shrink: 0;
}
.author-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	margin-bottom: 4px;
}
.badge-written {
	background: #e0f2fe;
	color: #0369a1;
}
.badge-reviewed {
	background: #dcfce7;
	color: #15803d;
}
.author-name-link {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	text-decoration: none;
}
.author-name-link:hover {
	color: #0b76d1;
}
.author-degree {
	font-size: 12px;
	color: #64748b;
	margin-top: 2px;
}
.author-vertical-divider {
	width: 1px;
	height: 54px;
	background: #e2e8f0;
}
.author-card-footer {
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	padding: 9px 18px;
	font-size: 12px;
	color: #64748b;
	display: flex;
	align-items: center;
	gap: 7px;
}
@media (max-width: 767px) {
	.author-vertical-divider {
		width: 100%;
		height: 1px;
	}
}