/* ==========================================================================
   الشبكة نيوز — أنماط الأشكال الـ 101
   ========================================================================== */

.shb-sh{position:relative}
.shb-noimg{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--shb-font-head);font-weight:900;font-size:26px;color:rgba(0,0,0,.14);background:linear-gradient(135deg,#e7ebf1,#d7dde7)}
body.shb-dark .shb-noimg{background:linear-gradient(135deg,#1b2431,#141b25);color:rgba(255,255,255,.12)}

/* أعمدة عامة */
.is-cols-1{--n:1}.is-cols-2{--n:2}.is-cols-3{--n:3}.is-cols-4{--n:4}.is-cols-5{--n:5}.is-cols-6{--n:6}
.shb-fam-grid.is-cols-1,.shb-fam-overlay.is-cols-1{grid-template-columns:minmax(0,1fr)}
.shb-fam-grid.is-cols-2,.shb-fam-overlay.is-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.shb-fam-grid.is-cols-3,.shb-fam-overlay.is-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.shb-fam-grid.is-cols-4,.shb-fam-overlay.is-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.shb-fam-grid.is-cols-5,.shb-fam-overlay.is-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.shb-fam-grid.is-cols-6,.shb-fam-overlay.is-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}

/* ==========================================================================
   1) عائلة القوائم
   ========================================================================== */
.is-th-sm{--thw:86px}
.is-th-md{--thw:118px}
.is-th-lg{--thw:165px}
.is-th-xl{--thw:235px}

.shb-fam-list .shb-item{display:flex;gap:13px;align-items:flex-start;padding-bottom:13px;margin-bottom:13px}
.shb-fam-list .shb-item:last-child{margin-bottom:0;padding-bottom:0;border:0!important}
.shb-fam-list .shb-thumb{flex:0 0 auto;width:var(--thw,118px)}
.shb-fam-list .shb-body{flex:1;min-width:0}
.shb-fam-list .shb-title{font-size:calc(var(--shb-fs-title) - 2px)}
.shb-fam-list .shb-cat{margin-bottom:5px}

.is-sep-line .shb-item{border-bottom:1px solid var(--shb-border)}
.is-sep-dash .shb-item{border-bottom:1px dashed var(--shb-border)}
.is-sep-dot .shb-item{border-bottom:2px dotted var(--shb-border)}
.is-sep-card .shb-item{background:var(--shb-card);border:1px solid var(--shb-border);border-radius:var(--shb-radius);padding:10px;margin-bottom:11px}
.is-sep-card.is-shadow .shb-item{box-shadow:var(--shb-shadow);border-color:transparent;transition:.25s}
.is-sep-card.is-shadow .shb-item:hover{box-shadow:var(--shb-shadow-lg);transform:translateY(-2px)}
.is-rev .shb-item{flex-direction:row-reverse}
.is-circle .shb-thumb{border-radius:50%}
.is-compact .shb-title{font-size:15px}
.is-compact .shb-item{padding-bottom:9px;margin-bottom:9px}
.is-accent-edge .shb-item{border-inline-start:4px solid var(--shb-primary)}
.is-cat-top .shb-item{position:relative;padding-top:24px}
.is-cat-top .shb-cat{position:absolute;top:0;inset-inline-start:0}
.is-2col.shb-fam-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.is-glass .shb-item{background:rgba(255,255,255,.55);backdrop-filter:blur(9px);border:1px solid rgba(255,255,255,.65);border-radius:var(--shb-radius);padding:10px;box-shadow:var(--shb-shadow)}
body.shb-dark .is-glass .shb-item{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.09)}
.is-grad .shb-item{background:linear-gradient(135deg,rgba(200,16,46,.06),rgba(245,158,11,.06));border-color:transparent}
.shb-fam-list.is-th-xl .shb-title{font-size:var(--shb-fs-title)}

/* ==========================================================================
   2) عائلة الشبكات
   ========================================================================== */
.shb-fam-grid{display:grid;gap:var(--shb-gap)}
.shb-fam-grid .shb-item{position:relative;display:flex;flex-direction:column}
.shb-fam-grid .shb-body{padding-top:11px}
.shb-fam-grid .shb-cat{margin-bottom:7px}

.is-card .shb-item{background:var(--shb-card);border-radius:var(--shb-radius);overflow:hidden}
.is-card .shb-thumb{border-radius:0}
.is-card .shb-body{padding:14px}
.is-border .shb-item{border:1px solid var(--shb-border)}
.is-shadow.shb-fam-grid .shb-item{box-shadow:var(--shb-shadow);transition:transform .28s,box-shadow .28s}
.is-shadow.shb-fam-grid .shb-item:hover{transform:translateY(-4px);box-shadow:var(--shb-shadow-lg)}
.is-round .shb-item{border-radius:18px}
.is-center{text-align:center}
.is-center .shb-meta{justify-content:center}
.is-underline .shb-item{border-bottom:3px solid var(--shb-primary)}
.is-cat-float .shb-item{position:relative}
.is-cat-float .shb-body .shb-cat{position:absolute;top:10px;inset-inline-end:10px;z-index:3;box-shadow:0 4px 12px rgba(0,0,0,.25)}
.is-datebox .shb-datebox{position:absolute;top:10px;inset-inline-start:10px;z-index:3;background:var(--shb-card);border-radius:8px;padding:6px 10px;text-align:center;line-height:1.1;box-shadow:var(--shb-shadow)}
.is-datebox .shb-datebox b{display:block;font-size:17px;font-weight:900}
.is-datebox .shb-datebox i{font-style:normal;font-size:11px;color:var(--shb-muted)}
.is-offset .shb-body{background:var(--shb-card);margin:-40px 14px 0;position:relative;z-index:2;padding:14px;border-radius:var(--shb-radius);box-shadow:var(--shb-shadow)}
.is-sidebar-line .shb-item{border-inline-start:4px solid var(--shb-primary)}
.is-dblframe .shb-item{border:1px solid var(--shb-border);outline:1px solid var(--shb-border);outline-offset:5px;background:var(--shb-card)}

/* ==========================================================================
   3) عائلة النص فوق الصورة
   ========================================================================== */
.shb-fam-overlay{display:grid;gap:var(--shb-gap)}
.shb-ov{position:relative;border-radius:var(--shb-radius);overflow:hidden;isolation:isolate}
.shb-ov .shb-ov-img{border-radius:0;display:block}
.shb-ov::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(5,9,16,.9));z-index:1;pointer-events:none;transition:opacity .3s}
.shb-ov-in{position:absolute;inset-inline:0;bottom:0;padding:15px;z-index:2;color:#fff}
.shb-ov-in .shb-title a,.shb-ov-in .shb-title{color:#fff}
.shb-ov-in .shb-excerpt{color:rgba(255,255,255,.82)}
.shb-ov-in .shb-meta{color:rgba(255,255,255,.75)}
.shb-ov .shb-cat{margin-bottom:7px}
.shb-fam-overlay .shb-item:hover::after{opacity:.88}

.is-dim::after{background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(5,9,16,.92))}
.is-middle .shb-ov-in{inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.is-panel .shb-ov-in{background:rgba(9,13,21,.8);backdrop-filter:blur(7px);margin:12px;border-radius:var(--shb-radius-sm)}
.is-panel::after{opacity:.35}
.is-panel-offset .shb-ov-in{margin:0 14px 14px;transform:translateY(0)}
.is-inframe .shb-ov-in{border:1px solid rgba(255,255,255,.45);margin:12px;border-radius:var(--shb-radius-sm)}
.is-colorgrad::after{background:linear-gradient(180deg,transparent 30%,rgba(200,16,46,.9))}
.is-hoverup .shb-ov-in{transform:translateY(16px);transition:transform .35s}
.is-hoverup .shb-ov-in .shb-meta{opacity:0;transition:opacity .35s}
.is-hoverup .shb-item:hover .shb-ov-in{transform:translateY(0)}
.is-hoverup .shb-item:hover .shb-ov-in .shb-meta{opacity:1}
.is-slant .shb-ov-in{background:rgba(9,13,21,.9);clip-path:polygon(0 24%,100% 0,100% 100%,0 100%);padding-top:36px}
.is-slant::after{opacity:.4}
.is-big .shb-item{min-height:330px}
.is-big .shb-ov-in{padding:26px}
.is-big .shb-title{font-size:28px;line-height:1.45}

/* ==========================================================================
   4) عائلة المميّز + القائمة
   ========================================================================== */
.shb-mix{display:grid;gap:var(--shb-gap)}
.shb-mix.pos-side{grid-template-columns:1.3fr 1fr}
.shb-mix.pos-mag3{grid-template-columns:1.4fr 1fr}
.is-rev .shb-mix.pos-side{direction:ltr}
.is-rev .shb-mix.pos-side>*{direction:rtl}
.shb-mix.pos-bottom .shb-mix-lead{order:2}
.shb-mix-rest{display:flex;flex-direction:column;gap:13px}
.shb-fam-mix .shb-lead .shb-title{font-size:calc(var(--shb-fs-title) + 6px)}
.shb-fam-mix .shb-lead .shb-thumb{margin-bottom:11px}
.shb-fam-mix .shb-lead.shb-ov .shb-thumb{margin-bottom:0}
.shb-fam-mix .shb-small{display:flex;gap:11px;align-items:flex-start;padding-bottom:11px;border-bottom:1px solid var(--shb-border)}
.shb-fam-mix .shb-small:last-child{border:0;padding-bottom:0}
.shb-fam-mix .shb-small .shb-thumb{flex:0 0 auto;width:82px}
.shb-fam-mix .shb-small .shb-title{font-size:15px;font-weight:700}
.shb-fam-mix.is-mini .shb-small .shb-thumb{width:64px}
.shb-fam-mix.is-cards .shb-small{background:var(--shb-card);border:1px solid var(--shb-border);border-radius:var(--shb-radius-sm);padding:9px}
.shb-fam-mix.is-numlist .shb-small .shb-num{flex:0 0 auto;width:27px;height:27px;font-size:13px}
.shb-fam-mix.is-2col .shb-mix-rest{display:grid;grid-template-columns:1fr 1fr;gap:13px 20px}
.shb-fam-mix.is-cols-2 .pos-topg .shb-mix-rest,
.shb-fam-mix.is-cols-2 .pos-top .shb-mix-rest{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--shb-gap)}
.shb-fam-mix.is-cols-3 .pos-topg .shb-mix-rest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--shb-gap)}
.shb-fam-mix.is-cols-4 .pos-topg .shb-mix-rest{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--shb-gap)}
.pos-topg .shb-mix-rest .shb-small{flex-direction:column;border:0;padding:0}
.pos-topg .shb-mix-rest .shb-small .shb-thumb{width:100%;aspect-ratio:16/9}
.pos-duo .shb-mix-lead{display:grid;grid-template-columns:1fr 1fr;gap:var(--shb-gap)}
.pos-duo{grid-template-columns:1fr}
.pos-mag3 .shb-mix-rest{gap:14px}

