@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

/* التنسيق العام */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Tajawal', sans-serif;
	background-color: #2B3347;
	color: #333;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	height: 100vh;
	overflow-x: hidden;
}

/* تنسيق الرأس */
header {
	background-color: #2B3347;
	color: #fff;
	padding: 30px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	position: relative;
	width: 100%;
	z-index: 1001;
	border-bottom: 3px solid #4B5563;
}

/* تنسيق الإشعار */
.notification {
	font-size: 10px;
	margin-right: 150px;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.3s ease, color 0.3s ease;
}

/* تنسيق قائمة الهامبرغر */
.menu-toggle {
	font-size: 24px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

/* قائمة التنقل الجانبية */
.menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #2B3347;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 100px 20px;
	z-index: 1000;
	transform: translateX(-100%);
	opacity: 0;
	transition: transform 0.4s ease-out, opacity 0.3s ease-out;
	overflow-y: auto;
}

/* الكود السابق للشاشات الكبيرة (ديسكتوب) */
.menu a {
	display: block;
	width: 80%;
	max-width: 350px;
	padding: 15px 20px;
	color: #fff;
	font-size: 18px;
	text-decoration: none;
	margin: 10px 0;
	text-align: center;
	border-radius: 12px;
	background: rgba(53, 61, 80, 0.6);
	border: 1px solid rgba(53, 61, 80, 0.8);
	backdrop-filter: blur(10px);
	transition: all 0.4s ease;
	border-bottom: 2px solid #4B5563;
}

.menu a:hover {
	background: rgba(53, 61, 80, 0.8);
	border: 1px solid rgba(53, 61, 80, 1);
}

/* الكود الجديد للجوال (شاشات صغيرة) */
@media (max-width: 768px) {
	.menu {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100vh; /* لجعل العنصر الأب يأخذ ارتفاع الصفحة بالكامل */
	}

	.menu a {
		width: 90%; /* يمكن تعديل العرض ليتناسب مع الشاشات الصغيرة */
		max-width: 300px; /* يمكن تعديل العرض الأقصى */
	}
}

/* الكود الجديد للجوال (شاشات صغيرة مثل Galaxy S6) */
@media (max-width: 360px) {
	.menu a {
		width: 95%; /* زيادة العرض ليتناسب مع الشاشات الصغيرة جدًا */
		max-width: 280px; /* تقليل العرض الأقصى */
		padding: 10px 15px; /* تقليل الـ Padding */
		font-size: 16px; /* تقليل حجم الخط */
		margin: 8px 0; /* تقليل الهوامش */
	}

	.menu {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100vh; /* لجعل القائمة تأخذ ارتفاع الصفحة بالكامل */
	}
}

.menu.open {
	transform: translateX(0);
	opacity: 1;
}

.menu.close {
	transform: translateX(-100%);
	opacity: 0;
}

body.menu-open {
	overflow: hidden;
}

/* تأثير على الروابط */
@keyframes glowEffect {
	0%, 100% {
		box-shadow: 0 0 5px rgba(0, 123, 255, 0.8);
	}

	50% {
		box-shadow: 0 0 20px rgba(0, 123, 255, 1);
	}
}

/* المحتوى */
.content {
    flex: 1;
    margin: 10px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* لضبط العناصر في المنتصف عموديًا */
    width: 100%;
    text-align: center; /* لضبط النصوص في المنتصف */
}

/* عناصر الأخبار */
.news-item {
    border-radius: 8px 8px 0 0;
    margin-bottom: 0px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* تغيير المحاذاة إلى اليمين */
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    text-align: right; /* محاذاة النصوص إلى اليمين */
    width: 100%;
    border-bottom: 2px solid #4B5563;
}


/* تنسيق الصور داخل عناصر .news-item */
.news-item img {
    width: 100vw; /* عرض الصورة يساوي عرض viewport */
    margin-left: calc(-50vw + 50%); /* توسيع الصورة لتمتد من الحافة اليسرى إلى الحافة اليمنى */
    margin-right: calc(-50vw + 50%); /* توسيع الصورة لتمتد من الحافة اليسرى إلى الحافة اليمنى */
    display: block; /* لجعل الصورة تتصرف كعنصر block */
    max-width: none; /* إلغاء أي قيود على العرض الأقصى */
    height: auto; /* الحفاظ على نسبة العرض إلى الارتفاع */
    object-fit: cover; /* تغطية المساحة المحددة دون تشويه */
    margin-bottom: 15px; /* تباعد سفلي */
    border-radius: 1px; /* زوايا مدورة قليلاً */
}

