/**
 * LTrack Brand Polish v1.0.0 — ألوان هوية ليرنينج تراك
 * كحلي #0F2B5C · برتقالي #FF8A1F · تركواز #1D8A99 · فاتح #E8F8F9
 */
:root {
  --ltk-navy: #0F2B5C;
  --ltk-navy-2: #12295C;
  --ltk-orange: #FF8A1F;
  --ltk-orange-d: #E67A00;
  --ltk-teal: #1D8A99;
  --ltk-light: #E8F8F9;
  --ltk-bg: #F8FAFC;
  --ltk-gray: #D9DEE8;
  --ltk-slate: #46506B;
}

/* ---------- لمسات عامة آمنة ---------- */
::selection { background: var(--ltk-orange); color: #fff; }
html { scroll-behavior: smooth; }
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(29,138,153,.55); outline-offset: 1px; }

/* ---------- صفحة الأسئلة الشائعة ---------- */
body.page-id-344 { background: #F4F7FB; }
.ltk-faq-wrap { max-width: 860px; margin: 0 auto; padding: 34px 16px 40px; }

/* هيرو الصفحة (القالب لا يعرض العنوان في هذا التمبلت) */
.ltk-faq-hero {
  background: linear-gradient(135deg, #0F2B5C 0%, #16386F 55%, #1B447F 100%);
  border-radius: 18px; padding: 38px 30px 34px; text-align: center;
  margin-bottom: 30px; position: relative; overflow: hidden;
}
.ltk-faq-hero::before {
  content: ''; position: absolute; inset-inline-start: -60px; top: -60px;
  width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 138, 31, .16);
}
.ltk-faq-hero::after {
  content: ''; position: absolute; inset-inline-end: -40px; bottom: -70px;
  width: 170px; height: 170px; border-radius: 50%; background: rgba(29, 138, 153, .22);
}
.ltk-faq-hero .ltk-hero-tag {
  display: inline-block; background: rgba(255,255,255,.14); color: #E8F8F9;
  border: 1px solid rgba(255,255,255,.28); padding: 6px 16px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700; margin-bottom: 14px; position: relative;
}
.ltk-faq-hero h1 { color: #fff; font-size: 34px; line-height: 1.4; margin: 0 0 10px; position: relative; }
.ltk-faq-hero p { color: #D9DEE8; font-size: 16.5px; line-height: 1.9; margin: 0 auto; max-width: 580px; position: relative; }
@media (max-width: 600px) {
  .ltk-faq-hero { padding: 28px 18px; border-radius: 14px; }
  .ltk-faq-hero h1 { font-size: 26px; }
}
.ltk-faq-intro {
  font-size: 17px; line-height: 2; color: var(--ltk-slate);
  background: var(--ltk-bg); border-inline-start: 4px solid var(--ltk-orange);
  padding: 16px 20px; border-radius: 12px; margin: 0 0 26px;
}
.ltk-faq-gtitle {
  color: var(--ltk-navy); font-size: 23px; line-height: 1.5;
  margin: 32px 0 16px; padding-inline-start: 13px;
  border-inline-start: 5px solid var(--ltk-orange);
}
.ltk-faq-q {
  background: #fff; border: 1px solid var(--ltk-gray); border-radius: 13px;
  margin-bottom: 12px; overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.ltk-faq-q:hover { border-color: var(--ltk-teal); }
.ltk-faq-q[open] { border-color: var(--ltk-teal); box-shadow: 0 6px 18px rgba(18, 41, 92, .08); }
.ltk-faq-q summary {
  cursor: pointer; list-style: none; padding: 16px 52px 16px 18px;
  font-weight: 700; color: var(--ltk-navy); font-size: 17px; line-height: 1.7;
  position: relative; min-height: 58px; display: flex; align-items: center;
}
.ltk-faq-q summary::-webkit-details-marker { display: none; }
.ltk-faq-q summary::after {
  content: '+'; position: absolute; inset-inline-end: 16px; top: 50%;
  transform: translateY(-50%); width: 27px; height: 27px; border-radius: 50%;
  background: var(--ltk-light); color: var(--ltk-navy); font-size: 18px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.ltk-faq-q[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ltk-orange); color: #fff; }
.ltk-faq-a { padding: 2px 18px 18px; color: var(--ltk-slate); line-height: 2; font-size: 16px; }
.ltk-faq-a p, .ltk-faq-intro, .ltk-cta-box p { margin-bottom: 10px; }
.ltk-faq-a p:last-child { margin-bottom: 0; }
.ltk-faq-a a { color: var(--ltk-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ltk-faq-a a:hover { color: var(--ltk-navy); }

/* صندوق الدعوة للتواصل */
.ltk-cta-box {
  margin-top: 34px; text-align: center; border-radius: 16px; padding: 30px 26px;
  background: linear-gradient(135deg, var(--ltk-navy) 0%, #16386F 55%, #1B447F 100%);
}
.ltk-cta-box h3 { color: #fff; font-size: 22px; margin: 0 0 8px; }
.ltk-cta-box p { color: #D9DEE8; margin: 0 0 18px; }
.ltk-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.ltk-btn-primary, .ltk-btn-ghost {
  display: inline-block; font-weight: 700; border-radius: 999px;
  text-decoration: none; transition: background .2s ease, transform .2s ease;
}
.ltk-btn-primary { background: var(--ltk-orange); color: #fff; padding: 12px 28px; }
.ltk-btn-primary:hover { background: var(--ltk-orange-d); transform: translateY(-1px); color: #fff; }
.ltk-btn-ghost { border: 2px solid rgba(255,255,255,.55); color: #fff; padding: 10px 26px; }
.ltk-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 600px) {
  .ltk-cta-actions a { width: 100%; box-sizing: border-box; text-align: center; }
  .ltk-faq-q summary { font-size: 16px; }
}

/* ---------- المدونة (أرشيف prespa) — تحسين بطاقات ---------- */
.blog .hentry, .archive .hentry, .single-post .hentry {
  background: #fff; border: 1px solid var(--ltk-gray); border-radius: 14px;
  padding: 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog .hentry:hover, .archive .hentry:hover {
  transform: translateY(-3px); box-shadow: 0 10px 24px rgba(18, 41, 92, .09); border-color: var(--ltk-teal);
}
.blog .entry-title a, .archive .entry-title a { color: var(--ltk-navy); }
.blog .entry-title a:hover, .archive .entry-title a:hover { color: var(--ltk-orange); }
.blog .cat-links a, .archive .cat-links a {
  display: inline-block; background: var(--ltk-light); color: var(--ltk-navy);
  padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600;
}

/* ============================================================
   PHASE 2 — WooCommerce / Tutor surfaces (v2.0.0)
   المتجر · المنتج · السلة · الدفع · الحساب · الدخول · ميني كارت
   ============================================================ */

/* ---------- الأزرار: برتقالي الهوية للأزرار الأساسية ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce a.add_to_cart_button,
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order,
.woocommerce .wc-forward,
.woocommerce .checkout-button {
  background: var(--ltk-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 12px 26px !important;
  line-height: 1.7 !important;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #place_order:hover,
.woocommerce .wc-forward:hover,
.woocommerce .checkout-button:hover {
  background: var(--ltk-orange-d) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(230, 122, 0, .30);
}
.woocommerce .single_add_to_cart_button,
.woocommerce #place_order { width: 100%; text-align: center; font-size: 1.02em; }

/* ---------- أرشيف المتجر: كروت منتجات ---------- */
.woocommerce ul.products { margin: 0; }
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid var(--ltk-gray);
  border-radius: 16px;
  padding: 14px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: var(--ltk-teal);
  box-shadow: 0 12px 28px rgba(18, 41, 92, .10);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--ltk-navy);
  font-weight: 800;
  padding: 6px 6px 0;
}
.woocommerce ul.products li.product .price {
  color: var(--ltk-teal);
  font-weight: 800;
  padding: 0 6px;
}
.woocommerce ul.products li.product .price del { color: #98A2B3; opacity: 1; font-weight: 500; }
.woocommerce span.onsale {
  background: var(--ltk-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 14px;
  min-width: auto;
  min-height: auto;
  line-height: 1.7;
  top: 14px; inset-inline-end: 14px; inset-inline-start: auto; left: auto; right: auto;
}
.woocommerce .star-rating span::before { color: #FFB800; }
.woocommerce .products .star-rating { margin: 0 6px 4px; }

/* ---------- صفحة المنتج الواحد ---------- */
.single-product div.product .product_title { color: var(--ltk-navy); font-weight: 800; }
.single-product div.product p.price { color: var(--ltk-teal); font-weight: 800; font-size: 1.45em; }
.single-product div.product p.price del { color: #98A2B3; font-size: .72em; opacity: 1; font-weight: 500; }
.woocommerce div.product form.cart { gap: 10px; }
.woocommerce div.product form.cart div.quantity .qty {
  border: 1px solid var(--ltk-gray);
  border-radius: 999px;
  padding: 10px 14px;
  height: auto;
}
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  margin-inline-end: 14px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--ltk-slate); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--ltk-orange);
  background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ltk-navy); }

/* ---------- السلة والدفع: جداول وملخص ---------- */
.woocommerce table.shop_table {
  border: 1px solid var(--ltk-gray);
  border-radius: 14px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.woocommerce table.shop_table thead th {
  background: var(--ltk-navy);
  color: #fff;
  border: none;
  font-weight: 700;
}
.woocommerce table.shop_table td { border-top: 1px solid #EDF0F5; }
.woocommerce-cart .cart_totals h2,
.woocommerce-billing-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading { color: var(--ltk-navy); font-weight: 800; }
.woocommerce-checkout #order_review {
  background: #fff;
  border: 1px solid var(--ltk-gray);
  border-radius: 16px;
  padding: 20px;
}
.woocommerce-checkout #order_review table.shop_table { border: none; }
.woocommerce-checkout #payment {
  background: var(--ltk-bg);
  border-radius: 14px;
  border: 1px solid var(--ltk-gray);
}
.woocommerce-checkout #payment div.payment_box {
  background: #fff;
  border: 1px solid var(--ltk-gray);
  border-radius: 10px;
  color: var(--ltk-slate);
}
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--ltk-gray); }
.woocommerce-checkout form.woocommerce-checkout input.input-text,
.woocommerce-checkout form.woocommerce-checkout .select2-selection--single {
  border: 1px solid var(--ltk-gray) !important;
  border-radius: 10px !important;
  padding: 10px 12px;
}
.woocommerce-checkout form.woocommerce-checkout input.input-text:focus {
  border-color: var(--ltk-teal) !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 138, 153, .15);
}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  color: var(--ltk-slate);
  font-size: 14.5px;
  line-height: 1.9;
}

/* ---------- صفحة الحساب ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--ltk-gray);
  border-radius: 14px;
  overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid #EDF0F5; }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 12px 16px;
  color: var(--ltk-navy);
  font-weight: 600;
  border-inline-start: 3px solid transparent;
  transition: background .2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: var(--ltk-bg); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  border-inline-start-color: var(--ltk-orange);
  background: var(--ltk-bg);
}
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--ltk-gray);
  border-radius: 14px;
  padding: 22px;
}
.woocommerce-account .woocommerce-MyAccount-content p { line-height: 2; }

/* ---------- فورمات الدخول والتسجيل (Tutor + WooCommerce) ---------- */
.tutor-card {
  border-radius: 16px !important;
  border: 1px solid var(--ltk-gray) !important;
  box-shadow: 0 8px 26px rgba(18, 41, 92, .07) !important;
}
.tutor-btn-primary {
  background: var(--ltk-orange) !important;
  border-color: var(--ltk-orange) !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  transition: background .2s ease !important;
}
.tutor-btn-primary:hover { background: var(--ltk-orange-d) !important; border-color: var(--ltk-orange-d) !important; }
.tutor-form-control {
  border: 1px solid var(--ltk-gray) !important;
  border-radius: 10px !important;
}
.tutor-form-control:focus {
  border-color: var(--ltk-teal) !important;
  box-shadow: 0 0 0 3px rgba(29, 138, 153, .15) !important;
}
.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid var(--ltk-gray) !important;
  border-radius: 14px !important;
  padding: 24px !important;
}

/* ---------- ميني كارت الهيدر ---------- */
.site-header-cart .cart-contents-count {
  background: var(--ltk-orange);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}
.shopping-cart-additional-info .widget_shopping_cart,
.woocommerce.widget_shopping_cart {
  border-radius: 14px;
  border: 1px solid var(--ltk-gray);
  box-shadow: 0 14px 34px rgba(18, 41, 92, .14);
}
.woocommerce.widget_shopping_cart p.woocommerce-mini-cart__total.total {
  border-top: 1px dashed var(--ltk-gray);
  color: var(--ltk-navy);
  font-weight: 700;
}

/* ---------- إشعارات المتجر ---------- */
.woocommerce-message { border-top-color: var(--ltk-teal); }
.woocommerce-message::before { color: var(--ltk-teal); }
.woocommerce-info { border-top-color: var(--ltk-navy); }
.woocommerce-info::before { color: var(--ltk-navy); }

/* ---------- صفحة تأكيد الطلب (Thank You) ---------- */
.woocommerce-order-received .woocommerce-order {
  background: #fff;
  border: 1px solid var(--ltk-gray);
  border-radius: 16px;
  padding: 26px;
}
.woocommerce-order-received .woocommerce-order h2 { color: var(--ltk-navy); }
.woocommerce-order-received ul.order_details { border: 1px dashed var(--ltk-gray); border-radius: 10px; }

/* ============================================================
   PHASE 2.1 — شريط وسائل الدفع في الفوتر (v2.1.0)
   ============================================================ */
/* v2.2.2: match the REAL footer bg (#06172F — the child theme's dark navy,
   overrides style#32's #0F2B5C). Measured from user screenshot: footer #071730
   ≈ #06172F, strip was #0F2B5C (lighter) → user wants identical colors. */
.ltk-pay-strip {
  width: 100%; box-sizing: border-box;
  margin: 0; padding: 6px 16px 26px;
  background: #06172F;
  text-align: center;
}
.ltk-pay-label {
  color: #D9DEE8; font-size: 14.5px; font-weight: 700;
  margin: 0 0 12px; letter-spacing: .2px;
}
.ltk-pay-list {
  list-style: none !important;
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; align-items: center;
  padding: 0 !important; margin: 0 !important;
}
.ltk-pay-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; float: none !important; }
.ltk-pay-list li::before, .ltk-pay-list li::after { display: none !important; }
.ltk-pay-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff; border-radius: 10px;
  min-width: 64px; height: 40px; padding: 8px 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
  font-size: 14px; font-weight: 800; color: #0F2B5C;
  line-height: 1; direction: ltr; white-space: nowrap;
  transition: transform .2s ease;
}
.ltk-pay-pill:hover { transform: translateY(-2px); }
.ltk-pay-pill .ar { direction: rtl; font-size: 15px; }
.ltk-pay-pill .sub { font-size: 10.5px; font-weight: 700; color: #6B7280; }
.ltk-pay-pill svg { flex: 0 0 auto; }
@media (max-width: 600px) {
  .ltk-pay-pill { min-width: 56px; height: 36px; padding: 6px 11px; font-size: 13px; }
}

/* ============================================================
   v2.3.2 — Remove testimonials carousel (user request 2026-10-29)
   The carousel is JS-injected at runtime after the license-entity
   block (source lives inside Elementor homepage HTML widget).
   Hiding the injected .lt-testimonial-card removes the whole
   visible section; deactivate ltk-brand to restore it.
   ============================================================ */
.lt-testimonial-card { display: none !important; }

/* ============================================================
   v2.3.3 — Hide header CTA "استعراض الدورات" on DESKTOP only
   (user request 2026-10-30). Prespa breakpoint: 54rem (864px);
   below it the button lives in the mobile slide-menu and stays.
   ============================================================ */
@media (min-width: 54rem) {
  .call-to-action { display: none !important; }
}

/* ============================================================
   v2.3.4 — Policy pages cleanup (user request 2026-10-31, screenshot)
   Task 24 embedded <style>.entry-title{display:none}</style> inside
   post_content; WP stripped that tag on pages 78/108 and the raw CSS
   leaked as visible text AND into the Rank Math meta description.
   Content fix applied server-side (local backups: backup_post_*_leaked.html).
   The ORIGINAL intent (hide the theme's duplicate page title) is
   restored here as proper CSS instead:
   - 77/79: their intact style tag already hid the title -> same look,
     but no longer a time-bomb waiting for the next editor save.
   - 78/108: whole entry-header hidden = breadcrumb line the user
     circled + duplicate h1 (content carries its own styled h2).
   Deactivate ltk-brand to restore everything.
   ============================================================ */
body.page-id-77 .entry-title,
body.page-id-79 .entry-title { display: none !important; }

body.page-id-78 .entry-header,
body.page-id-108 .entry-header { display: none !important; }

/* ============================================================
   v2.4.0 — أيقونات عناصر قائمة الهيدر (طلب المستخدم 2026-10-31، صورة)
   SVG inline masks عبر ::before على روابط قائمة menu-29 الستة:
   92 الرئيسية · 95 طلب استشارة · 184 تواصل معنا · 96 من نحن
   345 الأسئلة الشائعة · 278 السياسات
   - mask + currentColor ⇒ الأيقونة تتبع لون النص (عادي/هوفر/حالي)
   - تظهر في قائمة الدسكتوب وقائمة الموبايل (نفس كلاسات العناصر)
   - الثيم يستخدم a:after للأسهم فقط (عناصر بأبناء) ⇒ لا تعارض
   - @supports ⇒ المتصفحات القديمة جداً ترى القائمة كما هي بلا أيقونات
   التراجع: إيقاف ltk-brand أو حذف هذه الكتلة.
   ============================================================ */
@supports ((mask-image: none) or (-webkit-mask-image: none)) {
  .site-menu li.menu-item-92 > a::before,
  .site-menu li.menu-item-95 > a::before,
  .site-menu li.menu-item-184 > a::before,
  .site-menu li.menu-item-96 > a::before,
  .site-menu li.menu-item-345 > a::before,
  .site-menu li.menu-item-278 > a::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-inline-end: 7px;
    vertical-align: -2px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
  }
  /* 92 الرئيسية — بيت */
  .site-menu li.menu-item-92 > a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z'/%3E%3C/svg%3E");
  }
  /* 95 طلب استشارة — سماعة دعم */
  .site-menu li.menu-item-95 > a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-9 9v7c0 1.1.9 2 2 2h4v-8H5v-1a7 7 0 1 1 14 0v1h-4v8h4c1.1 0 2-.9 2-2v-7a9 9 0 0 0-9-9z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 0 0-9 9v7c0 1.1.9 2 2 2h4v-8H5v-1a7 7 0 1 1 14 0v1h-4v8h4c1.1 0 2-.9 2-2v-7a9 9 0 0 0-9-9z'/%3E%3C/svg%3E");
  }
  /* 184 تواصل معنا — ظرف */
  .site-menu li.menu-item-184 > a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  }
  /* 96 من نحن — معلومات */
  .site-menu li.menu-item-96 > a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
  }
  /* 345 الأسئلة الشائعة — علامة استفهام */
  .site-menu li.menu-item-345 > a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41a2 2 0 1 0-4 0H8a4 4 0 1 1 8 0c0 .88-.36 1.68-.93 2.25z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41a2 2 0 1 0-4 0H8a4 4 0 1 1 8 0c0 .88-.36 1.68-.93 2.25z'/%3E%3C/svg%3E");
  }
  /* 278 السياسات — درع */
  .site-menu li.menu-item-278 > a::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V5l-8-3z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5.55 3.84 10.74 8 12 4.16-1.26 8-6.45 8-12V5l-8-3z'/%3E%3C/svg%3E");
  }
}

