/* ==========================================================================
   الصفحة الرئيسية للدورات [takreem_courses]
   ========================================================================== */
#wpadminbar, .site-header, #masthead, .entry-header, .elementor-location-header,
.site-footer, .elementor-location-footer, #colophon { display: none !important; }
.gtranslate_wrapper, #gt_float_wrapper, .gt_float_switcher, .gt_switcher_wrapper, .goog-te-banner-frame, iframe.skiptranslate { display: none !important; }
html.tkc-lock, html.tkc-lock body { overflow: hidden !important; height: 100% !important; margin-top: 0 !important; }

#tkc-catalog {
	--navy: #1f3a5f; --navy-d: #14243c; --night: #0e1e33; --gold: #e8b84b; --gold-d: #b9862a;
	--cream: #fbf7ef; --paper: #fff; --line: #e9e2d2; --ink: #22242e; --muted: #6b7a89; --ok: #1e8449; --ok-bg: #eaf7ef;
	--c-ai: #2f6fd6; --c-teaching: #1f9d6b; --c-wellbeing: #d9822b; --c-professional: #7b4fd1;
	position: fixed !important; inset: 0 !important; z-index: 2147482000; width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important;
	background: var(--cream); color: var(--ink); display: flex; flex-direction: column;
	font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; text-align: start;
}
#tkc-catalog[lang="en"] { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 15px; line-height: 1.7; }
#tkc-catalog *, #tkc-catalog *::before, #tkc-catalog *::after { box-sizing: border-box; }
#tkc-catalog h1, #tkc-catalog h2, #tkc-catalog h3, #tkc-catalog p { margin: 0; padding: 0; color: inherit; font-family: inherit; letter-spacing: 0; text-transform: none; }
#tkc-catalog ul, #tkc-catalog ol { margin: 0; padding: 0; list-style: none; }
#tkc-catalog button, #tkc-catalog input { font-family: inherit; }
#tkc-catalog a { color: var(--navy); }
#tkc-catalog :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
#tkc-catalog.tkc-boot { padding: 40px !important; overflow: auto; }

