.elementor-widget-rcesd_researcher_profile .rcesd-rprofile,
.rcesd-rprofile {
	--rcesd-rprofile-accent: #0d6b56;
	--rcesd-rprofile-accent-soft: #e7f4ef;
	--rcesd-rprofile-border: #e7eee9;
	--rcesd-rprofile-muted: #7d8a83;
	--rcesd-rprofile-text: #1b2420;
	direction: rtl;
	font-family: "Yekan Bakh", Tahoma, sans-serif;
	color: var(--rcesd-rprofile-text);
	box-sizing: border-box;
}

.rcesd-rprofile *,
.rcesd-rprofile *::before,
.rcesd-rprofile *::after {
	box-sizing: border-box;
}

.rcesd-rprofile--empty {
	padding: 24px;
	border-radius: 16px;
	background: #f5f8f6;
	color: var(--rcesd-rprofile-muted);
	text-align: center;
}

.rcesd-rprofile__hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 24px;
	border: 1px solid var(--rcesd-rprofile-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(16, 40, 28, 0.05);
}

.rcesd-rprofile__hero-main {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
	flex: 1 1 auto;
}

.rcesd-rprofile__avatar {
	flex: 0 0 auto;
}

.rcesd-rprofile__avatar-img,
.rcesd-rprofile__avatar img {
	display: block;
	width: 92px;
	height: 92px;
	border-radius: 999px;
	object-fit: cover;
	background: #eef3ef;
	box-shadow: 0 0 0 4px #fff, 0 0 0 5px #d7e6de;
}

.rcesd-rprofile__avatar-img--placeholder {
	background: linear-gradient(180deg, #eef3ef 0%, #dfe8e2 100%);
}

.rcesd-rprofile__identity {
	min-width: 0;
}

.rcesd-rprofile__name {
	margin: 0 0 10px;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.35;
}

.rcesd-rprofile__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcesd-rprofile__meta li {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--rcesd-rprofile-muted);
	font-size: 13px;
	line-height: 1.5;
}

.rcesd-rprofile__meta-icon {
	display: grid;
	place-items: center;
	color: var(--rcesd-rprofile-accent);
	opacity: 0.9;
}

.rcesd-rprofile__hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex: 0 0 auto;
}

.rcesd-rprofile__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rcesd-rprofile__btn--primary {
	background: var(--rcesd-rprofile-accent);
	color: #fff;
}

.rcesd-rprofile__btn--primary:hover {
	filter: brightness(0.96);
	color: #fff;
}

.rcesd-rprofile__btn--ghost {
	background: #fff;
	border-color: #d7e0da;
	color: #334039;
}

.rcesd-rprofile__btn--ghost:hover {
	border-color: #b9c9bf;
	background: #f8faf9;
}

.rcesd-rprofile__btn--soft {
	background: var(--rcesd-rprofile-accent-soft);
	color: var(--rcesd-rprofile-accent);
}

.rcesd-rprofile__btn--soft:hover {
	background: #d8efe6;
	color: var(--rcesd-rprofile-accent);
}

.rcesd-rprofile__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 18px 0 20px;
	padding: 0 4px;
	border-bottom: 1px solid var(--rcesd-rprofile-border);
	background: transparent;
}

