﻿:root {
  --bg: #07110d;
  --bg-soft: #0e1c16;
  --surface: rgba(255, 255, 255, .075);
  --surface-strong: rgba(255, 255, 255, .12);
  --text: #f7f5ee;
  --muted: #b9c3b9;
  --line: rgba(255, 255, 255, .12);
  --gold: #c8a24d;
  --gold-soft: rgba(200, 162, 77, .16);
  --green: #0f3f2f;
  --teal: #35a38a;
  --red: #d94b4b;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Inter', sans-serif;
}

[data-theme="light"] {
  --bg: #f5f3ec;
  --bg-soft: #ffffff;
  --surface: rgba(15, 63, 47, .06);
  --surface-strong: rgba(15, 63, 47, .10);
  --text: #15221c;
  --muted: #5f6b63;
  --line: rgba(15, 63, 47, .14);
  --shadow: 0 24px 70px rgba(20, 28, 23, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(53, 163, 138, .14), transparent 32rem),
    linear-gradient(135deg, var(--bg), #151712 55%, var(--bg));
  min-height: 100vh;
  overflow-x: hidden;
}
body.is-rtl { font-family: var(--font-ar); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(5, 16, 12, .76);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
}
[data-theme="light"] .site-header.is-scrolled { background: rgba(245, 243, 236, .82); }
.agency-brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; letter-spacing: 0; min-width: 13rem; }
.agency-brand img, .footer-brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(200,162,77,.22)); }
.navbar { min-height: 78px; }
.navbar .nav-link { color: var(--muted); font-weight: 700; padding: .65rem .8rem; }
.navbar .nav-link:hover { color: var(--text); }
.search-pill {
  min-width: 220px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 0 .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}
