/* =========================================
   CUSTOM SINGLE BLOG POST - BEANA HOME QURAN
========================================= */

.single-post .site-content {
	padding: 0;
}

.single-post .content-area,
.single-post .site-main {
	width: 100%;
	margin: 0;
}

.bhq-single-post {
	width: 100%;
	background: #ffffff;
}

.bhq-post-container {
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
	padding: 90px 0;
}

/* Title area */

.bhq-post-header {
	max-width: 1000px;
	margin: 0 auto 50px;
	text-align: center;
}

.bhq-post-title {
	max-width: 950px;
	margin: 0 auto 24px;
	font-family: "Poppins", sans-serif;
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-align: center;
	color: #2B2B2B;
}

.bhq-post-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	color: #0a5c36;
	font-size: 14px;
	line-height: 1.5;
}

.bhq-post-meta a {
	color: inherit;
	text-decoration: none;
}

.bhq-post-meta a:hover {
	text-decoration: underline;
}

.bhq-meta-divider {
	color: #9ca2b4;
}

/* Featured image */

.bhq-post-thumbnail {
	max-width: 1000px;
	margin: 0 auto 28px;
	overflow: hidden;
	border-radius: 14px;
}

.bhq-post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 8.3;
	object-fit: cover;
}

/* Main content */

.bhq-post-content {
	max-width: 1000px;
	margin: 0 auto;
	color: #202020;
	font-size: 17px;
	line-height: 1.75;
}

.bhq-post-content > *:first-child {
	margin-top: 0;
}

.bhq-post-content p {
	margin-bottom: 1.35em;
}

.bhq-post-content h2 {
	margin: 1.15em 0 0.35em;
	color: #111111;
	font-size: clamp(30px, 4vw, 42px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.bhq-post-content h3 {
	margin: 1.25em 0 0.4em;
	color: #111111;
	font-size: clamp(24px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.25;
}

.bhq-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

/* Mobile */

@media (max-width: 768px) {

	.bhq-post-container {
		width: min(100% - 30px, 1200px);
		padding: 55px 0;
	}

	.bhq-post-header {
		margin-bottom: 32px;
	}

	.bhq-post-title {
		font-size: clamp(30px, 9vw, 42px);
		line-height: 1.15;
	}

	.bhq-post-thumbnail {
		border-radius: 10px;
	}

	.bhq-post-content {
		font-size: 16px;
		line-height: 1.7;
	}

	.bhq-post-content h2 {
		font-size: 28px;
	}
}

/* Space below header on single blog posts (adjust to match your sticky header height) */
.single-post .bhq-single-post {
	padding-top: 100px;
}

/* =========================================
   SHARE BUTTONS
========================================= */

.single-post .bhq-share-section {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 18px !important;
	padding-bottom: 38px !important;
	max-width: 1000px;
	margin: 0 auto;
}

.single-post .bhq-share-title {
	margin: 0 !important;
	color: #333333 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	font-weight: 500 !important;
}

.single-post .bhq-share-icons {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
}

.single-post .bhq-share-icons a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	min-width: 34px !important;
	border-radius: 50% !important;
	background-color: #0a5c36 !important;
	color: #ffffff !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.single-post .bhq-share-icons a:hover {
	opacity: 0.8 !important;
	transform: translateY(-2px) !important;
}

.single-post .bhq-share-icons svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	min-width: 16px !important;
	max-width: 16px !important;
	min-height: 16px !important;
	max-height: 16px !important;
	fill: currentColor !important;
}

/* =========================================
   PREVIOUS / NEXT POST NAVIGATION
========================================= */

.single-post .bhq-post-navigation {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	width: min(1200px, calc(100% - 40px)) !important;
	margin: 0 auto !important;
	border-top: 1px solid #dedede !important;
	border-bottom: 1px solid #dedede !important;
}

.single-post .bhq-post-nav-item {
	min-width: 0 !important;
}

.single-post .bhq-post-nav-item:first-child {
	border-right: 1px solid #dedede !important;
}

.single-post .bhq-post-nav-item a {
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	min-height: 120px !important;
	padding: 26px 24px !important;
	color: #0a5c36 !important;
	text-decoration: none !important;
	box-sizing: border-box !important;
	transition: background-color 0.2s ease !important;
}

.single-post .bhq-post-nav-item a:hover {
	background-color: #f7f7f7 !important;
}

.single-post .bhq-post-nav-previous a {
	align-items: flex-start !important;
	text-align: left !important;
}

.single-post .bhq-post-nav-next a {
	align-items: flex-end !important;
	text-align: right !important;
}

.single-post .bhq-nav-direction {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin-bottom: 6px !important;
	color: #5d6684 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
}

.single-post .bhq-nav-direction span {
	font-size: 24px !important;
	line-height: 0.8 !important;
}

.single-post .bhq-nav-title {
	display: block !important;
	width: 100% !important;
	overflow: hidden !important;
	color: #242c55 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

/* =========================================
   RELATED POSTS
========================================= */

.single-post .bhq-related-posts {
	width: 100% !important;
	max-width: 1200px !important;
	margin: 55px auto 0 !important;
	padding: 46px 34px 60px !important;
	box-sizing: border-box !important;
}

.single-post .bhq-related-heading {
	display: flex !important;
	align-items: center !important;
	gap: 18px !important;
	margin-bottom: 30px !important;
}

.single-post .bhq-related-heading h2 {
	flex-shrink: 0 !important;
	margin: 0 !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 30px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	color: #3a3a3a !important;
}

.single-post .bhq-related-heading-line {
	display: block !important;
	width: 100% !important;
	height: 4px !important;
	background: #0a5c36 !important;
}

.single-post .bhq-related-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 30px !important;
	width: 100% !important;
}

.single-post .bhq-related-card {
	display: block !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.single-post .bhq-related-image {
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 10 !important;
	overflow: hidden !important;
	border-radius: 6px !important;
	background: #eeeeee !important;
}

.single-post .bhq-related-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}

.single-post .bhq-related-content {
	padding-top: 16px !important;
}

.single-post .bhq-related-meta {
	margin-bottom: 7px !important;
	font-size: 13px !important;
	color: #777777 !important;
}

.single-post .bhq-related-title {
	margin: 0 0 12px !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

.single-post .bhq-related-title a {
	color: #242424 !important;
	text-decoration: none !important;
}

.single-post .bhq-related-link {
	color: #0a5c36 !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	text-decoration: none !important;
}

/* Tablet */

@media (max-width: 900px) {
	.single-post .bhq-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* Mobile */

@media (max-width: 700px) {

	.single-post .bhq-share-section {
		gap: 12px !important;
	}

	.single-post .bhq-share-icons a {
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
	}

	.single-post .bhq-post-navigation {
		grid-template-columns: 1fr !important;
	}

	.single-post .bhq-post-nav-item:first-child {
		border-right: 0 !important;
		border-bottom: 1px solid #dedede !important;
	}

	.single-post .bhq-post-nav-next a {
		align-items: flex-start !important;
		text-align: left !important;
	}

	.single-post .bhq-nav-title {
		white-space: normal !important;
	}
}

@media (max-width: 600px) {
	.single-post .bhq-related-posts {
		padding: 28px 20px !important;
	}

	.single-post .bhq-related-grid {
		grid-template-columns: 1fr !important;
	}

	.single-post .bhq-related-heading h2 {
		font-size: 24px !important;
	}
}