.rcesd-rprofile__tab,
.elementor-widget-rcesd_researcher_profile .rcesd-rprofile__tab,
.rcesd-rprofile button.rcesd-rprofile__tab {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 0 -1px !important;
	padding: 12px 14px !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	color: var(--rcesd-rprofile-muted) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	font-family: inherit !important;
	line-height: 1.2 !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.rcesd-rprofile__tab:hover,
.rcesd-rprofile__tab:focus,
.rcesd-rprofile__tab:active,
.rcesd-rprofile__tab:focus-visible,
.elementor-widget-rcesd_researcher_profile .rcesd-rprofile__tab:hover,
.elementor-widget-rcesd_researcher_profile .rcesd-rprofile__tab:focus,
.rcesd-rprofile button.rcesd-rprofile__tab:hover,
.rcesd-rprofile button.rcesd-rprofile__tab:focus {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	color: var(--rcesd-rprofile-accent) !important;
	border-color: transparent !important;
	border-bottom-color: color-mix(in srgb, var(--rcesd-rprofile-accent) 45%, transparent) !important;
}

.rcesd-rprofile__tab.is-active,
.rcesd-rprofile__tab.is-active:hover,
.rcesd-rprofile__tab.is-active:focus,
.elementor-widget-rcesd_researcher_profile .rcesd-rprofile__tab.is-active {
	color: var(--rcesd-rprofile-accent) !important;
	background: transparent !important;
	background-color: transparent !important;
	border-bottom-color: var(--rcesd-rprofile-accent) !important;
}

.rcesd-rprofile__tab svg {
	display: block;
	color: inherit !important;
	fill: none !important;
	stroke: currentColor !important;
}

@supports not (color: color-mix(in srgb, red 50%, white)) {
	.rcesd-rprofile__tab:hover,
	.rcesd-rprofile__tab:focus {
		border-bottom-color: #9bc4b5 !important;
	}
}

.rcesd-rprofile__layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.rcesd-rprofile__main {
	min-width: 0;
}

.rcesd-rprofile__panel {
	display: none;
}

.rcesd-rprofile__panel.is-active {
	display: block;
}

.rcesd-rprofile__panel[hidden] {
	display: none !important;
}

.rcesd-rprofile__card {
	padding: 18px 20px;
	border: 1px solid var(--rcesd-rprofile-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 22px rgba(16, 40, 28, 0.04);
}

.rcesd-rprofile__card + .rcesd-rprofile__card {
	margin-top: 14px;
}

.rcesd-rprofile__card--center {
	display: flex;
	justify-content: center;
}

.rcesd-rprofile__card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0 0 12px;
	border-bottom: 1px solid #edf1ee;
}

.rcesd-rprofile__card-icon {
	display: grid;
	place-items: center;
	color: var(--rcesd-rprofile-accent);
}

.rcesd-rprofile__card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.4;
}

.rcesd-rprofile__prose {
	color: #3d4842;
	font-size: 14px;
	line-height: 2;
}

.rcesd-rprofile__prose p {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #eef2ef;
}

.rcesd-rprofile__prose p:first-child {
	padding-top: 0;
}

.rcesd-rprofile__prose p:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.rcesd-rprofile__muted {
	margin: 0;
	color: var(--rcesd-rprofile-muted);
	font-size: 13px;
}

.rcesd-rprofile__list {
	margin: 0;
	padding: 0;
	list-style: none;
	color: #3d4842;
	font-size: 14px;
	line-height: 1.9;
}

.rcesd-rprofile__list li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 0;
	padding-right: 16px;
	border-bottom: 1px solid #eef2ef;
}

.rcesd-rprofile__list li::before {
	content: "";
	position: absolute;
	top: 1.15em;
	right: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #c5d4cb;
}

.rcesd-rprofile__list li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.rcesd-rprofile__list li:first-child {
	padding-top: 0;
}

.rcesd-rprofile__aside {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rcesd-rprofile__contact-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rcesd-rprofile__contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #eef2ef;
	color: #425049;
	font-size: 13px;
	line-height: 1.6;
	word-break: break-word;
}

.rcesd-rprofile__contact-list li:first-child {
	padding-top: 0;
}

.rcesd-rprofile__contact-list li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.rcesd-rprofile__contact-list svg {
	flex: 0 0 auto;
	margin-top: 1px;
	color: var(--rcesd-rprofile-accent);
}

.rcesd-rprofile__contact-list a {
	color: inherit;
	text-decoration: none;
}

.rcesd-rprofile__contact-list a:hover {
	color: var(--rcesd-rprofile-accent);
}

.rcesd-rprofile__quick {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rcesd-rprofile__quick .rcesd-rprofile__btn {
	width: 100%;
}

@media (max-width: 980px) {
	.rcesd-rprofile__layout {
		grid-template-columns: 1fr;
	}

	.rcesd-rprofile__aside {
		order: 2;
	}

	.rcesd-rprofile__main {
		order: 1;
	}
}

@media (max-width: 720px) {
	.rcesd-rprofile__hero {
		flex-direction: column;
		align-items: stretch;
		padding: 18px;
	}

	.rcesd-rprofile__hero-main {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.rcesd-rprofile__meta li {
		justify-content: center;
	}

	.rcesd-rprofile__name {
		font-size: 22px;
	}

	.rcesd-rprofile__hero-actions {
		justify-content: center;
	}

	.rcesd-rprofile__tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.rcesd-rprofile__tab {
		white-space: nowrap;
		padding: 12px 12px;
		font-size: 12px;
	}
}
