.elementor-widget-rcesd_researchers_list .rcesd-researchers,
.rcesd-researchers {
	--rcesd-researchers-accent: #34a853;
	--rcesd-researchers-accent-soft: #e8f6ee;
	--rcesd-researchers-accent-ink: #1f7a3f;
	direction: rtl;
	font-family: "Yekan Bakh", Tahoma, sans-serif;
	color: #1a1a1a;
	box-sizing: border-box;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers *,
.rcesd-researchers * {
	box-sizing: border-box;
}

/* ---- Search ---- */
.elementor-widget-rcesd_researchers_list .rcesd-researchers__search,
.rcesd-researchers__search {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0 0 28px;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__search-label,
.rcesd-researchers__search-label {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__search-icon,
.rcesd-researchers__search-icon {
	position: absolute;
	top: 50%;
	right: 20px;
	z-index: 2;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	color: #9aa39c;
	pointer-events: none;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__search-input,
.rcesd-researchers__search-input,
.elementor-widget-rcesd_researchers_list input.rcesd-researchers__search-input[type="text"],
.rcesd-researchers input.rcesd-researchers__search-input[type="text"] {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 54px !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 0 52px 0 22px !important;
	border: 1px solid #e8ece9 !important;
	border-radius: 999px !important;
	background: #ffffff !important;
	box-shadow: 0 8px 24px rgba(16, 40, 24, 0.06) !important;
	color: #1a1a1a !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	font-family: inherit !important;
	line-height: 54px !important;
	outline: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__search-input::placeholder,
.rcesd-researchers__search-input::placeholder {
	color: #a7b0aa !important;
	opacity: 1 !important;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__search-input:focus,
.rcesd-researchers__search-input:focus {
	border-color: #c7e4d1 !important;
	box-shadow: 0 10px 28px rgba(16, 40, 24, 0.09) !important;
}

/* ---- Grid / Card ---- */
.elementor-widget-rcesd_researchers_list .rcesd-researchers__grid,
.rcesd-researchers__grid {
	display: grid;
	gap: 24px;
}

.rcesd-researchers__grid--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rcesd-researchers__grid--cols-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rcesd-researchers__grid--cols-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__card,
.rcesd-researchers__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 12px 32px rgba(18, 40, 26, 0.08);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rcesd-researchers__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(18, 40, 26, 0.12);
}

.rcesd-researchers__card.is-hidden {
	display: none !important;
}

/* ---- Smaller profile image ---- */
.elementor-widget-rcesd_researchers_list .rcesd-researchers__media,
.rcesd-researchers__media {
	display: block;
	width: 58%;
	max-width: 180px;
	margin: 18px auto 0;
	padding: 0;
	text-decoration: none;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__img,
.rcesd-researchers__img,
.elementor-widget-rcesd_researchers_list .rcesd-researchers__media img,
.rcesd-researchers__media img {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1 !important;
	max-height: 180px !important;
	object-fit: cover !important;
	object-position: center top !important;
	border-radius: 14px !important;
	background: #eef3ef;
}

.rcesd-researchers__img--placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	max-height: 180px;
	background: linear-gradient(180deg, #eef3ef 0%, #e2ebe5 100%);
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__body,
.rcesd-researchers__body {
	flex: 1 1 auto;
	padding: 14px 18px 6px;
	text-align: center;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__name,
.rcesd-researchers__name {
	margin: 0 0 6px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.5;
}

.rcesd-researchers__name a {
	color: #151515;
	text-decoration: none;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__job,
.rcesd-researchers__job {
	margin: 0;
	color: #9aa39c;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.6;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__footer,
.rcesd-researchers__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding: 12px 16px 16px;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__resume,
.rcesd-researchers__resume {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--rcesd-researchers-accent);
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.rcesd-researchers__resume:hover {
	color: var(--rcesd-researchers-accent-ink);
}

.rcesd-researchers__resume--disabled {
	color: var(--rcesd-researchers-accent);
	opacity: 0.55;
	pointer-events: none;
}

.rcesd-researchers__resume-icon {
	display: grid;
	place-items: center;
	color: inherit;
}

.rcesd-researchers__resume-icon svg,
.rcesd-researchers__more svg {
	display: block;
}

.elementor-widget-rcesd_researchers_list .rcesd-researchers__more,
.rcesd-researchers__more {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--rcesd-researchers-accent-soft);
	color: var(--rcesd-researchers-accent-ink);
	text-decoration: none;
}

.rcesd-researchers__more:hover {
	background: #d8f3e3;
}

.rcesd-researchers__empty {
	display: none;
	margin: 18px 0 0;
	padding: 18px;
	border-radius: 14px;
	background: #f5f8f6;
	color: #6b776f;
	text-align: center;
}

.rcesd-researchers__empty.is-visible {
	display: block;
}

.rcesd-researchers__empty[hidden] {
	display: none !important;
}

@media (max-width: 1024px) {
	.rcesd-researchers__grid--cols-4,
	.rcesd-researchers__grid--cols-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.rcesd-researchers__grid--cols-4,
	.rcesd-researchers__grid--cols-3,
	.rcesd-researchers__grid--cols-2 {
		grid-template-columns: 1fr;
	}

	.elementor-widget-rcesd_researchers_list .rcesd-researchers__search,
	.rcesd-researchers__search {
		margin-bottom: 20px;
	}

	.elementor-widget-rcesd_researchers_list .rcesd-researchers__search-input,
	.rcesd-researchers__search-input {
		height: 50px !important;
		min-height: 50px !important;
		line-height: 50px !important;
		font-size: 14px !important;
	}

	.elementor-widget-rcesd_researchers_list .rcesd-researchers__media,
	.rcesd-researchers__media {
		width: 52%;
		max-width: 160px;
	}

	.rcesd-researchers__name {
		font-size: 16px;
	}
}
