/*
Theme Name: Taqafya
Theme URI: http://taqafya.com
Description: قالب مجلة فسحة ثقافية
Version: 1.0
Author: Fadri Abdelaadim
Author URI: https://www.facebook.com/profile.php?id=61558070585249
*/


h1 {
    font-size: 24px;
    color: #08172F;
}
form {
    margin-top: 20px;
}
input[type="text"] {
	padding: 10px 10px;
	margin-bottom: 10px;
	border: 1px solid #e1e1e1;
	border-radius: 8px;
	margin-top: 10px;
	width: 100%;
	max-width: 70%;
	font: normal normal 14px/1.4 'DroidArabicKufi-Regular',sans-serif,Arial;
	height: 50px;
}


/* إعدادات عامة */
body {
font: normal normal 1rem/1.4 'DroidArabicKufi-Regular',sans-serif,Arial;
    font-weight: normal;

    line-height: 1.4;
    color: #08172F;

    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
a {
	text-decoration: none;
	color: #162437;
}
a:hover {
	text-decoration: none;
	color: #050B1E;
}
blockquote {
	font-style: italic;
	color: #333;
	border-right: 4px solid #162437;
	margin: 20px 0;
	padding: 10px 25px;
	position: relative;
	direction: rtl;
	text-align: right;
}
blockquote::before {
    content: "“"; /* علامة الاقتباس الافتتاحية */
    font-size: 2em;
    color: #162437; /* لون علامة الاقتباس */
    position: absolute;
    right: 10px; /* بالنسبة لـ RTL، العلامة تظهر من اليمين */
    top: 0;
}

blockquote::after {
    content: "”"; /* علامة الاقتباس الختامية */
    font-size: 2em;
    color: #162437; /* لون علامة الاقتباس */
    position: absolute;
    left: 10px; /* العلامة الختامية في جهة اليسار */
    bottom: -10px;
}

dl, ol, ul {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem; /* إضافة مسافة من اليسار للنصوص داخل القوائم */
}

ol, ul {
    box-sizing: border-box;
}

ol {
    list-style-type: decimal; /* تنسيق الأرقام في القوائم المرتبة */
}

ul {
    list-style-type: disc; /* تنسيق النقاط في القوائم غير المرتبة */
}

ul ul, ol ul, ul ol, ol ol {
    margin-top: 0.5rem; /* مسافة بين القوائم المتداخلة */
    margin-left: 1rem; /* تنسيق الإزاحة للقوائم المتداخلة */
    list-style-type: circle; /* تغيير نمط النقاط في القوائم الفرعية */
}
@font-face {
    font-family: 'DroidArabicKufi-Regular';
    src: url('fonts/DroidArabicKufi-Regular.woff2') format('woff2'), /* استخدم صيغة woff2 إذا كانت متوفرة */
         url('fonts/DroidArabicKufi-Regular.woff') format('woff'),   /* استخدم صيغة woff كنسخة احتياطية */
    font-weight: normal;
    font-style: normal;
}

.fa-solid, .fas {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	color: #fff;
	font-size: 26px;
}

.iconf {
    float: right;
    width: 40px;
    height: 40px;
    background-image: url('./img/iconf.png');
    background-position: center center;
    background-size: 80%;
    margin-left: 0px !important;
    background-repeat: no-repeat;
    margin: 0;
}
/* تطبيق الخط على العناصر المطلوبة */

/* تنسيق الهيدر */
.site-header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
	background: #162437;
	padding: 5px 0;
	transition: background-color 0.2s ease, padding 0.2s ease;
}
.site-header.scrolled {
	background-color: #162437;
	padding: 0;
	border-bottom: 5px solid #0F1D30;
}
.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 20px;
}

/* تنسيق الشعار */
.logo {
	display: inline-block;
	margin: 0;
	margin-left: 10px;
}

.logo img {
	max-width: 110px !important;
	height: auto;
	transition: transform 0.3s ease;
}
.logo:hover img {
    transform: scale(1.05); /* تأثير تكبير عند التمرير */
}


/* تنسيق قائمة التنقل */
.main-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 84%;
    max-width: 100%;
}

.main-menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.main-menu li {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    float: right;
}

.main-menu li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 14px;
}

/* تأثير هوفر على الرابط */
.main-menu li a:hover {
    background-color: #FFB800;
    color: #1C2B43;
    border-radius: 0px;
}

/* العنصر النشط */
.main-menu li.current-menu-item a {
	background-color: #FFB800;
	color: #1C2B43;
	border-radius: 4px;
}
.main-menu li > .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 200px;
	background: #162437;
	margin-top: 10px;
}

/* إظهار القوائم الفرعية عند التمرير فوق العنصر الأب */
.main-menu li:hover > .sub-menu {
    display: block; /* إظهار القوائم الفرعية */
    opacity: 1;
}

/* تنسيق العناصر داخل القوائم الفرعية */
.main-menu li .sub-menu li {
    display: block;
}

.main-menu li .sub-menu li a {
	color: #fff;
	padding: 10px;
	font-size: 14px;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
	float: right;
	width: 100%;
}

.main-menu li .sub-menu li a:hover {
    background-color: #FFB800;
    color: #1C2B43;
    border-radius: 0px;
}

/* قائمة منسدلة للشاشات الصغيرة */
.toggle-menu {
    display: none;
    background-color: #FFB800;
    color: #1C2B43;
    padding: 2px 10px;
    font-size: 26px;
    cursor: pointer;
    border: none;
    border-radius: 0px;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 30px;
    font-weight: bold;
    top: 20px;
}

.toggle-menu:hover {
    background-color: #1C2B43;
    color: #FFB800;
}


/* تنسيق المحتوى الرئيسي */
.site-content {
	padding: 20px;
	max-width: 1200px;
	margin: 0 auto;
	background: #fff;
	margin-top: 82px;
	overflow: hidden;
}
/* الطبقة الشفافة */
.overlay {
    display: none; /* الطبقة الشفافة مخفية افتراضيًا */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* لون الشفافية */
    z-index: 9998;
}

/* مربع البحث */
.search-box {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	padding: 20px 40px 40px 40px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	width: 80%;
	max-width: 500px;
	opacity: 0;
	transition: opacity 0.3s ease;
	border-radius: 8px;
}
.close-icon {
	position: absolute;
	top: 5px;
	right: 0px;
	cursor: pointer;
	color: #fff;
	font-size: 12px;
	margin-right: 10px;
	margin-top: 5px;
	padding: 4px 8px;
	background: #08172F;
	border-radius: 30px;
	font-weight: bold;
}
/* إظهار مربع البحث عند الضغط على أيقونة البحث */
.search-box.show {
    opacity: 1;
}

