/* =====================================================================
   قالب صفحة المقال (الهوية البرتقالية) — يُنتَج من tools/restyle-articles.py
   ملف مستقل: لا يعتمد على قواعد .art في pages.css. كل الأسماء بادئتها ax-
   ===================================================================== */
.art-v3 {
  --ax-measure: 46rem;
  --ax-wide: 1120px;
  --ax-or: var(--or, #E5802A);
  --ax-or2: var(--or2, #F3A867);
  --ax-deep: var(--or-deep, #B4541C);
  --ax-soft: var(--or-soft, #FBEBDC);
  --ax-paper: var(--paper, #FCFAF6);
  --ax-paper2: var(--paper2, #F6EFE6);
  --ax-ink: var(--ink, #1F1A16);
  --ax-ink2: var(--ink-soft, #5B5048);
  --ax-line: var(--line, rgba(31, 26, 22, .10));
  --ax-line-or: var(--line-or, rgba(229, 128, 42, .35));
  background: var(--ax-paper);
}
.art-v3 main.ax { padding: 0 var(--pad, 1rem) clamp(3rem, 7vw, 5rem); color: var(--ax-ink); overflow-x: clip; }
.ax a { color: var(--ax-deep); }
.ax :focus-visible { outline: 3px solid var(--ax-or); outline-offset: 3px; border-radius: 6px; }
.ax-wrap { max-width: var(--ax-wide); margin-inline: auto; }

/* ---------- شريط التقدّم تحت المنيو ---------- */
.ax-progress { position: fixed; inset-inline: 0; top: var(--snav-h, 64px); height: 3px; z-index: 90; background: transparent; pointer-events: none; }
.ax-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(270deg, var(--ax-or), var(--ax-or2)); transform-origin: 100% 50%; transform: scaleX(var(--p, 0)); border-radius: 0 0 3px 3px; }

/* ---------- ترويسة المقال ---------- */
.ax-top {
  position: relative; isolation: isolate;
  margin-inline: calc(var(--pad, 1rem) * -1); padding-inline: var(--pad, 1rem);
  padding-block: clamp(1.6rem, 4vw, 3rem) clamp(1.8rem, 4vw, 3rem);
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(243, 168, 103, .30), rgba(243, 168, 103, 0) 70%),
    radial-gradient(40% 70% at 4% 100%, rgba(229, 128, 42, .10), rgba(229, 128, 42, 0) 70%),
    linear-gradient(180deg, var(--ax-paper2), var(--ax-paper));
}
.ax-head > * { max-width: 52rem; }
.ax-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .55rem; margin: 0 0 1.1rem; padding: 0; list-style: none; font-size: .85rem; color: var(--ax-ink2); }
.ax-crumbs li { display: inline-flex; align-items: center; gap: .55rem; }
.ax-crumbs li + li::before { content: '\2039'; color: var(--ax-or); font-weight: 700; font-size: 1.15rem; line-height: 1; }
.ax-crumbs a { color: var(--ax-ink2); text-decoration: none; }
.ax-crumbs a:hover { color: var(--ax-deep); text-decoration: underline; text-underline-offset: 4px; }
.ax-chip { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .9rem; padding: .3rem .95rem .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--ax-line-or); color: var(--ax-deep); font-weight: 700; font-size: .84rem; box-shadow: 0 2px 8px -4px rgba(180, 84, 28, .35); }
.ax-chip::before { content: ''; width: .5rem; height: .5rem; border-radius: 2px; background: var(--ax-or); transform: rotate(45deg); }
.ax-head h1 {
  margin: 0 0 1rem; font-family: var(--f-display, 'Alexandria', sans-serif); font-weight: 800;
  font-size: clamp(1.85rem, 5.2vw, 3.2rem); line-height: 1.4; color: var(--ax-ink);
  text-wrap: balance; letter-spacing: -.005em;
}
.ax-dek { margin: 0 0 1.4rem; font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.95; color: var(--ax-ink2); text-wrap: pretty; max-width: 46rem; }

.ax-by { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--ax-line-or); max-width: 52rem; }
.ax-by__who { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.ax-by__who img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--ax-or); background: var(--ax-soft); }
.ax-by__name { display: block; font-weight: 700; font-size: 1rem; color: var(--ax-ink); text-decoration: none; line-height: 1.5; }
a.ax-by__name:hover { color: var(--ax-deep); text-decoration: underline; text-underline-offset: 4px; }
.ax-by__role { display: block; font-size: .82rem; line-height: 1.7; color: var(--ax-ink2); max-width: 30rem; }
.ax-by__meta { display: flex; flex-wrap: wrap; gap: .4rem .5rem; margin-inline-start: auto; font-size: .85rem; color: var(--ax-ink2); }
.ax-by__meta > span, .ax-by__meta > time { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid var(--ax-line); white-space: nowrap; }
.ax-by__meta .is-time { color: var(--ax-deep); font-weight: 600; border-color: var(--ax-line-or); }

/* ---------- الصورة الرئيسية ---------- */
.ax-hero { position: relative; margin: clamp(1.4rem, 3vw, 2.2rem) auto 0; max-width: var(--ax-wide); }
.ax-hero::before { content: ''; position: absolute; inset: 14px -12px -14px 12px; border-radius: 26px; background: var(--ax-soft); border: 1px solid var(--ax-line-or); z-index: 0; }
.ax-hero img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; border: 5px solid #fff; box-shadow: 0 24px 44px -26px rgba(31, 26, 22, .45); background: var(--ax-paper2); }

/* ---------- الشبكة: عمود الفهرس + النص ---------- */
.ax-grid { display: block; max-width: var(--ax-wide); margin: clamp(2rem, 4vw, 3rem) auto 0; }
.ax-main { max-width: var(--ax-measure); margin-inline: auto; min-width: 0; }
@media (min-width: 1100px) {
  .ax-grid { display: grid; grid-template-columns: 250px minmax(0, var(--ax-measure)); gap: 3.5rem; justify-content: start; }
  .ax-main { margin-inline: 0; }
  .ax-head > * { margin-inline: 0; }
}
@media (max-width: 1099px) { .ax-head > * { margin-inline: auto; } .ax-head { max-width: var(--ax-measure); margin-inline: auto; } .ax-head > * { max-width: none; } }

/* ---------- في هذا المقال ---------- */
.ax-toc { align-self: start; min-width: 0; }
.ax-toc details { background: #fff; border: 1px solid var(--ax-line); border-radius: 16px; padding: .2rem 1rem; box-shadow: var(--sh-1, 0 4px 12px rgba(31, 26, 22, .05)); margin-bottom: 1.4rem; }
.ax-toc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 48px; font-weight: 700; font-family: var(--f-display, 'Alexandria', sans-serif); font-size: .95rem; color: var(--ax-ink); }
.ax-toc summary::-webkit-details-marker { display: none; }
.ax-toc summary::after { content: ''; width: .55rem; height: .55rem; border-inline-end: 2px solid var(--ax-deep); border-block-end: 2px solid var(--ax-deep); transform: rotate(45deg); transition: transform .2s ease; margin-top: -.2rem; }
.ax-toc details[open] summary::after { transform: rotate(225deg); margin-top: .2rem; }
.ax-toc ol { list-style: none; margin: 0; padding: .2rem 0 .9rem; counter-reset: toc; }
.ax-toc li { counter-increment: toc; }
.ax-toc li a { display: flex; gap: .65rem; padding: .42rem .1rem; font-size: .9rem; line-height: 1.7; color: var(--ax-ink2); text-decoration: none; border-radius: 8px; transition: color .15s ease; }
.ax-toc li a::before { content: counter(toc, arabic-indic); flex: none; width: 1.55rem; height: 1.55rem; margin-top: .1rem; display: inline-grid; place-items: center; border-radius: 50%; font-size: .72rem; font-weight: 700; color: var(--ax-deep); background: var(--ax-soft); }
.ax-toc li a:hover { color: var(--ax-deep); }
.ax-toc li a.is-on { color: var(--ax-ink); font-weight: 700; }
.ax-toc li a.is-on::before { background: var(--ax-or); color: #fff; }
@media (min-width: 1100px) {
  .ax-toc { position: sticky; top: calc(var(--snav-h, 64px) + 1.5rem); max-height: calc(100vh - var(--snav-h, 64px) - 3rem); overflow: auto; scrollbar-width: thin; padding-top: .2rem; }
  .ax-toc summary { pointer-events: none; }
  .ax-toc summary::after { display: none; }
  .ax-toc details { background: transparent; border: 0; border-inline-start: 3px solid var(--ax-line-or); border-radius: 0; box-shadow: none; padding: 0 1rem; }
}

/* ---------- المشاركة ---------- */
.ax-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 1.6rem; }
.ax-share__lbl { font-size: .85rem; font-weight: 700; color: var(--ax-ink2); margin-inline-end: .2rem; }
.ax-share a, .ax-share button { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--ax-line); color: var(--ax-ink); font: 600 .85rem/1 var(--f-body, inherit); text-decoration: none; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.ax-share a:hover, .ax-share button:hover { background: var(--ax-soft); border-color: var(--ax-line-or); color: var(--ax-deep); }
.ax-share svg { width: 16px; height: 16px; flex: none; }
.ax-share button[hidden] { display: none; }
.ax-share--end { margin: 2rem 0 0; padding-top: 1.2rem; border-top: 1px dashed var(--ax-line-or); }

/* ---------- الخلاصة ---------- */
.ax-main .art-summary { position: relative; margin: 0 0 2.2rem; padding: 1.25rem 1.4rem 1.25rem 1.3rem; background: linear-gradient(160deg, #FFF6EC, var(--ax-soft)); border: 1px solid var(--ax-line-or); border-inline-start: 6px solid var(--ax-or); border-radius: 18px; font-size: 1.02rem; line-height: 2; color: var(--ax-ink); }
.ax-sumlabel { display: table; margin-bottom: .5rem; padding: .1rem .8rem; border-radius: 999px; background: var(--ax-deep); color: #fff; font-family: var(--f-display, 'Alexandria', sans-serif); font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.ax-main .art-summary { display: block; }

/* ---------- جسم المقال ---------- */
.ax-body { font-size: clamp(1.06rem, 1.2vw + .8rem, 1.2rem); line-height: 2.1; color: #2A241F; text-wrap: pretty; overflow-wrap: break-word; }
.ax-body > p:first-child { font-size: 1.12em; color: var(--ax-ink); }
.ax-body p { margin: 0 0 1.3rem; }
.ax-body strong { font-weight: 700; color: var(--ax-ink); background: linear-gradient(transparent 62%, rgba(243, 168, 103, .38) 62%); }
.ax-body a { text-decoration: underline; text-decoration-color: var(--ax-line-or); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .15s ease, background .15s ease; }
.ax-body a:hover { text-decoration-color: var(--ax-or); background: var(--ax-soft); }
.ax-body h2, .ax-main .faq h2 { position: relative; scroll-margin-top: calc(var(--snav-h, 64px) + 1.2rem); margin: clamp(2.4rem, 5vw, 3.4rem) 0 1rem; padding-inline-start: 1.5rem; font-family: var(--f-display, 'Alexandria', sans-serif); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.6; color: var(--ax-ink); text-wrap: balance; }
.ax-body h2::before, .ax-main .faq h2::before { content: ''; position: absolute; inset-inline-start: 0; top: .78em; width: .8rem; height: .8rem; border-radius: 3px; background: var(--ax-or); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--ax-soft); }
.ax-body h3 { position: relative; scroll-margin-top: calc(var(--snav-h, 64px) + 1.2rem); margin: 2rem 0 .7rem; padding-inline-start: 1.1rem; font-family: var(--f-display, 'Alexandria', sans-serif); font-weight: 700; font-size: 1.2rem; line-height: 1.7; color: var(--ax-ink); }
.ax-body h3::before { content: ''; position: absolute; inset-inline-start: 0; top: .55em; width: .4rem; height: 1.1em; border-radius: 3px; background: var(--ax-or2); }

.ax-body ul, .ax-body ol { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.ax-body li { position: relative; margin: 0 0 .7rem; padding-inline-start: 1.9rem; }
.ax-body ul > li::before { content: ''; position: absolute; inset-inline-start: .35rem; top: .85em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--ax-or); box-shadow: 0 0 0 4px var(--ax-soft); }
.ax-body ol { counter-reset: ol; }
.ax-body ol > li { counter-increment: ol; padding-inline-start: 2.6rem; }
.ax-body ol > li::before { content: counter(ol, arabic-indic); position: absolute; inset-inline-start: 0; top: .4em; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--ax-or); color: #fff; font-weight: 700; font-size: .85rem; line-height: 1; }
.ax-body li > ul, .ax-body li > ol { margin: .6rem 0 0; }

.ax-body blockquote { position: relative; margin: 2.2rem 0; padding: 1.5rem 1.6rem 1.3rem; background: #fff; border: 1px solid var(--ax-line-or); border-radius: 18px; font-family: var(--f-display, 'Alexandria', sans-serif); font-weight: 600; font-size: 1.15em; line-height: 1.9; color: var(--ax-ink); box-shadow: 0 14px 28px -22px rgba(180, 84, 28, .5); }
.ax-body blockquote::before { content: '«'; position: absolute; inset-block-start: -.65rem; inset-inline-start: 1.1rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ax-or); color: #fff; font-size: 1.5rem; line-height: 1; padding-bottom: .3rem; }
.ax-body blockquote p { margin: 0; }
.ax-body blockquote p + p { margin-top: .8rem; }
.ax-body hr { border: 0; height: 12px; margin: 2.4rem auto; max-width: 140px; background: radial-gradient(circle, var(--ax-or) 0 3px, transparent 3.5px) 0 50% / 36px 12px repeat-x; }
.ax-body img { max-width: 100%; height: auto; border-radius: 14px; }
.ax-body code { padding: .1rem .4rem; border-radius: 6px; background: var(--ax-paper2); font-size: .9em; }

/* الجداول: تتمرّر أفقيًا على الموبايل */
.ax-tblw { margin: 1.8rem 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ax-line); border-radius: 16px; background: #fff; box-shadow: var(--sh-1, 0 4px 12px rgba(31, 26, 22, .05)); }
.ax-tblw table { width: 100%; min-width: 30rem; border-collapse: separate; border-spacing: 0; font-size: .95rem; line-height: 1.8; }
.ax-tblw th, .ax-tblw td { padding: .75rem 1rem; text-align: start; vertical-align: top; border-bottom: 1px solid var(--ax-line); }
.ax-tblw th { position: sticky; top: 0; background: var(--ax-soft); color: var(--ax-deep); font-weight: 700; white-space: nowrap; }
.ax-tblw tr:last-child td { border-bottom: 0; }
.ax-tblw tbody tr:nth-child(even) td { background: #FFFBF6; }

/* المصادر */
.ax-body h2:has(+ .art-sources) { font-size: 1.2rem; }
.art-sources { counter-reset: src; margin: 0 0 1.5rem; padding: 1rem 1.2rem; background: var(--ax-paper2); border: 1px solid var(--ax-line); border-radius: 16px; font-size: .95rem; line-height: 1.85; }
.ax-body ul.art-sources > li { counter-increment: src; padding-inline-start: 2rem; margin-bottom: .5rem; }
.ax-body ul.art-sources > li::before { content: counter(src, arabic-indic); top: .2em; width: 1.5rem; height: 1.5rem; border-radius: 50%; box-shadow: none; display: grid; place-items: center; background: var(--ax-deep); color: #fff; font-size: .72rem; font-weight: 700; }
.ax-body .art-sources a { word-break: break-word; }

/* الأسئلة الشائعة */
.ax-main .faq { margin-top: clamp(2.4rem, 5vw, 3.4rem); }
.ax-main .faq h2 { margin-top: 0; font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.ax-main .faq details { background: #fff; border: 1px solid var(--ax-line); border-radius: 16px; padding: 0 1.1rem; margin-bottom: .75rem; transition: border-color .2s ease, box-shadow .2s ease; }
.ax-main .faq details[open] { border-color: var(--ax-line-or); box-shadow: 0 14px 28px -22px rgba(180, 84, 28, .5); }
.ax-main .faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .6rem 0; font-weight: 700; font-size: 1.02rem; line-height: 1.8; color: var(--ax-ink); }
.ax-main .faq summary::-webkit-details-marker { display: none; }
.ax-main .faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ax-soft); color: var(--ax-deep); font-weight: 700; font-size: 1.3rem; line-height: 1; padding-bottom: .15rem; transition: transform .2s ease, background .2s ease, color .2s ease; }
.ax-main .faq details[open] summary::after { content: '−'; background: var(--ax-or); color: #fff; }
.ax-main .faq details p { margin: 0 0 1.1rem; padding-top: .8rem; border-top: 1px dashed var(--ax-line-or); color: var(--ax-ink2); line-height: 2; font-size: 1rem; }

/* ---------- الدعوة + الكاتب ---------- */
.ax-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.1rem 1.6rem; margin: 2.4rem 0 1.6rem; padding: 1.5rem 1.6rem; border-radius: 22px; background: linear-gradient(160deg, #FFF6EC, var(--ax-soft)); border: 1px solid var(--ax-line-or); }
.ax-cta p { flex: 1 1 18rem; margin: 0; font-family: var(--f-display, 'Alexandria', sans-serif); font-weight: 700; font-size: 1.1rem; line-height: 1.85; color: var(--ax-ink); }
.ax-cta__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.6rem; border-radius: 999px; background: var(--ax-deep); color: #fff !important; font-weight: 700; text-decoration: none; transition: background .2s ease, box-shadow .2s ease; }
.ax-cta__btn:hover { background: #9A4514; box-shadow: 0 8px 20px -10px rgba(180, 84, 28, .6); }
.ax-cta__news { flex-basis: 100%; font-size: .9rem; }
.ax-cta__news a { color: var(--ax-ink2); }

.ax-author { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem; background: #fff; border: 1px solid var(--ax-line); border-radius: 22px; box-shadow: var(--sh-1, 0 4px 12px rgba(31, 26, 22, .05)); }
.ax-author img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--ax-or); background: var(--ax-soft); }
.ax-author__kick { display: block; font-size: .78rem; font-weight: 700; color: var(--ax-deep); margin-bottom: .1rem; }
.ax-author strong { display: block; font-family: var(--f-display, 'Alexandria', sans-serif); font-size: 1.15rem; line-height: 1.6; color: var(--ax-ink); }
.ax-author p { margin: .3rem 0 .8rem; font-size: .95rem; line-height: 1.9; color: var(--ax-ink2); }
.ax-author__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.ax-author__links a { display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem; text-decoration: none; border: 1px solid var(--ax-line-or); color: var(--ax-deep); background: #fff; }
.ax-author__links a:first-child { background: var(--ax-deep); border-color: var(--ax-deep); color: #fff; }
.ax-author__links a:hover { box-shadow: 0 8px 18px -12px rgba(180, 84, 28, .7); }

/* ---------- مقالات ذات صلة ---------- */
.ax-rel { max-width: var(--ax-wide); margin: clamp(3rem, 6vw, 4.5rem) auto 0; padding-top: 2rem; border-top: 1px solid var(--ax-line); }
.ax-rel__ttl { margin: 0 0 1.4rem; font-family: var(--f-display, 'Alexandria', sans-serif); font-weight: 800; font-size: clamp(1.4rem, 3vw, 1.85rem); color: var(--ax-ink); }
.ax-rel__ttl::after { content: ''; display: block; width: 44px; height: 3px; margin-top: .7rem; border-radius: 3px; background: var(--ax-or); }
.ax-rel__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.ax-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--ax-line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-1, 0 4px 12px rgba(31, 26, 22, .05)); transition: transform .25s ease, box-shadow .25s ease; }
.ax-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(180, 84, 28, .5); }
.ax-card__img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ax-soft); }
.ax-card__img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s ease; }
.ax-card:hover .ax-card__img img { transform: scale(1.04); }
.ax-card__badge { position: absolute; top: .7rem; inset-inline-start: .7rem; background: #fff; color: var(--ax-deep); font-weight: 700; font-size: .76rem; padding: .25rem .7rem; border-radius: 999px; border: 1px solid var(--ax-line-or); box-shadow: 0 2px 8px rgba(31, 26, 22, .12); }
.ax-card__body { display: block; flex: 1; padding: 1rem 1.2rem .7rem; }
.ax-card__ttl { display: block; font-family: var(--f-display, 'Alexandria', sans-serif); font-weight: 800; font-size: 1.05rem; line-height: 1.7; color: var(--ax-ink); text-wrap: balance; }
.ax-card__foot { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1.2rem; font-size: .82rem; color: var(--ax-ink2); border-top: 1px solid var(--ax-line); }
.ax-card__more { color: var(--ax-deep); font-weight: 700; }
.ax-rel__all { display: inline-block; margin-top: 1.3rem; font-weight: 700; }

@media (max-width: 899px) { .ax-rel__grid { grid-template-columns: 1fr 1fr; } .ax-rel__grid .ax-card:nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 599px) {
  .ax-rel__grid { grid-template-columns: 1fr; }
  .ax-by__meta { margin-inline-start: 0; }
  .ax-hero::before { inset: 10px -6px -10px 6px; border-radius: 22px; }
  .ax-hero img { border-width: 4px; border-radius: 18px; }
  .ax-author { flex-direction: column; align-items: center; text-align: center; }
  .ax-author__links { justify-content: center; }
  .ax-cta { text-align: center; justify-content: center; }
  .ax-body li { padding-inline-start: 1.7rem; }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  .ax-card, .ax-card__img img, .ax-toc summary::after, .ax-main .faq summary::after { transition: none; }
  .ax-card:hover, .ax-card:hover .ax-card__img img { transform: none; }
  .ax-progress i { transition: none; }
}
@media print { .ax-progress, .ax-toc, .ax-share, .ax-rel, .ax-cta { display: none !important; } }
/* باب «الجديد» (2026-11-14): رابط المصدر الأصلي فوق الخلاصة */
.ax-src { margin: 0 0 1rem; padding: .7rem 1rem; border-radius: 14px; background: #fff; border: 1px dashed var(--ax-line-or); font-size: .95rem; color: var(--ax-ink); }
.ax-src b { color: var(--ax-deep); margin-inline-end: .3rem; }
.ax-src a { color: var(--ax-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; direction: ltr; unicode-bidi: isolate; }