/* ==========================================================================
   5) عائلة الموزاييك
   ========================================================================== */
.shb-fam-mosaic{display:grid;gap:9px;grid-auto-flow:dense}
.shb-fam-mosaic .shb-item{position:relative;min-height:145px;border-radius:var(--shb-radius-sm);overflow:hidden}
.shb-fam-mosaic .shb-thumb{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto!important;border-radius:0}
.shb-fam-mosaic .shb-ov-in{padding:13px}
.shb-fam-mosaic .shb-title{font-size:15px}
.shb-fam-mosaic .shb-m1 .shb-title{font-size:23px}
.shb-fam-mosaic.is-spaced{gap:18px}
.shb-fam-mosaic.is-tight{gap:2px}

.is-p-a{grid-template-columns:repeat(4,1fr);grid-auto-rows:152px}
.is-p-a .shb-m1{grid-column:span 2;grid-row:span 2}
.is-p-b{grid-template-columns:repeat(6,1fr);grid-auto-rows:168px}
.is-p-b .shb-m1,.is-p-b .shb-m2{grid-column:span 3}
.is-p-b .shb-m3,.is-p-b .shb-m4,.is-p-b .shb-m5,.is-p-b .shb-m6{grid-column:span 2}
.is-p-c{grid-template-columns:repeat(4,1fr);grid-auto-rows:150px}
.is-p-c .shb-m1,.is-p-c .shb-m4{grid-column:span 2;grid-row:span 2}
.is-p-c .shb-m2,.is-p-c .shb-m3,.is-p-c .shb-m5,.is-p-c .shb-m6{grid-column:span 2}
.is-p-d{grid-template-columns:2fr 1fr;grid-auto-rows:118px}
.is-p-d .shb-m1{grid-row:span 3}
.is-p-e{grid-template-columns:repeat(3,1fr);grid-auto-rows:170px}
.is-p-f{grid-template-columns:repeat(4,1fr);grid-auto-rows:160px}
.is-p-f .shb-m1{grid-column:1 / -1}
.is-p-g{grid-template-columns:repeat(3,1fr);grid-auto-rows:230px}
.is-p-h{grid-template-columns:repeat(4,1fr);grid-auto-rows:135px}
.is-p-h .shb-m1{grid-column:2 / 4;grid-row:span 2}
.is-p-h .shb-m2,.is-p-h .shb-m3{grid-row:span 1}