/* تنسيق زر الإغلاق */
.search-button {
	cursor: pointer;
	background-color: #1C2B43;
	color: white;
	padding: 13px 40px;
	border: none;
	border-radius: 8px;
	font-family: 'DroidArabicKufi-Regular', sans-serif, Arial;
	font-weight: bold;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.search-button:hover {
    background-color: #FFB800;
    color: #1C2B43;
}
.slidehomeControls .carousel {
	position: relative;
	float: right;
	width: 100%;
	overflow: hidden;
	margin-bottom: 0px;
	height: 100%;
	max-height: 100%;
	height: 375px;
}
.thumbnailCarousel .col-lg-2 {
	flex: 0 0 auto;
	width: 25%;
}
.slidehomeControls .carousel .carousel-item {
    height: 375px;
}

.slidehomeControls .carousel .carousel-item a {
	float: right;
	width: 100%;
	text-decoration: none;
	overflow: hidden;
	height: 100%;
}
.slidehomeControls .carousel .carousel-item a img {
	float: right;
	width: 100%;
	height: 375px;
}
.slidehomeControls .carousel .carousel-item .carousel-caption {
	background: #1C2B43B8;
	padding: 10px;
	width: unset;
}
.slidehomeControls .carousel .carousel-item .carousel-caption h5 {
	color: #FEB800;
	font-weight: bold;
}
.slidehomeControls .carousel .carousel-item .carousel-caption .category-name {
	background: #FEB800C4;
	float: right;
	padding: 10px 20px;
	color: #1C2B43;
	position: absolute;
	top: -46px;
	right: 0;
	font-weight: bold;
	font-size: 16px;
	border-radius: 0;
}
.slidehomeControls .carousel .carousel-item .carousel-caption p {
	font-size: 16px;
	font-weight: bold;
	line-height: 26px;
	color: #fff;
   text-decoration: none;
}

/* تأثير الزوم عند التمرير على الصورة */
.slidehomeControls .carousel-item img {
    transition: transform 0.5s ease; /* تحديد سرعة التأثير */
}
.slidehomeControls .carousel-caption {
    background: rgba(28, 43, 67, 0.7);
    padding: 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: #fff;
}

.slidehomeControls .carousel-caption h5 {
    color: #FEB800;
    font-weight: bold;
}
.slidehomeControls .carousel-caption p {
    font-size: 16px;
    font-weight: bold;
    line-height: 26px;
    color: #fff;
}

.slidehomeControls .carousel-item img:hover {
    transform: scale(1.1); /* تكبير الصورة عند التمرير */
}

/* تأثير الزوم على الصور في الشريحة اليمنى */
.slidehomeControls .small-image-container img {
    transition: transform 0.5s ease;
}

.slidehomeControls .small-image-container img:hover {
    transform: scale(1.1); /* تكبير الصورة عند التمرير */
}
.leftslideshow .category-name {
	font-weight: bold;
	font-size: 16px;
}
.leftslideshow .category-name {

}

.leftslideshow .post-categories {
	float: right;
	position: absolute;
	background: #FEB800C4;
	padding: 10px 20px;
	border-radius: 0;
}
.leftslideshow .small-image-container {
	overflow: hidden;
}
.leftslideshow .small-image-container a {
	float: right;
	width: 100%;

}
.leftslideshow .small-image-container a .img-fluid {
	width: 100%;
	height: 180px;
	float: right;
}
/* تأثير الزوم عند التمرير على الصورة */
.leftslideshow .carousel-item img {
    transition: transform 0.5s ease; /* تحديد سرعة التأثير */
}

.leftslideshow .carousel-item img:hover {
    transform: scale(1.1); /* تكبير الصورة عند التمرير */
}

/* تأثير الزوم على الصور في الشريحة اليمنى */
.leftslideshow .small-image-container {
    position: relative;
    overflow: hidden;
}

.leftslideshow .small-image-container img {
	transition: transform 0.5s ease;
	height: 180px;
	width: 100%;
}
.leftslideshow .small-image-container img:hover {
    transform: scale(1.1); /* تكبير الصورة عند التمرير */
}

/* إخفاء العنوان عند التمرير على الصورة */
.leftslideshow .small-image-container:hover h6 {
    opacity: 0; /* إخفاء العنوان عند التمرير */
}

.leftslideshow .small-image-container h6 {
	position: absolute;
	bottom: 0;
	width: 100%;
	background-color: #1C2B43B8;
	padding: 10px;
	transition: opacity 0.3s ease;
	margin: 0;
	font-size: 16px;
	font-weight: bold;
	height: 40px;
	line-height: 30px;
}
/* إخفاء العنوان عند التمرير فقط إذا كان فوق الصورة */
.leftslideshow .small-image-container:hover h6 {
    opacity: 1; /* يظهر العنوان عند التمرير */
}
.slidehomeControls .carousel .carousel-item a img,
.leftslideshow .small-image-container a .img-fluid {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.slidehomeControls .carousel-control-prev-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
	background-color: #1C2B43;
	opacity: 0.7;
}
.slidehomeControls .carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
		background-color: #1C2B43;
	opacity: 0.7;
}
.slidehomeControls .carousel-control-prev {
	left: 0;
	opacity: 1;
}
.slidehomeControls .carousel-control-next {
	right: 0;
	opacity: 1;
}
.thumbnailCarousel .carousel-inner {
   
}
.slidehomeControls .carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 375px;
}
.slidehomeControls {
	padding-left: 5px;
	height: 100%;
	overflow: hidden;
	height: 375px;
}
.leftslideshow .my-2 {
	margin-top: 0px !important;
	height: 180px;
	overflow: hidden;
	margin-bottom: 14px !important;
	float: right;
	width: 100%;
}
.thumbnailCarousel .col-2 {
      max-width: 16.66%;  /* تعيين الأعمدة على 6 في الشريحة */
        flex: 0 0 16.66%;
	padding: 0 10px;
}
.thumbnailCarousel {
	padding: 0px 50px 20px 50px;
	overflow: hidden;
	margin-top: 5px;
}
.thumbnailCarousel .carousel-control-prev {
	left: -50px;
	opacity: 1;
	max-width: 40px;
	background: #1C2B43;
	border-radius: 0;
}
.thumbnailCarousel .carousel-control-next {
	right: -50px;
	opacity: 1;
	max-width: 40px;
	background: #1C2B43;
	border-radius: 0;
}
.thumbnailCarousel .carousel-control-prev-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
	background-color: #1C2B43;
}

.thumbnailCarousel .carousel-control-next-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
	background-color: #1C2B43;
}
.thumbnailCarousel .carousel-image-container {
	position: relative;
	overflow: hidden;
	border-radius: 0;
}


