.rcesd-page {
	--rcesd-page-green: #0a5c45;
	--rcesd-page-green-soft: #e8f3ee;
	--rcesd-page-ink: #1b1f1c;
	--rcesd-page-muted: #5b6760;
	--rcesd-page-line: #d7e4dc;
	direction: rtl;
	font-family: "Yekan Bakh", Tahoma, sans-serif;
	color: var(--rcesd-page-ink);
	background: #f7faf8;
}

.rcesd-page *,
.rcesd-page *::before,
.rcesd-page *::after {
	box-sizing: border-box;
}

.rcesd-page-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 70%, rgba(15, 122, 67, 0.08), transparent 34%),
		linear-gradient(180deg, #eef6f1 0%, #f5faf7 100%);
	border-bottom: 1px solid rgba(15, 122, 67, 0.08);
	padding: 34px 0 42px;
}

.rcesd-page-hero::before {
	content: "";
	position: absolute;
	inset: auto auto -40px -20px;
	width: min(340px, 42vw);
	height: 220px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 180'%3E%3Cpath fill='rgba(10,92,69,0.08)' d='M40 160c20-50 48-78 78-96 8 24 10 48 4 78-28 8-54 14-82 18zm78-96c18-22 42-38 72-46-4 28-16 52-34 72-14-6-26-14-38-26z'/%3E%3C/svg%3E")
		left bottom / contain no-repeat;
	pointer-events: none;
}

.rcesd-page-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1240px, calc(100% - 40px));
	margin-inline: auto;
	text-align: right;
}

.rcesd-page-hero__crumbs {
	margin-bottom: 16px;
	text-align: right;
}

.rcesd-page-hero__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--rcesd-page-muted);
}

.rcesd-page-hero__crumbs li {
	display: inline-flex;
	align-items: center;
}

.rcesd-page-hero__crumbs li:not(:last-child)::after {
	content: ">";
	margin: 0 8px;
	opacity: 0.55;
}

.rcesd-page-hero__crumbs a {
	color: inherit;
	text-decoration: none;
}

.rcesd-page-hero__crumbs a:hover {
	color: var(--rcesd-page-green);
}

.rcesd-page-hero__crumbs [aria-current="page"] {
	color: var(--rcesd-page-green);
	font-weight: 700;
}

.rcesd-page-hero__title {
	margin: 0 0 12px;
	font-size: clamp(1.7rem, 2.6vw, 2.35rem);
	font-weight: 850;
	line-height: 1.35;
	color: var(--rcesd-page-green);
	text-align: right;
}

.rcesd-page-hero__subtitle {
	margin: 0;
	max-width: none;
	font-size: 15px;
	line-height: 1.9;
	color: var(--rcesd-page-ink);
	opacity: 0.88;
	text-align: right;
}

.rcesd-page__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 28px;
	align-items: start;
	padding: 28px 0 56px;
}

.rcesd-page-side {
	display: grid;
	gap: 18px;
	order: 2;
}

.rcesd-page-main {
	order: 1;
	min-width: 0;
}

.rcesd-page-side__card {
	background: var(--rcesd-page-green-soft);
	border-radius: 18px;
	padding: 18px 16px;
}

.rcesd-page-side__heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 16px;
	font-weight: 800;
	color: var(--rcesd-page-green);
}

.rcesd-page-side__ico {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--rcesd-page-green);
	box-shadow: 0 4px 12px rgba(10, 92, 69, 0.08);
}

.rcesd-page-side__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

.rcesd-page-side__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 8px;
	border-radius: 10px;
	color: var(--rcesd-page-ink);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rcesd-page-side__list a::after {
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 7px 5px 0;
	border-color: transparent currentColor transparent transparent;
	opacity: 0.45;
	flex: none;
}

.rcesd-page-side__list a:hover {
	background: rgba(255, 255, 255, 0.72);
	color: var(--rcesd-page-green);
	transform: translateX(4px);
}

.rcesd-page-side__list .current-menu-item > a,
.rcesd-page-side__list .current_page_item > a {
	background: #fff;
	color: var(--rcesd-page-green);
}

.rcesd-page-side__banner {
	position: relative;
	margin: 0;
	border-radius: 18px;
	overflow: hidden;
	background: #0a5c45;
}

.rcesd-page-side__banner img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: contain;
	object-position: center;
	background: #0a5c45;
}

.rcesd-page-side__banner figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 14px 12px;
	background: linear-gradient(180deg, transparent, rgba(4, 40, 28, 0.82));
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.65;
	text-align: center;
	word-wrap: break-word;
}

.rcesd-page-main__content {
	background: #fff;
	border: 1px solid var(--rcesd-page-line);
	border-radius: 20px;
	padding: 28px 26px;
	min-height: 240px;
}

.rcesd-page-main__content > *:first-child {
	margin-top: 0;
}

.rcesd-page-main__content > .elementor {
	margin: -28px -26px;
}

.rcesd-page-main__content > .elementor > .elementor-element:first-child {
	border-radius: 20px;
	overflow: hidden;
}

@media (max-width: 980px) {
	.rcesd-page__body {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.rcesd-page-side,
	.rcesd-page-main {
		order: initial;
	}
}

@media (max-width: 640px) {
	.rcesd-page-hero {
		padding: 26px 0 30px;
	}

	.rcesd-page-main__content {
		padding: 20px 16px;
		border-radius: 16px;
	}

	.rcesd-page-main__content > .elementor {
		margin: -20px -16px;
	}
}
