.rcesd-posts-list {
	--rcesd-posts-btn: #0f7a43;
	--rcesd-posts-ink: #1b1f1c;
	direction: rtl;
	font-family: "Yekan Bakh", Tahoma, sans-serif;
	color: var(--rcesd-posts-ink);
}

.rcesd-posts-list *,
.rcesd-posts-list *::before,
.rcesd-posts-list *::after {
	box-sizing: border-box;
}

.rcesd-posts-list__items {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0;
}

.rcesd-posts-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 4px;
	border-bottom: 1px solid #e8eee9;
}

.rcesd-posts-list__item:last-child {
	border-bottom: 0;
}

.rcesd-posts-list__title {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--rcesd-posts-ink);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.85;
	text-align: right;
	text-decoration: none;
	transition: color 0.18s ease;
}

.rcesd-posts-list__title:hover {
	color: var(--rcesd-posts-btn);
}

.rcesd-posts-list__btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 96px;
	padding: 10px 22px;
	border-radius: 999px;
	background: var(--rcesd-posts-btn);
	color: #fff;
	font-size: 13.5px;
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.rcesd-posts-list__btn:hover {
	background: #0c6638;
	color: #fff;
	transform: translateY(-1px);
}

.rcesd-posts-list__empty {
	margin: 0;
	padding: 18px 4px;
	color: #6b7280;
	font-size: 14px;
}

@media (max-width: 640px) {
	.rcesd-posts-list__item {
		align-items: flex-start;
		gap: 14px;
		padding: 16px 0;
	}

	.rcesd-posts-list__title {
		font-size: 14px;
	}

	.rcesd-posts-list__btn {
		min-width: 84px;
		padding: 9px 16px;
		font-size: 12.5px;
	}
}
