/**
 * Blog single: layout, cover, heading box, sticky recent-posts sidebar.
 * Source look: _static/blog/single/index-new.html
 */

.postmba-blog-single {
	margin-block: 0 72px;
	color: #444444;
}

/* Layout: content + sticky sidebar
   LTR tracks so left = small sidebar, right = large article (RTL page). */
.postmba-blog-single .post-layout {
	display: grid;
	direction: ltr;
	grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
	gap: 36px;
	align-items: stretch;
	margin-top: 40px;
}

.postmba-blog-single .post-layout--no-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

.postmba-blog-single .post-main,
.postmba-blog-single .post-sidebar {
	direction: rtl;
	min-width: 0;
}

.postmba-blog-single .post-main {
	order: 2;
}

.postmba-blog-single .post-sidebar {
	order: 1;
	align-self: stretch;
}

.postmba-blog-single .post-article {
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(46, 48, 59, 0.1);
	padding: 0 0 28px;
}

.postmba-blog-single .post-article__cover {
	margin: 0;
}

.postmba-blog-single .post-article__cover img {
	width: 100%;
	height: auto;
	display: block;
}

.postmba-blog-single .post-article__body {
	padding: 24px 28px 0;
}

.postmba-blog-single .post-article__body > *:last-child {
	margin-bottom: 0;
}

/* Sidebar recent posts widget */
.postmba-blog-single .sidebar-widget {
	position: sticky;
	top: 24px;
	align-self: start;
	background: #ffffff;
	border: 1px solid rgba(167, 167, 167, 0.2);
	border-radius: 2px;
	padding: 30px 25px;
	box-shadow: 0 1px 3px rgba(46, 48, 59, 0.1);
}

.postmba-blog-single .sidebar-widget__title {
	position: relative;
	margin: 0 0 20px;
	padding: 0 0 20px;
	border-bottom: 1px solid rgba(167, 167, 167, 0.2);
	font-size: 1.15rem;
	font-weight: 700;
}

.postmba-blog-single .sidebar-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

.postmba-blog-single .sidebar-post {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	gap: 16px;
	padding: 0 0 12px;
	margin: 0 0 12px;
	border-bottom: 1px solid rgba(167, 167, 167, 0.2);
	font-size: 14px;
}

.postmba-blog-single .sidebar-post:last-child {
	margin: 0;
	padding: 0;
	border: 0;
}

.postmba-blog-single .sidebar-post__thumb {
	position: relative;
	width: 80px;
	height: 80px;
	overflow: hidden;
	border-radius: 2px;
	background: #eee;
}

.postmba-blog-single .sidebar-post__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: opacity 0.2s ease;
}

.postmba-blog-single .sidebar-post__thumb::after {
	content: "↗";
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	color: #285bbb;
	background: rgba(255, 255, 255, 0.7);
	opacity: 0;
	transform: scale(0.6);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.postmba-blog-single .sidebar-post:hover .sidebar-post__thumb img {
	opacity: 0.15;
}

.postmba-blog-single .sidebar-post:hover .sidebar-post__thumb::after {
	opacity: 1;
	transform: scale(1);
}

.postmba-blog-single .sidebar-post__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.65;
}

.postmba-blog-single .sidebar-post__title a {
	color: inherit;
	text-decoration: none;
}

.postmba-blog-single .sidebar-post__title a:hover {
	color: #285bbb;
}

.postmba-blog-single .sidebar-post__date {
	margin-top: 6px;
	font-size: 12px;
	opacity: 0.6;
	display: none;
}

@media (max-width: 960px) {
	.postmba-blog-single .post-layout {
		grid-template-columns: 1fr;
	}

	.postmba-blog-single .post-main {
		order: -1;
	}

	.postmba-blog-single .sidebar-widget {
		position: static;
	}
}

@media (max-width: 700px) {
	.postmba-blog-single .post-article__body {
		padding-left: 16px;
		padding-right: 16px;
	}
}
