/*
Theme Name: AlJiha News
Author: AMINE EL KADIRI
Description: قالب ووردبريس إخباري مغربي احترافي ومتجاوب بالكامل، مصمم للمؤسسات والمنصات الإخبارية الحديثة. يوفر واجهة RTL عربية متقدمة، سلايدر رئيسيا ديناميكيا، خريطة تفاعلية لجهات المغرب، شريط أخبار حي، نظام تراند ذكي، ملفات حية، التحقق من الأخبار، مؤشرات وبيانات محدثة، إشعارات، دردشة وتخصيص بصري متكامل من لوحة التحكم.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: aljiha-news
Domain Path: /languages
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: news, rtl-language-support, responsive-layout, custom-logo, featured-images, translation-ready, custom-colors
*/

:root{--navy:#071526;--red:#e52434;--blue:#246bfd;--orange:#f59e0b;--ink:#0d1726;--muted:#6b7280;--line:#e5e7eb;--soft:#f6f8fb;--white:#fff;--radius:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Tahoma,Arial,"Noto Sans Arabic",sans-serif;color:var(--ink);background:#fff;direction:rtl}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}button,input{font:inherit}.site-header{background:var(--navy);color:#fff;position:relative;z-index:10}.topbar{min-height:86px;max-width:1450px;margin:auto;display:flex;align-items:center;gap:36px;padding:0 28px}.brand{display:flex;align-items:center;gap:11px;margin-left:auto}.brand-text{font-size:36px;font-weight:800;line-height:1}.brand small{display:block;font-size:10px;color:#a9b6c8;margin-top:5px}.custom-logo{max-height:52px;width:auto}.flag{background:#d51f34;color:#1b8d4b;width:40px;height:28px;display:grid;place-items:center;font-size:16px}.primary-nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0;font-size:14px}.primary-nav li.current-menu-item a,.primary-nav a:hover{color:#fff;border-bottom:3px solid var(--red);padding-bottom:28px}.header-tools{display:flex;gap:12px;margin-right:auto}.header-tools a{border:1px solid #ffffff22;border-radius:10px;padding:8px 10px}.subbar{min-height:42px;background:#101f31;color:#d9e0e8;display:flex;justify-content:center;gap:70px;align-items:center;font-size:13px;padding:8px 20px}.subbar b{color:#ff5361}.live-dot{display:inline-block;width:6px;height:6px;background:#ef3340;border-radius:50%;margin-left:5px}.site-main{min-height:60vh}.page-shell{max-width:1450px;margin:0 auto;padding:26px 28px 60px}.hero-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:20px;box-shadow:0 4px 18px #0b1b3210}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:18px}.section-title b{font-size:20px;color:var(--red)}.section-title span{font-size:12px;color:var(--muted)}.section-title.orange b{color:var(--orange)}.section-title.blue b{color:var(--blue)}.story-card{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.story-card:last-child{border-bottom:0}.story-card.large{grid-template-columns:1fr;padding-top:0}.story-media{min-height:105px;border-radius:12px;background:linear-gradient(135deg,#1c334d,#071526);overflow:hidden;position:relative}.story-card.large .story-media{height:260px}.story-media img{width:100%;height:100%;object-fit:cover;display:block}.story-badge{position:absolute;top:10px;right:10px;background:var(--red);color:#fff;font-size:11px;padding:5px 8px;border-radius:6px}.story-meta{color:var(--muted);font-size:12px}.story-card h2,.story-card h3{font-size:18px;margin:7px 0;line-height:1.5}.story-card.large h2{font-size:28px}.story-excerpt{color:#5c6675;line-height:1.8;margin:6px 0 12px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chips span{font-size:11px;border:1px solid var(--line);padding:5px 9px;border-radius:99px}.trend,.brief{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.trend:last-child,.brief:last-child{border-bottom:0}.trend span{background:#f2f4f7;border-radius:12px;padding:4px 8px;font-size:11px}.brief b{color:var(--blue)}.brief span{font-size:13px;line-height:1.5}.mid-grid{display:grid;grid-template-columns:1.3fr .85fr .95fr;gap:16px;margin-top:16px}.map-card{background:var(--navy);color:#fff;border-radius:var(--radius);padding:24px;display:grid;grid-template-columns:1fr 1.1fr;align-items:center;min-height:310px}.map-card p{color:#a7b6c6;line-height:1.8}.morocco-shape{height:190px;clip-path:polygon(47% 2%,61% 13%,59% 28%,72% 41%,61% 54%,56% 72%,42% 99%,32% 81%,38% 61%,25% 52%,39% 35%,34% 21%);background:#2a405b;display:grid;place-items:center;color:#93a7bc}.map-card a,.dark-btn{display:inline-block;background:#0b1727;color:#fff;border:1px solid #314155;padding:12px 16px;border-radius:10px}.topic-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.topic-grid a{background:white;border:1px solid var(--line);padding:18px 8px;border-radius:10px;text-align:center}.topic-grid a:hover{border-color:var(--navy)}.update{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.update i{width:7px;height:7px;background:#25a869;border-radius:50%;margin-top:7px;flex:0 0 7px}.update small{display:block;color:#9ca3af;margin-top:4px}.outline-btn{display:block;width:100%;background:#fff;border:1px solid var(--line);padding:10px;border-radius:9px;margin-top:12px;text-align:center}.feature-grid{display:grid;grid-template-columns:2fr .8fr;gap:16px;margin-top:16px}.feature{min-height:330px;border-radius:var(--radius);background:linear-gradient(120deg,#071526 0%,#12243b 57%,#25374a 100%);color:#fff;padding:34px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.feature.has-bg{background-size:cover;background-position:center}.feature.has-bg:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#071526f2,#071526aa)}.feature>*{position:relative}.feature .label{background:var(--red);align-self:flex-start;padding:7px 10px;border-radius:6px}.feature h2{font-size:34px;margin:16px 0 8px}.feature p{max-width:700px;color:#cad4df;line-height:1.8}.feature-actions{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.feature-actions span{background:#ffffff10;border:1px solid #ffffff2e;color:#fff;padding:10px 13px;border-radius:8px;font-size:12px}.feature-link{background:var(--red);align-self:flex-start;padding:11px 18px;border-radius:8px;margin-top:10px}.fact-mini{border:1px solid var(--line);border-radius:var(--radius);padding:24px}.fact-mini h2{color:var(--red)}.claim{background:var(--soft);padding:17px;border-radius:10px;line-height:1.8;margin:18px 0}.fact-status{display:block;color:var(--orange);font-size:22px;margin-bottom:20px}.fact-mini a{color:var(--blue)}.content-grid{display:grid;grid-template-columns:1.7fr .8fr;gap:18px;margin-top:18px}.feed{border:1px solid var(--line);border-radius:var(--radius);padding:22px}.sidebar-stack{display:flex;flex-direction:column;gap:16px}.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.stats div{background:var(--soft);padding:16px;border-radius:10px}.stats span{display:block;color:var(--muted);font-size:12px}.stats b{font-size:20px}.newsletter-form{display:flex;gap:8px}.newsletter input,.search-form input{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px}.newsletter button,.search-form button{border:0;background:var(--red);color:#fff;padding:11px 16px;border-radius:8px}.page-head{padding:16px 0 24px}.page-head h1{font-size:40px;margin:0 0 8px}.page-head p{color:var(--muted)}.article-page{max-width:960px;margin:auto;padding:55px 28px}.article-meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted)}.article-meta span{background:var(--soft);padding:6px 10px;border-radius:99px}.article-page h1{font-size:48px;line-height:1.4;margin:18px 0}.article-cover{margin:25px 0;border-radius:18px;overflow:hidden}.article-cover img{width:100%;display:block}.lead{font-size:21px;color:#667085;line-height:1.9}.read-modes{display:flex;gap:8px;margin:25px 0;flex-wrap:wrap}.read-modes button{border:1px solid var(--line);background:#fff;padding:10px 15px;border-radius:8px}.read-modes button.active{background:var(--navy);color:#fff}.explain{background:#f8fafc;border-right:4px solid var(--blue);padding:20px 24px;border-radius:10px;margin:25px 0}.entry-content{font-size:19px;line-height:2}.entry-content h2,.entry-content h3{line-height:1.5}.entry-content a{color:var(--blue);text-decoration:underline}.entry-content blockquote{border-right:4px solid var(--red);margin:25px 0;padding:10px 20px;background:var(--soft)}.timeline{margin-top:35px;border-top:1px solid var(--line);padding-top:20px}.timeline-item{display:flex;gap:20px;padding:15px;border-right:2px solid #dbe3ec}.timeline-item b{color:var(--red);min-width:60px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.archive-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.archive-card .thumb{height:190px;background:var(--navy)}.archive-card .thumb img{width:100%;height:100%;object-fit:cover}.archive-card .body{padding:16px}.archive-card h2{font-size:19px;line-height:1.6;margin:5px 0}.pagination{margin-top:30px}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{border:1px solid var(--line);padding:8px 12px;border-radius:8px}.page-numbers.current{background:var(--navy);color:#fff}.empty-state{min-height:40vh;display:grid;place-content:center;text-align:center;gap:12px}.empty-state a{background:var(--navy);color:#fff;padding:10px 15px;border-radius:8px}.site-footer{background:var(--navy);color:#b8c3cf;padding:42px 28px}.footer-inner{max-width:1450px;margin:auto;display:grid;grid-template-columns:1fr 2fr;gap:30px}.site-footer b{color:#fff;font-size:27px}.footer-menu ul{display:flex;gap:18px;list-style:none;padding:0;margin:0;flex-wrap:wrap}.copyright{max-width:1450px;margin:25px auto 0;border-top:1px solid #ffffff1a;padding-top:20px;font-size:12px}.screen-reader-text{position:absolute;left:-9999px}.menu-toggle{display:none;background:#ffffff12;border:1px solid #ffffff22;color:#fff;border-radius:8px;padding:8px 10px}.mobile-nav{display:none}.mobile-nav.open{display:block;background:#101f31;padding:15px 28px}.mobile-nav ul{list-style:none;margin:0;padding:0}.mobile-nav li{border-bottom:1px solid #ffffff12}.mobile-nav a{display:block;padding:12px 0}
@media(max-width:1000px){.primary-nav{display:none}.menu-toggle{display:block}.hero-grid,.mid-grid,.feature-grid,.content-grid{grid-template-columns:1fr}.archive-grid{grid-template-columns:repeat(2,1fr)}.subbar{gap:25px}.story-card.large h2{font-size:23px}.article-page h1{font-size:36px}.footer-inner{grid-template-columns:1fr}.newsletter-form{flex-direction:column}}@media(max-width:600px){.page-shell{padding:16px}.topbar{min-height:70px;padding:0 16px;gap:12px}.brand-text{font-size:29px}.subbar{justify-content:flex-start;overflow:auto;white-space:nowrap}.map-card{grid-template-columns:1fr}.morocco-shape{height:140px}.story-card{grid-template-columns:105px 1fr}.story-card h2,.story-card h3{font-size:15px}.story-excerpt{display:none}.feature{padding:22px}.feature h2{font-size:27px}.archive-grid{grid-template-columns:1fr}.article-page{padding:30px 18px}.article-page h1{font-size:31px}.lead{font-size:18px}.footer-menu ul{display:block}.header-tools{display:none}}
.newsletter-success{display:block;margin-top:10px;color:#087a55;font-weight:700}.notice.aljiha-notice{direction:rtl}

/* ALJIHA Morocco interactive map v1.2 */
.aljiha-local-card{grid-template-columns:minmax(250px,.8fr) minmax(320px,1.2fr);gap:22px;min-height:390px;overflow:hidden}
.map-card-copy{position:relative;z-index:2}.map-kicker{color:#ff4b57;font-size:13px;font-weight:800;margin-bottom:5px}.map-card-copy h2{font-size:30px;margin:0 0 8px}.map-select-label{display:block;color:#a7b6c6;font-size:11px;margin:12px 0 6px}.map-select{width:100%;appearance:none;background:#102238;color:#fff;border:1px solid #314760;border-radius:9px;padding:11px 12px;outline:none}.map-select:focus{border-color:#e52434;box-shadow:0 0 0 3px #e5243425}.map-select:disabled{opacity:.55}.map-actions{margin-top:12px}.map-go{display:inline-flex!important;align-items:center;justify-content:center;background:#e52434!important;border-color:#e52434!important;min-width:170px}.map-go.disabled{opacity:.48;pointer-events:none}.selected-region{font-size:12px;color:#9fb0c2;margin-top:10px}.map-visual{min-height:340px;display:flex;align-items:center;justify-content:center;position:relative}.morocco-map-wrap{width:100%;height:100%;min-height:340px;position:relative;display:flex;align-items:center;justify-content:center}.morocco-regions-map{display:block;width:100%;height:340px;max-width:430px;overflow:visible}.morocco-region{fill:#2a405b;stroke:#8fa0b2;stroke-width:24;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .18s ease,filter .18s ease,stroke .18s ease}.morocco-region-link:hover .morocco-region,.morocco-region-link:focus .morocco-region{fill:#e52434;stroke:#fff;filter:drop-shadow(0 7px 10px #0005)}.morocco-region-link.is-selected .morocco-region{fill:#e52434;stroke:#fff}.morocco-region-link:focus{outline:none}.map-tooltip{position:absolute;pointer-events:none;display:none;background:#fff;color:#0d1726;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:700;box-shadow:0 6px 20px #0003;z-index:5;white-space:nowrap}.map-tooltip.show{display:block}.map-attribution{font-size:9px;color:#61758b;margin-top:4px}
@media(max-width:1000px){.aljiha-local-card{grid-template-columns:1fr 1.15fr}}
@media(max-width:720px){.aljiha-local-card{grid-template-columns:1fr}.map-visual{order:-1;min-height:300px}.morocco-regions-map{height:300px}.morocco-map-wrap{min-height:300px}.map-card-copy h2{font-size:25px}}


/* ALJIHA v1.3 — Morocco map visual fix */
.aljiha-local-card{grid-template-columns:minmax(250px,.88fr) minmax(300px,1.12fr);min-height:355px;overflow:hidden}
.map-visual{min-height:355px;display:flex;align-items:center;justify-content:center;padding:8px 0;overflow:hidden}
.morocco-map-wrap{width:100%;height:355px;min-height:355px;display:flex;align-items:center;justify-content:center;position:relative;overflow:visible}
.morocco-regions-map{display:block;width:auto!important;height:330px!important;max-width:100%;overflow:visible;filter:drop-shadow(0 10px 18px #00000028)}
.morocco-region{fill:#2a405b;stroke:#60758c;stroke-width:15;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .18s ease,stroke .18s ease,filter .18s ease}
.morocco-region-link:hover .morocco-region,.morocco-region-link:focus .morocco-region{fill:#334d69;stroke:#8ea0b4;filter:none}
.morocco-region-link.is-selected .morocco-region{fill:#e52434;stroke:#fff}
.map-pins{pointer-events:none}.map-pin>circle:first-child{fill:#e52434;stroke:#fff;stroke-width:90;vector-effect:non-scaling-stroke;filter:drop-shadow(0 5px 6px #0006)}.map-pin .pin-core{fill:#fff;stroke:none}
@media(max-width:1000px){.aljiha-local-card{grid-template-columns:1fr 1fr}.morocco-regions-map{height:315px!important}.morocco-map-wrap,.map-visual{height:335px;min-height:335px}}
@media(max-width:720px){.aljiha-local-card{grid-template-columns:1fr}.map-visual{order:-1;height:320px;min-height:320px;padding-top:6px}.morocco-map-wrap{height:320px;min-height:320px}.morocco-regions-map{height:300px!important}.map-pins{display:none}}

/* =========================================================
   ALJIHA News v1.4 — reference-matched editorial homepage
   ========================================================= */
.aljiha-home-v14{max-width:1460px;padding-top:22px}
.aljiha-home-v14 .panel{border-color:#e7ebf0;border-radius:15px;box-shadow:0 5px 18px rgba(7,21,38,.055);padding:18px;background:#fff}
.aljiha-home-v14 .section-title{margin-bottom:14px}.aljiha-home-v14 .section-title b{font-size:18px;line-height:1.3}.aljiha-home-v14 .section-title span{font-size:11px;color:#8a94a2}
.hero-grid-v14{grid-template-columns:minmax(0,2fr) minmax(220px,.95fr) minmax(220px,.95fr);gap:16px;align-items:stretch}
.hero-grid-v14>.panel{min-height:320px}.hero-live-panel{padding:16px!important}.hero-live-panel .story-card.large{display:grid;grid-template-columns:minmax(320px,1.12fr) minmax(280px,.88fr);gap:20px;align-items:center;height:250px}.hero-live-panel .story-card.large .story-media{height:100%;min-height:230px;border-radius:12px;background-size:cover;background-position:center;display:block;position:relative;overflow:hidden}.hero-live-panel .story-card.large h2{font-size:25px;line-height:1.55;margin:6px 0 10px}.hero-live-panel .story-excerpt{font-size:13px;line-height:1.9;color:#596474;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.story-badge{position:absolute;top:12px;right:12px;background:#e52434;color:#fff;padding:5px 10px;border-radius:6px;font-size:11px;font-weight:800}.story-meta{font-size:10px;color:#8a94a2}.mini-action{display:inline-flex;margin-top:10px;background:#071526;color:#fff;border-radius:8px;padding:8px 12px;font-size:11px}
.trend-panel,.brief-panel{display:flex;flex-direction:column}.trend{display:flex;align-items:center;gap:8px;border-bottom:1px solid #eef1f5;padding:10px 0}.trend a{font-size:13px;line-height:1.6;flex:1}.trend span{font-size:9px;background:#f1f3f6;border-radius:13px;padding:4px 7px;color:#526071;direction:ltr}.brief{display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:start;padding:7px 0}.brief b{font-size:10px;color:#4d5968}.brief a{font-size:12px;line-height:1.7}.soft-btn,.dark-btn,.outline-btn,.map-go{display:flex;align-items:center;justify-content:center;min-height:36px;border-radius:8px;font-size:11px;font-weight:700}.soft-btn{background:#f4f6f8;margin-top:auto}.dark-btn{background:#071526;color:#fff;margin-top:auto}.outline-btn{border:1px solid #e3e7ec;background:#fff}.brief-panel .soft-btn{margin-top:auto}
.mid-grid-v14{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.85fr) minmax(280px,.95fr);gap:16px;margin-top:16px;align-items:stretch}.mid-grid-v14>.panel,.mid-grid-v14>.map-card{min-height:300px}.compact-map-card{grid-template-columns:minmax(175px,.56fr) minmax(250px,1.2fr)!important;min-height:300px!important;background:#071526!important;color:#fff!important;border-radius:15px;padding:16px!important}.compact-map-card .map-card-copy{padding:4px 0 0 2px;display:flex;flex-direction:column;justify-content:center}.compact-map-card .map-kicker{font-size:17px;font-weight:800;color:#fff;margin-bottom:2px}.compact-map-card h2{font-size:12px!important;font-weight:400!important;color:#bdc7d4;margin:0 0 5px}.compact-map-card p{font-size:10px!important;line-height:1.7!important;color:#91a2b5!important;margin:0 0 8px}.compact-map-card .map-select{background:#0d2137;color:#fff;border:1px solid #2d425a;font-size:10px;min-height:34px;border-radius:7px;margin:6px 0}.compact-map-card .map-city-hidden{display:none}.compact-map-card .map-go{background:#071526;border:1px solid #2b425b;color:#fff;margin-top:4px}.compact-map-card .map-go.disabled{opacity:.6}.compact-map-card .selected-region{font-size:9px;color:#8092a6;text-align:center;margin-top:6px}.compact-map-card .map-visual{min-height:270px!important;height:270px!important;padding:0}.compact-map-card .morocco-map-wrap{height:270px!important;min-height:270px!important}.compact-map-card .morocco-regions-map{height:255px!important;filter:none}.compact-map-card .morocco-region{fill:#263b53;stroke:#52677d;stroke-width:12}.compact-map-card .morocco-region-link:hover .morocco-region{fill:#334e69}.compact-map-card .morocco-region-link.is-selected .morocco-region{fill:#e52434}.compact-map-card .map-tooltip{font-size:10px}.interests-panel,.changes-panel{display:flex;flex-direction:column}.section-title.dark b{color:#0d1726}.icon-topics{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.icon-topics a{border:1px solid #e4e8ed;border-radius:9px;min-height:58px;display:grid;place-items:center;font-size:12px;background:#fff}.changes-panel .update{padding:8px 0;display:flex;gap:9px;border-bottom:0}.changes-panel .update i{width:6px;height:6px;background:#1eaf70;border-radius:50%;margin-top:7px;flex:none}.changes-panel .update:nth-of-type(2) i,.changes-panel .update:nth-of-type(5) i{background:#f59e0b}.changes-panel .update a{font-size:12px}.changes-panel .update small{display:block;font-size:9px;color:#9aa4b1;margin-top:3px}.changes-panel .outline-btn{margin-top:auto}
.feature-grid-v14{display:grid;grid-template-columns:minmax(0,2.06fr) minmax(310px,.94fr);gap:16px;margin-top:16px}.editorial-feature{min-height:390px;border-radius:15px;background-size:cover;background-position:center;padding:24px!important;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;position:relative;overflow:hidden}.editorial-feature .label{position:absolute;top:17px;right:17px;background:#e52434;color:#fff;border-radius:6px;padding:6px 10px;font-size:10px}.editorial-feature h2{font-size:27px;line-height:1.45;max-width:650px;margin:0 0 10px}.editorial-feature>p{font-size:12px;color:#d7dfe8;line-height:1.85;max-width:610px;margin:0 0 12px}.feature-meta{display:flex;gap:18px;font-size:10px;color:#b2c0ce;margin-bottom:14px}.feature-actions{display:grid!important;grid-template-columns:repeat(7,1fr);background:rgba(4,15,28,.78);border:1px solid rgba(255,255,255,.08);border-radius:9px;overflow:hidden;margin-top:0!important}.feature-actions span{display:grid;place-items:center;min-height:50px;font-size:9px;border-left:1px solid rgba(255,255,255,.08);text-align:center;padding:5px}.feature-bottom{display:flex;gap:10px;margin-top:12px}.feature-link,.feature-share{border-radius:8px;padding:9px 18px;font-size:11px}.feature-link{background:#e52434;color:#fff}.feature-share{border:1px solid #627083;color:#fff;background:#071526}.fact-card-v14{border:1px solid #e5e9ee;border-radius:15px;padding:20px;background:#fff}.fact-card-v14 .claim{border:1px solid #e5e9ee;background:#fbfcfd;border-radius:10px;padding:16px;font-weight:700;font-size:13px;line-height:1.8}.fact-status{display:inline-flex;margin:12px 0 4px;color:#e52434;background:#fff1f2;border-radius:16px;padding:5px 13px}.fact-card-v14 p{font-size:11px;line-height:1.8;color:#626e7d}.fact-submit{display:block;margin-top:13px;color:#246bfd;font-size:10px}
.news-radar-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(330px,.95fr);gap:16px;margin-top:16px;align-items:start}.feed-v14{padding:13px 18px!important}.feed-tabs{display:flex;gap:28px;border-bottom:1px solid #e7eaf0;margin-bottom:3px;min-height:40px;align-items:center}.feed-tabs>*{font-size:11px;color:#536070}.feed-tabs .active{color:#e52434;border-bottom:2px solid #e52434;align-self:stretch;display:flex;align-items:center}.feed-v14 .story-card{display:grid;grid-template-columns:110px 1fr;gap:14px;padding:12px 0;border-bottom:1px solid #eef1f4;align-items:center}.feed-v14 .story-media{width:110px;height:70px;border-radius:8px;background-size:cover;background-position:center;position:relative}.feed-v14 .story-badge{font-size:8px;padding:3px 6px;top:5px;right:5px}.feed-v14 .story-card h2{font-size:13px;line-height:1.7;margin:2px 0}.feed-v14 .story-excerpt{display:none}.feed-v14 .story-meta{font-size:9px}.sidebar-stack{display:flex;flex-direction:column;gap:16px}.radar-card .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border:1px solid #edf0f4;border-radius:10px;overflow:hidden}.radar-card .stats>div{padding:13px 8px;text-align:center;border-left:1px solid #edf0f4;border-bottom:1px solid #edf0f4;min-height:75px}.radar-card .stats span{font-size:9px;display:block;color:#798492}.radar-card .stats b{display:block;font-size:14px;margin:5px 0 2px}.radar-card .stats small{font-size:8px;color:#9aa4b1}.green{color:#19a56b!important}.blue-txt{color:#246bfd!important}.red-txt{color:#e52434!important}.newsletter-form{display:grid;grid-template-columns:1fr 84px;gap:8px}.newsletter-form input{border:1px solid #e1e6eb;border-radius:8px;padding:10px 12px;min-width:0}.newsletter-form button{border:0;background:#e52434;color:#fff;border-radius:7px}.promise-card h3{font-size:12px;margin:8px 0 3px}.promise-card p,.promise-card small{font-size:9px;color:#8b96a3}.promise-progress{height:5px;background:#eef1f4;border-radius:10px;overflow:hidden;margin:10px 0}.promise-progress i{display:block;height:100%;background:#f59e0b}.reports-section{margin-top:16px}.reports-section .section-title a{font-size:10px}.reports-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.report-card .report-image{height:125px;border-radius:10px;background-size:cover;background-position:center;display:block;position:relative;overflow:hidden}.report-card .report-image span{position:absolute;top:8px;right:8px;background:#071526;color:#fff;border-radius:5px;padding:4px 7px;font-size:9px}.report-card h3{font-size:11px;line-height:1.65;margin:8px 2px 0}

/* header proportions closer to the reference */
.topbar{min-height:78px}.brand-text{font-size:34px}.primary-nav ul{gap:22px;font-size:13px}.subbar{min-height:40px}.page-shell{padding-left:26px;padding-right:26px}

@media(max-width:1180px){.hero-grid-v14{grid-template-columns:1.6fr 1fr}.brief-panel{grid-column:1/-1;min-height:auto!important}.mid-grid-v14{grid-template-columns:1.3fr 1fr}.changes-panel{grid-column:1/-1;min-height:auto!important}.feature-grid-v14{grid-template-columns:1.55fr 1fr}.feature-actions{grid-template-columns:repeat(4,1fr)}.news-radar-grid{grid-template-columns:1.4fr 1fr}.reports-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){.hero-grid-v14,.mid-grid-v14,.feature-grid-v14,.news-radar-grid{grid-template-columns:1fr}.hero-live-panel .story-card.large{grid-template-columns:1fr;height:auto}.hero-live-panel .story-card.large .story-media{min-height:220px}.compact-map-card{grid-template-columns:1fr!important}.compact-map-card .map-visual{order:-1}.editorial-feature{min-height:430px}.feature-actions{grid-template-columns:repeat(2,1fr)}.reports-grid{grid-template-columns:1fr 1fr}.radar-card .stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.page-shell{padding:14px 12px 40px}.reports-grid{grid-template-columns:1fr}.feed-tabs{gap:13px;overflow-x:auto}.editorial-feature h2{font-size:22px}.hero-live-panel .story-card.large h2{font-size:21px}}
.article-cover img{width:100%;height:auto;max-height:620px;object-fit:cover;border-radius:14px;display:block}

/* ALJIHA v1.5 — robust Morocco map rendering */
.compact-map-card .map-visual{overflow:hidden!important;position:relative}
.compact-map-card .morocco-map-wrap{overflow:hidden!important}
.compact-map-card .morocco-regions-map{width:100%!important;height:270px!important;max-width:390px!important;display:block!important;overflow:visible!important;margin:auto!important}
.compact-map-card .morocco-region{fill:#263b53!important;stroke:#61758d!important;stroke-width:8!important;vector-effect:non-scaling-stroke}
.compact-map-card .morocco-region-link:hover .morocco-region,.compact-map-card .morocco-region-link:focus .morocco-region{fill:#314b66!important;stroke:#91a2b5!important}
.compact-map-card .morocco-region-link.is-selected .morocco-region{fill:#e52434!important;stroke:#fff!important}
.map-pins{pointer-events:none!important}
.map-pin .map-pin-body{fill:#e52434!important;stroke:#fff!important;stroke-width:90!important;filter:none!important}
.map-pin .map-pin-dot{fill:#fff!important;stroke:none!important;filter:none!important}
.map-pin circle{display:none!important}
@media(max-width:800px){.compact-map-card .morocco-regions-map{height:285px!important;max-width:420px!important}}


/* ALJIHA 1.6 — Homepage "يحدث الآن" editorial slider */
.hero-news-slider-panel{overflow:hidden;position:relative;padding:16px!important}.hero-slider-heading{position:relative;z-index:3;margin-bottom:10px!important}.aljiha-news-slider{position:relative;min-width:0}.aljiha-slider-viewport{overflow:hidden;border-radius:13px}.aljiha-slider-track{display:flex;direction:rtl;transition:transform .55s cubic-bezier(.22,.61,.36,1);will-change:transform}.aljiha-news-slide{flex:0 0 100%;min-width:100%;display:grid;grid-template-columns:minmax(320px,1.15fr) minmax(270px,.85fr);gap:20px;align-items:stretch;min-height:244px;opacity:.55;transition:opacity .35s ease}.aljiha-news-slide.is-active{opacity:1}.aljiha-slide-media{display:block;min-height:244px;border-radius:12px;background-size:cover;background-position:center;position:relative;overflow:hidden}.aljiha-slide-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,21,38,.04),rgba(7,21,38,.14))}.aljiha-slide-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:5px 4px 5px 0}.aljiha-slide-meta{display:flex;align-items:center;gap:7px;color:#8a94a2;font-size:10px}.aljiha-slide-meta span{color:#e52434;font-weight:700}.aljiha-slide-meta i{width:4px;height:4px;border-radius:50%;background:#cbd2da}.aljiha-slide-copy h2{font-size:25px;line-height:1.55;margin:7px 0 8px}.aljiha-slide-copy h2 a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.aljiha-slide-copy p{font-size:13px;line-height:1.9;color:#596474;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.aljiha-slider-controls{display:flex;align-items:center;gap:12px;position:absolute;bottom:5px;left:5px;z-index:4;direction:ltr}.aljiha-slider-arrows{display:flex;gap:5px}.aljiha-slider-arrow{width:30px;height:30px;border:1px solid #dfe4ea;background:#fff;color:#071526;border-radius:8px;display:grid;place-items:center;font-size:21px;line-height:1;cursor:pointer;transition:.2s}.aljiha-slider-arrow:hover{background:#071526;color:#fff;border-color:#071526}.aljiha-slider-dots{display:flex;align-items:center;gap:5px}.aljiha-slider-dot{width:6px;height:6px;padding:0;border:0;border-radius:50%;background:#cbd2da;cursor:pointer;transition:.2s}.aljiha-slider-dot.is-active{width:18px;border-radius:99px;background:#e52434}.aljiha-slider-count{display:flex;align-items:center;gap:3px;font-size:9px;color:#8a94a2}.aljiha-slider-count b{color:#071526;font-size:10px}.aljiha-slider-empty{min-height:244px;border:1px dashed #dbe1e7;border-radius:12px;display:grid;place-items:center;color:#778290;font-size:13px;background:#fafbfc}.hero-news-slider-panel .story-badge{z-index:2}
@media(max-width:800px){.aljiha-news-slide{grid-template-columns:1fr;min-height:0}.aljiha-slide-media{min-height:220px}.aljiha-slide-copy{padding:12px 3px 44px}.aljiha-slider-controls{bottom:7px;left:7px}.aljiha-slide-copy h2{font-size:21px}.hero-news-slider-panel{min-height:auto!important}}
@media(max-width:520px){.aljiha-slide-media{min-height:190px}.aljiha-slide-copy h2{font-size:19px}.aljiha-slide-copy p{-webkit-line-clamp:2}.aljiha-slider-dots{display:none}}

/* ALJIHA 1.7 — cumulative map fix: SVG pin strokes scale with the map and cannot balloon in browser. */
.compact-map-card .map-pin{pointer-events:none!important}.compact-map-card .map-pin .map-pin-body{fill:#e52434!important;stroke:#fff!important;stroke-width:90!important;vector-effect:none!important}.compact-map-card .map-pin .map-pin-dot{fill:#fff!important;stroke:none!important;vector-effect:none!important}


/* =========================================================
   ALJIHA 1.8 — header matching the approved reference
   Cumulative: keeps 1.7 map + homepage slider untouched.
   ========================================================= */
.aljiha-header{background:#061426!important;color:#fff!important;position:relative;z-index:1000;box-shadow:none}
.aljiha-header-main{background:#061426}
.aljiha-header-inner{max-width:1450px;height:76px;margin:0 auto;padding:0 28px;display:flex;align-items:center;gap:24px;direction:rtl}
.aljiha-brand{flex:0 0 154px;display:flex!important;flex-direction:column;justify-content:center;align-items:center;gap:1px;margin:0!important;min-width:154px;height:70px}
.aljiha-brand img{display:block;width:132px!important;max-width:132px!important;height:auto!important;max-height:39px!important;object-fit:contain;filter:none}
.aljiha-brand small{display:block!important;color:#c8d0dc!important;font-size:8.5px!important;line-height:1.15;margin:0!important;white-space:nowrap;font-weight:400;text-align:center}
.aljiha-menu-button{display:flex!important;flex:0 0 40px;width:40px;height:40px;border:0;border-radius:8px;background:#f3263a;color:#fff;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:0;cursor:pointer;order:-1}
.aljiha-menu-button span{display:block;width:19px;height:2px;border-radius:3px;background:#fff}
.aljiha-primary-nav{flex:1;min-width:0;display:flex;align-items:center;justify-content:center}
.aljiha-primary-nav ul.aljiha-category-menu{display:flex!important;align-items:center;justify-content:center;gap:0!important;list-style:none;margin:0!important;padding:0!important;white-space:nowrap}
.aljiha-primary-nav .aljiha-category-menu li{display:block;margin:0!important;padding:0!important}
.aljiha-primary-nav .aljiha-category-menu a{display:flex;align-items:center;height:76px;padding:0 16px;color:#fff;font-size:14px;font-weight:700;border-bottom:3px solid transparent;transition:.2s ease}
.aljiha-primary-nav .aljiha-category-menu li.current-menu-item>a,
.aljiha-primary-nav .aljiha-category-menu a:hover{color:#ff2e43!important;border-bottom-color:#ff2e43!important;padding-bottom:0!important}
.aljiha-header-tools{flex:0 0 132px;display:flex;align-items:center;justify-content:flex-end;gap:13px;margin:0!important;direction:ltr}
.aljiha-icon-button{position:relative;width:32px;height:40px;display:grid!important;place-items:center;border:0!important;background:transparent!important;color:#fff!important;padding:0!important;border-radius:0!important;cursor:pointer}
.aljiha-icon-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.aljiha-icon-button:hover{color:#ff3044!important}
.aljiha-notify b{position:absolute;top:4px;right:-3px;min-width:16px;height:16px;border-radius:20px;background:#f3263a;color:#fff;font:700 9px/16px Arial;text-align:center}
.aljiha-info-bar{height:42px;background:#102033;border-top:1px solid rgba(255,255,255,.03)}
.aljiha-info-inner{height:42px;max-width:1450px;margin:auto;padding:0 28px;display:grid;grid-template-columns:1fr auto auto auto 1fr;align-items:center;column-gap:24px;color:#fff;font-size:13px;direction:ltr}
.aljiha-weather{grid-column:1;justify-self:start;display:flex;align-items:center;gap:12px;direction:rtl;color:#f4f6f8}
.aljiha-weather b{font-size:15px}.sun-icon{font-size:18px;line-height:1;color:#ffc928}
.aljiha-date{grid-column:2;direction:rtl;font-weight:700;color:#f2f4f7}
.aljiha-live{grid-column:3;display:flex;align-items:center;gap:7px;direction:rtl;color:#ff3548}
.aljiha-live i{width:7px;height:7px;border-radius:50%;background:#ff3548;box-shadow:0 0 0 3px rgba(255,53,72,.08)}
.aljiha-clock{grid-column:4;font-weight:700;color:#fff}
.aljiha-search-panel{max-width:1450px;margin:0 auto;padding:0 28px 12px}
.aljiha-search-panel[hidden]{display:none!important}
.aljiha-search-panel form{max-width:520px;margin-right:auto;display:flex;direction:rtl;background:#fff;border-radius:10px;padding:5px}
.aljiha-search-panel input{flex:1;border:0;outline:0;padding:10px 12px;background:transparent;color:#0d1726}
.aljiha-search-panel button{border:0;border-radius:7px;background:#f3263a;color:#fff;padding:8px 18px;cursor:pointer}
.aljiha-mobile-nav{background:#09192b;border-top:1px solid rgba(255,255,255,.08)}
.aljiha-mobile-nav .aljiha-category-menu{list-style:none;margin:0;padding:8px 20px 18px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.aljiha-mobile-nav .aljiha-category-menu a{display:block;padding:11px 12px;border-radius:8px;background:#102238;color:#fff;text-align:center;font-size:13px}
.aljiha-mobile-nav .current-menu-item a{background:#f3263a}

/* Optional moon-button mode, deliberately scoped so editorial card colors remain legible. */
body.aljiha-dark{background:#07111d;color:#eef3f8}
body.aljiha-dark .panel,body.aljiha-dark .fact-mini,body.aljiha-dark .latest-panel,body.aljiha-dark .newsletter-card{background:#0c1b2c;color:#eef3f8;border-color:#23364b}
body.aljiha-dark .section-title span,body.aljiha-dark .story-excerpt,body.aljiha-dark .story-meta{color:#aeb9c7}

@media(max-width:1250px){
  .aljiha-primary-nav .aljiha-category-menu a{padding:0 10px;font-size:13px}
  .aljiha-header-inner{gap:14px}
  .aljiha-brand{flex-basis:135px;min-width:135px}.aljiha-brand img{width:118px!important}
}
@media(max-width:980px){
  .aljiha-primary-nav{display:none!important}
  .aljiha-header-inner{height:68px}
  .aljiha-brand{margin-left:auto!important;margin-right:0!important;align-items:flex-start;flex-basis:auto;min-width:0}
  .aljiha-header-tools{margin-right:auto!important;flex-basis:auto}
  .aljiha-menu-button{order:initial}
  .aljiha-info-inner{grid-template-columns:1fr auto auto auto;column-gap:12px;padding:0 18px}
}
@media(max-width:640px){
  .aljiha-header-inner{padding:0 14px;gap:10px}
  .aljiha-brand img{width:104px!important}.aljiha-brand small{font-size:7px!important}
  .aljiha-header-tools{gap:5px}.aljiha-icon-button{width:29px}.aljiha-icon-button svg{width:21px;height:21px}
  .aljiha-info-inner{padding:0 14px;font-size:11px;column-gap:10px}
  .aljiha-date{display:none}.aljiha-weather{grid-column:1}.aljiha-live{grid-column:2}.aljiha-clock{grid-column:3}
}


/* =========================================================
   ALJIHA 1.9 — live editorial notifications
   ========================================================= */
.aljiha-notifications{position:relative;display:flex;align-items:center}
.aljiha-notification-panel{position:absolute;top:49px;left:0;width:370px;max-width:calc(100vw - 28px);background:#fff;color:#0d1726;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 18px 55px rgba(0,0,0,.22);overflow:hidden;z-index:1500;direction:rtl}
.aljiha-notification-panel[hidden]{display:none!important}
.aljiha-notification-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid #edf0f4}
.aljiha-notification-head strong{font-size:16px}
.aljiha-notification-head button{border:0;background:transparent;color:#246bfd;font-size:11px;cursor:pointer;padding:4px}
.aljiha-notification-permission{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;background:#f7f9fc;border-bottom:1px solid #edf0f4;font-size:11px;color:#667085}
.aljiha-notification-permission button{border:0;background:#071526;color:#fff;border-radius:7px;padding:7px 10px;font-weight:700;cursor:pointer;white-space:nowrap}
.aljiha-notification-list{max-height:370px;overflow:auto}
.aljiha-notification-item{position:relative;display:block;padding:13px 16px 13px 34px;border-bottom:1px solid #edf0f4;transition:.18s ease;background:#fff}
.aljiha-notification-item:hover{background:#f8fafc}
.aljiha-notification-item.is-unread{background:#fff8f8}
.aljiha-notification-item.is-unread:before{content:"";position:absolute;left:14px;top:20px;width:7px;height:7px;border-radius:50%;background:#f3263a}
.aljiha-notification-item strong{display:block;font-size:13px;line-height:1.55;margin-bottom:4px}
.aljiha-notification-item p{margin:0;color:#667085;font-size:11px;line-height:1.55}
.aljiha-notification-meta{display:flex;align-items:center;gap:7px;margin-top:7px;color:#98a2b3;font-size:10px}
.aljiha-notification-level{display:inline-flex;padding:2px 6px;border-radius:99px;background:#eef2f6;color:#344054;font-weight:700}
.aljiha-notification-level.breaking{background:#ffe7ea;color:#d91f33}
.aljiha-notification-level.update{background:#eaf2ff;color:#246bfd}
.aljiha-notification-empty{padding:26px 18px;text-align:center;color:#98a2b3;font-size:12px}
.aljiha-notify.has-unread svg{animation:aljihaBell .7s ease 2}
.aljiha-notify [data-notification-count]{position:absolute;top:2px;right:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:#f3263a;color:#fff;font:700 9px/17px Arial;text-align:center}
@keyframes aljihaBell{0%,100%{transform:rotate(0)}25%{transform:rotate(13deg)}75%{transform:rotate(-13deg)}}
.aljiha-notification-toast{position:fixed;top:132px;left:24px;z-index:2000;width:min(390px,calc(100vw - 32px));display:flex;align-items:flex-start;gap:12px;background:#071526;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:13px;padding:13px 15px;box-shadow:0 18px 45px rgba(0,0,0,.28);direction:rtl;animation:aljihaToastIn .3s ease}
.aljiha-notification-toast[hidden]{display:none!important}
.aljiha-toast-icon{flex:0 0 30px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#f3263a;font-weight:900}
.aljiha-notification-toast b{display:block;font-size:13px;line-height:1.5}
.aljiha-notification-toast span{display:block;margin-top:3px;color:#c8d0dc;font-size:11px;line-height:1.5}
@keyframes aljihaToastIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.aljiha-notification-panel{position:fixed;top:68px;left:14px;right:14px;width:auto;max-width:none}.aljiha-notification-toast{top:118px;left:16px}}


/* =========================================================
   ALJIHA 2.0 — newsroom quick chat card
   Replaces only "تابع ما يهمك"; keeps the same grid slot/height.
   ========================================================= */
.editorial-chat-card{display:flex;flex-direction:column;min-height:300px!important;padding:14px!important;overflow:hidden}
.editorial-chat-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:2px 2px 10px;border-bottom:1px solid #edf0f4}
.editorial-chat-head>div{display:flex;flex-direction:column;gap:3px}
.editorial-chat-head b{font-size:16px;color:#0d1726;display:flex;align-items:center;gap:7px}
.editorial-chat-head>div>span{font-size:10.5px;color:#98a2b3}
.chat-live-dot{width:8px;height:8px;border-radius:50%;background:#23b26d;box-shadow:0 0 0 4px rgba(35,178,109,.10);flex:0 0 8px}
.chat-status{font-size:10px;color:#23a566;background:#eefbf4;border:1px solid #d4f3e2;border-radius:99px;padding:4px 8px;white-space:nowrap}
.editorial-chat-body{flex:1;min-height:145px;max-height:165px;overflow-y:auto;padding:10px 4px 6px;scroll-behavior:smooth}
.chat-welcome{display:flex;flex-direction:column;gap:4px;text-align:center;color:#667085;padding:20px 16px 12px}
.chat-welcome strong{font-size:13px;color:#344054}.chat-welcome span{font-size:10.5px;line-height:1.6}
.chat-msg{max-width:84%;margin:6px 0;padding:8px 10px;border-radius:11px;font-size:11px;line-height:1.55;word-break:break-word}
.chat-msg.visitor{margin-right:auto;background:#071526;color:#fff;border-bottom-left-radius:4px}
.chat-msg.editor{margin-left:auto;background:#f2f5f8;color:#152033;border:1px solid #e5e9ef;border-bottom-right-radius:4px}
.chat-msg small{display:block;font-size:8.5px;opacity:.55;margin-top:3px}
.editorial-chat-form{border-top:1px solid #edf0f4;padding-top:9px}
.chat-name-row{margin-bottom:6px}.chat-name-row input{width:100%;height:32px;border:1px solid #e4e8ee;border-radius:8px;padding:0 10px;font-size:11px;outline:none}
.chat-name-row input:focus,.chat-compose textarea:focus{border-color:#aebbd0;box-shadow:0 0 0 3px rgba(7,21,38,.05)}
.chat-compose{display:grid;grid-template-columns:1fr 34px;gap:7px;align-items:end}
.chat-compose textarea{width:100%;min-height:38px;max-height:76px;resize:none;border:1px solid #e4e8ee;border-radius:10px;padding:9px 10px;font:inherit;font-size:11px;line-height:1.45;outline:none;overflow:auto}
.chat-compose button{width:34px;height:34px;border:0;border-radius:9px;background:#f3263a;color:#fff;display:grid;place-items:center;cursor:pointer;transition:.18s}
.chat-compose button:hover{background:#d91f33;transform:translateY(-1px)}.chat-compose button:disabled{opacity:.5;cursor:not-allowed;transform:none}
.chat-compose button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.editorial-chat-form>small{display:block;margin-top:5px;color:#98a2b3;font-size:8.5px;line-height:1.4}
.chat-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.editorial-chat-card.is-offline .chat-status{color:#d97706;background:#fff7ed;border-color:#ffedd5}
.editorial-chat-card.is-offline .chat-live-dot{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.10)}
.editorial-chat-card.is-sending .chat-status{color:#246bfd;background:#eef4ff;border-color:#dce7ff}
body.aljiha-dark .editorial-chat-head b{color:#fff}
body.aljiha-dark .editorial-chat-card{background:#0c1b2c;border-color:#23364b}
body.aljiha-dark .editorial-chat-head,body.aljiha-dark .editorial-chat-form{border-color:#23364b}
body.aljiha-dark .chat-name-row input,body.aljiha-dark .chat-compose textarea{background:#102238;color:#fff;border-color:#314760}
body.aljiha-dark .chat-msg.editor{background:#13273d;color:#fff;border-color:#2a405b}
@media(max-width:800px){.editorial-chat-card{min-height:310px!important}.editorial-chat-body{max-height:175px}}


/* =========================================================
   ALJIHA 2.3 — full-bleed homepage lead slider
   Removes section heading and lets the slider fill its card.
   ========================================================= */
.hero-news-slider-panel{
  padding:0!important;
  overflow:hidden!important;
  min-height:300px!important;
  position:relative!important;
}
.hero-news-slider-panel .aljiha-news-slider,
.hero-news-slider-panel .aljiha-slider-viewport,
.hero-news-slider-panel .aljiha-slider-track,
.hero-news-slider-panel .aljiha-news-slide{
  height:100%!important;
  min-height:300px!important;
}
.hero-news-slider-panel .aljiha-slider-viewport{
  border-radius:15px!important;
}
.hero-news-slider-panel .aljiha-news-slide{
  grid-template-columns:minmax(0,1.18fr) minmax(255px,.82fr)!important;
  gap:0!important;
  background:#fff;
}
.hero-news-slider-panel .aljiha-slide-media{
  min-height:300px!important;
  height:100%!important;
  border-radius:0!important;
}
.hero-news-slider-panel .aljiha-slide-shade{
  background:linear-gradient(90deg,rgba(7,21,38,.02),rgba(7,21,38,.10))!important;
}
.hero-news-slider-panel .aljiha-slide-copy{
  padding:26px 26px 52px!important;
  justify-content:center!important;
}
.hero-news-slider-panel .aljiha-slide-copy h2{
  font-size:28px!important;
  line-height:1.45!important;
  margin:7px 0 10px!important;
}
.hero-news-slider-panel .aljiha-slide-copy p{
  margin:0 0 14px!important;
  line-height:1.75!important;
}
.hero-news-slider-panel .aljiha-slider-controls{
  bottom:13px!important;
  left:18px!important;
}
.hero-news-slider-panel .aljiha-slider-empty{
  min-height:300px;
  display:grid;
  place-items:center;
  padding:24px;
}
@media(max-width:800px){
  .hero-news-slider-panel,
  .hero-news-slider-panel .aljiha-news-slider,
  .hero-news-slider-panel .aljiha-slider-viewport,
  .hero-news-slider-panel .aljiha-slider-track,
  .hero-news-slider-panel .aljiha-news-slide{min-height:0!important;height:auto!important}
  .hero-news-slider-panel .aljiha-news-slide{grid-template-columns:1fr!important}
  .hero-news-slider-panel .aljiha-slide-media{min-height:230px!important;height:230px!important}
  .hero-news-slider-panel .aljiha-slide-copy{padding:18px 18px 48px!important}
}


/* =========================================================
   ALJIHA 2.4 — "سول حزبك" election Q&A card
   Occupies exactly the former 60-second panel slot.
   ========================================================= */
.election-party-card{display:flex;flex-direction:column;min-height:100%;padding:14px!important;overflow:hidden;position:relative}
.party-qa-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:1px 1px 10px;border-bottom:1px solid #edf0f4}
.party-qa-head>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.party-qa-head b{font-size:17px;color:#e52434;line-height:1.35}
.party-qa-head>div>span{font-size:9.5px;color:#98a2b3;white-space:nowrap}
.party-qa-badge{font-size:8.5px;font-weight:800;background:#fff0f1;color:#df2638;border:1px solid #ffd9dd;border-radius:99px;padding:4px 7px;white-space:nowrap}
.party-selector{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding-top:10px;align-content:start}
.party-choice{border:1px solid #e5e9ef;background:#fff;border-radius:10px;padding:7px 3px 6px;display:flex;flex-direction:column;align-items:center;gap:4px;cursor:pointer;min-width:0;transition:.18s ease}
.party-choice:hover{border-color:#b9c5d3;transform:translateY(-1px);box-shadow:0 5px 12px rgba(7,21,38,.06)}
.party-choice-logo{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--party-color,#071526);overflow:hidden;flex:0 0 38px}
.party-choice-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:2px}
.party-choice-logo b{font:800 10px/1 Arial,sans-serif;color:var(--party-color,#071526);letter-spacing:-.2px}
.party-choice small{display:block;width:100%;font-size:8px;line-height:1.25;color:#344054;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.party-empty{grid-column:1/-1;padding:24px 8px;text-align:center;color:#98a2b3;font-size:10px}

.party-qa-chat{display:flex;flex-direction:column;min-height:0;flex:1;padding-top:8px}
.party-qa-chat[hidden]{display:none!important}
.party-chat-top{display:flex;align-items:center;gap:7px;padding-bottom:7px;border-bottom:1px solid #edf0f4}
.party-back{border:1px solid #e5e9ef;background:#fff;width:26px;height:26px;border-radius:8px;font-size:20px;line-height:20px;cursor:pointer;color:#071526;display:grid;place-items:center}
.party-chat-top>div{min-width:0;display:flex;flex-direction:column;gap:1px}
.party-chat-top strong{font-size:12px;color:#071526;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.party-chat-top span{font-size:8.5px;color:#98a2b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.party-chat-messages{height:110px;overflow:auto;padding:7px 2px;scroll-behavior:smooth}
.party-chat-welcome{font-size:9.5px;line-height:1.55;color:#667085;background:#f7f9fc;border-radius:8px;padding:8px 9px;text-align:center;margin-top:8px}
.party-msg{max-width:88%;padding:7px 8px;margin:5px 0;border-radius:9px;font-size:9.5px;line-height:1.45;word-break:break-word}
.party-msg.visitor{background:#071526;color:#fff;margin-right:auto;border-bottom-left-radius:3px}
.party-msg.party{background:#eef3f7;color:#152033;margin-left:auto;border:1px solid #e0e7ee;border-bottom-right-radius:3px}
.party-msg.party:before{content:"جواب الحزب";display:block;font-weight:800;color:#e52434;font-size:8px;margin-bottom:2px}
.party-msg small{display:block;font-size:7.5px;opacity:.55;margin-top:2px}
.party-chat-form{margin-top:auto;padding-top:7px;border-top:1px solid #edf0f4}
.party-chat-form>input[name="name"]{width:100%;height:28px;border:1px solid #e4e8ee;border-radius:7px;padding:0 8px;font-size:9.5px;outline:none;margin-bottom:5px}
.party-question-compose{display:grid;grid-template-columns:1fr 30px;gap:5px;align-items:end}
.party-question-compose textarea{width:100%;min-height:34px;max-height:62px;resize:none;border:1px solid #e4e8ee;border-radius:8px;padding:8px;font:inherit;font-size:9.5px;line-height:1.35;outline:none}
.party-question-compose button{width:30px;height:30px;border:0;border-radius:8px;background:#e52434;color:#fff;display:grid;place-items:center;cursor:pointer}
.party-question-compose button:disabled{opacity:.5}
.party-question-compose button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.party-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.election-party-card.is-sending .party-qa-badge{background:#eef4ff;color:#246bfd;border-color:#dce7ff}
.election-party-card.is-offline .party-qa-badge{background:#fff7ed;color:#d97706;border-color:#ffedd5}

body.aljiha-dark .election-party-card{background:#0c1b2c;border-color:#23364b}
body.aljiha-dark .party-qa-head,body.aljiha-dark .party-chat-top,body.aljiha-dark .party-chat-form{border-color:#23364b}
body.aljiha-dark .party-choice{background:#102238;border-color:#314760}
body.aljiha-dark .party-choice small,body.aljiha-dark .party-chat-top strong{color:#fff}
body.aljiha-dark .party-chat-form>input[name="name"],body.aljiha-dark .party-question-compose textarea{background:#102238;color:#fff;border-color:#314760}
body.aljiha-dark .party-msg.party{background:#13273d;color:#fff;border-color:#2a405b}

@media(max-width:1050px){.party-selector{grid-template-columns:repeat(4,1fr)}}
@media(max-width:720px){.party-selector{grid-template-columns:repeat(4,1fr)}.election-party-card{min-height:290px}}


/* ALJIHA 2.5 — clearer official party logos */
.party-choice{padding:8px 3px 7px!important}
.party-choice-logo{
  width:46px!important;
  height:46px!important;
  flex-basis:46px!important;
  border-radius:12px!important;
  border:1px solid #e4e8ee!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(7,21,38,.06);
}
.party-choice-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:3px!important;
  background:#fff!important;
}
.party-choice-logo b{font-size:11px!important;color:var(--party-color,#071526)!important}
.party-choice small{font-size:8.3px!important;font-weight:700!important}


/* =========================================================
   ALJIHA 2.6 — cleaner "ملف حي" editorial feature
   Removed the seven utility chips and gives the story more
   breathing room while preserving follow/share actions.
   ========================================================= */
.editorial-feature{
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px 32px!important;
  background-position:center!important;
  background-size:cover!important;
}
.editorial-feature .label{
  position:absolute;
  top:16px;
  right:16px;
  z-index:2;
}
.editorial-feature h2{
  max-width:92%;
  margin:0 0 10px!important;
  font-size:32px!important;
  line-height:1.35!important;
  text-wrap:balance;
}
.editorial-feature>p{
  max-width:82%;
  margin:0 0 12px!important;
  line-height:1.8!important;
  opacity:.92;
}
.editorial-feature .feature-meta{
  margin:0 0 20px!important;
  padding-bottom:16px;
  border-bottom:1px solid rgba(255,255,255,.16);
}
.editorial-feature .feature-bottom{
  margin-top:0!important;
  display:flex;
  align-items:center;
  gap:10px;
}
.editorial-feature .feature-link{
  min-width:130px;
  text-align:center;
}
.editorial-feature .feature-share{
  min-width:95px;
  text-align:center;
}
@media(max-width:800px){
  .editorial-feature{min-height:350px;padding:24px 20px!important}
  .editorial-feature h2{max-width:100%;font-size:25px!important}
  .editorial-feature>p{max-width:100%}
}


/* =========================================================
   ALJIHA 2.7 — Cairo typography + live Moroccan Radar
   + editable Promise Tracker
   ========================================================= */
html,body,button,input,textarea,select{
  font-family:"Cairo",Tahoma,Arial,sans-serif!important;
}
body{font-weight:500}
h1,h2,h3,h4,h5,h6,.section-title b,.radar-head b,.promise-head b{font-family:"Cairo",Tahoma,Arial,sans-serif!important;font-weight:800}

.radar-card-v27{
  padding:14px!important;
  overflow:hidden;
}
.radar-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.radar-head>div{display:flex;flex-direction:column;gap:2px}
.radar-head b{font-size:18px;color:#246bfd;line-height:1.35}
.radar-head>div>span{font-size:9.5px;color:#98a2b3}
.radar-live{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:8.5px;
  color:#14945f;
  background:#effaf5;
  border:1px solid #d7f1e4;
  border-radius:99px;
  padding:4px 7px;
  white-space:nowrap;
}
.radar-live i{width:6px;height:6px;border-radius:50%;background:#1fb876;box-shadow:0 0 0 4px rgba(31,184,118,.1)}
.radar-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid #edf0f4;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}
.radar-stat{
  min-height:78px;
  padding:9px 7px 7px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  position:relative;
  border-left:1px solid #edf0f4;
  border-bottom:1px solid #edf0f4;
  transition:.18s ease;
}
.radar-stat:nth-child(4n){border-left:0}
.radar-stat:nth-last-child(-n+4){border-bottom:0}
.radar-stat:hover{background:#f9fbfd}
.radar-stat-top{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:100%;
  margin-bottom:4px;
}
.radar-icon{
  width:19px;height:19px;
  display:grid;place-items:center;
  color:#0b1727;
}
.radar-icon svg{
  width:18px;height:18px;
  fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;
}
.radar-label{font-size:8.5px;color:#667085;white-space:nowrap}
.radar-stat>b{
  font-size:15px;
  color:#101828;
  line-height:1.2;
  letter-spacing:.1px;
}
.radar-stat>small{
  display:block;
  margin-top:3px;
  font-size:7.8px;
  color:#98a2b3;
  line-height:1.3;
}
.radar-stat[data-radar-key="weather"]>b{color:#246bfd}
.radar-stat[data-radar-key="dams"]>b{color:#246bfd}
.radar-stat[data-radar-key="inflation"]>b{color:#e52434}
.radar-stat.is-loading:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,#ffffffa8,transparent);
  transform:translateX(-100%);
  animation:radarShimmer 1.1s linear infinite;
}
@keyframes radarShimmer{to{transform:translateX(100%)}}
.radar-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 3px 0;
  color:#98a2b3;
  font-size:8.5px;
}
.radar-footer button{
  border:0;
  background:#f4f6f8;
  color:#344054;
  border-radius:7px;
  padding:6px 10px;
  cursor:pointer;
  font-weight:700;
}
.radar-footer button:hover{background:#e9eef4}
.radar-footer button:disabled{opacity:.5;cursor:wait}

.promise-card-v27{
  padding:14px!important;
  overflow:hidden;
}
.promise-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.promise-head>div{display:flex;flex-direction:column;gap:2px}
.promise-head b{font-size:17px;color:#246bfd;line-height:1.35}
.promise-head span{font-size:9px;color:#98a2b3}
.promise-icon{
  width:30px;height:30px;border-radius:9px;
  display:grid;place-items:center;
  background:#f3f6fb;color:#246bfd;
  font-size:15px!important;font-weight:800;
}
.promise-body{
  display:grid;
  grid-template-columns:58px 1fr;
  align-items:center;
  gap:12px;
  padding:10px 0 9px;
}
.promise-score{
  width:58px;height:58px;
  border-radius:50%;
  border:6px solid #e8edf3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  background:#fff;
  box-shadow:inset 0 0 0 2px #fff;
}
.promise-score strong{font-size:14px;line-height:1;color:#344054}
.promise-score span{font-size:6.7px;color:#27a56a;margin-top:3px;text-align:center;max-width:44px}
.promise-copy{min-width:0}
.promise-copy h3{
  font-size:12px;
  line-height:1.55;
  margin:0 0 3px;
  color:#111827;
}
.promise-copy p{
  margin:0;color:#667085;
  font-size:9px;line-height:1.4;
}
.promise-copy small{
  display:block;margin-top:3px;
  font-size:7.5px;color:#98a2b3;
}
.promise-progress-v27{
  height:5px!important;
  background:#eef1f4!important;
  border-radius:99px!important;
  overflow:hidden;
  margin:3px 0 10px!important;
}
.promise-progress-v27 i{
  display:block;height:100%;
  background:linear-gradient(90deg,#ff9b14,#f26b13)!important;
  border-radius:99px;
}
.promise-more{
  display:block;
  text-align:center;
  background:#f5f7f9;
  border-radius:8px;
  padding:7px 10px;
  font-size:9px;
  font-weight:700;
  color:#344054;
}
.promise-more:hover{background:#e9eef4}
.promise-empty{
  min-height:115px;
  display:grid;place-items:center;
  text-align:center;color:#98a2b3;font-size:9px;
  padding:18px;
  border:1px dashed #dfe5ec;border-radius:10px;
}
body.aljiha-dark .radar-card-v27,
body.aljiha-dark .promise-card-v27{background:#0c1b2c;border-color:#23364b}
body.aljiha-dark .radar-stats{background:#102238;border-color:#23364b}
body.aljiha-dark .radar-stat{border-color:#23364b}
body.aljiha-dark .radar-stat:hover{background:#13273d}
body.aljiha-dark .radar-stat>b,
body.aljiha-dark .promise-copy h3{color:#fff}
body.aljiha-dark .radar-icon{color:#fff}
body.aljiha-dark .promise-score{background:#102238;border-color:#2b3f55}
body.aljiha-dark .promise-more{background:#13273d;color:#fff}

@media(max-width:520px){
  .radar-stats{grid-template-columns:repeat(2,1fr)}
  .radar-stat:nth-child(2n){border-left:0}
  .radar-stat:nth-child(4n){border-left:0}
  .radar-stat:nth-last-child(-n+4){border-bottom:1px solid #edf0f4}
  .radar-stat:nth-last-child(-n+2){border-bottom:0}
}


/* ALJIHA 2.8 — clearer currency icons + reliable radar fallbacks */
.radar-currency-symbol{
  display:inline-grid;
  place-items:center;
  min-width:18px;
  height:18px;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:19px;
  line-height:18px;
  font-weight:800;
  color:#101828;
}
.radar-stat[data-radar-key="usd"] .radar-currency-symbol{font-size:18px}
.radar-stat[data-radar-key="eur"] .radar-currency-symbol{font-size:20px}
body.aljiha-dark .radar-currency-symbol{color:#fff}


/* =========================================================
   ALJIHA 2.11 — redesigned live-file + fact-check cards
   ========================================================= */
.editorial-feature-v211{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr)!important;
  min-height:350px!important;
  padding:0!important;
  overflow:hidden!important;
  background:#071526!important;
  border-radius:16px!important;
}
.editorial-feature-v211 .live-feature-media{
  position:relative;
  min-height:350px;
  background-size:cover;
  background-position:center;
  overflow:hidden;
}
.editorial-feature-v211 .live-feature-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(7,21,38,.04),rgba(7,21,38,.22));
}
.editorial-feature-v211 .label{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  z-index:2;
}
.editorial-feature-v211 .live-feature-copy{
  position:relative;
  z-index:2;
  padding:34px 34px 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
  background:
    radial-gradient(circle at 20% 15%,rgba(255,255,255,.05),transparent 32%),
    #071526;
}
.live-feature-kicker{
  display:flex;
  align-items:center;
  gap:7px;
  color:#aeb9c7;
  font-size:10px;
  margin-bottom:8px;
}
.live-feature-kicker i{
  width:7px;height:7px;border-radius:50%;
  background:#ef3340;
  box-shadow:0 0 0 4px rgba(239,51,64,.10);
}
.editorial-feature-v211 h2{
  max-width:100%!important;
  margin:0 0 12px!important;
  font-size:31px!important;
  line-height:1.45!important;
  color:#fff;
}
.editorial-feature-v211 h2 a{color:#fff}
.editorial-feature-v211 .live-feature-copy>p{
  max-width:100%!important;
  margin:0 0 14px!important;
  color:#d2dae4;
  line-height:1.8!important;
  font-size:13px;
}
.editorial-feature-v211 .feature-meta{
  display:flex;
  align-items:center;
  gap:14px;
  margin:0 0 20px!important;
  padding:0 0 16px!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  color:#98a7b8;
  font-size:10px;
}
.editorial-feature-v211 .feature-bottom{
  display:flex;
  align-items:center;
  gap:10px;
}
.editorial-feature-v211 .feature-link,
.editorial-feature-v211 .feature-share{
  border-radius:9px;
  padding:10px 16px;
  font-weight:700;
  font-size:11px;
}
.editorial-feature-v211 .feature-link{
  background:#e52434;
  color:#fff;
  border:1px solid #e52434;
}
.editorial-feature-v211 .feature-share{
  background:transparent;
  color:#fff;
  border:1px solid #405069;
}
.editorial-feature-v211 .feature-share:hover{border-color:#fff}

.fact-card-v211{
  padding:16px!important;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fact-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.fact-card-head>div{display:flex;flex-direction:column;gap:2px}
.fact-card-head b{
  color:#e52434;
  font-size:18px;
  font-weight:800;
}
.fact-card-head>div>span{
  color:#98a2b3;
  font-size:9px;
}
.fact-head-icon{
  width:30px;height:30px;
  border-radius:9px;
  display:grid;place-items:center;
  color:#596b86;
  background:#f4f7fb;
}
.fact-head-icon svg{
  width:18px;height:18px;
  fill:none;stroke:currentColor;
  stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.fact-claim-box{
  border:1px solid #e6eaf0;
  background:#fff;
  border-radius:10px;
  padding:13px 12px;
  font-size:11px;
  line-height:1.7;
  color:#111827;
  text-align:center;
  min-height:62px;
  display:grid;
  place-items:center;
}
.fact-claim-box a{color:#111827;font-weight:600}
.fact-verdict{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  align-self:center;
  min-width:100px;
  border-radius:99px;
  padding:5px 12px;
  font-size:12px;
  font-weight:800;
}
.fact-verdict-icon{
  width:22px;height:22px;
  border-radius:50%;
  display:grid;place-items:center;
  border:2px solid currentColor;
  font-family:Arial,sans-serif!important;
  font-weight:800;
  line-height:1;
}
.fact-verdict-misleading{background:#fff0f1;color:#e52434}
.fact-verdict-false{background:#fff0f1;color:#d92b2b}
.fact-verdict-true{background:#edf9f2;color:#1f9a61}
.fact-verdict-context{background:#fff7e8;color:#d98211}
.fact-verdict-checking{background:#eef4ff;color:#246bfd}
.fact-explain{
  margin:0!important;
  color:#667085!important;
  font-size:9.5px!important;
  line-height:1.65!important;
  text-align:center;
}
.fact-read-more{
  display:block;
  width:100%;
  border:1px solid #e5e9ef;
  border-radius:8px;
  padding:8px 10px;
  text-align:center;
  font-size:10px;
  font-weight:700;
  color:#111827;
  background:#fff;
}
.fact-read-more:hover{background:#f7f9fc}
.fact-submit-v211{
  display:block;
  margin-top:auto;
  padding-top:3px;
  font-size:9px;
  color:#246bfd;
  text-align:right;
}

body.aljiha-dark .fact-card-v211{background:#0c1b2c;border-color:#23364b}
body.aljiha-dark .fact-head-icon{background:#13273d;color:#9eb0c5}
body.aljiha-dark .fact-claim-box,
body.aljiha-dark .fact-read-more{background:#102238;border-color:#314760;color:#fff}
body.aljiha-dark .fact-claim-box a{color:#fff}

@media(max-width:900px){
  .editorial-feature-v211{grid-template-columns:1fr!important}
  .editorial-feature-v211 .live-feature-media{min-height:240px}
  .editorial-feature-v211 .live-feature-copy{padding:24px 20px}
  .editorial-feature-v211 h2{font-size:25px!important}
}


/* =========================================================
   ALJIHA 2.12 — softer live-file image blend + larger fact card
   ========================================================= */

/* Live file: remove hard split and fade image into the navy copy area */
.editorial-feature-v211{
  grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr)!important;
  background:#071526!important;
}
.editorial-feature-v211 .live-feature-media{
  position:relative;
  isolation:isolate;
}
.editorial-feature-v211 .live-feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(7,21,38,0) 0%,
      rgba(7,21,38,.08) 42%,
      rgba(7,21,38,.38) 68%,
      rgba(7,21,38,.78) 88%,
      rgba(7,21,38,1) 100%);
}
.editorial-feature-v211 .live-feature-overlay{
  background:
    linear-gradient(180deg,rgba(7,21,38,.02),rgba(7,21,38,.15))!important;
}
.editorial-feature-v211 .live-feature-copy{
  margin-right:-56px;
  padding-right:84px!important;
  background:
    linear-gradient(90deg,rgba(7,21,38,0) 0%,rgba(7,21,38,.88) 24%,#071526 48%,#071526 100%)!important;
}
.editorial-feature-v211 .label{
  z-index:3!important;
}
.editorial-feature-v211 h2{
  font-size:33px!important;
  line-height:1.42!important;
}
.editorial-feature-v211 .live-feature-copy>p{
  font-size:13.5px!important;
  line-height:1.9!important;
}
.editorial-feature-v211 .feature-meta{
  font-size:10.5px!important;
}

/* Fact card: use more of the available vertical space and enlarge verdict */
.fact-card-v211{
  padding:20px 18px!important;
  gap:13px!important;
  min-height:100%!important;
}
.fact-card-head b{
  font-size:22px!important;
  line-height:1.3!important;
}
.fact-card-head>div>span{
  font-size:11px!important;
}
.fact-head-icon{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
}
.fact-head-icon svg{
  width:21px!important;
  height:21px!important;
}
.fact-claim-box{
  min-height:86px!important;
  padding:16px 15px!important;
  font-size:13px!important;
  line-height:1.8!important;
  font-weight:600!important;
}
.fact-verdict{
  min-width:130px!important;
  padding:7px 16px!important;
  gap:9px!important;
  font-size:16px!important;
}
.fact-verdict-icon{
  width:29px!important;
  height:29px!important;
  font-size:16px!important;
  border-width:2.5px!important;
}
.fact-explain{
  font-size:11.5px!important;
  line-height:1.8!important;
  padding:0 6px!important;
}
.fact-read-more{
  padding:10px 12px!important;
  font-size:11.5px!important;
}
.fact-submit-v211{
  font-size:10.5px!important;
  margin-top:4px!important;
}
.fact-verdict-misleading,
.fact-verdict-false{
  box-shadow:0 5px 14px rgba(229,36,52,.08);
}
.fact-verdict-true{
  box-shadow:0 5px 14px rgba(31,154,97,.08);
}
.fact-verdict-context{
  box-shadow:0 5px 14px rgba(217,130,17,.08);
}
.fact-verdict-checking{
  box-shadow:0 5px 14px rgba(36,107,253,.08);
}

@media(max-width:900px){
  .editorial-feature-v211 .live-feature-copy{
    margin-right:0!important;
    padding-right:20px!important;
    background:#071526!important;
  }
  .editorial-feature-v211 .live-feature-media::after{
    background:linear-gradient(180deg,rgba(7,21,38,0) 55%,rgba(7,21,38,.95) 100%);
  }
}


/* =========================================================
   ALJIHA 2.13 — live file matches reference composition
   ========================================================= */
.editorial-feature-v211{
  position:relative!important;
  display:block!important;
  min-height:365px!important;
  overflow:hidden!important;
  background:#071526!important;
}
.editorial-feature-v211 .live-feature-media{
  position:absolute!important;
  inset:0!important;
  min-height:100%!important;
  width:100%!important;
  background-size:cover!important;
  background-position:center!important;
  z-index:0!important;
}
.editorial-feature-v211 .live-feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  /* dark navy text zone on the left, progressively revealing the image to the right */
  background:
    linear-gradient(90deg,
      #071526 0%,
      rgba(7,21,38,.98) 18%,
      rgba(7,21,38,.93) 34%,
      rgba(7,21,38,.72) 48%,
      rgba(7,21,38,.34) 62%,
      rgba(7,21,38,.08) 76%,
      rgba(7,21,38,0) 100%)!important;
}
.editorial-feature-v211 .live-feature-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,rgba(4,13,24,.06) 0%,rgba(4,13,24,.10) 58%,rgba(4,13,24,.48) 100%)!important;
}
.editorial-feature-v211 .label{
  top:16px!important;
  right:16px!important;
  z-index:4!important;
}
.editorial-feature-v211 .live-feature-copy{
  position:relative!important;
  z-index:3!important;
  width:52%!important;
  min-height:365px!important;
  margin:0!important;
  padding:44px 38px 30px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  background:transparent!important;
  text-align:right!important;
}
.editorial-feature-v211 h2{
  width:100%!important;
  max-width:520px!important;
  margin:0 0 13px!important;
  font-size:30px!important;
  line-height:1.45!important;
}
.editorial-feature-v211 .live-feature-copy>p{
  width:100%!important;
  max-width:500px!important;
  font-size:12.5px!important;
  line-height:1.85!important;
  color:#d5dde7!important;
}
.editorial-feature-v211 .feature-meta{
  width:100%!important;
  max-width:500px!important;
  margin-top:2px!important;
}
.editorial-feature-v211 .feature-bottom{
  margin-top:2px!important;
}

/* Fact-check card: fill its allocated column instead of leaving a large empty area */
.fact-card-v211{
  min-height:460px!important;
  height:100%!important;
  padding:24px 20px!important;
  gap:16px!important;
  justify-content:flex-start!important;
}
.fact-card-v211 .fact-card-head{
  margin-bottom:2px!important;
}
.fact-card-v211 .fact-card-head b{
  font-size:24px!important;
}
.fact-card-v211 .fact-card-head>div>span{
  font-size:12px!important;
}
.fact-card-v211 .fact-head-icon{
  width:40px!important;
  height:40px!important;
}
.fact-card-v211 .fact-head-icon svg{
  width:24px!important;
  height:24px!important;
}
.fact-card-v211 .fact-claim-box{
  min-height:108px!important;
  padding:20px 16px!important;
  font-size:14px!important;
  line-height:1.9!important;
}
.fact-card-v211 .fact-verdict{
  min-width:150px!important;
  padding:8px 18px!important;
  font-size:18px!important;
}
.fact-card-v211 .fact-verdict-icon{
  width:32px!important;
  height:32px!important;
  font-size:18px!important;
}
.fact-card-v211 .fact-explain{
  font-size:12.5px!important;
  line-height:1.9!important;
  padding:0 8px!important;
}
.fact-card-v211 .fact-read-more{
  padding:12px 14px!important;
  font-size:12.5px!important;
}
.fact-card-v211 .fact-submit-v211{
  margin-top:auto!important;
  padding-top:10px!important;
  font-size:11px!important;
}

@media(max-width:900px){
  .editorial-feature-v211{min-height:auto!important}
  .editorial-feature-v211 .live-feature-media{
    position:relative!important;
    min-height:260px!important;
  }
  .editorial-feature-v211 .live-feature-media::after{
    background:linear-gradient(180deg,rgba(7,21,38,0) 42%,#071526 100%)!important;
  }
  .editorial-feature-v211 .live-feature-copy{
    width:100%!important;
    min-height:auto!important;
    padding:24px 20px 28px!important;
    background:#071526!important;
  }
  .fact-card-v211{min-height:auto!important}
}


/* =========================================================
   ALJIHA 2.14 — approved live-file composition
   Image LEFT, editorial copy RIGHT, smooth navy blend.
   ========================================================= */
.editorial-feature-v211{
  position:relative!important;
  display:block!important;
  min-height:365px!important;
  overflow:hidden!important;
  background:#071526!important;
  direction:rtl!important;
}

/* Full-bleed article image */
.editorial-feature-v211 .live-feature-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  background-size:cover!important;
  background-position:left center!important;
  z-index:0!important;
}

/* Dark text zone on RIGHT that fades toward the image on LEFT */
.editorial-feature-v211 .live-feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(270deg,
      #071526 0%,
      rgba(7,21,38,.99) 18%,
      rgba(7,21,38,.94) 34%,
      rgba(7,21,38,.80) 48%,
      rgba(7,21,38,.50) 62%,
      rgba(7,21,38,.18) 76%,
      rgba(7,21,38,0) 100%)!important;
}
.editorial-feature-v211 .live-feature-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,
      rgba(3,10,18,.05) 0%,
      rgba(3,10,18,.10) 54%,
      rgba(3,10,18,.38) 100%)!important;
}

/* Badge stays top-right like approved mockup */
.editorial-feature-v211 .label{
  top:16px!important;
  right:16px!important;
  left:auto!important;
  z-index:4!important;
}

/* Editorial copy occupies RIGHT side */
.editorial-feature-v211 .live-feature-copy{
  position:relative!important;
  z-index:3!important;
  width:51%!important;
  min-height:365px!important;
  margin:0 0 0 auto!important;
  padding:46px 34px 30px 36px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  background:transparent!important;
  text-align:right!important;
  direction:rtl!important;
}
.editorial-feature-v211 h2{
  width:100%!important;
  max-width:535px!important;
  margin:0 0 12px!important;
  font-size:30px!important;
  line-height:1.47!important;
  color:#fff!important;
}
.editorial-feature-v211 h2 a{
  color:#fff!important;
}
.editorial-feature-v211 .live-feature-copy>p{
  width:100%!important;
  max-width:515px!important;
  margin:0 0 14px!important;
  font-size:12.5px!important;
  line-height:1.9!important;
  color:#d5dde7!important;
}
.editorial-feature-v211 .feature-meta{
  width:100%!important;
  max-width:515px!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:14px!important;
  margin:0 0 18px!important;
  padding-bottom:15px!important;
  border-bottom:1px solid rgba(255,255,255,.13)!important;
  color:#aab6c6!important;
  font-size:10px!important;
}
.editorial-feature-v211 .feature-bottom{
  width:100%!important;
  max-width:515px!important;
  display:flex!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:10px!important;
  margin-top:0!important;
}
.editorial-feature-v211 .feature-link,
.editorial-feature-v211 .feature-share{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:9px!important;
  padding:10px 18px!important;
  font-size:11px!important;
  font-weight:700!important;
}
.editorial-feature-v211 .feature-link{
  min-width:132px!important;
  background:#ed2538!important;
  color:#fff!important;
  border:1px solid #ed2538!important;
  order:1;
}
.editorial-feature-v211 .feature-share{
  min-width:100px!important;
  background:rgba(7,21,38,.18)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.34)!important;
  order:2;
}
.editorial-feature-v211 .feature-share:hover{
  background:rgba(255,255,255,.08)!important;
  border-color:#fff!important;
}

/* Keep fact card visually balanced with the larger feature */
.fact-card-v211{
  min-height:365px!important;
  height:100%!important;
}

@media(max-width:900px){
  .editorial-feature-v211{
    min-height:auto!important;
  }
  .editorial-feature-v211 .live-feature-media{
    position:relative!important;
    min-height:260px!important;
    height:260px!important;
    background-position:center!important;
  }
  .editorial-feature-v211 .live-feature-media::after{
    background:
      linear-gradient(180deg,
        rgba(7,21,38,0) 42%,
        rgba(7,21,38,.42) 68%,
        #071526 100%)!important;
  }
  .editorial-feature-v211 .live-feature-copy{
    width:100%!important;
    min-height:auto!important;
    margin:0!important;
    padding:24px 20px 28px!important;
    background:#071526!important;
  }
  .editorial-feature-v211 h2,
  .editorial-feature-v211 .live-feature-copy>p,
  .editorial-feature-v211 .feature-meta,
  .editorial-feature-v211 .feature-bottom{
    max-width:100%!important;
  }
}


/* =========================================================
   ALJIHA 2.15 — clearer live-file image, reference-like blend
   Image gets its own wide LEFT zone; gradient only at overlap.
   ========================================================= */
.editorial-feature-v211{
  position:relative!important;
  min-height:365px!important;
  overflow:hidden!important;
  background:#071526!important;
}

/* Give the image a dedicated left area instead of stretching it under all the text */
.editorial-feature-v211 .live-feature-media{
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  left:0!important;
  right:auto!important;
  width:63%!important;
  height:100%!important;
  min-height:100%!important;
  background-size:cover!important;
  background-position:58% center!important;
  z-index:0!important;
}

/* Keep most of the image clean; fade only its right edge into the text panel */
.editorial-feature-v211 .live-feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(7,21,38,0) 0%,
      rgba(7,21,38,0) 56%,
      rgba(7,21,38,.10) 66%,
      rgba(7,21,38,.34) 76%,
      rgba(7,21,38,.68) 88%,
      #071526 100%)!important;
}

/* Very light cinematic darkening only; do not hide the photo */
.editorial-feature-v211 .live-feature-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,
      rgba(3,10,18,.03) 0%,
      rgba(3,10,18,.04) 58%,
      rgba(3,10,18,.24) 100%)!important;
}

/* Copy stays on the right in a solid navy zone */
.editorial-feature-v211 .live-feature-copy{
  position:relative!important;
  z-index:3!important;
  width:49%!important;
  min-height:365px!important;
  margin:0 0 0 auto!important;
  padding:46px 32px 30px 34px!important;
  background:
    linear-gradient(90deg,
      rgba(7,21,38,.88) 0%,
      #071526 18%,
      #071526 100%)!important;
}

/* Badge remains attached to the editorial side */
.editorial-feature-v211 .label{
  top:16px!important;
  right:16px!important;
  left:auto!important;
  z-index:4!important;
}

@media(max-width:900px){
  .editorial-feature-v211 .live-feature-media{
    position:relative!important;
    width:100%!important;
    height:270px!important;
    min-height:270px!important;
    background-position:center!important;
  }
  .editorial-feature-v211 .live-feature-media::after{
    background:
      linear-gradient(180deg,
        rgba(7,21,38,0) 48%,
        rgba(7,21,38,.22) 72%,
        #071526 100%)!important;
  }
  .editorial-feature-v211 .live-feature-copy{
    width:100%!important;
    min-height:auto!important;
    margin:0!important;
    padding:24px 20px 28px!important;
    background:#071526!important;
  }
}


/* =========================================================
   ALJIHA 2.16 — final approved live-file composition
   Matches the accepted mockup: clean photo on the LEFT,
   soft overlap in the middle, solid navy editorial area RIGHT.
   ========================================================= */
.editorial-feature-v211{
  position:relative!important;
  display:block!important;
  min-height:365px!important;
  overflow:hidden!important;
  background:#071526!important;
  border-radius:16px!important;
}

/* Keep the photo clean and wide on the left */
.editorial-feature-v211 .live-feature-media{
  position:absolute!important;
  top:0!important;
  bottom:0!important;
  left:0!important;
  right:auto!important;
  width:61%!important;
  height:100%!important;
  min-height:100%!important;
  background-size:cover!important;
  background-position:center center!important;
  z-index:0!important;
  overflow:visible!important;
}

/* Extend the fade beyond the photo into the copy zone for a true blend */
.editorial-feature-v211 .live-feature-media::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:42%;
  right:-42%;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(7,21,38,0) 0%,
      rgba(7,21,38,.04) 18%,
      rgba(7,21,38,.13) 34%,
      rgba(7,21,38,.34) 50%,
      rgba(7,21,38,.68) 68%,
      rgba(7,21,38,.92) 84%,
      #071526 100%)!important;
}

/* Only a subtle cinematic shade on the image itself */
.editorial-feature-v211 .live-feature-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    linear-gradient(180deg,
      rgba(3,10,18,.02) 0%,
      rgba(3,10,18,.03) 62%,
      rgba(3,10,18,.20) 100%)!important;
}

/* Copy zone on the right, no hard vertical boundary */
.editorial-feature-v211 .live-feature-copy{
  position:relative!important;
  z-index:4!important;
  width:50%!important;
  min-height:365px!important;
  margin:0 0 0 auto!important;
  padding:48px 34px 30px 38px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  text-align:right!important;
  direction:rtl!important;
  background:transparent!important;
}

.editorial-feature-v211 .label{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  left:auto!important;
  z-index:6!important;
}

.editorial-feature-v211 h2{
  width:100%!important;
  max-width:540px!important;
  margin:0 0 13px!important;
  font-size:30px!important;
  line-height:1.48!important;
  color:#fff!important;
}
.editorial-feature-v211 h2 a{color:#fff!important}

.editorial-feature-v211 .live-feature-copy>p{
  width:100%!important;
  max-width:520px!important;
  margin:0 0 14px!important;
  font-size:12.5px!important;
  line-height:1.9!important;
  color:#d6dee8!important;
}

.editorial-feature-v211 .feature-meta{
  width:100%!important;
  max-width:520px!important;
  margin:0 0 18px!important;
  padding:0 0 15px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  border-bottom:1px solid rgba(255,255,255,.13)!important;
  color:#aeb9c7!important;
  font-size:10px!important;
}

.editorial-feature-v211 .feature-bottom{
  width:100%!important;
  max-width:520px!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
}

.editorial-feature-v211 .feature-link,
.editorial-feature-v211 .feature-share{
  min-height:40px!important;
  border-radius:9px!important;
  padding:10px 18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:11px!important;
  font-weight:700!important;
}

.editorial-feature-v211 .feature-link{
  min-width:132px!important;
  background:#ef263b!important;
  border:1px solid #ef263b!important;
  color:#fff!important;
}

.editorial-feature-v211 .feature-share{
  min-width:100px!important;
  background:rgba(7,21,38,.18)!important;
  border:1px solid rgba(255,255,255,.35)!important;
  color:#fff!important;
}

.editorial-feature-v211 .feature-share:hover{
  background:rgba(255,255,255,.07)!important;
  border-color:#fff!important;
}

/* Maintain the approved fact-check proportions next to the hero */
.fact-card-v211{
  min-height:365px!important;
  height:100%!important;
}

@media(max-width:900px){
  .editorial-feature-v211{
    min-height:auto!important;
  }
  .editorial-feature-v211 .live-feature-media{
    position:relative!important;
    width:100%!important;
    min-height:270px!important;
    height:270px!important;
    overflow:hidden!important;
    background-position:center!important;
  }
  .editorial-feature-v211 .live-feature-media::after{
    left:0!important;
    right:0!important;
    top:35%!important;
    bottom:0!important;
    background:
      linear-gradient(180deg,
        rgba(7,21,38,0) 0%,
        rgba(7,21,38,.18) 40%,
        rgba(7,21,38,.68) 72%,
        #071526 100%)!important;
  }
  .editorial-feature-v211 .live-feature-copy{
    width:100%!important;
    min-height:auto!important;
    margin:0!important;
    padding:24px 20px 28px!important;
    background:#071526!important;
  }
  .editorial-feature-v211 h2,
  .editorial-feature-v211 .live-feature-copy>p,
  .editorial-feature-v211 .feature-meta,
  .editorial-feature-v211 .feature-bottom{
    max-width:100%!important;
  }
}


/* =========================================================
   ALJIHA 2.17 — seamless live-file image blend
   Removes the last visible split line completely.
   ========================================================= */
.editorial-feature-v211{
  position:relative!important;
  display:block!important;
  min-height:365px!important;
  overflow:hidden!important;
  background:#071526!important;
  isolation:isolate!important;
}
.editorial-feature-v211 .live-feature-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  background-size:cover!important;
  background-position:34% center!important;
  z-index:0!important;
  overflow:hidden!important;
}
.editorial-feature-v211 .live-feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(7,21,38,0) 0%,
      rgba(7,21,38,0) 26%,
      rgba(7,21,38,.03) 36%,
      rgba(7,21,38,.10) 44%,
      rgba(7,21,38,.24) 52%,
      rgba(7,21,38,.46) 61%,
      rgba(7,21,38,.72) 72%,
      rgba(7,21,38,.91) 84%,
      #071526 100%)!important;
}
.editorial-feature-v211 .live-feature-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    radial-gradient(circle at 28% 44%,rgba(0,0,0,0) 0%,rgba(0,0,0,.02) 46%,rgba(0,0,0,.08) 72%,rgba(0,0,0,.14) 100%),
    linear-gradient(180deg,rgba(3,10,18,.02) 0%,rgba(3,10,18,.04) 60%,rgba(3,10,18,.20) 100%)!important;
}
.editorial-feature-v211 .live-feature-copy{
  position:relative!important;
  z-index:4!important;
  width:50%!important;
  min-height:365px!important;
  margin:0 0 0 auto!important;
  padding:48px 34px 30px 38px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  text-align:right!important;
  direction:rtl!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}
.editorial-feature-v211 .live-feature-copy::before,
.editorial-feature-v211 .live-feature-copy::after{
  content:none!important;
  display:none!important;
}
.editorial-feature-v211 .label{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  left:auto!important;
  z-index:6!important;
}
.editorial-feature-v211 h2{
  width:100%!important;
  max-width:540px!important;
  margin:0 0 13px!important;
  font-size:30px!important;
  line-height:1.48!important;
  color:#fff!important;
}
.editorial-feature-v211 .live-feature-copy>p{
  width:100%!important;
  max-width:520px!important;
  margin:0 0 14px!important;
  font-size:12.5px!important;
  line-height:1.9!important;
  color:#d6dee8!important;
}
.editorial-feature-v211 .feature-meta{
  width:100%!important;
  max-width:520px!important;
  margin:0 0 18px!important;
  padding:0 0 15px!important;
  border-bottom:1px solid rgba(255,255,255,.13)!important;
}
.editorial-feature-v211 .feature-bottom{
  width:100%!important;
  max-width:520px!important;
}
@media(max-width:900px){
  .editorial-feature-v211{min-height:auto!important}
  .editorial-feature-v211 .live-feature-media{
    position:relative!important;
    width:100%!important;
    height:275px!important;
    min-height:275px!important;
    background-position:center!important;
  }
  .editorial-feature-v211 .live-feature-media::after{
    background:
      linear-gradient(180deg,
        rgba(7,21,38,0) 0%,
        rgba(7,21,38,0) 42%,
        rgba(7,21,38,.18) 58%,
        rgba(7,21,38,.52) 76%,
        #071526 100%)!important;
  }
  .editorial-feature-v211 .live-feature-copy{
    width:100%!important;
    min-height:auto!important;
    margin:0!important;
    padding:24px 20px 28px!important;
    background:#071526!important;
  }
}


/* =========================================================
   ALJIHA 2.18 — exact approved live-file visual tuning
   Bigger visible image + gradient concentrated around title area
   with a seamless transition and no hard divider.
   ========================================================= */
.editorial-feature-v211{
  position:relative!important;
  display:block!important;
  min-height:365px!important;
  overflow:hidden!important;
  background:#071526!important;
  isolation:isolate!important;
}

/* Larger visible image, spanning the whole card */
.editorial-feature-v211 .live-feature-media{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  background-size:cover!important;
  background-position:30% center!important;
  z-index:0!important;
  overflow:hidden!important;
  transform:scale(1.015);
  transform-origin:center center;
}

/* Gradient is now concentrated over the text zone, while the image stays clearer */
.editorial-feature-v211 .live-feature-media::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(7,21,38,0) 0%,
      rgba(7,21,38,0) 31%,
      rgba(7,21,38,.02) 39%,
      rgba(7,21,38,.08) 46%,
      rgba(7,21,38,.18) 53%,
      rgba(7,21,38,.36) 60%,
      rgba(7,21,38,.58) 68%,
      rgba(7,21,38,.78) 76%,
      rgba(7,21,38,.93) 86%,
      #071526 100%)!important;
}

/* Keep photo vivid; only add a soft cinematic depth */
.editorial-feature-v211 .live-feature-overlay{
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:
    radial-gradient(circle at 27% 42%,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.01) 45%,
      rgba(0,0,0,.05) 70%,
      rgba(0,0,0,.10) 100%),
    linear-gradient(180deg,
      rgba(3,10,18,.01) 0%,
      rgba(3,10,18,.03) 62%,
      rgba(3,10,18,.17) 100%)!important;
}

/* Right-side copy matches the approved mockup proportions */
.editorial-feature-v211 .live-feature-copy{
  position:relative!important;
  z-index:4!important;
  width:48%!important;
  min-height:365px!important;
  margin:0 0 0 auto!important;
  padding:46px 34px 28px 36px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  text-align:right!important;
  direction:rtl!important;
  background:transparent!important;
  box-shadow:none!important;
  border:0!important;
}

.editorial-feature-v211 .live-feature-copy::before,
.editorial-feature-v211 .live-feature-copy::after{
  content:none!important;
  display:none!important;
}

.editorial-feature-v211 .label{
  position:absolute!important;
  top:16px!important;
  right:16px!important;
  left:auto!important;
  z-index:6!important;
}

.editorial-feature-v211 h2{
  width:100%!important;
  max-width:525px!important;
  margin:0 0 12px!important;
  font-size:30px!important;
  line-height:1.47!important;
  color:#fff!important;
}

.editorial-feature-v211 .live-feature-copy>p{
  width:100%!important;
  max-width:510px!important;
  margin:0 0 13px!important;
  font-size:12.5px!important;
  line-height:1.88!important;
  color:#d7dfe9!important;
}

.editorial-feature-v211 .feature-meta{
  width:100%!important;
  max-width:510px!important;
  margin:0 0 17px!important;
  padding:0 0 14px!important;
  border-bottom:1px solid rgba(255,255,255,.13)!important;
}

.editorial-feature-v211 .feature-bottom{
  width:100%!important;
  max-width:510px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
}

/* Fact card stays exactly in the approved proportions beside the hero */
.fact-card-v211{
  min-height:365px!important;
  height:100%!important;
}

@media(max-width:900px){
  .editorial-feature-v211{
    min-height:auto!important;
  }
  .editorial-feature-v211 .live-feature-media{
    position:relative!important;
    width:100%!important;
    height:280px!important;
    min-height:280px!important;
    background-position:center!important;
    transform:none!important;
  }
  .editorial-feature-v211 .live-feature-media::after{
    background:
      linear-gradient(180deg,
        rgba(7,21,38,0) 0%,
        rgba(7,21,38,0) 45%,
        rgba(7,21,38,.16) 60%,
        rgba(7,21,38,.48) 76%,
        #071526 100%)!important;
  }
  .editorial-feature-v211 .live-feature-copy{
    width:100%!important;
    min-height:auto!important;
    margin:0!important;
    padding:24px 20px 28px!important;
    background:#071526!important;
  }
  .editorial-feature-v211 h2,
  .editorial-feature-v211 .live-feature-copy>p,
  .editorial-feature-v211 .feature-meta,
  .editorial-feature-v211 .feature-bottom{
    max-width:100%!important;
  }
}


/* =========================================================
   ALJIHA 2.19 — header info bar + editable news ticker
   ========================================================= */
.aljiha-info-bar{
  height:44px!important;
  background:#102033!important;
  border-top:1px solid rgba(255,255,255,.04)!important;
  overflow:hidden;
}
.aljiha-info-inner{
  height:44px!important;
  max-width:1450px!important;
  margin:0 auto!important;
  padding:0 28px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:22px!important;
  color:#fff!important;
  direction:ltr!important;
}
.aljiha-weather{
  grid-column:1!important;
  justify-self:start!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  direction:rtl!important;
  white-space:nowrap!important;
  color:#f4f6f8!important;
}
.aljiha-weather b{font-size:14px!important}
.aljiha-weather .sun-icon{font-size:17px!important;line-height:1!important;color:#ffc928!important}

.aljiha-datetime{
  grid-column:3!important;
  justify-self:end!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  direction:rtl!important;
  white-space:nowrap!important;
  color:#f3f6f9!important;
}
.aljiha-date{
  display:block!important;
  font-size:11px!important;
  font-weight:700!important;
  color:#e7edf4!important;
}
.aljiha-clock{
  display:block!important;
  font-size:12px!important;
  font-weight:800!important;
  color:#fff!important;
  min-width:38px;
  text-align:center;
}

/* Remove the old live indicator entirely */
.aljiha-live{display:none!important}

/* News ticker */
.aljiha-news-ticker{
  grid-column:2!important;
  min-width:0!important;
  height:31px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  direction:rtl!important;
  overflow:hidden!important;
}
.ticker-label{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  height:25px;
  padding:0 9px;
  border-radius:7px;
  background:#ef263b;
  color:#fff;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.ticker-viewport{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  height:31px;
  display:flex;
  align-items:center;
}
.ticker-viewport::before,
.ticker-viewport::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:34px;
  z-index:2;
  pointer-events:none;
}
.ticker-viewport::before{
  right:0;
  background:linear-gradient(90deg,transparent,#102033);
}
.ticker-viewport::after{
  left:0;
  background:linear-gradient(270deg,transparent,#102033);
}
.ticker-track{
  display:flex;
  align-items:center;
  gap:28px;
  width:max-content;
  min-width:100%;
  padding-inline:20px;
  white-space:nowrap;
  animation:aljihaTickerScroll 55s linear infinite;
  will-change:transform;
}
.aljiha-news-ticker:hover .ticker-track{
  animation-play-state:paused;
}
.ticker-item{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#eaf0f6;
  font-size:11px;
  font-weight:600;
  transition:.18s ease;
}
.ticker-item:hover{color:#fff}
.ticker-item i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ef263b;
  box-shadow:0 0 0 3px rgba(239,38,59,.08);
  flex:0 0 5px;
}
.ticker-empty{
  color:#aab6c5;
  font-size:10px;
}

@keyframes aljihaTickerScroll{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}

/* Pause motion for accessibility */
@media(prefers-reduced-motion:reduce){
  .ticker-track{animation:none!important}
}

/* Tablet */
@media(max-width:980px){
  .aljiha-info-inner{
    padding:0 18px!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    column-gap:12px!important;
  }
  .ticker-label{display:none}
  .ticker-track{gap:22px;animation-duration:46s}
  .ticker-item{font-size:10px}
  .aljiha-date{font-size:10px}
}

/* Mobile: keep ticker central, compact date/time */
@media(max-width:640px){
  .aljiha-info-bar{height:42px!important}
  .aljiha-info-inner{
    height:42px!important;
    padding:0 12px!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    column-gap:8px!important;
  }
  .aljiha-weather{gap:5px!important}
  .aljiha-weather span:first-child{display:none!important}
  .aljiha-weather b{font-size:12px!important}
  .aljiha-date{display:none!important}
  .aljiha-clock{font-size:11px!important}
  .aljiha-news-ticker{height:28px!important}
  .ticker-viewport{height:28px!important}
  .ticker-track{gap:18px;padding-inline:8px;animation-duration:38s}
  .ticker-item{font-size:9.5px}
}


/* =========================================================
   ALJIHA 2.21 — Morocco Trend card
   ========================================================= */
.morocco-trend-card{
  padding:14px!important;
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
}
.morocco-trend-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding-bottom:9px;
  border-bottom:1px solid #edf0f4;
}
.morocco-trend-head>div{display:flex;flex-direction:column;gap:2px}
.morocco-trend-head b{
  font-size:17px;
  line-height:1.35;
  color:#f07b15;
  font-weight:800;
}
.morocco-trend-head>div>span{
  color:#98a2b3;
  font-size:9.5px;
}
.trend-auto-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 7px;
  border-radius:99px;
  background:#effaf5;
  border:1px solid #d8f0e5;
  color:#16935f;
  font-size:8.5px;
  white-space:nowrap;
}
.trend-auto-badge i{
  width:6px;height:6px;border-radius:50%;
  background:#22b573;
  box-shadow:0 0 0 4px rgba(34,181,115,.08);
}
.morocco-trend-list{
  display:flex;
  flex-direction:column;
  flex:1;
  padding-top:5px;
}
.morocco-trend-item{
  display:grid;
  grid-template-columns:24px minmax(0,1fr) 15px;
  align-items:center;
  gap:7px;
  min-height:44px;
  padding:6px 1px;
  border-bottom:1px solid #eef1f4;
  color:#152033;
  transition:.18s ease;
}
.morocco-trend-item:last-child{border-bottom:0}
.morocco-trend-item:hover{
  transform:translateX(-2px);
  color:#071526;
}
.trend-rank{
  width:22px;height:22px;
  border-radius:7px;
  display:grid;place-items:center;
  background:#f5f7f9;
  color:#667085;
  font-size:9px;
  font-weight:800;
}
.morocco-trend-item:nth-child(1) .trend-rank{
  background:#fff0e8;color:#f06a13;
}
.morocco-trend-item:nth-child(2) .trend-rank{
  background:#fff7e8;color:#d98716;
}
.morocco-trend-item:nth-child(3) .trend-rank{
  background:#f3f5f8;color:#667085;
}
.trend-main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.trend-main strong{
  font-size:10.5px;
  line-height:1.5;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.trend-main small{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  font-size:7.8px;
}
.trend-source{
  display:inline-flex;
  align-items:center;
  padding:2px 5px;
  border-radius:5px;
  font-weight:700;
  white-space:nowrap;
}
.trend-source-google{background:#eef4ff;color:#246bfd}
.trend-source-youtube{background:#fff0f1;color:#e52434}
.trend-source-x{background:#eef1f4;color:#111827}
.trend-source-editorial{background:#fff7e8;color:#c97612}
.trend-metric{
  color:#98a2b3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.trend-arrow{
  color:#b2bdca;
  font-size:12px;
}
.trend-loading{
  flex:1;
  min-height:185px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  gap:4px;
  color:#667085;
  padding:18px;
}
.trend-loading-dot{
  width:9px;height:9px;border-radius:50%;
  background:#f07b15;
  box-shadow:0 0 0 5px rgba(240,123,21,.10);
  margin-bottom:5px;
}
.trend-loading b{font-size:11px;color:#344054}
.trend-loading small{font-size:8.5px;color:#98a2b3}
.morocco-trend-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding-top:8px;
  margin-top:auto;
  border-top:1px solid #edf0f4;
  color:#98a2b3;
  font-size:8px;
}
.morocco-trend-footer a{color:#246bfd;font-weight:700}

body.aljiha-dark .morocco-trend-card{
  background:#0c1b2c;border-color:#23364b;
}
body.aljiha-dark .morocco-trend-head,
body.aljiha-dark .morocco-trend-item,
body.aljiha-dark .morocco-trend-footer{
  border-color:#23364b;
}
body.aljiha-dark .morocco-trend-item{color:#fff}
body.aljiha-dark .trend-rank{background:#13273d;color:#aeb9c7}
body.aljiha-dark .trend-source-x{background:#18293c;color:#fff}


/* ALJIHA 2.23 — footer logo support */
.aljiha-footer-brand{display:flex;flex-direction:column;gap:7px}
.aljiha-footer-logo{display:inline-flex;align-items:center}
.aljiha-footer-logo img{display:block;max-height:72px;object-fit:contain}


/* =========================================================
   AlJiha News 1.0.0 — Final Responsive Production Layer
   Desktop / tablet / mobile hardening
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,iframe{max-width:100%}
input,select,textarea,button{max-width:100%}
.page-shell,.aljiha-header-inner,.aljiha-info-inner,.footer-inner,.copyright{width:100%}

/* Prevent long Arabic/Latin strings from breaking cards */
.panel,.story-card,.trend-main,.party-choice,.fact-claim-box,.live-feature-copy,
.editor-chat-card,.morocco-trend-card,.radar-card-v27,.promise-card-v27{
  min-width:0;
}
.story-card h2,.story-card h3,.trend-main strong,.fact-claim-box,.live-feature-copy h2,
.live-feature-copy p,.party-choice small,.ticker-item span{
  overflow-wrap:anywhere;
}

/* Large tablet / small laptop */
@media(max-width:1180px){
  .page-shell{padding-inline:20px!important}
  .aljiha-header-inner{padding-inline:20px!important;gap:14px!important}
  .aljiha-primary-nav .aljiha-category-menu a{padding-inline:10px!important;font-size:12.5px!important}
  .aljiha-brand{flex-basis:140px!important;min-width:140px!important}
  .aljiha-header-tools{gap:5px!important}
  .hero-grid-v14{grid-template-columns:minmax(0,1.75fr) minmax(210px,.9fr) minmax(210px,.9fr)!important}
  .news-radar-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.9fr)!important}
}

/* Tablet */
@media(max-width:980px){
  .aljiha-header-inner{height:68px!important}
  .aljiha-brand{height:64px!important;min-width:125px!important;flex-basis:125px!important}
  .aljiha-brand img{max-height:36px!important}
  .aljiha-primary-nav{display:none!important}
  .aljiha-menu-button{display:flex!important;order:initial!important}
  .aljiha-header-tools{margin-right:auto!important}

  .aljiha-info-inner{
    padding-inline:16px!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    column-gap:10px!important;
  }
  .aljiha-news-ticker{min-width:0!important}
  .aljiha-datetime{gap:8px!important}

  .hero-grid-v14,
  .mid-grid,
  .feature-grid-v14,
  .news-radar-grid,
  .content-grid{
    grid-template-columns:1fr!important;
  }

  .hero-grid-v14>.panel{min-height:auto!important}
  .hero-live-panel .story-card.large{
    grid-template-columns:minmax(240px,.95fr) minmax(0,1.05fr)!important;
    height:auto!important;
    min-height:260px!important;
  }
  .editorial-feature-v211{min-height:340px!important}
  .fact-card-v211{min-height:auto!important}
  .aljiha-local-card{grid-template-columns:minmax(0,.95fr) minmax(300px,1.05fr)!important}
  .party-selector{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* Portrait tablet / large mobile */
@media(max-width:800px){
  .page-shell{padding:16px 14px 42px!important}
  .panel{border-radius:13px!important}
  .hero-live-panel .story-card.large{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }
  .hero-live-panel .story-card.large .story-media{
    min-height:230px!important;
    height:230px!important;
  }
  .hero-live-panel .story-card.large h2{font-size:21px!important}

  .aljiha-local-card{grid-template-columns:1fr!important}
  .map-visual{order:-1!important}
  .morocco-map-wrap,.morocco-regions-map{min-height:280px!important;height:280px!important}

  .editorial-feature-v211 .live-feature-media{
    position:relative!important;
    width:100%!important;
    height:300px!important;
    min-height:300px!important;
    transform:none!important;
  }
  .editorial-feature-v211 .live-feature-copy{
    width:100%!important;
    min-height:auto!important;
    padding:24px 20px 28px!important;
    background:#071526!important;
  }
  .editorial-feature-v211 h2{font-size:25px!important;max-width:100%!important}
  .editorial-feature-v211 .live-feature-copy>p{max-width:100%!important}
  .editorial-feature-v211 .feature-meta,
  .editorial-feature-v211 .feature-bottom{max-width:100%!important}

  .feed-tabs{gap:16px!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none}
  .feed-tabs::-webkit-scrollbar{display:none}

  .footer-inner{grid-template-columns:1fr!important}
}

/* Mobile */
@media(max-width:640px){
  .aljiha-header-inner{
    height:62px!important;
    padding-inline:12px!important;
    gap:8px!important;
  }
  .aljiha-brand{
    flex:1 1 auto!important;
    min-width:0!important;
    align-items:flex-start!important;
    height:58px!important;
  }
  .aljiha-brand img{
    width:auto!important;
    max-width:118px!important;
    max-height:34px!important;
  }
  .aljiha-brand small{
    font-size:7.5px!important;
    max-width:118px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .aljiha-menu-button{width:38px!important;height:38px!important;flex:0 0 38px!important}
  .aljiha-header-tools{gap:2px!important}
  .aljiha-icon-button{width:34px!important;height:34px!important}
  .aljiha-header-tools .aljiha-icon-button:first-child{display:none!important}

  .aljiha-info-bar{height:40px!important}
  .aljiha-info-inner{
    height:40px!important;
    padding-inline:10px!important;
    grid-template-columns:auto minmax(0,1fr) auto!important;
    column-gap:7px!important;
  }
  .aljiha-weather{gap:4px!important}
  .aljiha-weather span:first-child{display:none!important}
  .aljiha-weather .sun-icon{font-size:14px!important}
  .aljiha-weather b{font-size:11px!important}
  .aljiha-date{display:none!important}
  .aljiha-clock{font-size:10px!important;min-width:34px!important}
  .ticker-label{display:none!important}
  .ticker-track{gap:16px!important;padding-inline:6px!important}
  .ticker-item{font-size:9px!important}

  .page-shell{padding:12px 10px 34px!important}
  .aljiha-home-v14 .panel{padding:13px!important}
  .section-title b,.aljiha-home-v14 .section-title b{font-size:16px!important}

  .story-card,
  .feed-v14 .story-card{
    grid-template-columns:92px minmax(0,1fr)!important;
    gap:10px!important;
  }
  .feed-v14 .story-media{width:92px!important;height:64px!important}
  .story-card h2,.story-card h3,.feed-v14 .story-card h2{font-size:13px!important}

  .party-selector{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .party-choice-logo{width:42px!important;height:42px!important;flex-basis:42px!important}

  .radar-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .radar-stat{min-height:72px!important}

  .fact-card-v211{padding:18px 15px!important;gap:12px!important}
  .fact-card-v211 .fact-card-head b{font-size:20px!important}
  .fact-card-v211 .fact-claim-box{font-size:12.5px!important;min-height:86px!important}
  .fact-card-v211 .fact-verdict{font-size:15px!important;min-width:125px!important}

  .morocco-trend-item{
    grid-template-columns:22px minmax(0,1fr) 12px!important;
    min-height:48px!important;
  }
  .trend-main strong{font-size:10px!important}

  .newsletter-form{flex-direction:column!important}
  .newsletter-form input,.newsletter-form button{width:100%!important}

  .article-page{padding:26px 14px!important}
  .article-page h1{font-size:29px!important;line-height:1.45!important}
  .lead{font-size:17px!important}
  .entry-content{font-size:17px!important;line-height:1.95!important}
  .article-cover{border-radius:13px!important}

  .archive-grid{grid-template-columns:1fr!important}
  .archive-card .thumb{height:210px!important}

  .site-footer{padding:30px 16px!important}
  .footer-menu ul{display:flex!important;flex-direction:column!important;gap:8px!important}
  .copyright{margin-top:18px!important;padding-top:16px!important}
}

/* Narrow phones */
@media(max-width:430px){
  .aljiha-header-tools .aljiha-notifications{display:none!important}
  .aljiha-brand img{max-width:105px!important}
  .hero-live-panel .story-card.large .story-media{height:205px!important;min-height:205px!important}
  .editorial-feature-v211 .live-feature-media{height:250px!important;min-height:250px!important}
  .editorial-feature-v211 h2{font-size:22px!important}
  .feature-bottom{flex-wrap:wrap!important}
  .editorial-feature-v211 .feature-link,
  .editorial-feature-v211 .feature-share{flex:1 1 120px!important}
  .morocco-map-wrap,.morocco-regions-map{height:250px!important;min-height:250px!important}
  .party-qa-head{align-items:flex-start!important}
  .party-qa-badge{font-size:7.5px!important}
}

/* Tiny screens */
@media(max-width:360px){
  .aljiha-header-inner{padding-inline:8px!important}
  .aljiha-brand img{max-width:94px!important}
  .aljiha-header-tools .aljiha-icon-button{width:31px!important;height:31px!important}
  .page-shell{padding-inline:8px!important}
  .story-card,.feed-v14 .story-card{grid-template-columns:82px minmax(0,1fr)!important}
  .feed-v14 .story-media{width:82px!important;height:60px!important}
}


/* =========================================================
   ALJIHA News 1.0.1 — RTL layout containment fix
   ========================================================= */
html{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow-x:clip!important;
}
body{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow-x:clip!important;
  position:relative!important;
}
body>header.site-header,
body>main.site-main,
body>footer.site-footer{
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
  inset-inline:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
}
.site-header,
.aljiha-header,
.aljiha-header-main,
.aljiha-info-bar,
.site-main,
.site-footer{
  width:100%!important;
  max-width:100%!important;
  margin-inline:0!important;
  transform:none!important;
}
.aljiha-header-inner,
.aljiha-info-inner,
.page-shell,
.footer-inner,
.copyright{
  width:calc(100% - 32px)!important;
  max-width:1450px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
.page-shell{
  position:relative!important;
  inset-inline:auto!important;
  transform:none!important;
  float:none!important;
  clear:both!important;
}
.hero-grid-v14,
.mid-grid,
.feature-grid-v14,
.news-radar-grid,
.content-grid,
.reports-grid{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
.hero-grid-v14>*,
.mid-grid>*,
.feature-grid-v14>*,
.news-radar-grid>*,
.content-grid>*{
  min-width:0!important;
  max-width:100%!important;
}
.aljiha-slider-viewport,
.morocco-map-wrap,
.editorial-feature-v211,
.editorial-chat-card,
.morocco-trend-card,
.radar-card-v27,
.promise-card-v27{
  max-width:100%!important;
  overflow:hidden;
}
.ticker-viewport{
  max-width:100%!important;
  overflow:hidden!important;
}
@media(min-width:981px){
  .aljiha-header-inner,
  .aljiha-info-inner,
  .page-shell,
  .footer-inner,
  .copyright{
    width:min(1450px,calc(100% - 40px))!important;
  }
}
@media(max-width:980px){
  .aljiha-header-inner,
  .aljiha-info-inner,
  .page-shell,
  .footer-inner,
  .copyright{
    width:calc(100% - 24px)!important;
  }
}
@media(max-width:640px){
  .aljiha-header-inner,
  .aljiha-info-inner,
  .page-shell,
  .footer-inner,
  .copyright{
    width:calc(100% - 16px)!important;
  }
}