/* تعديلات للشاشات الصغيرة (الهواتف) */
@media (max-width: 600px) {
    .news-item img {
        height: 250px; /* ارتفاع أقل للشاشات الصغيرة */
    }
}

/* تعديلات للشاشات المتوسطة (الأجهزة اللوحية) */
@media (min-width: 601px) and (max-width: 900px) {
    .news-item img {
        height: 480px; /* ارتفاع متوسط */
    }
}

/* تعديلات للشاشات الكبيرة (أجهزة الكمبيوتر) */
@media (min-width: 901px) {
    .news-item img {
        height: 280px; /* ارتفاع أكبر */
    }
}

.news-item h2 {
    font-size: 18px; /* زيادة حجم الخط */
    color: #fff;
    margin-bottom: 15px; /* تقليل التباعد */
    line-height: 1.4;
}

.news-item p {
    font-size: 14px; /* زيادة حجم الخط */
    color: #f1f1f1; /* لون رمادي فاتح */
    margin-bottom: 15px; /* تقليل التباعد */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* زيادة عدد الأسطر المقصوصة */
    -webkit-box-orient: vertical;
    overflow: hidden;
}


@media (max-width: 768px) {
    .news-item h2 {
        font-size: 16px; /* تقليل حجم الخط للشاشات الصغيرة */
    }

    .news-item p {
        font-size: 12px; /* تقليل حجم الخط للشاشات الصغيرة */
        -webkit-line-clamp: 3; /* تقليل عدد الأسطر المقصوصة */
    }
}



/* تنسيق عام لعناصر الخبر */
.news-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    font-family: 'Tajawal', sans-serif;
    direction: rtl;
}

/* تنسيق الحاوية للمحتوى */
.news-item {
  position: relative;
  padding-bottom: 30px; /* لضمان المسافة الكافية أسفل العنصر */
}

/* تنسيق التاريخ والكاتب داخل نفس السطر */
.news-item .info {
    position: absolute;
    bottom: 10px; /* تحديد المسافة من أسفل */
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center; /* لضبط النصوص في المنتصف */
}

/* تنسيق التاريخ */
.news-item .date,
.news-item .author {
    font-size: 12px;
    color: #A9B2BF;
    padding: 5px 10px;
    border-right: 6px solid #4B5563;
    margin-right: -3px;  /* تحريك الحدود إلى الداخل قليلاً على اليمين */
    margin-left: 10px;   /* تحريك الحدود إلى الداخل قليلاً على اليسار */
}

/* ضبط مكان الكاتب على اليمين */
.news-item .author {
    text-align: right;
    border-right: none;
    border-left: 6px solid #4B5563;
    margin-left: 15px;  /* تحريك الحدود إلى الداخل قليلاً على اليسار */
}

/* ضبط مكان التاريخ على اليسار */
.news-item .date {
    text-align: left;
    border-right: 6px solid #4B5563;
    margin-right: 15px;  /* تحريك الحدود إلى الداخل قليلاً على اليمين */
}

/* الكود الجديد للشاشات الصغيرة (مثل Galaxy S6) */
@media (max-width: 360px) {
    .news-item .date,
    .news-item .author {
        font-size: 10px; /* تقليل حجم الخط */
        padding: 3px 8px; /* تقليل الـ Padding */
        border-right-width: 4px; /* تقليل سمك الحدود */
        margin-right: -2px; /* تعديل الهامش الأيمن */
        margin-left: 8px; /* تعديل الهامش الأيسر */
    }

    .news-item .author {
        border-left-width: 4px; /* تقليل سمك الحدود */
        margin-left: 10px; /* تعديل الهامش الأيسر */
    }

    .news-item .date {
        border-right-width: 4px; /* تقليل سمك الحدود */
        margin-right: 10px; /* تعديل الهامش الأيمن */
    }
}