.thumbnailCarousel .carousel-caption {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, #1C2B43 0%, transparent 100%);
	color: white;
	padding: 10px;
	text-align: center;
	width: 100%;
}

.thumbnailCarousel .carousel-image-container img {
    width: 100%;
    transition: transform 0.3s ease-in-out; /* إضافة تأثير التحريك عند التمرير */
}

.thumbnailCarousel .carousel-image-container:hover img {
    transform: scale(1.1); /* تكبير الصورة عند التمرير */
}

.thumbnailCarousel .carousel-link {
    display: block;
    text-decoration: none;
}

.thumbnailCarousel .carousel-caption h5 {
	margin: 0;
	font-size: 16px;
	line-height: 26px;
	font-weight: bold;
}
.thumbnailCarousel .row {
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: unset;
}

/* تنسيق أيقونة البحث */
.search-icon {
	cursor: pointer;
	color: #08172f;
	background: #ffb800;
	padding: 0;
	font-size: 10px;
	float: left;
	border-radius: 4px;
	height: 40px;
	width: 40px;
	text-align: center;
	line-height: 40px;
}
.search-icon i {
	font-size: 20px;
	color: #162437;
}
.search-icon:hover{
opacity: 0.8;
}
.site-footer {
	background-color: #1C2B43;
	color: #fff;
	padding: 20px 0 0px 0;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-navs {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.footer-nav {
    flex: 1;
    padding: 10px;
    margin-bottom: 20px;
}

.footer-nav h3 {
	font-size: 16px;
	color: #fff;
	margin-bottom: 10px;
	border-bottom: 1px solid #08172F;
	padding-bottom: 20px;
	padding-right: 10px;
	font-weight: bold;
}
.footer-nav ul {
    list-style: square;
    padding: 0;
}
.footer-nav ul li {
	padding: 0;
	margin-right: 20px;
	line-height: 30px;
	font-size: 14px;
}
.footer-nav a {
	color: #fff;
	text-decoration: none;
	transition: none;
	float: right;
	width: 100%;
}

.footer-nav a .logo {
	float: right;
	width: 100%;
}
.footer-nav-1 img {
	width: 80px !important;
}
.footer-nav-1 .text {
	float: right;
	width: 100%;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #fff;
}
.footer-nav a:hover {
    text-decoration: underline;
	color: #ddd;
}

.footer-copyright {
	font-size: 14px;
	color: #fff;
	text-align: center;
	padding: 0;
	width: 100%;
	border-top: 1px solid #08172F;
	padding-top: 15px;
	padding-bottom: 15px;
}

/* الكود الخاص بالقسم الذي يحتوي على كافة العناصر */
.postcat-2 .main-topic img {
    width: 100% ; /* الصورة الرئيسية في الموضوع الكبير */
}

.postcat-2 .main-topic h5 {
    margin-top: 10px;
    font-size: 1.25rem;
}

.postcat-2 .small-topics .d-flex img.small-image {
	flex: 0 0 30%;
	width: 80px;
	border: none;
	border-radius: 0px;
	background: none;
}

.postcat-2 .small-topics .d-flex h6 {
	margin-top: 5px;
	font-size: 1rem;
	margin-right: 5px;
}
.postcat-2 .small-topics .d-flex {

    padding-bottom: 10px;
    margin-bottom: 10px;
}


.postcat-2 .multi-topic-section .d-flex {
	border-bottom: 1px solid #ccc;
	padding: 0;
	margin: 0px ;
}
.postcat-2 .multi-topic-section .mb-3 {
	margin: 0px !important;
	float: right;
	width: 100%;
}
.postcat-2 .multi-topic-section .d-flex a {
color: #08172F;
}
.postcat-2 .multi-topic-section .d-flex:last-child {
	border-bottom: none;
	margin: 0;
	width: 100%;
	padding: 0;
}
.postcat-2 .small-topics .mb-3 {
	margin: 0 ;
}
.postcat-2 .multi-topic-section .small-topic-text {
		margin: 0 ;

}
.postcat-2 .single-topic-section {
	padding: 0;
	padding-left: 10px;
}
/* فئة للقسم الذي يحتوي على 3 مواضيع */
.postcat-2 .multi-topic-section {
	padding: 0;
	padding-right: 10px;
	border-right: 1px solid #ccc;
}
.postcat-2 .postcat-box1 {

    padding-bottom: 10px;
}
.postcat-2 .single-topic-section .mb-4 {
	margin: 0 ;
}
.postcat-2 .single-topic-section .mb-4 a {
	margin: 0 ;
}

.postcat-2 .single-topic-section .mb-4 a h5 {
	margin: 0 ;
	color: #08172F;
}
.postcat-2 .single-topic-section .mb-4 p {
	margin: 0 ;
	margin-top: 10px ;
	border-top: 1px solid #ccc;
	padding-top: 10px;
}
.postcat-2 .img-thumbnail {
	padding: 0;
	border: 0;
	margin: 0px;
	max-width: 80px;
	border-radius: 0px;
	margin-left: 10px;
	margin-bottom: 10px;
	margin-top: 10px;
	float: right;
}
.postcat-2 .category-title {
	padding: 0;
	margin: 0;
	border-bottom: 8px solid #1C2B43;
	padding-bottom: 10px;
	font-weight: bold;
	color: #1C2B43;
}
.postcat-2  {
    width: 100%;
}


.box6post {
	width: 100%;
	margin-top: 20px;
}

.box6post  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 أعمدة متساوية */
    gap: 10px; /* مسافة بين الأعمدة */
    grid-template-rows: auto auto; /* صفين */
}

/* تنسيق الحاوية التي تحتوي على المواضيع */
.box6post .grid-container {

}

.box6post .post-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom: 1px solid #ccc;
}

/* إزالة البوردر من المقالات 4 و 5 و 6 */
.box6post .grid-container .post-item:nth-child(4),
.box6post .grid-container .post-item:nth-child(5),
.box6post .grid-container .post-item:nth-child(6) {
    border-bottom: none;
}
/* تنسيق السطر الذي يحتوي على المقالين */
.box6post .post-row {

}

