/* =========================================
   تنسيقات هيدر الصفحات الداخلية (العنوان الفرعي)
   ========================================= */
.sliderindex {
	background-color: var(--primary-teal);
	position: relative;
	overflow: hidden;
}

.sliderindex::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('../img/tanmiah1.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	opacity: 0.16;
	pointer-events: none;
	z-index: 0;
}

.sliderindex__slide {
	position: relative;
	z-index: 1;
	padding: 70px 0;
}

/* تعديل مسار التنقل الافتراضي لـ Bootstrap في الهيدر */
.sliderindex .breadcrumb {
	background: rgba(255, 255, 255, 0.15) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 30px;
	padding: 8px 24px;
	display: inline-flex;
	margin-bottom: 20px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.sliderindex .breadcrumb-item a {
	color: rgba(255, 255, 255, 0.85) !important;
	font-weight: 500;
	transition: var(--transition-smooth);
}

.sliderindex .breadcrumb-item a:hover {
	color: #fff !important;
}

.sliderindex .breadcrumb-item.active {
	color: #fff !important;
	font-weight: 700;
}

.sliderindex .breadcrumb-item+.breadcrumb-item::before {
	color: rgba(255, 255, 255, 0.5) !important;
}

.sliderindex h1 {
	color: var(--accent-gold) !important;
	font-size: 28px;
	font-weight: 800;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
	margin: 0;
}

/* =========================================
   محاذاة عناصر محرّر المكونات (Gutenberg & Classic Alignments)
   ========================================= */

/* محاذاة الصور والكتل الكلية في المنتصف */
.aligncenter,
div.aligncenter,
figure.aligncenter,
.wp-block-image.aligncenter,
.wp-block-embed.aligncenter {
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center;
}

/* محاذاة الصور لليمين واليسار مع التفاف النص */
.alignleft,
figure.alignleft,
.wp-block-image.alignleft {
	float: left;
	margin: 10px 20px 20px 0;
}

.alignright,
figure.alignright,
.wp-block-image.alignright {
	float: right;
	margin: 10px 0 20px 20px;
}

/* محاذاة النصوص لمحرر ووردبريس */
.has-text-align-center,
.text-center {
	text-align: center !important;
}

.has-text-align-right,
.text-right {
	text-align: right !important;
}

.has-text-align-left,
.text-left {
	text-align: left !important;
}

/* منع خروج الصور خارج مساحة الحاوية وضمان توسيطها */
.wp-block-image img {
	max-width: 100%;
	height: auto;
	display: inline-block;
}

.wp-block-image.aligncenter img {
	margin-left: auto !important;
	margin-right: auto !important;
	display: block;
}

/* 404 Page */
.error-404-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.error-404-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(6, 97, 101, 0.08) !important;
}
.error-404-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 97, 101, 0.3);
    color: var(--accent-gold);
}
.fa-spin-hover:hover {
    animation: fa-spin 2s linear infinite;
}