/* Neda Horizon v1.7.1 — article-page visual refinement; homepage/category unchanged. */
.nh-article-page .nh-article-content .item-page > .page-header h1,
.nh-article-page .nh-article-content .item-page > .page-header h2,
.nh-article-page .nh-article-content .page-header > h1,
.nh-article-page .nh-article-content .page-header > h2,
.nh-article-page .nh-article-content .item-page > h1:first-child,
.nh-article-page .nh-article-content .item-page > h2:first-child {
  font-family:var(--nh-arabic-font),"Noto Kufi Arabic",Tahoma,sans-serif;
  font-size:clamp(22px,1.95vw,29px) !important;
  line-height:1.63 !important;
  font-weight:850 !important;
  letter-spacing:0;
  text-wrap:balance;
  margin-block:0 11px;
}
.nh-article-page .nh-inner-layout{grid-template-columns:minmax(0,1fr) 286px;gap:22px;align-items:start}
.nh-article-page .nh-article-content{padding:28px clamp(19px,2.55vw,37px) 35px}
.nh-article-page .nh-article-content .item-page .article-info{margin-bottom:20px;padding-top:5px}
.nh-article-page .nh-inner-side.nh-article-sidebar{
  display:flex;flex-direction:column;gap:17px;position:static;top:auto;
  padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;min-width:0
}
.nh-article-guides,.nh-article-latest{min-width:0;background:#fff;border:1px solid var(--nh-line);border-radius:12px;padding:14px;box-shadow:0 5px 16px rgba(13,47,65,.035)}
.nh-article-sidebar-head{border-bottom:1px solid #e4ebef;margin-bottom:13px;padding:1px 1px 11px}
.nh-article-sidebar-head h2{font-size:15px;line-height:1.65;font-weight:850;margin:3px 0 0;color:#102d42}
.nh-article-sidebar-head .nh-overline{font-size:10px;color:var(--nh-accent);font-weight:850}
.nh-article-page .nh-inner-side.nh-article-sidebar a{border-bottom:none;text-decoration:none}
.nh-article-page .nh-article-guide{
  display:block;overflow:hidden;padding:0 0 12px;margin:0 0 14px;
  border-bottom:1px solid #e4ebef !important;border-radius:0;color:var(--nh-navy)
}
.nh-article-page .nh-article-guide:last-child{padding-bottom:0;margin-bottom:0;border-bottom:none !important}
.nh-guide-media{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;overflow:hidden;border-radius:9px;background:linear-gradient(125deg,#1d566b,#122c48);margin:0 0 9px;isolation:isolate}
.nh-guide-media.nh-guide-diaspora{background:linear-gradient(125deg,#16405d,#1b7293)}
.nh-guide-media:after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(4,20,35,.57),transparent 65%);pointer-events:none}
.nh-guide-media img{display:block;width:100%;height:100%!important;object-fit:cover;transition:transform .2s ease}
.nh-article-guide:hover .nh-guide-media img{transform:scale(1.025)}
.nh-guide-visual-mark{font-size:73px;line-height:1;color:rgba(255,255,255,.45);font-weight:400}
.nh-guide-overlay-label{position:absolute;z-index:2;bottom:10px;right:12px;font-size:11px;font-weight:850;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.nh-guide-title,.nh-guide-subtitle{display:block}
.nh-guide-title{font-size:12.2px;font-weight:850;line-height:1.8;color:#0e3045}
.nh-guide-subtitle{font-size:10px;line-height:1.75;color:#60798a;font-weight:600;margin-top:3px}
.nh-article-guide:hover .nh-guide-title{color:var(--nh-accent)}
.nh-article-latest-list{list-style:none;margin:0;padding:0;counter-reset:nh-latest}
.nh-article-latest-list>li{margin:0;border-bottom:1px solid #e7edf1;counter-increment:nh-latest}
.nh-article-latest-list>li:last-child{border-bottom:0}
.nh-article-page .nh-article-latest-list a{display:flex;align-items:center;gap:9px;padding:10px 0;min-height:65px;color:#16354b;line-height:1.65;font-size:11px;font-weight:800}
.nh-article-latest-list a:before{content:counter(nh-latest,decimal-leading-zero);align-self:start;flex:none;min-width:20px;color:var(--nh-accent);font-weight:900;font-size:10px;direction:ltr}
.nh-latest-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-width:0;flex:1}
.nh-latest-thumb{flex:0 0 57px;width:57px;height:54px;background:#e5edf1;overflow:hidden;border-radius:7px;order:3}
.nh-latest-thumb img{display:block;width:100%;height:100%!important;object-fit:cover}
.nh-article-latest a:hover .nh-latest-title{color:var(--nh-accent)}
.nh-latest-empty{font-size:11px;color:#5e7381}
/* The expandable outline is now part of reading, not the article sidebar. */
.nh-article-page .nh-article-content .nh-article-toc-inline{margin:0 0 18px;padding:0;border:1px solid #e0e8ef;border-radius:9px;background:#f7fafc}
.nh-article-page .nh-article-toc-inline summary{padding:10px 14px;color:#153b53;font-size:12px;font-weight:800;cursor:pointer;list-style:none}
.nh-article-page .nh-article-toc-inline summary::-webkit-details-marker{display:none}
.nh-article-page .nh-article-toc-inline summary span{float:left;color:var(--nh-accent)}
.nh-article-page .nh-article-toc-inline nav{display:grid;gap:0;padding:0 12px 12px}
.nh-article-page .nh-article-toc-inline nav a{padding:6px 8px;border-right:2px solid #dae4eb;line-height:1.8;font-size:11px;font-weight:700;color:#2f5266}
.nh-article-page .nh-article-toc-inline nav a:hover{border-color:var(--nh-accent);color:var(--nh-accent)}
.nh-article-related{margin-top:38px;border-top:2px solid #dbe5ec;padding-top:19px;clear:both}
.nh-related-heading{margin-bottom:16px}
.nh-related-heading .nh-overline{font-size:10px;color:var(--nh-accent);font-weight:850}
.nh-related-heading h2{margin:0;font-size:19px;line-height:1.65;color:var(--nh-navy);font-weight:900}
.nh-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.nh-article-page .nh-article-content .nh-related-card{display:flex;flex-direction:column;border:1px solid #e1e8ef;border-radius:9px;overflow:hidden;background:#fff;color:#112f44;text-decoration:none;min-width:0;padding:0}
.nh-related-cover{display:block;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(125deg,#eaf1f5,#cfdce5)}
.nh-related-cover img{display:block;width:100%;height:100%!important;object-fit:cover}
.nh-related-meta{font-size:10px;font-weight:800;color:var(--nh-accent);padding:10px 11px 0}
.nh-related-title{padding:4px 11px 13px;font-weight:800;font-size:11.5px;line-height:1.8;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.nh-related-card:hover{box-shadow:0 7px 20px rgba(16,49,67,.09);border-color:#c6d5e0}
@media(max-width:1110px){.nh-article-page .nh-inner-layout{grid-template-columns:minmax(0,1fr) 260px;gap:18px}}
@media(max-width:960px){
  .nh-article-page .nh-inner-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:21px}
  .nh-article-page .nh-inner-side.nh-article-sidebar{display:grid;position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .nh-article-sidebar-head h2{font-size:15px}
}
@media(max-width:600px){
  .nh-article-page .nh-inner-side.nh-article-sidebar{grid-template-columns:minmax(0,1fr)}
  .nh-article-page .nh-article-content{padding:20px 15px 25px}
  .nh-article-page .nh-article-content .item-page > .page-header h1,
  .nh-article-page .nh-article-content .item-page > .page-header h2,
  .nh-article-page .nh-article-content .page-header > h1,
  .nh-article-page .nh-article-content .page-header > h2,
  .nh-article-page .nh-article-content .item-page > h1:first-child,
  .nh-article-page .nh-article-content .item-page > h2:first-child{font-size:clamp(21px,5.1vw,24px) !important;line-height:1.65 !important}
  .nh-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .nh-related-grid .nh-related-card:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:360px){.nh-related-grid{grid-template-columns:1fr}}
@media print{.nh-article-sidebar,.nh-article-related,.nh-article-toc-inline{display:none!important}}