/* تنسيق تذييل الصفحة */
footer {
	background-color: #2B3347;
	color: #fff;
	text-align: center;
	padding: 30px 0;
	width: 100%;
	position: relative;
	margin-top: auto;
	border-top: 3px solid #4B5563;
}

/* تنسيق محتوى التذييل */
footer .footer-content {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	flex-direction: column;
	text-align: center;
}

/* تنسيق لوجو الفوتر */
.footer-logo img {
	width: 100px;
	height: auto;
	margin-bottom: 10px;
	cursor: pointer;
	transition: transform 0.3s ease;
	background-color: transparent; /* إزالة لون الخلفية */
	outline: none; /* إزالة أي حدود أو outlines */
	border: none; /* إزالة أي حدود */
	object-fit: cover; /* ضبط حجم الصورة */
	-webkit-tap-highlight-color: transparent; /* إزالة التأثيرات على الهواتف */
	-webkit-user-drag: none; /* منع السحب على الصورة */
	user-select: none; /* منع تحديد الصورة */
}

.footer-logo img:hover {
	transform: scale(1.1);
}

.footer-logo img {
    background-color: transparent; /* أو أي لون آخر تفضله */
}

/* تنسيق نص حقوق النشر */
footer .copyright-ar {
	font-size: 12px;
	direction: rtl;
	margin-bottom: 10px;
}

/* تحسين التنسيق للشاشات الكبيرة */
@media (min-width: 768px) {
	footer .copyright-ar {
		font-size: 16px; /* زيادة حجم النص للشاشات الكبيرة */
	}

	.footer-logo img {
		width: 120px; /* زيادة حجم اللوجو للشاشات الكبيرة */
	}
}

/* تحسين التنسيق للشاشات الصغيرة */
@media (max-width: 767px) {
	footer .copyright-ar {
		font-size: 15px; /* حجم نص مناسب للشاشات الصغيرة */
	}

	.footer-logo img {
		width: 130px; /* تصغير حجم اللوجو للشاشات الصغيرة */
	}
}

.control-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-button:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.progress-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.progress-bar {
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.progress-bar .progress {
  height: 100%;
  background-color: #007bff;
  width: 0;
  border-radius: 10px;
  transition: width 0.1s linear;
}

.time-display {
  font-size: 0.9em;
  color: #555;
}

.speed-controls {
  display: flex;
  gap: 10px;
}

.speed-button {
  background-color: #f1f1f1;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.speed-button:hover {
  background-color: #ddd;
}

.speed-button.active {
  background-color: #007bff;
  color: white;
}


/* تنسيق زر الرجوع إلى الأعلى */
.back-to-top {
	background-color: #4B5563;
	color: #fff;
	border: none;
	padding: 15px;
	width: 50px;
	height: 50px;
	border-radius: 1px;
	font-size: 18px;
	cursor: pointer;
	position: absolute;
	top: -50px;
	left: 50%;
	transform: translateX(-50%);
	transition: top 0.3s ease;
}

.back-to-top:hover {
	background-color: #4B5563;
}

.show-back-to-top {
	display: block visibility;
	top: -48px;
}

.footer-link:hover {
	color: #FFD700;
}

/* تنسيق الفواصل بين الروابط */
.separator {
	color: #fff;
	margin: 0 10px;
	font-weight: bold;
}

/* تأثير عند التمرير على عنصر الأخبار */
.news-item:hover {
	transform: translateY(-5px);
}

/* تنسيق عام لصفحة الخبر */
.news-detail {
	padding: 20px;
	max-width: 900px;
	margin: 40px auto;
	text-align: center;
	line-height: 1.8;
	font-family: 'Tajawal', sans-serif;
	color: #fff;
}

/* تنسيق عنوان الخبر */
.news-detail h1 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-align: right; /* تغيير المحاذاة إلى اليمين */
}

/* تنسيق العنوان */
.news-detail h1 {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: right; /* محاذاة النص إلى اليمين */
    white-space: pre-wrap; /* الحفاظ على المسافات والفقرات */
}

