/* =========================================
   CUSTOM SINGLE BLOG POST
========================================= */

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

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

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

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

/* Title area */

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

.alev-post-title {
	max-width: 950px;
	margin: 0 auto 24px;
	font-family: "Raleway", sans-serif;
	font-size: clamp(48px, 5vw, 72px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	text-align: center;
	color: #2B2B2B;
}

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

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

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

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

/* Featured image */

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

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

/* Main content */

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

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

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

.alev-post-content h2 {
	margin: 1.15em 0 0.35em;
	color: #111111;
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.025em;
}

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

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

/* Mobile */

@media (max-width: 768px) {

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

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

	.alev-post-title {
		font-size: clamp(38px, 11vw, 54px);
		line-height: 1.04;
	}

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

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

	.alev-post-content h2 {
		font-size: 34px;
	}
}

/* Space below the UAE header on single blog posts */
.single-post .alev-single-post {
	padding-top: 100px;
}

/* =========================================
   FORCE SINGLE POST FOOTER LAYOUT
========================================= */

/* Social icons */

.single-post .alev-share-icons {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 22px !important;
}

.single-post .alev-share-icons a {
	display: inline-flex !important;
	width: 22px !important;
	height: 22px !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
}

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

/* Related posts container */

.single-post .alev-related-posts {
	width: 100% !important;
	max-width: 1200px !important;
	margin: 55px auto 0 !important;
	padding: 46px 34px 36px !important;
	border: 1px solid #dedede !important;
	border-radius: 12px !important;
	box-sizing: border-box !important;
}

/* Related posts heading */

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

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

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

/* Force 3 columns */

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

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

.single-post .alev-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 .alev-related-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}

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

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

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

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

/* Tablet */

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

/* Mobile */

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

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

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


/* =========================================
   SHARE BUTTONS — INLINE SOLID CIRCLES
========================================= */

.single-post .alev-share-section {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 18px !important;
	padding-bottom: 38px !important;
}

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

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

.single-post .alev-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: #242424 !important;
	color: #ffffff !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease !important;
}

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

.single-post .alev-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 .alev-post-navigation {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	width: 100% !important;
	margin: 0 !important;
	border-top: 1px solid #8c92a5 !important;
	border-bottom: 1px solid #8c92a5 !important;
}

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

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

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

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

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

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

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

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

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

@media (max-width: 700px) {

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

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

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

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

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

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