*{box-sizing:border-box;margin:0;padding:0}
:root{
    --brand:#b4161b;
    --brand-dark:#7d0d11;
    --brand-soft:#fff1f1;
    --ink:#171717;
    --muted:#6f7379;
    --line:#e1e3e6;
    --surface:#ffffff;
    --page:#f4f5f7;
    --black:#0d0d0e;
    --radius:12px;
    --shadow:0 10px 30px rgba(20,25,35,.08);
    --container:1320px;
}
html{scroll-behavior:smooth}
body{
    min-height:100vh;
    direction:rtl;
    overflow-x:hidden;
    background:var(--page);
    color:var(--ink);
    font-family:"Cairo",Tahoma,Arial,sans-serif;
    font-size:16px;
    line-height:1.75;
}
body,button,input,textarea,select{font-family:"Cairo",Tahoma,Arial,sans-serif}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
img{display:block;max-width:100%}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.site-container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
::selection{background:var(--brand);color:#fff}

/* header */
.site-header{position:relative;z-index:1100;background:#fff}
.topbar{background:var(--black);color:#fff;border-bottom:1px solid #252526}
.topbar-inner{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.network-links,.social-links{display:flex;align-items:center;gap:0}
.network-links a,.social-links a{position:relative;padding:0 16px;color:#f2f2f2;font-size:12px;font-weight:700;white-space:nowrap}
.network-links a:not(:last-child)::after,.social-links a:not(:last-child)::after{content:"";position:absolute;left:0;top:50%;width:1px;height:16px;transform:translateY(-50%);background:#454545}
.network-links a:hover,.social-links a:hover{color:#ffb9bb}
.brandbar{background:#fff;border-bottom:1px solid var(--line)}
.brandbar-inner{min-height:104px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand-area{display:flex;align-items:center;gap:20px}
.brand-logo{display:flex;align-items:center;justify-content:center}
.brand-logo img{
    width:225px;
    height: auto !important;
     max-height: 104px !important;
    object-fit:contain;
    image-rendering: auto;
    background:#fff}
.menu-toggle{width:42px;height:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#fff;border:1px solid #d9d9d9;border-radius:8px}
.menu-toggle span{width:21px;height:2px;background:#171717;border-radius:9px;transition:.25s}
.menu-toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.header-tools{display:flex;align-items:center;gap:10px}
.newsletter-button,.live-button{min-height:40px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:13px;font-weight:800}
.newsletter-button{background:#f2b70b;color:#1e1e1e}
.live-button{background:var(--brand);color:#fff}
.live-button span{width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px rgba(255,255,255,.2)}
.header-icon-button{width:40px;height:40px;display:grid;place-items:center;background:#f1f2f3;color:#171717;border:1px solid #e1e2e4;border-radius:50%;font-size:23px}
.header-search-panel{display:none;border-top:1px solid var(--line);background:#fafafa}
.header-search-panel.open{display:block}
.header-search-form{padding:16px 0;display:flex;gap:10px}
.header-search-form input{flex:1;min-height:48px;padding:0 17px;background:#fff;border:1px solid #d8dade;border-radius:8px;outline:none}
.header-search-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(180,22,27,.09)}
.header-search-form button{min-width:105px;border:0;border-radius:8px;background:var(--brand);color:#fff;font-weight:800}

/* navigation */
.main-nav{position:sticky;top:0;z-index:1050;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 3px 12px rgba(10,10,10,.04)}
.nav-list{min-height:54px;display:flex;align-items:stretch;overflow-x:auto;scrollbar-width:none}
.nav-list::-webkit-scrollbar{display:none}
.nav-list li{flex:0 0 auto}
.nav-list a{min-height:54px;padding:0 18px;display:flex;align-items:center;justify-content:center;color:#232323;border-bottom:3px solid transparent;font-size:14px;font-weight:800;white-space:nowrap}
.nav-list a:hover,.nav-list a.active{color:var(--brand);border-bottom-color:var(--brand)}
.breaking-bar{min-height:44px;display:flex;align-items:center;background:linear-gradient(90deg,#d82a30,var(--brand));color:#fff;overflow:hidden}
.breaking-label{min-width:110px;min-height:44px;padding:0 18px;display:flex;align-items:center;justify-content:center;gap:8px;background:rgba(105,0,4,.28);font-weight:900}
.breaking-label span{width:8px;height:8px;border-radius:50%;background:#fff}
.breaking-track{flex:1;overflow:hidden;direction:ltr}
.breaking-content{width:max-content;min-width:100%;display:flex;align-items:center;gap:24px;padding-inline:28px;direction:rtl;animation:ticker 28s linear infinite;font-size:14px;font-weight:700}
.breaking-content:hover{animation-play-state:paused}
.breaking-content a:hover{text-decoration:underline}
@keyframes ticker{from{transform:translateX(-8%)}to{transform:translateX(45%)}}

/* common */
.ad-slot{margin:28px auto;min-height:90px;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #e2e3e5;border-radius:8px;color:#a1a4a9;font-size:12px;letter-spacing:.08em}
.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.section-title-row h2{position:relative;padding-right:14px;font-size:27px;line-height:1.4}
.section-title-row h2::before{content:"";position:absolute;top:4px;right:0;width:5px;height:calc(100% - 8px);background:var(--brand);border-radius:20px}
.section-title-row a{color:var(--brand);font-size:13px;font-weight:800}
.section-title-row a:hover{text-decoration:underline}
.category-pill{display:inline-flex;align-items:center;min-height:27px;padding:4px 10px;border-radius:6px;background:var(--brand);color:#fff;font-size:11px;font-weight:900}
.story-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#7d8187;font-size:11px}
.empty-state{padding:50px 25px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);color:#85898e;text-align:center}

/* homepage */
.home-page{padding-bottom:65px}
.home-stories{padding:22px 0 3px;background:#fff;border-bottom:1px solid var(--line)}
.home-stories-track{display:flex;gap:18px;padding-bottom:16px;overflow-x:auto;scrollbar-width:thin}
.home-story{flex:0 0 105px;text-align:center}
.home-story-image{width:78px;height:78px;margin:0 auto 8px;padding:3px;border-radius:50%;background:linear-gradient(135deg,#e53e44,#7b0509)}
.home-story-image img,.home-story-placeholder{width:100%;height:100%;object-fit:cover;border:3px solid #fff;border-radius:50%}
.home-story-placeholder{display:grid;place-items:center;background:#eceff2;color:#777}
.home-story p {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.55;
}
.home-hero{padding:24px 0 34px}
.hero-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(320px,1fr);gap:18px}
.hero-main,.hero-side-card{position:relative;overflow:hidden;background:#222;border-radius:var(--radius);box-shadow:var(--shadow)}
.hero-main{min-height:510px}
.hero-side-stack{display:grid;grid-template-rows:1fr 1fr;gap:18px}
.hero-side-card{min-height:246px}
.hero-main img,.hero-side-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.4s}
.hero-main:hover img,.hero-side-card:hover img{transform:scale(1.04)}
.image-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#dfe2e6,#b8bec5);color:#555}
.hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04) 20%,rgba(0,0,0,.9) 100%)}
.hero-content{position:absolute;right:0;bottom:0;left:0;z-index:2;padding:30px;color:#fff}
.hero-side-card .hero-content{padding:20px}
.hero-main h1{max-width:900px;margin-top:12px;font-size:clamp(31px,3.4vw,50px);line-height:1.45;color:#fff}
.hero-side-card h2{margin-top:10px;font-size:20px;line-height:1.5;color:#fff}
.hero-summary{max-width:850px;margin-top:10px;color:#e3e3e3;font-size:15px;line-height:1.85}
.hero-meta{margin-top:13px;color:#d3d3d3}
.home-section{padding:30px 0}
.home-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.news-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 6px 18px rgba(20,24,33,.04);transition:.25s}
.news-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d3a1a3}
.news-card-image{position:relative;height:190px;overflow:hidden;background:#e8eaed}
.news-card-image img{width:100%;height:100%;object-fit:cover;transition:.4s}
.news-card:hover .news-card-image img{transform:scale(1.04)}
.news-card-image .category-pill{position:absolute;right:12px;bottom:11px}
.news-card-body{padding:16px}
.news-card-body h3{margin-bottom:9px;font-size:17px;line-height:1.65}
.news-card-body p{margin-bottom:11px;color:#70747a;font-size:12px;line-height:1.8}
.news-card-time{color:#8a8e94;font-size:10px}
.trending-box{position:sticky;top:72px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 5px 18px rgba(20,24,33,.04)}
.trending-box h3{margin-bottom:7px;padding-bottom:12px;border-bottom:2px solid var(--brand);font-size:20px}
.trending-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:14px 0;border-bottom:1px solid #ececef}
.trending-item:last-child{border-bottom:0}
.trending-number{color:var(--brand);font-size:27px;font-weight:900;line-height:1}
.trending-item h4{margin-bottom:4px;font-size:13px;line-height:1.55}
.trending-item span{color:#91959b;font-size:10px}
.category-section{padding:30px 0;border-top:1px solid #e5e6e8}

/* article */
.article-page{padding:0 0 70px}
.article-ad{margin-top:28px}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:34px;align-items:start}
.article-main{min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px;box-shadow:0 7px 24px rgba(20,24,33,.05)}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:18px;color:#80848a;font-size:12px}
.breadcrumbs a{color:var(--brand);font-weight:700}
.article-category{display:inline-flex;margin-bottom:15px;padding:5px 11px;background:var(--brand-soft);color:var(--brand);border-radius:6px;font-size:12px;font-weight:900}
.article-title{margin-bottom:14px;font-size:clamp(32px,4.1vw,56px);line-height:1.42;color:#171717}
.article-summary{margin-bottom:18px;color:#62666b;font-size:18px;line-height:1.95}
.article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:13px 0;border-top:1px solid #ececef;border-bottom:1px solid #ececef;color:#72767b;font-size:12px}
.share-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0}
.share-buttons{display:flex;align-items:center;gap:7px}
.share-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #dfe1e4;border-radius:50%;background:#fff;color:#36393e;font-weight:800}
.share-button:hover{border-color:var(--brand);color:var(--brand)}
.font-tools{display:flex;align-items:center;gap:8px;color:#62666c}
.font-tools button{width:34px;height:34px;border:1px solid #dfe1e4;border-radius:7px;background:#fff;font-weight:800}
.article-image{width:100%;max-height:650px;object-fit:cover;border-radius:10px}
.article-image-caption{margin-top:7px;color:#92969c;font-size:11px}
.article-highlights{margin:24px 0;padding:18px 20px;background:#fff8e5;border-right:4px solid #e9ad05;border-radius:8px}
.article-highlights h2{margin-bottom:8px;color:#292929;font-size:22px}
.article-highlights p{margin:0!important;color:#303237!important;font-size:16px!important;line-height:1.9!important}
.article-content{padding-top:8px;font-size:19px;line-height:2.15;color:#25272b;overflow-wrap:anywhere}
.article-content p{margin:0 0 22px}
.article-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.article-tag{padding:6px 11px;background:#f0f1f3;border-radius:7px;color:#555a60;font-size:12px;font-weight:700}
.related-section{margin-top:38px}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.related-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:10px;transition:.25s}
.related-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.related-image,.related-placeholder{width:100%;height:170px;object-fit:cover;background:#e9ebee}
.related-placeholder{display:grid;place-items:center;color:#888}
.related-content{padding:14px}
.related-category{display:block;margin-bottom:6px;color:var(--brand);font-size:11px;font-weight:900}
.related-title{font-size:15px;line-height:1.65}
.article-sidebar{position:sticky;top:72px}
.sidebar-card{margin-bottom:18px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.sidebar-card h3{margin-bottom:10px;padding-bottom:10px;border-bottom:2px solid var(--brand);font-size:19px}
.sidebar-news-item{display:grid;grid-template-columns:82px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #eceef0}
.sidebar-news-item:last-child{border-bottom:0}
.sidebar-news-item img{width:82px;height:65px;object-fit:cover;border-radius:6px}
.sidebar-news-item h4{font-size:12px;line-height:1.55}
.sidebar-news-item span{color:#8c9095;font-size:9px}
.article-not-found{padding:70px 25px;text-align:center;background:#fff;border-radius:var(--radius)}
.article-back-button{display:inline-flex;margin-top:18px;padding:10px 18px;background:var(--brand);color:#fff;border-radius:8px;font-weight:800}

/* category/search */
.listing-page{padding:30px 0 70px}
.listing-header{margin-bottom:22px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.listing-header h1{margin-bottom:6px;font-size:36px}
.listing-header p{color:#72767b}
.listing-count{display:inline-block;margin-top:10px;color:var(--brand);font-size:12px;font-weight:800}
.listing-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.listing-main{min-width:0}
.lead-story{display:grid;grid-template-columns:1.25fr 1fr;gap:0;overflow:hidden;margin-bottom:20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.lead-story-image{min-height:330px;background:#e6e8eb}
.lead-story-image img{width:100%;height:100%;object-fit:cover}
.lead-story-content{padding:26px;display:flex;flex-direction:column;justify-content:center}
.lead-story-content h2{margin:12px 0;font-size:29px;line-height:1.55}
.lead-story-content p{color:#696d73;font-size:14px;line-height:1.9}
.listing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.listing-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);transition:.25s}
.listing-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.listing-card-image{height:210px;background:#e8eaed}
.listing-card-image img{width:100%;height:100%;object-fit:cover}
.listing-card-body{padding:16px}
.listing-card-body h2{margin-bottom:8px;font-size:18px;line-height:1.65}
.listing-card-body p{margin-bottom:10px;color:#74787e;font-size:12px;line-height:1.8}
.search-form-page{display:flex;gap:10px;margin-bottom:22px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.search-form-page input{flex:1;min-height:50px;padding:0 16px;border:1px solid #d7d9dc;border-radius:8px;outline:none}
.search-form-page button{min-width:110px;border:0;border-radius:8px;background:var(--brand);color:#fff;font-weight:900}
.search-info{margin-bottom:16px;color:#666b70;font-size:13px}
.pagination{display:flex;justify-content:center;gap:7px;margin-top:28px}
.pagination a,.pagination span{min-width:38px;height:38px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:7px;font-size:13px}
.pagination .active-page{background:var(--brand);color:#fff;border-color:var(--brand)}

/* footer */
.site-footer{margin-top:30px;background:#fff;border-top:1px solid var(--line)}
.footer-main{display:grid;grid-template-columns:1.4fr .8fr .8fr 1.1fr;gap:38px;padding:45px 0}
.footer-brand img{width:210px;height:80px;object-fit:contain;margin-bottom:12px}
.footer-brand p,.footer-newsletter p{color:#70747a;font-size:13px;line-height:1.9}
.footer-social{display:flex;gap:8px;margin-top:14px}
.footer-social a{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#111;color:#fff;font-weight:800}
.footer-column,.footer-newsletter{display:flex;flex-direction:column;align-items:flex-start;gap:9px}
.footer-column h3,.footer-newsletter h3{margin-bottom:6px;font-size:19px}
.footer-column a{color:#666b70;font-size:13px}
.footer-column a:hover{color:var(--brand)}
.footer-newsletter form{width:100%;display:flex;margin-top:8px}
.footer-newsletter input{min-width:0;flex:1;height:44px;padding:0 12px;border:1px solid #d8dade;border-radius:8px 0 0 8px;outline:none}
.footer-newsletter button{height:44px;padding:0 14px;border:0;background:var(--brand);color:#fff;border-radius:0 8px 8px 0;font-weight:800}
.footer-bottom{background:var(--black);color:#d2d2d2}
.footer-bottom-inner{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:12px}
.scroll-top{position:fixed;left:22px;bottom:22px;z-index:1000;width:44px;height:44px;display:none;border:0;border-radius:50%;background:var(--brand);color:#fff;font-size:22px;box-shadow:0 8px 20px rgba(80,0,3,.25)}
.scroll-top.visible{display:block}

/* desktop refinements */
@media (min-width:781px){
    .menu-toggle{display:none}
}

/* tablet */
@media (max-width:1100px){
    .network-links a{padding:0 10px}
    .home-content-layout,.article-layout,.listing-layout{grid-template-columns:1fr}
    .trending-box,.article-sidebar{position:static}
    .news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .footer-main{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* mobile */
@media (max-width:780px){
    body{font-size:15px;background:#fff}
    .site-container{width:calc(100% - 20px)}
    .topbar{display:none}
    .brandbar-inner{min-height:72px;gap:10px}
    .brand-area{gap:9px}
    .brand-logo img{width:135px;height:52px}
    .menu-toggle{width:38px;height:38px}
    .header-tools{gap:6px}
    .newsletter-button{padding:0 10px;min-height:34px;font-size:10px}
    .live-button{display:none}
    .header-icon-button{width:35px;height:35px;font-size:20px}
    .header-search-form{padding:11px 0}
    .header-search-form input{min-height:44px}
    .header-search-form button{min-width:75px}
    .main-nav{position:relative;top:auto;box-shadow:none}
    .nav-list{display:none;position:absolute;top:0;right:0;left:0;z-index:1200;max-height:70vh;padding:10px;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 18px 35px rgba(0,0,0,.15);overflow-y:auto}
    .nav-list.open{display:block}
    .nav-list li{width:100%}
    .nav-list a{min-height:46px;justify-content:flex-start;padding:0 12px;border-bottom:1px solid #eceef0}
    .breaking-bar{min-height:42px}
    .breaking-label{min-width:75px;min-height:42px;padding:0 9px;font-size:13px}
    .breaking-content{gap:18px;padding-inline:16px;font-size:12px;animation-duration:20s}
    .ad-slot{min-height:65px;margin:15px auto}
    .home-stories{padding-top:14px}
    .home-stories-track{gap:12px}
    .home-story{flex-basis:92px}
    .home-story-image{width:68px;height:68px}
    .home-hero{padding:14px 0 20px}
    .hero-layout{grid-template-columns:1fr;gap:12px}
    .hero-main{min-height:405px}
    .hero-side-stack{grid-template-columns:1fr;grid-template-rows:none;gap:12px}
    .hero-side-card{min-height:220px}
    .hero-content{padding:20px}
    .hero-main h1{font-size:29px;line-height:1.45}
    .hero-side-card h2{font-size:19px}
    .hero-summary{font-size:13px;line-height:1.8}
    .hero-meta{font-size:10px}
    .home-section,.category-section{padding:22px 0}
    .section-title-row{margin-bottom:14px}
    .section-title-row h2{font-size:23px}
    .home-content-layout{display:flex;flex-direction:column}
    .news-grid{grid-template-columns:1fr;gap:14px}
    .news-card-image{height:220px}
    .news-card-body h3{font-size:18px}
    .trending-box{width:100%;order:2}
    .article-page{padding-bottom:35px}
    .article-ad{margin-top:14px}
    .article-main{padding:14px;border-right:0;border-left:0;border-radius:0;box-shadow:none}
    .article-layout{gap:18px}
    .breadcrumbs{margin-bottom:12px}
    .article-title{font-size:31px;line-height:1.45}
    .article-summary{font-size:15px;line-height:1.85}
    .article-meta{gap:7px;font-size:10px}
    .share-row{padding:10px 0}
    .article-image{border-radius:7px}
    .article-highlights{margin:17px 0;padding:14px}
    .article-highlights h2{font-size:20px}
    .article-content{font-size:18px;line-height:2.05}
    .related-grid{grid-template-columns:1fr}
    .related-image,.related-placeholder{height:220px}
    .article-sidebar{display:none}
    .listing-page{padding:18px 0 35px}
    .listing-header{padding:18px}
    .listing-header h1{font-size:30px}
    .lead-story{grid-template-columns:1fr}
    .lead-story-image{min-height:230px}
    .lead-story-content{padding:18px}
    .lead-story-content h2{font-size:23px}
    .listing-grid{grid-template-columns:1fr}
    .listing-card-image{height:225px}
    .search-form-page{padding:10px;gap:7px}
    .search-form-page button{min-width:76px}
    .footer-main{grid-template-columns:1fr;gap:24px;padding:30px 0}
    .footer-brand img{width:175px;height:68px}
    .footer-bottom-inner{min-height:70px;flex-direction:column;justify-content:center;text-align:center}
    .scroll-top{left:14px;bottom:14px}
}

/* أقسام الموقع الديناميكية داخل الفوتر */
.footer-main {
    grid-template-columns: 1.25fr .75fr 1.55fr 1.1fr;
}

.footer-categories {
    min-width: 0;
}

.footer-categories-links {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 8px 18px;
}

.footer-categories-links a {
    color: #666b70;

    font-size: 13px;
    line-height: 1.6;
}

.footer-categories-links a:hover {
    color: var(--brand);
}

@media (max-width: 1100px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-categories-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 430px) {
    .footer-categories-links {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   تحديث الهيدر والقائمة الجانبية - الإصدار 21
========================================================= */
body.menu-open{overflow:hidden}

.topbar-inner{
    min-height:38px;
    justify-content:center;
}

.network-links{
    width:100%;
    justify-content:center;
}

.network-links a{
    padding-inline:18px;
}

.social-links{
    display:none!important;
}

.brandbar{
    position:relative;
}

.brandbar-inner{
    min-height:116px;
}

.brand-area{
    flex-shrink:0;
    gap:14px;
}

.brand-logo img{
    width:230px;
    height:108px;
}

.menu-toggle{
    display:flex!important;
    width:42px;
    height:42px;
    flex:0 0 42px;
    background:#fff;
    border:0;
    border-radius:4px;
}

.menu-toggle:hover{
    background:#f3f4f5;
}

.menu-toggle span{
    width:23px;
    height:3px;
}

.header-left-area{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:15px;
}

.header-social-icons{
    display:flex;
    align-items:center;
    gap:8px;
    direction:ltr;
}

.social-icon{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    background:#f2b70b;
    color:#fff;
    border-radius:50%;
    transition:transform .2s ease,background .2s ease;
}

.social-icon:hover{
    transform:translateY(-2px);
    background:var(--brand);
}

.social-icon svg{
    width:17px;
    height:17px;
    fill:currentColor;
}

.social-icon-x svg{
    width:15px;
    height:15px;
}

.main-nav-inner{
    display:flex;
    justify-content:center;
}

.nav-list{
    justify-content:center;
}

/* خلفية القائمة الجانبية */
.site-menu-overlay{
    position:fixed;
    inset:0;
    z-index:1600;
    display:block;
    visibility:hidden;
    opacity:0;
    background:rgba(0,0,0,.58);
    border:0;
    transition:opacity .25s ease,visibility .25s ease;
}

.site-menu-overlay.open{
    visibility:visible;
    opacity:1;
}

.site-menu-drawer{
    position:fixed;
    top:0;
    right:0;
    bottom:0;
    z-index:1700;
    width:min(430px,92vw);
    overflow-y:auto;
    background:#fff;
    color:#171717;
    box-shadow:-18px 0 45px rgba(0,0,0,.22);
    transform:translateX(105%);
    transition:transform .3s ease;
}

.site-menu-drawer.open{
    transform:translateX(0);
}

.drawer-header{
    position:sticky;
    top:0;
    z-index:2;
    min-height:92px;
    padding:20px 22px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    background:#fff;
    border-bottom:1px solid var(--line);
}

.drawer-header div{
    display:flex;
    flex-direction:column;
    gap:3px;
}

.drawer-header strong{
    font-size:21px;
}

.drawer-header span{
    color:#7b7f85;
    font-size:12px;
}

.drawer-close{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    flex:0 0 42px;
    background:#fff;
    color:#171717;
    border:1px solid #d8dade;
    border-radius:50%;
    font-size:29px;
    line-height:1;
}

.drawer-close:hover{
    color:#fff;
    background:var(--brand);
    border-color:var(--brand);
}

.drawer-body{
    padding:22px;
}

.drawer-section+ .drawer-section{
    margin-top:28px;
}

.drawer-section h2{
    margin-bottom:12px;
    padding-bottom:10px;
    color:var(--brand);
    border-bottom:2px solid var(--brand);
    font-size:17px;
}

.drawer-links{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}

.drawer-links a{
    min-height:47px;
    padding:9px 12px;
    display:flex;
    align-items:center;
    gap:7px;
    background:#f7f8f9;
    border:1px solid #e7e8ea;
    border-radius:7px;
    color:#252525;
    font-size:13px;
    font-weight:700;
}

.drawer-links a:hover,
.drawer-links a.active{
    color:#fff;
    background:var(--brand);
    border-color:var(--brand);
}

.drawer-links-primary{
    grid-template-columns:1fr;
}

@media (min-width:781px){
    .menu-toggle{
        display:flex!important;
    }
}

@media (max-width:780px){
    .topbar{
        display:block;
    }

    .topbar-inner{
        min-height:34px;
        overflow-x:auto;
        justify-content:flex-start;
        scrollbar-width:none;
    }

    .topbar-inner::-webkit-scrollbar{
        display:none;
    }

    .network-links{
        width:max-content;
        min-width:100%;
        justify-content:center;
    }

    .network-links a{
        padding-inline:10px;
        font-size:10px;
    }

    .brandbar-inner{
        min-height:92px;
        gap:8px;
    }

    .brand-area{
        gap:5px;
    }

    .brand-logo img{
        width:125px;
        height:66px;
    }

    .menu-toggle{
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    .header-left-area{
        gap:9px;
    }

    .header-social-icons{
        gap:5px;
    }

    .social-icon{
        width:25px;
        height:25px;
    }

    .social-icon svg{
        width:14px;
        height:14px;
    }

    .header-tools{
        gap:5px;
    }

    .newsletter-button{
        padding-inline:8px;
        min-height:32px;
        font-size:9px;
    }

    .header-icon-button{
        width:32px;
        height:32px;
        font-size:18px;
    }

    .main-nav{
        position:relative;
        top:auto;
    }

    .main-nav-inner{
        width:100%;
    }

    .nav-list{
        width:100%;
        min-height:46px;
        display:flex;
        position:static;
        padding:0 8px;
        overflow-x:auto;
        background:#fff;
        border:0;
        box-shadow:none;
        scrollbar-width:none;
    }

    .nav-list::-webkit-scrollbar{
        display:none;
    }

    .nav-list li{
        width:auto;
        flex:0 0 auto;
    }

    .nav-list a{
        min-height:46px;
        padding:0 13px;
        justify-content:center;
        border-bottom:3px solid transparent;
        font-size:12px;
    }

    .site-menu-drawer{
        width:min(390px,94vw);
    }

    .drawer-links{
        grid-template-columns:1fr;
    }
}

@media (max-width:430px){
    .brandbar-inner{
        width:calc(100% - 12px);
    }

    .brand-logo img{
        width:112px;
    }

    .newsletter-button{
        display:none;
    }

    .header-social-icons{
        gap:4px;
    }

    .social-icon{
        width:24px;
        height:24px;
    }
}
/* زر التصنيفات على يمين الشعار */
.brand-area {
    direction: rtl !important;
}

.brand-area .menu-toggle {
    order: -1 !important;
    margin-right: 0 !important;
    margin-left: 12px !important;
    flex-shrink: 0;
}

.brand-area .brand-logo {
    order: 0 !important;
}

/* =========================================================
   WIDE_HOME_DESIGN
   التصميم الواسع والمفتوح للصفحة الرئيسية
========================================================= */

:root {
    --container: 1560px;
    --radius: 2px;
}

body {
    background: #ffffff;
}

.site-container {
    width: min(
        var(--container),
        calc(100% - 24px)
    );
}

.topbar-inner {
    justify-content: center;
}

.network-links {
    justify-content: center;
}

.brand-area {
    direction: ltr !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
    gap: 12px !important;
}

.brand-logo img {
    width: 225px;
    height: 116px;
}

.menu-toggle {
    flex: 0 0 42px;
    border: 0;
    border-radius: 0;
}

/* شريط العاجل الخفيف */

.breaking-bar {
    min-height: 42px;
    background: #ffffff;
    color: #202020;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #dddddd;
}

.breaking-label {
    min-width: 90px;
    min-height: 42px;
    padding: 0 12px;
    background: transparent;
    color: var(--brand);
    border-left: 1px solid #dedede;
}

.breaking-label span {
    background: var(--brand);
}

.breaking-content {
    font-size: 13px;
    font-weight: 700;
}

/* الصفحة الرئيسية */

.home-page {
    padding-bottom: 35px;
    background: #ffffff;
}

.home-stories {
    padding: 13px 0 0;
    background: #ffffff;
    border-bottom: 0;
}

.home-stories-track {
    gap: 12px;
    padding-bottom: 10px;
}

.home-story {
    flex-basis: 96px;
}

.home-story-image {
    width: 72px;
    height: 72px;
    margin-bottom: 5px;
}

.home-hero {
    padding: 12px 0 17px;
}

.hero-layout {
    grid-template-columns:
        minmax(0, 1.62fr)
        minmax(500px, 1fr);
    gap: 8px;
}

.hero-main,
.hero-side-card {
    border-radius: 0;
    box-shadow: none;
}

.hero-main {
    min-height: 610px;
}

.hero-side-stack {
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    grid-template-rows:
        repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hero-side-card {
    min-height: 301px;
}

.hero-content {
    padding: 24px;
}

.hero-side-card .hero-content {
    padding: 16px;
}

.hero-main h1 {
    font-size: clamp(30px, 3vw, 47px);
}

.hero-side-card h2 {
    font-size: 17px;
    line-height: 1.55;
}

.home-section,
.category-section,
.opinion-section {
    padding: 18px 0;
}

.category-section {
    border-top: 1px solid #e7e7e7;
}

.section-title-row {
    margin-bottom: 13px;
    padding-bottom: 8px;
}

.section-title-row h2 {
    font-size: 25px;
}

.home-content-layout {
    grid-template-columns:
        minmax(0, 1fr)
        285px;
    gap: 18px;
}

.news-grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 17px 12px;
}

.news-card {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.news-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.news-card-image {
    height: 185px;
    border-radius: 0;
}

.news-card-body {
    padding: 8px 0 0;
}

.news-card-body h3 {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.55;
}

.news-card-body p {
    display: none;
}

.news-card-time {
    font-size: 9px;
}

.category-pill {
    border-radius: 0;
}

.trending-box {
    top: 62px;
    padding: 14px;
    border: 0;
    border-right: 1px solid #dddddd;
    border-radius: 0;
    box-shadow: none;
}

.trending-item {
    padding: 11px 0;
}

/* الإعلانات تظهر فقط عند وجود إعلان */

.banner-ad-slot.ad-slot-filled {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.banner-ad-slot.ad-slot-filled img {
    object-fit: cover;
}

/* رئيس التحرير وكتاب الرأي */

.opinion-writers-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 12px 20px;
}

.opinion-writer {
    min-width: 0;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.opinion-writer-avatar {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: #171717;
    color: #ffffff;
    font-size: 25px;
    font-weight: 900;
}

.opinion-writer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opinion-writer span {
    color: var(--brand);
    font-size: 10px;
    font-weight: 900;
}

.opinion-writer h3 {
    margin-top: 3px;
    font-size: 15px;
    line-height: 1.5;
}

/* صفحة رئيس التحرير وكتاب الرأي */

.team-page,
.profile-page {
    padding-top: 24px !important;
    background: #ffffff !important;
}

.editorial-group {
    margin-bottom: 35px;
}

.team-heading {
    margin-bottom: 22px !important;
}

.team-grid {
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
    gap: 25px 18px !important;
}

.chief-editor-grid {
    grid-template-columns:
        minmax(220px, 340px) !important;
}

.team-card {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.team-avatar {
    width: 128px !important;
    height: 128px !important;
    border: 0 !important;
}

.team-profile-button {
    display: none !important;
}

.profile-hero {
    padding: 18px 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.profile-news-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.profile-news-body {
    padding: 10px 0 !important;
}

/* الأجهزة المتوسطة */

@media (max-width: 1250px) {
    .hero-layout {
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(430px, 1fr);
    }

    .news-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .opinion-writers-grid,
    .team-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}

/* الموبايل والتابلت */

@media (max-width: 900px) {
    .site-container {
        width: calc(100% - 18px);
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-main {
        min-height: 430px;
    }

    .hero-side-stack {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hero-side-card {
        min-height: 220px;
    }

    .news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .home-content-layout {
        grid-template-columns: 1fr;
    }

    .trending-box {
        border-right: 0;
        border-top: 1px solid #dddddd;
    }

    .opinion-writers-grid,
    .team-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 600px) {
    .brand-logo img {
        width: 130px;
        height: 60px;
    }

    .home-hero {
        padding-top: 7px;
    }

    .hero-main {
        min-height: 390px;
    }

    .hero-side-stack {
        grid-template-columns: 1fr;
    }

    .hero-side-card {
        min-height: 225px;
    }

    .news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 15px 9px;
    }

    .news-card-image {
        height: 135px;
    }

    .news-card-body h3 {
        font-size: 13px;
    }

    .section-title-row h2 {
        font-size: 21px;
    }

    .opinion-writers-grid,
    .team-grid {
        grid-template-columns: 1fr !important;
    }

    .breaking-label {
        min-width: 67px;
        font-size: 11px;
    }
}
/* =========================================
   IBM Plex Sans Arabic
========================================= */

html,
body,
button,
input,
select,
textarea {
    font-family:
        "IBM Plex Sans Arabic",
        Tahoma,
        Arial,
        sans-serif !important;
}

body {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
}

/* القائمة الرئيسية */
.main-nav a,
.topbar a,
.header-links a,
.drawer-menu a {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: 18px;
    font-weight: 600;
}

/* عناوين الأقسام */
.section-title-row h2,
.opinion-heading h2,
.team-section-title h2,
.profile-news-heading h2 {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

/* عنوان الخبر الرئيسي */
.hero-main h1 {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: clamp(34px, 3.6vw, 58px);
    font-weight: 700;
    line-height: 1.35;
}

/* الأخبار الجانبية */
.hero-side-card h2 {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: clamp(19px, 1.7vw, 26px);
    font-weight: 700;
    line-height: 1.5;
}

/* عناوين الأخبار */
.news-card h3,
.trending-item h4,
.profile-news-body h3,
.opinion-writer-info h3 {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.55;
}

/* ملخصات الأخبار */
.news-card-body p,
.hero-summary,
.profile-news-summary,
.article-content,
.article-content p {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
}

/* التصنيفات والتواريخ */
.category-pill,
.news-card-time,
.story-meta,
.profile-news-meta,
.opinion-writer-role,
.team-role {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-weight: 600;
}

/* صفحة الخبر */
.article-title,
.article-header h1 {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 700;
    line-height: 1.4;
}

/* الأزرار */
button,
.profile-load-more,
.team-profile-button {
    font-family: "IBM Plex Sans Arabic", sans-serif !important;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 650px) {
    body {
        font-size: 16px;
    }

    .main-nav a,
    .topbar a,
    .header-links a,
    .drawer-menu a {
        font-size: 16px;
    }

    .section-title-row h2,
    .opinion-heading h2,
    .team-section-title h2,
    .profile-news-heading h2 {
        font-size: 25px;
    }

    .news-card h3,
    .trending-item h4,
    .profile-news-body h3 {
        font-size: 19px;
    }
}
/* =========================================
   ضبط خط وأحجام محتوى الصفحات
========================================= */

body {
    font-family:
        "IBM Plex Sans Arabic",
        Tahoma,
        Arial,
        sans-serif !important;

    font-size: 16px !important;
}

/* إجبار محتوى الصفحات على نفس الخط */
main,
main *,
.home-page,
.home-page *,
.article-page,
.article-page *,
.profile-page,
.profile-page *,
.team-page,
.team-page * {
    font-family:
        "IBM Plex Sans Arabic",
        Tahoma,
        Arial,
        sans-serif !important;
}

/* عنوان الخبر الرئيسي في الصفحة الرئيسية */
.hero-main h1 {
    font-size: clamp(30px, 2.8vw, 46px) !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* عناوين الأخبار الأربعة الجانبية */
.hero-side-card h2 {
    font-size: clamp(16px, 1.3vw, 22px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

/* ملخص الخبر الرئيسي */
.hero-summary {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
}

/* عنوان الخبر داخل صفحة المقال */
.article-title,
.article-header h1,
.article-page h1,
main article h1 {
    font-size: clamp(34px, 3.2vw, 50px) !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

/* وصف الخبر الموجود تحت العنوان */
.article-summary,
.article-lead,
.article-header p {
    font-size: 17px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
}

/* محتوى الخبر */
.article-content,
.article-content p {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 2.1 !important;
}

/* عناوين الأقسام مثل أحدث الأخبار */
.section-title-row h2,
.opinion-heading h2,
.profile-news-heading h2,
.team-section-title h2 {
    font-size: 27px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

/* عناوين بطاقات الأخبار */
.news-card h3,
.news-card-body h3,
.trending-item h4,
.profile-news-body h3 {
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.55 !important;
}

/* ملخصات بطاقات الأخبار */
.news-card-body p,
.profile-news-summary {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.8 !important;
}

/* القائمة العلوية */
.main-nav a,
.topbar a,
.header-links a,
.drawer-menu a {
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* الهاتف */
@media (max-width: 650px) {
    .hero-main h1 {
        font-size: 29px !important;
    }

    .hero-side-card h2 {
        font-size: 18px !important;
    }

    .article-title,
    .article-header h1,
    .article-page h1,
    main article h1 {
        font-size: 31px !important;
    }

    .article-content,
    .article-content p {
        font-size: 17px !important;
    }

    .section-title-row h2,
    .opinion-heading h2,
    .profile-news-heading h2 {
        font-size: 24px !important;
    }
}
/* =========================================================
   HEADER FINAL
   التنسيق النهائي للهيدر
========================================================= */

.site-header,
.site-header * {
    font-family:
        "IBM Plex Sans Arabic",
        Tahoma,
        Arial,
        sans-serif !important;
}

/* الشريط الأسود */
.topbar {
    display: block !important;
    background: #0d0d0e !important;
    color: #ffffff;
    border-bottom: 1px solid #292929;
}

.topbar-inner {
    min-height: 42px !important;
    display: flex;
    align-items: center;
    justify-content: center !important;
    overflow: visible;
}

.network-links {
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center !important;
}

.network-links a {
    position: relative;
    padding: 0 20px !important;
    color: #f5f5f5;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 42px;
    white-space: nowrap;
}

.network-links a:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 17px;
    background: #424242;
    transform: translateY(-50%);
}

.network-links a:hover,
.network-links a.is-active {
    color: #f2b70b !important;
}

/* منطقة الشعار */
.brandbar {
    position: relative;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.brandbar-inner {
    min-height: 122px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* زر القائمة على يمين الشعار */
.brand-area {
    direction: rtl !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center;
    flex-shrink: 0;
    gap: 14px !important;
}

.brand-area .menu-toggle {
    order: 0 !important;
    margin: 0 !important;
}

.brand-area .brand-logo {
    order: 1 !important;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    width: 225px !important;
    height: 104px !important;
    object-fit: contain;
    background: transparent;
}

/* زر القائمة */
.menu-toggle {
    display: flex !important;
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 0;
    background: #ffffff;
    border: 1px solid #dedede !important;
    border-radius: 50% !important;
}

.menu-toggle:hover {
    background: #f5f5f5;
    border-color: #b4161b !important;
}

.menu-toggle span {
    width: 21px !important;
    height: 2px !important;
    background: #171717;
    border-radius: 10px;
}

/* الجهة اليسرى */
.header-left-area {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 13px;
}

/* السوشال */
.header-social-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: ltr;
}

.social-icon {
    width: 31px !important;
    height: 31px !important;

    display: grid;
    place-items: center;

    color: #ffffff !important;
    background: #111111 !important;
    border-radius: 50%;
}

.social-icon:hover {
    background: #b4161b !important;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.social-icon-x svg {
    width: 14px;
    height: 14px;
}

/* الأدوات */
.header-tools {
    display: flex;
    align-items: center;
    gap: 9px;
}

.newsletter-button {
    min-height: 40px !important;
    padding: 0 16px !important;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: #171717 !important;
    background: #f2b70b !important;
    border-radius: 5px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

.newsletter-button:hover {
    background: #dda700 !important;
}

.live-button {
    display: none !important;
}

/* زر البحث */
.header-icon-button {
    width: 40px !important;
    height: 40px !important;

    display: grid;
    place-items: center;

    padding: 0;
    color: #171717;
    background: #f3f3f3;

    border: 1px solid #dfdfdf;
    border-radius: 50%;
}

.header-icon-button:hover {
    color: #ffffff;
    background: #b4161b;
    border-color: #b4161b;
}

.header-icon-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* صندوق البحث */
.header-search-panel {
    display: none;
    background: #fafafa;
    border-top: 1px solid #e4e4e4;
}

.header-search-panel.open {
    display: block;
}

.header-search-form {
    padding: 15px 0;
    display: flex;
    gap: 10px;
}

.header-search-form input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 0 16px;

    background: #ffffff;
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    outline: none;
}

.header-search-form input:focus {
    border-color: #b4161b;
    box-shadow: 0 0 0 3px rgba(180, 22, 27, 0.08);
}

.header-search-form button {
    min-width: 105px;
    min-height: 48px;

    color: #ffffff;
    background: #b4161b;

    border: 0;
    border-radius: 5px;

    font-weight: 700;
}

/* التابلت */
@media (max-width: 900px) {
    .brandbar-inner {
        min-height: 98px !important;
        gap: 15px;
    }

    .brand-logo img {
        width: 175px !important;
        height: 82px !important;
    }

    .network-links a {
        padding-inline: 13px !important;
        font-size: 13px !important;
    }
}

/* الموبايل */
@media (max-width: 650px) {
    .topbar-inner {
        min-height: 36px !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .topbar-inner::-webkit-scrollbar {
        display: none;
    }

    .network-links {
        width: max-content !important;
        min-width: max-content !important;
        justify-content: flex-start !important;
    }

    .network-links a {
        padding-inline: 11px !important;
        font-size: 11px !important;
        line-height: 36px;
    }

    .brandbar-inner {
        min-height: 78px !important;
        gap: 8px;
    }

    .brand-area {
        gap: 6px !important;
    }

    .brand-logo img {
        width: 135px !important;
        height: 65px !important;
    }

    .menu-toggle {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }

    .header-left-area {
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .header-social-icons,
    .newsletter-button {
        display: none !important;
    }

    .header-icon-button {
        width: 37px !important;
        height: 37px !important;
    }

    .header-search-form {
        padding: 10px 0;
        gap: 7px;
    }

    .header-search-form input,
    .header-search-form button {
        min-height: 44px;
    }

    .header-search-form button {
        min-width: 76px;
    }
}
/* =========================================
   شريط الأخبار العاجلة الأحمر
========================================= */

.breaking-bar {
    min-height: 44px !important;
    background: linear-gradient(
        90deg,
        #d71920,
        #b4161b
    ) !important;
    color: #ffffff !important;
    border: 0 !important;
}

.breaking-label {
    min-width: 95px !important;
    min-height: 44px !important;
    padding: 0 15px !important;

    background: #8f0f13 !important;
    color: #ffffff !important;

    border-left: 1px solid rgba(255, 255, 255, 0.25) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

.breaking-label span {
    width: 8px;
    height: 8px;

    background: #ffffff !important;
    border-radius: 50%;

    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.breaking-content {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.breaking-content a {
    color: #ffffff !important;
}

.breaking-content a:hover {
    text-decoration: underline;
}

@media (max-width: 650px) {
    .breaking-bar,
    .breaking-label {
        min-height: 42px !important;
    }

    .breaking-label {
        min-width: 70px !important;
        padding: 0 9px !important;
        font-size: 12px !important;
    }

    .breaking-content {
        font-size: 12px !important;
    }
}
/* رسائل النشرة الإخبارية */

.newsletter-message {
    width: 100%;
    margin-top: 11px;
    padding: 10px 12px;

    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.newsletter-message.success {
    color: #146c35;
    background: #e8f8ee;
    border: 1px solid #a9dfbb;
}

.newsletter-message.error {
    color: #9f161b;
    background: #fff0f0;
    border: 1px solid #efb3b5;
}
/* تكبير شعار الموقع */

.brandbar-inner {
    min-height: 145px !important;
}

.brand-logo img {
    width: 290px !important;
    height: auto !important;
    max-height: 125px !important;
    object-fit: contain !important;
}

/* التابلت */
@media (max-width: 900px) {
    .brandbar-inner {
        min-height: 115px !important;
    }

    .brand-logo img {
        width: 225px !important;
        max-height: 95px !important;
    }
}

/* الموبايل */
@media (max-width: 650px) {
    .brandbar-inner {
        min-height: 88px !important;
    }

    .brand-logo img {
        width: 160px !important;
        max-height: 72px !important;
    }
}
/* =========================================================
   MOBILE FULL WIDTH FIX
   تعبئة شاشة الهاتف تلقائيًا
========================================================= */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

/* منع أي عنصر من توسيع الصفحة */
main,
section,
article,
aside,
header,
footer,
nav,
div {
    min-width: 0;
}

/* الهاتف */
@media (max-width: 650px) {

    body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    /* محتوى الموقع يأخذ كامل الشاشة */
    .site-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    /* الهيدر */
    .brandbar-inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* القائمة الرئيسية تمرير أفقي بدل خروجها من الشاشة */
    .main-nav-inner {
        width: 100% !important;
        padding: 0 !important;
    }

    .nav-list {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    /* الخبر الرئيسي */
    .hero-layout {
        width: 100% !important;
        display: block !important;
    }

    .hero-main {
        width: 100% !important;
        min-height: 430px !important;
        margin-bottom: 10px;
    }

    .hero-side-stack {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .hero-side-card {
        width: 100% !important;
        min-height: 250px !important;
    }

    .hero-main img,
    .hero-side-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* الأخبار */
    .home-content-layout,
    .article-layout,
    .listing-layout {
        width: 100% !important;
        display: block !important;
    }

    .news-grid,
    .category-news-grid,
    .listing-grid,
    .related-grid {
        width: 100% !important;
        grid-template-columns: 1fr !important;
    }

    .news-card,
    .listing-card,
    .related-card {
        width: 100% !important;
        max-width: 100% !important;
    }

    .news-card-image,
    .listing-card-image,
    .related-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .news-card-image img,
    .listing-card-image img,
    .related-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    /* صفحة الخبر */
    .article-main {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .article-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }

    .article-title {
        overflow-wrap: anywhere;
    }

    /* الإعلانات */
    .banner-ad-slot,
    .banner-ad-slot img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    /* الفوتر */
    .footer-main {
        width: 100% !important;
        grid-template-columns: 1fr !important;
    }
}
/* =========================================
   FIX MOBILE HORIZONTAL OVERFLOW
========================================= */

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

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden !important;
}

/* إخفاء القائمة الجانبية بالكامل عند إغلاقها */
.site-menu-drawer {
    right: 0 !important;
    width: min(430px, 92vw) !important;
    max-width: 92vw !important;

    transform: translate3d(110%, 0, 0) !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.site-menu-drawer.open {
    transform: translate3d(0, 0, 0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.menu-open {
    overflow: hidden !important;
}

/* الهاتف */
@media (max-width: 780px) {

    .site-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .article-page,
    .article-layout,
    .article-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .article-layout {
        display: block !important;
    }

    .article-main {
        padding: 14px !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* نخفي العمود الجانبي على الهاتف */
    .article-sidebar {
        display: none !important;
    }

    .article-title {
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 18px !important;
        font-size: clamp(27px, 8vw, 38px) !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .article-summary,
    .article-content,
    .article-content p {
        width: 100% !important;
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
    }

    .article-meta,
    .share-row {
        width: 100% !important;
        max-width: 100% !important;
        flex-wrap: wrap !important;
    }

    img,
    video,
    iframe {
        max-width: 100% !important;
        height: auto;
    }

    .topbar-inner,
    .main-nav-inner,
    .nav-list {
        max-width: 100% !important;
    }
}
.native-share-button {
    min-height: 38px;
    padding: 0 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border: 0;
    border-radius: 8px;

    background: var(--brand);
    color: #ffffff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
    white-space: nowrap;
}

.native-share-button:hover {
    opacity: 0.9;
}

@media (max-width: 600px) {
    .share-row {
        flex-wrap: wrap;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .native-share-button {
        min-height: 36px;
        padding-inline: 12px;
        font-size: 12px;
    }
}
.native-share-button {
    min-height: 42px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #c82020;
    color: #ffffff;

    border: 0;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
}

.native-share-button:hover {
    background: #a91616;
}

@media (max-width: 600px) {
    .native-share-button {
        width: 100%;
        min-height: 46px;
    }
}