/* One isolated layout for the live staff directory and its Elementor template. */
.cihan-staff-directory {
	--cihan-staff-green: #075c35;
	--cihan-staff-ink: #1d3046;
	--cihan-staff-muted: #526478;
	--cihan-staff-line: #50856b;
	--cihan-staff-gap: clamp(20px, 2.6vw, 32px);
	color: var(--cihan-staff-ink);
	margin-inline: auto;
	max-width: 1220px;
	width: 100%;
}
.cihan-staff-directory *,
.cihan-staff-directory *::before,
.cihan-staff-directory *::after { box-sizing: border-box; }
.cihan-staff-directory .cihan-staff-directory__title {
	color: var(--cihan-staff-ink);
	font-size: clamp(26px, 2.8vw, 38px);
	font-weight: 750;
	line-height: 1.3;
	margin: 0 0 40px;
	text-align: center;
}
.cihan-staff-directory .cihan-staff-directory__leadership-stack {
	margin-inline: auto;
	max-width: 720px;
}
.cihan-staff-directory .cihan-staff-directory__leadership-level {
	position: relative;
	margin: 0;
}
.cihan-staff-directory .cihan-staff-directory__leadership-level + .cihan-staff-directory__leadership-level { margin-top: 44px; }
.cihan-staff-directory .cihan-staff-directory__leadership-level + .cihan-staff-directory__leadership-level::before,
.cihan-staff-directory .cihan-staff-directory__department-group::before {
	content: "";
	position: absolute;
	width: 1px;
	height: 44px;
	left: 50%;
	top: -44px;
	transform: translateX(-50%);
	background: var(--cihan-staff-line);
	pointer-events: none;
}
.cihan-staff-directory .cihan-staff-directory__role-label {
	background: var(--cihan-staff-green);
	border: 4px solid #f3f6f2;
	border-radius: 999px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 auto;
	max-width: 100%;
	padding: 7px 20px;
	position: relative;
	text-align: center;
	width: fit-content;
	z-index: 1;
}
.cihan-staff-directory .cihan-staff-directory__leader-cards {
	display: grid;
	gap: 20px;
	padding-top: 24px;
	position: relative;
}
.cihan-staff-directory .cihan-staff-directory__leader-cards::before {
	content: "";
	position: absolute;
	background: var(--cihan-staff-line);
	width: 1px;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: none;
}
.cihan-staff-directory .cihan-staff-directory__leader-cards::before { top: 0; height: 24px; }
.cihan-staff-directory .cihan-staff-directory__person {
	align-items: center;
	background: #fff;
	border: 1px solid #dce7df;
	border-inline-start: 4px solid #ffa51c;
	border-radius: 18px;
	box-shadow: 0 12px 32px rgb(18 64 43 / 4%);
	display: flex;
	gap: 26px;
	margin: 0;
	min-width: 0;
	padding: 24px;
	position: relative;
}
.cihan-staff-directory .cihan-staff-directory__portrait {
	align-items: center;
	background: #eef3ef;
	border-radius: 12px;
	display: flex;
	flex: 0 0 160px;
	height: 184px;
	justify-content: center;
	overflow: hidden;
	width: 160px;
}
.cihan-staff-directory .cihan-staff-directory__photo {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center 25%;
	width: 100%;
}
.cihan-staff-directory .cihan-staff-directory__initials {
	color: #49745c;
	font-size: 42px;
	font-weight: 650;
	line-height: 1;
}
.cihan-staff-directory .cihan-staff-directory__person-details { min-width: 0; }
.cihan-staff-directory .cihan-staff-directory__name {
	color: var(--cihan-staff-ink);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	overflow-wrap: anywhere;
}
.cihan-staff-directory .cihan-staff-directory__position {
	background: #edf4ef;
	border: 1px solid #d6e6dc;
	border-radius: 14px;
	color: var(--cihan-staff-green);
	display: inline-block;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.6;
	margin: 10px 0 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	padding: 4px 10px;
}
.cihan-staff-directory .cihan-staff-directory__service {
	color: var(--cihan-staff-muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 10px 0 0;
	overflow-wrap: anywhere;
}
.cihan-staff-directory .cihan-staff-directory__department-group { margin-top: 44px; position: relative; }
.cihan-staff-directory .cihan-staff-directory__departments {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: var(--cihan-staff-gap);
	margin-top: 44px;
	padding-top: 28px;
	position: relative;
}
.cihan-staff-directory .cihan-staff-directory__departments::before {
	background: var(--cihan-staff-line);
	content: "";
	height: 1px;
	/* End exactly at each outer grid track's centre, including the two gaps. */
	left: calc((100% - 2 * var(--cihan-staff-gap)) / 6);
	right: calc((100% - 2 * var(--cihan-staff-gap)) / 6);
	position: absolute;
	top: 0;
	pointer-events: none;
}
.cihan-staff-directory .cihan-staff-directory__departments::after {
	background: var(--cihan-staff-line);
	content: "";
	height: 44px;
	left: 50%;
	position: absolute;
	top: -44px;
	transform: translateX(-50%);
	width: 1px;
	pointer-events: none;
}
/* The wrapper has no semantic role. Its sections remain accessible in DOM order:
   department, head, teachers. Shared grid rows align every teaching branch. */
.cihan-staff-directory .cihan-staff-directory__branch { display: contents; }
.cihan-staff-directory .cihan-staff-directory__head-slot {
	display: flex;
	flex-direction: column;
	grid-column: var(--cihan-staff-column);
	grid-row: 1;
	min-width: 0;
	position: relative;
}
.cihan-staff-directory .cihan-staff-directory__head-slot::before {
	background: var(--cihan-staff-line);
	content: "";
	height: 28px;
	left: 50%;
	position: absolute;
	top: -28px;
	transform: translateX(-50%);
	width: 1px;
	pointer-events: none;
}
.cihan-staff-directory .cihan-staff-directory__department-title {
	background: #f0f5f1;
	border: 1px solid #dce7df;
	border-radius: 12px;
	color: var(--cihan-staff-green);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 0 16px;
	min-height: 72px;
	padding: 12px 16px;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cihan-staff-directory .cihan-staff-directory__head-cards { display: flex; flex: 1; flex-direction: column; gap: 16px; }
.cihan-staff-directory .cihan-staff-directory__person--head {
	flex: 1;
	flex-direction: column;
	gap: 20px;
	justify-content: flex-start;
	text-align: center;
}
.cihan-staff-directory .cihan-staff-directory__person--head .cihan-staff-directory__portrait { flex-basis: auto; }
.cihan-staff-directory .cihan-staff-directory__person--head .cihan-staff-directory__name { font-size: 20px; }
.cihan-staff-directory .cihan-staff-directory__teachers {
	align-self: start;
	grid-column: var(--cihan-staff-column);
	grid-row: 2;
	min-width: 0;
	padding-top: 24px;
	position: relative;
}
.cihan-staff-directory .cihan-staff-directory__teachers::before {
	background: var(--cihan-staff-line);
	bottom: 0;
	content: "";
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 1px;
	pointer-events: none;
}
.cihan-staff-directory .cihan-staff-directory__teacher-label {
	background: #eef4ef;
	border: 1px solid #d0e1d5;
	border-radius: 999px;
	color: var(--cihan-staff-green);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0 auto 24px;
	max-width: 100%;
	padding: 7px 15px;
	position: relative;
	text-align: center;
	width: fit-content;
}
.cihan-staff-directory .cihan-staff-directory__teacher-cards { display: grid; gap: 22px; position: relative; }
.cihan-staff-directory .cihan-staff-directory__person--teacher,
.cihan-staff-directory .cihan-staff-directory__person--general { align-items: flex-start; gap: 14px; padding: 18px; }
.cihan-staff-directory .cihan-staff-directory__person--teacher .cihan-staff-directory__portrait,
.cihan-staff-directory .cihan-staff-directory__person--general .cihan-staff-directory__portrait { flex: 0 0 66px; height: 78px; width: 66px; }
.cihan-staff-directory .cihan-staff-directory__person--teacher .cihan-staff-directory__initials,
.cihan-staff-directory .cihan-staff-directory__person--general .cihan-staff-directory__initials { font-size: 24px; }
.cihan-staff-directory .cihan-staff-directory__person--teacher .cihan-staff-directory__name,
.cihan-staff-directory .cihan-staff-directory__person--general .cihan-staff-directory__name { font-size: 17px; }
.cihan-staff-directory .cihan-staff-directory__empty-card,
.cihan-staff-directory .cihan-staff-directory__empty-teachers {
	background: #f6f8f5;
	border: 1px dashed #b9d0c0;
	border-radius: 14px;
	color: var(--cihan-staff-muted);
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
	padding: 32px 24px;
	position: relative;
	text-align: center;
}
.cihan-staff-directory .cihan-staff-directory__head-cards > .cihan-staff-directory__empty-card { align-content: center; flex: 1; min-height: 220px; }
.cihan-staff-directory .cihan-staff-directory__general { border-top: 1px solid #dce7df; margin-top: 64px; padding-top: 48px; }
.cihan-staff-directory .cihan-staff-directory__general-grid { display: grid; gap: var(--cihan-staff-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cihan-staff-directory .cihan-staff-directory__sr-only {
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}
@media (min-width: 768px) and (max-width: 1023px) {
	.cihan-staff-directory .cihan-staff-directory__person--head { padding: 18px 12px; }
	.cihan-staff-directory .cihan-staff-directory__person--head .cihan-staff-directory__portrait { width: 128px; height: 148px; }
	.cihan-staff-directory .cihan-staff-directory__person--teacher { flex-direction: column; }
	.cihan-staff-directory .cihan-staff-directory__general-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.cihan-staff-directory .cihan-staff-directory__title { margin-bottom: 28px; }
	.cihan-staff-directory .cihan-staff-directory__person { padding: 18px; gap: 18px; }
	.cihan-staff-directory .cihan-staff-directory__portrait { flex-basis: 96px; width: 96px; height: 112px; }
	.cihan-staff-directory .cihan-staff-directory__name { font-size: 20px; }
	.cihan-staff-directory .cihan-staff-directory__departments { display: block; margin-top: 28px; padding-top: 0; }
	.cihan-staff-directory .cihan-staff-directory__departments::before,
	.cihan-staff-directory .cihan-staff-directory__head-slot::before,
	.cihan-staff-directory .cihan-staff-directory__departments::after { display: none; }
	.cihan-staff-directory .cihan-staff-directory__branch { display: block; }
	.cihan-staff-directory .cihan-staff-directory__branch + .cihan-staff-directory__branch { border-top: 1px solid #dce7df; margin-top: 36px; padding-top: 32px; }
	.cihan-staff-directory .cihan-staff-directory__department-title { min-height: 0; }
	.cihan-staff-directory .cihan-staff-directory__person--head { flex-direction: row; text-align: start; }
	.cihan-staff-directory .cihan-staff-directory__person--head .cihan-staff-directory__portrait { flex: 0 0 96px; }
	.cihan-staff-directory .cihan-staff-directory__head-cards > .cihan-staff-directory__empty-card { min-height: 0; }
	.cihan-staff-directory .cihan-staff-directory__general-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 379px) {
	.cihan-staff-directory .cihan-staff-directory__person--leader,
	.cihan-staff-directory .cihan-staff-directory__person--head { flex-direction: column; text-align: center; }
	.cihan-staff-directory .cihan-staff-directory__person--leader .cihan-staff-directory__portrait,
	.cihan-staff-directory .cihan-staff-directory__person--head .cihan-staff-directory__portrait { flex-basis: auto; }
}
