@import url('../fonts/cairo.css');
@import url('../fonts/serif.css');

/* ===== Rec News Egypt — site styles =====
   Arabic RTL, mobile first. Navy + red from the logo. */

:root{
  --navy:#101C2C;
  --navy-2:#0B1420;
  --navy-3:#1A2A3F;
  --red:#E22028;
  --red-d:#C31820;
  --ink:#14202E;
  --body:#3D4653;
  --muted:#77828F;
  --line:#E4E8EC;
  --soft:#F5F7F9;
  --white:#fff;
  --radius:14px;
  --shadow:0 1px 2px rgba(16,28,44,.05), 0 8px 24px rgba(16,28,44,.06);
  --maxw:1180px;
  --gutter:16px;
  --serif:'Playfair Display', Georgia, 'Times New Roman', serif;
}

*,*::before,*::after{box-sizing:border-box}

html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--white);
  color:var(--body);
  font-family:'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size:16px;
  line-height:1.85;
  font-weight:400;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
h1,h2,h3,h4{margin:0;color:var(--navy);line-height:1.35;font-weight:800;letter-spacing:-.2px}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0;list-style:none}

.wrap{max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}

.skip{position:absolute;inset-inline-start:-9999px;top:0;background:var(--navy);color:#fff;padding:10px 16px;z-index:99}
.skip:focus{inset-inline-start:8px;top:8px}

:focus-visible{outline:3px solid var(--red);outline-offset:2px;border-radius:6px}

/* ---------- demo notice ---------- */
.demo-bar{
  background:#FFF7E6;color:#7A5300;border-bottom:1px solid #F2E2BF;
  font-size:12.5px;line-height:1.6;
}
.demo-bar .wrap{display:flex;align-items:center;gap:10px;padding-top:7px;padding-bottom:7px}
.demo-bar p{margin:0;flex:1}
.demo-bar b{font-weight:800}
.demo-close{
  background:transparent;border:1px solid #E3CE9E;color:#7A5300;border-radius:8px;
  font-size:12px;padding:2px 9px;line-height:1.7;flex:none;
}
.demo-bar.is-hidden{display:none}

/* ---------- top bar ---------- */
.topbar{background:var(--navy);color:#C8D2DE;font-size:12px;line-height:1}
.topbar .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:34px}
.topbar .date{color:#E6ECF3;font-weight:600}
.topbar ul{display:flex;gap:14px;align-items:center}
.topbar a{color:#C8D2DE}
.topbar a:hover{color:#fff}
.topbar .live{display:inline-flex;align-items:center;gap:6px;color:#fff;font-weight:700}
.topbar .live i{width:7px;height:7px;border-radius:50%;background:var(--red);display:inline-block;animation:pulse 2.4s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
.topbar .top-links{display:none}
@media (min-width:640px){.topbar .top-links{display:flex}}

/* ---------- header ---------- */
.header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
.header.is-stuck{box-shadow:0 6px 18px rgba(16,28,44,.07)}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:78px}

.brand{display:inline-flex;align-items:center;flex:none;line-height:0}
.brand img{height:54px;width:auto;display:block}
@media (min-width:900px){.brand img{height:62px}}

.nav{display:none}
@media (min-width:900px){
  .nav{display:flex;align-items:center;gap:4px}
  .nav a{
    padding:10px 13px;border-radius:10px;color:var(--ink);font-weight:700;font-size:14.5px;
  }
  .nav a:hover{background:var(--soft);color:var(--navy)}
  .nav a.is-active{color:var(--red)}
}

.header-tools{display:flex;align-items:center;gap:8px}

.icon-btn{
  width:40px;height:40px;border-radius:10px;border:1px solid var(--line);background:#fff;
  display:inline-flex;align-items:center;justify-content:center;color:var(--navy);
}
.icon-btn:hover{background:var(--soft)}
.menu-btn{display:inline-flex}
@media (min-width:900px){.menu-btn{display:none}}

/* mobile menu */
.mobile-menu{
  display:none;border-top:1px solid var(--line);background:#fff;
}
.mobile-menu.is-open{display:block}
.mobile-menu ul{padding:8px 0}
.mobile-menu a{
  display:flex;justify-content:space-between;align-items:center;
  padding:13px var(--gutter);font-weight:700;color:var(--navy);border-bottom:1px solid var(--line);
}
.mobile-menu li:last-child a{border-bottom:0}
.mobile-menu a span{color:var(--muted);font-weight:400;font-size:12px}

/* ---------- ticker ---------- */
.ticker{background:var(--red);color:#fff}
.ticker .wrap{display:flex;align-items:center;gap:12px;min-height:44px;padding-top:8px;padding-bottom:8px;overflow:hidden}
.ticker .chip{
  background:rgba(0,0,0,.22);color:#fff;font-weight:800;font-size:12.5px;
  padding:4px 10px;border-radius:6px;flex:none;letter-spacing:.3px;
}
.ticker p{margin:0;font-size:13.5px;line-height:1.5;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
@media (min-width:640px){.ticker p{white-space:nowrap;display:block;-webkit-line-clamp:none}}
.ticker time{opacity:.85;font-size:12.5px;flex:none;display:none}
@media (min-width:640px){.ticker time{display:inline}}

/* ---------- shared bits ---------- */
.tag{
  display:inline-block;background:var(--red);color:#fff;font-size:11.5px;font-weight:800;
  padding:3px 9px 4px;border-radius:5px;letter-spacing:.2px;line-height:1.5;
  align-self:flex-start;width:fit-content;
}
.tag--ghost{background:var(--soft);color:var(--navy)}
.tag--dark{background:var(--navy)}
.meta{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12.5px;flex-wrap:wrap}
.meta .dot{width:3px;height:3px;border-radius:50%;background:currentColor;display:inline-block}
.src{color:var(--muted);font-size:12px}

.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
.section-head h2{
  font-size:19px;display:flex;align-items:center;gap:10px;
}
.section-head h2::before{content:"";width:4px;height:20px;border-radius:3px;background:var(--red);display:block}
.section-head a{color:var(--red);font-size:13px;font-weight:700}
.section-head a:hover{color:var(--red-d)}

.thumb{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--soft);display:block}
.thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
a:hover .thumb img{transform:scale(1.03)}

.play{
  position:absolute;inset-inline-start:10px;bottom:10px;
  width:34px;height:34px;border-radius:50%;background:rgba(16,28,44,.72);color:#fff;
  display:flex;align-items:center;justify-content:center;backdrop-filter:blur(2px);
}
.dur{
  position:absolute;inset-inline-end:10px;bottom:10px;background:rgba(11,20,32,.82);color:#fff;
  font-size:11.5px;font-weight:700;padding:2px 7px;border-radius:5px;line-height:1.6;
}

/* ---------- home: lead ---------- */
.home-top{padding:18px 0 6px}
.home-grid{display:grid;gap:22px}
@media (min-width:900px){
  .home-grid{grid-template-columns:1.65fr .85fr;gap:34px;align-items:start}
}

.lead{display:block}
.lead .thumb{aspect-ratio:16/10;margin-bottom:14px;box-shadow:var(--shadow)}
@media (min-width:900px){.lead .thumb{aspect-ratio:16/9}}
.lead h1{font-size:clamp(23px,6.4vw,38px);line-height:1.3;margin:10px 0 10px}
.lead p{font-size:15.5px;color:var(--body);margin-bottom:12px}
@media (min-width:900px){.lead p{font-size:17px}}

.latest{border-top:3px solid var(--navy);padding-top:0}
.latest h2{font-size:15px;padding:11px 0;border-bottom:1px solid var(--line);letter-spacing:0}
.latest li{border-bottom:1px solid var(--line)}
.latest li:last-child{border-bottom:0}
.latest a{display:block;padding:13px 0}
.latest a:hover h3{color:var(--red)}
.latest h3{font-size:15px;font-weight:700;line-height:1.6;margin-bottom:5px;transition:color .15s}
.latest .meta{font-size:12px}
.latest .kicker{color:var(--red);font-weight:800;font-size:11.5px}

/* ---------- cards ---------- */
.band{padding:26px 0}
.band--soft{background:var(--soft)}
.cards{display:grid;gap:20px}
@media (min-width:640px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.cards--3{grid-template-columns:repeat(3,1fr)}}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:box-shadow .2s,transform .2s}
.card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.card .thumb{aspect-ratio:3/2;border-radius:0}
.card .body{padding:14px 15px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.card h3{font-size:16.5px;line-height:1.55}
.card p{font-size:13.5px;color:var(--muted);margin:0;line-height:1.75}
.card .meta{margin-top:auto;padding-top:4px}

/* ---------- video band ---------- */
.videos{background:var(--navy);color:#D7DEE8;padding:28px 0 30px}
.videos .section-head h2{color:#fff}
.videos .section-head h2::before{background:var(--red)}
.videos .section-head a{color:#fff;opacity:.85}
.videos .section-head a:hover{opacity:1;color:#fff}
.vrail{
  display:grid;gap:16px;grid-auto-flow:column;grid-auto-columns:78%;overflow-x:auto;
  scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin;
}
@media (min-width:640px){.vrail{grid-auto-columns:46%}}
@media (min-width:980px){.vrail{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(3,1fr);overflow:visible}}
.vcard{scroll-snap-align:start;display:block}
.vcard .thumb{aspect-ratio:16/9;margin-bottom:10px;background:var(--navy-3)}
.vcard h3{color:#fff;font-size:15.5px;line-height:1.6}
.vcard .meta{color:#93A1B2;font-size:12px;margin-top:6px}

/* ---------- sections chips ---------- */
.sections{padding:24px 0 6px}
.chips{display:flex;flex-wrap:wrap;gap:9px}
.chips a{
  border:1px solid var(--line);border-radius:999px;padding:8px 15px;font-size:13.5px;font-weight:700;
  color:var(--navy);background:#fff;
}
.chips a:hover{border-color:var(--navy);background:var(--soft)}
.chips a .n{color:var(--muted);font-weight:400;font-size:12px;margin-inline-start:5px}

/* ---------- newsletter ---------- */
.newsletter{background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:22px 18px}
@media (min-width:900px){
  .newsletter{display:flex;align-items:center;gap:28px;padding:26px 28px}
  .newsletter .txt{flex:1}
}
.newsletter h2{font-size:19px;margin-bottom:6px}
.newsletter p{font-size:13.5px;color:var(--muted);margin:0 0 14px}
@media (min-width:900px){.newsletter p{margin:0}}
.subscribe{display:flex;gap:8px;flex:none}
.subscribe input{
  flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:11px 13px;
  font-family:inherit;font-size:14px;color:var(--ink);background:#fff;
}
.subscribe input::placeholder{color:#9AA4B0}
.btn{
  background:var(--red);color:#fff;border:0;border-radius:10px;padding:11px 18px;
  font-weight:800;font-size:14px;white-space:nowrap;
}
.btn:hover{background:var(--red-d)}
.btn--ghost{background:#fff;color:var(--navy);border:1px solid var(--line)}
.btn--ghost:hover{background:var(--soft)}
.form-note{font-size:12px;color:var(--muted);margin:8px 0 0}

/* ---------- footer ---------- */
.footer{background:var(--navy-2);color:#A9B6C6;padding:32px 0 22px;margin-top:8px;font-size:13.5px}
.footer-top{display:grid;gap:26px}
@media (min-width:760px){.footer-top{grid-template-columns:1.4fr 1fr 1fr}}
.footer h4{color:#fff;font-size:13px;margin-bottom:12px;letter-spacing:.2px}
.footer p{color:#93A1B2;font-size:13px;line-height:1.9;margin:12px 0 0;max-width:36ch}
.footer li{margin-bottom:9px}
.footer a:hover{color:#fff}
.footer .social{display:flex;gap:9px;margin-top:14px}
.footer .brand img{height:64px}
.footer .social a{
  width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.14);
  display:flex;align-items:center;justify-content:center;color:#D7DEE8;
}
.footer .social a:hover{background:rgba(255,255,255,.08);color:#fff}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1);margin-top:26px;padding-top:16px;
  display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;font-size:12.5px;color:#8290A2;
}

/* ---------- article ---------- */
.crumbs{font-size:12.5px;color:var(--muted);padding:14px 0 0;display:flex;gap:7px;flex-wrap:wrap}
.crumbs a:hover{color:var(--red)}
.article{padding:6px 0 30px}
.article-head{max-width:760px}
.article-head h1{font-size:clamp(24px,6.2vw,40px);line-height:1.3;margin:12px 0 12px}
.article-head .dek{font-size:16.5px;color:var(--body);line-height:1.85}
@media (min-width:900px){.article-head .dek{font-size:18px}}
.byline{
  display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:11px 0;margin:16px 0 18px;color:var(--muted);font-size:12.5px;flex-wrap:wrap;
}
.byline .who{color:var(--navy);font-weight:700}

.hero-fig{margin:0 0 8px}
.hero-fig .thumb{aspect-ratio:16/10;border-radius:var(--radius)}
@media (min-width:900px){.hero-fig .thumb{aspect-ratio:16/9}}
.hero-fig figcaption{font-size:12px;color:var(--muted);padding:9px 2px 0}

.video-slot{
  margin:20px 0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--soft);
}
.video-slot .frame{position:relative;aspect-ratio:16/9;background:var(--navy)}
.video-slot .frame img{width:100%;height:100%;object-fit:cover;opacity:.82}
.video-slot .frame .playbig{
  position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;
  background:var(--red);color:#fff;border:0;display:flex;align-items:center;justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,.35);
}
.video-slot .frame .playbig:hover{background:var(--red-d)}
.video-slot .cap{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:11px 14px;font-size:12.5px;color:var(--muted);background:#fff;border-top:1px solid var(--line);
}
.video-slot .cap b{color:var(--navy);font-weight:700}

.article-body{max-width:720px;font-size:17px;line-height:2;color:var(--body)}
@media (min-width:900px){.article-body{font-size:18px}}
.article-body h2{font-size:21px;margin:26px 0 10px}
.article-body p{margin:0 0 18px}
.article-body strong{color:var(--navy)}
.pull{
  border-inline-start:4px solid var(--red);background:var(--soft);border-radius:0 12px 12px 0;
  padding:14px 16px;margin:22px 0;color:var(--navy);font-weight:700;font-size:17px;line-height:1.8;
}
.sources{margin:28px 0 0;border-top:1px solid var(--line);padding-top:16px}
.sources h2{font-size:15px;margin-bottom:10px}
.sources ol{list-style:decimal;padding-inline-start:20px;color:var(--body);font-size:14px}
.sources li{margin-bottom:7px}
.tags{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0 0}
.tags a{background:var(--soft);border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:12.5px;color:var(--navy);font-weight:700}
.share{display:flex;align-items:center;gap:9px;margin:18px 0 0;flex-wrap:wrap}
.share span{font-size:12.5px;color:var(--muted)}
.share button{
  border:1px solid var(--line);background:#fff;border-radius:9px;width:38px;height:38px;
  display:inline-flex;align-items:center;justify-content:center;color:var(--navy);
}
.share button:hover{background:var(--soft)}

/* ---------- section page ---------- */
.section-hero{border-bottom:1px solid var(--line);padding:20px 0 18px;margin-bottom:20px}
.section-hero h1{font-size:clamp(26px,7vw,36px);display:flex;align-items:center;gap:12px}
.section-hero h1::before{content:"";width:6px;height:30px;border-radius:4px;background:var(--red)}
.section-hero p{color:var(--muted);font-size:14px;margin:8px 0 0;max-width:60ch}
.filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-top:16px}
.filters a{
  flex:none;border:1px solid var(--line);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:700;color:var(--navy);background:#fff;
}
.filters a.is-on{background:var(--navy);border-color:var(--navy);color:#fff}

.rows{display:grid;gap:0}
.row-item{display:grid;grid-template-columns:112px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}
@media (min-width:640px){.row-item{grid-template-columns:190px 1fr;gap:20px;align-items:start}}
.row-item .thumb{aspect-ratio:4/3}
@media (min-width:640px){.row-item .thumb{aspect-ratio:3/2}}
.row-item h3{font-size:16px;line-height:1.55;margin:6px 0 6px}
@media (min-width:640px){.row-item h3{font-size:18px}}
.row-item:hover h3{color:var(--red)}
.row-item p{font-size:13px;color:var(--muted);margin:0 0 6px;line-height:1.7}
@media (max-width:639px){.row-item p{display:none}}
.row-item .meta{font-size:12px}

/* ---------- about ---------- */
.about-hero{position:relative;border-radius:18px;overflow:hidden;margin:16px 0 24px;background:var(--navy)}
.about-hero img{width:100%;aspect-ratio:16/9;object-fit:cover;opacity:.55}
@media (min-width:900px){.about-hero img{aspect-ratio:21/8}}
.about-hero .overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;
  padding:18px;background:linear-gradient(180deg,rgba(11,20,32,.15),rgba(11,20,32,.85));
}
.about-hero h1{color:#fff;font-size:clamp(24px,6vw,38px);line-height:1.3}
.about-hero p{color:#D7DEE8;font-size:13.5px;margin:6px 0 0}
.prose{max-width:720px;font-size:16.5px;line-height:2}
@media (min-width:900px){.prose{font-size:18px}}
.prose h2{font-size:20px;margin:26px 0 10px}
.values{display:grid;gap:14px;margin:22px 0}
@media (min-width:760px){.values{grid-template-columns:repeat(3,1fr)}}
.value{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.value h3{font-size:16px;margin-bottom:6px}
.value p{font-size:13.5px;color:var(--muted);margin:0;line-height:1.8}
.steps{counter-reset:s;display:grid;gap:12px;margin:18px 0}
.steps li{counter-increment:s;display:grid;grid-template-columns:32px 1fr;gap:12px;align-items:start;font-size:15px;color:var(--body)}
.steps li::before{
  content:counter(s);background:var(--navy);color:#fff;border-radius:8px;font-weight:800;font-size:13px;
  display:flex;align-items:center;justify-content:center;height:32px;
}
.contact-card{
  background:var(--navy);color:#D7DEE8;border-radius:18px;padding:22px 18px;margin:26px 0 8px;
}
.contact-card h2{color:#fff;font-size:19px;margin-bottom:8px}
.contact-card p{font-size:14px;margin:0 0 14px}
.contact-card .btn{background:var(--red)}
.contact-card .btn:hover{background:var(--red-d)}

/* ---------- small screens polish ---------- */
@media (max-width:359px){
  .brand img{height:46px}
}

/* ===== forms, search, contact, admin ===== */
.contact-grid{display:grid;gap:24px;grid-template-columns:1fr;margin:24px 0 48px}
@media(min-width:860px){.contact-grid{grid-template-columns:1.4fr .8fr;gap:40px}}
.contact-form{display:flex;flex-direction:column;gap:14px}
.contact-form label{display:block;font-size:13px;font-weight:700;color:var(--navy)}
.contact-form input,.contact-form textarea,.contact-form select{
  width:100%;margin-top:6px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;
  font-family:inherit;font-size:15px;color:var(--ink);background:#fff;box-sizing:border-box;
}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{
  outline:2px solid var(--navy);outline-offset:1px
}
.contact-form textarea{resize:vertical;line-height:1.7}
.contact-form .btn{align-self:flex-start;border:0;cursor:pointer}
.contact-side{background:var(--soft);border-radius:var(--radius);padding:20px}
.contact-side h2{font-size:17px;color:var(--navy);margin:0 0 6px}
.contact-side h2:not(:first-child){margin-top:18px}
.contact-side p{font-size:14px;margin:0 0 10px}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;color:var(--navy);background:#fff;border:1px solid var(--line);border-radius:8px;padding:8px 10px;display:inline-block}
.pre{white-space:pre-wrap;word-break:break-word;background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:12px;font-size:12.5px;line-height:1.8;color:var(--ink);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;margin:10px 0 0}
[hidden]{display:none !important}

/* ===== moving news ticker ===== */
.ticker-view{position:relative;flex:1 1 auto;min-width:0;overflow:hidden}
.ticker-track{position:absolute;top:0;left:0;height:100%;animation:ticker-scroll var(--ticker-dur,32s) linear infinite;will-change:transform}
.ticker-track .ticker-line{position:absolute;top:0;left:0;margin:0;padding:0;white-space:nowrap;display:block;-webkit-line-clamp:none;overflow:visible;font-size:13.5px;line-height:1.5;color:#fff}
@keyframes ticker-scroll{from{transform:translateX(0)}to{transform:translateX(var(--ticker-shift,-50%))}}
.ticker-view:hover .ticker-track,
.ticker-view:focus-within .ticker-track,
.ticker.is-paused .ticker-track{animation-play-state:paused}
@media (prefers-reduced-motion: reduce){
  .ticker-track{animation:none !important;transform:none !important}
}

/* ===== hero slider ===== */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero-slider{position:relative;min-width:0}
.hero-viewport{overflow:hidden;border-radius:14px}
.hero-track{display:flex;flex-direction:row;direction:rtl;transition:transform .55s cubic-bezier(.22,.61,.36,1);will-change:transform}
.hero-slide{flex:0 0 100%;min-width:0;display:block}
.hero-slide .thumb{display:block;aspect-ratio:16/10;margin-bottom:14px;overflow:hidden;border-radius:14px;box-shadow:var(--shadow)}
@media (min-width:900px){.hero-slide .thumb{aspect-ratio:16/9}}
.hero-slide .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hero-slide .hero-title{font-size:clamp(23px,6.4vw,38px);line-height:1.3;margin:10px 0;font-weight:800}
.hero-slide .hero-title a{color:inherit;text-decoration:none}
.hero-slide .hero-dek{font-size:15.5px;color:var(--body);margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (min-width:900px){.hero-slide .hero-dek{font-size:17px}}
.hero-dots{display:flex;gap:7px;justify-content:center;margin-top:14px}
.hero-dot{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(16,28,44,.22);cursor:pointer;transition:background .2s,width .2s}
.hero-dot.is-active{background:var(--red);width:24px;border-radius:5px}
.hero-arrow{display:none}
@media (min-width:900px){
  .hero-arrow{display:flex;align-items:center;justify-content:center;position:absolute;top:26%;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:rgba(16,28,44,.5);color:#fff;cursor:pointer;transition:background .2s}
  .hero-arrow:hover{background:rgba(16,28,44,.82)}
  .hero-arrow--prev{right:12px}
  .hero-arrow--next{left:12px}
}
@media (prefers-reduced-motion: reduce){
  .hero-track{transition:none}
}

/* ===== topbar clock + Cairo weather ===== */
.topbar .top-meta{display:flex;align-items:center;gap:10px;min-width:0}
.topbar .clock{color:#E6ECF3;font-size:12px;font-variant-numeric:tabular-nums;white-space:nowrap}
.topbar .wx{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#E6ECF3;white-space:nowrap}
.topbar .wx-ico{display:inline-flex;width:14px;height:14px;color:#F2C14E}
.topbar .wx-ico svg{width:14px;height:14px;display:block}
.topbar .wx-cond{color:#C8D2DE}
@media (max-width:560px){
  .topbar .wx-cond{display:none}
  .topbar .top-meta{gap:8px}
}

/* ===== keep long URLs / unbroken tokens from widening the page on phones ===== */
.sources li,.sources a,.article-body p,.article-body li,.hero-dek,.card p,.row-item p,.latest h3,.pre,.mono{overflow-wrap:anywhere;word-break:break-word}
.article-head h1,.hero-title,.card h3,.row-item h3{overflow-wrap:break-word}
