/* أكاديمية الخبراء: الهوية المطوّرة (v2)
   يُحمَّل بعد ea.css فقط عند اختيار «المطوّرة» من لوحة الأكاديمية ← الهوية البصرية.
   الرجوع: اختيار «الحالية» يوقف تحميل هذا الملف ويعيد قيم Elementor والقالب من ea-v1-colors.json. */

/* ── المتغيرات ── */
:root,html body,html body.elementor-kit-6{
  --ea-bg:#0F2A24; --ea-surface:#163A32; --ea-surface2:#1C463D; --ea-line:#2B5148;
  --ea-ink:#FFFFFF; --ea-muted:#BCD3CB; --ea-gold:#D9B25F; --ea-gold-d:#C49A45;
  --ea-em:#3CC79A; --ea-em-d:#2FAE85; --ea-sage:#3CC79A; --ea-deep:#0F2A24; --ea-foot:#0B211C;
  --tutor-color-primary:#3CC79A; --tutor-color-primary-rgb:60,199,154; --tutor-color-primary-hover:#2FAE85;
  /* متغيرات القالب وElementor */
  --main:#D9B25F; --secondary:#C49A45; --third:#3CC79A; --body:#BCD3CB; --heading:#FFFFFF; --light:#FFFFFF; --background-body:#0F2A24;
  --e-global-color-primary:#D9B25F; --e-global-color-secondary:#FFFFFF; --e-global-color-text:#BCD3CB; --e-global-color-accent:#3CC79A;
  --e-global-color-ffd93fe:#163A32; --e-global-color-a23a877:#0F2A24; --e-global-color-5abda22:#0F2A24; --e-global-color-6fc6bf6:#BCD3CB;
}
html body{background:var(--ea-bg)!important;color:var(--ea-muted)}
html body h1,html body h2,html body h3,html body h4,html body h5,html body h6,html body .elementor-heading-title{color:var(--ea-ink)}

/* الروابط وحالات التفاعل: زمردي */
html body a{color:var(--ea-em)}
html body a:hover{color:var(--ea-ink)}
::selection{background:var(--ea-em);color:var(--ea-bg)}
html body :focus-visible{outline:2px solid var(--ea-em);outline-offset:2px}

