/* ===== كابيتال جيت — الرئيسية الجديدة ===== */
.cgh{
  --g:var(--gold,#B48A3C);
  --nv:var(--navy,#081226);
  --hl:var(--f-head,"Alexandria","IBM Plex Sans Arabic",sans-serif);
  --ln:var(--line,rgba(13,26,51,.09));
  --mu:var(--muted,#5D667A);
  --dot:rgba(13,26,51,.22);
  background:var(--card,#fff);
  color:var(--ink,#14213D);
}
[data-theme="dark"] .cgh{--dot:rgba(255,255,255,.18)}
.cgh a{color:inherit;text-decoration:none}
.cgh-wrap{max-width:1340px;margin:0 auto;padding:14px 24px 44px;box-sizing:border-box}

/* عناصر مشتركة */
.cgh-media{position:relative;overflow:hidden;border-radius:4px;background:var(--soft,#EEE9DF)}
.cgh-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.1s cubic-bezier(.2,.75,.2,1)}
.cgh a:hover .cgh-media img{transform:scale(1.045)}
.cgh-noimg{background:linear-gradient(135deg,#14213D,#0B3D91)}
.cgh-cat{display:block;margin-top:9px;font-size:12px;font-weight:700;line-height:1.4}
.cgh-t{margin:3px 0 4px;font-family:var(--hl);font-weight:700;font-size:15.5px;line-height:1.6;transition:color .3s}
.cgh a:hover .cgh-t,.cgh a:hover .cgh-lead-t{color:var(--brand,#0B3D91)}
[data-theme="dark"] .cgh a:hover .cgh-t,[data-theme="dark"] .cgh a:hover .cgh-lead-t{color:var(--gold-soft,#E5CD98)}
.cgh-time{display:block;font-size:12px;color:var(--mu)}
.cgh-arch{display:inline-block;width:16px;height:12px;border:2px solid var(--g);border-bottom:0;border-radius:9px 9px 0 0;box-sizing:border-box;flex:none}
.cgh-h{display:flex;align-items:center;gap:9px;margin:0;font-family:var(--hl);font-weight:800;font-size:20px}

/* شريط البورصات العالمية */
.cgh-world{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:9px 0 11px;margin-bottom:14px;border-bottom:1px solid var(--ln);position:relative}
.cgh-world::after{content:"";position:absolute;bottom:-1px;right:0;width:90px;height:2px;background:var(--g)}
.cgh-world-title{display:flex;align-items:center;gap:8px;font-family:var(--hl);font-weight:800;font-size:14px;flex:none}
.cgh-world-list{display:flex;flex-wrap:wrap;gap:6px 22px;list-style:none;margin:0;padding:0;font-size:13px}
.cgh-world-list li{display:flex;align-items:center;gap:7px}
.cgh-world-list b{font-weight:700}
.cgh-clock{font-variant-numeric:tabular-nums;color:var(--mu);direction:ltr}
.cgh-state{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:var(--mu)}
.cgh-state::before{content:"";width:7px;height:7px;border-radius:50%;background:#A3A9B7}
.cgh-state.is-open{color:#0E9F6E;font-weight:700}
.cgh-state.is-open::before{background:#0E9F6E;box-shadow:0 0 0 3px rgba(14,159,110,.18)}

/* الإعلانات: بتظهر بس لو فيها إعلان */
.cgh-ad{position:relative;display:flex;justify-content:center;align-items:center}
.cgh-ad-label{position:absolute;top:-16px;right:0;font-size:10px;letter-spacing:.04em;color:var(--mu)}
.cgh-ad-wide{margin:20px auto 18px;max-width:970px}
.cgh-ad-box{margin-top:18px;min-height:250px}
.cgh-ad img,.cgh-ad iframe{max-width:100%;height:auto}
.cgh-ad-inner{width:100%;display:flex;justify-content:center}
.cgh-infeed .cgh-ad{height:100%;margin-top:16px}

/* الصف الأول */
.cgh-top{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr) 300px;gap:22px;padding-bottom:18px;border-bottom:1px solid var(--ln)}
.cgh-lead-t{margin:4px 0 6px;font-family:var(--hl);font-weight:800;font-size:clamp(22px,2.2vw,31px);line-height:1.42;transition:color .3s;text-wrap:balance}
.cgh-lead-ex{margin:0 0 6px;font-size:15px;line-height:1.75;color:var(--mu)}
.cgh-row a{display:grid;grid-template-columns:118px minmax(0,1fr);gap:12px;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--ln)}
.cgh-row .cgh-cat{margin-top:0}
.cgh-bullets{list-style:none;margin:0;padding:0}
.cgh-bullets li a{display:flex;gap:9px;padding:8px 0;border-top:1px dotted var(--dot);font-family:var(--hl);font-weight:600;font-size:14px;line-height:1.6}
.cgh-bullets li:first-child a{border-top:0;padding-top:0}
.cgh-bullets li a::before{content:"";flex:none;width:6px;height:6px;margin-top:10px;background:var(--g);transform:rotate(45deg)}
.cgh-bullets li a:hover{color:var(--brand,#0B3D91)}
.cgh-aside{min-width:0}
.cgh-aside .cg-egx-card{margin:0!important;border:1px solid var(--ln)}

/* شبكة الأخبار */
.cgh-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding-top:18px}
.cgh-textgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 20px;margin-top:14px}
.cgh-text a{display:block;padding:10px 0 12px;border-top:1px dotted var(--dot)}
.cgh-text .cgh-cat{margin-top:0}

/* الأكثر قراءة */
.cgh-most{margin-top:22px;padding:16px 20px 18px;border-radius:4px;background:var(--soft,#F5F2EC);border:1px solid var(--ln)}
.cgh-most ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;margin:12px 0 0;padding:0}
.cgh-most li a{display:flex;gap:11px;align-items:flex-start}
.cgh-num{flex:none;width:38px;height:44px;border-radius:19px 19px 0 0;background:var(--nv);color:var(--gold-soft,#D8BE84);font-family:var(--hl);font-weight:800;font-size:18px;display:flex;align-items:flex-end;justify-content:center;padding-bottom:6px;box-sizing:border-box;border:1px solid rgba(180,138,60,.45)}
.cgh-most .cgh-t{margin:0;font-size:14.5px}

/* الأقسام */
.cgh-sections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:24px}
.cgh-sec-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:8px;border-bottom:2px solid var(--sc)}
.cgh-sec .cgh-arch{border-color:var(--sc)}
.cgh-more{font-size:12px;font-weight:700;color:var(--brand,#0B3D91)!important}
.cgh-more::after{content:" ←"}
.cgh-sec-lead{display:block;margin-top:10px}
.cgh-sec-lead .cgh-t{margin-top:8px}
.cgh-sec-item{display:block;padding:8px 0;margin-top:6px;border-top:1px dotted var(--dot);font-family:var(--hl);font-weight:600;font-size:14px;line-height:1.6;transition:color .3s}
.cgh-sec-item:hover{color:var(--sc)}

/* شاشات أصغر */
@media (max-width:1180px){
  .cgh-top{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 280px;gap:18px}
  .cgh-grid,.cgh-textgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cgh-sections{gap:18px}
}
@media (max-width:1024px){
  .cgh-top{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
  .cgh-aside{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
  .cgh-aside > :only-child{grid-column:1/-1}
  .cgh-ad-box{margin-top:0}
}
@media (max-width:900px){
  .cgh-sections{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cgh-most ol{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .cgh-wrap{padding:10px 16px 32px}
  .cgh-top,.cgh-aside{grid-template-columns:1fr}
  .cgh-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .cgh-textgrid,.cgh-sections,.cgh-most ol{grid-template-columns:1fr}
  .cgh-world{gap:10px}
  .cgh-world-list{gap:6px 14px}
}
@media (prefers-reduced-motion:reduce){.cgh-media img{transition:none}}