/* تنسيق الوصف داخل .quote */
.quote p {
    white-space: pre-wrap; /* الحفاظ على المسافات والفقرات */
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: right; /* محاذاة النص إلى اليمين */
    line-height: 1.8; /* زيادة تباعد الأسطر */
}

/* تنسيق الوصف الرئيسي */
.news-detail .description {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: right; /* محاذاة النص إلى اليمين */
    white-space: pre-wrap; /* الحفاظ على المسافات والفقرات */
}

/* تنسيق نصوص المحتوى */
.news-detail p {
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    text-align: right; /* تغيير المحاذاة إلى اليمين */
}



/* تنسيق العناوين الفرعية */
.news-detail h2 {
	font-size: 24px;
	color: #2B3347;
	margin-top: 30px;
	margin-bottom: 15px;
	padding-bottom: 25px;
	text-align: center;
}

/* تنسيق الخط السفلي الخاص بالعناوين */
.news-detail h1, .news-detail h2 {
	position: relative;
	font-size: 20px;
	color: #fff;
	margin-top: 30px;
	margin-bottom: 10px;
	padding-bottom: 1px;
}

.news-detail h1::after, .news-detail h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	opacity: 0;
	transform: scaleX(0);
	animation: slide 1s forwards;
}


/* تنسيق صورة تفاصيل الخبر */
.news-detail img {
    width: 100vw; /* عرض الصورة يساوي عرض viewport */
    margin-left: calc(-50vw + 50%); /* توسيع الصورة لتمتد من الحافة اليسرى إلى الحافة اليمنى */
    margin-right: calc(-50vw + 50%); /* توسيع الصورة لتمتد من الحافة اليسرى إلى الحافة اليمنى */
    display: block; /* لجعل الصورة تتصرف كعنصر block */
    max-width: none; /* إلغاء أي قيود على العرض الأقصى */
    height: auto; /* الحفاظ على نسبة العرض إلى الارتفاع */
    object-fit: cover; /* تغطية المساحة المحددة دون تشويه */
    border-bottom: 5px solid #4B5563; /* إضافة حد سفلي */
    margin-bottom: 20px; /* تباعد سفلي */
}

/* تنسيق خاص للشاشات الكبيرة */
@media screen and (min-width: 1200px) {
    .news-detail img {
        width: 100%; /* عرض الصورة بنسبة 100% من العنصر الأب */
        margin-left: 0; /* إعادة تعيين الهوامش */
        margin-right: 0; /* إعادة تعيين الهوامش */
    }
}

/* تنسيق الفواصل بين العناصر */
.separator {
	position: relative;
	margin: 20px 0;
	height: 10px;
}


.separator::before, .separator::after {
	content: '';
	position: absolute;
	top: 0;
	width: 20%;
	height: 100%;
	background-color: #4B5563;
	opacity: 0;
	transform: scaleX(0);
	animation: slide 1s forwards;
}

/* تنسيق الفواصل بين العناصر */
.separator::before {
	left: 0;
}

.separator::after {
	right: 0;
}

/* تنسيق معلومات الخبر مثل التاريخ أو الكاتب */
.meta {
	text-align: center;
}

/* تنسيق معلومات الخبر (Meta) */
.meta {
	font-size: 10px;
	color: #A9B2BF;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 15px;
	padding: 15px 20px;
	margin: 30px auto;
	border: 1px solid #4B5563;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	max-width: 800px;
	transition: all 0.3s ease;
}

.meta:hover {
	background-color: #2B3347;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
	border-color: #2B3347;
}

/* تنسيق العناصر الفردية في meta */
.meta-info {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 10px;
}

.meta-item {
	margin-right: 20px;
	font-weight: bold;
}

.meta-item strong {
	color: #fff;
	font-size: 10px;
}

/* تأثير عند تمرير الفأرة */
.meta:hover {
	background-color: #2B3347;
	transition: all 0.3s ease-in-out;
}

