/* Shared Wash Sra story viewer — one visual system for homepage and /wash-sara/. */
body.nqws-story-open{overscroll-behavior:none}
.ws-news-modal--story{position:fixed;inset:0;z-index:5000;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(15,15,18,.86);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);font-family:'IBM Plex Sans Arabic',sans-serif;direction:rtl}
.ws-news-modal--story.open{display:flex}
.ws-news-modal--story .ws-news-dialog{position:relative;width:min(720px,96vw);max-height:calc(100dvh - 48px);overflow:hidden;background:#fff;border:1px solid rgba(255,255,255,.2);border-radius:30px;box-shadow:0 34px 100px rgba(0,0,0,.42);display:flex;flex-direction:column;color:#111}
.ws-news-modal--story .ws-news-media{height:clamp(220px,36vh,340px);flex:0 0 auto;background:#f2f1ed;position:relative;overflow:hidden}
.ws-news-modal--story .ws-news-image{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}
.ws-news-modal--story .ws-news-image[hidden]{display:none}
.ws-news-modal--story .ws-news-media::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(143,32,51,.12),rgba(0,0,0,.48));mix-blend-mode:multiply;pointer-events:none}
.ws-news-modal--story .ws-news-media.is-empty{background:#fff}
.ws-news-modal--story .ws-news-progress{position:absolute;top:14px;right:18px;left:18px;z-index:4;display:flex;direction:rtl;gap:5px;height:4px;align-items:center;pointer-events:none}
.ws-news-modal--story .ws-news-progress__segment{display:block;flex:1 1 0;height:3px;border-radius:999px;background:rgba(255,255,255,.36);box-shadow:0 1px 5px rgba(0,0,0,.16);transition:background-color .18s ease,transform .18s ease}
.ws-news-modal--story .ws-news-progress__segment.is-complete{background:rgba(255,255,255,.88)}
.ws-news-modal--story .ws-news-progress__segment.is-current{background:#fff;transform:scaleY(1.35)}
.ws-news-modal--story .ws-news-media.is-empty .ws-news-progress__segment{background:rgba(17,17,17,.14);box-shadow:none}
.ws-news-modal--story .ws-news-media.is-empty .ws-news-progress__segment.is-complete{background:rgba(122,30,44,.5)}
.ws-news-modal--story .ws-news-media.is-empty .ws-news-progress__segment.is-current{background:#7a1e2c}
.ws-news-modal--story .ws-news-logo{position:absolute;top:38px;right:24px;z-index:3;width:84px;height:auto;display:block;filter:brightness(0) invert(1) drop-shadow(0 2px 14px rgba(0,0,0,.24))}
.ws-news-modal--story .ws-news-content{min-height:0;overflow:auto;padding:28px 30px 26px;display:flex;flex-direction:column;background:#fff}
.ws-news-modal--story .ws-news-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;font-weight:800;color:#7a1e2c;margin-bottom:13px}
.ws-news-modal--story .ws-news-title{font-size:clamp(24px,3.1vw,36px);line-height:1.48;margin:0 0 17px;color:#111;font-weight:800;text-decoration:none;background:none}
.ws-news-modal--story .ws-news-text{font-size:15px;line-height:1.95;color:#35332b;margin:0 0 22px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;text-align:justify;text-align-last:right;text-justify:inter-word}
.ws-news-modal--story .ws-news-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:18px;padding-top:17px;border-top:1px solid rgba(17,17,17,.1)}
.ws-news-modal--story .ws-news-action{min-height:42px;border:1px solid rgba(17,17,17,.14);border-radius:13px;background:#fff;color:#111;font:700 12px/1.25 'IBM Plex Sans Arabic',sans-serif;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 9px;cursor:pointer;text-decoration:none}
.ws-news-modal--story .ws-news-action--primary{background:#7a1e2c;border-color:#7a1e2c;color:#fff}
.ws-news-modal--story .ws-news-next-inline{margin-top:18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;padding:10px 16px;border:1px solid rgba(17,17,17,.14);border-radius:999px;background:#fff;color:#111;font:700 12px/1.2 'IBM Plex Sans Arabic',sans-serif;cursor:pointer}
.ws-news-modal--story .ws-news-next-inline svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ws-news-modal--story .ws-news-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px}
.ws-news-modal--story .ws-news-count{font-size:12px;color:#625f58;direction:rtl;font-weight:700}
.ws-news-modal--story .ws-news-hint{font-size:11px;color:#777064}
.ws-news-modal--story .ws-news-close{position:absolute;top:34px;left:14px;z-index:8;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.52);background:rgba(0,0,0,.42);color:#fff;font:400 28px/1 Arial,sans-serif;display:grid;place-items:center;cursor:pointer}
.ws-news-modal--story .ws-news-nav{position:absolute;top:clamp(110px,18vh,170px);transform:translateY(-50%);z-index:8;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.52);background:rgba(0,0,0,.4);color:#fff;font-size:24px;display:grid;place-items:center;cursor:pointer}
.ws-news-modal--story .ws-news-prev{right:14px}.ws-news-modal--story .ws-news-next{left:14px}
.ws-news-toast{position:fixed;left:50%;bottom:26px;z-index:6000;transform:translate(-50%,20px);opacity:0;pointer-events:none;padding:11px 18px;border-radius:999px;background:#111;color:#fff;font-size:13px;font-weight:700;transition:.22s}
.ws-news-toast.show{opacity:1;transform:translate(-50%,0)}
body.admin-bar .ws-news-modal--story{top:32px}
@media(min-width:761px){.ws-news-modal--page{display:none!important}}
@media(max-width:760px){
  body.admin-bar .ws-news-modal--story{top:46px}
  .ws-news-modal--story{padding:0;background:#050506;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:hidden}
  .ws-news-modal--story .ws-news-dialog{width:100%;height:100vh;height:100dvh;max-height:100dvh;overflow:hidden;border:0;border-radius:0;box-shadow:none}
  .ws-news-modal--story .ws-news-media{height:35dvh;min-height:0;max-height:320px;flex:0 0 auto}
  .ws-news-modal--story .ws-news-content{flex:1 1 0;min-height:0;padding:14px 18px calc(env(safe-area-inset-bottom) + 10px);overflow:hidden;justify-content:flex-start}
  .ws-news-modal--story .ws-news-meta{gap:6px;margin-bottom:7px;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ws-news-modal--story .ws-news-title{margin:0 0 8px;font-size:clamp(20px,5.8vw,24px);line-height:1.35;text-decoration:none;background:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .ws-news-modal--story .ws-news-text{margin:0;flex:1 1 auto;min-height:0;font-size:15.5px;line-height:1.74;display:block;overflow:hidden;text-align:justify;text-align-last:auto;text-justify:inter-word}
  .ws-news-modal--story .ws-news-progress{top:calc(env(safe-area-inset-top) + 11px);right:14px;left:14px;gap:4px;height:4px}
  .ws-news-modal--story .ws-news-progress__segment{height:3px}
  .ws-news-modal--story .ws-news-logo{top:calc(env(safe-area-inset-top) + 34px);right:16px;left:auto;width:60px;max-height:36px;object-fit:contain}
  .ws-news-modal--story .ws-news-close{top:calc(env(safe-area-inset-top) + 31px)}
  .ws-news-modal--story .ws-news-actions{display:flex;gap:6px;margin-top:6px;padding-top:6px}
  .ws-news-modal--story .ws-news-action{flex:1 1 0;min-width:0;min-height:36px;padding:6px 5px;font-size:10.5px;white-space:nowrap}
  .ws-news-modal--story #wsNewsDetails{flex-grow:1.6}
  .ws-news-modal--story .ws-news-nav{top:17.5dvh}
  .ws-news-modal--story .ws-news-next-inline{display:none}
  .ws-news-modal--story .ws-news-next-inline svg{width:28px;height:28px;padding:6px;border:1px solid rgba(122,30,44,.24);border-radius:50%}
  .ws-news-modal--story .ws-news-foot{display:none}
  .ws-news-modal--story .ws-news-hint{display:none}
  .ws-news-toast{bottom:calc(env(safe-area-inset-bottom) + 18px);max-width:calc(100% - 32px);text-align:center}
}
@media(max-width:760px) and (max-height:720px){
  .ws-news-modal--story .ws-news-media{height:31dvh;max-height:235px}
  .ws-news-modal--story .ws-news-content{padding-top:10px;padding-bottom:calc(env(safe-area-inset-bottom) + 7px)}
  .ws-news-modal--story .ws-news-meta{margin-bottom:5px;font-size:10px}
  .ws-news-modal--story .ws-news-title{font-size:19px;line-height:1.3;margin-bottom:5px}
  .ws-news-modal--story .ws-news-text{font-size:14.5px;line-height:1.62}
  .ws-news-modal--story .ws-news-next-inline{display:none}
  .ws-news-modal--story .ws-news-next-inline svg{width:25px;height:25px;padding:5px}
  .ws-news-modal--story .ws-news-actions{margin-top:4px;padding-top:4px}
  .ws-news-modal--story .ws-news-action{min-height:32px;padding:4px;font-size:10px}
}


.ws-news-modal--story :focus-visible{outline-color:#b54860}
.ws-news-modal--story .ws-news-text{overflow-wrap:anywhere}

.ws-news-modal--story [hidden]{display:none!important}