/* إضافة حدود تحت المقال الأول في كل صف */
.box6post .border-bottom {

}
.box6post .post-image img {
	object-fit: cover;
	border: none;
	padding: 0;
	border-radius: 0px;
}
.box6post .category-title {
	padding: 0;
	margin: 0;
	border-bottom: 8px solid #1C2B43;
	padding-bottom: 20px;
	font-weight: bold;
	color: #1C2B43;
	margin-bottom: 20px;
	font-size: 1.5rem;
}
.box6post .post-title h6 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}
.box6post .post-title h6 a {
	font-size: 16px;
	color: #08172F;
	text-decoration: none;
	font-weight: normal;
}
.box6post .d-flex {
	display: flex;
	width: 100%;
}
.box6post .post-image {
	width: 100%;
	height: auto;
	margin-left: 10px;
	max-width: 80px;
	margin-bottom: 10px;
}
.box6post .post-image a {
	float: right;
	width: 100%;
	height: auto;
}
.box6post .post-image a img {
	width: 80px;
	height: 80px;
}
.box6post .post-title {


}


.postcat-2 .my-4 {
	margin-top: 1.5rem ;
	margin-bottom: 1.5rem ;
	margin-left:0px ;
}

.main-content {

}
.postcat-2 .my-4 {
	margin-top: 1.5rem ;
	margin-bottom: 1.5rem ;
}
.postcat-2 {
	margin-left: 0;

	margin-right: 0;
	margin-top: 0px !important;
	padding: 0px 0px;
}
.postcat-2 .col-6 {
	flex: 1;
	max-width: 50%;
	margin-left: 0px ;
	margin-right: 0px ;
}
.postcat-2 .mx-4left {

}
.postcat-2 .mx-4 {
	/* margin: 0px !important; */
	padding: 0px;
}
.postcat-2 .mx-4right {
	margin: 0px;
}
/* تنسيق قسم الفيديوهات */
.boxvideohome {
    width: 100%;
    padding: 0;
    background-color: #fff;
    border-radius: 0;
    margin-bottom: 10px;
    margin-top: 20px;
}

.boxvideohome .section-title {
    font-weight: bold;
    color: #1C2B43;
    border-bottom: 8px solid #1C2B43;
    padding-bottom: 20px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.boxvideohome .video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 أعمدة */
    gap: 20px; /* المسافة بين الأعمدة */
}

.boxvideohome .video-item {
    text-align: center;
}

.boxvideohome .video-image {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    overflow: hidden; /* لإخفاء أي جزء يتجاوز حدود الصورة */
    transition: transform 0.3s ease-in-out; /* تأثير التحريك */
    height: 180px; /* تحديد ارتفاع ثابت للصورة */
}

.boxvideohome .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease-in-out;
}

.boxvideohome .video-image:hover .video-thumbnail {
    transform: scale(1.05);
}


.boxvideohome .video-image:hover .play-icon {
    background-color: transparent; /* تعديل لون الخلفية مع تأثير التعتيم */
    transform: translate(-50%, -50%) scale(1.2); /* تكبير الأيقونة */
}

.boxvideohome .play-icon {
	position: absolute;
	top: 44%;
	left: 52%;
	transform: translate(-50%, -50%);
	font-size: 22px;
	color: #feb800;
	background-color: transparent;
	padding: 10px;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	transition: transform 0.3s ease-in-out;
	opacity: 0.9;
}
.boxvideohome .play-icon i {
	font-size: 40px;
	color: #FFB800;
}
.boxvideohome .video-title h6 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-top: 10px;
}
.boxvideohome .video-title h6 a {
    text-decoration: none;
    color: #08172F;
    font-weight: normal;
}
/* الهيكل الأساسي */
.boxcatpost3 {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
	margin-top: 20px;
}
.boxcatpost3 .category-title {
	font-weight: bold;
	color: #1C2B43;
	border-bottom: 8px solid #1C2B43;
	padding-bottom: 10px;
	margin-bottom: 10px;
	font-size: 1.5rem;
}


.boxcatpost3 .layout {
	display: flex;
	flex-direction: column;
	width: calc(33.333% - 15px);
	gap: 10px;
	padding: 0;
	background: #fff;
}
.boxcatpost3 .layout:nth-child(1), .boxcatpost3 .layout:nth-child(2) {
	border-left: none;
	padding-left: 0;
}

.boxcatpost3 .large-post a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.boxcatpost3 .large-post img {
    width: 100%;
    height: auto;
    border-radius: 0;
}
.boxcatpost3 .large-post h2 {
	font-size: 1.25rem;
	margin-top: 10px;
}

.boxcatpost3 .small-posts {
    display: flex;
    flex-direction: column; /* ترتيب المواضيع الصغيرة عموديًا */
    gap: 10px;
}

.boxcatpost3 .small-post {
	display: flex;
	align-items: center;
	gap: 15px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
}
.boxcatpost3 .small-post a {
	width: 100%;
	margin-bottom: 0;
	display: flex;
}
.large-post {
	margin-bottom: 20px;
}
.boxcatpost3 .small-post img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 0;
	float: right;
	margin-bottom: 10px;
	margin-left: 10px;
}
.boxcatpost3 .small-post:last-child {
    border-bottom: none; /* إزالة البوردر عن آخر مقال صغير */
}

.boxcatpost3 .small-post p {
	font-size: 16px;
	margin: 0;
	float: right;
	color: #08172F;
	margin-right: 0;
}
.boxbottomhome {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 20px;
}
.boxbottomhome .category-title {
	padding: 0;
	margin: 0;
	border-bottom: 8px solid #1C2B43;
	padding-bottom: 20px;
	font-weight: bold;
	color: #1C2B43;
	font-size: 1.5rem;
	margin-bottom: 20px;
}
.boxbottomhome .main-sections {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0 auto;
}

.boxbottomhome .section {
	flex: 1;
	min-width: 300px;
	background-color: #ffffff;
	padding: 0;
	box-shadow: none;
	border-radius: 0;

}
.boxbottomhome .vertical-posts {
	border-radius: 0;
	width: 100%;
	gap: 10px;
}
.boxbottomhome .horizontal-posts {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
	gap: 20px;
}

.boxbottomhome .horizontal-posts .post {
	flex: 1;
	margin-left: 0;
	text-align: right;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}
.boxbottomhome .horizontal-posts .post:last-child {
    margin-right: 0;
}

.boxbottomhome .vertical-posts .post {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	width: 50%;
	float: right;
}

.boxbottomhome .vertical-posts .post img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	margin-left: 10px;
	border-radius: 0;
}

.boxbottomhome .vertical-posts .post h4 {
	margin: 0;
	font-size: 16px;
	color: #1C2B43;
	max-width: 96%;
}
.boxbottomhome img {
	width: 100%;
	height: auto;
	border-radius: 0;
}

.boxbottomhome h3 {
	font-size: 1.25rem;
	margin: 10px 0 0;
	color: #1C2B43;
}
.boxbottomhome .sectionright {
	margin-right: 0;
	padding-left: 0;
}
.boxbottomhome .sectionleft {
	margin-right: 0;
	padding-right:0 ;
}

