.blog-wrapper {
	background: var(--ahr-color-bg, #0a0a0a);
	color: var(--ahr-color-text, #9b9b9b);
}

.blog-wrapper .row-divided > .post-sidebar {
	order: -1;
	border-right: 1px solid rgba(253, 194, 15, 0.16);
	border-left: 0;
	direction: rtl;
}

.ahr-blog-sidebar {
	display: grid;
	gap: 18px;
	text-align: right;
}

.ahr-sidebar-panel {
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	background: var(--ahr-color-surface-card, #181818);
	color: var(--ahr-color-text-muted, #9b9b9b);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.ahr-sidebar-panel h2 {
	margin: 0 0 18px;
	color: var(--ahr-color-white, #fff);
font: 700 1.05rem/1.45 var(--ahr-font-heading, "Cairo", sans-serif);
}

.ahr-sidebar-search form {
	display: flex;
	gap: 8px;
}

.ahr-sidebar-search input {
	min-width: 0;
	height: 44px;
	margin: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	background: #101010;
	color: #fff;
}

.ahr-sidebar-search button {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 10px;
	background: var(--ahr-color-primary, #f36b31);
	color: #fff;
	font-weight: 700;
}

.ahr-sidebar-latest {
	display: grid;
	gap: 14px;
}

.ahr-sidebar-post {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 12px;
	align-items: center;
	color: #fff;
}

.ahr-sidebar-post img {
	width: 72px;
	height: 62px;
	border-radius: 9px;
	object-fit: cover;
}

.ahr-sidebar-post b {
	display: -webkit-box;
	overflow: hidden;
font: 700 0.78rem/1.55 var(--ahr-font-heading, "Cairo", sans-serif);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ahr-sidebar-post small {
	display: block;
	margin-top: 4px;
	color: var(--ahr-color-muted, #9b9b9b);
	font-size: 0.72rem;
}

.ahr-sidebar-categories {
	margin: 0;
	list-style: none;
}

.ahr-sidebar-categories li {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ahr-sidebar-categories li:last-child {
	border-bottom: 0;
}

.ahr-sidebar-categories a {
	color: #d8d8d8;
}

.ahr-sidebar-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ahr-sidebar-tags a {
	padding: 7px 11px;
	border: 1px solid rgba(253, 194, 15, 0.25);
	border-radius: 999px;
	color: #d7d7d7;
	font-size: 0.76rem;
}

.ahr-sidebar-cta {
	border-color: rgba(243, 107, 49, 0.35);
}

.ahr-sidebar-cta p {
	margin-bottom: 14px;
	color: #d8d8d8;
}

.ahr-sidebar-cta a {
	display: inline-flex;
	margin: 4px 0 0 6px;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--ahr-color-primary, #f36b31);
	color: #fff;
	font-weight: 700;
}

.blog-wrapper .entry-title,
.blog-wrapper .entry-title a,
.blog-wrapper .article-inner h1,
.blog-wrapper .article-inner h2,
.blog-wrapper .article-inner h3 {
	color: #fff;
}

.blog-wrapper .entry-content,
.blog-wrapper .entry-summary {
	color: #b7b7b7;
	line-height: 1.9;
}

@media (max-width: 849px) {
	.blog-wrapper .row-divided > .large-9 {
		order: 1;
	}

	.blog-wrapper .row-divided > .post-sidebar {
		order: 2;
		margin-top: 28px;
		border-right: 0;
	}

	.ahr-blog-sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.ahr-blog-sidebar {
		grid-template-columns: 1fr;
	}
}
