/* =====================================================================
   maarifa-article.css — صفحة تفاصيل المقال (Blog/Details) بهوية الرئيسية
   يستبدل blog.css — ضعه آخر @section Styles (بعد <style> الصفحة)
   المحدِّد المزدوج .generation-12-shell.blog-details-page يتفوّق على قواعد الصفحة الداخلية
   ===================================================================== */
.generation-12-shell.blog-details-page{
  --article-ink:#1E0833;--article-blue:#3558A5;--article-blue-light:#74ABF2;--article-violet:#7A2E86;--article-magenta:#B5226E;--article-gold:#FFE066;
  --article-text:#2B2140;--article-muted:#6E6785;--article-line:#E9E4F2;
  background:var(--m-bg)}
.generation-12-shell.blog-details-page :is(h1,h2,h3,h4,strong,p,span,a,button,small):not(.material-symbols-rounded){font-family:var(--m-font)}
.generation-12-shell.blog-details-page .material-symbols-rounded{font-variation-settings:'FILL' 1,'wght' 500,'GRAD' 0,'opsz' 24}

/* ---------- reading progress ---------- */
.generation-12-shell.blog-details-page .reading-progress{position:fixed;top:0;right:0;left:auto;height:4px;z-index:1300;border-radius:0 0 0 4px;background:var(--m-rainbow);background-size:200% 100%;animation:mGrad 4s linear infinite;box-shadow:0 0 14px rgba(229,51,127,.55)}

/* ---------- page canvas ---------- */
.generation-12-shell.blog-details-page .article-page{padding:70px 20px 40px;
  background:radial-gradient(700px 420px at 92% 6%,rgba(229,51,127,.12),transparent 70%),radial-gradient(640px 420px at 4% 30%,rgba(28,167,236,.12),transparent 70%),radial-gradient(600px 400px at 60% 95%,rgba(124,77,255,.1),transparent 70%),var(--m-bg)}
