/* Mikhbar unified article experience — editorial refresh 2026 */
.rt-article-page{
  background:linear-gradient(180deg,#fbfcfe 0,#fff 360px);
}
.rt-article-page .rt-article{
  padding:40px 0 92px!important;
  background:transparent!important;
}
.rt-article-page .rt-article-shell{
  width:min(1140px,calc(100% - 56px))!important;
  margin-inline:auto;
}

/* Reading progress */
.rt-reading-progress{
  position:fixed;
  inset:0 0 auto 0;
  z-index:250;
  height:3px;
  background:transparent;
  pointer-events:none;
}
.rt-reading-progress span{
  display:block;
  width:0;
  height:100%;
  border-radius:0 999px 999px 0;
  background:#2563eb;
  transition:width .08s linear;
}
[dir="rtl"] .rt-reading-progress span{border-radius:999px 0 0 999px}

/* Breadcrumbs */
.rt-article-page .rt-breadcrumbs{
  max-width:900px;
  margin:0 auto 20px;
  padding:0 2px;
  gap:8px;
  color:#98a2b3;
  font-size:.76rem;
  line-height:1.7;
}
.rt-article-page .rt-breadcrumbs a{
  color:#667085;
  font-weight:700;
  text-decoration:none;
}
.rt-article-page .rt-breadcrumbs a:hover{color:#2563eb}
.rt-article-page .rt-breadcrumbs span{color:#b8c0cc}
.rt-article-page .rt-breadcrumbs>span:last-child{
  min-width:0;
  max-width:48ch;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Article heading */
.rt-article-page .rt-article-head{
  max-width:900px;
  margin-inline:auto;
  padding:4px 0 0!important;
}
.rt-article-page .rt-article-head .rt-label{
  display:inline-flex;
  align-items:center;
  min-height:31px;
  margin:0;
  padding:6px 12px;
  border:1px solid #dbe7ff;
  border-radius:999px;
  background:#f5f8ff;
  color:#175cd3;
  font-size:.76rem;
  font-weight:900;
  line-height:1.35;
}
.rt-article-page .rt-article-head .rt-label::before{display:none!important}
.rt-article-page .rt-article-head h1{
  max-width:900px;
  margin:17px 0 15px!important;
  color:#101828;
  font-size:clamp(2.4rem,4.8vw,4.45rem)!important;
  font-weight:900;
  line-height:1.27!important;
  letter-spacing:-.038em!important;
  text-wrap:balance;
}
.rt-locale-ar.rt-article-page .rt-article-head h1{
  letter-spacing:0!important;
  line-height:1.43!important;
}
.rt-article-page .rt-deck{
  max-width:840px;
  margin:0!important;
  color:#475467!important;
  font-size:clamp(1.05rem,1.55vw,1.23rem)!important;
  line-height:1.92!important;
  text-wrap:pretty;
}

/* Author + date */
.rt-article-page .rt-byline{
  margin-top:27px!important;
  padding:17px 0!important;
  border:0!important;
  border-top:1px solid #e7ebf0!important;
  border-bottom:1px solid #e7ebf0!important;
  border-radius:0!important;
  background:transparent!important;
  gap:22px!important;
}
.rt-article-page .rt-author{gap:11px!important}
.rt-article-page .rt-avatar{
  width:46px!important;
  height:46px!important;
  flex-basis:46px!important;
  border:1px solid #e4e7ec!important;
  background:#fff!important;
  box-shadow:0 0 0 3px #f8fafc!important;
}
.rt-article-page .rt-author strong{
  color:#101828;
  font-size:.86rem!important;
  line-height:1.5;
}
.rt-article-page .rt-author small{
  margin-top:2px!important;
  color:#98a2b3!important;
  font-size:.72rem!important;
  line-height:1.55;
}
.rt-article-page .rt-dates{
  color:#667085!important;
  font-size:.75rem!important;
  line-height:1.8!important;
  text-align:end;
  font-variant-numeric:tabular-nums;
}

/* Hero image */
.rt-article-page .rt-article-media{
  width:100%;
  margin:32px auto 0!important;
  border:1px solid #e4e7ec!important;
  border-radius:26px!important;
  overflow:hidden;
  background:#f8fafc!important;
  box-shadow:0 22px 54px rgba(16,24,40,.075)!important;
}
.rt-article-page .rt-article-media picture{display:block}
.rt-article-page .rt-article-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  max-height:650px;
  object-fit:cover;
  background:#f2f4f7!important;
}
.rt-article-page .rt-article-media figcaption{
  padding:10px 15px!important;
  border-top:1px solid #eaecf0!important;
  background:#fff!important;
  color:#98a2b3!important;
  font-size:.71rem!important;
  line-height:1.7!important;
}
.rt-article-cover::after{display:none!important}

/* Key points */
.rt-article-page .rt-summary{
  max-width:820px;
  margin:34px auto 40px!important;
  padding:24px 26px!important;
  border:1px solid #dbe7ff!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,#f7faff,#fff 72%)!important;
  box-shadow:0 10px 30px rgba(37,99,235,.04)!important;
}
.rt-article-page .rt-summary h2{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px!important;
  color:#101828;
  font-size:1rem!important;
  line-height:1.55;
}
.rt-article-page .rt-summary h2::before{
  content:"";
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#2563eb;
  box-shadow:0 0 0 5px rgba(37,99,235,.09);
}
.rt-article-page .rt-summary ul{
  display:grid;
  gap:9px;
  margin:0!important;
  padding:0!important;
  list-style:none;
  color:#344054!important;
}
.rt-article-page .rt-summary li{
  position:relative;
  padding-inline-start:24px;
  font-size:.94rem!important;
  line-height:1.85!important;
}
.rt-article-page .rt-summary li::before{
  content:"";
  position:absolute;
  inset-inline-start:2px;
  top:.78em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#98a2b3;
}

/* Reading column */
.rt-article-page .rt-article-body{
  color:#344054!important;
  font-size:1.075rem!important;
  line-height:2.04!important;
}
.rt-locale-ar.rt-article-page .rt-article-body{
  font-size:1.08rem!important;
  line-height:2.1!important;
}
.rt-locale-en.rt-article-page .rt-article-body{
  font-size:1.04rem!important;
  line-height:1.9!important;
}
.rt-article-page .rt-article-body>p,
.rt-article-page .rt-article-body>h2,
.rt-article-page .rt-article-body>h3,
.rt-article-page .rt-article-body>blockquote,
.rt-article-page .rt-article-body>ul:not(.rt-source-list),
.rt-article-page .rt-article-body>ol{
  max-width:780px;
  margin-inline:auto;
}
.rt-article-page .rt-article-body>p{
  margin-top:0;
  margin-bottom:1.45em;
  color:#344054!important;
}
.rt-article-page .rt-article-body>h2{
  position:relative;
  margin-top:56px!important;
  margin-bottom:18px!important;
  padding-top:20px;
  border-top:1px solid #eaecf0;
  color:#101828;
  font-size:clamp(1.55rem,2.55vw,2rem)!important;
  font-weight:900;
  line-height:1.55!important;
  letter-spacing:-.018em;
}
.rt-locale-ar.rt-article-page .rt-article-body>h2{letter-spacing:0}
.rt-article-page .rt-article-body>h2::before{
  content:"";
  position:absolute;
  inset-inline-start:0;
  top:-1px;
  width:58px;
  height:2px;
  border-radius:999px;
  background:#2563eb;
}
.rt-article-page .rt-article-body>h3{
  margin-top:34px!important;
  margin-bottom:11px!important;
  color:#101828;
  font-size:1.18rem!important;
  font-weight:900;
  line-height:1.65!important;
}
.rt-article-page .rt-article-body a{
  color:#175cd3!important;
  font-weight:700;
  text-decoration-thickness:1px;
  text-decoration-color:#b2ccff!important;
  text-underline-offset:4px;
}
.rt-article-page .rt-article-body a:hover{
  color:#004eeb!important;
  text-decoration-color:#004eeb!important;
}
.rt-article-page .rt-article-body blockquote{
  margin-top:32px!important;
  margin-bottom:32px!important;
  padding:20px 22px!important;
  border:0!important;
  border-inline-start:3px solid #2563eb!important;
  border-radius:0 15px 15px 0;
  background:#f8fafc!important;
  color:#344054!important;
}
.rt-locale-ar.rt-article-page .rt-article-body blockquote{border-radius:15px 0 0 15px}

/* Inline article images break slightly outside the reading column */
.rt-article-page .rt-inline-media{
  width:min(920px,100%);
  margin:36px auto 42px!important;
  padding:0!important;
  border:1px solid #e4e7ec!important;
  border-radius:21px!important;
  overflow:hidden;
  background:#fff!important;
  box-shadow:0 15px 38px rgba(16,24,40,.055);
}
.rt-article-page .rt-inline-media img{
  display:block;
  width:100%;
  height:auto;
  max-height:720px;
  object-fit:contain!important;
  background:#f8fafc!important;
}
.rt-article-page .rt-inline-media figcaption{
  padding:10px 14px!important;
  border-top:1px solid #eaecf0!important;
  background:#fff!important;
  color:#98a2b3!important;
  font-size:.71rem!important;
  line-height:1.7!important;
}

/* Sources */
.rt-article-page .rt-source-list{
  max-width:780px;
  margin:12px auto 0!important;
  padding:0!important;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.rt-article-page .rt-source-list li{
  min-width:0;
  margin:0!important;
  padding:14px 15px;
  border:1px solid #e7ebf0;
  border-radius:14px;
  background:#fcfcfd;
  line-height:1.6;
}
.rt-article-page .rt-source-list a{
  display:block;
  overflow-wrap:anywhere;
  color:#175cd3!important;
  font-size:.86rem;
  font-weight:800;
  text-decoration:none!important;
}
.rt-article-page .rt-source-list a:hover{text-decoration:underline!important}
.rt-article-page .rt-source-list small{
  display:block;
  margin-top:5px;
  color:#98a2b3;
  font-size:.71rem;
  line-height:1.55;
}

/* Footer / tags */
.rt-article-page .rt-article-footer{
  max-width:780px;
  margin:48px auto 0!important;
  padding:22px 0 0!important;
  border-top:1px solid #e7ebf0!important;
}
.rt-article-page .rt-article-tags{gap:8px!important}
.rt-article-page .rt-article-tags a,
.rt-article-page .rt-article-tags span{
  display:inline-flex;
  align-items:center;
  min-height:31px;
  padding:5px 10px!important;
  border:1px solid #e4e7ec!important;
  border-radius:999px!important;
  background:#fff;
  color:#475467!important;
  font-size:.74rem!important;
  font-weight:700;
  line-height:1.4;
  text-decoration:none;
}
.rt-article-page .rt-source-note{
  margin:16px 0 0;
  color:#98a2b3;
  font-size:.74rem;
  line-height:1.8;
}

/* Related stories + related topics injected by SSR */
.rt-article-page .rt-article-body>.rt-section{
  width:100%;
  max-width:100%;
  margin:58px auto 0!important;
  padding:30px 0 0!important;
  border-top:1px solid #e7ebf0;
}
.rt-article-page .rt-article-body>.rt-section .rt-section-head{
  align-items:center;
  margin-bottom:17px!important;
  padding-bottom:0!important;
  border-bottom:0!important;
}
.rt-article-page .rt-article-body>.rt-section .rt-section-head h2{
  margin:0!important;
  padding:0;
  border:0;
  color:#101828;
  font-size:1.35rem!important;
  line-height:1.55!important;
}
.rt-article-page .rt-article-body>.rt-section .rt-section-head h2::before{display:none}
.rt-article-page .rt-article-body>.rt-section .rt-section-head>a{
  color:#2563eb;
  font-size:.8rem;
  font-weight:800;
  text-decoration:none;
}
.rt-article-page .rt-related-stories .rt-feed{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.rt-article-page .rt-related-stories .rt-feed-item{
  display:block!important;
  padding:18px!important;
  border:1px solid #e7ebf0!important;
  border-radius:16px!important;
  background:#fff;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.rt-article-page .rt-related-stories .rt-feed-item:hover{
  transform:translateY(-2px);
  border-color:#d0d9e5!important;
  box-shadow:0 10px 26px rgba(15,23,42,.05);
}
.rt-article-page .rt-related-stories .rt-feed-copy{padding:0!important}
.rt-article-page .rt-related-stories h3{
  margin:0 0 7px!important;
  color:#1d2939;
  font-size:1rem!important;
  line-height:1.65!important;
}
.rt-article-page .rt-related-stories p{
  margin:0 0 10px!important;
  color:#667085!important;
  font-size:.82rem!important;
  line-height:1.72!important;
}
.rt-article-page .rt-related-stories .rt-feed-time{
  color:#98a2b3!important;
  font-size:.71rem!important;
}
.rt-article-page .rt-article-body>.rt-section .rt-topic-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.rt-article-page .rt-article-body>.rt-section .rt-topic-card{
  min-height:80px;
  padding:14px 16px!important;
  border:1px solid #e7ebf0!important;
  border-radius:14px!important;
  background:#fafbfc!important;
}
.rt-article-page .rt-article-body>.rt-section .rt-topic-card b{
  color:#1d2939;
  font-size:.9rem;
  line-height:1.6;
}
.rt-article-page .rt-article-body>.rt-section .rt-topic-card span{
  color:#98a2b3;
  font-size:.69rem;
  line-height:1.5;
}

/* Dynamic shell states */
.rt-article-page #article-loading,
.rt-article-page #article-error{
  max-width:760px;
  margin:80px auto;
  padding:28px!important;
  border:1px solid #eaecf0;
  border-radius:20px;
  background:#fff;
  color:#667085;
  text-align:center;
}

@media(max-width:900px){
  .rt-article-page .rt-article-shell{width:min(100% - 40px,940px)!important}
  .rt-article-page .rt-article-head,
  .rt-article-page .rt-breadcrumbs{max-width:820px}
}
@media(max-width:760px){
  .rt-article-page .rt-article{padding:24px 0 66px!important}
  .rt-article-page .rt-article-shell{width:calc(100% - 28px)!important}
  .rt-article-page .rt-breadcrumbs{margin-bottom:15px;font-size:.69rem}
  .rt-article-page .rt-breadcrumbs>span:last-child{display:none}
  .rt-article-page .rt-article-head{padding-top:2px!important}
  .rt-article-page .rt-article-head h1{
    margin:13px 0 12px!important;
    font-size:clamp(2rem,9vw,2.85rem)!important;
    line-height:1.38!important;
  }
  .rt-locale-ar.rt-article-page .rt-article-head h1{line-height:1.52!important}
  .rt-article-page .rt-deck{font-size:1rem!important;line-height:1.9!important}
  .rt-article-page .rt-byline{
    align-items:flex-start!important;
    margin-top:22px!important;
    padding:14px 0!important;
  }
  .rt-article-page .rt-dates{
    width:100%;
    padding-top:10px;
    border-top:1px solid #edf0f3;
    text-align:start;
  }
  .rt-article-page .rt-article-media{
    margin:22px auto 0!important;
    border-radius:18px!important;
    box-shadow:none!important;
  }
  .rt-article-page .rt-article-media img{max-height:none}
  .rt-article-page .rt-summary{
    margin:25px auto 30px!important;
    padding:19px!important;
    border-radius:17px!important;
  }
  .rt-article-page .rt-article-body{font-size:1rem!important;line-height:2!important}
  .rt-locale-ar.rt-article-page .rt-article-body{font-size:1.02rem!important;line-height:2.06!important}
  .rt-article-page .rt-article-body>h2{margin-top:44px!important;font-size:1.43rem!important}
  .rt-article-page .rt-article-body>h3{font-size:1.08rem!important}
  .rt-article-page .rt-inline-media{
    width:100%;
    margin:28px auto 32px!important;
    border-radius:16px!important;
    box-shadow:none;
  }
  .rt-article-page .rt-source-list{grid-template-columns:1fr}
  .rt-article-page .rt-article-footer{margin-top:38px!important}
  .rt-article-page .rt-related-stories .rt-feed,
  .rt-article-page .rt-article-body>.rt-section .rt-topic-grid{grid-template-columns:1fr}
  .rt-article-page .rt-article-body>.rt-section{margin-top:44px!important;padding-top:24px!important}
}
@media(max-width:420px){
  .rt-article-page .rt-article-shell{width:calc(100% - 22px)!important}
  .rt-article-page .rt-article-head h1{font-size:1.92rem!important}
  .rt-article-page .rt-summary{padding:17px!important}
  .rt-article-page .rt-summary li{font-size:.9rem!important}
  .rt-article-page .rt-article-body{font-size:.98rem!important}
}
@media(prefers-reduced-motion:reduce){
  .rt-reading-progress span{transition:none}
  .rt-article-page .rt-related-stories .rt-feed-item{transition:none!important}
}
