/* ==========================================================================
   Lugmio | لوجميو — Main stylesheet
   60% خلفيات فاتحة • 30% بنفسجي وتركواز • 10% أصفر ومرجاني
   ========================================================================== */
:root {
	--lg-purple: #7057E8;  --lg-purple-d: #5240C4;
	--lg-teal: #26C6BC;    --lg-teal-d: #1A9890;
	--lg-yellow: #FFD166;  --lg-yellow-d: #E3AE3A;
	--lg-coral: #FF7D87;   --lg-coral-d: #E2545F;
	--lg-bg: #F7F5FF;      --lg-lav: #EAE4FF;   --lg-navy: #252344;
	--lg-muted: #6E6A91;   --lg-line: #E3DDFA;  --lg-white: #fff;
	--lg-radius: 24px;     --lg-radius-sm: 16px;
	--lg-shadow: 0 6px 0 var(--lg-line);
	--lg-soft-shadow: 0 18px 40px -18px rgba(112, 87, 232, .35);
	--lg-font: 'Rubik', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
	--lg-font-head: 'Lemonada', 'Rubik', system-ui, sans-serif;
}

/* ───── Base ───── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--lg-font); font-size: 18px; line-height: 1.8; color: var(--lg-navy); background: var(--lg-bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--lg-purple); text-decoration: none; }
a:hover { color: var(--lg-purple-d); }
h1, h2, h3, h4 { font-family: var(--lg-font-head); line-height: 1.5; font-weight: 700; margin: 0 0 .4em; color: var(--lg-navy); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lg-teal); outline-offset: 3px; border-radius: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; inset-block-start: 10px; inset-inline-start: 10px; z-index: 1000; background: var(--lg-white); padding: 10px 16px; border-radius: 12px; }
.lg-container { width: min(1200px, 100% - 40px); margin-inline: auto; position: relative; z-index: 1; }
.lg-container--narrow { width: min(800px, 100% - 40px); }
.lg-main { min-height: 50vh; }

/* ───── Buttons (3D chunky — زي المنصة) ───── */
.lg-btn { --b: var(--lg-purple); --bd: var(--lg-purple-d); --t: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border-radius: 18px; border: 0; cursor: pointer;
	background: var(--b); color: var(--t); font: 700 17px/1.4 var(--lg-font);
	box-shadow: 0 5px 0 var(--bd); transition: transform .08s, box-shadow .08s, filter .15s; white-space: nowrap; }
