/* ==========================================================================
   هوية 2.0 — التنسيقات (القيم القابلة للتغيير تأتي من لوحة الإعدادات)
   ========================================================================== */
:root {
	--c-primary: #4169E3;
	--c-header: #96E3FF;
	--c-text: #212529;
	--c-muted: #828282;
	--c-border: #F2F2F2;
	--c-soft: #F9FBFF;
	--c-soft2: #E3EEFF;
	--c-title-box: #F0F0F0;
	--c-manage: #3FB8E6;
	--c-footer: #F5F5F5;
	--c-leader: #0F1F3D;
	--c-gold: #F3C63F;
	--c-cream: #FFF8E5;
	--c-badge: #4169E3;
	--c-badge-gold: #D9A520;
	--c-badge-basic: #9CC3D5;
	--c-promo: #4169E3;
	--c-strip: #FFE600;
	--c-strip-link: #E0301E;
	--font: "IBM Plex Sans Arabic", sans-serif;
	--fs: 16px;
	--container: 1140px;
	--r-card: 12px;
	--r-img: 16px;
	--r-box: 48px;
	--logo-h: 34px;
	--hero-pad: 64px;
	--hdr-h: 95px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: var(--fs); line-height: 1.6; color: var(--c-text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
svg { max-width: 100%; }
img { display: block; }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: none; opacity: .92; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; width: auto; height: auto; clip: auto; top: 8px; inset-inline-start: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.wrap { width: 100%; max-width: calc(var(--container) + 24px); margin-inline: auto; padding-inline: 12px; }
.narrowish { max-width: 900px; }
.center { text-align: center; }
.empty { color: var(--c-muted); }
.ic { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: middle; }

/* ---------- Badges ---------- */
.badge { --bs: 18px; display: inline-flex !important; align-items: center; justify-content: center; vertical-align: -2px; color: var(--c-badge); line-height: 0; width: var(--bs); height: var(--bs); flex: none; margin-inline-start: 2px; }
.badge svg { display: block; width: var(--bs) !important; height: var(--bs) !important; max-width: none !important; overflow: visible; filter: drop-shadow(0 1px 1px rgba(21, 29, 53, .15)); }
.badge-leader { color: var(--c-badge-gold); }
.badge-basic { color: var(--c-badge-basic); }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 60; background: var(--c-header); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.has-sticky .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky .site-header { top: 32px; }
.hdr { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); padding-inline: 16px 24px; }
.hdr-start { display: flex; align-items: center; gap: 16px; flex: none; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--c-primary); text-decoration: none; }
/* الشعار النصي */
.tlogo { --logo-scale: 1; display: inline-flex; align-items: center; gap: calc(var(--logo-fs) * .32 * var(--logo-scale)); font-size: calc(var(--logo-fs) * var(--logo-scale)); line-height: 1; color: var(--logo-c); }
.tlogo.mark-end { flex-direction: row-reverse; }
.tlogo-words { display: flex; flex-direction: column; gap: .22em; }
.tlogo .brand-text { font-family: var(--logo-font); font-weight: var(--logo-w); letter-spacing: var(--logo-ls); font-size: 1em; line-height: 1.05; white-space: nowrap; }
.tlogo.is-grad .brand-text { background: linear-gradient(90deg, var(--logo-c), var(--logo-mark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tlogo .brand-tag { font-family: var(--font); font-size: .36em; font-weight: 500; letter-spacing: .02em; opacity: .7; white-space: nowrap; }
.tlogo .bm { flex: none; display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; color: var(--logo-mark); }
.tlogo .bm svg { width: 100%; height: 100%; display: block; }
.tlogo .bm-square, .tlogo .bm-circle { position: relative; width: 1.32em; height: 1.32em; border-radius: .34em; background: linear-gradient(140deg, var(--logo-mark), color-mix(in srgb, var(--logo-mark) 70%, #000)); box-shadow: 0 .18em .5em -.2em color-mix(in srgb, var(--logo-mark) 70%, transparent); color: #fff; }
.tlogo .bm-circle { border-radius: 50%; }
.tlogo .bm b { font-family: var(--logo-font); font-weight: 800; font-size: .9em; line-height: 1; transform: translateY(-.02em); }
.tlogo .bm i { position: absolute; width: .3em; height: .3em; border-radius: 50%; background: var(--logo-accent); top: -.08em; inset-inline-end: -.08em; border: .07em solid #fff; }
.tlogo .bm-badge { width: 1.2em; height: 1.2em; }
/* على الخلفيات الداكنة */
.is-leader .site-header .tlogo, .foot-s-dark .tlogo, .foot-s-brand .tlogo, .auth-side .tlogo, .ptitle-leader .tlogo { --logo-c: #fff; --logo-mark: #fff; }
.is-leader .site-header .tlogo .bm-square b, .foot-s-dark .tlogo .bm-square b, .foot-s-brand .tlogo .bm-square b, .auth-side .tlogo .bm-square b,
.is-leader .site-header .tlogo .bm-circle b, .foot-s-dark .tlogo .bm-circle b, .foot-s-brand .tlogo .bm-circle b, .auth-side .tlogo .bm-circle b { color: var(--c-primary); }
.is-leader .site-header .tlogo.is-grad .brand-text, .foot-s-dark .tlogo.is-grad .brand-text, .auth-side .tlogo.is-grad .brand-text { background: none; color: #fff; }
.brand img { height: var(--logo-h); width: auto; }
.hdr-sep { width: 1px; height: 34px; background: rgba(255, 255, 255, .35); }
.hdr-leaders { color: var(--c-gold); font-size: 27px; font-weight: 700; }

.nav { flex: 1; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; color: var(--c-text); font-size: 16px; font-weight: 500; border-bottom: 2px solid transparent; }
.nav-list > li > a:hover { color: var(--c-primary); }
.nav-list .caret { width: 14px; height: 14px; }
.nav-badge { --bs: 16px; }
.nav-list .sub, .dd-menu { position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 12px 32px -8px rgba(21, 29, 53, .2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 70; }
.nav-list li:hover > .sub, .nav-list li:focus-within > .sub, .dd.is-open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-list .sub a, .dd-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--c-text); font-size: 15px; }
.nav-list .sub a:hover, .dd-menu a:hover { background: var(--c-soft); color: var(--c-primary); }

.hdr-end { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.hdr-search { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); color: var(--c-primary); display: grid; place-items: center; cursor: pointer; }
.hdr-search .ic { width: 22px; height: 22px; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; padding: 4px; }
.dd .dd-menu { inset-inline-start: auto; inset-inline-end: 0; }
.flag { font-size: 26px; line-height: 1; display: inline-flex; }
.flag img { width: 32px; height: 22px; object-fit: cover; border-radius: 2px; }
.acc-btn { text-align: start; }
.acc-meta { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.acc-meta strong { font-size: 15px; font-weight: 700; direction: ltr; }
.acc-meta em { font-style: normal; font-size: 12px; padding: 2px 16px; border-radius: 999px; background: rgba(255, 255, 255, .55); color: #444; }
.acc-av { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #e6e6e6; color: #9b9b9b; border: 2px solid #fff; }
.acc-av img { width: 100%; height: 100%; }
.acc-login { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); font-weight: 600; }
.hdr-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .6); cursor: pointer; place-items: center; }

/* Search band */
.search-band { display: none; background: var(--c-header); padding: 12px 0 28px; }
.search-band.is-open { display: block; }
.search-band .sbox { max-width: 1080px; margin-inline: auto; height: 64px; }

/* ---------- Search box ---------- */
.sbox { position: relative; display: flex; align-items: center; gap: 12px; height: 80px; padding: 8px; padding-inline-start: 24px; background: #F9F9F9; border: 1px solid var(--c-border); border-radius: 100px; box-shadow: 0 10px 24px rgba(21, 29, 53, .08); }
.sbox-ic { color: #8a8a8a; display: grid; }
.sbox-ic .ic { width: 30px; height: 30px; stroke-width: 2.4; }
.sbox input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 20px; font-weight: 500; color: #555; }
.sbox input::placeholder { color: var(--c-muted); }
.sbox input::-webkit-search-cancel-button { display: none; }
.sbox-btn { height: 100%; min-width: 108px; padding: 0 28px; border: 0; border-radius: 100px; background: var(--c-primary); color: #fff; font-size: 20px; font-weight: 500; cursor: pointer; }
.search-band .sbox-btn { min-width: 108px; font-size: 18px; }
.live { position: absolute; top: calc(100% + 8px); inset-inline: 24px; z-index: 50; background: #fff; border-radius: 16px; box-shadow: 0 16px 40px -10px rgba(21, 29, 53, .3); padding: 8px; max-height: 420px; overflow: auto; }
.live a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--c-text); }
.live a:hover, .live a.is-focus { background: var(--c-soft); }
.live img, .live .lr-ph { width: 44px; height: 50px; border-radius: 8px; object-fit: cover; background: #eee; flex: none; }
.live strong { display: block; font-size: 15px; }
.live small { display: block; color: var(--c-muted); font-size: 13px; }
.live .lr-all { justify-content: center; color: var(--c-primary); font-weight: 600; }
.live .lr-empty { padding: 16px; text-align: center; color: var(--c-muted); }

/* ---------- Hero ---------- */
.hero { background: var(--c-header) center/cover no-repeat; padding: var(--hero-pad) 0 40px; text-align: center; }
.hero-title { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(30px, 4.2vw, 48px); font-weight: 700; color: #20211F; }
.hero-badge { --bs: 46px; }
.hero-sub { margin: 18px 0 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 400; color: #3d3d3d; }
.hero-search { max-width: 877px; margin: 40px auto 0; }
.hero-404 { padding-bottom: 90px; }

/* ---------- Home sections ---------- */
.hsec { padding: 40px 0 16px; }
.hsec .boxed { background: var(--c-soft); border-radius: var(--r-box); padding: 48px 24px 32px; }
.hsec-title { text-align: center; font-size: 32px; font-weight: 700; color: #20211F; margin-bottom: 44px; }
.cgrid { display: grid; gap: 0 16px; }
.cgrid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cgrid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cgrid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cgrid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.narrow-grid { max-width: 920px; margin-inline: auto; }
.mt-btn { margin-top: 12px; }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 166px; padding: 10px 30px; border-radius: 28px; border: 0; background: var(--c-primary); color: #fff !important; font-size: 15px; font-weight: 500; cursor: pointer; transition: filter .2s; }
.btn-pill:hover { filter: brightness(1.08); opacity: 1; }
.btn-pill .ic { width: 22px; height: 22px; }
.btn-pill.btn-lg { min-width: 360px; padding: 16px 40px; font-size: 18px; }

/* ---------- Cards ---------- */
.pcard { margin: 4px 4px 24px; }
.pcard-link { display: block; height: 100%; color: var(--c-text); }
.pcard-grid .pcard-link, .pcard-org .pcard-link { background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-card); padding: 8px 8px 10px; transition: box-shadow .2s, transform .2s; }
.pcard-grid .pcard-link:hover, .pcard-org .pcard-link:hover { box-shadow: 0 10px 24px rgba(21, 29, 53, .08); transform: translateY(-2px); opacity: 1; }
.ph { display: block; overflow: hidden; border-radius: var(--r-img); background: #EDEFF2; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.hw-gray img { filter: grayscale(1); }
.ph-co { background: #fff; }
.ph-co img { object-fit: contain; }
.pcard-grid .ph { aspect-ratio: 189 / 219; }
.pcard-org .ph { aspect-ratio: 1; max-width: 140px; margin: 8px auto 0; border-radius: 12px; }
.ph-leader { background: linear-gradient(160deg, #E8C27A, #D7A957); }
.pcard-body { text-align: center; padding: 16px 6px 4px; min-height: 120px; }
.pcard-org .pcard-body { min-height: 90px; }
.pcard-name { font-size: 17px; font-weight: 700; line-height: 1.5; }
.pcard-name .badge { --bs: 17px; }
.pcard-desc { margin: 14px 0 0; font-size: 15px; color: var(--c-muted); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* side / related / leader cards (horizontal) */
.pcard-side, .pcard-related, .pcard-leader { margin: 0; }
.pcard-side .pcard-link, .pcard-related .pcard-link, .pcard-leader .pcard-link { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-card); }
.pcard-side .pcard-body, .pcard-related .pcard-body, .pcard-leader .pcard-body { flex: 1; min-width: 0; text-align: start; padding: 0; min-height: 0; }
.pcard-side .pcard-link { background: #F5F7FF; box-shadow: 0 2px 10px rgba(21, 29, 53, .04); }
.pcard-side .pcard-name { font-size: 20px; }
.pcard-side .pcard-desc { margin-top: 10px; font-size: 15px; }
.pcard-side .ph { width: 88px; height: 112px; flex: none; border-radius: 10px; }
.pcard-related .pcard-link { background: #fff; border: 1px solid var(--c-border); }
.pcard-related .pcard-name { font-size: 15px; }
.pcard-related .pcard-desc { font-size: 13px; margin-top: 6px; -webkit-line-clamp: 3; }
.pcard-related .ph { width: 74px; height: 86px; flex: none; border-radius: 10px; }
.pcard-leader .pcard-link { background: var(--c-leader); border: 1px solid rgba(243, 198, 63, .35); box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); }
.pcard-leader .pcard-name { color: var(--c-gold); font-size: 17px; }
.pcard-leader .pcard-desc { color: rgba(255, 255, 255, .85); font-size: 13px; margin-top: 8px; -webkit-line-clamp: 2; }
.pcard-leader .ph { width: 72px; height: 82px; flex: none; border-radius: 6px; border: 2px solid #fff; }

/* category card */
.catcard { margin: 4px 4px 24px; }
.catcard a { display: block; height: 100%; padding: 16px 12px 14px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-card); text-align: center; color: var(--c-text); transition: box-shadow .2s; }
.catcard a:hover { box-shadow: 0 10px 24px rgba(21, 29, 53, .08); opacity: 1; }
.cat-tile { display: grid; place-items: center; width: 108px; height: 108px; margin: 0 auto; padding: 10px; border-radius: 10px; background: var(--c-primary); color: #fff; font-size: 17px; font-weight: 700; line-height: 1.35; }
.cat-tile.has-img { background: none; padding: 0; }
.cat-tile.has-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-name { margin-top: 18px; font-size: 15px; font-weight: 500; line-height: 1.5; }

.postcard a { display: flex; gap: 12px; align-items: center; color: var(--c-text); }
.postcard-img { width: 84px; height: 84px; flex: none; border-radius: 10px; overflow: hidden; background: #eee; }
.postcard-img img { width: 100%; height: 100%; object-fit: cover; }
.postcard-body { display: flex; flex-direction: column; }
.postcard-body em { font-style: normal; font-size: 13px; color: var(--c-muted); }
.postcard-body strong { font-size: 15px; line-height: 1.5; }
.posts-grid { gap: 24px; }

/* ---------- Footer ---------- */
.fcta-wrap { position: relative; z-index: 2; margin-top: 70px; margin-bottom: -70px; }
.fcta { position: relative; overflow: hidden; display: flex; align-items: center; gap: 26px; padding: 34px 40px; border-radius: 26px; color: #fff; background: linear-gradient(120deg, #2A47C5 0%, var(--c-primary) 50%, #5FB6F2 100%); box-shadow: 0 30px 60px -30px rgba(42, 71, 197, .7); }
.fcta::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; left: -100px; top: -190px; background: radial-gradient(circle, rgba(150, 227, 255, .55), transparent 65%); }
.fcta::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(to left, transparent, #000); -webkit-mask-image: linear-gradient(to left, transparent, #000); pointer-events: none; }
.fcta > * { position: relative; z-index: 1; }
.fcta-art { width: 86px; height: 86px; flex: none; display: grid; place-items: center; border-radius: 26px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); transform: rotate(-8deg); }
.fcta-art .badge { --bs: 50px; color: #fff; }
.fcta-art .badge svg path:last-child { stroke: var(--c-primary); }
.fcta-txt { flex: 1; min-width: 0; }
.fcta-txt h2 { font-size: 26px; margin-bottom: 6px; }
.fcta-txt p { margin: 0; opacity: .9; font-size: 15.5px; }
.fcta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.fcta-b1, .fcta-b2 { display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 14px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .15s; }
.fcta-b1 { background: #fff; color: var(--c-primary); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .35); }
.fcta-b2 { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.fcta-b1:hover, .fcta-b2:hover { transform: translateY(-2px); opacity: 1; }

.site-footer { position: relative; margin-top: 64px; background: var(--c-footer); color: #4a4f5c; }
.site-footer.has-cta { margin-top: 0; padding-top: 70px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(2, 1fr) 1.35fr; gap: 40px; padding-top: 60px; padding-bottom: 44px; }
.foot-brand .tlogo { --logo-scale: 1.15; }
.foot-brand .brand img { height: calc(var(--logo-h) + 4px); }
.foot-brand p { margin: 20px 0 22px; font-size: 15px; line-height: 1.95; max-width: 320px; }
.foot-follow { display: flex; flex-direction: column; gap: 12px; }
.foot-follow > span:first-child { font-weight: 700; font-size: 15px; }
.foot-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-socials a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, .05); color: inherit; transition: background .2s, color .2s, transform .2s; }
.foot-socials a:hover { background: var(--c-primary); color: #fff; transform: translateY(-2px); opacity: 1; }
.foot-socials .ic { width: 18px; height: 18px; }
.foot-col h4 { position: relative; font-size: 16px; margin-bottom: 22px; padding-bottom: 12px; color: var(--c-text); }
.foot-col h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--c-primary); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.foot-col a { color: inherit; font-size: 15px; transition: color .15s, padding .15s; }
.foot-col ul a:hover { color: var(--c-primary); padding-inline-start: 4px; opacity: 1; }
.foot-cinfo li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.foot-cinfo .ic { width: 18px; height: 18px; color: var(--c-primary); flex: none; }
.foot-news { margin-top: 24px; padding: 18px; border-radius: 16px; background: rgba(0, 0, 0, .04); }
.foot-news strong { display: block; font-size: 15px; color: var(--c-text); }
.foot-news > span { display: block; font-size: 13px; margin: 4px 0 12px; opacity: .85; }
.foot-news form { display: flex; gap: 6px; padding: 5px; border-radius: 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); }
.foot-news input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 8px 10px; font-size: 14px; color: #222; }
.foot-news button { width: 40px; height: 40px; flex: none; border: 0; border-radius: 9px; background: var(--c-primary); color: #fff; cursor: pointer; display: grid; place-items: center; }
.foot-bottom { border-top: 1px solid rgba(0, 0, 0, .07); padding: 18px 0; font-size: 14px; }
.foot-bottom .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: inherit; }
.foot-links a:hover { color: var(--c-primary); }

/* أنماط الفوتر */
.foot-brand .brand { color: var(--c-primary); }
.foot-s-dark, .foot-s-brand { color: rgba(255, 255, 255, .72); }
.foot-s-dark { background: radial-gradient(800px 300px at 85% -10%, rgba(65, 105, 227, .35), transparent 60%), radial-gradient(600px 260px at 0% 110%, rgba(150, 227, 255, .12), transparent 60%), var(--c-footer-dark, #0E1A3A); }
.foot-s-brand { background: linear-gradient(160deg, #2A47C5, var(--c-primary)); }
.foot-s-dark .brand, .foot-s-brand .brand { color: #fff; }
.foot-s-dark .foot-col h4, .foot-s-dark .foot-news strong, .foot-s-dark .foot-follow > span:first-child,
.foot-s-brand .foot-col h4, .foot-s-brand .foot-news strong, .foot-s-brand .foot-follow > span:first-child { color: #fff; }
.foot-s-dark .foot-socials a, .foot-s-dark .foot-news, .foot-s-brand .foot-socials a, .foot-s-brand .foot-news { background: rgba(255, 255, 255, .08); }
.foot-s-dark .foot-news form, .foot-s-brand .foot-news form { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
.foot-s-dark .foot-news input, .foot-s-brand .foot-news input { color: #fff; }
.foot-s-dark .foot-news input::placeholder, .foot-s-brand .foot-news input::placeholder { color: rgba(255, 255, 255, .55); }
.foot-s-dark .foot-bottom, .foot-s-brand .foot-bottom { border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .6); }
.foot-s-dark .foot-cinfo .ic, .foot-s-brand .foot-cinfo .ic { color: #96E3FF; }
.foot-s-dark .foot-col h4::after, .foot-s-brand .foot-col h4::after { background: #96E3FF; }
.foot-s-dark .foot-col ul a:hover, .foot-s-dark .foot-links a:hover, .foot-s-brand .foot-col ul a:hover, .foot-s-brand .foot-links a:hover { color: #96E3FF; }
.foot-s-brand .foot-news button { background: #fff; color: var(--c-primary); }


/* ---------- Floaters ---------- */
.floaters { position: fixed; z-index: 80; inset-inline: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.floaters > * { pointer-events: auto; }
.promo { display: flex; align-items: center; gap: 18px; width: min(960px, calc(100% - 24px)); margin-bottom: 16px; padding: 14px 20px; border-radius: 16px; background: var(--c-promo); color: #fff; box-shadow: 0 16px 40px -12px rgba(21, 29, 53, .45); }
.promo[hidden] { display: none; }
.promo-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 74px; padding: 6px 10px; border-radius: 12px; background: #fff; color: var(--c-promo); line-height: 1.2; }
.promo-badge strong { font-size: 22px; }
.promo-badge span { font-size: 13px; }
.promo-text { flex: 1; display: flex; flex-direction: column; }
.promo-text strong { font-size: 18px; }
.promo-text span { font-size: 14px; opacity: .92; }
.promo-btn { padding: 12px 26px; border-radius: 28px; background: #fff; color: var(--c-promo); font-weight: 700; font-size: 15px; white-space: nowrap; }
.promo-x { border: 0; background: none; color: #fff; cursor: pointer; padding: 6px; display: grid; }
.strip { width: 100%; padding: 12px 16px; background: var(--c-strip); text-align: center; font-weight: 700; font-size: 16px; color: #222; }
.strip a { color: var(--c-strip-link); }
.cookie { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; width: 100%; padding: 12px 16px; background: #fff; box-shadow: 0 -4px 18px rgba(0, 0, 0, .08); font-size: 15px; }
.cookie[hidden] { display: none; }
.cookie a { color: var(--c-primary); }
.ck-ok { padding: 6px 14px; border: 0; border-radius: 6px; background: #222; color: #fff; cursor: pointer; }
.ck-no { padding: 6px 14px; border: 0; border-radius: 6px; background: #f1f1f1; cursor: pointer; }

/* ---------- Page title / archive ---------- */
.ptitle { padding: 48px 0 34px; text-align: center; }
.ptitle h1 { font-size: 26px; font-weight: 700; margin-bottom: 18px; }
.ptitle-desc { color: var(--c-muted); margin-top: 10px; }
.ptitle-leader { background: var(--c-leader); color: #fff; padding: 56px 0; }
.ptitle-leader h1 { color: var(--c-gold); font-size: 34px; }
.ptitle-leader .ptitle-desc { color: rgba(255, 255, 255, .8); }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 600; color: #333; }
.crumbs a { color: #333; }
.crumbs i { font-style: normal; color: #999; }
.band { background: var(--c-soft2); padding: 52px 0 32px; }
.ar-sec { padding: 40px 0 8px; }
.ar-title { font-size: 28px; font-weight: 700; margin-bottom: 36px; }
.ar-title small { font-size: 18px; color: #444; font-weight: 600; }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 24px 0; }
.pager .page-numbers { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 10px; border-radius: 10px; border: 1px solid var(--c-border); color: var(--c-text); font-weight: 600; }
.pager .current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tab { padding: 10px 26px; border-radius: 28px; border: 1px solid var(--c-border); background: #fff; font-weight: 600; cursor: pointer; }
.tab.is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
.leaders-grid { gap: 16px; }
.leaders-grid .pcard-leader .ph { width: 90px; height: 104px; }

/* ---------- Spotlight ---------- */
.spot { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 680px; margin: 38px auto 34px; padding: 16px 16px 16px 16px; padding-inline-start: 28px; border-radius: 16px; background: linear-gradient(270deg, #FFF4D9 0%, #F4DEAA 45%, #D9B877 100%); }
.spot-copy { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.spot-copy h3 { font-size: 24px; }
.spot-copy .btn-pill { min-width: 200px; padding: 9px 22px; font-size: 16px; }
.spot-logos { display: flex; gap: 16px; }
.spot-logos a { display: grid; place-items: center; width: 120px; height: 120px; padding: 10px; border-radius: 12px; background: #fff; }
.spot-logos .ph { width: 100%; height: 100%; border-radius: 8px; }

/* ---------- Profile ---------- */
.profile-wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-bottom: 24px; }
.profile-main { min-width: 0; }
.phead { padding: 22px 0 8px; }
.phead-top { display: flex; gap: 26px; align-items: flex-start; }
.phead-photo { width: 174px; flex: none; }
.phead-photo .ph { aspect-ratio: 174 / 200; border-radius: 16px; }
.phead-photo .ph-co { aspect-ratio: 1; border: 1px solid var(--c-border); }
.phead-info { flex: 1; min-width: 0; }
.phead-name { font-size: 32px; font-weight: 700; line-height: 1.35; }
.phead-name .badge { --bs: 28px; vertical-align: -3px; }
.phead-sub { margin: 10px 0 18px; font-size: 21px; color: #4a4a4a; }
.phead-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.phead-rows b { font-weight: 700; }
.phead-rows a { color: var(--c-primary); }
.phead-soc span { display: inline-flex; gap: 10px; margin-inline-start: 18px; vertical-align: middle; }
.phead-soc a { color: #888; display: inline-flex; }
.phead-soc .ic { width: 22px; height: 22px; }
.phead-actions { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 30px 0 18px; flex-wrap: wrap; }
.act-share { width: 58px; height: 52px; border: 0; border-radius: 28px; background: #EEF1F6; color: #222; display: grid; place-items: center; cursor: pointer; }
.act-share .ic { width: 24px; height: 24px; }
.act-manage, .act-card { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 28px; color: #fff; font-size: 16px; font-weight: 500; }
.act-manage { background: var(--c-manage); }
.act-card { background: var(--c-primary); }
.act-manage .ic, .act-card .ic { width: 20px; height: 20px; }
.phead-leader { margin-top: 18px; padding: 20px; background: var(--c-cream); border: 2px solid #EED9A0; border-radius: 12px; }
.phead-hl { margin-top: 6px; }
.phead-hl h2 { font-size: 20px; margin-bottom: 12px; }
.phead-hl ul { margin: 0; padding-inline-start: 20px; font-size: 15px; line-height: 1.9; }

.en-link { display: block; margin-top: 18px; padding: 14px; border-radius: 8px; background: var(--c-soft2); background: color-mix(in srgb, var(--c-soft2) 60%, #fff); text-align: center; color: var(--c-primary); font-size: 15px; font-weight: 500; }
.secnav { position: relative; margin-top: 16px; z-index: 5; }
.secnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-radius: 8px; background: var(--c-primary); color: #fff; cursor: pointer; font-size: 15px; }
.secnav summary::-webkit-details-marker { display: none; }
.secnav-cur { display: inline-flex; align-items: center; gap: 8px; }
.secnav-cur { flex-direction: row-reverse; }
.secnav-lbl { opacity: .9; }
.secnav ul { position: absolute; top: calc(100% + 4px); inset-inline: 0; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 10px; box-shadow: 0 12px 30px -8px rgba(21, 29, 53, .25); }
.secnav ul a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--c-text); }
.secnav ul a:hover { background: var(--c-soft); }

.psec { margin-top: 22px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.tbox { padding: 14px 22px; border-radius: 12px; background: var(--c-title-box); font-size: 25px; font-weight: 700; margin-bottom: 18px; }
.note { padding: 10px 18px; border-radius: 8px; background: #F3F3F3; font-size: 16px; margin-bottom: 18px; }
.entry { font-size: 16px; line-height: 1.95; }
.entry p { margin-bottom: 1em; }
.entry ul, .entry ol { padding-inline-start: 1.4em; }
.entry img { border-radius: 10px; }
.entry a { color: var(--c-primary); }
.entry blockquote { margin: 1em 0; padding: 10px 20px; border-inline-start: 4px solid var(--c-primary); background: var(--c-soft); }
.relcats { padding: 26px 24px; border-radius: 12px; background: var(--c-soft); }
.relcats-title { font-size: 20px; margin-bottom: 26px; }
.relcats-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.relcats-list a { display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px; border-radius: 8px; background: #fff; border: 1px solid #ddd; color: var(--c-text); font-size: 15px; font-weight: 600; }
.relcats-list a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hscroll > * { scroll-snap-align: start; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.gstrip { margin: 26px 0 16px; padding: 12px 18px; border-radius: 4px; font-size: 18px; font-weight: 700; background: linear-gradient(to left, var(--c-title-box), rgba(240, 240, 240, 0)); }
.tl { list-style: none; margin: 0; padding: 0 12px; display: flex; flex-direction: column; gap: 22px; }
.tl li { display: flex; gap: 14px; align-items: flex-start; }
.tl-logo { width: 62px; height: 62px; flex: none; display: grid; place-items: center; padding: 6px; border-radius: 8px; border: 1px solid #e5e5e5; background: #fff; }
.tl-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tl strong { display: block; font-size: 16px; }
.tl a, .tl span { display: block; font-size: 15px; margin-top: 4px; }
.tl span { color: #555; }
.tl em { display: block; font-style: normal; font-size: 13px; color: #666; margin-top: 8px; }
.extlinks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.extlinks a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.art-title { font-size: 30px; margin: 30px 0 8px; }
.art-meta { color: var(--c-muted); }
.art-cover img { width: 100%; border-radius: 16px; margin: 10px 0 20px; }
.comments { margin-top: 30px; }
.comment-form input:not([type=checkbox]):not([type=submit]), .comment-form textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 10px; }

/* ---------- Sidebar ---------- */
.profile-side { display: flex; flex-direction: column; gap: 26px; padding-top: 22px; }
.sb-block { display: flex; flex-direction: column; gap: 14px; }
.sb-title { display: flex; align-items: center; gap: 6px; font-size: 20px; font-weight: 700; justify-content: flex-start; }
.sb-title .badge { --bs: 22px; }
.sb-list { display: flex; flex-direction: column; gap: 14px; }
.potd { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 18px 10px; border-radius: 12px; background: #F0F4FF; color: var(--c-text); }
.potd .ph { width: 100px; height: 116px; border-radius: 12px; margin-bottom: 14px; }
.potd h3 { font-size: 20px; }
.potd p { margin: 8px 0 0; font-size: 15px; color: #555; }
.potd-note { align-self: center; margin-top: -4px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: #fff; border: 1px solid #ddd; font-size: 12px; color: #555; }
.potd-note .badge { --bs: 14px; }
.btn-outline-gold { display: inline-block; padding: 6px 22px; border-radius: 20px; border: 1px solid #D7B256; background: #fff; color: var(--c-leader); font-size: 14px; font-weight: 600; }
.btn-gold { display: inline-flex; justify-content: center; align-items: center; padding: 12px 40px; border-radius: 26px; background: var(--c-gold); color: var(--c-leader) !important; font-weight: 700; font-size: 15px; }
.btn-block { width: 100%; }
.btn-more { display: inline-flex; align-items: center; gap: 6px; padding: 7px 18px; border-radius: 20px; border: 1px solid #ddd; background: #fff; color: var(--c-primary); font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-more.is-open .ic { transform: rotate(180deg); }
.sb-promo { padding: 22px 18px 20px; border-radius: 12px; background: var(--c-leader); color: #fff; border: 1px solid rgba(243, 198, 63, .3); }
.sb-promo p { font-size: 14px; line-height: 1.9; }
.sb-promo.wide { margin-top: 36px; display: flex; align-items: center; gap: 24px; }
.sb-promo.wide p { flex: 1; margin: 0; font-size: 16px; }

/* ---------- Leaders theme ---------- */
.is-leader .site-header { background: var(--c-leader); border-bottom-color: rgba(243, 198, 63, .25); }
.is-leader .nav-list > li > a { color: #fff; }
.is-leader .nav-list > li.is-active > a { color: var(--c-gold); border-bottom-color: var(--c-gold); }
.is-leader .brand { color: #fff; }
.is-leader .acc-meta strong, .is-leader .acc-login, .is-leader .dd-btn { color: #fff; }
.is-leader .acc-meta em { background: rgba(255, 255, 255, .12); color: var(--c-gold); }
.is-leader .hdr-search { background: rgba(255, 255, 255, .15); color: #8fb3ff; }
.is-leader .search-band { background: var(--c-leader); }
.is-leader .search-band .sbox { background: var(--c-cream); border-color: #E9D9A8; }
.is-leader .search-band .sbox-btn { background: var(--c-gold); color: var(--c-leader); font-weight: 700; }
.is-leader .hdr-burger { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Subscriptions ---------- */
.subs { background: #F7F8FA; margin-bottom: -64px; padding-bottom: 64px; }
.subs-head { padding: 48px 0 30px; }
.subs-head h1 { font-size: 30px; margin-bottom: 26px; }
.subs-intro { font-size: 18px; line-height: 1.9; color: #333; text-align: start; }
.subs-intro a { font-weight: 700; color: #3FB8E6; }
.subs-hero { position: relative; margin-top: 26px; padding: 22px; min-height: 300px; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #F2F6FF 100%); display: flex; flex-direction: column; }
.subs-hero-top { display: flex; justify-content: space-between; }
.subs-hero-top .tlogo { --logo-scale: .8; }
.subs-hero img { width: 100%; border-radius: 12px; margin-top: 12px; }
.subs-hero-html { flex: 1; display: grid; place-items: center; }
.ai-pill { display: inline-flex; padding: 14px 30px; border-radius: 14px; background: #fff; border: 1px solid #E5EAF5; box-shadow: 0 10px 30px -12px rgba(65, 105, 227, .4); font-size: 24px; font-weight: 700; }
.subs-sec { padding: 40px 0; }
.subs-title { text-align: center; font-size: 34px; font-weight: 700; margin-bottom: 40px; }
.subs-title .acc { color: var(--c-primary); }
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ben { padding: 26px 30px; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .03); }
.ben-ic { display: grid; place-items: center; height: 64px; margin-bottom: 10px; }
.ben-ic img { max-height: 64px; width: auto; }
.ben h3 { font-size: 20px; margin-bottom: 10px; }
.ben p { margin: 0; color: #555; font-size: 15px; line-height: 1.8; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.stat { padding: 26px 30px; border-radius: 10px; background: #D7EEF7; }
.stat strong { display: block; font-size: 34px; font-weight: 700; }
.stat span { color: #555; }
.users-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-bottom: 40px; }
.user-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 180px; padding: 20px; border-radius: 12px; background: #fff; text-align: center; font-size: 17px; }
.intl { background: linear-gradient(180deg, #EEF3FA, #F7F8FA); }
.intl-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.intl-art { display: grid; place-items: center; }
.intl-text { font-size: 18px; line-height: 1.9; color: #333; }
.ptable-wrap { overflow-x: auto; background: #fff; border-radius: 14px; box-shadow: 0 1px 3px rgba(0, 0, 0, .04); }
.ptable { width: 100%; min-width: 760px; border-collapse: collapse; }
.ptable th, .ptable td { padding: 16px; border-bottom: 1px solid #EFEFEF; border-inline-start: 1px solid #EFEFEF; vertical-align: middle; }
.ptable tr > *:first-child { border-inline-start: 0; }
.ptable tbody th { text-align: start; font-weight: 500; font-size: 14px; width: 30%; }
.ptable td { text-align: center; font-size: 14px; }
.ptable thead th { vertical-align: top; text-align: center; padding: 26px 16px; }
.ptable .is-hl { background: #F6F8FF; }
.ptable thead .is-hl { border-top: 3px solid var(--c-primary); }
.plan h3 { font-size: 20px; margin-bottom: 8px; }
.plan-desc { font-size: 13px; color: #666; font-weight: 400; min-height: 40px; }
.plan-badge { display: inline-block; margin: 6px 0; padding: 3px 14px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: 12px; }
.plan del { display: block; color: #999; font-size: 14px; font-weight: 400; }
.plan-price { margin: 6px 0 14px; color: var(--c-primary); }
.plan-price strong { font-size: 28px; }
.plan-price span { font-size: 16px; }
.plan-price em { font-style: normal; font-size: 13px; color: #999; }
.plan-btn { display: block; padding: 10px; border-radius: 26px; border: 1.5px solid var(--c-primary); color: var(--c-primary); font-weight: 600; font-size: 15px; }
.plan-btn.solid { background: var(--c-primary); color: #fff; }
.plan-or { position: relative; margin: 14px 0; color: #aaa; font-size: 12px; font-weight: 400; }
.plan-or::before { content: ""; position: absolute; top: 50%; inset-inline: 0; border-top: 1px dashed #ddd; }
.plan-or span { position: relative; background: #fff; padding: 0 8px; }
.plan-month { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; border-radius: 10px; background: #EEF3FF; text-align: start; font-weight: 400; }
.plan-month b { display: block; font-size: 13px; }
.plan-month strong { font-size: 18px; }
.plan-month span { font-size: 12px; }
.plan-month a { padding: 6px 14px; border-radius: 18px; background: var(--c-primary); color: #fff; font-size: 13px; }
.fyes { color: #6E56CF; }
.fno { color: #999; }
.fyes .ic, .fno .ic { width: 20px; height: 20px; }
.partners { max-width: 900px; margin: 0 auto; padding: 40px; border-radius: 16px; background: #EEF1F6; }
.partners .subs-title { margin-bottom: 28px; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.partners-row img { height: 56px; width: auto; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 200; left: 50%; bottom: 30px; transform: translate(-50%, 20px); padding: 10px 22px; border-radius: 999px; background: #222; color: #fff; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.hdr-burger { display: grid; }
	.nav { position: absolute; top: 100%; inset-inline: 0; background: var(--c-header); padding: 8px 16px 18px; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .25); display: none; }
	.is-leader .nav { background: var(--c-leader); }
	.nav-open .nav { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; }
	.nav-list > li > a { padding: 12px 6px; }
	.nav-list .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255, 255, 255, .5); margin-bottom: 6px; }
	.acc-meta { display: none; }
	.cgrid.cols-5, .cgrid.cols-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 992px) {
	.cgrid.cols-4, .cgrid.cols-5, .cgrid.cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.profile-wrap { grid-template-columns: minmax(0, 1fr); }
	.foot { grid-template-columns: 1fr 1fr; }
	.ben-grid, .users-grid { grid-template-columns: repeat(2, 1fr); }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.intl-row { grid-template-columns: 1fr; }
	.hscroll { grid-auto-columns: 46%; }
}
@media (max-width: 640px) {
	:root { --hdr-h: 68px; }
	.hdr { gap: 10px; padding-inline: 12px; }
	.site-header .tlogo { --logo-scale: .8; }
	.tlogo .brand-tag { display: none; }
	.hdr-leaders { font-size: 20px; }
	.sbox { height: 60px; padding-inline-start: 16px; }
	.sbox input { font-size: 15px; }
	.sbox-ic .ic { width: 22px; height: 22px; }
	.sbox-btn { min-width: 76px; padding: 0 16px; font-size: 16px; }
	.search-band .sbox { height: 54px; }
	.hero-badge { --bs: 30px; }
	.hsec .boxed { padding: 32px 10px 20px; border-radius: 28px; }
	.hsec-title { font-size: 24px; margin-bottom: 26px; }
	.cgrid, .cgrid.cols-3, .cgrid.cols-4, .cgrid.cols-5, .cgrid.cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; }
	.leaders-grid { grid-template-columns: 1fr !important; }
	.pcard-name { font-size: 15px; }
	.pcard-desc { font-size: 13px; }
	.cat-tile { width: 92px; height: 92px; font-size: 15px; }
	.spot { flex-direction: column; margin: 20px 12px; padding: 18px; }
	.spot-logos a { width: 90px; height: 90px; }
	.phead-top { flex-direction: column; align-items: center; text-align: center; }
	.phead-photo { width: 150px; }
	.phead-name { font-size: 26px; }
	.phead-sub { font-size: 18px; }
	.phead-rows { align-items: center; }
	.tbox { font-size: 20px; }
	.hscroll { grid-auto-columns: 82%; }
	.gallery-grid { grid-template-columns: repeat(2, 1fr); }
	.foot { grid-template-columns: 1fr; }
	.ben-grid, .users-grid, .stats-grid { grid-template-columns: 1fr; }
	.btn-pill.btn-lg { min-width: 0; width: 100%; }
	.subs-title { font-size: 26px; }
	.promo { flex-wrap: wrap; gap: 10px; padding: 12px; }
	.promo-text strong { font-size: 15px; }
	.promo-text span { font-size: 12px; }
	.promo-btn { padding: 8px 16px; font-size: 13px; }
	.sb-promo.wide { flex-direction: column; }
	.admin-bar.has-sticky .site-header { top: 0; }
	html, body { overflow-x: hidden; }
	.acc-login { font-size: 0; gap: 0; }
	.acc-av { width: 36px; height: 36px; }
	.country { display: none; }
	.hdr-search { width: 38px; height: 38px; }
	.hdr-sep { display: none; }
	.hero-title { flex-wrap: wrap; justify-content: center; }
	.promo-text span { display: none; }
	.cookie { font-size: 13px; gap: 8px; }
	.hdr-end { gap: 8px; }
}
.acc-login .ic { width: 20px; height: 20px; }

.pcard-side .pcard-name .badge, .potd h3 .badge { --bs: 19px; }
.pcard-related .pcard-name .badge, .pcard-leader .pcard-name .badge { --bs: 15px; }
.ptable { table-layout: fixed; } .ptable tbody th, .ptable thead th:first-child { width: 28%; }
@media (max-width: 992px) {
	.fcta { flex-wrap: wrap; text-align: center; justify-content: center; padding: 30px 24px; }
	.fcta-txt { flex-basis: 100%; }
	.fcta-btns { justify-content: center; }
}
@media (max-width: 640px) {
	.fcta-art { display: none; }
	.fcta-txt h2 { font-size: 21px; }
	.fcta-b1, .fcta-b2 { flex: 1; justify-content: center; }
}

/* ==========================================================================
   v2.5 — ستايلات التصميم العامة (من الإعدادات ← عام ← ستايل التصميم)
   ========================================================================== */
/* هيدر زجاجي */
.ui-h-glass:not(.is-leader) .site-header { background: color-mix(in srgb, var(--c-header) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: rgba(255, 255, 255, .5); box-shadow: 0 8px 24px -18px rgba(20, 30, 60, .35); }

/* خلفيات */
.ui-bg-soft { background: #F6F8FC; }
.ui-bg-mesh { background: radial-gradient(900px 500px at 100% -5%, color-mix(in srgb, var(--c-primary) 9%, transparent), transparent 60%), radial-gradient(700px 420px at 0% 30%, rgba(150, 227, 255, .14), transparent 60%), #FAFBFE; background-attachment: fixed; }

/* بطاقات */
.ui-c-elevated .pcard-grid .pcard-link, .ui-c-elevated .pcard-org .pcard-link, .ui-c-elevated .catcard a, .ui-c-elevated .pcard-related .pcard-link { border-color: transparent; box-shadow: 0 1px 2px rgba(20, 30, 60, .04), 0 8px 24px -14px rgba(20, 30, 60, .22); }
.ui-c-elevated .pcard-grid .pcard-link:hover, .ui-c-elevated .pcard-org .pcard-link:hover, .ui-c-elevated .catcard a:hover, .ui-c-elevated .pcard-related .pcard-link:hover { box-shadow: 0 2px 4px rgba(20, 30, 60, .05), 0 22px 40px -18px rgba(20, 30, 60, .32); transform: translateY(-4px); }
.ui-c-elevated .pcard-grid .ph img, .ui-c-elevated .pcard-org .ph img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ui-c-elevated .pcard-grid .pcard-link:hover .ph img { transform: scale(1.04); }
.ui-c-bordered .pcard-grid .pcard-link, .ui-c-bordered .pcard-org .pcard-link, .ui-c-bordered .catcard a, .ui-c-bordered .pcard-related .pcard-link { border: 1.5px solid color-mix(in srgb, var(--c-primary) 18%, var(--c-border)); box-shadow: none; }
.ui-c-bordered .pcard-grid .pcard-link:hover, .ui-c-bordered .pcard-org .pcard-link:hover, .ui-c-bordered .catcard a:hover { border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 10%, transparent); }

/* أزرار */
.ui-b-rounded .btn-pill, .ui-b-rounded .sbox-btn { border-radius: 14px; }
.ui-b-rounded .btn-pill { box-shadow: 0 10px 22px -12px var(--c-primary); }
.ui-b-pill .fcta-b1, .ui-b-pill .fcta-b2, .ui-b-pill .btn-main, .ui-b-pill .app-btn, .ui-b-pill .w-btn { border-radius: 999px; }
.btn-pill { transition: filter .2s, transform .2s, box-shadow .2s; }
.btn-pill:hover { transform: translateY(-1px); }

/* حركة الظهور */
.ui-anim.rv-ready .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rvd, 0s); }
.ui-anim.rv-ready .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ui-anim.rv-ready .rv { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   v2.5 — فوتر الموبايل الاحترافي
   ========================================================================== */
.foot-col h4 .ic { display: none; }
@media (max-width: 640px) {
	.site-footer.has-cta { padding-top: 60px; }
	.fcta-wrap { margin-top: 48px; }
	.fcta { padding: 26px 20px; border-radius: 22px; gap: 16px; }
	.fcta-txt p { font-size: 14px; }
	.fcta-btns { width: 100%; flex-direction: column; }
	.fcta-b1, .fcta-b2 { width: 100%; height: 48px; }
	.foot { gap: 0; padding-top: 40px; padding-bottom: 20px; }
	.foot-brand { padding-bottom: 26px; margin-bottom: 8px; border-bottom: 1px solid rgba(0, 0, 0, .07); }
	.foot-s-dark .foot-brand, .foot-s-brand .foot-brand { border-color: rgba(255, 255, 255, .1); }
	.foot-m-center .foot-brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
	.foot-m-center .foot-brand p { margin-inline: auto; }
	.foot-m-center .foot-follow { align-items: center; }
	.foot-m-center .foot-socials { justify-content: center; }
	.foot-brand p { margin: 16px 0 18px; font-size: 14.5px; line-height: 1.9; }
	.foot-socials a { width: 42px; height: 42px; }
	.foot-col { padding: 4px 0; }
	.foot-col h4 { margin-bottom: 14px; padding-bottom: 10px; font-size: 15.5px; }
	.foot-m-acc .foot-col:not(.foot-contact), .foot-m-acc .foot-contact { border-bottom: 1px solid rgba(0, 0, 0, .07); }
	.foot-s-dark.foot-m-acc .foot-col, .foot-s-brand.foot-m-acc .foot-col { border-color: rgba(255, 255, 255, .1); }
	.foot-m-acc .foot-col h4 { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 16px 0; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
	.foot-m-acc .foot-col h4::after { display: none; }
	.foot-m-acc .foot-col h4 .ic { display: block; width: 20px; height: 20px; opacity: .6; transition: transform .25s; }
	.foot-m-acc .foot-col.is-open h4 .ic { transform: rotate(180deg); }
	.foot-m-acc .foot-col > ul, .foot-m-acc .foot-contact > .foot-cinfo { display: none; padding-bottom: 18px; }
	.foot-m-acc .foot-col.is-open > ul, .foot-m-acc .foot-contact.is-open > .foot-cinfo { display: flex; }
	.foot-m-acc .foot-col > ul { display: none; }
	.foot-m-acc .foot-col.is-open > ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
	.foot-m-acc .foot-contact.is-open > .foot-cinfo { display: flex; flex-direction: column; }
	.foot-m-acc .foot-contact { border-bottom: 0; }
	.foot-cinfo { gap: 12px; }
	.foot-news { margin-top: 18px; }
	.foot-bottom { padding: 18px 0 22px; }
	.foot-bottom .wrap { flex-direction: column-reverse; justify-content: center; text-align: center; gap: 12px; font-size: 13px; }
	.foot-links { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
}

/* ==========================================================================
   v2.6 — زر الصعود لأعلى (إعدادات القالب ← عام والألوان ← زر الصعود لأعلى)
   ========================================================================== */
.to-top { --top-c: var(--c-primary); --top-lift: 0px; position: fixed; z-index: 95; bottom: calc(var(--top-y) + var(--top-lift) + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 52px; height: 52px; padding: 0; border: 0; cursor: pointer; color: #fff; background: var(--top-c); font: 700 14px var(--font); box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--top-c) 75%, #000); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .25s, visibility .25s, transform .3s cubic-bezier(.2, .8, .2, 1.2), bottom .25s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.to-top.top-left { left: var(--top-x); }
.to-top.top-right { right: var(--top-x); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -12px color-mix(in srgb, var(--top-c) 80%, #000); }
.to-top:focus-visible { outline: 3px solid color-mix(in srgb, var(--top-c) 35%, transparent); outline-offset: 3px; }
.to-top .top-ic { display: grid; place-items: center; position: relative; z-index: 1; }
.to-top .ic { width: 22px; height: 22px; stroke-width: 2.4; transition: transform .25s; }
.to-top:hover .ic { transform: translateY(-2px); }
.top-ring { border-radius: 50%; background: #fff; color: var(--top-c); box-shadow: 0 12px 28px -12px rgba(20, 30, 60, .45); }
.top-ring:hover { box-shadow: 0 16px 30px -12px rgba(20, 30, 60, .5); }
.top-rsvg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 3.5; }
.top-rsvg circle { stroke: color-mix(in srgb, var(--top-c) 14%, #fff); }
.top-rsvg .top-prog { stroke: var(--top-c); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .1s linear; }
.top-square { border-radius: 16px; }
.top-pill { width: auto; height: 48px; padding: 0 20px 0 16px; border-radius: 999px; }
.top-glass { border-radius: 16px; color: var(--top-c); background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6); box-shadow: 0 12px 30px -14px rgba(20, 30, 60, .5); }
@media (max-width: 640px) {
	.to-top { bottom: calc(var(--top-ym) + var(--top-lift) + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; }
	.to-top.top-left { left: min(var(--top-x), 16px); }
	.to-top.top-right { right: min(var(--top-x), 16px); }
	.top-pill { width: auto; height: 44px; padding: 0 16px 0 12px; }
	.top-no-m { display: none; }
}

/* ==========================================================================
   v2.6 — شخصية اليوم
   ========================================================================== */
.potd2 { --pd1: #2A47C5; --pd2: #5FB6F2; position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 22px; background: #fff; color: var(--c-text); box-shadow: 0 1px 2px rgba(20, 30, 60, .05), 0 18px 40px -24px rgba(20, 30, 60, .4); isolation: isolate; }
.potd2.is-leader-p { --pd1: #7A5712; --pd2: #E3B85C; }
.pd-cover { position: relative; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; height: 112px; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, var(--pd1), var(--pd2)); }
.pd-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.2px); background-size: 16px 16px; pointer-events: none; }
.pd-cover::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -120px; inset-inline-end: -80px; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); pointer-events: none; }
.pd-tag, .pd-date { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.pd-tag .ic { width: 14px; height: 14px; color: #FFE27A; }
.pd-date { font-weight: 500; font-size: 12px; background: rgba(0, 0, 0, .12); }
.pd-photo { position: relative; z-index: 2; display: block; width: 116px; height: 134px; margin: -64px auto 0; border-radius: 22px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 16px 30px -14px rgba(20, 30, 60, .55); transition: transform .3s; }
.pd-photo .ph { width: 100%; height: 100%; border-radius: 0; }
.potd2:hover .pd-photo { transform: translateY(-3px) rotate(-1.5deg); }
.pd-body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 20px 20px; }
.pd-name { font-size: 20px; font-weight: 800; line-height: 1.4; }
.pd-name a { color: inherit; }
.pd-name .badge { --bs: 19px; vertical-align: -2px; }
.pd-head { margin: 6px 0 0; font-size: 14px; line-height: 1.75; color: var(--c-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pd-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px; }
.pd-meta span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: color-mix(in srgb, var(--pd1) 9%, #fff); color: var(--pd1); }
.pd-meta .pd-views { background: #F2F4F8; color: #6B7285; }
.pd-meta .ic { width: 14px; height: 14px; }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; margin-top: 16px; border-radius: 13px; font-weight: 700; font-size: 14.5px; color: #fff; background: linear-gradient(135deg, var(--pd1), color-mix(in srgb, var(--pd1) 55%, var(--pd2))); box-shadow: 0 12px 22px -14px var(--pd1); transition: transform .2s, box-shadow .2s; }
.pd-btn:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 16px 26px -14px var(--pd1); }
.pd-btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.pd-btn:hover .ic { transform: translateX(-3px); }
.sb-potd { gap: 12px; }
.sb-potd .potd-note { margin-top: 0; }

/* صورة كاملة بتدرج */
.potd-glass { min-height: 440px; color: #fff; background: #0E1A3A; }
.potd-glass .pd-cover { position: absolute; inset: 0 0 auto; z-index: 3; height: auto; background: none; }
.potd-glass .pd-cover::before, .potd-glass .pd-cover::after { display: none; }
.potd-glass .pd-tag, .potd-glass .pd-date { background: rgba(10, 18, 40, .45); }
.potd-glass .pd-photo { position: absolute; inset: 0; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.potd-glass .pd-photo .ph img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.potd-glass:hover .pd-photo { transform: none; }
.potd-glass:hover .pd-photo .ph img { transform: scale(1.05); }
.potd-glass .pd-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, color-mix(in srgb, var(--pd1) 55%, #050A1C) 0%, rgba(5, 10, 28, .55) 45%, transparent 75%); }
.potd-glass .pd-body { position: relative; z-index: 2; margin-top: auto; padding: 24px 20px 20px; }
.potd-glass .pd-head { color: rgba(255, 255, 255, .82); }
.potd-glass .pd-meta span { background: rgba(255, 255, 255, .16); color: #fff; }
.potd-glass .pd-btn { background: #fff; color: var(--pd1); }

/* بسيط */
.potd-classic { box-shadow: none; background: #F0F4FF; border-radius: 14px; }
.potd-classic .pd-cover { height: auto; padding: 14px 16px 0; background: none; color: var(--c-text); }
.potd-classic .pd-cover::before, .potd-classic .pd-cover::after { display: none; }
.potd-classic .pd-tag, .potd-classic .pd-date { background: #fff; border-color: #E3E8F5; backdrop-filter: none; }
.potd-classic .pd-tag .ic { color: var(--c-primary); }
.potd-classic .pd-photo { width: 100px; height: 116px; margin-top: 14px; border-radius: 12px; border: 0; box-shadow: none; }
.potd-classic .pd-btn { background: var(--c-primary); box-shadow: none; }

/* عريض في الرئيسية */
.potd-home { margin-top: 40px; margin-bottom: 10px; }
.potd2.is-wide { display: grid; grid-template-columns: 260px 1fr; grid-template-rows: auto 1fr; min-height: 0; }
.potd2.is-wide .pd-cover { grid-column: 1 / -1; height: auto; padding: 16px 22px; }
.potd2.is-wide .pd-photo { grid-row: 2; width: 190px; height: 220px; margin: -10px 28px 26px; }
.potd2.is-wide .pd-body { grid-row: 2; align-items: flex-start; text-align: start; justify-content: center; padding: 24px 10px 28px 32px; }
.potd2.is-wide .pd-name { font-size: 28px; }
.potd2.is-wide .pd-head { font-size: 16px; -webkit-line-clamp: 2; }
.potd2.is-wide .pd-meta { justify-content: flex-start; }
.potd2.is-wide .pd-btn { width: auto; padding: 0 26px; }
.potd-glass.is-wide { grid-template-columns: 1fr; min-height: 380px; }
.potd-glass.is-wide .pd-photo { grid-row: auto; margin: 0; width: auto; height: auto; }
.potd-glass.is-wide .pd-photo::after { background: linear-gradient(to left, color-mix(in srgb, var(--pd1) 70%, #050A1C) 0%, rgba(5, 10, 28, .5) 50%, transparent 80%); }
.potd-glass.is-wide .pd-body { grid-row: 2; max-width: 560px; padding: 30px 34px; }
@media (max-width: 640px) {
	.potd2.is-wide { grid-template-columns: 1fr; }
	.potd2.is-wide .pd-photo { width: 130px; height: 150px; margin: -10px auto 0; }
	.potd2.is-wide .pd-body { grid-row: auto; align-items: center; text-align: center; padding: 16px 20px 22px; }
	.potd2.is-wide .pd-meta { justify-content: center; }
	.potd2.is-wide .pd-name { font-size: 22px; }
	.potd2.is-wide .pd-btn { width: 100%; }
}
.potd-glass.is-wide .pd-body { align-self: end; }
.potd-glass.is-wide { background: linear-gradient(135deg, color-mix(in srgb, var(--pd1) 70%, #050A1C), var(--pd1)); }
.potd-glass.is-wide .pd-photo { inset-inline-start: 38%; }
.potd-glass.is-wide .pd-photo::after { background: linear-gradient(to left, color-mix(in srgb, var(--pd1) 85%, #050A1C) 0%, transparent 55%); }
@media (max-width: 640px) { .potd-glass.is-wide .pd-photo { inset-inline-start: 0; } .potd-glass.is-wide .pd-photo::after { background: linear-gradient(to top, color-mix(in srgb, var(--pd1) 60%, #050A1C), transparent 80%); } .potd-glass.is-wide .pd-body { padding: 24px 20px; } }

/* ==========================================================================
   v2.7 — البحث (إعدادات القالب ← الهيدر والقائمة ← شكل البحث)
   ========================================================================== */
.sbox { transition: box-shadow .2s, border-color .2s; }
.sbox-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.sbox-btn-ic { display: none; }
.sbox-btn-ic .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.sbox-clear { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); color: #555; cursor: pointer; display: grid; place-items: center; }
.sbox-clear[hidden] { display: none; }
.sbox-clear .ic { width: 16px; height: 16px; }
.sbox-kbd { flex: none; padding: 2px 9px; border-radius: 7px; border: 1px solid #DCE1EA; border-bottom-width: 2px; background: #fff; color: #8A90A0; font: 600 13px ui-monospace, Menlo, monospace; }
.sbox.has-val .sbox-kbd { display: none; }
@media (hover: none) { .sbox-kbd { display: none; } }
.sbox.is-loading .sbox-ic { animation: hwSpin 1s linear infinite; }
@keyframes hwSpin { to { transform: rotate(360deg); } }

/* عصري بظل ملون */
.sbox-glow { background: #fff; border: 1.5px solid transparent; box-shadow: 0 2px 4px rgba(20, 30, 60, .04), 0 18px 44px -18px color-mix(in srgb, var(--c-primary) 55%, transparent); }
.sbox-glow:focus-within { border-color: color-mix(in srgb, var(--c-primary) 45%, #fff); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c-primary) 12%, transparent), 0 22px 50px -18px color-mix(in srgb, var(--c-primary) 60%, transparent); }
.sbox-glow .sbox-ic { color: var(--c-primary); }
.sbox-glow input { color: var(--c-text); }
.sbox-glow .sbox-btn { background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 75%, #0B1430), var(--c-primary)); box-shadow: 0 10px 20px -10px var(--c-primary); }
.sbox-glow .sbox-btn-ic { display: inline-grid; }
/* ناعم */
.sbox-soft { background: #fff; border: 1.5px solid #E3E7EF; box-shadow: none; }
.sbox-soft:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 12%, transparent); }
.sbox-soft .sbox-btn { background: color-mix(in srgb, var(--c-primary) 10%, #fff); color: var(--c-primary); }
.sbox-soft .sbox-btn-ic { display: inline-grid; }

/* نتائج فورية */
.live { padding: 8px; border: 1px solid #EEF0F5; box-shadow: 0 30px 60px -20px rgba(20, 30, 60, .35); text-align: start; }
.live a { position: relative; padding: 9px 10px; }
.live img, .live .lr-ph { width: 46px; height: 52px; border-radius: 12px; }
.live .lr-ph { display: grid; place-items: center; background: color-mix(in srgb, var(--c-primary) 10%, #fff); color: var(--c-primary); font-weight: 800; font-size: 18px; }
.live a.is-co img, .live a.is-co .lr-ph { width: 50px; height: 50px; object-fit: contain; background: #fff; border: 1px solid #EEF0F5; }
.live .lr-t { flex: 1; min-width: 0; }
.live .lr-t strong { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live .lr-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-b { flex: none; width: 15px; height: 15px; border-radius: 50%; background: var(--c-badge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.lr-b-leader { background-color: var(--c-badge-gold); }
.lr-b-basic { background-color: var(--c-badge-basic); }
.lr-type { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #F2F4F8; color: #6B7285; }
.live .lr-all { margin-top: 4px; border-top: 1px solid #EEF0F5; border-radius: 0 0 10px 10px; padding: 12px; }
.live .lr-empty { display: flex; flex-direction: column; gap: 4px; padding: 22px; }
.live .lr-empty b { color: var(--c-text); }
.live .lr-empty span { font-size: 13px; }

/* أزرار النوع والاقتراحات */
.s-extras { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 18px; }
.s-types { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(0, 0, 0, .06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.s-type { height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: #4A5163; font: 600 14px var(--font); cursor: pointer; transition: background .15s, color .15s; }
.s-type:hover { color: var(--c-primary); }
.s-type.is-on { background: #fff; color: var(--c-primary); box-shadow: 0 4px 12px -6px rgba(20, 30, 60, .35); }
.s-sugg { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; font-size: 14px; }
.s-sugg > span { display: inline-flex; align-items: center; gap: 5px; color: #4A5163; font-weight: 600; }
.s-sugg > span .ic { width: 14px; height: 14px; color: var(--c-primary); }
.s-sugg a { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(0, 0, 0, .06); color: var(--c-text); font-weight: 500; transition: background .15s, color .15s, transform .15s; }
.s-sugg a:hover { background: #fff; color: var(--c-primary); transform: translateY(-1px); opacity: 1; }
.s-sugg.center { margin-top: 18px; }

/* نافذة البحث */
.sov { position: fixed; inset: 0; z-index: 300; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 20px; }
.sov[hidden] { display: none; }
.sov-scrim { position: absolute; inset: 0; background: rgba(8, 14, 34, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.sov-box { position: relative; width: 100%; max-width: 760px; padding: 18px 20px 16px; border-radius: 26px; background: var(--c-header); background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--c-header) 40%, #fff)); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-14px) scale(.98); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.sov.is-open .sov-scrim { opacity: 1; }
.sov.is-open .sov-box { opacity: 1; transform: none; }
.sov-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.sov-top strong { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; }
.sov-top strong .ic { width: 18px; height: 18px; color: var(--c-primary); }
.sov-x { width: 38px; height: 38px; border: 0; border-radius: 12px; background: rgba(0, 0, 0, .05); cursor: pointer; display: grid; place-items: center; color: #333; }
.sov-x .ic { width: 20px; height: 20px; }
.sov .sbox { height: 64px; }
.sov .live { position: static; margin-top: 10px; max-height: 50vh; box-shadow: none; }
.sov-hint { margin: 14px 0 0; text-align: center; font-size: 12px; color: #8A90A0; }
.sov-hint kbd { display: inline-block; min-width: 20px; padding: 1px 6px; margin: 0 2px; border-radius: 6px; border: 1px solid #DCE1EA; border-bottom-width: 2px; background: #fff; font: 600 11px ui-monospace, Menlo, monospace; color: #555; }
@media (hover: none) { .sov-hint { display: none; } }
html.dr-lock, html.dr-lock body { overflow: hidden; }

/* صفحة النتائج */
.sr-head { position: relative; overflow: hidden; padding: 42px 0 0; text-align: center; background: linear-gradient(180deg, color-mix(in srgb, var(--c-header) 45%, #fff), #fff); }
.sr-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: #fff; color: var(--c-primary); font-size: 13px; font-weight: 700; box-shadow: 0 6px 16px -10px rgba(20, 30, 60, .4); }
.sr-kicker .ic { width: 15px; height: 15px; }
.sr-head h1 { margin: 14px 0 4px; font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; }
.sr-head p { margin: 0; color: var(--c-muted); }
.sr-tabs { display: flex; justify-content: center; gap: 6px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-border); }
.sr-tabs::-webkit-scrollbar { display: none; }
.sr-tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; color: #4A5163; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.sr-tabs a b { min-width: 24px; padding: 1px 8px; border-radius: 999px; background: #F0F2F7; font-size: 12px; color: #6B7285; }
.sr-tabs a.is-on { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.sr-tabs a.is-on b { background: var(--c-primary); color: #fff; }
.sr-sec { padding-top: 30px; }
.sr-empty { max-width: 560px; margin: 20px auto 40px; text-align: center; }
.sr-empty-ic { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 28px; background: color-mix(in srgb, var(--c-primary) 9%, #fff); color: var(--c-primary); transform: rotate(-6deg); }
.sr-empty-ic .ic { width: 38px; height: 38px; }
.sr-empty h2 { margin: 20px 0 8px; font-size: 22px; }
.sr-empty p { color: var(--c-muted); margin: 0; }
.sr-empty .s-sugg a { background: #F4F6FB; }

@media (max-width: 640px) {
	.sbox-glow .sbox-btn, .sbox-soft .sbox-btn { min-width: 0; width: 46px; padding: 0; }
	.sbox-glow .sbox-btn-tx, .sbox-soft .sbox-btn-tx { display: none; }
	.sbox-glow .sbox-ic, .sbox-soft .sbox-ic { display: none; }
	.s-type { padding: 0 14px; font-size: 13px; }
	.s-sugg { font-size: 13px; }
	.s-sugg > span { flex-basis: 100%; justify-content: center; }
	.sov { padding: 0; align-items: stretch; }
	.sov-box { max-width: none; border-radius: 0; padding: 14px 14px 10px; min-height: 100%; }
	.sov .sbox { height: 56px; }
	.sov .live { max-height: none; }
	.lr-type { display: none; }
}

/* ==========================================================================
   v2.7 — القائمة الجانبية
   ========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 280; }
.drawer[hidden] { display: none; }
.dr-scrim { position: absolute; inset: 0; background: rgba(8, 14, 34, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.dr-panel { position: absolute; top: 0; bottom: 0; width: min(88vw, 370px); display: flex; flex-direction: column; background: #fff; color: var(--c-text); box-shadow: 0 0 60px rgba(0, 0, 0, .25); transition: transform .34s cubic-bezier(.2, .8, .2, 1); }
.dr-start .dr-panel { inset-inline-start: 0; transform: translateX(100%); }
.dr-end .dr-panel { inset-inline-end: 0; transform: translateX(-100%); }
[dir="ltr"] .dr-start .dr-panel { transform: translateX(-100%); }
[dir="ltr"] .dr-end .dr-panel { transform: translateX(100%); }
.drawer.is-open .dr-scrim { opacity: 1; }
.drawer.is-open .dr-panel { transform: none; }
.dr-start .dr-panel { border-radius: 24px 0 0 24px; }
.dr-end .dr-panel { border-radius: 0 24px 24px 0; }
[dir="ltr"] .dr-start .dr-panel { border-radius: 0 24px 24px 0; }
[dir="ltr"] .dr-end .dr-panel { border-radius: 24px 0 0 24px; }
.dr-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid #EEF0F5; }
.dr-head .tlogo { --logo-scale: .8; }
.dr-head .brand img { max-height: 36px; width: auto; }
.dr-x { width: 42px; height: 42px; border: 0; border-radius: 14px; background: #F2F4F8; color: inherit; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.dr-x:hover { transform: rotate(90deg); }
.dr-x .ic { width: 20px; height: 20px; }
.dr-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px 16px 10px; display: flex; flex-direction: column; gap: 16px; }
.dr-search { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 16px; background: #F4F6FB; border: 1.5px solid transparent; transition: border-color .15s, background .15s; }
.dr-search:focus-within { border-color: var(--c-primary); background: #fff; }
.dr-search .ic { width: 20px; height: 20px; color: var(--c-primary); flex: none; }
.dr-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 15px var(--font); color: inherit; }
.dr-user { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 10%, #fff), color-mix(in srgb, var(--c-header) 30%, #fff)); }
.dr-av { width: 48px; height: 48px; flex: none; border-radius: 15px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-primary), #96E3FF); color: #fff; font-weight: 700; }
.dr-av img { width: 100%; height: 100%; object-fit: cover; }
.dr-user > div { flex: 1; min-width: 0; }
.dr-user strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-user em { font-style: normal; font-size: 12.5px; color: var(--c-muted); }
.dr-user-go { width: 36px; height: 36px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--c-primary); }
.dr-user-go .ic { width: 18px; height: 18px; }
.dr-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dr-quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 14px; background: #F6F8FC; color: inherit; font-size: 12.5px; font-weight: 600; }
.dr-quick .ic { width: 20px; height: 20px; color: var(--c-primary); }
.dr-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dr-auth a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; font-weight: 700; font-size: 14px; }
.dr-auth .ic { width: 18px; height: 18px; }
.dr-login { background: var(--c-primary); color: #fff; box-shadow: 0 10px 20px -12px var(--c-primary); }
.dr-reg { border: 1.5px solid #DCE1EA; color: var(--c-text); }
.dr-list, .dr-list ul { list-style: none; margin: 0; padding: 0; }
.dr-list > li { border-bottom: 1px solid #F0F2F6; }
.dr-list > li:last-child { border-bottom: 0; }
.dr-list > li > a, .dr-list summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 6px; color: inherit; font-size: 16px; font-weight: 600; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.dr-list summary::-webkit-details-marker { display: none; }
.dr-list > li > a span, .dr-list summary span { display: inline-flex; align-items: center; gap: 6px; }
.dr-list .ic.go, .dr-list .caret { width: 18px; height: 18px; opacity: .45; transition: transform .25s, opacity .2s; }
.dr-list details[open] .caret { transform: rotate(180deg); opacity: .8; }
.dr-list > li.is-active > a, .dr-list > li.is-active summary { color: var(--c-primary); }
.dr-list details ul { margin: 0 0 12px; padding: 6px; border-radius: 14px; background: #F6F8FC; }
.dr-list details ul a, .dr-list .sub-menu a { display: block; padding: 11px 12px; border-radius: 10px; color: inherit; font-size: 14.5px; font-weight: 500; }
.dr-list details ul a:hover { background: #fff; color: var(--c-primary); }
.dr-list .sub-menu { padding: 0 10px 10px; }
.dr-label { display: block; font-size: 12px; font-weight: 700; color: var(--c-muted); margin-bottom: 8px; }
.dr-countries > div { display: flex; flex-wrap: wrap; gap: 6px; }
.dr-countries a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #F6F8FC; color: inherit; font-size: 13.5px; font-weight: 500; }
.dr-countries .flag img { width: 18px; height: auto; }
.dr-foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid #EEF0F5; display: flex; flex-direction: column; gap: 12px; }
.dr-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 16px; color: #fff; font-weight: 700; font-size: 15px; background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 70%, #0B1430), var(--c-primary)); box-shadow: 0 14px 26px -14px var(--c-primary); }
.dr-cta .badge { --bs: 20px; color: #fff; }
.dr-cta .badge svg path:last-child { stroke: var(--c-primary); }
.dr-soc { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.dr-soc a { width: 40px; height: 40px; border-radius: 12px; background: #F2F4F8; color: #4A5163; display: grid; place-items: center; }
.dr-soc .ic, .dr-soc svg { width: 18px; height: 18px; }
/* داكنة وبلون الهوية */
.dr-dark .dr-panel { background: radial-gradient(420px 300px at 100% 0, color-mix(in srgb, var(--c-primary) 35%, transparent), transparent 70%), #0E1A3A; color: #fff; }
.dr-brand .dr-panel { background: linear-gradient(170deg, color-mix(in srgb, var(--c-primary) 75%, #0B1430), var(--c-primary)); color: #fff; }
.dr-dark .tlogo, .dr-brand .tlogo { --logo-c: #fff; --logo-mark: #fff; }
.dr-dark .tlogo .bm-square b, .dr-brand .tlogo .bm-square b, .dr-dark .tlogo .bm-circle b, .dr-brand .tlogo .bm-circle b { color: var(--c-primary); }
.dr-dark .tlogo.is-grad .brand-text, .dr-brand .tlogo.is-grad .brand-text { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.dr-dark .dr-head, .dr-brand .dr-head, .dr-dark .dr-foot, .dr-brand .dr-foot { border-color: rgba(255, 255, 255, .1); }
.dr-dark .dr-x, .dr-brand .dr-x, .dr-dark .dr-soc a, .dr-brand .dr-soc a, .dr-dark .dr-quick a, .dr-brand .dr-quick a, .dr-dark .dr-countries a, .dr-brand .dr-countries a, .dr-dark .dr-search, .dr-brand .dr-search, .dr-dark .dr-list details ul, .dr-brand .dr-list details ul { background: rgba(255, 255, 255, .08); color: #fff; }
.dr-dark .dr-search:focus-within, .dr-brand .dr-search:focus-within { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .4); }
.dr-dark .dr-search .ic, .dr-brand .dr-search .ic, .dr-dark .dr-quick .ic, .dr-brand .dr-quick .ic { color: #96E3FF; }
.dr-dark .dr-search input::placeholder, .dr-brand .dr-search input::placeholder { color: rgba(255, 255, 255, .55); }
.dr-dark .dr-list > li, .dr-brand .dr-list > li { border-color: rgba(255, 255, 255, .08); }
.dr-dark .dr-list > li.is-active > a, .dr-brand .dr-list > li.is-active > a, .dr-dark .dr-list > li.is-active summary, .dr-brand .dr-list > li.is-active summary { color: #96E3FF; }
.dr-dark .dr-list details ul a:hover, .dr-brand .dr-list details ul a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.dr-dark .dr-user, .dr-brand .dr-user { background: rgba(255, 255, 255, .1); }
.dr-dark .dr-user em, .dr-brand .dr-user em, .dr-dark .dr-label, .dr-brand .dr-label { color: rgba(255, 255, 255, .6); }
.dr-dark .dr-reg, .dr-brand .dr-reg { border-color: rgba(255, 255, 255, .3); color: #fff; }
.dr-brand .dr-login, .dr-brand .dr-cta { background: #fff; color: var(--c-primary); }
.dr-brand .dr-cta .badge { color: var(--c-primary); }
.dr-brand .dr-cta .badge svg path:last-child { stroke: #fff; }
@media (max-width: 1200px) {
	.nav, .nav-open .nav { display: none !important; }
	.hdr-burger { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .75); box-shadow: 0 4px 12px -6px rgba(20, 30, 60, .3); }
	.hdr-burger .ic { width: 22px; height: 22px; }
	.is-leader .hdr-burger { background: rgba(255, 255, 255, .12); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .dr-panel, .sov-box { transition: none; } }

/* ==========================================================================
   v2.7 — البطاقة التعريفية في صفحة الملف (إعدادات القالب ← صفحة الملف)
   ========================================================================== */
.phead { --pc1: #2A47C5; --pc2: #5FB6F2; position: relative; }
.phead-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--pc1); letter-spacing: .2px; }
.phead-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.phead-stats a, .phead-stats span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--pc1) 8%, #fff); color: var(--pc1); }
.phead-stats span { background: #F2F4F8; color: #5A6174; }
.phead-stats .ic { width: 15px; height: 15px; }
.ph-photo-circle .phead-photo .ph { border-radius: 50% !important; aspect-ratio: 1 !important; }
/* معلومات كمربعات */
.ph-info-grid .phead-rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ph-info-grid .phead-rows li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 11px 13px; border-radius: 14px; background: #F7F9FC; border: 1px solid #EEF1F6; min-width: 0; }
.ph-info-grid .phead-rows li i { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--pc1); box-shadow: 0 4px 10px -6px rgba(20, 30, 60, .3); }
.ph-info-grid .phead-rows li i .ic { width: 18px; height: 18px; }
.ph-info-grid .phead-rows li b { font-size: 12px; font-weight: 600; color: var(--c-muted); line-height: 1.3; }
.ph-info-grid .phead-rows li .v { font-size: 14.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-info-grid .phead-rows li.phead-soc { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.ph-info-grid .phead-soc span { margin: 0; gap: 6px; }
.ph-info-grid .phead-soc a { width: 36px; height: 36px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: #4A5163; box-shadow: 0 4px 10px -6px rgba(20, 30, 60, .3); transition: transform .15s, color .15s; }
.ph-info-grid .phead-soc a:hover { transform: translateY(-2px); color: var(--pc1); }
.ph-info-grid .phead-soc .ic { width: 18px; height: 18px; }

/* غلاف ملون */
.phead-cover { display: none; }
.phead-s-cover, .phead-s-card, .phead-s-center { margin-top: 22px; padding: 0 0 4px; border-radius: 26px; background: #fff; border: 1px solid #EEF0F5; box-shadow: 0 2px 4px rgba(20, 30, 60, .04), 0 24px 50px -32px rgba(20, 30, 60, .35); overflow: hidden; }
.phead-s-cover .phead-cover, .phead-s-center .phead-cover { display: block; height: 150px; background: var(--pcimg, none) center/cover, radial-gradient(400px 200px at 0 0, rgba(255, 255, 255, .25), transparent 60%), linear-gradient(120deg, var(--pc1), var(--pc2)); position: relative; }
.phead-s-cover .phead-cover::after, .phead-s-center .phead-cover::after, .phead-s-card .phead-cover::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.has-cover-img .phead-cover::after { display: none; }
.phead-s-cover .phead-top { padding: 0 28px 6px; }
.phead-s-cover .phead-photo { width: 168px; margin-top: -84px; position: relative; z-index: 1; }
.phead-s-cover .phead-photo .ph, .phead-s-center .phead-photo .ph { border: 5px solid #fff; border-radius: 26px; box-shadow: 0 18px 34px -18px rgba(20, 30, 60, .55); }
.phead-s-cover .phead-info { padding-top: 18px; }
.phead-s-cover .phead-actions, .phead-s-card .phead-actions, .phead-s-center .phead-actions { margin: 18px 28px 20px; padding-top: 18px; border-top: 1px dashed #E3E7EF; }
.phead-s-cover .phead-hl, .phead-s-card .phead-hl, .phead-s-center .phead-hl { margin: 0 28px 24px; padding: 18px 20px; border-radius: 16px; background: #FFF8E6; border: 1px solid #F1DFAE; }

/* بطاقة بعمود للصورة */
.phead-s-card .phead-top { position: relative; gap: 0; align-items: stretch; }
.phead-s-card .phead-cover { display: block; position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 250px; background: var(--pcimg, none) center/cover, linear-gradient(160deg, var(--pc1), var(--pc2)); }
.phead-s-card .phead-photo { position: relative; z-index: 1; width: 250px; padding: 30px 34px; display: flex; align-items: center; }
.phead-s-card .phead-photo .ph { width: 100%; border: 5px solid rgba(255, 255, 255, .9); border-radius: 22px; box-shadow: 0 20px 36px -18px rgba(0, 0, 0, .55); }
.phead-s-card .phead-info { padding: 28px 30px 6px; }

/* متمركز */
.phead-s-center { text-align: center; }
.phead-s-center .phead-cover { height: 130px; }
.phead-s-center .phead-top { flex-direction: column; align-items: center; padding: 0 28px; }
.phead-s-center .phead-photo { width: 150px; margin-top: -80px; position: relative; z-index: 1; }
.phead-s-center .phead-stats { justify-content: center; }
.phead-s-center.ph-info-grid .phead-rows li { text-align: start; }
.phead-s-center .phead-rows { width: 100%; }
.phead-s-center .phead-info { width: 100%; padding-top: 12px; }

/* أسماء وأزرار عصرية */
.phead-s-cover .phead-name, .phead-s-card .phead-name, .phead-s-center .phead-name { font-size: 30px; font-weight: 800; margin-top: 2px; }
.phead-s-cover .phead-sub, .phead-s-card .phead-sub, .phead-s-center .phead-sub { font-size: 17px; color: #5A6174; margin: 6px 0 14px; line-height: 1.7; }
.phead:not(.phead-s-classic) .act-share { width: 48px; height: 48px; border-radius: 14px; }
.phead:not(.phead-s-classic) .act-manage, .phead:not(.phead-s-classic) .act-card { height: 48px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.phead:not(.phead-s-classic) .act-card { background: linear-gradient(135deg, var(--pc1), color-mix(in srgb, var(--pc1) 55%, var(--pc2))); box-shadow: 0 12px 22px -14px var(--pc1); }

/* القادة */
.phead-leader:not(.phead-s-classic) { --pc1: #8A6416; --pc2: #E3B85C; padding: 0 0 4px; margin-top: 22px; background: #fff; border: 1px solid #EED9A0; border-radius: 26px; }
.phead-leader:not(.phead-s-classic) .phead-cover { background: var(--pcimg, none) center/cover, radial-gradient(400px 200px at 0 0, rgba(255, 230, 160, .35), transparent 60%), linear-gradient(120deg, #1A1406, #6E4E12 55%, #C99A3E); }
.phead-leader.phead-s-card .phead-cover { background: linear-gradient(160deg, #1A1406, #7A5712); }

@media (max-width: 760px) {
	.phead-s-cover .phead-top, .phead-s-card .phead-top { flex-direction: column; align-items: center; text-align: center; padding: 0 18px; }
	.phead-s-cover .phead-photo { width: 140px; margin-top: -70px; }
	.phead-s-cover .phead-cover, .phead-s-center .phead-cover { height: 120px; }
	.phead-s-card .phead-top { padding: 0 18px; }
	.phead-s-card .phead-cover { position: relative; width: calc(100% + 36px); height: 110px; inset: auto; margin: 0 -18px; }
	.phead-s-card .phead-photo { width: 140px; padding: 0; margin-top: -76px; }
	.phead-s-card .phead-info { padding: 14px 0 0; }
	.phead-s-cover .phead-name, .phead-s-card .phead-name, .phead-s-center .phead-name { font-size: 24px; }
	.phead-s-cover .phead-sub, .phead-s-card .phead-sub, .phead-s-center .phead-sub { font-size: 15.5px; }
	.phead:not(.phead-s-classic) .phead-stats { justify-content: center; }
	.ph-info-grid .phead-rows { grid-template-columns: 1fr 1fr; text-align: start; }
	.ph-info-grid .phead-rows li { padding: 10px; grid-template-columns: 1fr; }
	.ph-info-grid .phead-rows li i { grid-row: auto; width: 30px; height: 30px; margin-bottom: 6px; }
	.phead-s-cover .phead-actions, .phead-s-card .phead-actions, .phead-s-center .phead-actions { margin: 16px 18px 18px; }
	.phead:not(.phead-s-classic) .phead-actions { display: grid; grid-template-columns: auto 1fr; }
	.phead:not(.phead-s-classic) .phead-actions .act-card { grid-column: 1 / -1; justify-content: center; }
	.phead:not(.phead-s-classic) .phead-actions .act-manage { justify-content: center; }
	.phead-s-cover .phead-hl, .phead-s-card .phead-hl, .phead-s-center .phead-hl { margin: 0 18px 20px; text-align: start; }
}

/* شعار هوية المرسوم */
.tlogo-svg { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1; }
.tlogo-svg .hw-wordmark { display: block; height: calc(var(--logo-fs, 30px) * 1.3 * var(--logo-scale, 1)); width: auto; overflow: visible; }
.tlogo-svg .brand-tag { font-size: calc(var(--logo-fs, 30px) * .36 * var(--logo-scale, 1)); color: var(--logo-c); opacity: .7; white-space: nowrap; }

/* ==========================================================================
   v2.8 — نافذة البطاقة التعريفية (صورة)
   ========================================================================== */
.idm { position: fixed; inset: 0; z-index: 320; display: flex; align-items: center; justify-content: center; padding: 20px; }
.idm[hidden] { display: none; }
.idm-scrim { position: absolute; inset: 0; background: rgba(8, 14, 34, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.idm-box { position: relative; width: min(980px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; border-radius: 26px; background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); overflow: hidden; opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.idm.is-open .idm-scrim { opacity: 1; }
.idm.is-open .idm-box { opacity: 1; transform: none; }
.idm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid #EEF0F5; }
.idm-head h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.idm-head h2 .ic { width: 22px; height: 22px; color: var(--c-primary); }
.idm-x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #F2F4F8; cursor: pointer; display: grid; place-items: center; color: #333; transition: transform .2s; }
.idm-x:hover { transform: rotate(90deg); }
.idm-x .ic { width: 20px; height: 20px; }
.idm-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 14px 22px; background: #F7F9FC; border-bottom: 1px solid #EEF0F5; }
.idm-group { display: flex; align-items: center; gap: 12px; }
.idm-group > span { font-size: 13px; font-weight: 700; color: #5A6174; }
.idm-colors { display: flex; gap: 8px; }
.idm-sw { width: 34px; height: 34px; border-radius: 11px; border: 0; cursor: pointer; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); transition: transform .15s, box-shadow .15s; }
.idm-sw:hover { transform: translateY(-2px); }
.idm-sw.is-on { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sw); }
.idm-sizes { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid #E3E7EF; }
.idm-sz { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border: 0; border-radius: 9px; background: none; color: #5A6174; font: 600 13px var(--font); cursor: pointer; }
.idm-sz.is-on { background: var(--c-primary); color: #fff; }
.idm-sz i { display: inline-block; border: 2px solid currentColor; border-radius: 3px; }
.idm-sz .r-sq { width: 13px; height: 13px; }
.idm-sz .r-st { width: 10px; height: 16px; }
.idm-sz .r-wd { width: 18px; height: 11px; }
.idm-stage { position: relative; flex: 1; min-height: 0; overflow: auto; display: grid; place-items: center; padding: 22px; background: repeating-conic-gradient(#F3F5F9 0 25%, #FAFBFD 0 50%) 0 0 / 22px 22px; }
.idm-stage canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 290px); border-radius: 14px; box-shadow: 0 24px 50px -24px rgba(20, 30, 60, .5); }
.idm-loading { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(255, 255, 255, .7); font-weight: 600; color: #5A6174; }
.idm-loading span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #E3E7EF; border-top-color: var(--c-primary); animation: hwSpin .8s linear infinite; }
.idm.is-busy .idm-loading { display: flex; }
.idm-err { margin: 0; padding: 10px 22px; background: #FFF4F2; color: #B42318; font-size: 13.5px; }
.idm-err[hidden] { display: none; }
.idm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid #EEF0F5; }
.idm-dl, .idm-share, .idm-print { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 13px; font: 700 15px var(--font); cursor: pointer; }
.idm-dl { border: 0; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 75%, #0B1430), var(--c-primary)); box-shadow: 0 12px 24px -14px var(--c-primary); }
.idm-dl .ic { transform: rotate(180deg); }
.idm-share { border: 1.5px solid #DCE1EA; background: #fff; color: var(--c-text); }
.idm-share[hidden] { display: none; }
.idm-print { margin-inline-start: auto; color: #5A6174; font-weight: 600; font-size: 14px; padding: 0 10px; }
.idm-print:hover { color: var(--c-primary); opacity: 1; }
.idm-dl .ic, .idm-share .ic, .idm-print .ic { width: 19px; height: 19px; }
@media (max-width: 640px) {
	.idm { padding: 0; align-items: flex-end; }
	.idm-box { max-height: 96vh; border-radius: 24px 24px 0 0; }
	.idm-head { padding: 14px 16px; }
	.idm-tools { padding: 12px 16px; flex-direction: column; align-items: stretch; }
	.idm-group { justify-content: space-between; }
	.idm-stage { padding: 14px; }
	.idm-stage canvas { max-height: 52vh; }
	.idm-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); }
	.idm-dl { flex: 1; }
	.idm-print { width: 100%; margin: 0; }
}

/* ==========================================================================
   v2.8 — كروت الشخصيات والمؤسسات (إعدادات القالب ← التصنيفات والأرشيف)
   ========================================================================== */
.lc { margin: 4px 4px 22px; }
.lc .pcard-link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 0; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid #EBEEF4 !important; box-shadow: 0 1px 2px rgba(20, 30, 60, .04), 0 10px 24px -18px rgba(20, 30, 60, .28) !important; transform: none; transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s !important; }
.lc .pcard-link:hover { transform: translateY(-5px) !important; border-color: color-mix(in srgb, var(--c-primary) 30%, #EBEEF4) !important; box-shadow: 0 2px 4px rgba(20, 30, 60, .05), 0 26px 44px -22px color-mix(in srgb, var(--c-primary) 45%, rgba(20, 30, 60, .5)) !important; opacity: 1; }
.lc-media { position: relative; display: block; padding: 8px 8px 0; }
.lc-media .ph { display: block; border-radius: 15px; aspect-ratio: 4 / 5; }
.lc-r-square .lc-media .ph { aspect-ratio: 1; }
.lc-media .ph img { transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.lc .pcard-link:hover .lc-media .ph img { transform: scale(1.05); }
.lc .pcard-link:hover .hw-gray img { filter: grayscale(0) !important; }
.lc-ribbon { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #1C2333; background: rgba(255, 255, 255, .88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }
.lc-ribbon .badge { --bs: 15px; }
.lc-t-leader .lc-ribbon { background: linear-gradient(135deg, #1A1406, #6E4E12); color: #F6D98A; }
.lc-t-leader .lc-ribbon .badge { color: #F3C63F; }
.lc .pcard-body { display: flex; flex-direction: column; align-items: center; flex: 1; min-height: 0; padding: 14px 14px 0; text-align: center; }
.lc .pcard-name { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 16.5px; font-weight: 800; line-height: 1.45; }
.lc .pcard-name span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lc .pcard-name .badge { --bs: 17px; flex: none; }
.lc .pcard-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 6px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--c-muted); }
.lc-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 10px; }
.lc-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: color-mix(in srgb, var(--c-primary) 8%, #fff); color: var(--c-primary); }
.lc-chip .ic { width: 13px; height: 13px; flex: none; }
.lc-chip.lc-co, .lc-chip.lc-v { background: #F2F4F8; color: #5A6174; }
.lc-cta { display: flex; align-items: center; justify-content: center; gap: 4px; align-self: stretch; margin: 0 -14px; padding: 12px; border-top: 1px solid #F0F2F6; font-size: 13.5px; font-weight: 700; color: var(--c-primary); transition: background .2s, color .2s; }
.lc .pcard-body::after { content: ""; flex: 1 0 14px; order: 9; }
.lc .lc-cta { order: 10; }
.lc-cta .ic { width: 16px; height: 16px; transition: transform .2s; }
.lc .pcard-link:hover .lc-cta { background: var(--c-primary); color: #fff; }
.lc .pcard-link:hover .lc-cta .ic { transform: translateX(-4px); }
.lc.is-gold .pcard-link { border-color: #EED9A0 !important; background: linear-gradient(180deg, #FFFBF0, #fff 40%); }
.lc.is-gold .pcard-link:hover .lc-cta { background: linear-gradient(135deg, #8A6416, #C99A3E); }
.lc.is-gold .lc-cta { color: #8A6416; }

/* صورة كاملة والاسم فوقها */
.lc-overlay .pcard-link { background: #0E1A3A; }
.lc-overlay .lc-media { padding: 0; }
.lc-overlay .lc-media .ph { border-radius: 0; aspect-ratio: 3 / 4; }
.lc-overlay.lc-r-square .lc-media .ph { aspect-ratio: 4 / 5; }
.lc-overlay .lc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 14, 34, .92) 0%, rgba(8, 14, 34, .55) 38%, transparent 62%); pointer-events: none; }
.lc-overlay .lc-ribbon { top: 12px; inset-inline-start: 12px; }
.lc-overlay .pcard-body { position: absolute; inset: auto 0 0; padding: 16px 14px 14px; color: #fff; z-index: 1; }
.lc-overlay .pcard-body::after { display: none; }
.lc-overlay .pcard-name { color: #fff; }
.lc-overlay .pcard-desc { color: rgba(255, 255, 255, .8); -webkit-line-clamp: 2; }
.lc-overlay .lc-chip { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(6px); }
.lc-overlay .lc-cta { margin: 10px 0 0; padding: 0; height: 0; opacity: 0; border: 0; border-radius: 10px; background: #fff; color: var(--c-primary); overflow: hidden; transition: height .25s, opacity .25s; }
.lc-overlay .pcard-link:hover .lc-cta { height: 38px; opacity: 1; background: #fff; color: var(--c-primary); }
.lc-overlay.is-gold .pcard-link { background: #1A1406; }
.lc-overlay.is-gold .lc-media::after { background: linear-gradient(to top, rgba(26, 20, 6, .95), rgba(26, 20, 6, .5) 40%, transparent 65%); }
.lc-overlay.is-gold .pcard-name { color: #F6D98A; }
@media (hover: none) { .lc-overlay .lc-cta { display: none; } }

/* المؤسسات */
.pcard-org.lc .lc-media { padding: 10px 10px 0; }
.pcard-org.lc .lc-media .ph { max-width: none; margin: 0; aspect-ratio: 1.25; border-radius: 15px; background: linear-gradient(160deg, #F7F9FC, #EEF2F8); border: 1px solid #EEF1F6; }
.pcard-org.lc .lc-media .ph img { object-fit: contain; padding: 16%; box-sizing: border-box; }
.pcard-org.lc .pcard-link:hover .lc-media .ph img { transform: scale(1.06); }

@media (max-width: 640px) {
	.lc { margin: 4px 3px 14px; }
	.lc .pcard-link { border-radius: 16px; }
	.lc-media { padding: 6px 6px 0; }
	.lc-media .ph { border-radius: 12px; }
	.lc-ribbon { top: 11px; inset-inline-start: 11px; height: 22px; font-size: 10.5px; padding: 0 8px 0 6px; }
	.lc-ribbon .badge { --bs: 13px; }
	.lc .pcard-body { padding: 10px 9px 0; }
	.lc .pcard-name { font-size: 14.5px; }
	.lc .pcard-name .badge { --bs: 15px; }
	.lc .pcard-desc { font-size: 12.5px; }
	.lc-meta { margin-top: 8px; }
	.lc-meta .lc-chip:nth-child(n+2) { display: none; }
	.lc-cta { margin-inline: -9px; padding: 10px; font-size: 12.5px; }
	.lc .pcard-body::after { flex-basis: 10px; }
	.lc-overlay .pcard-body { padding: 12px 10px 10px; }
}
.lc-overlay .pcard-desc { -webkit-line-clamp: 1; margin-top: 4px; }
.lc-overlay .lc-meta { margin-top: 8px; }
.lc-overlay .lc-meta .lc-chip:nth-child(n+2) { display: none; }
.lc-overlay .lc-media::after { background: linear-gradient(to top, rgba(8, 14, 34, .95) 0%, rgba(8, 14, 34, .7) 28%, rgba(8, 14, 34, .15) 52%, transparent 64%); }

/* ==========================================================================
   v2.9 — المعلومات الشخصية في البطاقة (إعدادات القالب ← صفحة الملف)
   ========================================================================== */
.phead .pi { --pi: var(--pc1, var(--c-primary)); position: relative; }
.pi-colored .pi-name_en { --pi: #6366F1; }
.pi-colored .pi-nationality, .pi-colored .pi-country { --pi: #10B981; }
.pi-colored .pi-residence { --pi: #F59E0B; }
.pi-colored .pi-address { --pi: #EF4444; }
.pi-colored .pi-website { --pi: #0EA5E9; }
.phead .pi .v a { display: inline-flex; align-items: center; gap: 4px; color: inherit; text-decoration: none; }
.phead .pi .v a:hover { color: var(--pi); opacity: 1; }
.phead .pi .v .ext { width: 13px; height: 13px; opacity: .5; flex: none; }
.phead .pi bdi { unicode-bidi: isolate; }
.pi-copy { position: absolute; top: 50%; inset-inline-end: 8px; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 9px; display: grid; place-items: center; background: transparent; color: #9AA1B2; cursor: pointer; opacity: 0; transition: opacity .15s, background .15s, color .15s; }
.pi-copy .ic { width: 15px; height: 15px; }
.pi:hover .pi-copy, .pi-copy:focus-visible { opacity: 1; }
.pi-copy:hover { background: #fff; color: var(--pi); }
.pi-copy.is-done { opacity: 1; color: #16A34A; }
@media (hover: none) { .pi-copy { opacity: .7; } }

/* مربعات بأيقونات ملونة */
.ph-info-grid .phead-rows { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.ph-info-grid .phead-rows li.pi { padding: 12px 40px 12px 13px; padding-inline: 13px 40px; border-radius: 16px; background: #fff; border: 1px solid #EBEEF4; box-shadow: 0 1px 2px rgba(20, 30, 60, .03); transition: border-color .2s, box-shadow .2s, transform .2s; }
.ph-info-grid .phead-rows li.pi:hover { border-color: color-mix(in srgb, var(--pi) 35%, #EBEEF4); box-shadow: 0 10px 22px -16px color-mix(in srgb, var(--pi) 60%, transparent); transform: translateY(-1px); }
.ph-info-grid .phead-rows li.pi i.pi-ic { width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--pi) 11%, #fff); color: var(--pi); box-shadow: none; }
.ph-info-grid .phead-rows li.pi i.pi-ic .ic { width: 19px; height: 19px; }
.ph-info-grid .phead-rows li.pi b { font-size: 12px; color: #8A90A0; font-weight: 600; }
.ph-info-grid .phead-rows li.pi .v { font-size: 15px; font-weight: 700; color: var(--c-text); }
.ph-info-grid .phead-rows li.pi-address { grid-column: span 2; }
.ph-info-grid .phead-rows li.pi-address .v { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* صفوف أنيقة بفواصل */
.ph-info-rows .phead-rows { display: flex; flex-direction: column; gap: 0; padding: 4px 16px; border-radius: 18px; background: #FAFBFD; border: 1px solid #EEF1F6; }
.ph-info-rows .phead-rows li.pi { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 0; padding-inline-end: 38px; border-bottom: 1px dashed #E3E7EF; font-size: 15px; }
.ph-info-rows .phead-rows li:last-child { border-bottom: 0; }
.ph-info-rows .pi-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--pi) 11%, #fff); color: var(--pi); }
.ph-info-rows .pi-ic .ic { width: 17px; height: 17px; }
.ph-info-rows .pi b { flex: none; min-width: 120px; font-size: 13.5px; font-weight: 600; color: #6B7285; }
.ph-info-rows .pi .v { flex: 1; min-width: 0; font-weight: 700; text-align: start; }
.ph-info-rows .phead-soc { display: flex; align-items: center; gap: 12px; min-height: 54px; }

/* كبسولات */
.ph-info-chips .phead-rows { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; }
.ph-info-chips .phead-rows li.pi { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 8px; padding-inline: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--pi) 8%, #fff); border: 1px solid color-mix(in srgb, var(--pi) 18%, #fff); font-size: 14px; }
.ph-info-chips .pi-ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--pi); }
.ph-info-chips .pi-ic .ic { width: 14px; height: 14px; }
.ph-info-chips .pi b { display: none; }
.ph-info-chips .pi .v { font-weight: 700; color: var(--c-text); }
.ph-info-chips .phead-soc { flex-basis: 100%; display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.phead-s-center.ph-info-chips .phead-rows { justify-content: center; }

@media (max-width: 760px) {
	.ph-info-grid .phead-rows li.pi { padding-inline: 10px 34px; }
	.ph-info-grid .phead-rows li.pi i.pi-ic { width: 32px; height: 32px; border-radius: 10px; }
	.ph-info-grid .phead-rows li.pi-address, .ph-info-grid .phead-rows li.pi-website { grid-column: 1 / -1; }
	.ph-info-grid .phead-rows li.pi-address, .ph-info-grid .phead-rows li.pi-website { grid-template-columns: auto 1fr; }
	.ph-info-grid .phead-rows li.pi-address i.pi-ic, .ph-info-grid .phead-rows li.pi-website i.pi-ic { grid-row: 1 / 3; margin: 0; }
	.ph-info-rows .phead-rows { padding: 2px 12px; }
	.ph-info-rows .phead-rows li.pi { flex-wrap: wrap; gap: 4px 10px; text-align: start; }
	.ph-info-rows .pi b { min-width: 0; }
	.ph-info-rows .pi .v { flex-basis: 100%; padding-inline-start: 44px; margin-top: -10px; }
	.ph-info-chips .phead-rows { justify-content: center; }
}
.phead-details { padding: 18px 28px 0; }
.phead-details .phead-rows { width: 100%; }
.ph-info-grid .phead-details .phead-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.phead-s-center .phead-details { text-align: start; }
@media (max-width: 992px) { .ph-info-grid .phead-details .phead-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .phead-details { padding: 16px 18px 0; } }
.ph-info-grid .pi-copy { top: 8px; transform: none; width: 26px; height: 26px; inset-inline-end: 6px; }
.ph-info-grid .phead-rows li.pi { padding-inline: 13px 13px; }
.ph-info-grid .phead-rows li.pi b { padding-inline-end: 22px; }
.phead .pi-website .v, .phead .pi-name_en .v { direction: ltr; text-align: right; }
.phead-s-center .pi-website .v, .phead-s-center .pi-name_en .v { text-align: inherit; }

/* ==========================================================================
   v3.0 — الاسم بالإنجليزي + لوحة المعلومات + الباركود + الزر الإضافي
   ========================================================================== */
.phead-en { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 2px 0 8px; direction: ltr; text-align: right; font-size: 17px; font-weight: 600; letter-spacing: .4px; color: color-mix(in srgb, var(--pc1, var(--c-primary)) 70%, #1C2333); line-height: 1.5; }
.phead-en bdi { overflow-wrap: anywhere; }
.phead-en .pi-copy { position: static; transform: none; width: 28px; height: 28px; opacity: .55; flex: none; }
.phead-en:hover .pi-copy { opacity: 1; }
.phead-s-center .phead-en { justify-content: center; text-align: center; }
.phead-s-classic .phead-en, .phead:not([class*="phead-s-"]) .phead-en { font-size: 18px; }

/* لا قص لأي قيمة */
.phead .pi .v, .ph-info-grid .phead-rows li.pi .v { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere; display: block; -webkit-line-clamp: unset !important; }

/* لوحة معلومات احترافية */
.ph-info-facts .phead-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 0; margin: 0; border-radius: 20px; overflow: hidden; background: #E9EDF4; border: 1px solid #E9EDF4; box-shadow: 0 1px 2px rgba(20, 30, 60, .03), 0 14px 30px -26px rgba(20, 30, 60, .35); }
.ph-info-facts .phead-rows > li { background: #fff; }
.ph-info-facts .phead-rows li.pi { display: grid; grid-template-columns: 46px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; padding-inline-end: 44px; transition: background .2s; }
.ph-info-facts .phead-rows li.pi:hover { background: color-mix(in srgb, var(--pi) 3%, #fff); }
.ph-info-facts .pi-ic { grid-row: 1 / 3; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--pi) 10%, #fff); color: var(--pi); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pi) 22%, transparent); }
.ph-info-facts .pi-ic .ic { width: 20px; height: 20px; }
.ph-info-facts .pi b { align-self: end; font-size: 12.5px; font-weight: 600; color: #8A90A0; line-height: 1.4; }
.ph-info-facts .pi .v { align-self: start; margin-top: 2px; font-size: 16px; font-weight: 700; color: var(--c-text); line-height: 1.55; }
.ph-info-facts .pi-address, .ph-info-facts .pi-website, .ph-info-facts .phead-soc { grid-column: 1 / -1; }
.ph-info-facts .phead-rows li.pi:nth-last-child(2):nth-child(odd):not(.pi-address):not(.pi-website) { grid-column: 1 / -1; }
.ph-info-facts .pi-website .v a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: color-mix(in srgb, var(--pi) 9%, #fff); color: var(--pi); font-size: 14.5px; direction: ltr; }
.ph-info-facts .pi-website .v { direction: rtl; text-align: start; }
.ph-info-facts .pi-website .v a:hover { background: var(--pi); color: #fff; }
.ph-info-facts .pi-website .v .ext { opacity: .8; }
.ph-info-facts .pi-address .v a { display: inline; }
.ph-info-facts .pi-address .v .ext { display: inline-block; vertical-align: -1px; margin-inline-start: 4px; }
.ph-info-facts .pi-copy { top: 50%; transform: translateY(-50%); inset-inline-end: 10px; width: 30px; height: 30px; }
.ph-info-facts .phead-soc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; }
.ph-info-facts .phead-soc b { font-size: 12.5px; font-weight: 600; color: #8A90A0; }
.ph-info-facts .phead-soc span { margin: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ph-info-facts .phead-soc a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #F4F6FB; color: #4A5163; transition: background .15s, color .15s, transform .15s; }
.ph-info-facts .phead-soc a:hover { background: var(--pc1, var(--c-primary)); color: #fff; transform: translateY(-2px); }
.ph-info-facts .phead-soc .ic { width: 18px; height: 18px; }

/* صندوق الباركود */
.phead-details.has-qr { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 18px; align-items: stretch; }
.phead-details.has-qr > .phead-rows:only-child, .phead-details.has-qr > .pqr:only-child { grid-column: 1 / -1; }
.pqr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; border-radius: 20px; text-align: center; background: linear-gradient(170deg, color-mix(in srgb, var(--pc1, var(--c-primary)) 7%, #fff), #fff 60%); border: 1px solid #E9EDF4; box-shadow: 0 14px 30px -26px rgba(20, 30, 60, .35); }
.pqr-code { width: 100%; max-width: 176px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -14px rgba(20, 30, 60, .35), inset 0 0 0 1px #EEF1F6; }
.pqr-code svg { display: block; width: 100%; height: auto; border-radius: 10px; }
.pqr-txt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pqr-txt strong { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; }
.pqr-txt strong .ic { width: 17px; height: 17px; color: var(--pc1, var(--c-primary)); }
.pqr-txt span { font-size: 12.5px; color: var(--c-muted); line-height: 1.6; }
.pqr-dl { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 10px; border: 1.5px solid #DCE1EA; background: #fff; color: var(--c-text); font: 600 13px var(--font); cursor: pointer; transition: border-color .15s, color .15s; }
.pqr-dl .ic { width: 15px; height: 15px; transform: rotate(180deg); }
.pqr-dl:hover { border-color: var(--pc1, var(--c-primary)); color: var(--pc1, var(--c-primary)); }
.phead-s-classic .pqr, .phead:not([class*="phead-s-"]) .pqr { display: none; }

/* الزر الإضافي */
.act-extra { display: inline-flex; align-items: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 14px; font-size: 15px; font-weight: 600; color: #fff; background: #0E1A3A; box-shadow: 0 12px 22px -14px rgba(14, 26, 58, .8); transition: transform .2s, box-shadow .2s, filter .2s; }
.act-extra:hover { transform: translateY(-2px); filter: brightness(1.08); opacity: 1; }
.act-extra .ic, .act-extra svg { width: 19px; height: 19px; flex: none; }
.act-x-primary { background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 75%, #0B1430), var(--c-primary)); box-shadow: 0 12px 22px -14px var(--c-primary); }
.act-x-gold { background: linear-gradient(135deg, #8A6416, #C99A3E); color: #fff; box-shadow: 0 12px 22px -14px #8A6416; }
.act-x-green { background: linear-gradient(135deg, #15803D, #22C55E); box-shadow: 0 12px 22px -14px #15803D; }
.act-x-whatsapp { background: #25D366; box-shadow: 0 12px 22px -14px #128C7E; }
.act-x-outline { background: #fff; color: var(--c-text); border: 1.5px solid #DCE1EA; box-shadow: none; }
.act-x-outline:hover { border-color: var(--c-primary); color: var(--c-primary); }
.phead-s-classic .act-extra { height: 46px; border-radius: 28px; }

@media (max-width: 900px) {
	.phead-details.has-qr { grid-template-columns: 1fr; }
	.pqr { flex-direction: row; text-align: start; align-items: center; }
	.pqr-code { max-width: 120px; flex: none; }
	.pqr-txt { align-items: flex-start; }
}
@media (max-width: 760px) {
	.phead-en { justify-content: center; text-align: center; font-size: 15.5px; }
	.ph-info-facts .phead-rows { grid-template-columns: 1fr; }
	.ph-info-facts .phead-rows li.pi { padding: 14px; padding-inline-end: 42px; grid-template-columns: 40px minmax(0, 1fr); text-align: start; }
	.ph-info-facts .pi-ic { width: 40px; height: 40px; }
	.ph-info-facts .pi .v { font-size: 15px; }
	.phead:not(.phead-s-classic) .phead-actions .act-extra { grid-column: 1 / -1; justify-content: center; }
}
.phead .phead-en .pi-copy { position: static; transform: none; inset: auto; }

/* شعار موسوعة بصمة */
.tlogo-basma { --bm-c: #173A63; --bm-r1: #0F2C4F; --bm-r2: #173A63; --bm-r3: #3B78B5; }
.tlogo-basma .hw-wordmark { height: calc(var(--logo-fs, 30px) * 1.75 * var(--logo-scale, 1)); }
.is-leader .site-header .tlogo-basma, .foot-s-dark .tlogo-basma, .foot-s-brand .tlogo-basma, .auth-side .tlogo-basma, .auth-center .auth-head .tlogo-basma, .ptitle-leader .tlogo-basma, .dr-dark .tlogo-basma, .dr-brand .tlogo-basma, .app-s-dark .app-side .tlogo-basma, .app-s-brand .app-side .tlogo-basma { --bm-c: #fff; --bm-t1: #CFE0F5; --bm-r1: #fff; --bm-r2: #DCE8F7; --bm-r3: #9CC3EC; }
@media (max-width: 640px) { .site-header .tlogo-basma .hw-wordmark { height: 44px; } }

/* شعار بصمة المرسوم */
.tlogo-basma.bm-icon_type .hw-wordmark { height: calc(var(--logo-fs, 30px) * 1.45 * var(--logo-scale, 1)); }
.tlogo-basma.bm-type .hw-wordmark { height: calc(var(--logo-fs, 30px) * 1.3 * var(--logo-scale, 1)); }
.tlogo-basma.bm-stack .hw-wordmark, .tlogo-basma.bm-icon_stack .hw-wordmark { height: calc(var(--logo-fs, 30px) * 2.1 * var(--logo-scale, 1)); }
.tlogo-basma .hw-wordmark.bm-m { display: none; }
@media (max-width: 640px) {
	.tlogo-basma.has-m > .hw-wordmark:not(.bm-m) { display: none; }
	.tlogo-basma.has-m > .hw-wordmark.bm-m { display: block; height: 40px; }
	.site-header .tlogo-basma.bm-icon_type > .hw-wordmark:not(.bm-m), .site-header .tlogo-basma.bm-type > .hw-wordmark:not(.bm-m) { height: auto; width: min(58vw, 250px); }
	.site-header .tlogo-basma.bm-stack > .hw-wordmark:not(.bm-m), .site-header .tlogo-basma.bm-icon_stack > .hw-wordmark:not(.bm-m) { height: 52px; }
}

/* v3.3 — لوحة المعلومات: بدون خانات فاضية + شكل أنظف */
.ph-info-facts .phead-rows { display: flex; flex-direction: row; flex-wrap: wrap; gap: 1px; }
.ph-info-facts .phead-rows > li { flex: 1 1 calc(50% - 1px); min-width: 0; }
.ph-info-facts .phead-rows > li.pi-address, .ph-info-facts .phead-rows > li.pi-website, .ph-info-facts .phead-rows > li.phead-soc { flex-basis: 100%; }
.ph-info-facts .phead-rows li.pi { min-height: 78px; }
.ph-info-facts .pi .v { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ph-info-facts .pi-country .v a { color: inherit; }
.pi-flag { display: inline-flex; align-items: center; line-height: 1; font-size: 20px; }
.pi-flag img { width: 26px; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.pi-map { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px !important; font-weight: 600; text-decoration: none; background: color-mix(in srgb, var(--pi) 9%, #fff); color: var(--pi) !important; white-space: nowrap; transition: background .15s, color .15s; }
.pi-map .ic { width: 14px; height: 14px; }
.pi-map:hover { background: var(--pi); color: #fff !important; opacity: 1; }
.ph-info-facts .pi-website .v a { padding: 6px 16px; font-weight: 700; }
/* القادة: كل الأيقونات بالذهبي */
.phead-leader.pi-colored .pi { --pi: #A57B24; }
.phead-leader .ph-info-facts .phead-rows, .phead-leader.ph-info-facts .phead-rows { background: #EFE2BF; border-color: #EFE2BF; }
.phead-leader.ph-info-facts .phead-rows > li { background: #FFFDF7; }
.phead-leader.ph-info-facts .pi-ic { background: linear-gradient(145deg, #FFF6DE, #F6E6B8); box-shadow: inset 0 0 0 1px #E8D29A; }
.phead-leader .pqr { border-color: #EFE2BF; background: linear-gradient(170deg, #FFF8E6, #fff 60%); }
@media (max-width: 760px) { .ph-info-facts .phead-rows > li { flex-basis: 100%; } }

/* v3.3.1 — كارت المؤسسة: شعار كبير وواضح */
.pcard-org.lc .lc-media { padding: 8px 8px 0; }
.pcard-org.lc .lc-media .ph { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.pcard-org.lc .lc-media .ph img { position: absolute; inset: 0; width: 100%; height: 100%; margin: auto; }
.pcard-org.lc.lc-bg-white .lc-media .ph { background: #fff; border: 1px solid #ECEFF5; box-shadow: inset 0 0 0 4px #FAFBFD; }
.pcard-org.lc.lc-bg-soft .lc-media .ph { background: linear-gradient(160deg, #F8FAFD, #EDF1F7); border: 1px solid #EEF1F6; }
.pcard-org.lc.lc-bg-brand .lc-media .ph { background: color-mix(in srgb, var(--c-primary) 7%, #fff); border: 1px solid color-mix(in srgb, var(--c-primary) 14%, #fff); }
.pcard-org.lc.lc-fit-contain .lc-media .ph img { width: 100%; height: 100%; object-fit: contain; padding: 30px 7% 8px; box-sizing: border-box; scale: var(--lcz, 1); transform-origin: 50% 58%; }
.pcard-org.lc.lc-bg-soft.lc-fit-contain .lc-media .ph img, .pcard-org.lc.lc-bg-brand.lc-fit-contain .lc-media .ph img { mix-blend-mode: multiply; }
.pcard-org.lc.lc-fit-cover .lc-media .ph img { width: 100%; height: 100%; object-fit: cover; padding: 0; }
.pcard-org.lc.lc-fit-circle .lc-media .ph img { inset: 12px 0 0; width: auto; height: 80%; aspect-ratio: 1; object-fit: contain; padding: calc(11% / var(--lcz, 1)); box-sizing: border-box; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #ECEFF5, 0 12px 26px -14px rgba(20, 30, 60, .35); }
.pcard-org.lc.is-gold.lc-bg-white .lc-media .ph { border-color: #F1E3BC; box-shadow: inset 0 0 0 4px #FFFBF0; }
.pcard-org.lc.is-gold.lc-fit-circle .lc-media .ph img { box-shadow: 0 0 0 2px #E8CF8E, 0 12px 26px -14px rgba(110, 78, 18, .45); }
.pcard-org.lc .pcard-link:hover .lc-media .ph img { transform: scale(1.04); }
@media (max-width: 760px) { .pcard-org.lc.lc-fit-contain .lc-media .ph img { padding: 24px 5% 6px; } }

/* ========== v3.4 — واجهة رئيسية عصرية ========== */
.hero-modern { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--hero-pad) + 6px) 0 58px; background-color: var(--hero-bg1, var(--c-header)); background-image: linear-gradient(180deg, var(--hero-bg1, var(--c-header)) 0%, color-mix(in srgb, var(--hero-bg1, var(--c-header)) 45%, var(--hero-bg2, #fff)) 62%, var(--hero-bg2, #fff) 100%); }
.hero-modern[style*="background-image"] { background-size: cover; background-position: center; }
.hero-modern::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(15, 27, 51, .09) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%); }
.hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-orb.o1 { width: 420px; height: 420px; top: -160px; inset-inline-start: -120px; background: color-mix(in srgb, var(--c-primary) 45%, #fff); }
.hero-orb.o2 { width: 360px; height: 360px; bottom: -180px; inset-inline-end: -100px; background: color-mix(in srgb, #C9A45A 55%, #fff); opacity: .35; }
.hero-rings { position: absolute; width: 760px; height: 760px; top: 50%; left: 50%; transform: translate(-50%, -54%); color: color-mix(in srgb, var(--c-primary) 22%, transparent); stroke-width: 1; stroke-dasharray: 2 7; opacity: .7; -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 16px 0 14px; margin-bottom: 22px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 6px 18px -10px rgba(15, 27, 51, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13.5px; font-weight: 700; color: #24324F; }
.hero-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22C55E; }
.hero-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #22C55E; opacity: .5; animation: hwPulse 2s ease-out infinite; }
@keyframes hwPulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.hero-modern .hero-title { display: block; max-width: 900px; margin: 0 auto; font-size: var(--hero-fs, 52px); line-height: 1.25; font-weight: 800; letter-spacing: -.5px; color: var(--hero-tc, #0F1B33); text-wrap: balance; }
.hero-modern .hero-title-tx { display: inline; }
.hero-hl { position: relative; white-space: nowrap; background: linear-gradient(135deg, var(--hero-hl1, #1D4A7A), var(--hero-hl2, #4169E3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-hl::after { content: ""; position: absolute; inset-inline: 4%; bottom: .02em; height: .07em; border-radius: 99px; background: linear-gradient(90deg, var(--hero-hl2, #4169E3), #C9A45A); opacity: .45; }
.hero-modern .hero-badge { --bs: calc(var(--hero-fs, 52px) * .78); display: inline-grid; vertical-align: middle; margin-inline-start: 10px; transform: translateY(-4px); filter: drop-shadow(0 6px 12px rgba(65, 105, 227, .35)); }
.hero-modern .hero-sub { max-width: 640px; margin: 16px auto 0; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.7; font-weight: 500; color: var(--hero-sc, #3E4A60); }
.hero-modern .hero-search { max-width: 820px; margin-top: 34px; }
.hero-points { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #34405A; }
.hero-points .ic { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: #16A34A; color: #fff; stroke-width: 3.2; box-sizing: border-box; }
.hero-modern .s-types { background: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .95); box-shadow: 0 6px 18px -12px rgba(15, 27, 51, .35); }
.hero-modern .s-sugg a { background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .95); }

/* ========== v3.4 — بحث احترافي ========== */
.sbox-pro { height: 72px; padding: 7px; padding-inline-start: 22px; gap: 10px; background: #fff; border: 1px solid rgba(15, 27, 51, .06); border-radius: 22px; box-shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 14px 34px -12px rgba(15, 27, 51, .22), 0 40px 70px -40px color-mix(in srgb, var(--c-primary) 55%, transparent); }
.sbox-pro:focus-within { border-color: color-mix(in srgb, var(--c-primary) 40%, #fff); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c-primary) 13%, transparent), 0 14px 34px -12px rgba(15, 27, 51, .22); }
.sbox-pro .sbox-ic { width: 40px; height: 40px; flex: none; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--c-primary) 9%, #fff); color: var(--c-primary); }
.sbox-pro .sbox-ic .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.sbox-pro input { font-size: 17.5px; font-weight: 500; color: var(--c-text); }
.sbox-pro input::placeholder { color: #8B93A7; font-weight: 400; }
.sbox-pro .sbox-btn { min-width: 0; padding: 0 26px; border-radius: 16px; font-size: 17px; font-weight: 700; background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 72%, #0B1430), var(--c-primary) 70%, color-mix(in srgb, var(--c-primary) 80%, #fff)); box-shadow: 0 10px 22px -10px var(--c-primary), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .15s, box-shadow .2s, filter .2s; }
.sbox-pro .sbox-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 14px 26px -10px var(--c-primary), inset 0 1px 0 rgba(255, 255, 255, .25); }
.sbox-pro .sbox-btn-ic { display: inline-grid; }
.sbox-pro .sbox-kbd { margin-inline-end: 4px; }
.search-band .sbox-pro { height: 60px; border-radius: 18px; padding: 6px; padding-inline-start: 14px; }
.search-band .sbox-pro .sbox-ic { width: 36px; height: 36px; }
.search-band .sbox-pro .sbox-btn { border-radius: 13px; font-size: 16px; }
.ui-b-rounded .sbox-pro .sbox-btn { border-radius: 16px; }
.is-leader .search-band .sbox-pro .sbox-ic { background: #FFF4D8; color: #A57B24; }
.is-leader .search-band .sbox-pro .sbox-btn { background: linear-gradient(135deg, #E7C46A, #C9A13F); color: #1A1406; box-shadow: 0 10px 22px -10px #C9A13F; }
.sov .sbox-pro { box-shadow: 0 1px 2px rgba(15, 27, 51, .06); border-color: #E6EAF2; }

/* ========== v3.4 — بحث القائمة الجانبية ========== */
.dr-search.dr-s-pro { height: 54px; padding: 0 6px 0 6px; padding-inline-start: 6px; gap: 10px; border-radius: 16px; background: #fff; border: 1.5px solid #E6EAF2; box-shadow: 0 6px 16px -12px rgba(15, 27, 51, .35); }
.dr-search.dr-s-pro > .ic { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: color-mix(in srgb, var(--c-primary) 9%, #fff); box-sizing: border-box; }
.dr-search.dr-s-pro:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-primary) 12%, transparent); }
.dr-search.dr-s-pro input { font-size: 15px; }
.dr-search.dr-s-pro input::placeholder { color: #8B93A7; }
.dr-s-go { flex: none; width: 38px; height: 38px; border: 0; border-radius: 11px; display: grid; place-items: center; background: var(--c-primary); color: #fff; cursor: pointer; opacity: .35; transform: scale(.9); transition: opacity .2s, transform .2s; }
.dr-s-go .ic { width: 18px; height: 18px; color: #fff !important; stroke-width: 2.6; }
.dr-search:focus-within .dr-s-go, .dr-search input:not(:placeholder-shown) ~ .dr-s-go { opacity: 1; transform: none; }
.dr-search.dr-s-soft .dr-s-go { display: none; }
.dr-dark .dr-search.dr-s-pro, .dr-brand .dr-search.dr-s-pro { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.dr-dark .dr-search.dr-s-pro > .ic, .dr-brand .dr-search.dr-s-pro > .ic { background: rgba(255, 255, 255, .1); }

/* ========== v3.4 — أيقونات السوشيال ========== */
.foot-socials { gap: 10px; }
.foot-socials a { position: relative; width: var(--soc-s, 42px); height: var(--soc-s, 42px); border-radius: 50%; overflow: hidden; isolation: isolate; transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .25s, color .25s, box-shadow .25s, border-color .25s; }
.foot-socials.soc-sh-rounded a { border-radius: calc(var(--soc-s, 42px) * .3); }
.foot-socials.soc-sh-square a { border-radius: 6px; }
.foot-socials .ic { width: calc(var(--soc-s, 42px) * .44); height: calc(var(--soc-s, 42px) * .44); }
.foot-socials a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sb); transform: translateY(101%); transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.foot-socials a:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 12px 22px -10px var(--sb); opacity: 1; }
.foot-socials a:hover::before { transform: none; }
/* زجاجي */
.foot-socials.soc-glass a { background: rgba(15, 27, 51, .05); border: 1px solid rgba(15, 27, 51, .08); color: #3A4560; }
.foot-s-dark .foot-socials.soc-glass a, .foot-s-brand .foot-socials.soc-glass a { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); }
/* ملون */
.foot-socials.soc-brand a { background: var(--sb); color: #fff; border: 0; }
.foot-socials.soc-brand a::before { background: rgba(255, 255, 255, .18); }
/* إطار */
.foot-socials.soc-outline a { background: transparent; border: 1.5px solid currentColor; color: inherit; }
.foot-s-dark .foot-socials.soc-outline a, .foot-s-brand .foot-socials.soc-outline a { color: rgba(255, 255, 255, .8); }
.foot-socials.soc-outline a:hover { border-color: var(--sb); }
/* أبيض مصمت */
.foot-socials.soc-solid a { background: #fff; color: var(--sb); border: 0; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .35); }
.foot-s-light .foot-socials.soc-solid a { box-shadow: 0 0 0 1px #E6EAF2, 0 6px 14px -8px rgba(0, 0, 0, .2); }
.dr-soc a { transition: background .2s, color .2s, transform .2s; }
.dr-soc a:hover { transform: translateY(-2px); }

/* ========== v3.4 — موبايل ========== */
@media (max-width: 760px) {
	.hero-modern { padding: 34px 0 40px; }
	.hero-modern .hero-title { font-size: var(--hero-fs-m, 30px); line-height: 1.35; letter-spacing: 0; }
	.hero-modern .hero-badge { --bs: calc(var(--hero-fs-m, 30px) * .8); margin-inline-start: 6px; transform: translateY(-2px); }
	.hero-eyebrow { height: 30px; margin-bottom: 16px; padding: 0 12px; font-size: 12px; }
	.hero-modern .hero-sub { margin-top: 10px; font-size: 16px; }
	.hero-modern .hero-search { margin-top: 24px; }
	.hero-rings { width: 520px; height: 520px; }
	.hero-orb.o1 { width: 260px; height: 260px; }
	.hero-orb.o2 { width: 240px; height: 240px; }
	.hero-points { gap: 8px 14px; margin-top: 20px; }
	.hero-points li { font-size: 12.5px; gap: 6px; }
	.hero-points .ic { width: 17px; height: 17px; padding: 3px; }
	.sbox-pro { height: 60px; padding: 6px; padding-inline-start: 8px; border-radius: 18px; gap: 8px; }
	.sbox-pro .sbox-ic { width: 34px; height: 34px; border-radius: 10px; }
	.sbox-pro .sbox-ic .ic { width: 17px; height: 17px; }
	.sbox-pro input { font-size: 15px; }
	.sbox-pro .sbox-btn { width: 48px; padding: 0; border-radius: 14px; }
	.sbox-pro .sbox-btn-tx { display: none; }
	.search-band .sbox-pro { height: 54px; }
	.search-band .sbox-pro .sbox-btn { width: 44px; }
	.foot-socials { gap: 9px; }
}

/* ========== v3.5 — أقسام الرئيسية: سلايدر + أعمدة الموبايل ========== */
.hsec-sub { margin: -18px auto 24px; max-width: 640px; text-align: center; color: var(--c-muted, #6B7280); font-size: 15px; line-height: 1.7; }
.cgrid-scroll { display: grid; grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: calc((100% - 16px * (var(--sc, 5) - 1)) / var(--sc, 5)); gap: 0 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%); }
.cgrid-scroll > * { scroll-snap-align: start; }
.cgrid-scroll.cols-3 { --sc: 3; } .cgrid-scroll.cols-4 { --sc: 4; } .cgrid-scroll.cols-5 { --sc: 5; } .cgrid-scroll.cols-6 { --sc: 6; }
@media (max-width: 1100px) { .cgrid-scroll { --sc: 3.4 !important; } }
@media (max-width: 760px) {
	.cgrid.cols-m-1:not(.cgrid-scroll) { grid-template-columns: minmax(0, 1fr) !important; }
	.cgrid.cols-m-3:not(.cgrid-scroll) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 0 6px; }
	.cgrid-scroll { --sc: 2.25 !important; gap: 0 10px; grid-auto-columns: calc((100% - 10px * 1.25) / 2.25); }
	.hsec-sub { font-size: 13.5px; margin-bottom: 16px; }
}

/* ========== v3.6 — صناديق الشريط الجانبي ========== */
.sb-mini { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sb-mini > div[hidden] { display: none; }
.sbm-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 10px; border-radius: 16px; background: #fff; border: 1px solid #ECEFF5; text-align: center; color: var(--c-text); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sbm-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c-primary) 30%, #fff); box-shadow: 0 12px 24px -16px rgba(15, 27, 51, .4); opacity: 1; }
.sbm-img { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #EEF2FA; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #E6EAF2; }
.sbm-img.is-co { border-radius: 14px; background: #fff; }
.sbm-img img { width: 100%; height: 100%; object-fit: cover; }
.sbm-img.is-co img { object-fit: contain; padding: 6px; box-sizing: border-box; }
.sbm-img i { font-style: normal; font-weight: 700; font-size: 22px; color: var(--c-primary); }
.sbm-item b { font-size: 13px; font-weight: 700; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sbm-item .badge { --bs: 14px; vertical-align: -2px; }
.sb-rank { counter-reset: none; }
.sb-rank > div { position: relative; padding-inline-start: 36px; }
.sb-rank-n { position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #F1F4F9; color: #4A5163; font-size: 13px; font-weight: 800; }
.sb-rank > div:nth-child(1) .sb-rank-n { background: linear-gradient(135deg, #E7C46A, #C9A13F); color: #1A1406; }
.sb-rank > div:nth-child(2) .sb-rank-n { background: linear-gradient(135deg, #DCE3EE, #B9C4D6); color: #2A3448; }
.sb-rank > div:nth-child(3) .sb-rank-n { background: linear-gradient(135deg, #F0C7A4, #CF8E5B); color: #3A1F0B; }
.sb-promo-t { display: block; margin-bottom: 8px; font-size: 17px; font-weight: 800; }
.sb-html .entry > :first-child { margin-top: 0; }

.sb-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 20px; border-radius: 20px; text-align: center; background: linear-gradient(160deg, color-mix(in srgb, var(--c-primary) 8%, #fff), #fff); border: 1px solid color-mix(in srgb, var(--c-primary) 16%, #fff); }
.sb-empty-ic .badge { --bs: 44px; filter: drop-shadow(0 8px 14px color-mix(in srgb, var(--c-primary) 40%, transparent)); }
.sb-empty strong { font-size: 17px; font-weight: 800; }
.sb-empty p { margin: 0 0 6px; color: var(--c-muted, #6B7280); font-size: 14px; line-height: 1.8; }

/* ========== v3.8 — تثبيت العمود الجانبي ========== */
@media (min-width: 993px) {
	.profile-side.sb-stk-smart, .profile-side.sb-stk-top { position: sticky; top: 20px; align-self: start; }
	.profile-side.sb-stk-last { align-self: stretch; }
	.profile-side.sb-stk-last > :last-child { position: sticky; top: 20px; }
}

/* ========== v3.8 — تحت الضوء ========== */
.spot-logos { flex-wrap: wrap; justify-content: center; }
.spot-logos a { position: relative; flex-direction: column; gap: 6px; transition: transform .2s, box-shadow .2s; }
.spot-logos a:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -16px rgba(15, 27, 51, .45); opacity: 1; }
.spot.spot-named .spot-logos a { height: auto; padding-bottom: 8px; }
.spot.spot-named .spot-logos .ph { height: 80px; }
.spot-name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; font-weight: 700; color: var(--c-text); text-align: center; }
.spot-n4, .spot-n5, .spot-n6, .spot-n7, .spot-n8 { max-width: 100%; }
.spot-n4 .spot-logos a, .spot-n5 .spot-logos a, .spot-n6 .spot-logos a, .spot-n7 .spot-logos a, .spot-n8 .spot-logos a { width: 100px; height: 100px; }
.spot-navy { background: linear-gradient(135deg, #0F1B33, #1D3A6B); color: #fff; }
.spot-navy .spot-copy h3 { color: #F1D489; }
.spot-navy .btn-pill { background: linear-gradient(135deg, #E7C46A, #C9A13F); color: #1A1406 !important; font-weight: 700; }
.spot-navy .spot-logos a { box-shadow: 0 0 0 2px rgba(241, 212, 137, .35); }
.spot-light { background: #fff; border: 1px solid #E6EAF2; box-shadow: 0 10px 30px -22px rgba(15, 27, 51, .4); }
.spot-light .spot-logos a { border: 1px solid #ECEFF5; }
.spot-brand { background: linear-gradient(135deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 60%, #0B1430)); color: #fff; }
.spot-brand .spot-copy h3 { color: #fff; }
.spot-brand .btn-pill { background: #fff; color: var(--c-primary) !important; font-weight: 700; }
@media (max-width: 760px) { .spot-n4 .spot-logos a, .spot-n5 .spot-logos a, .spot-n6 .spot-logos a, .spot-n7 .spot-logos a, .spot-n8 .spot-logos a { width: 74px; height: 74px; } }

/* ========== v3.9 — الإعلانات (تصميم عصري) ========== */
.hw-ad-slot { --ad-r: 18px; margin: 26px 0; }
.hw-ad-slot .hw-ad + .hw-ad { margin-top: 16px; }
.hw-slot-header_below { margin: 16px 0 0; }
.hw-slot-footer_above { margin: 34px 0; }
.profile-side .hw-ad-slot { margin: 0; }
.profile-main .hw-ad-slot { margin: 24px 0; }
.hw-ads-narrow:is(.hw-slot-header_below, .hw-slot-footer_above, .hw-slot-home_hero, .hw-slot-home_between, .hw-slot-archive_top) .hw-ad { max-width: 970px; margin-inline: auto; }
.hw-ad { position: relative; container-type: inline-size; }
.hw-ad-box { position: relative; }
/* كلمة إعلان */
.hw-ad-cap { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #9AA3B5; font-size: 10.5px; font-weight: 700; letter-spacing: .6px; }
.hw-ad-cap::before, .hw-ad-cap::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #E1E6EF); }
.hw-ad-cap::after { background: linear-gradient(270deg, transparent, #E1E6EF); }
.hw-ad-label { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 3; padding: 3px 9px; border-radius: 7px; background: rgba(15, 27, 51, .5); color: #fff; font-size: 10.5px; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); pointer-events: none; }
/* عام */
.hw-ad-img, .hw-ad-prof, .hw-ad-txt { border-radius: var(--ad-r); }
.hw-ads-shadow .hw-ad-img, .hw-ads-shadow .hw-ad-prof, .hw-ads-shadow .hw-ad-txt { transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s; }
.hw-ads-shadow a.hw-ad-img:hover, .hw-ads-shadow a.hw-ad-prof:hover, .hw-ads-shadow a.hw-ad-txt:hover { transform: translateY(-3px); opacity: 1; }
.hw-ad-btn { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; padding: 0 20px; border-radius: calc(var(--ad-r) * .66); font-size: 14px; font-weight: 800; white-space: nowrap; transition: gap .2s, filter .2s; }
.hw-ad-btn .ic { width: 16px; height: 16px; stroke-width: 2.8; }
a:hover > .hw-ad-btn { gap: 10px; filter: brightness(1.05); }
/* صورة */
.hw-ad-img { display: block; overflow: hidden; line-height: 0; background: #F3F5F9; box-shadow: 0 0 0 1px rgba(15, 27, 51, .06); }
.hw-ad-img img { width: 100%; height: auto; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hw-ads-shadow a.hw-ad-img:hover { box-shadow: 0 0 0 1px rgba(15, 27, 51, .06), 0 22px 40px -24px rgba(15, 27, 51, .5); }
a.hw-ad-img:hover img { transform: scale(1.025); }

/* شخصية / مؤسسة برعاية */
.hw-ad-prof { --p1: #FFFBF0; --p2: #FFF1CF; --pb: #EED9A0; --pt: var(--c-text); --pm: #6B5A2E; --pk: #A57B24; --pr: #E7C46A; --pbt1: #E7C46A; --pbt2: #C9A13F; --pbtx: #1A1406;
	position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 18px; padding: 20px 22px; color: var(--pt); background: linear-gradient(135deg, var(--p1), var(--p2)); border: 1px solid var(--pb); box-shadow: 0 18px 34px -28px rgba(110, 78, 18, .7); }
.hw-ad-prof.is-navy { --p1: #0F1B33; --p2: #1D3A6B; --pb: #24406F; --pt: #fff; --pm: #B9C4DA; --pk: #F1D489; --pr: #E7C46A; box-shadow: 0 20px 40px -26px rgba(15, 27, 51, .9); }
.hw-ad-prof.is-light { --p1: #fff; --p2: #fff; --pb: #E6EAF2; --pm: #6B7489; --pk: var(--c-primary); --pr: color-mix(in srgb, var(--c-primary) 35%, #fff); --pbt1: var(--c-primary); --pbt2: color-mix(in srgb, var(--c-primary) 70%, #0B1430); --pbtx: #fff; box-shadow: 0 18px 34px -28px rgba(15, 27, 51, .55); }
.hw-ad-prof.is-brand { --p1: color-mix(in srgb, var(--c-primary) 80%, #0B1430); --p2: var(--c-primary); --pb: transparent; --pt: #fff; --pm: rgba(255, 255, 255, .8); --pk: #fff; --pr: rgba(255, 255, 255, .7); --pbt1: #fff; --pbt2: #fff; --pbtx: var(--c-primary); }
.hw-ad-prof-fx { position: absolute; z-index: -1; inset-inline-end: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 65%); pointer-events: none; }
.hw-ad-prof.is-navy .hw-ad-prof-fx { background: radial-gradient(circle, rgba(231, 196, 106, .22), transparent 65%); }
.hw-ad-prof.is-light .hw-ad-prof-fx { background: radial-gradient(circle, color-mix(in srgb, var(--c-primary) 10%, transparent), transparent 65%); }
.hw-ad-prof-img { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pr), 0 14px 24px -14px rgba(0, 0, 0, .45); }
.hw-ad-prof.is-navy .hw-ad-prof-img { box-shadow: 0 0 0 3px #0F1B33, 0 0 0 5px var(--pr), 0 14px 24px -14px rgba(0, 0, 0, .6); }
.hw-ad-prof.is-co .hw-ad-prof-img { border-radius: 22px; }
.hw-ad-prof-img img { width: 100%; height: 100%; object-fit: cover; }
.hw-ad-prof.is-co .hw-ad-prof-img img { object-fit: contain; padding: 10px; box-sizing: border-box; }
.hw-ad-prof-img i { font-style: normal; font-size: 30px; font-weight: 800; color: var(--pk); }
.hw-ad-prof-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hw-ad-prof-tx em { font-style: normal; font-size: 12px; font-weight: 800; letter-spacing: .3px; color: var(--pk); }
.hw-ad-prof-tx b { font-size: 18px; font-weight: 800; line-height: 1.45; }
.hw-ad-prof-tx b .badge { --bs: 17px; vertical-align: -2px; }
.hw-ad-prof-tx small { font-size: 13.5px; line-height: 1.75; color: var(--pm); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hw-ad-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hw-ad-chips i { font-style: normal; padding: 3px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: rgba(255, 255, 255, .7); color: var(--pm); border: 1px solid rgba(0, 0, 0, .05); }
.hw-ad-prof.is-navy .hw-ad-chips i, .hw-ad-prof.is-brand .hw-ad-chips i { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
.hw-ad-prof.is-light .hw-ad-chips i { background: #F3F5F9; }
.hw-ad-prof .hw-ad-btn { background: linear-gradient(135deg, var(--pbt1), var(--pbt2)); color: var(--pbtx); box-shadow: 0 10px 20px -12px var(--pbt2); }
.hw-ads-shadow a.hw-ad-prof:hover { box-shadow: 0 26px 44px -26px rgba(110, 78, 18, .75); }

/* صندوق نصي */
.hw-ad-txt { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 22px 24px; color: #fff; }
.hw-ad-txt-fx { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 120%, rgba(255, 255, 255, .16) 0 90px, transparent 91px), radial-gradient(circle at 4% 130%, rgba(255, 255, 255, .1) 0 150px, transparent 151px); }
.hw-ad-txt-ic { flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; overflow: hidden; }
.hw-ad-txt-ic img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.hw-ad-txt-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hw-ad-txt-b b { font-size: 18px; font-weight: 800; line-height: 1.45; }
.hw-ad-txt-b small { font-size: 13.5px; line-height: 1.75; opacity: .85; }
.hw-ad-txt.is-navy { background: linear-gradient(135deg, #0F1B33 0%, #1D3A6B 100%); box-shadow: 0 20px 38px -28px rgba(15, 27, 51, .9); }
.hw-ad-txt.is-navy .hw-ad-txt-fx { background: radial-gradient(circle at 10% 130%, rgba(231, 196, 106, .28) 0 100px, transparent 101px), radial-gradient(circle at 2% 140%, rgba(231, 196, 106, .14) 0 170px, transparent 171px); }
.hw-ad-txt.is-navy .hw-ad-btn { background: linear-gradient(135deg, #E7C46A, #C9A13F); color: #1A1406; box-shadow: 0 10px 20px -12px #C9A13F; }
.hw-ad-txt.is-gold { background: linear-gradient(135deg, #F3D98C, #C9A13F); color: #1A1406; box-shadow: 0 20px 38px -28px rgba(110, 78, 18, .8); }
.hw-ad-txt.is-gold .hw-ad-txt-ic { background: rgba(255, 255, 255, .4); border-color: rgba(255, 255, 255, .5); }
.hw-ad-txt.is-gold .hw-ad-btn { background: #0F1B33; color: #fff; }
.hw-ad-txt.is-blue { background: linear-gradient(135deg, color-mix(in srgb, var(--c-primary) 70%, #0B1430), var(--c-primary)); box-shadow: 0 20px 38px -28px var(--c-primary); }
.hw-ad-txt.is-blue .hw-ad-btn { background: #fff; color: var(--c-primary); }
.hw-ad-txt.is-aurora { background: linear-gradient(120deg, #1E3A8A 0%, #4F46E5 45%, #9333EA 100%); box-shadow: 0 20px 38px -26px rgba(79, 70, 229, .9); }
.hw-ad-txt.is-aurora .hw-ad-btn { background: #fff; color: #4338CA; }
.hw-ad-txt.is-light { background: #fff; color: var(--c-text); border: 1px solid #E6EAF2; box-shadow: 0 18px 34px -30px rgba(15, 27, 51, .55); }
.hw-ad-txt.is-light .hw-ad-txt-fx { background: radial-gradient(circle at 8% 130%, color-mix(in srgb, var(--c-primary) 9%, transparent) 0 110px, transparent 111px); }
.hw-ad-txt.is-light .hw-ad-txt-ic { background: #F1F4F9; border-color: #E6EAF2; }
.hw-ad-txt.is-light .hw-ad-btn { background: var(--c-primary); color: #fff; }
.hw-ad-code { text-align: center; overflow: hidden; border-radius: var(--ad-r); }
.hw-ad-code iframe, .hw-ad-code img { max-width: 100%; }

/* العمود الضيق: كارت عمودي */
@container (max-width: 440px) {
	.hw-ad-prof, .hw-ad-txt { flex-direction: column; text-align: center; padding: 26px 18px 18px; gap: 12px; }
	.hw-ad-prof-tx, .hw-ad-txt-b { align-items: center; }
	.hw-ad-chips { justify-content: center; }
	.hw-ad-prof-img { width: 88px; height: 88px; }
	.hw-ad-btn { width: 100%; }
	.hw-ad-prof-fx { inset-inline-end: auto; left: 50%; transform: translateX(-50%); top: -140px; width: 320px; height: 260px; }
}
.cgrid > .hw-ad-slot { grid-column: 1 / -1; margin: 6px 0 22px; }
@media (max-width: 760px) { .hw-ad-dev-desktop { display: none !important; } }
@media (min-width: 761px) { .hw-ad-dev-mobile { display: none !important; } .hw-slot-mobile_sticky { display: none !important; } }
/* شريط الموبايل الثابت */
.hw-slot-mobile_sticky { position: fixed; inset-inline: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 90; margin: 0; filter: drop-shadow(0 12px 26px rgba(15, 27, 51, .35)); animation: hwAdUp .45s cubic-bezier(.2, .7, .2, 1); }
.hw-slot-mobile_sticky .hw-ad-prof, .hw-slot-mobile_sticky .hw-ad-txt { flex-direction: row; text-align: start; padding: 10px 12px; gap: 10px; }
.hw-slot-mobile_sticky .hw-ad-prof-tx, .hw-slot-mobile_sticky .hw-ad-txt-b { align-items: flex-start; }
.hw-slot-mobile_sticky .hw-ad-prof-img, .hw-slot-mobile_sticky .hw-ad-txt-ic { width: 44px; height: 44px; }
.hw-slot-mobile_sticky .hw-ad-prof-tx small, .hw-slot-mobile_sticky .hw-ad-txt-b small, .hw-slot-mobile_sticky .hw-ad-chips, .hw-slot-mobile_sticky .hw-ad-prof-tx em { display: none; }
.hw-slot-mobile_sticky .hw-ad-prof-tx b, .hw-slot-mobile_sticky .hw-ad-txt-b b { font-size: 14px; }
.hw-slot-mobile_sticky .hw-ad-btn { width: auto; height: 36px; padding: 0 14px; font-size: 13px; }
.hw-slot-mobile_sticky .hw-ad-label { top: -9px; inset-inline-end: 34px; }
.hw-ad-x { position: absolute; top: -10px; inset-inline-end: -4px; z-index: 4; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #0F1B33; color: #fff; font-size: 17px; line-height: 1; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
@keyframes hwAdUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 760px) {
	.hw-ad-prof { gap: 12px; padding: 16px; }
	.hw-ad-prof-img { width: 64px; height: 64px; }
	.hw-ad-prof-tx b, .hw-ad-txt-b b { font-size: 16px; }
	.hw-ad-slot { margin: 18px 0; }
}

/* ========== v3.9 — صناديق العمود: كارت + مؤسسات احترافية ========== */
.sb-framed { padding: 18px; border-radius: 20px; background: #fff; border: 1px solid #E8ECF3; box-shadow: 0 1px 2px rgba(15, 27, 51, .04), 0 18px 36px -30px rgba(15, 27, 51, .45); }
.sb-framed .sb-title { font-size: 17px; font-weight: 800; padding-bottom: 12px; margin-bottom: 2px; border-bottom: 1px solid #F0F2F7; }
.sb-title-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, var(--c-primary) 10%, #fff); color: var(--c-primary); margin-inline-end: 4px; }
.sb-title-ic .ic { width: 18px; height: 18px; stroke-width: 2; }
.sb-framed .center .btn-more, .sb-framed .center .btn-outline-gold { width: 100%; justify-content: center; }
.sbc { display: flex; flex-direction: column; gap: 6px; }
.sbc > div[hidden] { display: none; }
.sbc-item { color: var(--c-text); text-decoration: none; }
.sbc-logo { flex: none; display: block; }
.sbc-logo .ph { display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: #F1F4F9; }
.sbc-logo .ph img { width: 100%; height: 100%; object-fit: cover; }
.sbc-logo.is-co .ph { background: #fff; }
.sbc-logo.is-co .ph img { object-fit: contain; padding: 12%; box-sizing: border-box; }
.sbc-logo i { font-style: normal; font-weight: 800; color: var(--c-primary); font-size: 18px; }
.sbc-item .badge { --bs: 14px; vertical-align: -2px; }
.sbc-item small { display: block; color: var(--c-muted, #6B7489); font-size: 12px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* صفوف */
.sbc-list .sbc-item { display: flex; align-items: center; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 14px; transition: background .18s; }
.sbc-list .sbc-item:hover { background: #F6F8FC; opacity: 1; }
.sbc-list .sbc-logo { width: 54px; height: 54px; border-radius: 14px; box-shadow: 0 0 0 1px #E8ECF3, 0 6px 14px -10px rgba(15, 27, 51, .35); }
.sbc-list .sbc-logo:not(.is-co) { border-radius: 50%; }
.sbc-tx { flex: 1; min-width: 0; }
.sbc-tx b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbc-go { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #F1F4F9; color: #8A93A6; transition: background .18s, color .18s, transform .18s; }
.sbc-go .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.sbc-list .sbc-item:hover .sbc-go { background: var(--c-primary); color: #fff; transform: translateX(-3px); }
.sbc-list > div + div .sbc-item { border-top: 1px solid #F1F3F7; border-radius: 0 0 14px 14px; }
.sbc-list > div + div .sbc-item:hover { border-radius: 14px; }
/* كروت */
.sbc-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sbc-grid .sbc-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 10px 12px; border-radius: 16px; border: 1px solid #ECEFF5; background: #fff; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sbc-grid .sbc-item:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c-primary) 28%, #fff); box-shadow: 0 14px 26px -18px rgba(15, 27, 51, .45); opacity: 1; }
.sbc-grid .sbc-logo { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; margin-bottom: 6px; background: #FAFBFD; box-shadow: inset 0 0 0 1px #F0F2F7; }
.sbc-grid .sbc-item b { font-size: 13.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sbc-grid .sbc-item small { max-width: 100%; }
/* حائط لوجوهات */
.sbc-wall { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sbc-wall .sbc-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sbc-wall .sbc-logo { width: 100%; aspect-ratio: 1; border-radius: 16px; border: 1px solid #ECEFF5; background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sbc-wall .sbc-item:hover .sbc-logo { transform: translateY(-2px); border-color: color-mix(in srgb, var(--c-primary) 30%, #fff); box-shadow: 0 12px 22px -16px rgba(15, 27, 51, .45); }
.sbc-wall .sbc-item b { max-width: 100%; font-size: 11.5px; font-weight: 600; color: var(--c-muted, #6B7489); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sbc-wall .sbc-item:hover { opacity: 1; }
.sbc-wall .sbc-item:hover b { color: var(--c-primary); }