/* الكود الجديد للشاشات الصغيرة (مثل Galaxy S6) */
@media (max-width: 360px) {
	.meta {
		font-size: 8px; /* تقليل حجم الخط */
		padding: 10px 15px; /* تقليل الـ Padding */
		gap: 10px; /* تقليل المسافة بين العناصر */
		margin: 20px auto; /* تقليل الهامش */
		border-radius: 8px; /* تقليل نصف قطر الزوايا */
		max-width: 90%; /* جعل العرض يتناسب مع الشاشات الصغيرة */
	}

	.meta-info {
		gap: 5px; /* تقليل المسافة بين العناصر */
	}

	.meta-item {
		margin-right: 10px; /* تقليل الهامش الأيمن */
	}

	.meta-item strong {
		font-size: 8px; /* تقليل حجم الخط */
	}
}

/* تنسيق نصوص المحتوى */
.news-detail p {
	font-size: 16px; /* تعديل الحجم ليناسب القراءة */
	color: #fff;
	margin-bottom: 20px;
	text-align: right; /* محاذاة النص إلى اليمين */
}


/* تنسيق العناوين الفرعية */
.news-detail h2 {
	font-size: 24px;
	color: #fff;
	margin-top: 30px;
	margin-bottom: 15px;
	border-bottom: 2px solid #A9B2BF;
	padding-bottom: 5px;
}

/* تنسيق الروابط */
.news-detail a {
	color: #fff;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.news-detail a:hover {
	color: #0056b3;
}

/* تنسيق أزرار التنقل */
.back-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #2B3347;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.back-button:hover {
	background-color: #0056b3;
	transform: scale(1.05);
}



@keyframes slide {
	0% {
		opacity: 0;
		transform: scaleX(0);
	}

	100% {
		opacity: 1;
		transform: scaleX(1);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}
/* إضافة وسائط لزيادة التفاعل مع الشاشات الكبيرة */
@media screen and (min-width: 1024px) {
	.news-detail {
		max-width: 1000px; /* زيادة العرض في الشاشات الكبيرة */
		padding: 40px;
	}
	.news-detail img {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	.news-detail h1, .news-detail h2 {
		font-size: 28px; /* زيادة حجم العناوين على الشاشات الكبيرة */
	}
	.news-detail p {
		font-size: 18px; /* زيادة حجم النصوص */
	}
	.meta {
		font-size: 12px; /* تعديل حجم الخط في معلومات الخبر */
	}
}



/* تنسيق زر التبديل للقائمة وزر الإغلاق */
.menu-toggle, .close-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 24px;
	cursor: pointer;
	color: #fff;
}

/* تصميم زر الرجوع */
.back-button {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #4B5563;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
	border: none;
	border-radius: 1px 10px 1px 10px;
	padding: 3px 3px;
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	position: relative;
	transition: transform 0.5s ease, opacity 0.5s ease;
}

.back-button i {
	margin-right: 10px;
	font-size: 25px;
}

.back-button:hover {
	background-color: #4B5563;
}

/* تعطيل التمرير عند ظهور نافذة البحث */
body.no-scroll {
	position: fixed;
	overflow: hidden;
	width: 100%;
}

/* أيقونة البحث */
.search-icon {
	cursor: pointer;
	font-size: 20px;
	color: #fff;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.search-icon:hover {
	transform: translateY(-50%) scale(1.1);
}

/* خلفية نافذة البحث */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(53, 61, 80, 0.9); /* زيادة الشفافية */
	z-index: 1000;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease-in-out;
	backdrop-filter: blur(5px); /* تأثير ضبابي للخلفية */
}

/* عند فتح نافذة البحث */
.search-overlay.show {
	opacity: 1;
	pointer-events: auto;
}

/* حاوية البحث */
.search-container {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 20px;
	border-radius: 15px;
	width: 95%;
	max-width: 500px;
	position: relative;
	margin-top: 100px;
	background-color: rgba(43, 51, 71, 0.9); /* لون خلفية الحاوية */
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* تأثير ظل */
	border: 1px solid rgba(255, 255, 255, 0.1); /* حدود خفيفة */
}

/* حقل إدخال النص */
#searchInput {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px;
	font-size: 16px;
	background-color: rgba(0, 0, 0, 0.3);
	color: #fff;
	border-radius: 8px;
	transition: background-color 0.3s ease-in-out;
}

#searchInput:focus {
	background-color: rgba(0, 0, 0, 0.5); /* تغيير الخلفية عند التركيز */
}