/* ============================================================
   v2.5.0 — هيرو صفحة "تواصل معنا" (91) بنمط تصميم المستخدم
   (صورة 2026-10-31): خلفية كحلية بحافة سفلية مائلة + العنوان
   داخل شكل بيضاوي بحد أبيض + شريط أبيض مائل.
   CSS فقط على كونتينر Elementor الأول (3aae217) الذي يحتوي
   العنوان والنص التعريفي — صفر تعديل على محتوى Elementor،
   نص العنوان يبقى كما هو (لا تكرار). الصفحة مبنية Elementor
   (elementor_header_footer) بلا entry-header أصلاً.
   التراجع: إيقاف ltk-brand أو حذف هذه الكتلة.
   ============================================================ */
body.page-id-91 { overflow-x: hidden; overflow-x: clip; }
/* الكونتينر الأول = الهيرو: امتداد كامل عرض الشاشة */
body.page-id-91 .elementor-element-3aae217 {
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw) !important;
  padding: 64px 20px 150px !important;
  text-align: center;
}
/* طبقة كحلية بحافة سفلية مائلة (أعمق يساراً كما في التصميم) */
body.page-id-91 .elementor-element-3aae217::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, #0F2B5C 0%, #16386F 55%, #1B447F 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 150px), 0 100%);
}
/* الشريط الأبيض المائل فوق الحافة */
body.page-id-91 .elementor-element-3aae217::after {
  content: '';
  position: absolute; z-index: 1;
  inset-inline: -12%;
  bottom: -40px;
  height: 150px;
  background: #fff;
  transform: rotate(-6deg);
}
/* المحتوى فوق الطبقتين */
body.page-id-91 .elementor-element-3aae217 > .e-con-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 100%;
}
/* العنوان داخل البيضاوي بحد أبيض */
body.page-id-91 .elementor-element-3aae217 .elementor-widget-heading {
  text-align: center !important;
  width: 100% !important;
}
body.page-id-91 .elementor-element-3aae217 .elementor-heading-title {
  display: inline-block !important;
  color: #fff !important;
  background: rgba(255, 255, 255, .05);
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  padding: 14px 56px !important;
  font-size: clamp(26px, 4vw, 40px) !important;
  font-weight: 800 !important;
  line-height: 1.6 !important;
  margin: 0 0 16px !important;
}
/* النص التعريفي بلون فاتح فوق الكحلي */
body.page-id-91 .elementor-element-3aae217 .elementor-widget-text-editor,
body.page-id-91 .elementor-element-3aae217 .elementor-widget-text-editor * {
  color: #D9DEE8 !important;
  text-align: center;
}
@media (max-width: 600px) {
  body.page-id-91 .elementor-element-3aae217 { padding: 46px 14px 120px !important; }
  body.page-id-91 .elementor-element-3aae217 .elementor-heading-title { padding: 11px 34px !important; }
}

