/*
 Theme Name: Astra Child
 Theme URI: https://wpastra.com/
 Description: Child theme for Astra Pro
 Author: Your Name
 Author URI: https://yourwebsite.com/
 Template: astra
 Version: 1.0.0
*/

/* استدعاء تنسيقات القالب الأصلي */
@import url("../astra/style.css");

/* ✅ محاذاة RTL لكل الفوتر فقط في اللغة العربية */
html[lang="ar"] .footer-widget-area,
html[lang="ar"] .footer-widget-area .ast-builder-grid-row,
html[lang="ar"] .footer-widget,
html[lang="ar"] .ast-footer-copyright {
  direction: rtl;
  text-align: right !important;
}

/* ✅ تنسيق إضافي للعناصر */
html[lang="ar"] .footer-widget-area .widget {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* ✅ استثناء الودجت الأخير فقط (Footer Widget 4) من RTL */
html[lang="ar"] [aria-label="Footer Widget 4"] {
  direction: ltr !important;
  text-align: left !important;
}
/* ✅ محاذاة وسط لعناصر الفوتر في وضع الموبايل */
@media (max-width: 768px) {
    html[lang="ar"] .footer-widget-area,
    html[lang="ar"] .footer-widget,
    html[lang="ar"] .ast-footer-copyright 
	{
        text-align: center !important;
    }
}
@media (max-width: 768px) {
   
    html[lang="de-DE"] .footer-widget-area,
    html[lang="de-DE"] .footer-widget,
    html[lang="de-DE"] .ast-footer-copyright {
        text-align: center !important;
    }
}
#menu-item-5281 > a.menu-link > span.menu-text {
    display: none !important;
}
#menu-item-5281 > a.menu-link > span.ast-icon.icon-arrow {
    display:none  !important;
}

#menu-item-5478 > a.menu-link > span.ast-icon.icon-arrow {
    display:none  !important;
}
#menu-item-5478 > a.menu-link > span.menu-text {
    display: none !important;
}

.main-header-menu .ast-icon.icon-arrow {
    display: none !important;
}
.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single:not(.ast-related-post) {
     background-color: #edf6ee; 
}


/* إزالة الخلفية البيضاء في منطقة المحتوى الرئيسية */
/* يستهدف العنصر الرئيسي الذي قد يحتوي على خلفية بيضاء */
#main {
    background-color: transparent !important;
}

/* يستهدف الحاوية الداخلية للمحتوى */
.site-main {
    background-color: transparent !important;
}



/* ادفع محتوى صفحة الدورة لأسفل كي لا يغطيه الهيدر الشفاف */
.ast-theme-transparent-header.single-lp_course .site-content,
.ast-theme-transparent-header.single-lp_course .ast-single-entry-banner,
.ast-theme-transparent-header.single-lp_course .entry-header {
  padding-top: clamp(80px, 10vw, 120px);
}

/* موبايل: عادة ارتفاع الهيدر أقل */
@media (max-width: 921px) {
  .ast-theme-transparent-header.single-lp_course .site-content,
  .ast-theme-transparent-header.single-lp_course .ast-single-entry-banner,
  .ast-theme-transparent-header.single-lp_course .entry-header {
    padding-top: clamp(64px, 12vw, 96px);
  }
}

/* لو لديك شريط إدارة ووردبريس ظاهر (wp-admin bar)، زِد هوامش الأمان قليلاً */
html.admin-bar .ast-theme-transparent-header.single-lp_course .site-content,
html.admin-bar .ast-theme-transparent-header.single-lp_course .ast-single-entry-banner,
html.admin-bar .ast-theme-transparent-header.single-lp_course .entry-header {
  padding-top: clamp(110px, 12vw, 140px);
}

.lp-single-course__header .course-instructor-category {
	display: none;}

.lp-single-course__header .lp-single-course-info-one {
    display: none;
}


.lp-single-offline-course__left .lp-single-course-offline-info-one .item-meta {
	display: none;}

.lp-single-offline-course form.purchase-course, .lp-single-offline-course form.enroll-course, .lp-single-offline-course form.retake-course {
   display:none;
}



.course-price, .lp-single-course-offline-info-one .info-meta-item:nth-child(2) {
    display: none !important;
}
/* إخفاء حقل المدة بالكامل من صفحة الكورس */
.lp-single-course-offline-info-on .info-meta .info-meta-item:nth-child(4) {
    display: none !important;
}

/* ✅ إخفاء الشريط الجانبي للمعلومات بالكامل */
.lp-single-offline-course__left .learn-press-breadcrumb li {
    display: none !important;
}
/* Add space between the header and the course content */
.lp-content-area {
    margin-top: 50px; /* You can adjust this value as needed */
}
.course-title{
	 margin-top: 50px;
	margin-bottom:20px;
}
/* ✅ تعديل عرض منطقة المحتوى الرئيسية لملء الفراغ */
/* هذا الكود اختياري وقد تحتاج لتعديله بناءً على القالب */
@media (min-width: 768px) {
    .lp-content-area .lp-single-course-left,
    .lp-content-area .lp-single-course-main {
        width: 100% !important;
    }
}

/* إخفاء قسم اسم المدرس وتصنيف الكورس */
.course-instructor-category {
    display: none !important;
}


/* يستهدف الرابط (a) الموجود داخل div.item-meta الذي يقع داخل div.lp-single-course-offline-info-one */
.lp-single-course-offline-info-one .item-meta a {
    /* يجعل الرابط غير قابل للنقر */
    pointer-events: none;
    /* يغير مؤشر الماوس إلى مؤشر افتراضي */
    cursor: default;
    /* إزالة التسطير */
    text-decoration: none;
    /* يجعل لون النص يماثل لون النص الأصلي للموقع */
    color: inherit; 
}

/* يستهدف الرابط (a) الموجود داخل div.lp-section-instructor (وهو قسم المدرب) */
.lp-section-instructor a {
    /* يجعل الرابط غير قابل للنقر */
    pointer-events: none !important;
    /* يغير مؤشر الماوس إلى مؤشر افتراضي */
    cursor: default !important;
    /* إزالة التسطير */
    text-decoration: none !important;
    /* يجعل لون النص يماثل لون النص الأصلي للموقع (مهم لجعله يبدو كجزء من النص العادي) */
    color: inherit !important; 
}

.entry-meta {
  display: none !important;
}
.about-author-title-wrapper{
	 display: none !important;
}