/* الهيدر والقائمة الجانبية */
html body .elementor-74 .elementor-element.elementor-element-d530df6:not(.elementor-motion-effects-element-type-background){background-image:linear-gradient(180deg,#0F2A24 0%,rgba(15,42,36,0) 90%)!important}
html body .elementor-74 .elementor-element.elementor-element-d530df6.is-sticky{background-color:#0F2A24!important}
html body .jws-offcanvas .jws-offcanvas-content,html body .jws-offcanvas .jws-offcanvas-content-data{background:#0F2A24!important}
html body .ea-mnav-cta{border-top-color:var(--ea-line)}
html body .ea-mbtn--line{border-color:var(--ea-em);color:var(--ea-em)!important}
html body .ea-mbtn--line:hover{background:var(--ea-em);color:#0F2A24!important}
html body .ea-mbtn--ghost{background:var(--ea-surface);border-color:var(--ea-line);color:#fff!important}
html body .ea-mnav-cta__biz{color:var(--ea-muted)!important}
html body .ea-mnav-cta__biz:hover{color:var(--ea-em)!important}

/* الأزرار: الذهبي للزر الرئيسي فقط، والزمردي للثانوي */
html body .ea-btn,html body a.ea-btn{background:var(--ea-gold);border-color:var(--ea-gold);color:#0F2A24!important}
html body .ea-btn:hover{background:var(--ea-gold-d);border-color:var(--ea-gold-d)}
html body .ea-btn--ghost,html body a.ea-btn--ghost{background:transparent;border-color:rgba(255,255,255,.45);color:#fff!important}
html body .ea-btn--ghost:hover{background:rgba(255,255,255,.08);border-color:#fff}
html body .ea-btn--sponsor,html body a.ea-btn--sponsor{background:transparent;border-color:var(--ea-em);color:var(--ea-em)!important}
html body .ea-btn--sponsor:hover{background:var(--ea-em);border-color:var(--ea-em);color:#0F2A24!important}
html body .ea-form input[type=submit],html body .wpcf7-submit{background:var(--ea-em)!important;border-color:var(--ea-em)!important;color:#0F2A24!important}
html body .ea-form input:focus,html body .ea-form select:focus,html body .ea-form textarea:focus{outline-color:var(--ea-em)}

/* الهيرو والبطاقات */
html body .ea-hero__play{background:var(--ea-em);color:#0F2A24}
html body .ea-hero__feature::after{background:linear-gradient(0deg,rgba(15,42,36,.94) 0%,rgba(15,42,36,0) 55%)}
html body .ea-hero__cap small{display:inline-block;align-self:flex-start;background:var(--ea-gold);color:#0F2A24;padding:2px 10px;border-radius:999px;font-weight:600}
html body .ea-card__media{border-color:var(--ea-line)}
html body .ea-card__media::after{background:linear-gradient(0deg,rgba(15,42,36,.88) 0%,rgba(15,42,36,0) 60%)}
html body .ea-card:hover .ea-card__play{background:var(--ea-em);color:#0F2A24}
html body .ea-card:hover .ea-card__media{border-color:var(--ea-em)}
html body .ea-card__by{color:#fff}
html body .ea-card__meta{color:var(--ea-muted)}
html body .ea-rowhead a{color:var(--ea-em)}

/* شارات المسارات (خلفية الشارة / لون النص) */
.ea-chip{display:inline-flex;align-items:center;align-self:flex-start;gap:6px;padding:3px 12px;border-radius:999px;font:600 12px/1.6 var(--ea-head);text-decoration:none!important;white-space:nowrap}
.ea-chip--programming,a[href*="/course-category/programming"]{--chip-bg:#1F3A5C;--chip-fg:#9CC3F5}
.ea-chip--design,a[href*="/course-category/design"]{--chip-bg:#4A2A22;--chip-fg:#F2A68C}
.ea-chip--languages,a[href*="/course-category/languages"]{--chip-bg:#174A3C;--chip-fg:#7FE0BC}
.ea-chip--media,a[href*="/course-category/media"]{--chip-bg:#2E2A4F;--chip-fg:#B8ADF2}
.ea-chip--career,a[href*="/course-category/career"]{--chip-bg:#163F45;--chip-fg:#7FD3DE}
.ea-chip--selfdev,a[href*="/course-category/selfdev"]{--chip-bg:#4A2233;--chip-fg:#F0A3C0}
.ea-chip{background:var(--chip-bg,#163A32);color:var(--chip-fg,#BCD3CB)!important}
html body .tutor-course-details-page a[href*="/course-category/"],html body .tutor-meta a[href*="/course-category/"],html body .tutor-course-card a[href*="/course-category/"]{display:inline-block;background:var(--chip-bg);color:var(--chip-fg)!important;padding:2px 10px;border-radius:999px;font-weight:600;text-decoration:none!important}
/* لون المسار على حافة بطاقة الدورة */
html body .ea-card[data-track] .ea-card__media{border-bottom:3px solid var(--chip-bg)}
.ea-card[data-track="programming"]{--chip-bg:#1F3A5C}.ea-card[data-track="design"]{--chip-bg:#4A2A22}.ea-card[data-track="languages"]{--chip-bg:#174A3C}
.ea-card[data-track="media"]{--chip-bg:#2E2A4F}.ea-card[data-track="career"]{--chip-bg:#163F45}.ea-card[data-track="selfdev"]{--chip-bg:#4A2233}

/* الخبراء */
html body .ea-expert__initial{color:#fff}
html body .ea-expert__job{color:var(--ea-em)}
html body .ea-expert__courses a:hover{border-color:var(--ea-em);color:var(--ea-em)}
html body .ea-sxp__item:hover{border-color:var(--ea-em)}
html body .ea-sxp__ini{border-color:var(--ea-line);color:#fff}
html body .ea-sxp__txt small{color:var(--ea-muted)}

/* الباقات والأسئلة */
html body .ea-plan__note{color:var(--ea-em)}
html body .ea-plan li::before,html body .ea-checks li::before{border-color:var(--ea-em)}
html body .ea-plan--hl{box-shadow:inset 0 3px 0 var(--ea-em)}
html body .ea-plan__flag{background:var(--ea-gold);color:#0F2A24}
html body .ea-faq summary::after{color:var(--ea-em)}
html body .ea-kicker{color:var(--ea-em)}

/* الجهات والقصة والرعاية */
html body .ea-org:hover,html body .ea-cta3__item:hover{border-color:var(--ea-em)}
html body .ea-org__ic{color:var(--ea-em)}
html body .ea-org__go{color:var(--ea-em)}
html body .ea-org--gold,html body .ea-pillar--gold{background:linear-gradient(150deg,#1D4F42 0%,#163A32 75%);border-color:var(--ea-line)}
html body .ea-org--gold .ea-org__ic{background:var(--ea-em);color:#0F2A24}
html body .ea-cta3__item--gold{background:var(--ea-surface);border-color:var(--ea-em)}
html body .ea-cta3__item--gold b{color:#fff}html body .ea-cta3__item--gold span{color:var(--ea-muted)}
html body .ea-goal__tag{background:var(--ea-gold);color:#0F2A24}
html body .ea-goal-list b,html body .ea-align b{color:#fff}
html body .ea-mv__k,html body .ea-level__n{color:var(--ea-em)}
html body .ea-level--top{border-color:var(--ea-em);box-shadow:inset 0 3px 0 var(--ea-em)}
html body .ea-letter__body p:first-child::first-letter{color:var(--ea-em)}
html body .ea-letter__sign{border-inline-start-color:var(--ea-em)}
html body .ea-story-hero{background:radial-gradient(60% 100% at 10% 0%,rgba(28,70,61,.95) 0%,rgba(15,42,36,0) 70%)}

/* Tutor LMS */
html body .tutor-btn-outline-primary{border-color:var(--ea-em)!important;color:var(--ea-em)!important}
html body .tutor-btn-outline-primary:hover{background:var(--ea-em)!important;color:#0F2A24!important}
html body .tutor-progress-value{background:var(--ea-em)!important}
html body .tutor-nav-link.is-active{color:var(--ea-em)!important;border-color:var(--ea-em)!important}
html body .tutor-ratings-stars span,html body .tutor-icon-star-bold{color:var(--ea-em)!important}
html body .tutor-dashboard-menu-item.active a,html body .tutor-dashboard-menu-item a:hover{color:var(--ea-em)!important}
html body .tutor-course-topic-item.is-active a,html body .tutor-course-topic-item a:hover{color:var(--ea-em)!important}
html body .tutor-form-check-input:checked{background-color:var(--ea-em)!important;border-color:var(--ea-em)!important}

/* WooCommerce والاشتراك */
html body .woocommerce-info,html body .woocommerce-message{border-top-color:var(--ea-em)!important}
html body .woocommerce-checkout .woocommerce-info::before{color:var(--ea-em)!important}
html body .ea-thanks{border-top-color:var(--ea-em)}
html body .ea-sub__state--on{background:rgba(60,199,154,.16);color:var(--ea-em)}

/* الفوتر */
html body .ea-footer{background:var(--ea-foot);border-top-color:var(--ea-line)}
html body .ea-footer nav a{color:var(--ea-muted)}
html body .ea-footer nav a:hover{color:var(--ea-em)}

/* ── صفحات القراءة الطويلة: خلفية فاتحة ── */
body.ea-read .site-content{
  --ea-bg:#F7F3EA; --ea-surface:#FFFFFF; --ea-surface2:#EFE9DC; --ea-line:#E2DACA;
  --ea-ink:#0F2A24; --ea-muted:#3D4A46; --ea-em:#1B6E53; --ea-em-d:#155842; --ea-sage:#1B6E53;
  background:#F7F3EA; color:#3D4A46;
}
html body.ea-read{background:#0F2A24!important}
body.ea-read .site-content h1,body.ea-read .site-content h2,body.ea-read .site-content h3,body.ea-read .site-content h4,body.ea-read .site-content h5,body.ea-read .site-content h6{color:#0F2A24}
body.ea-read .site-content p,body.ea-read .site-content li,body.ea-read .site-content td{color:#3D4A46}
body.ea-read .site-content a:not(.ea-btn){color:#1B6E53}
body.ea-read .site-content a:not(.ea-btn):hover{color:#0F2A24}
body.ea-read .site-content .ea-btn--ghost{border-color:#0F2A24;color:#0F2A24!important}
body.ea-read .site-content .ea-btn--ghost:hover{background:#0F2A24;color:#fff!important}
body.ea-read .site-content .ea-btn--sponsor{border-color:#1B6E53;color:#1B6E53!important}
body.ea-read .site-content .ea-btn--sponsor:hover{background:#1B6E53;color:#fff!important}
body.ea-read .site-content .ea-story-hero{background:none}
body.ea-read .site-content .ea-story-hero__lead,body.ea-read .site-content .ea-letter__body p{opacity:1}
body.ea-read .site-content .ea-pillar--gold,body.ea-read .site-content .ea-org--gold{background:#FFFFFF;border-color:#1B6E53}
body.ea-read .site-content .ea-cta3__item--gold{background:#0F2A24;border-color:#0F2A24}
body.ea-read .site-content .ea-cta3__item--gold b{color:#fff}
body.ea-read .site-content .ea-cta3__item--gold span{color:#BCD3CB}
body.ea-read .site-content .ea-goal-list b,body.ea-read .site-content .ea-align b,body.ea-read .site-content .ea-values b{color:#0F2A24}
body.ea-read .site-content .ea-band{background:#EFE9DC}
/* الهيدر فوق الصفحات الفاتحة يبقى غامقاً */
html body.ea-read .elementor-74 .elementor-element.elementor-element-d530df6:not(.elementor-motion-effects-element-type-background){background-color:#0F2A24!important;background-image:none!important}

/* Tutor: بطاقات الأرشيف وصفحة الدورة */
html body .tutor-course-card{background:var(--ea-surface);border-color:var(--ea-line)}
html body .tutor-course-card .tutor-course-name a{color:#fff}
html body .tutor-meta,html body .tutor-meta-value,html body .tutor-course-card .tutor-meta a,html body .tutor-course-details-page .tutor-meta{color:var(--ea-muted)!important}
html body .tutor-course-card .tutor-meta a:hover{color:var(--ea-em)!important}
html body .tutor-avatar-text{color:#0F2A24!important}
html body .tutor-course-details-page .tutor-btn-ghost{color:var(--ea-muted)!important}
html body .tutor-course-details-page .tutor-btn-ghost:hover{color:var(--ea-em)!important}
html body .tutor-course-details-instructors{background:var(--ea-surface)!important;border-color:var(--ea-line)!important}
html body .tutor-course-details-tab .tutor-is-sticky{background:rgba(15,42,36,.94)!important}
html body .tutor-nav-link{color:var(--ea-muted)!important}
html body .tutor-nav-link.is-active,html body .tutor-nav-link:hover{color:var(--ea-em)!important}
html body .tutor-color-secondary,html body .tutor-color-muted,html body .tutor-color-black-60,html body .tutor-course-card .tutor-meta>div{color:var(--ea-muted)!important}
html body .jws-dir-btn.active{color:#0F2A24!important}
html body .jws-form-content input.button,html body .jws-form-content .button-default{background:var(--ea-em)!important;border-color:var(--ea-em)!important;color:#0F2A24!important}
html body .tutor-meta>div,html body .tutor-meta>span{color:var(--ea-muted)!important}
html body .jws-form-content .lost-pass-link,html body .jws-form-content .register span,html body .jws-form-content a{color:#1B6E53!important}
html body .jws-dir-btn.active{background:var(--ea-em)!important;border-color:var(--ea-em)!important}
html body a.ea-btn[href="#sponsor-form"],html body a.ea-btn[href*="/sponsor"]:not(.ea-btn--ghost):not(.ea-btn--sponsor){background:var(--ea-em);border-color:var(--ea-em);color:#0F2A24!important}
html body a.ea-btn[href="#sponsor-form"]:hover{background:var(--ea-em-d);border-color:var(--ea-em-d)}
html body .tutor-login-wrap .tutor-h3,html body .tutor-login-wrap .tutor-label,html body .tutor-login-wrap .tutor-small,html body .tutor-login-wrap .tutor-form-check-label{color:#fff!important}
html body .tutor-login-wrap .tutor-btn-link-gray{color:var(--ea-muted)!important}
html body .tutor-login-wrap .tutor-btn-link{color:var(--ea-em)!important}
body.single-lesson .tutor-text-subdued,body.single-lesson .tutor-btn-ghost{color:#4F535A!important}

/* صفحة الدرس (منطقة التعلّم في Tutor) بألوان الهوية */
html body .tutor-learning-area,html body .tutor-learning-header,html body .tutor-learning-sidebar,html body .tutor-learning-area-footer,html body .tutor-learning-area .loading-spinner{background:#0F2A24!important;color:var(--ea-muted);border-color:var(--ea-line)!important}
html body .tutor-learning-sidebar-curriculum,html body .tutor-learning-sidebar-pages,html body .tutor-learning-area .tutor-tabs-content{background:#163A32!important;border-color:var(--ea-line)!important}
html body .tutor-learning-nav-item{color:var(--ea-muted)!important;border-color:var(--ea-line)!important}
html body .tutor-learning-nav-item.active,html body .tutor-learning-nav-item:hover{background:#1C463D!important;color:#fff!important}
html body .tutor-learning-area h1,html body .tutor-learning-area h2,html body .tutor-learning-area h3,html body .tutor-learning-area h4,html body .tutor-learning-area h5,html body .tutor-learning-header *{color:#fff}
html body .tutor-learning-area p,html body .tutor-learning-area li,html body .tutor-learning-area .tutor-tabs-content{color:var(--ea-muted)}
body.single-lesson .tutor-learning-area .tutor-text-subdued,body.single-lesson .tutor-learning-area .tutor-btn-ghost{color:var(--ea-muted)!important}
html body .tutor-learning-area .tutor-progress-bar{background:#1C463D!important}

/* رموز ألوان Tutor 4 (الأسطح والنصوص والحدود والعلامة) بألوان الهوية */
html body,html body [data-tutor-theme]{
  --tutor-surface-base:#0F2A24; --tutor-surface-l1:#163A32; --tutor-surface-l1-hover:#1C463D; --tutor-surface-l2:#1C463D; --tutor-surface-l2-hover:#24504A; --tutor-surface-l3:#1C463D; --tutor-surface-sidebar-l1:#0F2A24; --tutor-surface-dark:#0B211C;
  --tutor-text-primary:#FFFFFF; --tutor-text-primary-inverse:#0F2A24; --tutor-text-secondary:#BCD3CB; --tutor-text-subdued:#A8C0B8; --tutor-text-disabled:#6F8B83; --tutor-text-light:#FFFFFF; --tutor-text-highlighted-hover:#FFFFFF;
  --tutor-icon-idle:#BCD3CB; --tutor-icon-idle-inverse:#0F2A24; --tutor-icon-hover:#FFFFFF; --tutor-icon-secondary:#A8C0B8; --tutor-icon-subdued:#8AA59C; --tutor-icon-disabled:#6F8B83;
  --tutor-border-idle:#2B5148; --tutor-border-idle2:#2B5148; --tutor-border-hover:#3A6559; --tutor-border-tertiary:#6F8B83; --tutor-border-dark:#0B211C;
  --tutor-brand-100:#173F36; --tutor-brand-200:#1C463D; --tutor-brand-300:#24504A; --tutor-brand-400:#2FAE85; --tutor-brand-500:#3CC79A; --tutor-brand-600:#3CC79A; --tutor-brand-700:#2FAE85; --tutor-brand-800:#1F7A5C; --tutor-brand-900:#174A3C; --tutor-brand-950:#0F2A24;
}
html body .tutor-learning-area .tutor-learning-progress-text,html body .tutor-learning-area .tutor-learning-progress-text *,html body .tutor-learning-area .tutor-learning-nav-header-title{color:#fff!important}
html body .tutor-learning-nav-item.active::before{background:var(--ea-em)!important}
html body .jws_main_menu .nav li>a,html body .jws_main_menu .nav li>a .menu-item-text{color:#FFFFFF!important}
html body .jws_main_menu .nav li>a:hover,html body .jws_main_menu .nav li.current-menu-item>a,html body .jws_main_menu .nav li.current-menu-item>a .menu-item-text{color:var(--ea-em)!important}
