/*
 * المنصة الوطنية للتطوع — النظام البصري.
 * المرجع: بساطة، مساحات بيضاء واسعة، تدرج بصري واضح، صور كبيرة، دقة في التفاصيل.
 * أرضيتان فقط (أبيض ورمادي فاتح جداً) ولوحات سوداء للتباين، لون تأكيد واحد (أخضر مزرق) للروابط والأزرار.
 */
.jsr-body { margin: 0; background: #fff; }
.jsr {
	--ink: #121316; --ink-2: #2B2D33; --muted: #6E7178; --line: #E3E4E8; --hair: #D2D3D8; --soft: #F5F5F7; --card: #fff;
	--accent: #015FB7; --accent-2: #003873; --mint: #FEC511; --gold: #8A5A00; --gold-soft: #FFF4DE; --accent-soft: #E6F0FA;
	--ease: cubic-bezier(.28,.11,.32,1); --ease-out: cubic-bezier(.16,1,.3,1);
	--r: 18px; --r-lg: 28px;
	font-family: "Readex Pro", system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern";
}
@media (prefers-color-scheme: dark) {
	.jsr-body { background: #000; }
	.jsr { --ink: #F5F5F7; --ink-2: #D6D7DB; --muted: #9B9EA6; --line: #2A2B30; --hair: #3A3B40; --soft: #111214; --card: #1C1C1E; --accent: #FEC511; --accent-2: #FFD84D; --accent-soft: #0B1E36; --gold: #F2C46D; --gold-soft: #2A2214; background: #000; }
}
.jsr *, .jsr *::before, .jsr *::after { box-sizing: border-box; }
.jsr a { color: inherit; }
.jsr h1, .jsr h2, .jsr h3, .jsr p, .jsr dl, .jsr dd { margin: 0; text-align: start; }
.jsr-wrap { max-width: 1024px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 22px); }
.jsr-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.jsr-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--card) !important; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.jsr-skip:focus { top: 12px; }
.jsr :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------------- الرأس */
.jsr-top { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 30; background: color-mix(in srgb, var(--card) 80%, transparent); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid color-mix(in srgb, var(--hair) 60%, transparent); }
.jsr-top__in { display: flex; align-items: center; gap: 22px; height: 52px; max-width: 1024px; }
.jsr-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink) !important; }
.jsr-brand .jsr-logo { color: var(--ink); width: 28px; height: 28px; }
@media (prefers-color-scheme: dark) { .jsr-brand .jsr-logo { color: #2C2C2E; } }
.jsr-brand__name { display: flex; flex-direction: column; line-height: 1.1; font-size: .95rem; font-weight: 600; }
.jsr-brand__name small { font-size: .62rem; font-weight: 400; color: var(--muted); }
.jsr-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.jsr-nav a { padding: 6px 12px; text-decoration: none; color: var(--ink-2); font-size: .8rem; opacity: .85; transition: opacity .2s var(--ease); }
.jsr-nav a:hover { opacity: 1; }
.jsr-top__act { display: flex; gap: 4px; align-items: center; }
.jsr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: .8rem; font-weight: 500; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .2s var(--ease), opacity .2s var(--ease); }
.jsr-btn--dark { background: var(--ink); color: var(--card) !important; }
.jsr-btn--dark:hover { opacity: .85; }
.jsr-btn--text { color: var(--ink) !important; background: transparent; }
.jsr-btn--text:hover { background: var(--soft); }
.jsr-menu { display: none; position: relative; }
.jsr-menu summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; }
.jsr-menu summary::-webkit-details-marker { display: none; }
.jsr-menu__panel { position: fixed; inset-inline: 0; top: calc(var(--wp-admin--admin-bar--height, 0px) + 52px); bottom: 0; padding: 18px 28px; background: var(--card); display: flex; flex-direction: column; animation: jsr-drop .35s var(--ease-out); overflow: auto; }
.jsr-menu__panel a { padding: 12px 0; font-size: 1.5rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.jsr-menu__panel hr { border: 0; margin: 10px 0; }
@keyframes jsr-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
	.jsr-nav { display: none; }
	.jsr-top__in { justify-content: space-between; gap: 8px; }
	.jsr-top__act { margin-inline-start: auto; }
	.jsr-menu { display: block; }
}
@media (max-width: 420px) { .jsr-top__act .jsr-btn--text { display: none; } }

