/*
Theme Name: Hajer Modern
Theme URI: https://hajerclub.net
Author: Hajer Club
Description: هوية رقمية حديثة لنادي هجر السعودي مع إحصائيات المشاهدة وتوافق كامل مع ووردبريس.
Version: 2.0.0
Requires PHP: 7.4
Text Domain: hajer-modern
*/
:root{--ink:#111317;--dark:#171a20;--silver:#bfc3ca;--muted:#707681;--paper:#f4f5f6;--line:#e3e5e9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;direction:rtl;background:var(--paper);color:var(--ink);font-family:Tajawal,"Segoe UI",Tahoma,Arial,sans-serif;line-height:1.75}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(1220px,calc(100% - 40px));margin-inline:auto}.topline{background:#0c0e11;color:#b6bac2;font-size:12px;border-bottom:1px solid #353941}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:32px}.topbar b{padding:0 8px}.topbar a:hover{color:#fff}.site-header{background:#171a1f;color:white;position:relative;z-index:10;border-bottom:1px solid #30343c}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;min-height:104px}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.club-logo{width:76px;height:84px;object-fit:contain}.brand-name strong{display:block;font-size:24px;line-height:1.4}.brand-name small{display:block;font-size:10px;letter-spacing:1.5px;color:#b8bec8;direction:ltr;text-align:right}.nav ul{list-style:none;display:flex;align-items:center;gap:21px;margin:0;padding:0;flex-wrap:wrap}.nav a{font-size:14px;font-weight:700;color:#e5e7ec}.nav a:hover,.nav .current-menu-item>a{color:#c8ccd4}.nav li{position:relative}.nav .sub-menu{display:none;position:absolute;right:0;top:100%;min-width:190px;background:#252931;padding:12px;box-shadow:0 15px 30px #0004;z-index:20}.nav li:hover>.sub-menu,.nav li:focus-within>.sub-menu{display:block}.menu-toggle{display:none;background:transparent;border:1px solid #555b64;color:#fff;padding:8px 14px;border-radius:7px;font:inherit}.hero{background:radial-gradient(ellipse at 20% 50%,#353a43 0%,#1d2026 42%,#111318 100%);color:white;overflow:hidden;position:relative}.hero-layout{min-height:410px;display:flex;justify-content:space-between;align-items:center;gap:40px;padding-block:42px}.hero-copy{position:relative;z-index:2}.eyebrow,.section-kicker{font-size:12px;letter-spacing:1px;color:#a8afb9;font-weight:800}.hero h1{font-size:clamp(38px,5vw,70px);line-height:1.23;margin:20px 0;font-weight:900}.hero h1 em{font-style:normal;color:#c3c8d0}.hero p{color:#c6cbd3;font-size:17px;margin-bottom:30px}.hero-cta{display:inline-flex;gap:28px;align-items:center;background:#fff;color:#111;padding:11px 23px;border-radius:5px;font-weight:800}.hero-cta:hover{background:#d9dce1}.hero-emblem img{width:min(300px,30vw);height:320px;object-fit:contain;filter:drop-shadow(0 15px 30px #0009)}.hero-stripe{height:5px;background:linear-gradient(90deg,#454a52,#e1e4e8,#454a52)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:48px 0 24px;padding-bottom:14px;border-bottom:1px solid #d1d4d9}.section-head h2,.section-head h1{font-size:30px;margin:4px 0 0}.section-side{color:#767c85;font-size:13px}.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.news-card{background:#fff;border:1px solid #e9eaed;border-radius:11px;overflow:hidden;box-shadow:0 6px 20px #1418200a;transition:transform .2s,box-shadow .2s}.news-card:hover{transform:translateY(-5px);box-shadow:0 14px 28px #14182018}.thumb{height:225px;display:block;overflow:hidden;background:linear-gradient(145deg,#3c4149,#9da2aa)}.thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}.news-card:hover .thumb img{transform:scale(1.04)}.thumb-fallback{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#e8e9eb;font-size:36px;font-weight:900;letter-spacing:3px;direction:ltr}.thumb-fallback small{font-size:16px}.card-body{padding:18px 20px 22px}.meta{display:flex;align-items:center;gap:17px;flex-wrap:wrap;color:#858b94;font-size:12px}.news-card h3{font-size:19px;line-height:1.65;margin:13px 0 16px;min-height:64px}.news-card h3 a:hover{color:#686e78}.read-more{font-size:13px;font-weight:800;border-top:1px solid #eceef0;padding-top:12px;display:flex;justify-content:space-between}.pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:36px 0 52px}.pagination .page-numbers{background:#fff;border:1px solid #d9dce0;padding:7px 15px;border-radius:5px}.pagination .current{background:#171a20;color:#fff}.shop-banner{margin:10px 0 58px;padding:35px 40px;background:linear-gradient(110deg,#16191f,#3c414a);color:#fff;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:20px}.shop-banner h2{font-size:27px;margin:6px 0}.shop-banner p{color:#c7cbd2;margin:0}.shop-banner>a{background:#fff;color:#111;padding:11px 23px;border-radius:5px;font-weight:800;white-space:nowrap}.footer{background:#111318;color:#e3e5e9;padding:46px 0 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:36px}.footer-brand{display:flex;align-items:center;gap:16px}.footer-brand img{width:100px;height:110px}.footer-brand strong{font-size:24px}.footer p{color:#a8afb9}.footer h3{font-size:17px}.footer ul{list-style:none;padding:0}.footer li{margin:5px 0}.footer-shop{color:#fff;border-bottom:1px solid #aeb4bf}.footer-bottom{border-top:1px solid #353942;margin-top:40px;padding:17px 0;font-size:12px;color:#a4abb5}.article-layout{max-width:950px}.article-page{background:#fff;margin:36px 0 70px;padding:clamp(20px,5vw,55px);border-radius:12px}.back-link{font-size:13px;color:#737983}.article-category{margin-top:22px;font-size:13px;color:#777}.article-page h1{font-size:clamp(28px,4vw,44px);line-height:1.5;margin:12px 0 18px}.article-meta{padding-bottom:22px;border-bottom:1px solid #e5e6e8}.article-featured{width:100%;height:auto;max-height:600px;object-fit:contain;margin:24px 0}.article-body{font-size:19px;line-height:2.15;overflow-wrap:anywhere}.article-body img{height:auto}.article-body iframe{max-width:100%}.article-share{border-top:1px solid #ddd;padding-top:20px;display:flex;gap:15px;align-items:center;flex-wrap:wrap}.article-share a,.article-share button{background:#22262c;color:white;padding:7px 15px;border:0;border-radius:5px;font:inherit;cursor:pointer}.archive-layout{padding-bottom:55px}.empty{padding:30px;background:white}.content-box{background:white;padding:32px;margin:35px 0;border-radius:10px}.wp-caption{max-width:100%}.aligncenter{display:block;margin:auto}.alignleft{float:left;margin:12px}.alignright{float:right;margin:12px}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:1050px){.nav ul{gap:12px}.nav a{font-size:12px}.brand-name strong{font-size:21px}}@media(max-width:850px){.menu-toggle{display:block}.header-inner{flex-wrap:wrap;min-height:90px}.nav{display:none;width:100%;padding:0 0 20px}.nav.open{display:block}.nav ul{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav li{border-top:1px solid #343943}.nav a{display:block;padding:9px 0;font-size:15px}.nav .sub-menu{position:static;display:block;background:transparent;box-shadow:none;padding:0 20px}.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-layout{min-height:320px}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.wrap{width:calc(100% - 28px)}.topbar{font-size:10px}.club-logo{width:57px;height:64px}.brand-name strong{font-size:20px}.hero-layout{min-height:270px;padding-block:30px}.hero h1{font-size:37px}.hero-emblem{display:none}.news-grid{grid-template-columns:1fr}.thumb{height:235px}.section-head{margin-top:30px}.section-head h2{font-size:25px}.section-side{display:none}.shop-banner{padding:26px;display:block}.shop-banner h2{font-size:22px}.shop-banner>a{display:inline-block;margin-top:18px}.footer-grid{grid-template-columns:1fr}.article-page{margin:18px 0;padding:20px}.article-body{font-size:17px}}

/* Hajer Modern: footer refinement */
.hjr-footer{background:#101216;color:#f4f5f6;padding:0;border-top:3px solid #9b9fa6}
.hjr-footer-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1.25fr) minmax(210px,.85fr);gap:clamp(24px,4vw,60px);padding-top:48px;padding-bottom:43px;align-items:start}
.hjr-footer-identity{display:flex;align-items:center;gap:17px}
.hjr-footer-logo{flex:0 0 92px;display:flex;align-items:center;justify-content:center}
.hjr-footer-logo .brand{display:block}.hjr-footer-logo .brand-name{display:none}
.hjr-footer-logo .club-logo,.hjr-footer-logo img{width:88px;height:104px;object-fit:contain}
.hjr-footer-identity-text strong{display:block;font-size:23px;line-height:1.5}
.hjr-footer-identity-text span{display:block;font-size:11px;color:#c5c8ce;margin:4px 0}
.hjr-footer-identity-text p{font-size:13px;line-height:1.9;margin:9px 0 0;color:#999fa8}
.hjr-footer h3{font-size:16px;margin:0 0 18px;padding-bottom:12px;position:relative}
.hjr-footer h3:after{content:"";position:absolute;right:0;bottom:0;width:38px;height:2px;background:#aeb3bc}
.hjr-footer-menu{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px!important;list-style:none!important;margin:0!important;padding:0!important}
.hjr-footer-menu li{margin:0!important;min-width:0}
.hjr-footer-menu a{display:block;font-size:13px;line-height:1.7;color:#bfc4cc;transition:color .2s}
.hjr-footer-menu a:hover,.hjr-footer-bottom a:hover{color:#fff}
.hjr-footer-store p{font-size:13px;color:#bfc4cc;line-height:1.9;margin:0 0 18px}
.hjr-footer-shop-link{display:inline-flex;justify-content:center;align-items:center;gap:12px;padding:10px 17px;background:#f0f1f3;color:#16191e!important;border-radius:5px;font-size:13px;font-weight:800;border:0!important}
.hjr-footer-shop-link:hover{background:#cbd0d8}
.hjr-footer-store-note{display:block;font-size:11px;color:#89909a;margin-top:10px}
.hjr-footer-bottom{border-top:1px solid #32363d;margin-top:0;padding:17px 0;display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:12px;color:#9ea4ad}
.hjr-footer-bottom a{color:#bfc4cc}
@media(max-width:950px){.hjr-footer-top{grid-template-columns:1fr 1fr}.hjr-footer-store{grid-column:1/-1}.hjr-footer-store p{max-width:430px}}
@media(max-width:600px){.hjr-footer-top{grid-template-columns:1fr;gap:30px;padding-top:32px;padding-bottom:28px}.hjr-footer-store{grid-column:auto}.hjr-footer-identity{align-items:center}.hjr-footer-logo{flex-basis:78px}.hjr-footer-logo .club-logo,.hjr-footer-logo img{width:75px;height:90px}.hjr-footer-identity-text strong{font-size:20px}.hjr-footer-menu{gap:10px 12px!important}.hjr-footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}}

/* News article navigation */
.hjr-article-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:35px 0 8px;direction:rtl}
.hjr-article-navigation-link{display:flex;flex-direction:column;gap:8px;padding:18px 20px;border:1px solid #d6d8dc;border-radius:10px;background:#f7f8fa;color:#15171a;text-decoration:none;min-width:0;transition:border-color .2s,background .2s}
.hjr-article-navigation-link:hover{border-color:#777;background:#eceef1}
.hjr-article-navigation-link .hjr-nav-label{font-size:13px;color:#666c75}
.hjr-article-navigation-link strong{font-size:16px;line-height:1.8;overflow-wrap:anywhere}
@media(max-width:640px){.hjr-article-navigation{grid-template-columns:1fr}}

/* Official social channels */
.hjr-footer-top{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(160px,.7fr) minmax(210px,.85fr)}
.hjr-social-icons{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.hjr-social-link{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #59606b;border-radius:50%;color:#f4f5f6!important;background:#22262c;text-decoration:none!important;font-weight:800;font-size:22px;transition:background .2s,transform .2s}
.hjr-social-link:hover,.hjr-social-link:focus-visible{background:#525b67;transform:translateY(-2px);outline-offset:3px}
.hjr-social-youtube{font-size:19px}.hjr-social-instagram{font-size:29px}
@media(max-width:1080px){.hjr-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.hjr-footer-store{grid-column:auto}}
@media(max-width:600px){.hjr-footer-top{grid-template-columns:1fr}}

/* Header refresh: full club name, bilingual identity, legacy menus, dual dates */
.hjr-utility-bar{background:#71757c;color:#fff;font-size:12px}
.hjr-utility-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:39px;flex-wrap:wrap}
.hjr-date-line{display:flex;gap:11px;align-items:center;flex-wrap:wrap}
.hjr-date-line span+span{border-right:1px solid #c2c4c8;padding-right:11px}
.hjr-utility-nav .hjr-menu-items{display:flex;gap:15px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.hjr-utility-nav a{color:#fff;font-size:12px}
.hjr-utility-nav li{position:relative}
.hjr-utility-nav .sub-menu{display:none;position:absolute;top:100%;right:0;background:#30343a;z-index:50;padding:12px;min-width:180px;list-style:none}
.hjr-utility-nav li:hover>.sub-menu,.hjr-utility-nav li:focus-within>.sub-menu{display:block}
.hjr-new-header{background:#13161b}
.hjr-header-main{min-height:110px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.hjr-new-header .brand-name strong{font-size:26px}
.hjr-new-header .brand-name small{font-size:11px;letter-spacing:1.1px}
.hjr-header-actions{display:flex;align-items:center;gap:15px}
.hjr-header-store{background:#e1e3e7;color:#111820;border-radius:5px;padding:9px 16px;font-weight:800;font-size:13px}
.hjr-primary-strip{background:linear-gradient(#e2e3e5,#aeb2b8);border-top:1px solid #676d77;border-bottom:2px solid #777c84}
.hjr-primary-nav{display:block!important}
.hjr-primary-nav .hjr-menu-items,.hjr-primary-nav .hjr-menu-fallback ul{display:flex;flex-wrap:wrap;gap:0;list-style:none;padding:0;margin:0}
.hjr-primary-nav .hjr-menu-items>li,.hjr-primary-nav .hjr-menu-fallback li{border-left:1px solid #9da2a9}
.hjr-primary-nav .hjr-menu-items>li>a,.hjr-primary-nav .hjr-menu-fallback a{display:block;color:#15191f;font-weight:800;padding:12px 15px;font-size:13px}
.hjr-primary-nav .hjr-menu-items>li>a:hover,.hjr-primary-nav .current-menu-item>a{background:#242a32;color:#fff}
.hjr-primary-nav li{position:relative}
.hjr-primary-nav .sub-menu{display:none;position:absolute;top:100%;right:0;background:#242a32;min-width:205px;z-index:50;list-style:none;padding:6px 0;margin:0}
.hjr-primary-nav .sub-menu li{position:relative}
.hjr-primary-nav .sub-menu a{display:block;color:#fff;padding:10px 14px;font-size:13px}
.hjr-primary-nav .sub-menu .sub-menu{right:100%;top:0}
.hjr-primary-nav li:hover>.sub-menu,.hjr-primary-nav li:focus-within>.sub-menu{display:block}
@media(max-width:800px){
.hjr-utility-inner{padding:9px 0;gap:8px}
.hjr-utility-nav .hjr-menu-items{gap:9px}
.hjr-header-main{min-height:94px}
.hjr-new-header .brand-name strong{font-size:19px}
.hjr-header-store{font-size:11px;padding:7px 10px}
.hjr-primary-nav{display:none!important}
.hjr-primary-nav.open{display:block!important}
.hjr-primary-nav .hjr-menu-items,.hjr-primary-nav .hjr-menu-fallback ul{display:block}
.hjr-primary-nav .hjr-menu-items>li{border-bottom:1px solid #bbb}
.hjr-primary-nav .sub-menu,.hjr-primary-nav .sub-menu .sub-menu{position:static;display:block;background:#303741;padding-right:15px}
}

/* Remove oversized homepage intro and align bilingual club name */
.hjr-new-header .brand-name{display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:max-content;max-width:100%;line-height:1.2}
.hjr-new-header .brand-name strong{display:block;white-space:nowrap;font-size:clamp(18px,2vw,25px);line-height:1.45;text-align:center;color:#fff;background:transparent}
.hjr-new-header .brand-name small{display:block;width:100%;font-size:clamp(10px,1.25vw,15px);font-weight:800;letter-spacing:.85px;line-height:1.35;direction:ltr;text-align:center;color:#cbd0d7;background:transparent;white-space:nowrap}
@media(max-width:600px){.hjr-new-header .brand-name strong{font-size:18px}.hjr-new-header .brand-name small{font-size:11px;letter-spacing:.5px}}

/* Legible original crest lettering on the dark footer */
.hjr-footer-logo{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex-basis:110px!important;min-width:95px;text-align:center}
.hjr-footer-logo .hjr-footer-crest{display:block;width:100px;height:92px;object-fit:contain;max-width:100%}
.hjr-footer-logo .hjr-footer-crest-label{display:block;color:#f5f6f8;font:800 15px/1.3 Arial,sans-serif;letter-spacing:.8px;direction:ltr;text-shadow:0 1px 2px #000}
@media(max-width:600px){.hjr-footer-logo{flex-basis:92px!important;min-width:85px}.hjr-footer-logo .hjr-footer-crest{width:85px;height:78px}.hjr-footer-logo .hjr-footer-crest-label{font-size:13px}}

/* Hajer Modern 3 — homepage editorial layout */
.hjr-editorial-home{padding-top:32px}
.hjr-home-title{padding-bottom:20px}
.hjr-home-title>span,.hjr-home-section-head span,.hjr-home-store span{font-size:12px;color:#777f8b;letter-spacing:.5px;font-weight:800}
.hjr-home-title h1{font-size:clamp(27px,3vw,39px);margin:2px 0 3px;line-height:1.4}
.hjr-home-title p{margin:0;color:#777f8b;font-size:14px}
.hjr-featured-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;grid-template-rows:repeat(2,190px);gap:12px}
.hjr-featured-item{position:relative;min-width:0;min-height:0;border-radius:12px;overflow:hidden;background:#2d333b}
.hjr-featured-item.hjr-featured-lead{grid-row:span 2;grid-column:span 1}
.hjr-featured-item>a{display:block;width:100%;height:100%;position:relative}
.hjr-featured-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.hjr-featured-item:hover img{transform:scale(1.04)}
.hjr-featured-shade{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:flex-end;padding:16px;background:linear-gradient(transparent 10%,rgba(0,0,0,.82) 100%);color:#fff}
.hjr-featured-category{display:inline-block;align-self:flex-start;padding:2px 9px;background:#e3e5e9;color:#181b20;font-size:11px;font-weight:800;border-radius:3px;margin-bottom:7px}
.hjr-featured-item h2{margin:0;font-size:clamp(14px,1.35vw,19px);line-height:1.55;color:#fff}
.hjr-featured-lead h2{font-size:clamp(21px,2.2vw,29px)}
.hjr-featured-meta{font-size:11px;color:#d3d7dd;display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.hjr-home-section-head{display:flex;justify-content:space-between;align-items:end;border-bottom:1px solid #d7dbe0;margin-bottom:22px;padding-bottom:12px;gap:15px}
.hjr-home-section-head h2{margin:0;font-size:27px}
.hjr-home-section-head>a{font-size:13px;font-weight:800;color:#303742}
.hjr-home-latest{padding-top:48px;padding-bottom:30px}
.hjr-category-section{background:#e9ebee;padding:36px 0 44px;margin-top:18px}
.hjr-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hjr-category-tile{background:#fff;border:1px solid #d9dde3;padding:20px 22px;display:flex;align-items:center;gap:12px;border-radius:8px;transition:background .2s}
.hjr-category-tile strong{flex:1;font-size:16px}.hjr-category-tile small{color:#777f8b;font-size:12px}
.hjr-category-tile>span{color:#8c939e}.hjr-category-tile:hover{background:#f7f8fa}
.hjr-home-store{margin-top:40px;margin-bottom:54px;background:#171b21;color:#fff;border-radius:12px;padding:30px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.hjr-home-store h2{font-size:25px;margin:4px 0}.hjr-home-store p{color:#c6cbd2;margin:0}
.hjr-home-store>a{background:#f1f2f4;color:#15191e;padding:11px 20px;border-radius:5px;font-weight:800;white-space:nowrap}
@media(max-width:900px){.hjr-featured-grid{grid-template-columns:1fr 1fr;grid-template-rows:280px 180px 180px}.hjr-featured-lead{grid-column:span 2!important;grid-row:span 1!important}.hjr-category-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.hjr-editorial-home{padding-top:20px}.hjr-featured-grid{grid-template-columns:1fr;grid-template-rows:270px repeat(3,165px)}.hjr-featured-lead{grid-column:span 1!important}.hjr-featured-item h2{font-size:17px}.hjr-featured-lead h2{font-size:22px}.hjr-home-latest{padding-top:32px}.hjr-category-grid{grid-template-columns:1fr}.hjr-home-store{padding:25px;display:block}.hjr-home-store>a{display:inline-block;margin-top:18px}}

/* V4: compact latest-news ticker and media section */
.hjr-ticker{background:#e4e6e9;border-bottom:1px solid #c4c9cf;margin-top:-32px;margin-bottom:28px}
.hjr-ticker-inner{display:flex;align-items:center;gap:16px;min-height:44px;overflow:hidden}
.hjr-ticker-inner>strong{background:#1b2028;color:white;padding:11px 15px;font-size:12px;white-space:nowrap;align-self:stretch;display:flex;align-items:center}
.hjr-ticker-track{display:flex;gap:26px;overflow-x:auto;scrollbar-width:thin;align-items:center}
.hjr-ticker-track a{flex:0 0 auto;font-size:12px;color:#252a33;text-decoration:none;white-space:nowrap}
.hjr-ticker-track a:before{content:"◆";font-size:7px;color:#8e959f;margin-left:9px}
.hjr-home-media{padding-top:35px;padding-bottom:28px}
@media(max-width:600px){.hjr-ticker{margin-top:-20px}.hjr-ticker-inner{gap:6px}.hjr-ticker-inner>strong{padding:10px 8px}}

/* Logged-in authorized editor shortcut in single news */
.hjr-article-editor-toolbar{display:flex;justify-content:flex-start;margin:13px 0 18px}
.hjr-edit-post-link{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:7px;background:#22272e;color:#fff!important;text-decoration:none!important;font-size:13px;font-weight:700;transition:background .2s}
.hjr-edit-post-link:hover,.hjr-edit-post-link:focus-visible{background:#59616d;color:#fff!important}
.hjr-edit-post-link span{font-size:19px;line-height:1}

/* V4: persistent home icon on primary navigation */
.hjr-primary-nav::after{content:"";display:block;clear:both}
.hjr-primary-nav .hjr-home-nav-link{float:right;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:45px;padding:10px 16px;border-left:1px solid #9da2a9;color:#15191f;text-decoration:none;font-weight:800;font-size:13px;box-sizing:border-box}
.hjr-primary-nav .hjr-home-nav-link:hover,.hjr-primary-nav .hjr-home-nav-link:focus-visible,.hjr-primary-nav .hjr-home-nav-link[aria-current="page"]{background:#242a32;color:#fff}
.hjr-primary-nav .hjr-home-nav-link svg{flex:none}
@media(max-width:800px){.hjr-primary-nav .hjr-home-nav-link{float:none;display:flex;justify-content:flex-start;width:100%;border-bottom:1px solid #bbb}}

/* Mobile Arabic typography: load Tajawal explicitly and prevent unwanted fallback/overflow */
html,body,button,input,select,textarea{font-family:"Tajawal",Tahoma,Arial,sans-serif}
@media(max-width:800px){
 body{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:15px}
 .hjr-new-header .brand-name strong{font-family:"Tajawal",Tahoma,Arial,sans-serif;font-weight:800;line-height:1.35}
 .hjr-primary-nav a,.hjr-utility-nav a,.hjr-header-store{font-family:"Tajawal",Tahoma,Arial,sans-serif}
 .hjr-featured-item h2,.news-card h3,.article-page h1,.hjr-home-section-head h2{overflow-wrap:break-word;line-height:1.6}
 .article-body{line-height:2;overflow-wrap:anywhere}
}
@media(max-width:420px){
 .hjr-new-header .brand-name strong{font-size:16px}
 .hjr-new-header .brand-name small{font-size:9px;letter-spacing:.15px}
 .hjr-header-main{gap:7px}
 .hjr-header-actions{gap:6px}
 .hjr-header-store{font-size:10px;padding:6px 7px}
 .menu-toggle{padding:6px 8px;font-size:12px}
}