.boxbottomhome a  {
    text-decoration: none;
}


/* تصميم المقالات */
.article-post {
    background-color: #f9f9f9;
    padding: 20px;
}

/* تصميم الفيديوهات */
.video-post {

    padding: 20px;
}

.video-post iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
}


.archive-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 أعمدة في كل صف */
    gap: 20px; /* المسافة بين المقالات */
}
.archive-posts h2 {
	font-size: 1.25rem;
	margin-top: 10px;
}
.archive-posts h2 a {

}
.archive-post {


	padding: 0;
	border-radius: 0;
}
.archive-post img {
	width: 100%;
	object-fit: cover;
	border-radius: 0;
}
.video-thumbnail {
	position: relative;
	width: 100%;
	height: 200px;
	overflow: hidden;
	display: inline-block;
}
.video-thumbnail img {
	object-fit: cover;
	height: 100%;
	width: 100%;
    transition: transform 0.3s ease; /* تأثير تكبير سلس */
}
.video-thumbnail img:hover {

	  transform: scale(1.1); /* تكبير داخلي للصورة */
	
}
.play-icon {
position: absolute;
  top: 44%;
  left: 52%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: #feb800;
  background-color: transparent;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease-in-out;
  opacity: 0.9;
}
.play-icon i {
font-size: 40px;
  color: #FFB800;
}
.play-icon .fa-play {
	font-size: 22px;
	line-height: 30px;
	color: #FFB800;
}

/* الحاوية الرئيسية */
.main-nav {
    background-color: #333; /* خلفية شريط التنقل */
    padding: 10px 20px;
}

/* قائمة الروابط */
.nav-links {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	margin-top: 20px;
	}
.nav-links .page-numbers {
	background:#1C2B43 ;
	padding: 10px 15px;
	color: #fff;
	font-weight: bold;
}
/* قائمة الروابط */
.nav-links .current {
	background: #FFB800;
	color: #1C2B43;
	border-radius: 5px;
}

/* الروابط نفسها */
.nav-links a {
    text-decoration: none; /* إزالة الخط السفلي */
    color: #fff; /* لون النص */
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px; /* مسافة داخلية */
    border-radius: 5px; /* زوايا مستديرة */
 
}

/* تأثير hover */
.nav-links a:hover {
    background-color: #FFB800; /* لون خلفية عند المرور */
    color: #1C2B43; /* تغيير لون النص */
  
}

/* الروابط الفعالة (محددة) */
.nav-links a.active {
    background-color: #f90; /* لون للخلفية */
    color: #333; /* لون النص */
    border: 2px solid #333; /* إطار حول الرابط */
}
/* الحاوية الرئيسية */
.container.single-container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
	gap: 20px;
	padding: 0;
}

/* المحتوى الرئيسي */
.single-post .main-content {
  flex: 1; /* يأخذ المحتوى الرئيسي المساحة المتبقية */
	background-color: #fff;
	padding: 0;
	max-width: 75%;
	overflow: hidden;
}
.sidebar {
  flex: 0 0 300px; /* عرض ثابت يناسب إعلانات AdSense */
  max-width: 300px; /* لضمان عدم تجاوز هذا العرض */
}
.post-thumbnail {
	height: auto;
	margin-top: 15px;
	margin-bottom: 15px;
	width: 100%;
}
.post-thumbnail img {

}

.post-thumbnail img {
	width: 100%;
	height: auto;
}

.single-post h1 {
	font-size: 1.8rem;
	color: #08172F;
}

.single-post p {
	font-size: 1em;
	line-height: 160%;
	color: #08172F;
}
.single-post iframe {
	width: 100%;
	height: 480px;
	margin-top: 15px;
}
.single-post .post-navigation {
	float: right;
	width: 100%;
}
.single-post .post-navigation a {
	color: #FFC700;
}
.single-post .post-navigation i {
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	line-height: 30px;
}
.single-post .post-navigation .next-post {
	float: right;
	padding: 10px 15px;
	background: #1C2B43;
	font-weight: bold;
}
.single-post .post-navigation .previous-post {
	float: left;
	padding: 10px 20px;
	background: #1C2B43;
	font-weight: bold;
}
.single-post .post-navigation .next-post:hover {
	background: #08172F;
}
.single-post .post-navigation .previous-post:hover {
	background: #08172F;
}

.single-post .post-navigation {

}
.single-post .post-tags {
	margin-bottom: 10px;
	float: right;
	width: 100%;
}
.single-post .post-tags a {
	padding: 10px;
	margin-left: 15px;
	border-bottom: 5px solid #ccc;
	display: inline-table;
	margin-bottom: 10px;
	font-weight: bold;
	color: #1C2B43;
}
.single-post .post-tags a:hover {
	color: #465977;
	border-bottom: 5px solid #e8e8e8;
}
.single-post img {
	width: 100%;
	height: 100%;
}
.single-post {
	padding-top: 0px;
}
.single-post {

}
/* تنسيق المواضيع ذات الصلة */
.related-posts {
	margin-top: 30px;
	float: right;
	width: 100%;
}
.related-posts h3 {
	text-align: right;
	margin-bottom: 20px;
	padding: 10px 0px 20px 10px;
	border-bottom: 8px solid #1C2B43;
	font-size: 1.5rem;
	width: 100%;
	font-weight: bold;
}
.related-posts-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}
.related-post-item {
    width: 31.8%;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.related-post-item h4 {
	margin-top: 10px;
	font-size: 18px;
	text-align: right;
}
.related-post-item a {
	color: #1C2B43;
	text-decoration: none;
	font-size: 1rem;
}

.related-post-item a:hover {
    color: #08172F;
}

/* تنسيق الصورة المصغرة باستخدام الحجم المخصص */
.related-post-thumbnail {
    position: relative; /* هذا يجعل من الممكن وضع الزر فوق الصورة */
    width: 100%;
    height: auto;
}

.related-post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease-in-out;
    /* إزالة تأثير التكبير عند المرور */
    transform: none; /* لا تكبير أو تغيير الصورة عند التمرير */
}

/* تنسيق زر البلاي */
.related-posts .play-button-container {
    position: absolute; /* وضع الزر فوق الصورة */
    top: 50%; /* وضع الزر في منتصف الصورة عموديًا */
    left: 50%; /* وضع الزر في منتصف الصورة أفقيًا */
    transform: translate(-50%, -50%); /* لتوسيط الزر بدقة */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* التأكد من أن الزر فوق الصورة */
}