.generation-12-shell.blog-details-page .article-page::before{opacity:.7;background-image:radial-gradient(rgba(122,46,134,.12) 1.2px,transparent 1.3px);background-size:26px 26px;animation:mGridMove 30s linear infinite}
.generation-12-shell.blog-details-page .article-page::after{border:1.5px dashed rgba(124,77,255,.14);box-shadow:none;animation:mSpin 70s linear infinite}
.generation-12-shell.blog-details-page .article-ambient>span{width:66px;height:66px;border-radius:20px;background:#fff;border:0;box-shadow:var(--m-sh-md);animation:mFloat 6s ease-in-out infinite}
.generation-12-shell.blog-details-page .article-ambient .material-symbols-rounded{font-size:28px}
.generation-12-shell.blog-details-page .article-ambient .ambient-one{color:var(--m-pink)}
.generation-12-shell.blog-details-page .article-ambient .ambient-two{color:var(--m-cyan);animation-delay:-2s}
.generation-12-shell.blog-details-page .article-ambient .ambient-three{color:var(--m-orange);animation-delay:-4s}
.generation-12-shell.blog-details-page .article-shell{max-width:1240px;margin:0 auto}

/* ---------- back link ---------- */
.generation-12-shell.blog-details-page .article-back{display:inline-flex;align-items:center;gap:10px;margin-bottom:20px;padding:6px 18px 6px 8px;padding-inline-start:8px;padding-inline-end:18px;border-radius:50px;border:1px solid var(--m-line);background:#fff;color:var(--m-plum);font-weight:800;font-size:.9rem;box-shadow:var(--m-sh-sm);transform:none!important;transition:color .35s,box-shadow .35s,border-color .35s}
.generation-12-shell.blog-details-page .article-back .material-symbols-rounded{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:18px;color:#fff;background:linear-gradient(135deg,var(--m-pink),var(--m-violet));transform:none!important}
.generation-12-shell.blog-details-page .article-back:hover{color:var(--m-pink);border-color:color-mix(in srgb,var(--m-pink) 35%,transparent);box-shadow:0 0 0 4px rgba(229,51,127,.1),var(--m-sh-md)}

/* =====================================================================
   HERO — غلاف المقال بإطار ملوّن يدور
   ===================================================================== */
.generation-12-shell.blog-details-page .article-hero{isolation:isolate;border:0;border-radius:36px;min-height:clamp(520px,58vw,640px);background:var(--m-plum-900);box-shadow:0 40px 90px -30px rgba(61,15,92,.6)}
.generation-12-shell.blog-details-page .article-hero>.article-cover{border-radius:inherit}
.generation-12-shell.blog-details-page .article-hero::before{z-index:2;
  background:radial-gradient(420px circle at var(--spot-x,74%) var(--spot-y,28%),rgba(255,122,176,.22),transparent 70%),
    linear-gradient(90deg,rgba(30,8,51,.96) 0%,rgba(61,15,92,.82) 34%,rgba(61,15,92,.35) 68%,rgba(36,53,110,.15) 100%),
    linear-gradient(0deg,rgba(30,8,51,.95) 0%,rgba(30,8,51,.1) 62%)}
.generation-12-shell.blog-details-page .article-hero::after{z-index:8;inset:0;height:auto;border-radius:inherit;padding:3px;pointer-events:none;animation:mAngle 6s linear infinite;
  background:conic-gradient(from var(--m-ang,0deg),var(--m-pink),var(--m-violet),var(--m-cyan),var(--m-orange),var(--m-pink));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.generation-12-shell.blog-details-page .article-cover img{filter:saturate(1.08) contrast(1.04)}
.generation-12-shell.blog-details-page .article-hero-pattern{opacity:.35;background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:56px 56px;animation:mGridMove 30s linear infinite}
.generation-12-shell.blog-details-page .article-hero .m-particles,.generation-12-shell.blog-details-page .article-hero .m-rising{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden;border-radius:inherit}
.generation-12-shell.blog-details-page .article-hero .m-rising i{position:absolute;bottom:-60px;color:rgba(255,255,255,.16);font-style:normal;animation:mRiseIcon linear infinite}
.generation-12-shell.blog-details-page .article-hero-content{z-index:5;width:min(100%,860px);padding:clamp(34px,6vw,70px) clamp(30px,5vw,64px) clamp(60px,7vw,90px)}
.generation-12-shell.blog-details-page .article-kicker{padding:8px 18px;border-radius:50px;font-size:.875rem;font-weight:800;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(8px);margin-bottom:20px}
.generation-12-shell.blog-details-page .article-kicker .material-symbols-rounded{color:var(--m-sky);font-size:19px;animation:mSpin 6s linear infinite}
.generation-12-shell.blog-details-page .article-title{font-weight:800;font-size:clamp(2rem,4.2vw,3.4rem);line-height:1.3;color:#fff;margin:0 0 18px;text-shadow:0 10px 40px rgba(0,0,0,.3)}
.generation-12-shell.blog-details-page .article-summary{color:#E4DCF0;font-size:1.125rem;line-height:1.9;max-width:680px;margin-bottom:24px}
.generation-12-shell.blog-details-page .article-meta{gap:10px}
.generation-12-shell.blog-details-page .article-meta>span{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:14px;font-weight:800;font-size:.875rem;color:#fff;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px)}
.generation-12-shell.blog-details-page .article-meta .material-symbols-rounded{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:18px;color:#fff;background:linear-gradient(135deg,var(--c),var(--c2))}
.generation-12-shell.blog-details-page .article-meta>span:nth-child(1){--c:var(--m-pink);--c2:var(--m-pink2)}
.generation-12-shell.blog-details-page .article-meta>span:nth-child(2){--c:var(--m-cyan);--c2:var(--m-cyan2)}

/* =====================================================================
   LAYOUT
   ===================================================================== */
.generation-12-shell.blog-details-page .article-layout{margin-top:-60px;width:calc(100% - 60px)}
.generation-12-shell.blog-details-page .article-card{position:relative;overflow:hidden;padding:40px 46px 34px;border-radius:30px;background:#fff;border:1px solid var(--m-line);box-shadow:var(--m-sh-lg)}
.generation-12-shell.blog-details-page .article-card::before{content:"";position:absolute;top:0;right:46px;left:46px;height:4px;inset-block-start:0;border-radius:0 0 4px 4px;background:var(--m-rainbow);background-size:200% 100%;animation:mGrad 5s linear infinite;opacity:1;width:auto}
.generation-12-shell.blog-details-page .article-card::after{content:"format_quote";font-family:'Material Symbols Rounded';position:absolute;left:30px;top:18px;font-size:120px;line-height:1;color:var(--m-violet);opacity:.06;transform:scaleX(-1);pointer-events:none}
/* opening */
.generation-12-shell.blog-details-page .article-opening{display:flex;align-items:center;gap:16px;padding-bottom:22px;margin-bottom:26px;border-bottom:1px dashed var(--m-line)}
.generation-12-shell.blog-details-page .article-opening-icon{position:relative;width:60px;height:60px;border-radius:18px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--m-pink),var(--m-violet));box-shadow:0 12px 26px -10px rgba(229,51,127,.6)}
.generation-12-shell.blog-details-page .article-opening-icon::after{content:"";position:absolute;inset:-7px;border-radius:22px;border:1.5px dashed var(--m-pink);opacity:.4;animation:mSpin 16s linear infinite}
.generation-12-shell.blog-details-page .article-opening-icon .material-symbols-rounded{font-size:30px;color:#fff}
.generation-12-shell.blog-details-page .article-opening strong{display:block;font-size:1.25rem;font-weight:800;color:var(--m-plum)}
.generation-12-shell.blog-details-page .article-opening small{font-size:.875rem;color:var(--m-muted)}
/* body typography */
.generation-12-shell.blog-details-page .article-body{color:var(--m-text);font-size:1.125rem;line-height:2.15}
.generation-12-shell.blog-details-page .article-body :is(p,li,span,td,th,blockquote){font-family:var(--m-font);color:var(--m-text)}
.generation-12-shell.blog-details-page .article-body p{font-size:1.125rem;line-height:2.15;margin-bottom:1.2em}
.generation-12-shell.blog-details-page .article-body::first-letter,.generation-12-shell.blog-details-page .article-body p:first-child>.m-sec:first-child::first-letter{font-family:var(--m-font);font-weight:800;font-size:3em;line-height:.9;color:var(--m-pink);background:linear-gradient(135deg,var(--m-pink),var(--m-violet));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.generation-12-shell.blog-details-page .article-body strong{font-weight:800;background:linear-gradient(90deg,var(--m-magenta),var(--m-violet),var(--m-blue));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.generation-12-shell.blog-details-page .article-body :is(h2,h3,h4){font-family:var(--m-font);font-weight:800;color:var(--m-plum);position:relative;padding-inline-start:18px}
.generation-12-shell.blog-details-page .article-body :is(h2,h3,h4)::before{content:"";position:absolute;inset-inline-start:0;top:.25em;bottom:.25em;width:5px;border-radius:5px;background:linear-gradient(180deg,var(--m-pink),var(--m-violet))}
.generation-12-shell.blog-details-page .article-body blockquote{border:0;border-inline-start:5px solid var(--m-pink);background:color-mix(in srgb,var(--m-pink) 6%,#fff);border-radius:16px;padding:18px 22px}
.generation-12-shell.blog-details-page .article-body a{color:var(--m-pink);font-weight:800;text-decoration-color:color-mix(in srgb,var(--m-pink) 40%,transparent)}
.generation-12-shell.blog-details-page .article-body :is(ul,ol) li::marker{color:var(--m-pink)}
.generation-12-shell.blog-details-page .article-body :is(img,video,iframe){border-radius:20px;box-shadow:var(--m-sh-md)}
/* end mark */
.generation-12-shell.blog-details-page .article-end-mark{display:flex;align-items:center;justify-content:center;gap:16px;margin:30px 0 26px}
.generation-12-shell.blog-details-page .article-end-mark::before,.generation-12-shell.blog-details-page .article-end-mark::after{content:"";position:static;flex:1;height:2px;max-width:220px;border-radius:2px;background:linear-gradient(90deg,transparent,var(--m-violet2));transform:none;width:auto;inset:auto;opacity:1}
.generation-12-shell.blog-details-page .article-end-mark::after{background:linear-gradient(270deg,transparent,var(--m-pink2))}
.generation-12-shell.blog-details-page .article-end-mark .material-symbols-rounded{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:26px;color:#fff;background:linear-gradient(135deg,var(--m-pink),var(--m-violet));box-shadow:0 0 0 8px color-mix(in srgb,var(--m-violet) 10%,transparent),0 12px 26px -10px rgba(124,77,255,.6);animation:mBreathe 3s ease-in-out infinite}
/* footer actions — أزرار ثابتة */
.generation-12-shell.blog-details-page .article-footer-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:22px;border-top:1px dashed var(--m-line)}
.generation-12-shell.blog-details-page .article-footer-back,.generation-12-shell.blog-details-page .article-share{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:52px;padding:0 24px;border-radius:14px;font-weight:800;font-size:.9375rem;cursor:pointer;transform:none!important;translate:none!important}
.generation-12-shell.blog-details-page .article-footer-back{color:var(--m-plum);background:#fff;border:1.5px solid color-mix(in srgb,var(--m-purple) 25%,transparent);box-shadow:var(--m-sh-sm);transition:color .35s,border-color .35s,box-shadow .35s}
.generation-12-shell.blog-details-page .article-footer-back::before{content:none}
.generation-12-shell.blog-details-page .article-footer-back .material-symbols-rounded{color:var(--m-pink);transform:none!important}
.generation-12-shell.blog-details-page .article-footer-back:hover{color:var(--m-pink);border-color:var(--m-pink);box-shadow:0 0 0 4px rgba(229,51,127,.1),var(--m-sh-md)}
.generation-12-shell.blog-details-page .article-share{border:0;color:#fff;background:var(--m-btn);background-size:250% 100%;background-position:0 0;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 24px -8px rgba(229,51,127,.55);transition:background-position .7s var(--m-ease),box-shadow .4s}
.generation-12-shell.blog-details-page .article-share::after{content:"";position:absolute;top:0;right:-75%;width:50%;height:100%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.38),transparent);animation:mSheen 3.6s infinite;z-index:-1}
.generation-12-shell.blog-details-page .article-share:hover{background-position:100% 0;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 0 0 4px rgba(124,77,255,.16),0 16px 34px -10px rgba(124,77,255,.6)}
.generation-12-shell.blog-details-page .article-share .material-symbols-rounded{color:#fff;transform:none!important}

/* =====================================================================
   ASIDE
   ===================================================================== */
.generation-12-shell.blog-details-page .article-aside{top:110px;gap:18px}
.generation-12-shell.blog-details-page .author-card{position:relative;overflow:hidden;padding:24px 22px;border-radius:24px;color:#fff;border:0;
  background:radial-gradient(260px 160px at 100% 0,rgba(229,51,127,.45),transparent 70%),linear-gradient(150deg,#1E0833,#3D0F5C 55%,#24356E);box-shadow:0 26px 50px -22px rgba(61,15,92,.6)}
.generation-12-shell.blog-details-page .author-card::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:2px;pointer-events:none;opacity:1;width:auto;height:auto;
  background:conic-gradient(from var(--m-ang,0deg),transparent 0 60%,var(--m-pink2),var(--m-yellow2),var(--m-cyan2),transparent);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:mAngle 5s linear infinite}
.generation-12-shell.blog-details-page .author-card-label{display:inline-flex;padding:4px 12px;border-radius:50px;font-size:.75rem;font-weight:800;color:var(--m-yellow2);background:rgba(255,184,0,.14);border:1px solid rgba(255,184,0,.3);margin-bottom:16px}
.generation-12-shell.blog-details-page .author-card-label::after{content:none}
.generation-12-shell.blog-details-page .article-author{display:flex;align-items:center;gap:14px}
.generation-12-shell.blog-details-page .author-avatar{position:relative;width:62px;height:62px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--m-pink),var(--m-violet));box-shadow:0 0 0 4px rgba(255,255,255,.12),0 12px 26px -10px rgba(229,51,127,.7)}
.generation-12-shell.blog-details-page .author-avatar::after{content:"";position:absolute;bottom:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#22C55E;border:3px solid #2A0C45;inset:auto auto 2px 2px}
.generation-12-shell.blog-details-page .author-avatar .material-symbols-rounded{font-size:28px;color:#fff}
.generation-12-shell.blog-details-page .author-copy strong{display:block;color:#fff;font-size:1.0625rem;font-weight:800}
.generation-12-shell.blog-details-page .author-copy small{color:rgba(255,255,255,.75);font-size:.8125rem}
.generation-12-shell.blog-details-page .article-tools-card{position:relative;overflow:hidden;padding:22px;border-radius:24px;background:#fff;border:1px solid var(--m-line);box-shadow:var(--m-sh-md)}
.generation-12-shell.blog-details-page .article-tools-card::before{content:"";position:absolute;top:0;right:22px;left:22px;height:4px;border-radius:0 0 4px 4px;background:linear-gradient(90deg,var(--m-orange),var(--m-pink))}
.generation-12-shell.blog-details-page .article-tool-row{gap:14px;padding:12px 0;font-size:.875rem;color:var(--m-muted)}
.generation-12-shell.blog-details-page .article-tool-row strong{display:block;color:var(--m-plum);font-size:.9375rem;font-weight:800}
.generation-12-shell.blog-details-page .article-tool-row+.article-tool-row{border-top:1px dashed var(--m-line)}
.generation-12-shell.blog-details-page .article-tool-icon{width:46px;height:46px;flex-shrink:0;border-radius:14px;display:grid;place-items:center;color:var(--c);background:color-mix(in srgb,var(--c) 12%,#fff)}
.generation-12-shell.blog-details-page .article-tool-row:nth-of-type(1){--c:var(--m-pink)}
.generation-12-shell.blog-details-page .article-tool-row:nth-of-type(2){--c:var(--m-cyan)}
.generation-12-shell.blog-details-page .article-tool-icon .material-symbols-rounded{font-size:22px;color:inherit}
.generation-12-shell.blog-details-page .aside-share{width:100%;margin-top:14px}
.generation-12-shell.blog-details-page .copy-status{margin-top:8px;font-size:.8125rem;font-weight:800;color:var(--m-green);text-align:center}


/* =====================================================================
   أقسام المقال — فهرس تلقائي (يُبنى بـ maarifa.js)
   ===================================================================== */
.generation-12-shell.blog-details-page .article-body .m-sec{display:block;margin-bottom:1.15em;scroll-margin-top:130px;transition:background .5s}
.generation-12-shell.blog-details-page .article-body p:has(> .m-sec) > br{display:none}
.generation-12-shell.blog-details-page .article-body .m-sec-target{scroll-margin-top:130px}
.generation-12-shell.blog-details-page .m-toc{position:relative;overflow:hidden;border-radius:24px;background:#fff;border:1px solid var(--m-line);box-shadow:var(--m-sh-md)}
.generation-12-shell.blog-details-page .m-toc::before{content:"";position:absolute;top:0;right:22px;left:22px;height:4px;border-radius:0 0 4px 4px;background:var(--m-rainbow);background-size:200% 100%;animation:mGrad 5s linear infinite}
.generation-12-shell.blog-details-page .m-toc summary{display:flex;align-items:center;gap:12px;padding:20px 20px 16px;cursor:pointer;list-style:none}
.generation-12-shell.blog-details-page .m-toc summary::-webkit-details-marker{display:none}
.generation-12-shell.blog-details-page .m-toc-ring{position:relative;width:54px;height:54px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(var(--m-pink) calc(var(--p)*1turn),color-mix(in srgb,var(--m-violet) 12%,#fff) 0);transition:background .2s}
.generation-12-shell.blog-details-page .m-toc-ring::before{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}
.generation-12-shell.blog-details-page .m-toc-ring b{position:relative;font-size:.75rem;font-weight:800;color:var(--m-plum);direction:ltr}
.generation-12-shell.blog-details-page .m-toc-head{flex:1;min-width:0}
.generation-12-shell.blog-details-page .m-toc-head strong{display:block;font-size:1.0625rem;font-weight:800;color:var(--m-plum)}
.generation-12-shell.blog-details-page .m-toc-head small{font-size:.75rem;color:var(--m-muted)}
.generation-12-shell.blog-details-page .m-toc-caret{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:22px;color:var(--m-violet);background:color-mix(in srgb,var(--m-violet) 10%,#fff);transition:transform .45s var(--m-ease)}
.generation-12-shell.blog-details-page .m-toc[open] .m-toc-caret{transform:rotate(180deg)}
.generation-12-shell.blog-details-page .m-toc ol{list-style:none;margin:0;padding:4px 14px 16px;position:relative;counter-reset:none}
.generation-12-shell.blog-details-page .m-toc ol::before{content:"";position:absolute;top:10px;bottom:24px;right:33px;width:2px;border-radius:2px;background:var(--m-line)}
.generation-12-shell.blog-details-page .m-toc li{position:relative}
.generation-12-shell.blog-details-page .m-toc a{position:relative;display:flex;align-items:flex-start;gap:12px;padding:9px 8px;border-radius:14px;color:var(--m-muted);font-size:.875rem;font-weight:700;line-height:1.6;text-decoration:none;transition:background .3s,color .3s}
.generation-12-shell.blog-details-page .m-toc li:nth-child(6n+1){--c:var(--m-pink)}.generation-12-shell.blog-details-page .m-toc li:nth-child(6n+2){--c:var(--m-orange)}.generation-12-shell.blog-details-page .m-toc li:nth-child(6n+3){--c:var(--m-green)}
.generation-12-shell.blog-details-page .m-toc li:nth-child(6n+4){--c:var(--m-cyan)}.generation-12-shell.blog-details-page .m-toc li:nth-child(6n+5){--c:var(--m-violet)}.generation-12-shell.blog-details-page .m-toc li:nth-child(6n){--c:#E09B00}
.generation-12-shell.blog-details-page .m-toc a i{position:relative;z-index:1;width:26px;height:26px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:.6875rem;font-weight:800;color:var(--c);background:#fff;border:2px solid color-mix(in srgb,var(--c) 40%,transparent);transition:background .35s,color .35s,box-shadow .35s,border-color .35s}
.generation-12-shell.blog-details-page .m-toc a:hover{background:color-mix(in srgb,var(--c) 7%,#fff);color:var(--m-plum)}
.generation-12-shell.blog-details-page .m-toc a.is-done i{background:color-mix(in srgb,var(--c) 14%,#fff);border-color:var(--c)}
.generation-12-shell.blog-details-page .m-toc a.is-active{background:color-mix(in srgb,var(--c) 9%,#fff);color:var(--m-plum)}
.generation-12-shell.blog-details-page .m-toc a.is-active i{background:var(--c);border-color:var(--c);color:#fff;box-shadow:0 0 0 5px color-mix(in srgb,var(--c) 18%,transparent)}
.generation-12-shell.blog-details-page .m-toc a.is-active::after{content:"";position:absolute;inset-inline-end:8px;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:var(--c);animation:mPing 1.6s infinite}
/* داخل البطاقة على الجوال */
.generation-12-shell.blog-details-page .article-card>.m-toc{margin:0 0 24px;box-shadow:var(--m-sh-sm);background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--m-violet2) 10%,#fff))}
.generation-12-shell.blog-details-page .article-card>.m-toc summary{padding:16px}

/* ---------- spotlight (JS) ---------- */
.generation-12-shell.blog-details-page .m-spot{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;opacity:0;transition:opacity .4s;background:radial-gradient(360px circle at var(--mx,50%) var(--my,50%),rgba(229,51,127,.08),transparent 70%)}
.generation-12-shell.blog-details-page .m-fx:hover>.m-spot{opacity:1}


/* =====================================================================
   أزرار المشاركة (تُبنى بـ maarifa.js) — ثابتة، تتغير بالألوان والظل فقط
   ===================================================================== */
.generation-12-shell.blog-details-page .m-share{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:30px;padding:20px 22px;border-radius:22px;
  background:linear-gradient(135deg,#fff,color-mix(in srgb,var(--m-violet2) 12%,#fff));border:1px solid var(--m-line);box-shadow:var(--m-sh-sm)}
.generation-12-shell.blog-details-page .m-share::before{content:"";position:absolute;top:0;right:22px;left:22px;height:3px;border-radius:0 0 3px 3px;background:var(--m-rainbow);background-size:200% 100%;animation:mGrad 5s linear infinite}
.generation-12-shell.blog-details-page .m-share-head{display:flex;align-items:center;gap:12px}
.generation-12-shell.blog-details-page .m-share-head>.material-symbols-rounded{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-size:24px;color:#fff;background:linear-gradient(135deg,var(--m-pink),var(--m-violet));box-shadow:0 10px 22px -8px rgba(229,51,127,.6)}
.generation-12-shell.blog-details-page .m-share-head strong{display:block;font-size:1.0625rem;font-weight:800;color:var(--m-plum)}
.generation-12-shell.blog-details-page .m-share-head small{font-size:.8125rem;color:var(--m-muted)}
.generation-12-shell.blog-details-page .m-share-list{display:flex;flex-wrap:wrap;gap:10px}
.generation-12-shell.blog-details-page .m-share-btn{position:relative;width:48px;height:48px;border-radius:15px;border:0;padding:0;cursor:pointer;display:grid;place-items:center;font-size:20px;text-decoration:none;
  color:var(--k);background:color-mix(in srgb,var(--k) 11%,#fff);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--k) 22%,transparent);transform:none!important;translate:none!important;
  transition:background .35s,color .35s,box-shadow .35s}
.generation-12-shell.blog-details-page .m-share-btn i{line-height:1;transition:transform .45s var(--m-ease)}
.generation-12-shell.blog-details-page .m-share-btn:hover{color:#fff;background:var(--k);box-shadow:0 0 0 4px color-mix(in srgb,var(--k) 18%,transparent),0 12px 24px -10px var(--k)}
.generation-12-shell.blog-details-page .m-share-btn:hover i{transform:scale(1.15)}
.generation-12-shell.blog-details-page .m-share-btn.is-whatsapp{--k:#16A34A}
.generation-12-shell.blog-details-page .m-share-btn.is-facebook{--k:#1877F2}
.generation-12-shell.blog-details-page .m-share-btn.is-x{--k:#111111}
.generation-12-shell.blog-details-page .m-share-btn.is-telegram{--k:#229ED9}
.generation-12-shell.blog-details-page .m-share-btn.is-linkedin{--k:#0A66C2}
.generation-12-shell.blog-details-page .m-share-btn.is-email{--k:var(--m-orange)}
.generation-12-shell.blog-details-page .m-share-btn.is-copy{--k:var(--m-violet)}
.generation-12-shell.blog-details-page .m-share-btn.is-native{--k:var(--m-pink)}
.generation-12-shell.blog-details-page .m-share-btn::after{content:attr(title);position:absolute;bottom:calc(100% + 8px);left:50%;transform:translateX(-50%) translateY(4px);white-space:nowrap;padding:4px 10px;border-radius:8px;font-size:.75rem;font-weight:800;color:#fff;background:var(--m-plum);opacity:0;pointer-events:none;transition:opacity .25s,transform .25s}
.generation-12-shell.blog-details-page .m-share-btn:hover::after{opacity:1;transform:translateX(-50%) translateY(0)}
.generation-12-shell.blog-details-page .m-share-toast{position:absolute;left:50%;bottom:-14px;transform:translate(-50%,6px);padding:6px 16px;border-radius:50px;font-size:.8125rem;font-weight:800;color:#fff;background:var(--m-green);box-shadow:0 10px 20px -8px rgba(18,184,134,.7);opacity:0;pointer-events:none;transition:opacity .3s,transform .3s}
.generation-12-shell.blog-details-page .m-share.is-toast .m-share-toast{opacity:1;transform:translate(-50%,0)}
@media (max-width:640px){
  .generation-12-shell.blog-details-page .m-share{flex-direction:column;align-items:stretch;padding:18px 16px}
  .generation-12-shell.blog-details-page .m-share-list{justify-content:center;gap:8px}
  .generation-12-shell.blog-details-page .m-share-btn{width:44px;height:44px;font-size:18px}
  .generation-12-shell.blog-details-page .m-share-btn::after{display:none}
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:991px){
  .generation-12-shell.blog-details-page .article-layout{width:calc(100% - 24px);margin-top:-40px}
  .generation-12-shell.blog-details-page .article-aside{position:static;order:2}
  .generation-12-shell.blog-details-page .article-card{order:1}
}
@media (max-width:600px){
  .generation-12-shell.blog-details-page .article-page{padding:40px 10px 30px}
  .generation-12-shell.blog-details-page .article-hero{border-radius:26px;min-height:520px}
  .generation-12-shell.blog-details-page .article-hero-content{padding:26px 22px 56px}
  .generation-12-shell.blog-details-page .article-summary{font-size:1rem}
  .generation-12-shell.blog-details-page .article-card{padding:30px 20px 24px;border-radius:24px}
  .generation-12-shell.blog-details-page .article-body,.generation-12-shell.blog-details-page .article-body p{font-size:1.0625rem;line-height:2}
  .generation-12-shell.blog-details-page .article-footer-actions>*{flex:1}
  .generation-12-shell.blog-details-page .article-layout{width:100%;margin-top:-30px}
}

/* ---------- keyframes ---------- */
@keyframes mRiseIcon{0%{transform:translateY(0) rotate(0);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateY(-120vh) rotate(360deg);opacity:0}}
@keyframes mGridMove{from{background-position:0 0}to{background-position:56px 56px}}
@property --m-ang{syntax:'<angle>';inherits:false;initial-value:0deg}
@keyframes mAngle{to{--m-ang:360deg}}
