/* ===== Ward Hero Slider ===== */
.ward-hero {
	position: relative;
	background: linear-gradient(135deg, #141c52 0%, var(--ward-navy-dark) 100%);
	overflow: hidden;
	/* عرض الشاشة كامل بدون فراغات بيضا يمين/شمال */
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding-bottom: 28px;
	box-sizing: border-box;
}

html:has(.ward-hero),
body:has(.ward-hero) {
	overflow-x: hidden;
}

/* سكشن/كونتينر إليمنتور لعرض كامل بدون padding جانبي */
.elementor-top-section:has(.ward-hero),
.elementor-section:has(.ward-hero),
.elementor-container:has(.ward-hero),
.elementor-column:has(.ward-hero),
.elementor-widget-wrap:has(.ward-hero),
.elementor-element:has(.ward-hero),
.e-con:has(.ward-hero),
.e-con-inner:has(.ward-hero) {
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
	border-radius: 0 !important;
}
.elementor-element:has(> .elementor-widget-container > .ward-hero),
.elementor-widget:has(.ward-hero),
.elementor-widget-container:has(.ward-hero) {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

.ward-front-page,
.ward-front-page > .elementor,
body.has-ward-hero .site-main {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
	overflow-x: hidden;
}

.ward-hero-bg-decor {
	position: absolute;
	top: -120px; left: -120px;
	width: 480px; height: 480px;
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 50%;
}
.ward-hero-bg-decor::before {
	content: '';
	position: absolute; inset: 60px;
	border: 1px solid rgba(255,255,255,.06);
	border-radius: 50%;
}
.ward-hero-track { position: relative; min-height: 100vh; min-height: 100dvh; }
.ward-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .6s ease;
	overflow: hidden;
}
.ward-hero-slide.active { position: relative; opacity: 1; visibility: visible; }
.ward-hero-slide-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--hero-bg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
.ward-hero-slide-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(10, 16, 48, var(--hero-overlay, .55)) 0%,
		rgba(16, 26, 74, calc(var(--hero-overlay, .55) + .1)) 55%,
		rgba(10, 16, 48, calc(var(--hero-overlay, .55) + .05)) 100%
	);
}
.ward-hero-slide.has-bg .ward-hero-bg-decor { opacity: .35; }
.ward-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 40px;
	/* مسافة فوق عشان الهيدر الشفاف فوق الهيرو */
	padding-top: 140px;
	/* مسافة تحت المحتوى */
	padding-bottom: 56px;
	min-height: 100vh;
	min-height: 100dvh;
}

.ward-hero-text {
	max-width: 100%;
	position: relative;
	z-index: 2;
	grid-column: 1;
	grid-row: 1;
}
.ward-hero-badge {
	display: inline-block;
	font-size: 12px; font-weight: 700;
	color: var(--ward-gold);
	background: rgba(201,162,75,.12);
	border: 1px solid rgba(201,162,75,.3);
	padding: 6px 16px;
	border-radius: 20px;
	margin-bottom: 18px;
}
.ward-hero-heading { margin-bottom: 18px; line-height: 1.25; }
.ward-hero-eyebrow-line { display: block; font-size: 34px; font-weight: 900; color: #fff; }
.ward-hero-title-line { display: block; font-size: 46px; font-weight: 900; color: var(--ward-gold); }
.ward-hero-author {
	margin: -6px 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: var(--ward-gold);
}
.ward-hero-desc { color: #c7cbe8; font-size: 16px; line-height: 1.9; margin-bottom: 28px; max-width: 460px; }

/* ===== أزرار الهيرو زي التصميم ===== */
.ward-hero-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-bottom: 0;
}

.ward-hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: all .25s ease;
	border: 2px solid transparent;
}

.ward-hero-btn svg {
	flex-shrink: 0;
}

/* ذهبى ممتلئ */
.ward-hero-btn-primary {
	background: var(--ward-gold);
	color: #141c52;
	border-color: var(--ward-gold);
}
.ward-hero-btn-primary:hover {
	background: var(--ward-gold-light);
	border-color: var(--ward-gold-light);
	color: #141c52;
}

/* شفاف ببوردر فاتح + أيقونة بلاي */
.ward-hero-btn-secondary {
	background: rgba(255, 255, 255, .06);
	color: #fff;
	border-color: rgba(255, 255, 255, .45);
}
.ward-hero-btn-secondary:hover {
	background: rgba(255, 255, 255, .12);
	border-color: #fff;
	color: #fff;
}

/* ===== الأرقام تحت عمود النص (ديسكتوب) / تحت الصورة (موبايل) ===== */
.ward-hero-stats {
	position: relative;
	z-index: 2;
	grid-column: 1;
	grid-row: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 28px 56px;
	width: auto;
	max-width: 100%;
	margin-top: 0;
	padding-top: 22px;
	padding-bottom: 0;
	padding-inline: 0;
	border-top: 1px solid rgba(255, 255, 255, .22);
}

.ward-hero-stat-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 0 12px;
	border: none;
	text-align: right;
}

.ward-hero-stat-number {
	font-size: 28px;
	font-weight: 900;
	color: #fff;
	line-height: 1.15;
}

.ward-hero-stat-label {
	color: rgba(255, 255, 255, .85);
	font-size: 13px;
	margin-top: 6px;
	font-weight: 500;
}

/* ===== صورة الجانب فقط — نصف الشاشة بدون تأثيرات ===== */
.ward-hero-books {
	position: relative;
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 100%;
	height: 100%;
	min-height: 420px;
	align-self: stretch;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ward-hero-book,
.ward-hero-book-0 {
	position: relative;
	top: auto;
	right: auto;
	left: auto;
	bottom: auto;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	aspect-ratio: auto;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
	transform: none !important;
	background: transparent;
	z-index: 1;
	text-decoration: none;
}

.ward-hero-book img,
.ward-hero-book-0 img {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: contain;
	object-position: center;
	display: block;
}

.ward-hero-dots { position: absolute; bottom: 96px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.ward-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.3); border: none; cursor: pointer; }
.ward-hero-dot.active { background: var(--ward-gold); width: 24px; border-radius: 4px; }

.ward-hero-scroll {
	position: absolute;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: #8f94b8;
	font-size: 11px;
	letter-spacing: 2px;
	animation: ward-bounce 1.8s infinite;
}
@keyframes ward-bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 900px) {
	.ward-hero {
		padding-bottom: 20px;
	}
	.ward-hero-inner {
		grid-template-columns: 1fr;
		grid-template-rows: none;
		text-align: center;
		padding-top: 72px;
		padding-bottom: 40px;
		min-height: 0;
	}
	.ward-hero-text {
		grid-column: auto;
		grid-row: auto;
		order: 1;
		padding-top: 28px;
	}
	.ward-hero-books {
		grid-column: auto;
		grid-row: auto;
		order: 2;
	}
	.ward-hero-stats {
		grid-column: auto;
		grid-row: auto;
		order: 3;
		justify-content: center;
		align-items: center;
		width: 100%;
	}
	.ward-hero-eyebrow-line { font-size: 26px; }
	.ward-hero-title-line { font-size: 34px; }
	.ward-hero-desc { margin-left: auto; margin-right: auto; }
	.ward-hero-btns { justify-content: center; }
	.ward-hero-books,
	.ward-hero-book,
	.ward-hero-book-0,
	.ward-hero-book img {
		min-height: 280px;
	}
	.ward-hero-stat-item {
		align-items: center;
		text-align: center;
		padding: 0;
	}
	.ward-hero-scroll { display: none; }
}
