:root {
  --ink: #101a26;
  --muted: #687583;
  --paper: #f6f5f0;
  --surface: #ffffff;
  --line: #e1e4df;
  --red: #e43b2f;
  --red-dark: #b92821;
  --gold: #d6a74a;
  --navy: #0c1e2d;
  --shadow: 0 16px 50px rgba(16, 26, 38, 0.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans Arabic", "Cairo", sans-serif;
  line-height: 1.7;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.top-line { height: 5px; background: var(--red); }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 90px; display: flex; align-items: center; gap: 46px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Cairo, sans-serif; font-weight: 900; font-size: 30px; letter-spacing: -1px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; color: white; background: var(--red); border-radius: 50% 50% 50% 5px; font-size: 25px; line-height: 1; transform: rotate(-7deg); }
.brand-text { transform: translateY(-2px); }
.main-nav { display: flex; gap: 31px; align-items: center; margin-right: auto; font-size: 15px; font-weight: 600; }
.main-nav a { padding: 32px 0 27px; color: var(--muted); border-bottom: 3px solid transparent; transition: .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--red); border-color: var(--red); }
.header-actions { display: flex; gap: 8px; }
.icon-button { border: 0; background: transparent; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: .2s; }
.icon-button:hover { background: #f3eeea; color: var(--red); }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-button { display: none; }
.breaking-bar { color: white; background: var(--navy); font-size: 13px; }
.breaking-inner { min-height: 43px; display: flex; align-items: center; gap: 21px; }
.breaking-label { display: flex; align-items: center; gap: 7px; font-weight: 700; color: #ffb0a9; }
.breaking-label i { width: 7px; height: 7px; background: var(--red); border-radius: 50%; box-shadow: 0 0 0 4px rgba(228,59,47,.16); }
.ticker { display: flex; gap: 52px; overflow: hidden; white-space: nowrap; flex: 1; color: #c2cbd0; }
.ticker span { animation: ticker 18s linear infinite; }
.breaking-inner time { color: #8e9ba5; white-space: nowrap; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-110%); } }
.hero-section { padding: 56px 0 65px; background: var(--surface); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .8fr); gap: 55px; }
.lead-image { min-height: 470px; position: relative; overflow: hidden; background: linear-gradient(145deg, #152d3e 0%, #0b1721 50%, #5d251e 100%); }
.lead-pattern { position: absolute; inset: 0; opacity: .6; background: radial-gradient(circle at 75% 25%, rgba(214,167,74,.68) 0 2px, transparent 3px), linear-gradient(135deg, transparent 20%, rgba(228,59,47,.35) 20.2% 20.8%, transparent 21% 49%, rgba(255,255,255,.06) 49.2% 49.6%, transparent 50%), radial-gradient(ellipse at 62% 52%, #a76238 0 7%, transparent 7.3%), radial-gradient(ellipse at 67% 58%, #d09650 0 4%, transparent 4.3%); background-size: 19px 19px, auto, auto, auto; }
.lead-pattern:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,13,20,.95) 0%, rgba(5,13,20,.12) 70%); }
.story-tag, .mini-tag { display: inline-flex; align-items: center; color: var(--red); font-size: 12px; font-weight: 800; }
.lead-image .story-tag { position: absolute; z-index: 1; top: 27px; right: 29px; padding: 5px 13px; color: white; background: var(--red); }
.lead-number { position: absolute; z-index: 1; top: 16px; left: 29px; color: rgba(255,255,255,.3); font: 800 56px/1 Cairo, sans-serif; }
.lead-overlay { position: absolute; z-index: 1; right: 35px; bottom: 31px; left: 35px; color: white; }
.eyebrow { color: #f3c56d; font-size: 12px; font-weight: 700; letter-spacing: 2px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { max-width: 680px; margin: 8px 0 10px; font: 800 clamp(25px, 3.4vw, 43px)/1.3 Cairo, sans-serif; letter-spacing: -.8px; }
.lead-overlay p { margin-bottom: 17px; color: #d2d8d8; font-size: 14px; }
.read-button { display: inline-flex; align-items: center; gap: 12px; padding: 9px 0; color: white; border: 0; border-bottom: 1px solid rgba(255,255,255,.55); background: transparent; font-weight: 700; }
.read-button svg, .card-link span, .text-link span, .outline-button span { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.hero-side { padding-top: 5px; }
.section-heading { position: relative; margin-bottom: 20px; }
.section-kicker { display: block; margin-bottom: 3px; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.section-heading h2, .video-heading h2 { margin: 0; font: 800 28px/1.3 Cairo, sans-serif; letter-spacing: -.5px; }
.section-heading > a { position: absolute; left: 0; bottom: 2px; color: var(--red); font-size: 12px; font-weight: 700; }
.mini-story { padding: 16px 0 19px; border-top: 1px solid var(--line); }
.mini-story:first-of-type { border-top: 3px solid var(--red); }
.mini-time { float: left; color: #99a1a6; font-size: 11px; }
.mini-tag { margin-top: 0; }
.mini-story h3 { clear: both; margin: 6px 0 10px; font: 700 18px/1.55 Cairo, sans-serif; }
.text-link, .card-link { border: 0; padding: 0; background: none; color: var(--red); font-size: 12px; font-weight: 700; }
.text-link span, .card-link span { display: inline-block; margin-right: 6px; vertical-align: -4px; }
.video-section { padding-top: 67px; padding-bottom: 80px; }
.article-page { padding: 36px 0 80px; background: var(--paper); }
.article-breadcrumb { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 12px; }
.article-breadcrumb a { color: var(--red); }
.full-article { margin-top: 25px; }
.article-header { max-width: 850px; }
.article-header h1 { max-width: 820px; margin: 8px 0 12px; font-size: clamp(30px, 4.4vw, 51px); }
.article-summary { max-width: 730px; color: var(--muted); font-size: 16px; line-height: 2; }
.article-byline { display: flex; flex-wrap: wrap; gap: 20px; padding: 17px 0; margin-top: 20px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 12px; }
.article-visual { position: relative; max-width: 930px; margin-top: 30px; overflow: hidden; background: var(--navy); }
.article-visual video { display: block; width: 100%; height: auto; max-height: 780px; object-fit: contain; margin: 0 auto; background: #071017; }
.article-visual span { position: absolute; right: 17px; bottom: 15px; padding: 4px 10px; color: white; background: rgba(12,30,45,.72); font-size: 11px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 70px; max-width: 930px; padding-top: 34px; }
.article-copy { max-width: 680px; font-size: 17px; line-height: 2.25; }
.article-copy p { margin-bottom: 18px; }
.article-copy blockquote { padding: 10px 22px; margin: 27px 0; color: var(--red); border-right: 3px solid var(--red); font: 700 20px/1.8 Cairo, sans-serif; }
.article-aside { padding-top: 5px; }
.aside-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 12px; }
.share-buttons { display: flex; flex-direction: column; gap: 8px; }
.share-buttons button { padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; text-align: right; }
.share-buttons button:hover { color: var(--red); border-color: var(--red); }
.back-home { display: block; padding-top: 25px; margin-top: 25px; color: var(--red); border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.article-video { padding-top: 50px; }
.article-video .video-card { max-width: 1100px; }
.video-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 23px; }
.video-date { color: var(--muted); font-size: 12px; }
.video-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); min-height: 355px; overflow: hidden; background: var(--navy); color: white; box-shadow: var(--shadow); }
.video-frame { display: flex; justify-content: center; align-items: center; min-height: 355px; background: #071017; }
.video-frame video { display: block; width: 100%; height: auto; max-height: 570px; object-fit: contain; }
.video-copy { display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; }
.video-copy .story-tag { color: #eeb965; }
.video-copy h3 { margin: 11px 0 13px; font: 800 25px/1.45 Cairo, sans-serif; }
.video-copy p { color: #b4c0c4; font-size: 14px; line-height: 2; }
.video-meta { display: flex; gap: 22px; padding-top: 17px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.16); color: #9aabb1; font-size: 11px; }
.video-meta strong { margin-left: 4px; color: #f0c67a; font-size: 13px; }
.news-section { padding-bottom: 78px; }
.section-heading-wide { display: flex; align-items: end; justify-content: space-between; }
.filter-buttons { display: flex; gap: 6px; margin-bottom: 5px; }
.filter { padding: 7px 16px; border: 1px solid var(--line); border-radius: 20px; background: transparent; color: var(--muted); font-size: 12px; }
.filter:hover, .filter.active { color: white; border-color: var(--red); background: var(--red); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card.hidden { display: none; }
.featured-card { grid-column: span 2; display: grid; grid-template-columns: .93fr 1.07fr; }
.card-visual { position: relative; min-height: 202px; overflow: hidden; display: flex; align-items: end; padding: 17px; color: white; font: 700 14px Cairo, sans-serif; }
.card-visual:before, .card-visual:after { content: ""; position: absolute; border-radius: 50%; }
.card-visual:before { width: 220px; height: 220px; top: -90px; left: -50px; border: 28px solid rgba(255,255,255,.1); }
.card-visual:after { width: 150px; height: 150px; right: -36px; bottom: -45px; background: rgba(214,167,74,.28); }
.card-visual span { position: relative; z-index: 1; padding: 3px 10px; background: rgba(0,0,0,.35); }
.card-visual b { position: absolute; z-index: 1; top: 10px; left: 15px; color: rgba(255,255,255,.45); font: 800 34px Cairo, sans-serif; }
.visual-sinai { background: linear-gradient(140deg, #d8a252, #7e3b27 43%, #172b3d); }
.visual-market { background: linear-gradient(140deg, #476c58, #162f3b); }
.visual-community { background: linear-gradient(140deg, #b86346, #442f3e); }
.visual-coast { background: linear-gradient(140deg, #53a9bb, #164969); }
.visual-culture { background: linear-gradient(140deg, #9b5a66, #372741); }
.card-content { padding: 21px 23px 22px; }
.card-category { color: var(--muted); font-size: 11px; }
.card-category i { display: inline-block; width: 4px; height: 4px; margin: 0 6px; vertical-align: 2px; background: var(--red); border-radius: 50%; }
.card-content h3 { margin: 7px 0 8px; font: 700 17px/1.55 Cairo, sans-serif; }
.card-content p { min-height: 47px; margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.opinion-section { display: flex; align-items: center; gap: 24px; padding: 25px 30px; margin-bottom: 74px; color: white; background: var(--red); }
.opinion-mark { margin-top: -10px; font: 900 82px/.6 Cairo, sans-serif; color: #f17a6f; }
.opinion-section p { margin: 0; font: 700 20px/1.7 Cairo, sans-serif; }
.opinion-section .section-kicker { color: #ffc2ba; }
.outline-button { margin-right: auto; padding: 8px 16px; border: 1px solid rgba(255,255,255,.55); font-size: 12px; font-weight: 700; }
.outline-button span { display: inline-block; margin-right: 6px; vertical-align: -4px; }
.site-footer { padding: 51px 0 21px; color: #acb7bc; background: var(--navy); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 60px; padding-bottom: 37px; }
.footer-brand { color: white; }
.footer-brand .brand-mark { width: 37px; height: 37px; font-size: 21px; }
.site-footer p { margin: 17px 0 0; font-size: 13px; line-height: 2; }
.footer-links { display: flex; flex-direction: column; align-items: start; gap: 4px; font-size: 12px; }
.footer-links h4 { margin: 0 0 10px; color: white; font-size: 14px; }
.footer-links a:hover { color: #f0be6b; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #74848b; font-size: 11px; }
.search-panel, .article-modal { position: fixed; z-index: 10; inset: 0; display: grid; place-items: start center; padding-top: 13vh; background: rgba(8, 17, 25, .72); opacity: 0; visibility: hidden; transition: .25s; }
.search-panel.open, .article-modal.open { opacity: 1; visibility: visible; }
.search-inner, .modal-inner { position: relative; width: min(600px, calc(100% - 36px)); padding: 35px; background: var(--surface); box-shadow: var(--shadow); transform: translateY(-15px); transition: .25s; }
.open .search-inner, .open .modal-inner { transform: translateY(0); }
.close-button { position: absolute; top: 12px; left: 15px; width: 32px; height: 32px; border: 0; background: transparent; color: var(--muted); font-size: 25px; line-height: 1; }
.search-inner label { display: block; margin: 19px 0 6px; font-size: 13px; font-weight: 700; }
.search-field { display: flex; align-items: center; border-bottom: 2px solid var(--red); }
.search-field input { flex: 1; padding: 11px 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; }
.search-field span { color: var(--red); font-size: 25px; }
.search-results { margin-top: 12px; color: var(--muted); font-size: 13px; }
.result-item { padding: 9px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.modal-inner { max-height: 75vh; overflow: auto; }
.modal-title { margin: 8px 0; font: 800 27px/1.5 Cairo, sans-serif; }
.modal-meta { color: var(--red); font-size: 12px; }
.modal-body { margin-top: 18px; color: var(--muted); line-height: 2.1; font-size: 14px; }
.modal-body p { margin-bottom: 13px; }

body.dark { --paper: #101920; --surface: #17242d; --ink: #eef2f2; --muted: #a7b5ba; --line: #2c3a42; }
body.dark .site-header, body.dark .hero-section { background: #14212a; }
body.dark .icon-button:hover { background: #27363f; }
body.dark .news-card { background: #17242d; }
body.dark .filter { color: #a7b5ba; }
body.dark .article-page { background: var(--paper); }

@media (max-width: 840px) {
  .container { width: min(100% - 32px, 620px); }
  .header-inner { min-height: 72px; justify-content: space-between; gap: 12px; }
  .menu-button { display: flex; flex-direction: column; gap: 4px; }
  .menu-button span { width: 19px; height: 2px; background: currentColor; }
  .main-nav { position: absolute; z-index: 4; top: 77px; right: 16px; left: 16px; display: none; flex-direction: column; gap: 0; align-items: stretch; padding: 8px 18px; background: var(--surface); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 9px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border: 0; }
  .brand { font-size: 25px; }
  .brand-mark { width: 36px; height: 36px; font-size: 21px; }
  .breaking-inner time { display: none; }
  .hero-section { padding: 31px 0 45px; }
  .hero-grid { display: block; }
  .lead-image { min-height: 420px; }
  .hero-side { margin-top: 37px; }
  .video-card, .featured-card { display: block; }
  .video-copy { padding: 27px; }
  .video-frame, .card-visual { min-height: 290px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-card { grid-column: span 2; }
  .opinion-section { align-items: start; flex-wrap: wrap; margin-bottom: 50px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; }
  .article-aside { padding-top: 0; }
  .share-buttons { flex-direction: row; }
  .share-buttons button { flex: 1; }
  .opinion-section p { font-size: 17px; }
  .outline-button { margin-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > :first-child { grid-column: span 2; }
}
@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .header-actions { margin-right: auto; }
  .breaking-inner { gap: 13px; }
  .ticker { font-size: 11px; }
  .ticker span + span { display: none; }
  .lead-image { min-height: 440px; }
  .lead-overlay { right: 22px; bottom: 23px; left: 22px; }
  h1 { font-size: 27px; }
  .section-heading-wide { align-items: start; flex-direction: column; gap: 15px; }
  .filter-buttons { overflow-x: auto; max-width: 100%; padding-bottom: 3px; }
  .filter { white-space: nowrap; }
  .news-grid { display: block; }
  .news-card { margin-bottom: 16px; }
  .featured-card { display: block; }
  .video-section { padding-top: 45px; padding-bottom: 57px; }
  .article-page { padding-top: 24px; }
  .article-header h1 { font-size: 29px; }
  .article-summary { font-size: 14px; }
  .article-byline { gap: 7px 14px; }
  .article-copy { font-size: 15px; }
  .video-heading { align-items: start; gap: 5px; flex-direction: column; }
  .video-frame { min-height: 0; }
  .video-copy h3 { font-size: 22px; }
  .opinion-section { gap: 10px; padding: 20px; }
  .opinion-mark { font-size: 60px; }
  .footer-grid { display: block; }
  .footer-links { margin-top: 28px; }
  .footer-bottom { flex-direction: column; gap: 5px; }
  .search-inner, .modal-inner { padding: 27px 21px; }
}