/* الشريط العلوي */
.tkk-top { height: 62px; flex: none; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: linear-gradient(90deg, var(--night), var(--navy)); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.18); z-index: 2; }
.tkk-brand { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #fff !important; min-width: 0; }
.tkk-mark { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: linear-gradient(135deg, var(--gold), var(--gold-d)); flex: none; }
.tkk-brand b { font-size: 15.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; line-height: 1.3; }
.tkk-brand small { font-family: 'Poppins', sans-serif; font-size: 11px; color: #9fb0c8; display: block; line-height: 1.3; }
.tkk-sp { flex: 1; }
.tkk-brand .short { display: none; }
.tkk-lang { display: flex; background: rgba(255,255,255,.1); border-radius: 10px; padding: 3px; }
.tkk-lang button { border: none; background: transparent; color: #c9d4e4; padding: 5px 12px; border-radius: 8px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.tkk-lang button.on { background: #fff; color: var(--navy); }
.tkk-user { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #dfe7f2; }
.tkk-user .av { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; font-weight: 800; }
.tkk-user a { color: #9fb0c8 !important; font-size: 12.5px; text-decoration: none; display: block; line-height: 1.2; }
.tkk-btn-top { white-space: nowrap; flex: none; border-radius: 10px; padding: 8px 16px; font-weight: 800; font-size: 14px; background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: var(--night) !important; text-decoration: none !important; }

.tkk-main { flex: 1; overflow-y: auto; scroll-behavior: smooth; }
.tkk-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* البطل */
.tkk-hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 44px;
	background: radial-gradient(900px 420px at 85% -10%, #2f5b8f 0%, transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--night) 100%); }
.tkk-hero::after { content: '🎓'; position: absolute; font-size: 260px; opacity: .06; inset-inline-end: 4%; bottom: -80px; line-height: 1; }
.tkk-eyebrow { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 800; color: var(--gold); background: rgba(232,184,75,.15); border-radius: 30px; padding: 4px 14px; }
.tkk-hero h1 { font-size: 40px; font-weight: 900; line-height: 1.3; margin: 14px 0 10px !important; max-width: 820px; }
#tkc-catalog[lang="en"] .tkk-hero h1 { font-size: 36px; font-weight: 700; }
.tkk-hero p { font-size: 18px; color: #cdd8e8; max-width: 760px; }
.tkk-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; position: relative; z-index: 1; }
.tkk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; border-radius: 12px; padding: 13px 22px; font-weight: 800; font-size: 15.5px; text-decoration: none !important; cursor: pointer; transition: transform .15s, box-shadow .15s; line-height: 1.3; }
.tkk-btn:hover { transform: translateY(-1px); }
.tkk-btn-g { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: var(--night) !important; box-shadow: 0 8px 18px rgba(185,134,42,.3); }
.tkk-btn-w { background: rgba(255,255,255,.12); color: #fff !important; border: 1px solid rgba(255,255,255,.25); }
.tkk-btn-p { background: linear-gradient(135deg, var(--navy), var(--navy-d)); color: #fff !important; }
.tkk-btn-o { background: var(--paper); color: var(--navy) !important; border: 1.5px solid #cdd6e3; }
.tkk-btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.tkk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; position: relative; z-index: 1; }
.tkk-stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 14px; text-align: center; }
.tkk-stat b { display: block; font-family: 'Poppins', sans-serif; font-size: 26px; color: #fff; line-height: 1.3; }
.tkk-stat span { font-size: 13px; color: #b9c7da; }

/* الأقسام */
.tkk-sec { padding: 40px 0 8px; }
.tkk-h2 { font-size: 25px; font-weight: 900; color: var(--night); display: flex; align-items: center; gap: 10px; margin-bottom: 6px !important; }
.tkk-h2::before { content: ''; width: 6px; height: 26px; border-radius: 4px; background: var(--gold); flex: none; }
.tkk-sub { color: var(--muted); font-size: 15px; margin-bottom: 18px !important; }

/* تابع التعلم */
.tkk-cont { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.tkk-ccard { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-decoration: none !important; color: var(--ink) !important; box-shadow: 0 8px 22px rgba(20,36,60,.06); transition: transform .15s, border-color .15s; }
.tkk-ccard:hover { transform: translateY(-2px); border-color: #c9d4e4; }
.tkk-ccard .ic { width: 52px; height: 52px; flex: none; border-radius: 14px; background: #f3efe5; display: grid; place-items: center; font-size: 26px; }
.tkk-ccard b { display: block; font-size: 15px; line-height: 1.5; color: var(--night); }
.tkk-ccard .go { color: var(--gold-d); font-weight: 800; font-size: 13.5px; }
.tkk-bar { height: 7px; border-radius: 7px; background: #ece7dc; overflow: hidden; margin: 6px 0 4px; }
.tkk-bar i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--gold), var(--gold-d)); }

/* شهاداتي */
.tkk-certs { display: flex; flex-wrap: wrap; gap: 10px; }
.tkk-cert { display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid #bfe3cb; border-radius: 14px; padding: 10px 14px; text-decoration: none !important; color: var(--ink) !important; }
.tkk-cert .ic { font-size: 22px; }
.tkk-cert b { font-size: 14.5px; display: block; line-height: 1.4; }
.tkk-cert small { font-family: 'Poppins', sans-serif; color: var(--ok); font-weight: 700; font-size: 12px; }

/* المسارات */
.tkk-paths { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tkk-path { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; box-shadow: 0 8px 22px rgba(20,36,60,.05); }
.tkk-path .top { display: flex; align-items: center; gap: 10px; }
.tkk-path .top .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, var(--navy), var(--navy-d)); }
.tkk-path h3 { font-size: 17px; font-weight: 900; color: var(--night); line-height: 1.4; }
.tkk-path p { color: #4a5566; font-size: 14px; line-height: 1.7; margin: 10px 0 12px !important; }
.tkk-path ol { counter-reset: s; display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.tkk-path li a { counter-increment: s; display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.45; text-decoration: none !important; color: var(--ink) !important; padding: 6px 8px; border-radius: 9px; background: #faf8f3; }
.tkk-path li a:hover { background: #f1ece0; }
.tkk-path li a::before { content: counter(s); width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #e9e2d2; font-family: 'Poppins', sans-serif; font-size: 11.5px; font-weight: 700; color: var(--navy); }
.tkk-path li a.done::before { content: '✓'; background: var(--ok); color: #fff; }
.tkk-path .pp { font-size: 12.5px; color: var(--muted); margin-top: 10px; font-weight: 700; }

/* التصفية */
.tkk-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.tkk-search { flex: 1; min-width: 240px; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 15px; background: var(--paper); color: var(--ink); }
.tkk-search:focus { outline: none; border-color: var(--navy); }
.tkk-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tkk-chips button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 30px; padding: 8px 15px; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }
.tkk-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* بطاقات الدورات */
.tkk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tkk-card { --cc: var(--navy); position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 26px rgba(20,36,60,.06); transition: transform .18s, box-shadow .18s; }
.tkk-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(20,36,60,.12); }
.tkk-card[data-cat="ai"] { --cc: var(--c-ai); }
.tkk-card[data-cat="teaching"] { --cc: var(--c-teaching); }
.tkk-card[data-cat="wellbeing"] { --cc: var(--c-wellbeing); }
.tkk-card[data-cat="professional"] { --cc: var(--c-professional); }
.tkk-card .band { height: 92px; background: linear-gradient(135deg, var(--cc), color-mix(in srgb, var(--cc) 55%, #0e1e33)); position: relative; }
.tkk-card .band::after { content: attr(data-ic); position: absolute; font-size: 110px; opacity: .14; inset-inline-end: -10px; bottom: -34px; line-height: 1; }
.tkk-card .ic { position: absolute; top: 58px; inset-inline-start: 20px; width: 64px; height: 64px; border-radius: 18px; background: var(--paper); display: grid; place-items: center; font-size: 32px; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.tkk-card .body { padding: 44px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.tkk-card .cat { font-size: 12.5px; font-weight: 800; color: var(--cc); }
.tkk-card h3 { font-size: 18px; font-weight: 900; color: var(--night); line-height: 1.5; margin: 4px 0 8px !important; }
#tkc-catalog[lang="en"] .tkk-card h3 { font-weight: 700; font-size: 17px; }
.tkk-card p { font-size: 14.5px; color: #4a5566; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tkk-card .meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.tkk-card .foot { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 14px; }
.tkk-card .st { flex: 1; min-width: 120px; font-size: 13px; color: var(--muted); font-weight: 700; }
.tkk-card .st.ok { color: var(--ok); }
.tkk-card .st .tkk-bar { margin: 4px 0 0; }
.tkk-empty { text-align: center; color: var(--muted); padding: 30px; display: none; }

/* كيف تعمل + التحقق + الأسئلة */
.tkk-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tkk-step { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 14px; text-align: center; font-size: 14px; color: #4a5566; line-height: 1.65; }
.tkk-step i { display: block; font-style: normal; font-size: 30px; margin-bottom: 6px; }
.tkk-step b { display: block; color: var(--night); font-size: 16px; margin-bottom: 2px; }
.tkk-two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
.tkk-verify { background: linear-gradient(135deg, var(--navy), var(--night)); color: #fff; border-radius: 20px; padding: 24px; }
.tkk-verify h3 { font-size: 19px; font-weight: 900; }
.tkk-verify p { color: #cdd8e8; font-size: 14.5px; margin: 6px 0 14px !important; }
.tkk-verify form { display: flex; gap: 8px; }
.tkk-verify input { flex: 1; min-width: 0; border: none; border-radius: 12px; padding: 12px 14px; font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; direction: ltr; text-align: center; font-size: 15px; }
.tkk-faq { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 8px 20px; }
.tkk-faq details { border-bottom: 1px dashed var(--line); padding: 12px 0; }
.tkk-faq details:last-child { border-bottom: none; }
.tkk-faq summary { cursor: pointer; font-weight: 800; color: var(--night); font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.tkk-faq summary::after { content: '+'; color: var(--gold-d); font-size: 20px; line-height: 1; }
.tkk-faq details[open] summary::after { content: '–'; }
.tkk-faq details p { color: #4a5566; font-size: 14.5px; margin-top: 8px !important; }

.tkk-footer { margin-top: 44px; background: var(--night); color: #9fb0c8; text-align: center; padding: 22px 16px; font-size: 13px; }
.tkk-footer a { color: #cdd8e8 !important; }

@media (max-width: 900px) {
	.tkk-stats, .tkk-steps { grid-template-columns: 1fr 1fr; }
	.tkk-two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.tkk-top { padding: 0 12px; gap: 8px; }
	.tkk-brand small, .tkk-user .nm, .tkk-user a { display: none; }
	.tkk-brand b { max-width: 34vw; font-size: 13.5px; }
	.tkk-btn-top { padding: 7px 11px; font-size: 13px; }
	.tkk-brand .full { display: none; }
	.tkk-brand .short { display: inline; }
	.tkk-mark { width: 34px; height: 34px; font-size: 17px; }
	.tkk-wrap { padding: 0 16px; }
	.tkk-hero { padding: 36px 0 30px; }
	.tkk-hero h1, #tkc-catalog[lang="en"] .tkk-hero h1 { font-size: 27px; }
	.tkk-hero p { font-size: 16px; }
	.tkk-grid, .tkk-cont, .tkk-paths { grid-template-columns: 1fr; }
	.tkk-h2 { font-size: 21px; }
	.tkk-verify form { flex-direction: column; }
}

/* عزل خطوط القالب: بعض القوالب تفرض الخط المائل على العناوين */
#tkc-catalog h1, #tkc-catalog h2, #tkc-catalog h3, #tkc-catalog h4, #tkc-catalog p, #tkc-catalog a, #tkc-catalog span, #tkc-catalog b, #tkc-catalog li, #tkc-catalog button, #tkc-catalog small, #tkc-catalog summary { font-style: normal !important; }
#tkc-catalog h1::before, #tkc-catalog h1::after, #tkc-catalog h2::after, #tkc-catalog h3::before, #tkc-catalog h3::after { border: 0; }