.search-pill input { width: 100%; background: transparent; border: 0; outline: 0; color: var(--text); }
.nav-actions { display: flex; gap: .45rem; align-items: center; margin-inline-start: .65rem; }
.icon-btn {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  padding: 0 .85rem;
  font-weight: 800;
}
button.icon-btn { cursor: pointer; }
.top-ad { padding-top: .55rem; padding-bottom: .55rem; }
.top-ad a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(200,162,77,.18), rgba(53,163,138,.10));
  color: var(--text);
  border-radius: 8px;
}
.top-ad strong { color: var(--gold); }
.ticker-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border-block: 1px solid var(--line);
  background: rgba(0,0,0,.18);
  overflow: hidden;
}
.ticker-label { background: var(--red); color: #fff; padding: .8rem 1.25rem; font-weight: 900; }
.ticker-track { overflow: hidden; white-space: nowrap; }
.ticker-content { display: inline-flex; gap: 2.2rem; animation: ticker 38s linear infinite; padding-inline: 2rem; }
.ticker-content a { color: var(--muted); font-weight: 700; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.page-shell { min-height: 60vh; }
.hero-news {
  min-height: clamp(640px, 86vh, 900px);
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-news canvas, .hero-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-news canvas { z-index: -2; }
.hero-fallback {
  z-index: -3;
  background:
    linear-gradient(115deg, rgba(15,63,47,.74), transparent 42%),
    radial-gradient(circle at 72% 42%, rgba(200,162,77,.18), transparent 18rem),
    repeating-linear-gradient(90deg, transparent 0 56px, rgba(255,255,255,.035) 57px 58px);
  animation: fallback-pan 14s ease-in-out infinite alternate;
}
.hero-news::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}
@keyframes fallback-pan { from { transform: scale(1.02); } to { transform: scale(1.08) translateY(-10px); } }
.hero-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); align-items: center; gap: 2rem; }
.hero-copy { max-width: 760px; }
.section-kicker { display: inline-flex; gap: .55rem; align-items: center; color: var(--gold); text-transform: uppercase; font-weight: 900; font-size: .82rem; letter-spacing: 0; }
h1, h2, h3 { letter-spacing: 0; }
.hero-copy h1 { font-size: clamp(3.2rem, 8vw, 7.8rem); line-height: .95; font-weight: 900; margin: 1rem 0; max-width: 920px; }
.hero-copy p { font-size: clamp(1.05rem, 1.7vw, 1.45rem); color: var(--muted); max-width: 640px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn { border-radius: 999px; font-weight: 900; padding: .8rem 1.25rem; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #181409; }
.btn-gold:hover { background: #e0bd65; border-color: #e0bd65; color: #181409; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.hero-live-stack { display: grid; gap: 1rem; perspective: 900px; }
.floating-brief {
  padding: 1.1rem;
  min-height: 108px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  border-radius: 8px;
  transform: rotateY(-7deg);
}
.floating-brief:nth-child(2) { transform: translateX(-22px) rotateY(-5deg); }
.floating-brief:nth-child(3) { transform: translateX(18px) rotateY(-8deg); }
.floating-brief span { color: var(--gold); font-weight: 900; font-size: .78rem; }
.floating-brief strong { display: block; margin-top: .45rem; line-height: 1.6; }
.section-block { padding-top: clamp(3.4rem, 7vw, 6rem); padding-bottom: clamp(3.4rem, 7vw, 6rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-heading h2 { font-size: clamp(1.9rem, 3vw, 3.2rem); font-weight: 900; margin: 0; }
.featured-panel { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 440px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-body { padding: clamp(1.4rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.news-meta { display: flex; flex-wrap: wrap; gap: .7rem; color: var(--gold); font-weight: 800; font-size: .86rem; margin-bottom: .75rem; }
.featured-body h2 { font-size: clamp(2rem, 4vw, 4rem); font-weight: 900; line-height: 1.08; }
.featured-body p, .news-card p, .report-row p { color: var(--muted); line-height: 1.8; }
.text-link { color: var(--gold); font-weight: 900; margin-top: auto; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.news-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.news-card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; min-height: 100%; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.news-card:hover { transform: translateY(-6px); border-color: rgba(200,162,77,.55); background: var(--surface-strong); }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover img { transform: scale(1.05); }
.badge-live { display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; border-radius: 999px; padding: .35rem .65rem; font-size: .78rem; font-weight: 900; }
.news-card .badge-live { position: absolute; top: .75rem; inset-inline-start: .75rem; }
.news-card__body { padding: 1rem; }
.news-card h3 { font-size: 1.1rem; line-height: 1.5; font-weight: 900; }
.side-rail { position: sticky; top: 100px; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 1.1rem; }
.side-rail h3 { font-weight: 900; margin-bottom: 1rem; }
.most-read-list { padding: 0; margin: 0; list-style: none; display: grid; gap: .9rem; }
.most-read-list li { display: grid; grid-template-columns: 48px 1fr; gap: .8rem; align-items: start; }
.most-read-list span { color: var(--gold); font-weight: 900; font-size: 1.15rem; }
.most-read-list a { color: var(--text); font-weight: 800; line-height: 1.55; }
.ad-card, .wide-ad { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: 1.25rem; background: var(--surface); }
.ad-card img, .wide-ad img { width: 100%; height: auto; }
.category-cloud { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; }
.category-chip { min-height: 92px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; font-weight: 900; transition: .25s ease; }
.category-chip i { color: var(--gold); font-size: 1.35rem; }
.category-chip:hover { transform: translateY(-4px); border-color: rgba(200,162,77,.55); }
.visual-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: .8rem; }
.visual-card { position: relative; min-height: 300px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); padding: 1rem; display: flex; flex-direction: column; justify-content: end; }
.visual-card:first-child { min-height: 430px; }
.visual-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.visual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 30%, rgba(0,0,0,.82)); z-index: -1; }
.visual-card span { color: var(--gold); font-weight: 900; }
.visual-card strong { font-size: 1.1rem; line-height: 1.45; }
.report-list { display: grid; gap: 1rem; }
.report-row { display: grid; grid-template-columns: 120px 1fr 1.4fr; gap: 1.2rem; align-items: start; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.report-row span { color: var(--gold); font-weight: 900; }
.report-row h3 { font-weight: 900; line-height: 1.45; }
.inner-hero { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 2.5rem; }
.inner-hero h1 { font-size: clamp(2.4rem, 5vw, 5.5rem); font-weight: 900; max-width: 980px; }
.inner-hero p { color: var(--muted); max-width: 820px; font-size: 1.15rem; line-height: 1.9; }
.article-header { max-width: 1040px; margin: 0 auto; padding-top: clamp(4rem, 8vw, 7rem); text-align: center; }
.article-header h1 { font-size: clamp(2.35rem, 5vw, 5.6rem); font-weight: 900; line-height: 1.08; }
.article-header p { color: var(--muted); font-size: 1.18rem; line-height: 1.9; max-width: 820px; margin: 1rem auto; }
.article-byline { display: flex; justify-content: center; gap: 1.2rem; color: var(--muted); }
.article-hero-image { width: min(1180px, calc(100% - 2rem)); margin: 2rem auto; border-radius: 8px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.article-layout { display: grid; grid-template-columns: minmax(0, 820px) 320px; gap: 2rem; justify-content: center; padding-bottom: 5rem; }
.article-content { font-size: 1.12rem; line-height: 2.05; }
.article-content p { margin-bottom: 1.35rem; }
.article-side { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: 1rem; align-self: start; position: sticky; top: 100px; }
.related-link { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 800; line-height: 1.55; }
.share-row { display: flex; align-items: center; gap: .65rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.share-row a, .social-row a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); }
.filter-bar, .large-search { display: flex; gap: .8rem; align-items: center; margin-bottom: 1.4rem; }
.filter-bar .form-select { max-width: 220px; }
.large-search input { flex: 1; min-height: 58px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); padding-inline: 1.2rem; }
.pagination-row { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pagination-row a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; }
.pagination-row a.active { background: var(--gold); color: #181409; }
.empty-state { padding: 2rem; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--surface); }
.page-logo { width: 96px; margin-bottom: 1rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.value-card, .contact-card, .contact-form, .login-card { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: clamp(1.1rem, 2.4vw, 2rem); box-shadow: var(--shadow); }
.value-card span { color: var(--gold); font-weight: 900; }
.value-card h2 { font-weight: 900; margin-top: .5rem; }
.value-card p { color: var(--muted); line-height: 1.85; }
.static-content { max-width: 940px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.4rem; padding-bottom: 5rem; }
.form-control, .form-select { background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--text); border-radius: 8px; }
.form-control:focus, .form-select:focus { background: rgba(255,255,255,.10); color: var(--text); border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(200,162,77,.12); }
.contact-card img { width: 96px; margin-bottom: 1rem; }
.login-stage { min-height: 78vh; display: grid; place-items: center; padding: 3rem 1rem; }
.login-card { width: min(100%, 430px); }
.login-card img { width: 82px; margin-bottom: 1rem; }
.login-card label { margin-top: .8rem; font-weight: 800; }
.login-hint { color: var(--muted); margin-top: 1rem; font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); background: rgba(0,0,0,.22); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; font-size: 1.2rem; }
.site-footer p, .site-footer a { color: var(--muted); line-height: 1.8; }
.site-footer a { display: block; }
.site-footer h3 { font-size: 1rem; font-weight: 900; margin-bottom: 1rem; }
.social-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1199px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid, .article-layout, .contact-layout { grid-template-columns: 1fr; }
  .side-rail, .article-side { position: static; }
  .category-cloud { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visual-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .hero-news { min-height: 720px; }
  .hero-content { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-copy h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .hero-live-stack { display: none; }
  .featured-panel, .report-row { grid-template-columns: 1fr; }
  .featured-media { min-height: 280px; }
  .news-grid, .category-cloud, .visual-strip, .values-grid, .footer-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .ticker-wrap { grid-template-columns: 1fr; }
  .ticker-label { text-align: center; }
  .search-pill { min-width: 100%; margin: .75rem 0; }
  .article-byline, .filter-bar, .large-search, .footer-bottom { flex-direction: column; align-items: stretch; }
}