/* زر البحث */
#searchButton {
	background: #2B3347;
	color: #fff;
	border: none;
	padding: 10px 10px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

#searchButton:hover {

	transform: scale(1.05); /* تأثير تكبير بسيط */
}

/* زر الإغلاق */
.close-btn {
	background: transparent;
	border: none;
		padding: 10px 10px;
	border-radius: 8px;
	font-size: 20px;
	color: #fff;
	cursor: pointer;
	transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.close-btn:hover {
	transform: scale(1.1); /* تأثير تكبير بسيط */
}
/* تنسيق صورة الشعار في الهيدر */
.header-logo {
	width: 170px;
	height: auto;
	object-fit: contain;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	z-index: 1002;
}

/* تعطيل التحريك */
.header-logo.no-hover {
	pointer-events: none;
	transition: none;
}


/* زر تحميل المزيد */
.load-more-button {
	display: block;
	width: 220%;
	max-width: 360px;
	padding: 15px 20px;
	color: #fff;
	font-size: 18px;
	text-decoration: none;
	margin: 15px auto;
	text-align: center;
	border-radius: 5px;
	background-color: transparent;
	transition: all 0.4s ease;
	border: 1px solid #4B5563;
}

.load-more-button:hover {
	background-color: rgba(75, 85, 99, 0.1);
	color: #4B5563;
	transform: scale(1.05);
}

.load-more-button:focus {
	outline: none;
}

.load-more-button:active {
	transform: scale(1);
}



.share-button-container {
  text-align: right; /* محاذاة الزر لليمين */
}

.share-button {
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.3s ease;
}

.share-button:hover {
  transform: scale(1.1);
}

.share-button i {
  color: #4B5563;
}

.social-share-container {
  text-align: center; /* محاذاة الأيقونات في الوسط */
  margin: 20px 0;
}

.social-share-button {
  background-color: transparent;
  border: none;
  font-size: 24px;
  color: #4B5563;
  margin: 0 15px; /* المسافة بين الأيقونات */
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-share-button:hover {
  color: #4B5563;
}

.social-share-button i {
  font-size:20px; /* تكبير الأيقونات */
}

.share-social-container {
  display: flex; /* وضع الأيقونات والزر في سطر واحد */
  justify-content: center; /* محاذاة كل العناصر في الوسط */
  align-items: center; /* محاذاة العناصر عموديًا */
  gap: 20px; /* المسافة بين الأيقونات */
  margin-bottom: 20px; /* إضافة مسافة أسفل الحاوية */
}

.share-button {
  background-color: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.share-button:hover {
  transform: scale(1.1);
}

.share-button i {
  color: #fff;
}

.social-share-button {
  background-color: transparent;
  border: none;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-share-button:hover {
  color: #fff;
}

.social-share-button i {
  font-size: 30px; /* تكبير الأيقونات */
}

/* تنسيق العناوين */
h3 {
	font-size: 18px;
	margin-bottom: 30px;
	margin-top: 80px;
	font-weight: bold;
	text-align: right;
	letter-spacing: 1px;
}

/* حاوية الأخبار ذات الصلة */
#relatedNewsContainer {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: center;
	padding: 1px;
	border-radius: 15px;
}

/* تصميم العناصر الفردية في الأخبار ذات الصلة */
.related-news-item {
	display: flex;
	flex-direction: column-reverse;
	width: 100%;
	max-width: 600px;
	background-color: #2B3347;
	border-radius: 15px;
	overflow: hidden;
	cursor: pointer;
	margin-bottom: 25px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* تصميم الصورة داخل العناصر الفردية */
.related-news-image-wrapper {
	width: 100%;
	height: 220px;
	overflow: hidden;
	position: relative;
}
/* Reset default styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Tajawal', sans-serif;
}

/* Related News Image */
.related-news-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
 /* تكبير الصورة عند التمرير */
	;
}

/* تصميم النصوص */
.related-news-text {
	padding: 20px;
	text-align: right;
 /* محاذاة النص من اليمين */
	background-color: #2B3347;
	border-top: 1px solid #fff;
}

.related-news-text h4 {
	font-size: 18px;
	color: #fff;
	margin-bottom: 15px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.8px;
 /* زيادة التباعد بين الحروف */
	;
}

.related-news-text p {
	font-size: 14px;
	color: #ccc;
	line-height: 1.8;
	margin-bottom: 20px;
}

/* تغيير اللون عند التمرير */
.related-news-item:hover .related-news-text h4,
.related-news-item:hover .related-news-text p {
	color: #4B5563;
}

/* Report Container */
.report-container {
	max-width: 1100px;
	margin: 0 auto;
	background-color: white;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Report Title */
.report-container h1 {
	font-size: 32px;
	font-weight: bold;
	color: #2B3347;
	margin-bottom: 20px;
	text-align: center;
}

/* Report Introduction */
.report-container p.intro {
	font-size: 18px;
	color: #555;
	margin-bottom: 30px;
	text-align: justify;
}

/* Table Styles for Report */
.report-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 40px;
}

.report-table th,
.report-table td {
	border: 1px solid #ddd;
	padding: 12px 15px;
	text-align: right;
}

.report-table th {
	background-color: #4B5D6B;
	color: white;
	font-weight: bold;
}

.report-table td {
	background-color: #fafafa;
}

.report-table tr:nth-child(even) td {
	background-color: #f1f1f1;
}

.report-table td strong {
	color: #2B3347;
}

/* Data and Financial Information Section */
.data-section {
	display: flex;
	justify-content: space-between;
	margin-bottom: 30px;
}

.data-section .section-title {
	font-size: 24px;
	font-weight: bold;
	color: #2B3347;
	flex: 1;
}

.data-section .data {
	flex: 2;
	font-size: 18px;
	color: #333;
}

/* Financial Figures Styling */
.financial-figures {
	background-color: #e7f1f9;
	padding: 20px;
	border-radius: 8px;
	margin-top: 30px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.financial-figures h2 {
	font-size: 28px;
	font-weight: bold;
	color: #2B3347;
	margin-bottom: 15px;
	text-align: center;
}

.financial-figures p {
	font-size: 18px;
	color: #333;
	margin-bottom: 10px;
}

/* Report Footer */
.report-footer {
	margin-top: 40px;
	text-align: center;
	font-size: 14px;
	color: #777;
}

/* Button for download or more actions */
.report-footer .btn {
	background-color: #2B3347;
	color: white;
	padding: 12px 20px;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.report-footer .btn:hover {
	background-color: #4B5D6B;
}

/* Mobile View */
@media (max-width: 768px) {
	.report-container {
		padding: 20px;
	}

	.report-table th, .report-table td {
		padding: 10px;
	}

	.data-section {
		flex-direction: column;
		align-items: flex-start;
	}

	.data-section .section-title {
		margin-bottom: 10px;
	}
}


.video-container {
    width: 100%;
    max-width: 800px; /* يمكنك تعديل العرض الأقصى حسب الحاجة */
    margin: 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #000; /* خلفية سوداء للفيديو */
    aspect-ratio: var(--aspect-ratio, 16 / 9); /* نسبة العرض إلى الارتفاع الافتراضية */
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* لجعل الفيديو يملأ الحاوية دون تشويه */
}

/* تنسيق بسيط لقائمة التنقل */
#navContainer {
  width: 100%;
  background: linear-gradient(135deg, #2B3347, #2B3347);
  border-bottom: 3px solid #4B5563;
  transition: all 0.3s ease;
}

#navContainer.sticky {
  position: fixed;
  top: 0;
  z-index: 1000;
}

#navPlaceholder {
  height: 60px; /* ارتفاع مساوٍ لارتفاع القائمة */
  display: none; /* مخفي بشكل افتراضي */
}

body.sticky-body {
  padding-top: 60px; /* مساحة إضافية لتجنب التداخل */
}

#navScroll {
  display: flex;
  overflow-x: auto;
  padding: 10px;
  scroll-behavior: smooth;
}

.navButton {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 10px 20px;
  margin-right: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navButton:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.navButton:active {
  transform: scale(0.95);
}

#navScroll::-webkit-scrollbar {
  height: 8px;
}

#navScroll::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

#navScroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.5);
}