/* تنسيق زر البلاي */
.related-posts .play-button {
    background-color: rgba(0, 0, 0, 0.6); /* خلفية شبه شفافة */
    color: white; /* نص الزر */
    font-size: 30px; /* حجم الخط */
    padding: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease; /* انتقال خلفية الزر */
}

/* تغيير لون خلفية الزر عند المرور عليه */
.related-posts .play-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/* منطقة التعليقات الرئيسية */
.comments-section {
	margin-top: 20px;
	padding: 0;
	float: right;
	width: 100%;
}
.comments-section h3 {
	padding: 0;
	padding-bottom: 0px;
	margin: 0;
	margin-bottom: 0;
	border-bottom: 8px solid #1C2B43;
	padding-bottom: 20px;
	font-weight: bold;
	color: #1C2B43;
	font-size: 1.5rem;
}



/* عنوان التعليقات */
.comments-title {
	padding: 0;
	padding-bottom: 0px;
	margin: 0;
	margin-bottom: 20px;
	border-bottom: 8px solid #1C2B43;
	padding-bottom: 20px;
	font-weight: bold;
	color: #1C2B43;
	font-size: 1.5rem;
}


/* قائمة التعليقات */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
	display: flex;
}
/* معلومات المعلق */
.comment-author {
	font-weight: bold;
	font-size: 16px;
	color: #162437;
	display: inline-block;
	margin-bottom: 5px;
	float: right;
	margin-left: 20px;
	width: 80px;
	border: 5px solid #162437;
	border-radius: 8px;
}
.vcard {
	float: right;
	font-weight: bold;
	padding: 0;
	color: #08172F;
	line-height: 32px;
	margin-left: 10px;
	border-left: 1px solid #08172F70;
	padding-left: 10px;
	font-size: 14px;
}
.comment-date {
	margin: 0;
	font-size: 12px;
	line-height: 36px;
}
.comment-text {
	margin: 0;
	display: flex;
	margin-top: 0px;
}

.comment-meta {
    font-size: 12px;
    color: #777;
    display: block;
}

/* محتوى التعليق */
.comment-content {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

/* الرد على التعليق */
.comment-reply {
    margin-top: 10px;
}

.comment-reply a {
    font-size: 13px;
    color: #0073aa;
    text-decoration: none;
}

.comment-reply a:hover {
    text-decoration: underline;
}

/* نموذج إضافة تعليق */
.comment-form {
	margin-top: 20px;
}

.comment-form label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

 .comment-form textarea {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 14px;
	box-sizing: border-box;
	min-height: 200px;
}

.comment-form input[type="text"], .comment-form input[type="email"] {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 14px;
	box-sizing: border-box;

} 

.comment-form input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.comment-form input[type="submit"]:hover {
    background-color: #005f8d;
}

/* رسائل الخطأ أو النجاح */
.comment-notes,
.comment-form .form-allowed-tags {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.comment-form .form-submit {
    text-align: right;
}
        .comment-error {
            color: red;
            font-weight: bold;
            text-align: center;
        }
        .comment-success {
            color: green;
            font-weight: bold;
            text-align: center;
        }
		
.notecomm {
	background: #ffd6d6;
	padding: 15px;
	border-radius: 8px;
	color: #e10101;
	font-size: 1em;
	font-weight: bold;
}
.tnotecomm {
	font-size: 15px !important;
	margin-top: 10px;
}
.tnotecomm span {
	color: #e10101;
	font-weight: bold;
}
.comment-actions {
	padding: 0px;
	max-width: 150px;
	margin: 0;
	display: revert;
	float: left;
	line-height: 20px;
}
.comment-actions button {
	padding: 5px 10px 8px 10px;
	border: none;
	background: #08172F;
	border-radius: 8px;
}
.comment-actions button:hover {
	background: #172F55;
}
.comment-actions button span {
	padding: 0 7px 0px 7px;
	color: #08172F;
	font-weight: bold;
	font-size: 10px;
	margin-right: 5px;
	background: #FFC700;
	border-radius: 50px;
}
.comment-actions button .fas {
	padding: 0px;
	font-size: 16px;
}

.comment-body {
	margin: 0;
	float: right;
	width: 100%;
}
.author-header {
	margin: 0;
	min-height: 98px;
	margin-bottom: 20px;
}
.author-header .author-avatar {
	margin: 0;
	float: right;
	margin-left: 20px;
}
.author-header .author-info {
	margin: 0;	
}
.author-header {
	
}
.featured-image2 {
    position: relative; /* لإتاحة وضع الطبقة الشفافة فوق الصورة */
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    margin-right: -20px;
    margin-top: -45px;
    min-width: 1200px;
    height: 260px;
    background-size: cover;
    background-position: center;
}

.featured-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* يجعل الصورة تغطي المساحة بالكامل */
}

/* إضافة الطبقة الشفافة */
.featured-image2 .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #16243775;
	z-index: 1;
	display: initial;
}

/* تنسيق النص (العنوان وتاريخ النشر) ليظهر فوق الطبقة الشفافة */
.featured-image2 .page-header {
	margin: 0;
	float: right;
	width: 100%;
	position: absolute;
	top: 110px;
	padding: 0 20px;
	z-index: 2;
}

.featured-image2 .page-header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: #FFB800;
    font-weight: bold;
    margin-bottom: 10px;
}

.featured-image2 .page-header p {
    margin: 0;
    width: auto;
    color: #fff;
    font-weight: bold;
}