/* ===== v2.5.1 — إخفاء تاب التقييمات في صفحات الدورات (Tutor LMS) =====
   الرابط يُخفى في كل المتصفحات؛ العنصر li كاملاً عبر :has() في المتصفحات
   الحديثة (القديمة تتجاهل القاعدة فبقى li فارغ غير مرئي)؛ البانل يُخفى كلياً. */
#tutor-course-details-tab-wrapper a[data-tutor-nav-target="tutor-course-details-tab-reviews"] { display: none !important; }
#tutor-course-details-tab-wrapper li.tutor-nav-item:has(> a[data-tutor-nav-target="tutor-course-details-tab-reviews"]) { display: none !important; }
#tutor-course-details-tab-wrapper #tutor-course-details-tab-reviews { display: none !important; }

/* ============================================================
   v2.6.0 — Task 32: mada / tabby / tamara real brand logo chips
   (inline SVG from ltk-brand.php) instead of text pills.
   The pill container goes transparent; the SVG chip itself
   carries the rounded card + shadow (drop-shadow follows shape).
   ============================================================ */
.ltk-pay-pill.ltk-pay-logo {
  background: transparent; min-width: 0; padding: 0;
  box-shadow: none; gap: 0; height: auto;
}
.ltk-pay-logo svg {
  display: block; height: 38px; width: auto;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, .18));
}
.ltk-pay-logo .lt-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
@media (max-width: 600px) {
  .ltk-pay-logo svg { height: 33px; }
}

