/* Single blog post — content left + right sidebar */
body.aryarama-single-post {
	background: #f3f5f8;
}

body.aryarama-single-post .site-content {
	padding-top: 24px;
	padding-bottom: 40px;
}

body.aryarama-single-post .grid-container {
	max-width: 1280px;
	padding-left: 24px;
	padding-right: 24px;
}

body.aryarama-single-post #right-sidebar.widget-area {
	position: sticky;
	top: 90px;
	height: fit-content;
	align-self: flex-start;
}

body.admin-bar.aryarama-single-post #right-sidebar.widget-area {
	top: 122px;
}

body.aryarama-single-post #primary.content-area {
	min-width: 0;
}

body.aryarama-single-post .site-main > article {
	background: transparent;
	box-shadow: none;
}

body.aryarama-single-post .inside-article {
	margin: 0;
	padding: 32px 36px;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

body.aryarama-single-post .entry-content {
	max-width: 100%;
	margin: 0;
	padding: 0;
	color: #334155;
	font-size: 16px;
	line-height: 1.8;
}

body.aryarama-single-post .entry-content > *:first-child {
	margin-top: 0;
}

body.aryarama-single-post .entry-content h2,
body.aryarama-single-post .entry-content h3,
body.aryarama-single-post .entry-content h4 {
	color: #03427e;
}

body.aryarama-single-post .entry-meta,
body.aryarama-single-post .entry-footer,
body.aryarama-single-post .post-navigation,
body.aryarama-single-post .comments-area,
body.aryarama-single-post .entry-header {
	display: none !important;
}

body.aryarama-single-post .featured-image {
	margin: 0 0 24px;
	border-radius: 12px;
	overflow: hidden;
}

body.aryarama-single-post .featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

body.aryarama-single-post #right-sidebar.widget-area .widget,
body.aryarama-single-post #right-sidebar.widget-area .widget_archive,
body.aryarama-single-post #right-sidebar.widget-area .widget_categories,
body.aryarama-single-post #right-sidebar.widget-area .widget_search,
body.aryarama-single-post #right-sidebar.widget-area .gen-sidebar-nav {
	display: none !important;
}

body.aryarama-single-post .inside-right-sidebar {
	margin: 0;
	padding: 0;
}

/* Sidebar cards — Chaltafarm style */
.aryarama-post-sidebar-card {
	margin-bottom: 24px;
	padding: 18px 18px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: none;
	overflow: hidden;
}

.aryarama-post-sidebar-card__title {
	position: relative;
	margin: 0 0 18px;
	padding: 0 0 12px;
	border-bottom: none;
	color: #111111;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	text-align: left;
}

.aryarama-post-sidebar-card__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 68%;
	height: 2px;
	background: #03427e;
	border-radius: 2px;
}

.aryarama-post-sidebar-card__body {
	padding: 0;
}

.aryarama-post-sidebar-card__empty {
	margin: 0;
	padding: 4px 0;
	color: #64748b;
	font-size: 14px;
	text-align: left;
}

.aryarama-post-sidebar-categories,
.aryarama-post-sidebar-recent {
	margin: 0;
	padding: 0;
	list-style: none;
}

.aryarama-post-sidebar-categories__item,
.aryarama-post-sidebar-recent__item {
	margin: 0;
	border-bottom: 1px solid #eceff3;
}

.aryarama-post-sidebar-categories__item:last-child,
.aryarama-post-sidebar-recent__item:last-child {
	border-bottom: none;
}

.aryarama-post-sidebar-categories__link {
	display: block;
	padding: 12px 0;
	color: #4b5563;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	text-align: left;
	text-decoration: none;
	transition: color 0.2s ease;
}

.aryarama-post-sidebar-categories__link:hover,
.aryarama-post-sidebar-categories__link:focus {
	color: #03427e;
}

.aryarama-post-sidebar-recent__link {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	color: #334155;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	text-decoration: none;
	transition: color 0.2s ease;
}

.aryarama-post-sidebar-recent__thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 54px;
	border-radius: 8px;
	overflow: hidden;
	background: #f3f4f6;
}

.aryarama-post-sidebar-recent__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.aryarama-post-sidebar-recent__title {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.aryarama-post-sidebar-recent__link:hover,
.aryarama-post-sidebar-recent__link:focus {
	color: #03427e;
}

@media (max-width: 991px) {
	body.aryarama-single-post #right-sidebar.widget-area {
		position: static;
		top: auto;
	}

	body.aryarama-single-post .site-content {
		flex-direction: column;
		gap: 20px;
	}

	body.aryarama-single-post #primary {
		order: 1;
	}

	body.aryarama-single-post #right-sidebar {
		order: 2;
	}

	body.aryarama-single-post .inside-article {
		padding: 24px 20px;
	}
}

@media (max-width: 767px) {
	body.aryarama-single-post .grid-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.aryarama-single-post .inside-article {
		padding: 20px 16px;
		border-radius: 12px;
	}
}