/* ---------------------------------------------------------------- اللوحات */
.jsr-tile { position: relative; overflow: hidden; text-align: center; padding: clamp(64px, 10vw, 112px) clamp(20px, 5vw, 48px) 0; background: var(--card); }
.jsr-tile > * { margin-inline: auto !important; }
.jsr-tile--soft { background: var(--soft); }
.jsr-tile--dark { background: #000; color: #F5F5F7; --muted: #A1A1A6; --line: #2A2B30; --accent: #FEC511; }
.jsr-tile--rail, .jsr-tile--numbers, .jsr-tile--end, #jsr-how { padding-bottom: clamp(64px, 9vw, 104px); }
.jsr-tile--soft:not(.jsr-half):not(.jsr-tile--end) { padding-bottom: clamp(56px, 8vw, 88px); }
.jsr-kicker { font-size: clamp(1rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--accent); margin-bottom: 6px !important; }
.jsr-display { font-size: clamp(3rem, 9vw, 6rem); line-height: 1.04; font-weight: 700; letter-spacing: 0; text-wrap: balance; text-align: center !important; }
.jsr-headline { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08; font-weight: 700; text-wrap: balance; text-align: center !important; max-width: 16em; }
.jsr-title { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; font-weight: 700; text-wrap: balance; }
.jsr-tile .jsr-title { text-align: center; }
.jsr-sub { font-size: clamp(1.1rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--muted); max-width: 32em; margin-top: 14px !important; text-align: center !important; font-weight: 400; text-wrap: pretty; }
.jsr-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; margin-top: 26px !important; }
.jsr-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: #fff !important; text-decoration: none; font-size: 1rem; font-weight: 500; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.jsr-pill:hover { background: var(--accent-2); }
.jsr-pill:active { transform: scale(.98); }
.jsr-pill--light { background: #F5F5F7; color: #121316 !important; }
.jsr-pill--light:hover { background: #fff; }
@media (prefers-color-scheme: dark) { .jsr-pill { color: #000 !important; } }
.jsr-more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent) !important; text-decoration: none; font-size: 1rem; }
.jsr-more:hover { text-decoration: underline; text-underline-offset: 4px; }
.jsr-chev { flex: none; transition: transform .2s var(--ease); }
.jsr-more:hover .jsr-chev { transform: translateX(-3px); }

/* الواجهة: الهاتف ورمز الحضور */
.jsr-tile--hero { padding-top: clamp(48px, 7vw, 88px); }
.jsr-stage { position: relative; margin-top: clamp(40px, 6vw, 64px) !important; height: clamp(360px, 52vw, 560px); display: flex; justify-content: center; align-items: flex-start; }
.jsr-stage::before { content: ""; position: absolute; inset: 22% 0 0; background: radial-gradient(60% 70% at 50% 30%, var(--accent-soft), transparent 70%); }
.jsr-phone { position: relative; width: clamp(240px, 30vw, 330px); aspect-ratio: 9 / 19; border-radius: clamp(36px, 4.6vw, 52px); background: #1C1C1E; padding: 11px; box-shadow: 0 0 0 1px #3A3A3C, 0 40px 80px -30px rgba(0,0,0,.45), 0 18px 40px -20px rgba(0,0,0,.35); }
.jsr-phone__screen { position: relative; height: 100%; border-radius: clamp(28px, 3.8vw, 42px); background: #fff; color: #121316; display: flex; flex-direction: column; align-items: center; padding: 56px 22px 22px; overflow: hidden; }
.jsr-phone__notch { position: absolute; top: 12px; left: 50%; translate: -50% 0; width: 34%; height: 24px; border-radius: 999px; background: #1C1C1E; }
.jsr-phone__eyebrow { font-size: .75rem; color: #6E7178; text-align: center !important; }
.jsr-phone__title { font-size: 1.1rem; font-weight: 600; margin: 2px 0 18px !important; text-align: center !important; }
.jsr-phone__qr { width: 78%; aspect-ratio: 1; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #E3E4E8; color: #121316; }
.jsr-qr { width: 100%; height: 100%; display: block; }
.jsr-phone__meta { margin-top: 14px !important; font-size: .78rem; color: #015FB7; font-weight: 500; text-align: center !important; }
.jsr-phone__bar { margin-top: auto; width: 100%; height: 5px; border-radius: 999px; background: #EDEEF0; overflow: hidden; }
.jsr-phone__bar i { display: block; height: 100%; width: 62%; background: #015FB7; border-radius: inherit; animation: jsr-count 3s var(--ease) infinite alternate; }
@keyframes jsr-count { from { width: 100%; } to { width: 18%; } }

/* البحث */
.jsr-find { display: flex; align-items: center; gap: 6px; max-width: 680px; margin-top: 34px !important; padding: 6px; padding-inline-start: 20px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -18px rgba(0,0,0,.25); color: var(--muted); transition: box-shadow .25s var(--ease); }
.jsr-find:focus-within { box-shadow: 0 0 0 2px var(--accent), 0 12px 32px -18px rgba(0,0,0,.25); }
.jsr-find input, .jsr-find select { font: inherit; color: var(--ink); background: transparent; border: 0; outline: none; min-height: 52px; }
.jsr-find input { flex: 1 1 200px; min-width: 0; font-size: 1.05rem; }
.jsr-find select { flex: 0 1 180px; min-width: 0; font-size: .9rem; color: var(--muted); border-inline-start: 1px solid var(--line); padding-inline: 12px; border-radius: 0; }
.jsr-find button { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.jsr-find button:hover { background: var(--accent-2); }
.jsr-find button:active { transform: scale(.95); }
@media (max-width: 560px) { .jsr-find { flex-wrap: wrap; border-radius: 24px; padding: 10px; } .jsr-find select { border: 0; flex-basis: 60%; padding-inline: 0; } }
.jsr-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px !important; }
.jsr-chips a { padding: 8px 16px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: .88rem; text-decoration: none; color: var(--ink-2); transition: box-shadow .2s var(--ease), color .2s var(--ease); }
.jsr-chips a:hover { box-shadow: 0 0 0 1px var(--ink); color: var(--ink); }

/* شريط الفرص */
.jsr-tile--rail { text-align: start; padding-inline: 0; }
.jsr-rail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; max-width: 1024px; padding-inline: clamp(20px, 4vw, 22px); margin-bottom: 28px; }
.jsr-tile--rail .jsr-title { text-align: start; }
.jsr-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(22px, calc((100% - 1024px) / 2 + 22px)); padding: 8px max(22px, calc((100% - 1024px) / 2 + 22px)) 36px; scrollbar-width: none; max-width: none !important; }
.jsr-rail::-webkit-scrollbar { display: none; }
.jsr-card { position: relative; flex: 0 0 clamp(260px, 30vw, 320px); min-height: 400px; scroll-snap-align: start; display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--r-lg); background: var(--soft); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.jsr-card:hover { transform: scale(1.015); box-shadow: 0 24px 48px -28px rgba(0,0,0,.35); }
.jsr-card.is-inst { background: var(--gold-soft); }
.jsr-card__kind { font-size: .85rem; font-weight: 600; color: var(--accent); }
.jsr-card.is-inst .jsr-card__kind { color: var(--gold); }
.jsr-card__title { font-size: 1.6rem; line-height: 1.25; font-weight: 700; margin-top: 10px !important; text-wrap: balance; }
.jsr-card__title a { text-decoration: none; }
.jsr-card__org { margin-top: 10px !important; color: var(--muted); font-size: .95rem; }
.jsr-card__date { margin-top: auto !important; display: flex; align-items: baseline; gap: 10px; }
.jsr-card__date strong { font-size: 4rem; line-height: 1; font-weight: 300; font-variant-numeric: tabular-nums; }
.jsr-card__date span { color: var(--muted); font-size: .95rem; }
.jsr-stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.jsr-empty { max-width: 1024px; padding-inline: 22px; color: var(--muted); font-size: 1.1rem; }

/* لوحتان متجاورتان */
.jsr-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 12px; padding: 12px; background: var(--card); }
.jsr-half { border-radius: var(--r-lg); min-height: 620px; padding-bottom: 0; display: flex; flex-direction: column; }
.jsr-half .jsr-sub { font-size: clamp(1rem, 1.7vw, 1.25rem); }
/* صفحة جمعية مصغرة */
.jsr-mini { position: relative; margin-top: auto !important; width: min(88%, 420px); height: 260px; border-radius: 22px 22px 0 0; background: var(--card); box-shadow: 0 -1px 0 var(--line), 0 30px 60px -30px rgba(0,0,0,.25); display: flex; flex-direction: column; align-items: center; padding-top: 104px; gap: 10px; transform: translateY(24px); }
.jsr-mini__cover { position: absolute; inset: 0 0 auto; height: 86px; border-radius: 22px 22px 0 0; background: linear-gradient(120deg, #015FB7, #FEC511); }
.jsr-mini__logo { position: absolute; top: 52px; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--card); color: #015FB7; box-shadow: 0 6px 16px -6px rgba(0,0,0,.3); }
.jsr-mini__line, .jsr-stack__card i, .jsr-cert__line { display: block; height: 10px; border-radius: 999px; background: var(--line); }
.jsr-mini__line { margin-top: 4px; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.jsr-mini__badge { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.jsr-mini__row { display: flex; gap: 8px; width: 80%; margin-top: 6px; }
.jsr-mini__row i { flex: 1; height: 54px; border-radius: 12px; background: var(--soft); }
/* بطاقات البرامج المكدسة */
.jsr-stack { position: relative; margin-top: auto !important; width: min(88%, 420px); height: 280px; }
.jsr-stack__card { position: absolute; inset-inline: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: #1C1C1E; box-shadow: 0 0 0 1px #2C2C2E, 0 24px 48px -24px rgba(0,0,0,.8); text-align: start; }
.jsr-stack__card b { font-size: .85rem; color: #F2C46D; font-weight: 600; }
.jsr-stack__card i { background: #3A3A3C; }
.jsr-stack__card:nth-child(1) { top: 0; transform: scale(.88); opacity: .55; }
.jsr-stack__card:nth-child(2) { top: 48px; transform: scale(.94); opacity: .8; }
.jsr-stack__card:nth-child(3) { top: 100px; height: 200px; }

/* الشهادة */
.jsr-tile--tall { padding-bottom: 0; }
.jsr-cert { margin-top: clamp(40px, 6vw, 64px) !important; perspective: 1400px; height: clamp(300px, 38vw, 420px); display: flex; justify-content: center; align-items: flex-start; }
.jsr-cert__paper { width: min(86vw, 560px); aspect-ratio: 1.414; border-radius: 14px 14px 0 0; background: #FBFAF7; color: #121316; padding: clamp(22px, 4vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 -30px 80px -30px rgba(254,197,17,.35); transform: rotateX(14deg); transform-origin: bottom; text-align: center; }
.jsr-cert__brand { font-size: .8rem; color: #6E7178; letter-spacing: 0; text-align: center !important; }
.jsr-cert__title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; text-align: center !important; margin-bottom: 8px !important; }
.jsr-cert__line { background: #E3E4E8; height: 9px; }
.jsr-cert__foot { margin-top: auto; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; }
.jsr-cert__serial { font-size: .8rem; color: #6E7178; font-variant-numeric: tabular-nums; }
.jsr-cert__qr { width: 64px; height: 64px; color: #121316; }

/* كيف تعمل */
.jsr-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); margin-top: 30px !important; }
.jsr-seg button { font: inherit; font-size: .92rem; border: 0; border-radius: 999px; padding: 0 20px; min-height: 36px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.jsr-seg button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.jsr-steps { list-style: none; margin: 48px auto 0 !important; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; max-width: 980px; }
.albs-cs-js .jsr-steps[data-hidden] { display: none; }
.jsr-steps li { text-align: center; animation: jsr-rise .5s var(--ease-out) both; }
.jsr-steps li:nth-child(2) { animation-delay: 80ms; } .jsr-steps li:nth-child(3) { animation-delay: 160ms; }
@keyframes jsr-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.jsr-steps__n { display: block; font-size: clamp(3.5rem, 7vw, 5rem); line-height: 1; font-weight: 200; color: var(--accent); font-variant-numeric: tabular-nums; }
.jsr-steps h3 { font-size: 1.35rem; font-weight: 600; margin-top: 14px !important; text-align: center !important; }
.jsr-steps p { color: var(--muted); margin-top: 6px !important; text-align: center !important; }

/* من الميدان */
.jsr-photos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; max-width: 1180px; margin-top: 40px !important; }
.jsr-photo { position: relative; overflow: hidden; border-radius: 22px; display: block; background: var(--line); }
.jsr-photo.is-big { grid-column: span 2; grid-row: span 2; }
.jsr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease-out); }
.jsr-photo:hover img { transform: scale(1.04); }
.jsr-photo span { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; color: #fff; font-size: .95rem; font-weight: 500; text-align: start; background: linear-gradient(to top, rgba(0,0,0,.6), transparent); }
@media (max-width: 720px) { .jsr-photos { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* الأرقام */
.jsr-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px 24px; max-width: 980px; }
.jsr-numbers div { display: flex; flex-direction: column; align-items: center; }
.jsr-numbers dd { font-size: clamp(3.4rem, 7vw, 5.2rem); line-height: 1; font-weight: 200; font-variant-numeric: tabular-nums; }
.jsr-numbers dt { margin-top: 10px; color: var(--muted); font-size: 1rem; }
.jsr-logos { list-style: none; padding: 0; margin: 64px auto 0 !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 900px; }
.jsr-logos a { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; overflow: hidden; background: var(--org, var(--ink)); color: #fff; font-weight: 700; font-size: 1.3rem; text-decoration: none; transition: transform .3s var(--ease-out); }
.jsr-logos a:hover { transform: translateY(-3px); }
.jsr-logos img { width: 100%; height: 100%; object-fit: cover; background: #fff; }

/* ---------------------------------------------------------------- التذييل */
.jsr-foot { background: var(--soft); color: var(--muted); font-size: .75rem; line-height: 1.5; padding-block: 18px 22px; }
.jsr-foot .jsr-wrap { max-width: 1024px; }
.jsr-foot__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--hair); }
@media (max-width: 760px) { .jsr-foot__grid { grid-template-columns: repeat(2, 1fr); } .jsr-foot__brand { grid-column: 1 / -1; } }
.jsr-foot__brand p { margin-top: 10px !important; max-width: 24em; }
.jsr-foot h3 { font-size: .75rem; font-weight: 600; color: var(--ink); margin-bottom: 8px !important; }
.jsr-foot nav { display: flex; flex-direction: column; gap: 7px; }
.jsr-foot nav a { color: var(--muted); text-decoration: none; }
.jsr-foot nav a:hover { color: var(--ink); text-decoration: underline; }
.jsr-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 14px; }
.jsr-credit a { color: var(--ink) !important; text-decoration: none; }
.jsr-credit a:hover { text-decoration: underline; }

/* الظهور التدريجي */
.albs-cs-js .albs-cs-reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.albs-cs-js .albs-cs-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.jsr *, .jsr *::before, .jsr *::after { animation: none !important; transition: none !important; }
	.albs-cs-js .albs-cs-reveal { opacity: 1; transform: none; }
}

/* ======================================================================
 * صفحات المنصة داخل الهيكل المستقل: متغيرات cs.css على هوية المنصة.
 * ====================================================================== */
.jsr .albs-cs {
	--brand-navy: #121316; --brand-navy-2: #2B2D33; --headline: #121316; --ink: #121316; --muted: #6E7178; --line: #E3E4E8;
	--surface-card: #fff; --surface-paper: #F5F5F7; --on-brand: #fff; --blue: #015FB7; --blue-on-navy: #FEC511; --maroc-green: #015FB7;
	--font-sans: "Readex Pro", system-ui, sans-serif; --radius-sm: 8px; --radius-md: 12px; --radius-lg: 18px; --radius-pill: 999px;
	--cs-pill-bg: #E6F0FA; --cs-pill-ink: #015FB7; --cs-gold: #8A5A00;
	--shadow-raised: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -16px rgba(0,0,0,.18);
}
@media (prefers-color-scheme: dark) {
	.jsr .albs-cs {
		--brand-navy: #1C1C1E; --brand-navy-2: #2C2C2E; --headline: #F5F5F7; --ink: #E5E5EA; --muted: #9B9EA6; --line: #2A2B30;
		--surface-card: #1C1C1E; --surface-paper: #111214; --blue: #FEC511; --maroc-green: #FEC511; --cs-pill-bg: #0B1E36; --cs-pill-ink: #FFD84D; --cs-gold: #F2C46D;
		--cs-accent: #FEC511; --cs-btn: #FEC511; --cs-btn-hover: #FFD84D; --cs-ok: #6fd3a0; --cs-warn: #e7b65c; --cs-err: #ff8a8a;
	}
	.jsr .albs-cs .albs-cs-btn:not(.albs-cs-btn--ghost) { color: #000 !important; }
}
.jsr .albs-cs-badge--verified.albs-cs-badge--inst { background: #FFF4DE; color: #8A5A00; }
.jsr .albs-cs-badge--verified.albs-cs-badge--inst::before { color: #8A5A00; }
.jsr .albs-cs .albs-cs-hero__title span, .jsr .albs-cs .albs-cs-hero .albs-cs-eyebrow { color: #FEC511 !important; }
.jsr .albs-cs-hero__compass .n { fill: #FEC511; }
.jsr .albs-cs-hero__glow { background: radial-gradient(closest-side, rgba(254,197,17,.3), transparent); }
.jsr .albs-cs .albs-cs-hero { background: #000; border-radius: var(--r-lg); }
.jsr .albs-cs .albs-cs-hero .albs-cs-hero__search .albs-cs-btn { background-color: #015FB7 !important; border-color: #015FB7 !important; color: #fff !important; }
@media (prefers-color-scheme: dark) {
	.jsr .albs-cs .albs-cs-hero .albs-cs-hero__search .albs-cs-btn { background-color: #FEC511 !important; border-color: #FEC511 !important; color: #000 !important; }
	.jsr .albs-cs .albs-cs-hero__search input { color: #F5F5F7; }
}
/* صفحات الفضاءات: نفس المساحات الواسعة والعناوين الكبيرة */
.jsr-page { padding-block: clamp(40px, 7vw, 80px) clamp(64px, 9vw, 112px); min-height: 60vh; }
.jsr-page .jsr-wrap { max-width: 1024px; }
.jsr-page__head { margin-bottom: clamp(24px, 4vw, 40px); }
.jsr-page__title { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; font-weight: 700; text-wrap: balance; }
.jsr-page .jsr-eyebrow { font-size: 1rem; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.jsr-page .jsr-eyebrow a { color: inherit; text-decoration: none; }
.jsr-page .albs-cs-site-wrap { padding: 0; }
.jsr-page .albs-cs-panel, .jsr-page .albs-cs-card, .jsr-page .albs-cs-row { border-color: var(--line); border-radius: var(--r); }
.jsr-page .albs-cs-disclaimer { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.jsr-tile .jsr-kicker, .jsr-tile .jsr-sub, .jsr-tile .jsr-headline, .jsr-tile .jsr-display { text-align: center !important; }
.jsr-tile--rail .jsr-kicker { text-align: start !important; }

/* ======================================================================
 * 0.9 — واجهة موحدة: الرابط النشط، قائمة الحساب، مسار التنقل، لوحة الخريطة.
 * ====================================================================== */
.jsr-nav a[aria-current="page"] { opacity: 1; color: var(--ink); font-weight: 600; }
.jsr-acct { position: relative; }
.jsr-acct summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 4px 3px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .8rem; }
.jsr-acct summary::-webkit-details-marker { display: none; }
.jsr-acct__av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--card); font-weight: 600; font-size: .8rem; }
.jsr-acct__name { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jsr-acct__panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 230px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.28); padding: 8px; display: flex; flex-direction: column; animation: jsr-drop .25s var(--ease-out); z-index: 40; }
.jsr-acct__panel a { padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: .9rem; }
.jsr-acct__panel a:hover { background: var(--soft); }
.jsr-acct__panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.jsr-acct__who { padding: 8px 12px 10px; display: flex; flex-direction: column; font-size: .9rem; }
.jsr-acct__who span { color: var(--muted); font-size: .75rem; text-align: end; }
.jsr-acct__out { color: #B3261E; }
@media (prefers-color-scheme: dark) { .jsr-acct__out { color: #FF8A8A; } }
@media (max-width: 520px) { .jsr-acct__name { display: none; } .jsr-acct summary { padding: 3px; } }
.jsr-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 0; font-size: .85rem; color: var(--muted); }
.jsr-crumbs li + li::before { content: "‹"; margin-inline-end: 4px; opacity: .6; }
.jsr-crumbs a { color: var(--accent); text-decoration: none; }
.jsr-crumbs a:hover { text-decoration: underline; }
.jsr-toast { max-width: 520px; margin: 14px auto 0; padding: 10px 16px; border-radius: 999px; background: var(--soft); text-align: center !important; font-size: .9rem; }
.jsr-pill--ghost { background: transparent; color: var(--accent) !important; box-shadow: inset 0 0 0 1px currentColor; }
.jsr-pill--ghost:hover { background: var(--accent-soft); }
.jsr-tile--map { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.jsr-tile--map .jsr-kicker, .jsr-tile--map .jsr-sub, .jsr-tile--map .jsr-headline { text-align: start !important; }
.jsr-tile--map .jsr-ctas { justify-content: flex-start; }
.jsr-map__fig { display: block; }
.jsr-map__fig svg { width: 100%; max-height: 520px; }
.jsr-map__fig path { fill: var(--soft); stroke: var(--hair); stroke-width: 1.5; }
.jsr-map__fig circle { fill: color-mix(in srgb, var(--accent) 75%, transparent); stroke: var(--card); stroke-width: 3; }
.jsr-map__fig circle.z { fill: var(--hair); }
@media (max-width: 760px) { .jsr-tile--map { grid-template-columns: 1fr; } .jsr-map__fig svg { max-height: 380px; } }
@media print {
	.jsr-top, .jsr-foot, .jsr-crumbs, .albs-cs-noprint { display: none !important; }
	.jsr-page { padding: 0; }
}
.jsr-tile--map { padding-inline: max(clamp(20px, 5vw, 48px), calc((100% - 1024px) / 2)); padding-bottom: clamp(56px, 8vw, 96px); background: var(--soft); text-align: start; }
.jsr-tile--map > * { margin-inline: 0 !important; }
.jsr-tile--map .jsr-headline { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.jsr-map__fig path { fill: var(--card); }

/* ======================================================================
 * 0.10.1 — الشعار الرسمي وألوانه: أزرق ليلي، أزرق، ذهبي.
 * ====================================================================== */
.jsr-brand .jsr-logo { width: 36px; height: 36px; object-fit: contain; color: inherit; }
.jsr-brand__name { color: #003873; }
.jsr-brand__name small { color: #015FB7; }
.jsr-brand--full .jsr-logo-full { width: 200px; height: auto; display: block; }
@media (prefers-color-scheme: dark) {
	.jsr-brand .jsr-logo { color: inherit; }
	.jsr-brand__name { color: #F5F5F7; }
	.jsr-brand__name small { color: #FEC511; }
	.jsr-brand--full { background: #fff; border-radius: 18px; padding: 10px 14px; }
}
@media (prefers-color-scheme: light) { .jsr-btn--dark { background: #003873; } .jsr-acct__av { background: #003873; } }
.jsr-top__in { height: 60px; }
.jsr-menu__panel { top: calc(var(--wp-admin--admin-bar--height, 0px) + 60px); }
.jsr-brand .jsr-logo { width: 44px; height: 44px; }
.jsr-brand__name { font-size: 1.02rem; }
.jsr-hero-logo { display: flex; justify-content: center; margin-bottom: 18px !important; }
.jsr-hero-logo .jsr-logo-full { width: clamp(200px, 26vw, 300px); height: auto; }
@media (prefers-color-scheme: dark) { .jsr-hero-logo .jsr-logo-full { background: #fff; border-radius: 22px; padding: 12px 18px; } }