/* ============================================================
   v3.3.1 — التذييل المدمج (Footer v2): بديل فوتر القالب + شريط الدفع القديم.
   تصميم كحلي مدمج (بدون إطار — حُذف الإطار البرتقالي بناءً على طلب العميل):
   أيقونات التواصل بخطين زخرفيين، وسائل الدفع بصف واحد،
   روابط السياسات، وسطر حقوق النشر.
   ============================================================ */
#colophon.site-footer{display:none!important}
.ltkb-footer-v2{display:block;background:#06172F;padding:12px;direction:rtl}
.ltkb-footer-v2 .ltkb-f-box{border-radius:18px;padding:16px 16px 13px;max-width:1280px;margin:0 auto}
.ltkb-f-social{display:flex;align-items:center;justify-content:center;gap:14px;margin:0 0 14px}
.ltkb-f-line{flex:1;height:1px;background:rgba(255,255,255,.22)}
.ltkb-f-social a{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#13253F;color:#fff;transition:transform .15s ease,background .15s ease}
.ltkb-f-social a:hover{background:#FF8A1F;transform:translateY(-2px)}
.ltkb-f-social svg{width:19px;height:19px;fill:currentColor;flex:0 0 auto}
.ltkb-f-paylabel{color:#D9DEE8;text-align:center;font-size:13.5px;font-weight:700;margin:0 0 10px;letter-spacing:.2px}
.ltkb-f-pays{list-style:none!important;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;padding:0!important;margin:0!important}
.ltkb-f-pays li{margin:0!important;padding:0!important;list-style:none!important;float:none!important}
.ltkb-f-pays li::before,.ltkb-f-pays li::after{display:none!important}
.ltkb-f-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:#fff;border-radius:9px;min-width:54px;height:34px;padding:6px 12px;font-size:12.5px;font-weight:800;color:#0F2B5C;line-height:1;direction:ltr;white-space:nowrap;transition:transform .2s ease}
.ltkb-f-pill:hover{transform:translateY(-2px)}
.ltkb-f-pill svg{flex:0 0 auto}
.ltkb-f-pill .sub{font-size:10px;font-weight:700;color:#6B7280}
.ltkb-f-pill b{font-weight:800}
.ltkb-f-pill.ltkb-f-logo{background:transparent;padding:0;min-width:0;border-radius:0}
.ltkb-f-pill.ltkb-f-logo svg{height:22px;width:auto;display:block}
.ltkb-f-div{height:1px;background:rgba(255,255,255,.16);margin:14px 0 12px}
.ltkb-f-links{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 10px}
.ltkb-f-links a{color:#E8ECF4;font-size:13.5px;font-weight:600;text-decoration:none!important;transition:color .15s ease}
.ltkb-f-links a:hover{color:#FF8A1F}
.ltkb-f-links .sep{color:rgba(255,255,255,.35);font-size:12px;line-height:1}
.ltkb-f-copy{color:rgba(255,255,255,.72);text-align:center;font-size:13px;font-weight:500;margin:0;letter-spacing:.2px}
@media (max-width:600px){
  .ltkb-footer-v2{padding:9px}
  .ltkb-footer-v2 .ltkb-f-box{padding:14px 12px 11px;border-radius:15px}
  .ltkb-f-social a{width:36px;height:36px}
  .ltkb-f-pill{height:30px;padding:4px 9px;font-size:11.5px;min-width:48px}
  .ltkb-f-pill.ltkb-f-logo svg{height:19px}
  .ltkb-f-links{gap:10px}
  .ltkb-f-links a{font-size:12.5px}
}
