:root{
  --mr-bg:#05070a;
  --mr-panel:#0b1016;
  --mr-panel-2:#101820;
  --mr-blue:#1693ff;
  --mr-cyan:#13c7eb;
  --mr-orange:#f47b37;
  --mr-green:#32c98a;
  --mr-red:#f27677;
  --mr-text:#f5f7fa;
  --mr-muted:#a8b2bd;
  --mr-line:rgba(211,228,243,.13);
}

.market-strip{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  min-height:108px;
  padding:12px max(20px,calc((100vw - 1320px)/2));
  border-bottom:1px solid var(--mr-line);
  background:linear-gradient(90deg,rgba(22,147,255,.055),transparent 34%,rgba(244,123,55,.045));
  color:var(--mr-text);
  overflow:hidden;
}
.market-strip__viewport{min-width:0;overflow:visible}
.market-widget-shell{width:100%;min-width:280px;overflow:hidden}
.market-widget-shell tv-ticker-tape{display:block;width:100%;height:58px;max-width:100%;color-scheme:dark}
.market-widget-static{min-width:0;min-height:54px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(22,147,255,.5) transparent}
.market-widget-static tv-tickers{display:block;min-width:100%;min-height:54px}
.market-widget-loading{display:block;padding:16px 12px;color:#9aa8b5;font-size:.77rem}
.market-widget-error{padding:5px 10px;color:#ffbc87;font-size:.72rem;line-height:1.6}
.market-widget-error[hidden],.market-widget-static[hidden]{display:none!important}
.market-strip--fullbleed{
  display:block;
  width:100%;
  min-height:58px;
  padding:0;
  border-bottom:1px solid rgba(211,228,243,.1);
  background:#030507;
}
.market-strip--fullbleed .market-strip__viewport{width:100%;min-width:0;overflow:hidden}
.market-strip--fullbleed .market-widget-shell{width:100%;min-width:0;overflow:hidden}
.market-strip--fullbleed .market-widget-shell [data-ticker-tape],.market-strip--fullbleed .market-widget-shell [data-ticker-tape] tv-ticker-tape{display:block;width:100%;height:58px;min-height:58px;max-width:100%;overflow:hidden;color-scheme:dark}
.market-strip--fullbleed .market-widget-static{min-height:58px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.market-strip--fullbleed .market-widget-static tv-tickers{min-height:58px}
.market-strip--fullbleed .market-widget-loading{padding:19px 16px}
.market-strip--fullbleed .market-widget-error{padding:8px 16px;color:#9aa8b5;text-align:center}

/* Editorial news preview */
.news-page{min-height:100vh;background:var(--mr-bg);color:var(--mr-text)}
.news-main{width:min(1320px,calc(100% - 48px));margin-inline:auto;padding:clamp(34px,5vw,68px) 0 90px}
.news-breadcrumb{margin-bottom:18px;color:#8894a0;font-size:.82rem}
.news-breadcrumb a{color:#b9c7d4;text-decoration:underline;text-underline-offset:3px}
.news-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:31px}
.news-title-copy{max-width:700px}
.news-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:12px;color:var(--mr-blue);font-size:.83rem;font-weight:800}
.news-kicker::before{content:"";width:24px;height:1px;background:var(--mr-blue)}
.news-title-row h1{font-size:clamp(2.5rem,5vw,4.4rem);line-height:1.05;font-weight:800;letter-spacing:-.035em}
.news-title-row p{max-width:620px;margin-top:14px;color:#aeb9c3;font-size:1rem;line-height:1.9}
.news-market-status{min-width:250px;padding:18px 20px;border:1px solid var(--mr-line);border-radius:16px;background:linear-gradient(140deg,rgba(22,147,255,.11),rgba(255,255,255,.025));}
.news-market-status__label{color:#8e9aa7;font-size:.75rem}
.news-market-status strong{display:block;margin-top:5px;font-size:1rem}
.news-market-status small{display:block;margin-top:5px;color:#9aa6b2;font-size:.72rem;line-height:1.6}
.news-market-status a{color:#8bcaff;text-decoration:underline;text-underline-offset:3px}
.news-tools{display:grid;grid-template-columns:minmax(240px,1fr) auto;align-items:center;gap:18px;padding:17px;border:1px solid var(--mr-line);border-radius:18px;background:#090d11}
.news-search{position:relative}
.news-search svg{position:absolute;inset-inline-start:16px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#8a98a6;pointer-events:none}
.news-search input{width:100%;height:50px;padding:0 46px 0 16px;border:1px solid rgba(255,255,255,.15);border-radius:12px;outline:none;background:#050709;color:white;font:500 .95rem 'Tajawal',sans-serif;transition:border-color .2s ease,box-shadow .2s ease}
.news-search input::placeholder{color:#74808c}
.news-search input:focus{border-color:rgba(22,147,255,.8);box-shadow:0 0 0 3px rgba(22,147,255,.13)}
.news-filters{display:flex;gap:8px;flex-wrap:wrap}
.news-filter{min-height:40px;padding:8px 15px;border:1px solid transparent;border-radius:999px;background:#171b20;color:#aeb9c3;font:700 .82rem 'Tajawal',sans-serif;cursor:pointer;transition:all .2s ease}
.news-filter:hover{border-color:rgba(255,255,255,.22);color:#fff}
.news-filter[aria-pressed="true"]{border-color:rgba(22,147,255,.66);background:rgba(22,147,255,.13);color:#92ccff}
.news-feed-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 2px;color:#8f9aa5;font-size:.77rem}
.news-reference-flag{display:inline-flex;align-items:center;gap:7px;color:#ffb27c}
.news-reference-flag::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--mr-orange)}
.market-movers{margin:24px 0 20px;padding:22px;border:1px solid var(--mr-line);border-radius:19px;background:linear-gradient(120deg,rgba(22,147,255,.045),transparent 56%,rgba(244,123,55,.035))}
.market-movers__head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px}
.market-movers__eyebrow{color:#8abff0;font-size:.71rem;font-weight:800;letter-spacing:.04em}
.market-movers__head h2{margin-top:5px;font-size:1.35rem;line-height:1.3}
.market-movers__head>a{color:#8bcaff;font-size:.78rem;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.market-movers__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.market-movers__group{min-width:0;padding:16px;border:1px solid rgba(211,228,243,.1);border-radius:14px;background:rgba(4,7,10,.76)}
.market-movers__group h3{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:800}
.market-movers__group--gainers h3 span{color:var(--mr-green)}
.market-movers__group--losers h3 span{color:var(--mr-red)}
.market-movers__empty{display:flex;min-height:100px;margin-top:13px;padding:15px;flex-direction:column;justify-content:center;gap:6px;border:1px dashed rgba(211,228,243,.13);border-radius:10px;color:#dce3e9}
.market-movers__empty strong{font-size:.83rem}
.market-movers__empty p{color:#909ca8;font-size:.75rem;line-height:1.7}
.news-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.9fr);gap:18px;align-items:start}
.news-feature{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:395px;padding:clamp(24px,4vw,42px);overflow:hidden;border:1px solid rgba(22,147,255,.25);border-radius:22px;background:radial-gradient(ellipse at 78% 4%,rgba(22,147,255,.23),transparent 37%),radial-gradient(ellipse at 3% 100%,rgba(244,123,55,.13),transparent 40%),linear-gradient(145deg,#111a23,#0a0d12 65%,#090b0e)}
.news-feature::before{content:"EGX";position:absolute;inset-inline-start:-18px;top:0;color:rgba(255,255,255,.025);font:800 clamp(6rem,16vw,13rem)/1 Arial,sans-serif;letter-spacing:-.11em;pointer-events:none}
.news-feature__top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:auto}
.news-feature__tag{padding:7px 11px;border:1px solid rgba(22,147,255,.35);border-radius:999px;background:rgba(22,147,255,.1);color:#8ac9ff;font-size:.73rem;font-weight:800}
.news-feature__label{color:#9ba7b3;font-size:.73rem}
.news-feature__content{position:relative;max-width:690px;margin-top:75px}
.news-feature__eyebrow{color:#f2a06d;font-size:.78rem;font-weight:700}
.news-feature h2{margin-top:10px;font-size:clamp(1.7rem,3.3vw,2.7rem);line-height:1.32;font-weight:800}
.news-feature p{margin-top:12px;color:#b4bec8;font-size:.95rem;line-height:1.8}
.news-feature__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:23px;padding-top:15px;border-top:1px solid var(--mr-line);color:#9aa6b2;font-size:.75rem}
.news-feature__source{display:inline-flex;align-items:center;gap:7px;color:#8dcaff;text-decoration:underline;text-underline-offset:4px}
.news-list{display:flex;flex-direction:column;gap:10px}
.news-item{display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;padding:18px 17px;border:1px solid var(--mr-line);border-radius:16px;background:linear-gradient(110deg,rgba(255,255,255,.035),rgba(255,255,255,.012));transition:border-color .2s ease,transform .2s ease}
.news-item:hover{transform:translateX(-3px);border-color:rgba(22,147,255,.4)}
.news-item[hidden]{display:none}
.news-item__date{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:55px;height:61px;border-inline-end:1px solid var(--mr-line);padding-inline-end:12px;color:#7fc3ff;text-align:center}
.news-item__date strong{font-size:1.35rem;line-height:1;font-weight:800}
.news-item__date span{margin-top:5px;font-size:.64rem;color:#85919d}
.news-item__content{min-width:0}
.news-item__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#8f9aa6;font-size:.69rem}
.news-item__category{color:#f0a171}
.news-item h3{margin-top:7px;font-size:1rem;line-height:1.5;font-weight:800}
.news-item__summary{margin-top:5px;color:#9ca8b3;font-size:.8rem;line-height:1.7}
.news-item__source{display:inline-flex;margin-top:9px;color:#79bdff;font-size:.73rem;text-decoration:underline;text-underline-offset:3px}
.news-empty{display:none;padding:34px 20px;border:1px dashed var(--mr-line);border-radius:16px;color:#a8b2bd;text-align:center;line-height:1.8}
.news-empty.is-visible{display:block}
.news-disclaimer{margin-top:24px;padding:15px 18px;border-inline-start:2px solid var(--mr-orange);background:rgba(244,123,55,.055);color:#aeb8c2;font-size:.78rem;line-height:1.8}
.news-app-note{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;margin-top:48px;padding:clamp(22px,4vw,34px);border:1px solid var(--mr-line);border-radius:20px;background:linear-gradient(110deg,rgba(22,147,255,.1),rgba(255,255,255,.025) 58%,rgba(244,123,55,.07))}
.news-app-note h2{font-size:clamp(1.35rem,2.5vw,1.9rem);line-height:1.35}
.news-app-note p{margin-top:7px;color:#adb8c3;font-size:.88rem;line-height:1.8}
.news-app-note__price{min-width:190px;text-align:left}
.news-app-note__price strong{display:block;color:#fff;font-size:1.08rem}
.news-app-note__price span{display:block;margin-top:5px;color:#8bcaff;font-size:.78rem}
.news-footer{padding:22px max(24px,calc((100vw - 1320px)/2));border-top:1px solid var(--mr-line);color:#8d98a4;font-size:.78rem}
.news-footer nav{display:flex;gap:18px;flex-wrap:wrap}
.news-footer a:hover{color:#fff}

@media(max-width:1080px){
  .news-layout{grid-template-columns:minmax(0,1fr) minmax(285px,.85fr)}
}
@media(max-width:760px){
  .market-strip--fullbleed{min-height:54px}
  .market-strip--fullbleed .market-widget-shell [data-ticker-tape],.market-strip--fullbleed .market-widget-shell [data-ticker-tape] tv-ticker-tape{height:54px;min-height:54px}
  .market-strip--fullbleed .market-widget-static,.market-strip--fullbleed .market-widget-static tv-tickers{min-height:54px}
  .market-strip--fullbleed .market-widget-loading{padding:17px 12px;font-size:.72rem}
  .market-strip{grid-template-columns:1fr auto;gap:6px 10px;padding:9px 13px 11px;min-height:0}
  .market-strip__viewport{min-width:0}
  .market-widget-shell{min-width:0;min-height:0}
  .market-widget-static{min-height:60px}
  .market-widget-static tv-tickers{min-height:60px}
  .news-main{width:calc(100% - 28px);padding-top:30px}
  .news-title-row{align-items:stretch;flex-direction:column;gap:18px;margin-bottom:22px}
  .news-title-row h1{font-size:clamp(2.35rem,12vw,3.3rem)}
  .news-title-row p{font-size:.9rem}
  .news-market-status{min-width:0}
  .news-tools{grid-template-columns:1fr;padding:12px;gap:12px}
  .news-filters{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}
  .news-filter{flex:0 0 auto}
  .news-feed-meta{align-items:flex-start;flex-direction:column;gap:5px}
  .market-movers{margin:19px 0 17px;padding:15px 13px;border-radius:16px}
  .market-movers__head{align-items:flex-start;flex-direction:column;gap:9px;margin-bottom:13px}
  .market-movers__head h2{font-size:1.15rem}
  .market-movers__head>a{white-space:normal}
  .market-movers__grid{grid-template-columns:1fr;gap:8px}
  .market-movers__group{padding:13px;border-radius:12px}
  .market-movers__empty{min-height:80px;padding:12px}
  .news-layout{grid-template-columns:1fr;gap:12px}
  .news-feature{min-height:335px;padding:22px 19px;border-radius:18px}
  .news-feature__content{margin-top:56px}
  .news-feature h2{font-size:1.55rem}
  .news-item{padding:15px 12px;gap:11px}
  .news-item__date{min-width:47px;padding-inline-end:9px}
  .news-item h3{font-size:.93rem}
  .news-app-note{grid-template-columns:1fr;gap:15px;margin-top:30px}
  .news-app-note__price{text-align:right}
  .news-footer{padding:20px 16px}
}
@media(prefers-reduced-motion:reduce){
  .news-item{transition:none}
  .market-strip--fullbleed *, .market-strip--fullbleed *::before, .market-strip--fullbleed *::after{scroll-behavior:auto!important}
}

