/**
 * قسم كلمة المدير التنفيذي في ثيم تنمية الشمالية (template-parts/home/home-ceo.php): «رسالة من القلب».
 *
 * على تدرّج الرمز العميق (.sh-section--deep): الكلمة بخط أبيض كبير في البداية تتقدمها علامة اقتباس ذهبية خافتة،
 * ثم التوقيع (خط ذهبي بجوار الاسم)، ثم روابط التواصل أيقونات زجاجية. وفي الطرف الآخر الصورة داخل معيّن الشعار،
 * خلفها إطار معيّن رفيع مزاح، وعلى حافتها العليا ورقتا الشعار الذهبيتان، وفي ركنها السفلي بلاطة الخبرة الذهبية.
 */

.sh-ceo__stage {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
	align-items: center;
	gap: 64px;
}

/* ==========================================================================
   الكلمة
   ========================================================================== */

.sh-ceo__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 26px;
	padding: 6px 14px;
	border: 1px solid rgba(var(--theme-secondary-rgb), 0.55);
	border-radius: var(--sh-radius-sm);
	background: rgba(var(--theme-secondary-rgb), 0.14);
	color: #ffffff;
	font-size: 0.92rem;
	font-weight: 800;
	line-height: 1.5;
}

.sh-ceo__eyebrow-icon {
	width: 16px;
	height: 16px;
	color: var(--theme-secondary);
}

.sh-ceo__quote {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
}

/* علامة الاقتباس كبيرة خافتة خلف أول السطور */
.sh-ceo__mark {
	position: absolute;
	top: -18px;
	inset-inline-start: -10px;
	width: 96px;
	height: 72px;
	fill: var(--theme-secondary);
	opacity: 0.22;
}

.sh-ceo__text {
	position: relative;
	color: #ffffff;
	font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.5rem);
	font-weight: 700;
	line-height: 1.9;
}

.sh-ceo__desc {
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 1rem;
	line-height: 1.85;
}

/* التوقيع: خط ذهبي قصير بجوار الاسم */
.sh-ceo__sign {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 34px;
}

.sh-ceo__sign-line {
	flex-shrink: 0;
	width: 44px;
	height: 3px;
	border-radius: 2px;
	background: var(--theme-secondary);
}

.sh-ceo__name {
	margin: 0;
	color: #ffffff;
	font-size: 1.3rem;
	font-weight: 800;
	line-height: 1.4;
}

.sh-ceo__role {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin-top: 4px;
	color: var(--theme-secondary);
	font-size: 0.95rem;
	font-weight: 700;
}

.sh-ceo__degree {
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
}

.sh-ceo__degree::before {
	content: '';
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-inline-end: 10px;
	border-radius: 1px;
	background: currentColor;
	vertical-align: middle;
	transform: rotate(45deg);
}

/* روابط التواصل: أيقونات زجاجية، والبريد والهاتف بنصّهما */
.sh-ceo__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.sh-ceo__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--sh-radius);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 0.88rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.sh-ceo__link--social {
	justify-content: center;
	width: 40px;
	padding: 0;
}

.sh-ceo__link-icon {
	color: var(--theme-secondary);
}

.sh-ceo__link:hover,
.sh-ceo__link:focus-visible {
	border-color: var(--theme-secondary);
	background: var(--theme-secondary);
	color: var(--sh-deep);
}

.sh-ceo__link:hover .sh-ceo__link-icon,
.sh-ceo__link:focus-visible .sh-ceo__link-icon {
	color: var(--sh-deep);
}

.sh-ceo__link--social:hover svg,
.sh-ceo__link--social:focus-visible svg {
	filter: brightness(0);
}

/* ==========================================================================
   الصورة
   ========================================================================== */

.sh-ceo__portrait {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	aspect-ratio: 1;
}

/* إطار معيّن رفيع مزاح نحو الأسفل وجهة النهاية */
.sh-ceo__ring {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 66.5%;
	aspect-ratio: 1;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-radius: 9%;
	transform: translate(calc(-50% - 38px), calc(-50% + 38px)) rotate(45deg);
}

.sh-ceo__frame {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.1);
	-webkit-mask: var(--sh-diamond) center / contain no-repeat;
	mask: var(--sh-diamond) center / contain no-repeat;
}

.sh-ceo__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
}

.sh-ceo__emblem {
	width: 48%;
	height: 48%;
}

/* ورقتا الشعار على الحافة العليا كما في الرمز */
.sh-ceo__leaves {
	position: absolute;
	top: 7%;
	left: 7%;
	z-index: 1;
	width: 19%;
	height: 19%;
	color: var(--theme-secondary);
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.25));
}

/* بلاطة الخبرة الذهبية في الركن السفلي */
.sh-ceo__years {
	position: absolute;
	right: 6%;
	bottom: 10%;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 96px;
	padding: 12px 14px;
	border-radius: var(--sh-radius);
	background: var(--theme-secondary);
	color: var(--sh-deep);
	box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.55);
	text-align: center;
}

.sh-ceo__years strong {
	font-size: 1.7rem;
	font-weight: 800;
	line-height: 1.1;
}

.sh-ceo__years span {
	font-size: 0.82rem;
	font-weight: 800;
}

/* ==========================================================================
   الشاشات المتوسطة والجوال
   ========================================================================== */

@media (max-width: 991px) {
	.sh-ceo__stage {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.sh-ceo__portrait {
		order: -1;
		max-width: 320px;
	}
}

@media (max-width: 560px) {
	.sh-ceo__portrait {
		max-width: 260px;
	}

	.sh-ceo__years {
		min-width: 80px;
		padding: 10px 12px;
	}

	.sh-ceo__years strong {
		font-size: 1.4rem;
	}

	.sh-ceo__link span {
		overflow-wrap: anywhere;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sh-ceo__link {
		transition: none;
	}
}