/* ==========================================================================
   6) عائلة التمرير الأفقي
   ========================================================================== */
.shb-scroller-wrap{position:relative}
.shb-scroller{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - (var(--n,4) - 1) * 14px) / var(--n,4));gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:10px}
.shb-scroller .shb-item{scroll-snap-align:start;position:relative}
.shb-scroller .shb-body{padding-top:9px}
.shb-scroller .shb-title{font-size:15px}
.shb-fam-scroller.is-circle .shb-thumb{border-radius:50%}
.shb-fam-scroller.is-circle{text-align:center}
.shb-fam-scroller.is-circle .shb-meta{display:none}
.shb-fam-scroller.is-nothumb .shb-item{background:var(--shb-card);border:1px solid var(--shb-border);border-radius:var(--shb-radius);padding:14px;min-height:120px}
.shb-fam-scroller.is-num .shb-num.is-square{position:absolute;top:8px;inset-inline-start:8px;z-index:3}
.shb-sc-nav{position:absolute;top:34%;z-index:5;width:38px;height:38px;border-radius:50%;border:0;background:var(--shb-card);box-shadow:var(--shb-shadow-lg);display:grid;place-items:center;color:var(--shb-text)}
.shb-sc-nav svg{width:16px;height:16px}
.shb-sc-nav.is-prev{inset-inline-end:-10px}
.shb-sc-nav.is-next{inset-inline-start:-10px}
.shb-sc-nav:hover{background:var(--shb-primary);color:#fff}

/* ==========================================================================
   7) عائلة الترقيم
   ========================================================================== */
.shb-fam-num .shb-item{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px dashed var(--shb-border)}
.shb-fam-num .shb-item:last-child{border:0}
.shb-fam-num .shb-thumb{flex:0 0 auto;width:68px}
.shb-fam-num .shb-rank-body{flex:1;min-width:0}
.shb-fam-num .shb-title{font-size:15px;font-weight:700}
.shb-num.is-circle{flex:0 0 auto;width:33px;height:33px;border-radius:50%;background:var(--shb-primary);color:#fff;display:grid;place-items:center;font-size:14px}
.shb-num.is-square{flex:0 0 auto;width:31px;height:31px;border-radius:7px;background:var(--shb-secondary);color:#fff;display:grid;place-items:center;font-size:14px}
.shb-num.is-ghost{flex:0 0 auto;font-size:38px;color:transparent;-webkit-text-stroke:1.6px var(--shb-primary);min-width:40px;text-align:center;opacity:.8}
.shb-num.is-plain,.shb-num.is-line,.shb-num.is-scale,.shb-num.is-bar{flex:0 0 auto;font-size:24px;color:var(--shb-primary);min-width:32px;text-align:center}
.shb-fam-num.is-st-line .shb-item{border-bottom:0;border-inline-start:3px solid var(--shb-border);padding-inline-start:13px;margin-bottom:10px}
.shb-fam-num.is-st-line .shb-item:hover{border-inline-start-color:var(--shb-primary)}
.shb-fam-num.is-st-scale .shb-rank-1 .shb-num{font-size:40px}
.shb-fam-num.is-st-scale .shb-rank-2 .shb-num{font-size:34px;opacity:.85}
.shb-fam-num.is-st-scale .shb-rank-3 .shb-num{font-size:29px;opacity:.7}
.shb-fam-num.is-st-scale .shb-rank-4 .shb-num,
.shb-fam-num.is-st-scale .shb-rank-5 .shb-num{font-size:24px;opacity:.6}
.shb-rankbar{display:block;height:5px;border-radius:5px;background:var(--shb-border);margin-top:7px;overflow:hidden}
.shb-rankbar i{display:block;height:100%;background:linear-gradient(90deg,var(--shb-primary),var(--shb-accent))}
.shb-fam-num.is-st-over{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--shb-gap)}
.shb-fam-num.is-st-over .shb-item{display:block;position:relative;border:0;padding:0}
.shb-fam-num.is-st-over .shb-thumb{width:100%}
.shb-fam-num.is-st-over .shb-num{position:absolute;top:0;inset-inline-start:8px;z-index:3;font-size:58px;color:#fff;text-shadow:0 3px 14px rgba(0,0,0,.6);min-width:0}
.shb-fam-num.is-st-over .shb-rank-body{padding-top:10px}

/* ==========================================================================
   8) العائلة النصية
   ========================================================================== */
.shb-textlist{list-style:none;margin:0;padding:0}
.shb-textlist li{display:flex;gap:9px;align-items:baseline;padding:10px 0;border-bottom:1px solid var(--shb-border);font-size:15.5px;font-weight:700;line-height:1.7}
.shb-textlist li:last-child{border:0}
.shb-textlist time{margin-inline-start:auto;font-size:12px;color:var(--shb-muted);font-weight:600;white-space:nowrap}
.is-st-dot .shb-textlist li::before{content:"";width:7px;height:7px;background:var(--shb-primary);border-radius:50%;flex:0 0 auto;align-self:center}
.is-st-dash .shb-textlist li::before{content:"—";color:var(--shb-primary);font-weight:900;flex:0 0 auto}
.is-st-arrow .shb-textlist li::before{content:"◂";color:var(--shb-primary);font-weight:900;flex:0 0 auto}
.is-st-arrow .shb-textlist li:hover::before{transform:translateX(-3px);display:inline-block;transition:.2s}
.is-st-date .shb-textlist li::before{content:"";width:5px;height:18px;border-radius:3px;background:var(--shb-primary);opacity:.65;flex:0 0 auto;align-self:center}
.is-st-chip .shb-textlist li{border:0;padding:0 0 9px}
.is-st-chip .shb-textlist li a{display:block;width:100%;background:var(--shb-bg);border:1px solid var(--shb-border);border-radius:var(--shb-radius-sm);padding:11px 13px;border-inline-start:4px solid var(--shb-primary)}
.is-st-chip .shb-textlist li a:hover{background:var(--shb-primary);color:#fff;border-color:var(--shb-primary)}

/* شريط الأخبار */
.shb-ticker{display:flex;align-items:stretch;background:var(--shb-card);border:1px solid var(--shb-border);border-radius:var(--shb-radius);overflow:hidden;height:48px}
.shb-ticker-label{background:var(--shb-primary);color:#fff;padding:0 15px;display:flex;align-items:center;gap:6px;font-weight:800;font-size:14.5px;flex:0 0 auto}
.shb-ticker-label svg{width:15px;height:15px;fill:currentColor}
.shb-ticker-view{flex:1;overflow:hidden;position:relative;display:flex;align-items:center}
.is-h .shb-ticker-track{display:inline-flex;gap:38px;white-space:nowrap;padding-inline-start:100%;animation:shbMarq 44s linear infinite;will-change:transform}
.is-h .shb-ticker-track:hover{animation-play-state:paused}
@keyframes shbMarq{from{transform:translateX(0)}to{transform:translateX(100%)}}
.shb-ticker-item{font-weight:700;font-size:15px}
.shb-ticker-item::before{content:"•";color:var(--shb-primary);margin-inline-end:9px;font-weight:900}
.is-v{height:auto;flex-direction:column;align-items:stretch}
.is-v .shb-ticker-label{padding:9px 15px;justify-content:center}
.is-v .shb-ticker-view{height:54px}
.is-v .shb-ticker-track{display:block;width:100%;transition:transform .5s cubic-bezier(.2,.7,.3,1)}
.is-v .shb-ticker-item{display:flex;align-items:center;height:54px;padding:0 14px}

/* ==========================================================================
   9) الخط الزمني والمتعرّج
   ========================================================================== */
.shb-tl{position:relative;padding-inline-start:23px}
.shb-tl::before{content:"";position:absolute;inset-inline-start:5px;top:8px;bottom:8px;width:2px;background:var(--shb-border)}
.shb-tl .shb-item{position:relative;padding-bottom:17px}
.shb-tl .shb-item:last-child{padding-bottom:0}
.shb-tl-dot{position:absolute;inset-inline-start:-23px;top:7px;width:12px;height:12px;border-radius:50%;background:var(--shb-primary);box-shadow:0 0 0 3px rgba(200,16,46,.16)}
.shb-tl-time{font-size:12px;color:var(--shb-muted);font-weight:700;display:flex;align-items:center;gap:7px;margin-bottom:4px}
.shb-tl .shb-title{font-size:16px}
.shb-tl .shb-thumb{margin-top:10px;max-width:330px}
.is-st-live .shb-tl .shb-item:first-child .shb-tl-dot{background:#e11d48;animation:shbPulse 1.3s infinite}

.shb-fam-zigzag .shb-item{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;margin-bottom:22px}
.shb-fam-zigzag .shb-item:last-child{margin-bottom:0}
.shb-fam-zigzag .shb-item.is-alt .shb-thumb{order:2}
.shb-fam-zigzag .shb-title{font-size:calc(var(--shb-fs-title) + 2px)}
.is-overlap .shb-item .shb-body{background:var(--shb-card);padding:18px;border-radius:var(--shb-radius);box-shadow:var(--shb-shadow-lg);position:relative;z-index:2;margin-inline-end:-46px}
.is-overlap .shb-item.is-alt .shb-body{margin-inline-end:0;margin-inline-start:-46px}

/* ==========================================================================
   10) ماسونري وبوستر
   ========================================================================== */
.shb-fam-masonry{columns:3;column-gap:var(--shb-gap)}
.shb-fam-masonry .shb-item{break-inside:avoid;margin-bottom:var(--shb-gap);background:var(--shb-card);border:1px solid var(--shb-border);border-radius:var(--shb-radius);overflow:hidden}
.shb-fam-masonry .shb-thumb{border-radius:0}
.shb-fam-masonry .shb-body{padding:13px}
.shb-fam-masonry .shb-title{font-size:16px}

.shb-fam-poster{display:grid;gap:var(--shb-gap)}
.shb-fam-poster.is-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.shb-fam-poster.is-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.shb-fam-poster .shb-item{border-radius:14px;overflow:hidden;transform:rotate(-1.3deg);transition:transform .35s ease,box-shadow .35s;box-shadow:var(--shb-shadow)}
.shb-fam-poster .shb-item:nth-child(even){transform:rotate(1.3deg)}
.shb-fam-poster .shb-item:hover{transform:rotate(0) translateY(-5px);box-shadow:var(--shb-shadow-lg)}
.shb-poster-shadow{display:none}
.shb-fam-poster.is-stack .shb-item{transform:none;overflow:visible;border-radius:var(--shb-radius)}
.shb-fam-poster.is-stack .shb-item:hover{transform:translateY(-6px)}
.shb-fam-poster.is-stack .shb-poster-shadow{display:block;position:absolute;inset:0;border-radius:var(--shb-radius);background:var(--shb-card);border:1px solid var(--shb-border);transform:rotate(-2.5deg) translateY(6px);z-index:-1}
.shb-fam-poster.is-stack .shb-thumb{border-radius:var(--shb-radius)}
.shb-fam-poster.is-stack .shb-ov-in{border-radius:0 0 var(--shb-radius) var(--shb-radius)}

/* ==========================================================================
   11) الاستجابة
   ========================================================================== */
@media(max-width:1024px){
  .shb-fam-grid.is-cols-5,.shb-fam-overlay.is-cols-5,
  .shb-fam-grid.is-cols-6,.shb-fam-overlay.is-cols-6{grid-template-columns:repeat(3,minmax(0,1fr))}
  .shb-fam-grid.is-cols-4,.shb-fam-overlay.is-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shb-mix.pos-side,.shb-mix.pos-mag3{grid-template-columns:1fr}
  .shb-fam-mix.is-cols-4 .pos-topg .shb-mix-rest{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shb-fam-masonry{columns:2}
  .shb-scroller{--n:3}
  .is-p-b,.is-p-f,.is-p-h{grid-template-columns:repeat(2,1fr)}
  .is-p-b .shb-m1,.is-p-b .shb-m2,.is-p-b .shb-m3,.is-p-b .shb-m4,.is-p-b .shb-m5,.is-p-b .shb-m6{grid-column:span 1}
  .is-p-h .shb-m1{grid-column:span 2}
}
@media(max-width:782px){
  .shb-fam-grid.is-cols-3,.shb-fam-overlay.is-cols-3,
  .shb-fam-grid.is-cols-5,.shb-fam-overlay.is-cols-5,
  .shb-fam-grid.is-cols-6,.shb-fam-overlay.is-cols-6{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shb-fam-num.is-st-over{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shb-fam-zigzag .shb-item{grid-template-columns:1fr}
  .shb-fam-zigzag .shb-item.is-alt .shb-thumb{order:0}
  .is-overlap .shb-item .shb-body,.is-overlap .shb-item.is-alt .shb-body{margin:-30px 14px 0}
  .shb-scroller{--n:2.2}
  .is-th-xl{--thw:130px}
  .is-th-lg{--thw:120px}
  .is-p-a,.is-p-c{grid-template-columns:repeat(2,1fr);grid-auto-rows:130px}
  .is-p-a .shb-m1,.is-p-c .shb-m1,.is-p-c .shb-m4{grid-column:span 2;grid-row:span 1}
  .is-p-d{grid-template-columns:1fr}
  .is-p-d .shb-m1{grid-row:span 2}
  .is-p-e,.is-p-g{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}
  .is-big .shb-title{font-size:21px}
}
@media(max-width:560px){
  .shb-fam-grid.is-cols-2,.shb-fam-overlay.is-cols-2,
  .shb-fam-grid.is-cols-3,.shb-fam-overlay.is-cols-3,
  .shb-fam-grid.is-cols-4,.shb-fam-overlay.is-cols-4,
  .shb-fam-grid.is-cols-5,.shb-fam-overlay.is-cols-5,
  .shb-fam-grid.is-cols-6,.shb-fam-overlay.is-cols-6{grid-template-columns:minmax(0,1fr)}
  .shb-fam-poster.is-cols-3,.shb-fam-poster.is-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .shb-fam-masonry{columns:1}
  .is-2col.shb-fam-list,.shb-fam-mix.is-2col .shb-mix-rest{grid-template-columns:1fr}
  .shb-scroller{--n:1.6}
  .shb-fam-num.is-st-over{grid-template-columns:minmax(0,1fr)}
  .shb-fam-mix.is-cols-3 .pos-topg .shb-mix-rest,
  .shb-fam-mix.is-cols-4 .pos-topg .shb-mix-rest,
  .shb-fam-mix.is-cols-2 .pos-topg .shb-mix-rest{grid-template-columns:repeat(2,minmax(0,1fr))}
}