.page-header .publish-date {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.wp-block-latest-posts__featured-image.alignright {
	float: right;
	margin-left: 1em;
	margin-bottom: 20px;
}
.wp-block-latest-posts {
	box-sizing: border-box;
	padding: 0;
}
.widget-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}
.wp-block-latest-posts.wp-block-latest-posts__list li a {
	padding: 0;
}
.widget h3 {
	border-bottom: 8px solid #1C2B43;
	padding: 10px 0;
	margin-bottom: 20px;
	float: right;
	width: 100%;
}
.widget .wp-block-table {
	overflow-x: auto;
	float: right;
	width: 100%;
}
.widget .wp-block-table .has-fixed-layout {
	table-layout: fixed;
	width: 100%;
	color: #1C2B43;
}
.widget .wp-block-table figcaption {
	padding: 0;
	overflow: hidden;
	float: right;
	width: 100%;
	margin-top: 10px;
}
.widget {
	padding: 0;
	float: right;
	width: 100%;
}
.widget ul {
	padding: 10px 10px 10px 10px;
	float: right;
	width: 100%;
	list-style: none;
}
.widget ul li {
	padding: 0;
}
.widget ul li a {
	padding: 0;
	color: #08172F;
}
.widget ol {
	padding: 10px 20px 10px 10px;
}
.widget ol li p {
	padding: 0;
	font-size: 14px;
}
.widget ol li {
	padding: 0;
	border-bottom: 1px solid #ccc;
}
.widget ol li:last-child {
  border-bottom: none;
}
.widget ol li {
	padding: 0;
}
.widget img {
	padding: 0;
}
.widget {
	padding: 0;
}
.widget {
	padding: 0;
}
.social-buttons {
	margin-top: 0px;
	float: right;
}
.social-buttons a {
	text-decoration: none !important;
	color: #fff;
	font-size: 24px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: transform 0.2s, background-color 0.3s;
	margin-left: 10px;
}
.social-buttons a i {
	font-size: 16px;
}
.social-buttons a:hover {
    transform: scale(1.1);
    transition: all 0.3s ease;
}


        .facebook { background-color: #3b5998; }
        .instagram { background-color: #e4405f; }
        .twitter { background-color: #55acee; }
        .youtube { background-color: #ff0000; }
        .tiktok { background-color: #000; }
		
.error-icon {
	font-size: 10rem;
	margin: 0;
	font-weight: bold;
	float: right;
	width: 100%;
}
.error-404 {
	margin: 0;
	text-align: center;
}
.error-404 h1 {
	font-size: 1.8rem;
}

.error-404 input {
	margin: 0;
	padding: 0 15px;
	height: 40px;
}
#searchsubmit {
	margin: 0;
	background: #FFB800;
	border: none;
	border-radius: 4px;
	padding: 0 20px;
	color: #08172F;
	font-weight: bold;
}
#searchsubmit:hover {
	margin: 0;
	background: #F0A900;
}
.error-404 {
	margin: 0;
}
.error-404 {
	margin: 0;
}
.error-404 {
	margin: 0;
}




/* الأجهزة اللوحية المتوسطة (أقل من 992px) */
@media (max-width: 991.98px) {

.site-content {
	padding: 20px;
	max-width: 860px;
	margin: 0 auto;
	background: #fff;
	margin-top: 82px;
}
.slidehomeControls {
	padding-left: 5px;
	overflow: hidden;
	height: 315px;
}
.slidehomeControls .carousel {
	position: relative;
	float: right;
	width: 100%;
	overflow: hidden;
	margin-bottom: 0px;
	height: 100%;
	max-height: 100%;
	height: 315px ;
}
.slidehomeControls .carousel-inner {
	position: relative;
	width: 100%;
	overflow: hidden;
	height: 315px;
}

.slidehomeControls .carousel-inner .carousel-item {
	height: 315px ;
}
.slidehomeControls .carousel .carousel-item a img {
	float: right;
	width: 100%;
	height: 100%;
	min-height: 315px;
}
.leftslideshow .my-2 {
	margin-top: 0px !important;
	height: auto;
	overflow: hidden;
	max-height: 150px;
	margin-bottom: 14px !important;
}

        .thumbnailCarousel .carousel-item .col-md-3 {
            max-width: 25%; /* 4 مواضيع في الشريحة */
            flex: 0 0 25%;
        }

.logo {
	display: inline-block;
	margin: 0 auto;
}
.featured-image2 {
	position: relative;
	width: 100%;
	margin-bottom: 20px;
	overflow: hidden;
	margin-right: -20px;
	margin-top: -45px;
	min-width: 860px;
	height: 260px;
	background-size: cover;
	background-position: center;
}
.social-buttons a {
	text-decoration: none !important;
	color: #fff;
	font-size: 20px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: transform 0.2s, background-color 0.3s;
	margin-left: 5px;
}
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 40px;
	max-width: 100%;
}	
	

    .toggle-menu {
        display: block; /* عرض زر القائمة للشاشات الصغيرة */
    }

.main-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	flex-direction: column;
	background-color: #1C2B43;
	padding: 10px;
	border-radius: 0;
	display: none;
	z-index: 999;
	    gap: 0px;
}

    .main-menu.active {
        display: flex; /* عرض القائمة عند تفعيلها */
    }

.main-menu li.current-menu-item a {
	background-color: #FFB800;
	color: #1C2B43;
	border-radius: 4px;
	float: right;
	width: 100%;
}
.main-menu li.current-menu-item a:hover {
	background-color: #1C2B43;
	color:#FFB800 ;
		border-radius: 4px;

}
.main-menu li a {
	color: #fff;
	text-decoration: none;
	padding: 10px 10px 12px 10px;
	transition: background-color 0.3s ease, color 0.3s ease;
	font-size: 14px;
	float: right;
	width: 100%;
}
.main-menu li {
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid #122033;
}
.main-menu li:last-child {
    border-bottom: none; /* إزالة الحدود من العنصر الأخير */
}
.main-menu li > .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	list-style-type: none;
	padding: 0;
	margin: 0;
	width: 200px;
	background: #162437;
	margin-top: 0px;
	float: right;
	width: 100%;
}

.search-icon {
	font-size: 10px;
	cursor: pointer;
	color: #08172F;
	position: absolute;
	left: 30px;
	top: 20px;
	float: left;
		height: 40px;
	width: 40px;
}
.related-posts-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.related-post-item h4 {
	margin-top: 10px;
	font-size: 18px;
	text-align: right;
}

.postcat-2 .single-topic-section .mb-4 {
	margin: 0;
	margin-bottom: 0 !important;
}

.related-post-item {
	width: 31.6%;
	text-align: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.slidehomeControls .carousel .carousel-item .carousel-caption p {
	font-size: 16px;
	font-weight: bold;
	line-height: 26px;
	color: #fff;
	text-decoration: none;
	display: none;
}

.leftslideshow .small-image-container a {
	float: right;
	width: 100%;
	height: 150px;
}











}

















/* الأجهزة اللوحية الصغيرة (أقل من 768px) */
@media (max-width: 767.98px) {
    .site-header .container {
        flex-direction: column;
    }
.site-content {
	padding: 20px;
	max-width: 574px;
	margin: 0 auto;
	background: #fff;
	margin-top: 82px;
}
	
    .thumbnailCarousel .carousel-item .col-6 {
        max-width: 50%; /* 2 مواضيع في الشريحة */
        flex: 0 0 50%;
    }
	
	
	.slidehomeControls .carousel-inner .carousel-item {
    height: 280px;
}
.slidehomeControls .carousel .carousel-item a img {
    float: right;
    width: 100%;
    height: 100%;
    min-height: 280px;
}
.main-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 40px;
	max-width: 100%;
}	
	

    .toggle-menu {
        display: block; /* عرض زر القائمة للشاشات الصغيرة */
    }

.main-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	flex-direction: column;
	background-color: #1C2B43;
	padding: 10px;
	border-radius: 0;
	display: none;
	z-index: 999;
	    gap: 0px;
}

    .main-menu.active {
        display: flex; /* عرض القائمة عند تفعيلها */
    }