.lg-btn:hover { color: var(--t); filter: brightness(1.05); }
.lg-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--bd); }
.lg-btn--lg { padding: 15px 30px; font-size: 19px; border-radius: 20px; }
.lg-btn--teal { --b: var(--lg-teal); --bd: var(--lg-teal-d); }
.lg-btn--yellow { --b: var(--lg-yellow); --bd: var(--lg-yellow-d); --t: var(--lg-navy); }
.lg-btn--coral { --b: var(--lg-coral); --bd: var(--lg-coral-d); }
.lg-btn--ghost { --b: #fff; --bd: var(--lg-line); --t: var(--lg-navy); border: 2px solid var(--lg-line); }
.lg-btn--white { --b: #fff; --bd: rgba(37,35,68,.25); --t: var(--lg-purple); }
.wp-block-button__link { box-shadow: 0 5px 0 var(--lg-purple-d); }

/* ───── Header ───── */
.lg-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 245, 255, .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 2px solid transparent; transition: border-color .2s, box-shadow .2s; }
.admin-bar .lg-header { top: 32px; }
.lg-header.is-scrolled { border-color: var(--lg-line); box-shadow: 0 8px 24px -16px rgba(37,35,68,.25); }
.lg-header__inner { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.lg-header__brand img, .custom-logo { height: 48px; width: auto; display: block; }
.lg-nav { flex: 1; }
.lg-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.lg-menu a { display: block; padding: 8px 14px; border-radius: 14px; color: var(--lg-navy); font-weight: 700; font-size: 16px; }
.lg-menu a:hover, .lg-menu .current-menu-item > a { background: var(--lg-lav); color: var(--lg-purple); }
.lg-menu .sub-menu { list-style: none; padding: 8px; margin: 0; position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--lg-soft-shadow); display: none; min-width: 200px; }
.lg-menu li { position: relative; }
.lg-menu li:hover > .sub-menu, .lg-menu li:focus-within > .sub-menu { display: block; }
.lg-header__actions { display: flex; gap: 10px; align-items: center; }
.lg-burger { display: none; width: 48px; height: 48px; border-radius: 14px; border: 2px solid var(--lg-line); background: #fff; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.lg-burger span { display: block; height: 3px; border-radius: 3px; background: var(--lg-navy); transition: transform .2s, opacity .2s; }
.lg-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.lg-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lg-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.lg-only-mobile { display: none; }

/* ───── Shared section pieces ───── */
.lg-section { position: relative; padding: 90px 0; }
.lg-section--tight { padding: 50px 0 80px; }
.lg-section--white { background: #fff; }
.lg-section--lav { background: var(--lg-lav); }
.lg-section--soft { background: var(--lg-bg); }
.lg-wave { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; height: 70px; display: block; pointer-events: none; }
.lg-wave--flip { top: -1px; bottom: auto; transform: scaleY(-1); }
.lg-footer .lg-wave--flip { position: relative; transform: none; top: 1px; margin-top: 0; }
.lg-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.lg-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.lg-head p { color: var(--lg-muted); font-size: 19px; }
.lg-kicker { display: inline-block; background: #fff; color: var(--lg-purple); border: 2px solid var(--lg-line); border-radius: 999px; padding: 4px 16px; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.lg-section--white .lg-kicker { background: var(--lg-bg); }
.lg-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--lg-lav); color: var(--lg-purple); border-radius: 999px; padding: 2px 12px; font-weight: 800; font-size: 14px; }
.lg-sparks { width: 60px; height: 40px; }

/* ───── Hero ───── */
.lg-hero { position: relative; padding: 60px 0 130px; background:
	radial-gradient(600px 400px at 10% 20%, rgba(38,198,188,.14), transparent 70%),
	radial-gradient(700px 500px at 90% 10%, rgba(112,87,232,.14), transparent 70%), var(--lg-bg); overflow: hidden; }
.lg-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.lg-eyebrow { display: inline-block; background: var(--lg-yellow); color: var(--lg-navy); font-weight: 800; border-radius: 999px; padding: 4px 16px; font-size: 15px; box-shadow: 0 4px 0 var(--lg-yellow-d); margin-bottom: 18px; }
.lg-hero__title { font-size: clamp(36px, 5vw, 60px); line-height: 1.35; margin: 0 0 18px; position: relative; color: var(--lg-navy); }
.lg-hero__sparks { position: absolute; inset-block-start: -34px; inset-inline-start: -8px; width: 64px; }
.lg-hero__sub { font-size: 21px; color: var(--lg-muted); max-width: 540px; }
.lg-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.lg-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; flex-wrap: wrap; }
.lg-stats li { background: #fff; border: 2px solid var(--lg-line); border-radius: 18px; padding: 8px 18px; text-align: center; min-width: 96px; box-shadow: var(--lg-shadow); }
.lg-stats b { display: block; font-size: 28px; line-height: 1.2; color: var(--lg-purple); }
.lg-stats li:nth-child(2) b { color: var(--lg-teal); }
.lg-stats li:nth-child(3) b { color: var(--lg-coral); }
.lg-stats li:nth-child(4) b { color: var(--lg-yellow-d); }
.lg-stats span { font-size: 14px; color: var(--lg-muted); font-weight: 700; }
.lg-hero__art { position: relative; }
.lg-blob { position: absolute; inset: 4% 2% 0; background: linear-gradient(135deg, var(--lg-lav), #DDF7F5); border-radius: 46% 54% 43% 57% / 52% 42% 58% 48%; animation: lg-morph 12s ease-in-out infinite; }
.lg-hero__img { position: relative; display: block; width: 100%; border-radius: 40px; mix-blend-mode: multiply; }
.lg-float { position: absolute; background: #fff; border-radius: 18px; padding: 8px 16px; font-weight: 800; box-shadow: var(--lg-soft-shadow), 0 4px 0 var(--lg-line); animation: lg-bob 4s ease-in-out infinite; white-space: nowrap; }
.lg-float--1 { inset-block-start: 8%; inset-inline-end: -10px; color: var(--lg-yellow-d); }
.lg-float--2 { inset-block-end: 14%; inset-inline-end: -16px; color: var(--lg-coral-d); animation-delay: -1.3s; }
.lg-float--3 { inset-block-end: 4%; inset-inline-start: 6%; color: var(--lg-teal-d); animation-delay: -2.6s; direction: ltr; }
@keyframes lg-bob { 50% { transform: translateY(-10px); } }
@keyframes lg-morph { 50% { border-radius: 57% 43% 52% 48% / 44% 56% 44% 56%; } }

/* ───── Languages ───── */
.lg-langs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.lg-lang { position: relative; background: #fff; border: 2px solid var(--lg-line); border-radius: var(--lg-radius); padding: 44px 10px 18px; text-align: center; box-shadow: 0 6px 0 var(--lg-line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.lg-lang:hover { transform: translateY(-6px); border-color: var(--c); box-shadow: 0 6px 0 var(--c); }
.lg-lang__flag { font-size: 48px; line-height: 1; display: block; margin-bottom: 8px; }
.lg-lang b { display: block; font-size: 18px; }
.lg-lang small { color: var(--lg-muted); font-size: 14px; }
.lg-bubble { position: absolute; inset-block-start: -16px; inset-inline-start: 50%; transform: translateX(50%); background: var(--c); color: #fff; font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 14px; white-space: nowrap; }
[dir="ltr"] .lg-bubble { transform: translateX(-50%); }
.lg-bubble::after { content: ""; position: absolute; bottom: -6px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--c); border-bottom: 0; }

/* ───── Steps ───── */
.lg-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.lg-step { position: relative; background: #fff; border-radius: var(--lg-radius); padding: 34px 24px 26px; text-align: center; box-shadow: 0 8px 0 rgba(112,87,232,.15); }
.lg-step__num { position: absolute; inset-block-start: -18px; inset-inline-start: 50%; transform: translateX(50%); width: 40px; height: 40px; border-radius: 50%; background: var(--lg-purple); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 0 var(--lg-purple-d); }
[dir="ltr"] .lg-step__num { transform: translateX(-50%); }
.lg-step:nth-child(2) .lg-step__num { background: var(--lg-teal); box-shadow: 0 4px 0 var(--lg-teal-d); }
.lg-step:nth-child(3) .lg-step__num { background: var(--lg-coral); box-shadow: 0 4px 0 var(--lg-coral-d); }
.lg-step:nth-child(4) .lg-step__num { background: var(--lg-yellow); color: var(--lg-navy); box-shadow: 0 4px 0 var(--lg-yellow-d); }
.lg-step__icon { font-size: 54px; display: block; margin-bottom: 6px; }
.lg-step h3 { font-size: 22px; }
.lg-step p { color: var(--lg-muted); margin: 0; font-size: 16px; }

/* ───── Age groups ───── */
.lg-ages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lg-age { --c: var(--lg-purple); --cl: var(--lg-lav); border-radius: var(--lg-radius); padding: 28px 22px; background: var(--cl); border: 2px solid transparent; transition: transform .2s; }
.lg-age:hover { transform: translateY(-5px) rotate(-1deg); border-color: var(--c); }
.lg-age--teal { --c: var(--lg-teal-d); --cl: #DDF7F5; }
.lg-age--yellow { --c: var(--lg-yellow-d); --cl: #FFF4D6; }
.lg-age--coral { --c: var(--lg-coral-d); --cl: #FFE6E8; }
.lg-age__icon { font-size: 46px; display: grid; place-items: center; width: 76px; height: 76px; background: #fff; border-radius: 22px; margin-bottom: 14px; box-shadow: 0 5px 0 rgba(37,35,68,.08); }
.lg-age h3 { font-size: 24px; margin-bottom: 2px; }
.lg-age__ages { display: inline-block; font-weight: 800; color: var(--c); margin-bottom: 8px; }
.lg-age p { margin: 0; font-size: 16px; color: #4A4670; }

/* ───── Levels path ───── */
.lg-path { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; align-items: start; position: relative; }
.lg-path::before { content: ""; position: absolute; inset-inline: 6%; top: 44px; border-top: 6px dashed #D3C9FA; z-index: 0; }
.lg-level { position: relative; z-index: 1; text-align: center; }
.lg-level:nth-child(even) { margin-top: 40px; }
.lg-level__node { width: 88px; height: 88px; margin: 0 auto 14px; display: grid; place-items: center; font-size: 40px; border-radius: 50%; background: var(--lg-purple); box-shadow: 0 7px 0 var(--lg-purple-d); }
.lg-level:nth-child(1) .lg-level__node { background: var(--lg-teal); box-shadow: 0 7px 0 var(--lg-teal-d); }
.lg-level:nth-child(2) .lg-level__node { background: #4BA9E8; box-shadow: 0 7px 0 #2F86C2; }
.lg-level:nth-child(4) .lg-level__node { background: #9A6BF0; box-shadow: 0 7px 0 #7A4DD0; }
.lg-level:nth-child(5) .lg-level__node { background: var(--lg-coral); box-shadow: 0 7px 0 var(--lg-coral-d); }
.lg-level:nth-child(6) .lg-level__node { background: #F29E4C; box-shadow: 0 7px 0 #CF7C2C; }
.lg-level--trophy .lg-level__node { background: var(--lg-yellow); box-shadow: 0 7px 0 var(--lg-yellow-d); width: 100px; height: 100px; font-size: 48px; border-radius: 30px; }
.lg-level__card { background: #fff; border: 2px solid var(--lg-line); border-radius: 18px; padding: 12px; }
.lg-level__card small { color: var(--lg-purple); font-weight: 800; }
.lg-level__card h3 { font-size: 18px; margin: 0 0 4px; }
.lg-level__card p { font-size: 13px; color: var(--lg-muted); margin: 0; line-height: 1.6; }

/* ───── Features ───── */
.lg-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lg-feature { display: flex; gap: 16px; align-items: flex-start; background: var(--lg-bg); border-radius: var(--lg-radius); padding: 22px; border: 2px solid var(--lg-line); }
.lg-feature__icon { flex: none; font-size: 32px; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 18px; background: #fff; box-shadow: 0 5px 0 var(--lg-line); }
.lg-feature h3 { font-size: 20px; margin-bottom: 2px; }
.lg-feature p { color: var(--lg-muted); margin: 0; font-size: 16px; }

/* ───── Parents ───── */
.lg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lg-split h2 { font-size: clamp(26px, 3.4vw, 38px); }
.lg-checks { list-style: none; padding: 0; margin: 0 0 28px; }
.lg-checks li { position: relative; padding-inline-start: 40px; margin-bottom: 12px; font-weight: 600; }
.lg-checks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--lg-teal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.lg-report { background: #fff; border-radius: 30px; padding: 24px; box-shadow: var(--lg-soft-shadow), 0 10px 0 rgba(112,87,232,.15); transform: rotate(-2deg); }
.lg-report__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lg-report__head b { display: block; font-size: 22px; line-height: 1.2; }
.lg-report__head small { color: var(--lg-muted); }
.lg-report__head .lg-chip { margin-inline-start: auto; }
.lg-report__av { font-size: 42px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--lg-lav); }
.lg-report__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.lg-report__tiles div { background: var(--lg-bg); border-radius: 16px; padding: 8px; text-align: center; }
.lg-report__tiles b { display: block; font-size: 20px; }
.lg-report__tiles small { color: var(--lg-muted); font-size: 13px; }
.lg-report__chart { display: flex; align-items: flex-end; gap: 6px; height: 110px; padding: 10px; background: var(--lg-bg); border-radius: 16px; margin-bottom: 14px; }
.lg-report__chart i { flex: 1; background: var(--lg-purple); border-radius: 6px 6px 2px 2px; }
.lg-report__chart i:nth-child(3n) { background: var(--lg-teal); }
.lg-report__chart i:last-child { background: var(--lg-yellow); }
.lg-report__words { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-report__words span { background: #FFE6E8; color: var(--lg-coral-d); border-radius: 12px; padding: 3px 12px; font-weight: 700; font-size: 14px; direction: ltr; }

/* ───── FAQ ───── */
.lg-faq details { background: var(--lg-bg); border: 2px solid var(--lg-line); border-radius: 20px; margin-bottom: 14px; transition: border-color .2s; }
.lg-faq details[open] { border-color: var(--lg-purple); background: #fff; box-shadow: 0 6px 0 var(--lg-lav); }
.lg-faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; font-size: 19px; display: flex; justify-content: space-between; gap: 12px; }
.lg-faq summary::-webkit-details-marker { display: none; }
.lg-faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lg-lav); color: var(--lg-purple); display: grid; place-items: center; font-size: 22px; transition: transform .2s; }
.lg-faq details[open] summary::after { content: "−"; background: var(--lg-purple); color: #fff; }
.lg-faq details p { padding: 0 22px 18px; margin: 0; color: #4A4670; }

/* ───── CTA ───── */
.lg-cta-wrap { background: #fff; padding: 20px 0 110px; }
.lg-cta { position: relative; display: flex; align-items: center; gap: 30px; background: linear-gradient(120deg, var(--lg-purple) 0%, #8A6CF0 55%, var(--lg-teal) 130%); color: #fff; border-radius: 36px; padding: 44px 50px; box-shadow: 0 10px 0 var(--lg-purple-d); overflow: hidden; }
.lg-cta::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); inset-block-start: -90px; inset-inline-end: -60px; }
.lg-cta h2, .lg-cta h3 { color: #fff; margin-bottom: 4px; }
.lg-cta h2 { font-size: clamp(26px, 3.4vw, 38px); }
.lg-cta p { margin: 0; opacity: .92; font-size: 18px; }
.lg-cta > div:not(.lg-cta__btns) { flex: 1; }
.lg-cta__symbol { flex: none; width: 110px; height: 110px; background: #fff; border-radius: 30px; padding: 12px; box-shadow: 0 6px 0 rgba(0,0,0,.12); }
.lg-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.lg-cta__sparks { position: absolute; inset-block-start: 14px; inset-inline-start: 110px; }
.lg-cta--mini { margin: 50px 0; padding: 26px 30px; border-radius: 28px; gap: 20px; }
.lg-cta--mini .lg-cta__symbol { width: 74px; height: 74px; border-radius: 22px; padding: 8px; }

/* ───── Footer ───── */
.lg-footer { color: #CFCBEA; margin-top: -1px; }
.lg-footer .lg-wave { height: 60px; }
.lg-footer__body { background: var(--lg-navy); padding: 30px 0 24px; }
.lg-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.lg-footer h4 { color: #fff; font-size: 19px; margin-bottom: 14px; }
.lg-footer a { color: #CFCBEA; }
.lg-footer a:hover { color: var(--lg-yellow); }
.lg-footer__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lg-footer__brand img { width: 56px; height: 56px; background: #fff; border-radius: 18px; padding: 6px; }
.lg-footer__brand span { color: #fff; font-size: 30px; font-weight: 800; line-height: 1; }
.lg-footer__brand small { display: block; font-size: 15px; color: var(--lg-teal); font-weight: 700; }
.lg-footer__about p { font-size: 16px; }
.lg-footer__links { list-style: none; padding: 0; margin: 0; }
.lg-footer__links li { margin-bottom: 8px; }
.lg-footer__flags p { font-size: 26px; letter-spacing: 4px; }
.lg-social { display: flex; gap: 10px; }
.lg-social a { width: 42px; height: 42px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.lg-social a:hover { background: var(--lg-purple); color: #fff; }
.lg-social svg { width: 20px; height: 20px; }
.lg-footer__bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: 15px; }
.lg-totop { width: 42px; height: 42px; border-radius: 14px; background: var(--lg-purple); color: #fff !important; display: grid; place-items: center; font-weight: 800; box-shadow: 0 4px 0 var(--lg-purple-d); }

/* ───── Page head / Blog ───── */
.lg-pagehead { position: relative; padding: 60px 0 110px; text-align: center; background:
	radial-gradient(500px 300px at 15% 30%, rgba(38,198,188,.15), transparent 70%),
	radial-gradient(600px 400px at 85% 0%, rgba(112,87,232,.15), transparent 70%), var(--lg-lav); }
.lg-pagehead h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 10px; }
.lg-pagehead p { color: var(--lg-muted); }
.lg-pagehead__sparks { display: block; margin: 0 auto -6px; }
.lg-pagehead--post { text-align: start; }
.lg-pagehead--post h1 { margin-top: 12px; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--lg-muted); font-size: 15px; font-weight: 600; }
.lg-pagehead--post .lg-meta { justify-content: flex-start; }
.lg-search { display: flex; max-width: 460px; margin: 24px auto 0; background: #fff; border: 2px solid var(--lg-line); border-radius: 18px; overflow: hidden; }
.lg-search input { flex: 1; border: 0; padding: 12px 18px; font: inherit; font-size: 17px; outline: none; background: transparent; min-width: 0; }
.lg-search button { border: 0; background: var(--lg-purple); color: #fff; font-size: 20px; padding: 0 18px; cursor: pointer; }
.lg-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lg-card { background: #fff; border-radius: var(--lg-radius); overflow: hidden; border: 2px solid var(--lg-line); box-shadow: 0 6px 0 var(--lg-line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.lg-card:hover { transform: translateY(-6px); box-shadow: 0 6px 0 var(--lg-purple); border-color: var(--lg-purple); }
.lg-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lg-lav); }
.lg-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.lg-card__ph { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--lg-lav), #DDF7F5); }
.lg-card__ph img { width: 90px; height: 90px; object-fit: contain; }
.lg-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lg-card__body .lg-chip { align-self: flex-start; }
.lg-card__title { font-size: 21px; margin: 4px 0 0; }
.lg-card__title a { color: var(--lg-navy); }
.lg-card__title a:hover { color: var(--lg-purple); }
.lg-card__body p { color: var(--lg-muted); font-size: 16px; margin: 0 0 8px; flex: 1; }
.lg-pagination { margin-top: 40px; display: flex; justify-content: center; }
.lg-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.lg-pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: 14px; background: #fff; border: 2px solid var(--lg-line); font-weight: 800; color: var(--lg-navy); }
.lg-pagination .page-numbers.current { background: var(--lg-purple); color: #fff; border-color: var(--lg-purple); }
.lg-empty { text-align: center; padding: 40px 0; }
.lg-404 h1 { font-size: 96px; line-height: 1; color: var(--lg-purple); margin: 10px 0; }
.lg-feature-img { margin: 0 0 30px; border-radius: var(--lg-radius); overflow: hidden; }
.lg-feature-img img { display: block; width: 100%; }

/* ───── Prose (محتوى المحرر) ───── */
.lg-prose { font-size: 19px; }
.lg-prose > * + * { margin-top: 1em; }
.lg-prose h2 { font-size: 30px; margin-top: 1.6em; }
.lg-prose h3 { font-size: 24px; margin-top: 1.4em; }
.lg-prose a { text-decoration: underline; text-decoration-color: var(--lg-teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.lg-prose blockquote { margin: 1.5em 0; padding: 18px 24px; background: var(--lg-bg); border-inline-start: 5px solid var(--lg-teal); border-radius: 16px; font-size: 20px; }
.lg-prose img { border-radius: 18px; }
.lg-prose ul li::marker { color: var(--lg-purple); }
.lg-prose ol li::marker { color: var(--lg-purple); font-weight: 800; }
.lg-prose code { background: var(--lg-lav); padding: 2px 8px; border-radius: 8px; font-size: .9em; }
.lg-prose table { width: 100%; border-collapse: collapse; }
.lg-prose th, .lg-prose td { border: 1px solid var(--lg-line); padding: 8px 12px; }
.lg-prose th { background: var(--lg-lav); }
.alignwide { width: min(1200px, 100vw - 40px); margin-inline: calc(50% - min(600px, 50vw - 20px)); }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.wp-block-image figcaption, .wp-caption-text { color: var(--lg-muted); font-size: 15px; text-align: center; }
.has-purple-color { color: #7057E8; } .has-teal-color { color: #26C6BC; } .has-yellow-color { color: #FFD166; } .has-coral-color { color: #FF7D87; } .has-navy-color { color: #252344; }
.has-purple-background-color { background-color: #7057E8; } .has-teal-background-color { background-color: #26C6BC; } .has-yellow-background-color { background-color: #FFD166; } .has-coral-background-color { background-color: #FF7D87; } .has-lavender-background-color { background-color: #EAE4FF; } .has-bg-background-color { background-color: #F7F5FF; } .has-navy-background-color { background-color: #252344; }
.lg-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.lg-tags a { background: var(--lg-lav); border-radius: 999px; padding: 2px 14px; font-weight: 700; font-size: 15px; }
.lg-postnav { display: flex; justify-content: space-between; gap: 20px; margin: 30px 0; font-weight: 800; }

/* ───── Comments ───── */
.lg-comments { margin-top: 50px; }
.lg-comment-list { list-style: none; padding: 0; }
.lg-comment-list .comment-body { background: var(--lg-bg); border-radius: 18px; padding: 16px 20px; margin-bottom: 14px; }
.lg-comment-list .children { list-style: none; padding-inline-start: 30px; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-inline-end: 8px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; border: 2px solid var(--lg-line); border-radius: 14px; padding: 12px 14px; font: inherit; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--lg-purple); outline: none; }

/* ───── Reveal on scroll ───── */
.lg-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.lg-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.lg-reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* ───── Responsive ───── */
@media (max-width: 1100px) {
	.lg-langs { grid-template-columns: repeat(4, 1fr); row-gap: 34px; }
	.lg-path { grid-template-columns: repeat(4, 1fr); row-gap: 30px; }
	.lg-path::before { display: none; }
	.lg-level:nth-child(even) { margin-top: 0; }
	.lg-steps, .lg-ages { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
	.lg-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.lg-burger { display: flex; }
	.lg-hide-mobile { display: none; }
	.lg-only-mobile { display: flex; }
	.lg-nav { position: fixed; inset: 78px 0 auto; background: #fff; padding: 16px 20px 24px; border-bottom: 2px solid var(--lg-line); box-shadow: 0 20px 30px -20px rgba(37,35,68,.3); transform: translateY(-120%); transition: transform .3s; z-index: -1; }
	.admin-bar .lg-nav { top: 124px; }
	.lg-nav.is-open { transform: none; }
	.lg-menu { flex-direction: column; }
	.lg-menu a { padding: 12px 14px; font-size: 18px; }
	.lg-menu .sub-menu { position: static; display: block; box-shadow: none; padding-inline-start: 16px; }
	.lg-nav__actions { gap: 10px; margin-top: 12px; }
	.lg-nav__actions .lg-btn { flex: 1; }
	.lg-header__actions { margin-inline-start: auto; }
	.lg-hero { padding-top: 30px; }
	.lg-hero__grid, .lg-split { grid-template-columns: 1fr; }
	.lg-hero__text { text-align: center; }
	.lg-hero__sub { margin-inline: auto; }
	.lg-hero__cta, .lg-stats { justify-content: center; }
	.lg-hero__sparks { inset-inline-start: calc(50% - 150px); }
	.lg-hero__art { max-width: 520px; margin: 0 auto; }
	.lg-features, .lg-cards { grid-template-columns: repeat(2, 1fr); }
	.lg-cta { flex-direction: column; text-align: center; padding: 40px 26px; }
	.lg-report { transform: none; }
}
@media (max-width: 782px) { .admin-bar .lg-header { top: 46px; } }
@media (max-width: 600px) {
	body { font-size: 17px; }
	.lg-section { padding: 70px 0; }
	.lg-langs { grid-template-columns: repeat(2, 1fr); }
	.lg-path { grid-template-columns: repeat(2, 1fr); }
	.lg-steps, .lg-ages, .lg-features, .lg-cards, .lg-footer__grid { grid-template-columns: 1fr; }
	.lg-header__brand img, .custom-logo { height: 40px; }
	.lg-btn--lg { padding: 13px 22px; font-size: 17px; }
	.lg-float--1 { inset-inline-end: 0; } .lg-float--2 { inset-inline-end: 0; }
	.lg-float { font-size: 14px; padding: 6px 12px; }
	.lg-footer__bottom { flex-direction: column; gap: 14px; text-align: center; }
}

/* ───── Fixes ───── */
.lg-footer .lg-btn, .lg-footer .lg-btn:hover { color: var(--t); }
.lg-footer .widget { margin-top: 18px; }
.lg-footer .widget ul { list-style: none; padding: 0; margin: 0; }
.lg-footer .widget li { margin-bottom: 6px; }
.lg-footer .widget-title, .lg-footer .wp-block-heading { color: #fff; font-size: 17px; }
@media (max-width: 600px) { .lg-hero__sparks { display: none; } }
.lg-footer { position: relative; z-index: 2; margin-top: -59px; }
.lg-footer .lg-wave--flip { display: block; }

/* ───── الخط: Lemonada للعناوين واللمسات المرحة • Rubik للنص ───── */
.lg-eyebrow, .lg-kicker, .lg-stats b, .lg-bubble, .lg-step__num, .lg-float, .lg-footer__brand span, .lg-faq summary, .lg-report__tiles b, .lg-404 h1 { font-family: var(--lg-font-head); }
.lg-kicker, .lg-eyebrow { font-weight: 600; font-size: 14px; }
.lg-step h3, .lg-feature h3, .lg-age h3 { font-size: 19px; }
.lg-level__card h3 { font-size: 16px; }
.lg-card__title { font-size: 19px; }
.lg-faq summary { font-size: 17px; font-weight: 600; }
.lg-lang b { font-weight: 700; }
.lg-btn { font-weight: 600; }
.lg-prose h2 { font-size: 26px; } .lg-prose h3 { font-size: 21px; }