.main-menu li.current-menu-item a {
	background-color: #FFB800;
	color: #1C2B43;
	border-radius: 4px;
	float: right;
	width: 100%;
}
.main-menu li.current-menu-item a:hover {
	background-color: #1C2B43;
	color:#FFB800 ;

}
.main-menu li a {
	color: #fff;
	text-decoration: none;
	padding: 10px 10px 12px 10px;
	transition: background-color 0.3s ease, color 0.3s ease;
	font-size: 14px;
	float: right;
	width: 100%;
}
.main-menu li {
	font-size: 16px;
	font-weight: bold;
	border-bottom: 1px solid #122033;
}
.main-menu li:last-child {
    border-bottom: none; /* إزالة الحدود من العنصر الأخير */
}

.search-icon {
	font-size: 10px;
	cursor: pointer;
	color: #08172F;
	position: absolute;
	left: 30px;
	top: 20px;
	float: left;
		height: 40px;
	width: 40px;
}

    .thumbnailCarousel .carousel-item .col-6 {
        max-width: 50%; /* 2 مواضيع في الشريحة */
        flex: 0 0 50%;
    }

.slidehomeControls {
    padding-left: 5px;
    height: 100%;
    overflow: hidden;
    height: 280px;
    max-width: 550px;
    margin-bottom: 20px;
}
.d-flex {
	display: block !important;
	padding: 0;
}
.leftslideshow .my-2 {
	margin-top: 0px !important;
	height: auto;
	overflow: hidden;
	margin-bottom: 14px !important;
	width: 46.4%;
	margin-right: 13px;
	float: right;
}


.postcat-2 .col-6 {
	flex: 1;
	max-width: 100%;
	margin-left: 0px;
	margin-right: 0px;
}
.single-topic-section {
	width: 100%;
	float: right;
	display: contents;
}
.postcat-2 .multi-topic-section {
	padding: 0;
	padding-right: 0;
	border-right: none;
}

.postcat-2 .multi-topic-section .small-topic-text {
	margin: 0;
	float: right;
	max-width: 64%;
}

.postcat-2 .multi-topic-section .small-topic-text h6 {
	margin: 0;
	float: right;
	margin-top: 15px;
}


.boxvideohome .video-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.box6post .grid-container {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 10px;
	grid-template-rows: auto auto;
}

.box6post .post-item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}


.box6post .post-image {
	width: 100%;
	height: auto;
	margin-left: 10px;
	max-width: 80px;
	float: right;
}

.box6post .post-title h6 {
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	float: right;
}
.box6post .grid-container .post-item:nth-child(6) {
	border-bottom: none;
}

.box6post .grid-container .post-item:nth-child(4), .box6post .grid-container .post-item:nth-child(5) {
	border-bottom: 1px solid #ccc;
}


.boxcatpost3 .layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 10px;
	padding: 0;
	background: #fff;
}
.large-post {
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}
.archive-posts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.featured-image2 {
	position: relative;
	width: 100%;
	margin-bottom: 20px;
	overflow: hidden;
	margin-right: -20px;
	margin-top: -45px;
	min-width: 574px;
	height: 260px;
	background-size: cover;
	background-position: center;
}

.sidebar {
	flex: 100%;
	max-width: 100%;
}

.single-post .main-content {
	flex: 1;
	background-color: #fff;
	padding: 0;
	max-width: 100%;
	overflow: hidden;
}
.footer-navs {
	display: block;
	width: 100%;
}
.footer-nav {
	flex: 1;
	padding: 10px;
	margin-bottom: 20px;
	float: right;
	width: 50%;
}




.slidehomeControls .carousel .carousel-item .carousel-caption {
	background: #1C2B43B8;
	padding: 10px;
	width: unset;
	display: block !important;
}


.leftslideshow .small-image-container a {
	float: right;
	width: 100%;
	height: 150px;
}

.single-post iframe {
	width: 100%;
	height: 380px;
	margin-top: 15px;
}



}

/* الهواتف المحمولة (أقل من 576px) */
@media (max-width: 575.98px) {

.site-content {
	padding: 20px;
	max-width: 376px;
	margin: 0 auto;
	background: #fff;
	margin-top: 82px;
}
.slidehomeControls .carousel {
    position: relative;
    float: right;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0px;
    height: 100%;
    max-height: 100%;
    height: 280px;
    max-width: 333px;
}
.slidehomeControls .carousel .carousel-item .carousel-caption {
	background: #1C2B43B8;
	padding: 10px;
	width: unset;
	display: block !important;
}
.slidehomeControls .carousel .carousel-item .carousel-caption p {
	font-size: 16px;
	font-weight: bold;
	line-height: 26px;
	color: #fff;
	text-decoration: none;
	display: none;
}

.leftslideshow .my-2 {
    margin-top: 0px !important;
    height: auto;
    overflow: hidden;
    margin-bottom: 14px !important;
    width: 100%;
    margin-right: 13px;
    float: right;
    max-width: 333px;
}
.thumbnailCarousel .carousel-item .col-6 {
	max-width: 100%;
	flex: 0 0 100%;
}

.postcat-2 .col-6 {
	flex: max-content;
	max-width: 100%;
	margin-left: 0px;
	margin-right: 0px;
}

.boxvideohome .video-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
}


.box6post .d-flex {
	display: flex !important;
	width: 100%;
}

.postcat-2 .single-topic-section .mb-4 p {
	margin: 0;
	margin-top: 5px;
	padding-top: 0px;
	border-top: none;
	border-bottom: 1px solid #ccc;
	padding-bottom: 10px;
}
.boxvideohome .video-image {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 336px;
	margin: 0 auto;
	overflow: hidden;
	transition: transform 0.3s ease-in-out;
	height: 180px;
}
.boxbottomhome .main-sections {
	display: none;
	gap: normal;
	margin: 0 auto;
}
.footer-nav {
	flex: max-content;
	padding: 10px;
	margin-bottom: 20px;
	float: right;
	width: 100%;
}

.archive-posts {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;
}
.featured-image2 {
	position: relative;
	width: 100%;
	margin-bottom: 20px;
	overflow: hidden;
	margin-right: -20px;
	margin-top: -45px;
	min-width: 377px;
	height: 260px;
	background-size: cover;
	background-position: center;
}
.related-post-item {
	width: 100%;
	text-align: center;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.leftslideshow .small-image-container a {
	float: right;
	width: 100%;
	height: 150px;
}

.single-post iframe {
	width: 100%;
	height: 280px;
	margin-top: 15px;
}











}
