*{box-sizing:border-box;margin:0;padding:0}
:root{
--navy:#071b2d;--navy-2:#0c2a42;--emerald:#11a58d;--emerald-dark:#0a786b;
--gold:#d8b56b;--cream:#f7f4ec;--bg:#f4f7f7;--white:#fff;--ink:#112c42;
--text:#57707a;--muted:#87999f;--line:#e2eaeb;--soft:#eaf5f2;
--shadow:0 25px 70px rgba(7,27,45,.09);--r:24px
}
html{scroll-behavior:smooth}
body{font-family:"Cairo",sans-serif;background:var(--bg);color:var(--text);line-height:1.8;overflow-x:hidden}
body.lock{overflow:hidden}
a{text-decoration:none;color:inherit}button,input{font:inherit}button{cursor:pointer}
.container{width:calc(100% - 80px);margin-inline:auto;max-width:1920px}
.announcement{background:var(--navy);color:#cad9e1;font-size:10px}.announcement-inner{height:38px;display:flex;align-items:center;justify-content:space-between}.announcement a{color:#e6c97e;font-weight:800}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--emerald);margin-left:6px;box-shadow:0 0 0 5px rgba(17,165,141,.11)}
.header{position:sticky;top:0;z-index:60;background:rgba(244,247,247,.9);backdrop-filter:blur(17px);border-bottom:1px solid transparent;transition:.25s}.header.scrolled{border-bottom-color:var(--line);box-shadow:0 8px 28px rgba(7,27,45,.05)}
.header-inner{height:82px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:10px;white-space:nowrap}.logo-mark{width:38px;height:38px;display:block;position:relative}.logo-mark i,.logo-mark b,.logo-mark em{position:absolute;display:block}.logo-mark i{width:16px;height:16px;background:var(--gold);border-radius:50%;right:0;top:2px}.logo-mark b{width:30px;height:9px;background:var(--emerald);border-radius:99px;left:0;bottom:8px;transform:rotate(-26deg)}.logo-mark em{width:6px;height:6px;border-radius:50%;background:var(--navy);right:9px;top:7px}
.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:23px;color:var(--ink);font-weight:900}.brand-copy small{font-size:10px;color:var(--gold);font-weight:900;letter-spacing:1px}
.nav{display:flex;gap:2px;margin-inline:auto}.nav a{font-size:11px;font-weight:900;color:#567078;padding:9px 10px;border-radius:10px;transition:.2s}.nav a:hover,.nav a.active{background:var(--soft);color:var(--emerald-dark)}
.header-tools{display:flex;align-items:center;gap:8px}.header-search{width:41px;height:41px;background:#fff;border:1px solid var(--line);color:var(--ink);border-radius:12px;display:grid;place-items:center}.header-search svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}.header-subscribe{background:var(--navy);color:#fff;padding:10px 15px;border-radius:12px;font-size:10px;font-weight:900;box-shadow:0 10px 20px rgba(7,27,45,.15)}.mobile-toggle{display:none;width:41px;height:41px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px}.mobile-toggle span{height:2px;background:var(--ink);display:block;margin:5px 0;border-radius:2px}
.hero{position:relative;overflow:hidden;padding:77px 0 70px;background:linear-gradient(135deg,#eef5f4 0%,#f8f9f6 45%,#f5f0e5 100%)}.hero:before{content:"";position:absolute;inset:auto -140px -300px auto;width:620px;height:620px;border:1px solid rgba(17,165,141,.08);border-radius:50%}.hero:after{content:"";position:absolute;inset:-250px auto auto -290px;width:600px;height:600px;border:1px solid rgba(216,181,107,.1);border-radius:50%}
.hero-glow{position:absolute;border-radius:50%;filter:blur(2px);opacity:.45}.glow-one{width:240px;height:240px;right:34%;top:-110px;background:radial-gradient(circle,rgba(17,165,141,.16),transparent 70%)}.glow-two{width:270px;height:270px;left:8%;bottom:-170px;background:radial-gradient(circle,rgba(216,181,107,.16),transparent 70%)}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:50px;align-items:center;position:relative;z-index:2}
.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:7px 10px;border-radius:999px;background:#e8f4f1;color:var(--emerald-dark);font-size:10px;font-weight:900;margin-bottom:16px}.eyebrow b{color:#688087}
.hero h1{font-size:clamp(39px,5.1vw,63px);font-weight:900;line-height:1.2;letter-spacing:-1.4px;color:var(--navy)}.hero h1 span{color:var(--emerald)}
.hero-copy>p{max-width:620px;font-size:14px;color:#62777e;margin-top:16px}.hero-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}.primary-btn,.secondary-btn{height:49px;border-radius:12px;padding:0 19px;font-size:11px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary-btn{background:var(--emerald);color:#fff;box-shadow:0 14px 25px rgba(17,165,141,.2)}.primary-btn:hover{background:var(--emerald-dark);transform:translateY(-2px)}.secondary-btn{background:#fff;border:1px solid var(--line);color:var(--navy)}.secondary-btn:hover{border-color:#b7d7d1;color:var(--emerald-dark)}
.hero-trust{display:flex;align-items:center;gap:10px;margin-top:22px}.hero-trust strong{display:block;font-size:11px;color:var(--navy)}.hero-trust small{display:block;color:var(--muted);font-size:8px}.trust-avatars{display:flex;direction:ltr}.trust-avatars span{width:28px;height:28px;border:2px solid #f3f7f6;margin-left:-7px;border-radius:50%;background:#fff;color:var(--emerald-dark);display:grid;place-items:center;font-size:9px;font-weight:900}.trust-avatars span:last-child{background:var(--navy);color:#fff}
.hero-editorial{background:#fff;border:1px solid rgba(112,145,151,.18);border-radius:26px;box-shadow:var(--shadow);overflow:hidden;transform:rotate(-1.4deg)}.editorial-image{height:260px;background:linear-gradient(135deg,#0b3c53,#0e8f7d);position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:22px}.editorial-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:34px 34px;opacity:.45}.image-orb{position:absolute;border:1px solid rgba(255,255,255,.18);border-radius:50%}.orb-a{width:340px;height:340px;right:-100px;top:-150px}.orb-b{width:180px;height:180px;left:-40px;bottom:-90px}.feature-pill{position:absolute;top:19px;right:19px;background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.18);padding:6px 9px;border-radius:9px;font-size:8px;font-weight:900;z-index:2}.editorial-title-art{position:relative;z-index:2;color:#fff;display:flex;flex-direction:column;line-height:.85}.editorial-title-art b{font-family:"Manrope",sans-serif;font-size:62px;letter-spacing:3px}.editorial-title-art strong{font-family:"Manrope",sans-serif;font-size:21px;letter-spacing:7px;color:#d7f3ed;margin-right:5px}.editorial-copy{padding:22px}.post-label{font-size:9px;color:var(--emerald-dark);font-weight:900}.editorial-copy h2{font-size:23px;line-height:1.5;color:var(--navy);margin:6px 0}.editorial-copy p{font-size:10px;color:var(--muted)}.editorial-footer{border-top:1px solid var(--line);margin-top:14px;padding-top:12px;display:flex;justify-content:space-between;color:#8aa0a4;font-size:8px;font-weight:800}
.quick-nav{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.quick-nav-inner{min-height:71px;display:flex;align-items:center;gap:24px}.quick-nav strong{font-size:10px;color:#63757c;white-space:nowrap}.quick-items{display:flex;gap:8px;flex-wrap:wrap}.quick-items a{display:flex;align-items:center;gap:7px;background:#f4f8f7;color:#45656d;font-size:9px;font-weight:900;padding:8px 11px;border-radius:999px}.quick-items a:hover{background:var(--soft);color:var(--emerald-dark)}.q-icon{width:21px;height:21px;border-radius:7px;background:#fff;display:grid;place-items:center;color:var(--emerald-dark);font-size:10px}
.section{padding:82px 0}.latest{background:#fff}.section-top{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:29px}.section-kicker{display:inline-block;font-size:9px;color:var(--emerald-dark);font-weight:900;padding:5px 8px;border-radius:999px;background:#eaf6f3;margin-bottom:8px}.section-top h2{font-size:32px;color:var(--navy);line-height:1.25;font-weight:900}.section-note{font-size:10px;color:var(--muted)}
.latest-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:29px}.main-posts{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.post-card{border:1px solid var(--line);border-radius:21px;background:#fff;overflow:hidden;transition:.25s}.post-card:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(7,27,45,.08)}.post-visual{height:185px;position:relative;display:flex;align-items:flex-end;padding:18px;overflow:hidden;color:#fff}.post-visual:before,.post-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.14);border-radius:50%}.post-visual:before{width:260px;height:260px;right:-80px;top:-130px}.post-visual:after{width:120px;height:120px;left:-35px;bottom:-55px}.post-visual span{position:relative;z-index:2;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:5px 8px;font-size:8px;font-weight:900;letter-spacing:1px}.post-visual b{position:absolute;right:18px;top:20px;font-family:"Manrope",sans-serif;font-size:38px;letter-spacing:2px;opacity:.9}.post-visual i{position:absolute;left:20px;top:24px;font-size:65px;font-style:normal;opacity:.13}
.visual-seo{background:linear-gradient(135deg,#0b4a5b,#0e917e)}.visual-ai{background:linear-gradient(135deg,#3e3976,#756fd1)}.visual-marketing{background:linear-gradient(135deg,#7a5726,#d2a256)}.visual-web{background:linear-gradient(135deg,#194459,#4f8ea5)}.visual-money{background:linear-gradient(135deg,#6d422b,#b8784f)}.visual-local{background:linear-gradient(135deg,#26505f,#5b979d)}
.post-content{padding:17px}.post-meta-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.post-meta-top span{color:var(--emerald-dark);font-size:9px;font-weight:900}.post-meta-top time{color:#95a5a9;font-size:8px}.post-content h3{font-size:16px;line-height:1.55;color:var(--navy);margin:7px 0}.post-content p{font-size:10px;color:var(--muted);line-height:1.8;min-height:55px}.post-bottom{border-top:1px solid var(--line);margin-top:12px;padding-top:11px;display:flex;justify-content:space-between;align-items:center;color:#91a2a5;font-size:8px;font-weight:800}.post-bottom a{color:var(--emerald-dark);font-size:9px}
.sidebar{display:grid;gap:14px;align-content:start}.sidebar-card{background:#f8faf9;border:1px solid var(--line);border-radius:19px;padding:16px}.sidebar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sidebar-head h3{font-size:12px;color:var(--navy)}.sidebar-head span{font-size:8px;color:#a1afb2;font-weight:900}
.side-form{display:flex;gap:6px}.side-form input{height:41px;flex:1;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 10px;font-size:9px;outline:0}.side-form button{width:56px;border-radius:10px;background:var(--navy);color:#fff;font-size:9px;font-weight:900}
.popular-item{display:grid;grid-template-columns:25px 1fr;gap:8px;padding:11px 0;border-bottom:1px solid var(--line)}.popular-item:last-child{border:0;padding-bottom:0}.popular-item>span{font-family:"Manrope",sans-serif;color:#aab9bd;font-size:14px;font-weight:800}.popular-item strong{display:block;font-size:9px;line-height:1.6;color:var(--navy)}.popular-item small{font-size:7px;color:var(--muted)}
.categories-card>a{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line);font-size:9px;color:#536b71}.categories-card>a:last-child{border:0}.categories-card b{background:#e9f5f2;color:var(--emerald-dark);padding:2px 7px;border-radius:999px;font-size:8px}
.editor-picks{padding:76px 0;background:var(--navy);color:#fff;position:relative;overflow:hidden}.editor-picks:before{content:"";position:absolute;width:540px;height:540px;border:1px solid rgba(255,255,255,.07);border-radius:50%;left:-250px;bottom:-320px}.light-head .section-kicker{background:rgba(255,255,255,.09);color:#d9c282}.light-head h2{color:#fff}.dark-kicker{background:rgba(255,255,255,.09)}.head-detail{font-size:9px;color:#a7bdc7}
.pick-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:18px;position:relative;z-index:2}.pick-main{display:grid;grid-template-columns:1fr 1fr;background:#fff;color:var(--text);border-radius:23px;overflow:hidden}.pick-art{min-height:315px;position:relative;overflow:hidden;padding:19px;background:linear-gradient(135deg,#0a6b61,#13a68f);display:flex;align-items:flex-end}.pick-art:before,.pick-art:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.15);border-radius:50%}.pick-art:before{width:350px;height:350px;right:-110px;top:-165px}.pick-art:after{width:150px;height:150px;left:-45px;bottom:-70px}.pick-art>span{position:relative;z-index:2;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.11);border-radius:8px;padding:5px 8px;font-size:8px;font-weight:900}.pick-art>div{position:absolute;top:35px;right:28px;display:flex;flex-direction:column;font-family:"Manrope",sans-serif;line-height:.85}.pick-art b{font-size:52px;letter-spacing:3px}.pick-art strong{font-size:26px;letter-spacing:6px;color:#e2f4f0}.pick-art em{font-size:36px;letter-spacing:7px;color:#f0ce83;font-style:normal}
.pick-copy{padding:25px;align-self:center}.pick-copy h3{font-size:25px;line-height:1.45;color:var(--navy);margin:7px 0}.pick-copy p{font-size:10px;color:var(--muted)}.gold-link{display:inline-block;margin-top:18px;color:#a67b2b;font-size:9px;font-weight:900}
.pick-side{display:grid;gap:14px}.small-feature{display:grid;grid-template-columns:135px 1fr;background:#0d3147;border:1px solid rgba(255,255,255,.07);border-radius:20px;overflow:hidden}.small-art{min-height:157px;display:flex;align-items:flex-end;padding:13px;position:relative;overflow:hidden}.small-art:before{content:"";position:absolute;width:180px;height:180px;right:-75px;top:-80px;border:1px solid rgba(255,255,255,.16);border-radius:50%}.small-art span{position:relative;z-index:2;background:rgba(255,255,255,.10);padding:5px 7px;border-radius:8px;font-size:7px;color:#fff;font-weight:900}.small-hosting{background:linear-gradient(145deg,#1e4261,#547fac)}.small-tools{background:linear-gradient(145deg,#6b4b1c,#b9914c)}.small-feature>div:last-child{padding:17px}.small-feature .post-label{color:#8cdacb}.small-feature h3{font-size:14px;line-height:1.55;color:#fff;margin:5px 0}.small-feature small{font-size:7px;color:#86a3ae}
.topics{background:#fff;padding-top:55px;padding-bottom:55px}.topic-banner{border:1px solid var(--line);border-radius:24px;display:grid;grid-template-columns:1fr 1.25fr;gap:30px;padding:27px;background:linear-gradient(110deg,#f8f8f2,#edf6f3)}.topic-title h2{font-size:28px;line-height:1.4;color:var(--navy);max-width:430px}.topic-list{display:grid;grid-template-columns:1fr 1fr;gap:9px}.topic-list a{background:#fff;border:1px solid var(--line);border-radius:14px;padding:13px;display:flex;justify-content:space-between;gap:10px;align-items:center}.topic-list span{font-size:10px;color:var(--navy);font-weight:900}.topic-list small{font-size:7px;color:var(--emerald-dark);background:#eaf6f3;padding:4px 7px;border-radius:99px;font-weight:800}
.newsletter{background:linear-gradient(135deg,#0a263c,#0c544e);padding:55px 0;overflow:hidden}.newsletter-box{display:grid;grid-template-columns:auto 1fr 1fr;align-items:center;gap:22px}.newsletter-mark{width:59px;height:59px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.09);display:grid;place-items:center;color:#e1bf72;font-size:24px}.light-kicker{color:#ddc17d;background:rgba(255,255,255,.08)}.newsletter-copy h2{font-size:31px;color:#fff;line-height:1.35}.newsletter-copy p{font-size:10px;color:#bad0d0;margin-top:4px}.newsletter form{display:grid;grid-template-columns:1fr 105px;gap:7px}.newsletter input{height:47px;border:0;border-radius:11px;padding:0 13px;outline:0;font-size:10px}.newsletter button{border:0;border-radius:11px;background:#ddb969;color:#3c2e13;font-size:10px;font-weight:900}.newsletter small{grid-column:1/-1;color:#91afb0;font-size:7px}
.footer{background:#061a2a;color:#9fb5bd;padding-top:56px}.footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px;padding-bottom:43px}.footer-brand-block p{max-width:350px;font-size:9px;line-height:1.9;margin:13px 0;color:#91aab2}.footer .brand-copy strong{color:#fff}.socials{display:flex;gap:7px}.socials a{width:31px;height:31px;border:1px solid rgba(255,255,255,.08);border-radius:9px;display:grid;place-items:center;color:#d3e0e4;font-size:8px;font-weight:900}.footer h4{font-size:11px;color:#fff;margin-bottom:10px}.footer-top>div:not(.footer-brand-block)>a,.footer-top>div:not(.footer-brand-block)>span{display:block;color:#839da6;font-size:9px;margin:8px 0}.footer-top a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:16px 0;display:flex;justify-content:space-between;font-size:8px}.footer-bottom div{display:flex;gap:15px}.footer-bottom a{color:#859da5}
.search-overlay{position:fixed;inset:0;background:rgba(4,15,24,.65);backdrop-filter:blur(10px);z-index:100;display:grid;place-items:center;opacity:0;visibility:hidden;transition:.2s}.search-overlay.open{opacity:1;visibility:visible}.search-modal{width:min(690px,calc(100% - 28px));background:#fff;border-radius:24px;padding:31px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.25)}.close-btn{position:absolute;left:15px;top:15px;width:34px;height:34px;border:0;background:#eef5f3;color:var(--navy);border-radius:9px;font-size:21px}.search-modal h2{color:var(--navy);font-size:28px;margin-bottom:15px}.modal-form{display:flex;gap:7px}.modal-form input{height:50px;flex:1;border:1px solid var(--line);border-radius:12px;outline:0;padding:0 13px}.modal-form button{width:90px;border-radius:12px;background:var(--emerald-dark);color:#fff;border:0;font-size:10px;font-weight:900}.search-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.search-tags button{border:0;background:#eaf6f3;color:var(--emerald-dark);padding:6px 9px;border-radius:999px;font-size:8px;font-weight:900}
@media(max-width:1040px){.nav a{padding:8px 7px;font-size:9px}.latest-layout{grid-template-columns:1fr}.sidebar{grid-template-columns:repeat(3,1fr)}.pick-grid{grid-template-columns:1fr}.pick-side{grid-template-columns:1fr 1fr}}
@media(max-width:820px){.container{width:calc(100% - 40px) !important}.nav{position:fixed;top:82px;right:17px;left:17px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:8px;display:none;flex-direction:column;box-shadow:0 22px 52px rgba(7,27,45,.1)}.nav.open{display:flex}.nav a{font-size:10px;padding:11px}.mobile-toggle{display:block}.header-subscribe{display:none}.hero-grid{grid-template-columns:1fr}.hero-copy{text-align:center}.hero-copy>p{margin-inline:auto}.hero-actions,.hero-trust{justify-content:center}.newsletter-box{grid-template-columns:1fr}.newsletter-mark{display:none}.sidebar{grid-template-columns:1fr 1fr}.topic-banner{grid-template-columns:1fr}}
@media(max-width:600px){.container{width:calc(100% - 26px) !important;max-width:100%}.announcement{display:none}.header-inner{height:70px}.nav{top:70px}.hero{padding:54px 0}.hero h1{font-size:37px}.hero-copy>p{font-size:12px}.hero-actions{flex-direction:column}.primary-btn,.secondary-btn{width:100%}.editorial-image{height:205px}.editorial-copy h2{font-size:19px}.quick-nav-inner{align-items:flex-start;flex-direction:column;padding:13px 0;gap:10px}.quick-items{width:100%}.section{padding:60px 0}.section-top h2{font-size:27px}.section-note{display:none}.main-posts{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.pick-main{grid-template-columns:1fr}.pick-art{min-height:220px}.pick-copy h3{font-size:21px}.pick-side{grid-template-columns:1fr}.topic-list{grid-template-columns:1fr}.newsletter-copy h2{font-size:27px}.newsletter form{grid-template-columns:1fr}.newsletter button{height:47px}.footer-top{grid-template-columns:1fr 1fr}.footer-brand-block{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:9px}}

/* ===== Complete Blog System Enhancements ===== */
.article-hero,.page-hero,.search-page,.contact-section,.tools-page,.author-profile,.author-posts,.policy-page{background:#fff;padding:60px 0}
.page-hero{background:linear-gradient(135deg,#eef5f3,#f5f1e6);border-bottom:1px solid #e1eaec}
.page-hero .breadcrumbs{font-size:8px;color:#87999f;margin-bottom:10px}.page-hero h1{font-size:42px;line-height:1.25;color:var(--navy);font-weight:900}.page-hero p{font-size:11px;color:var(--text);max-width:760px;margin-top:8px}
.prose{max-width:850px;margin:auto}.prose h2{font-size:25px;color:var(--navy);line-height:1.45;margin:29px 0 8px}.prose h3{font-size:18px;color:var(--navy);margin:22px 0 7px}.prose p,.prose li{font-size:11px;line-height:2;color:var(--text)}.prose ul{padding-right:20px}.prose a{color:var(--emerald2);font-weight:800}.prose blockquote{border-right:3px solid var(--emerald);background:var(--soft);padding:14px;border-radius:12px;margin:17px 0;font-size:10px;color:var(--navy)}
.article-wrap{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:start}.article-wrap .breadcrumbs{font-size:8px;color:var(--muted);margin-bottom:10px}.article-title{font-size:44px;line-height:1.3;color:var(--navy);font-weight:900}.article-lead{font-size:12px;color:var(--text);margin-top:12px;max-width:820px}.article-info{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:17px}.author-mini{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--emerald2);font-size:10px;font-weight:900}.author-mini-wrap strong{display:block;color:var(--navy);font-size:9px}.author-mini-wrap small,.article-info .info{font-size:7px;color:var(--muted)}.update-box{display:flex;justify-content:space-between;gap:12px;background:#fff7e4;border:1px solid #ead7a5;border-radius:12px;padding:9px 11px;margin-top:14px;font-size:8px;color:#735a25}.update-box a{color:#9d762e;font-weight:900}.article-cover{height:400px;border-radius:24px;background:linear-gradient(135deg,#0b4858,#0fa88d);margin:24px 0;position:relative;overflow:hidden}.article-cover:before,.article-cover:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.15);border-radius:50%}.article-cover:before{width:530px;height:530px;right:-180px;top:-260px}.article-cover:after{width:230px;height:230px;left:-70px;bottom:-115px}.cover-words{position:absolute;right:38px;top:40px;color:#fff;font-family:"Manrope",sans-serif;line-height:.85}.cover-words b{display:block;font-size:84px;letter-spacing:4px}.cover-words strong{display:block;font-size:24px;letter-spacing:7px;color:#d9f1ed}.article-body{display:grid;grid-template-columns:minmax(0,1fr) 195px;gap:24px}.toc{position:sticky;top:100px;background:#f7faf9;border:1px solid var(--line);border-radius:17px;padding:14px;height:max-content}.toc h3{font-size:11px;color:var(--navy);margin-bottom:7px}.toc a{display:block;padding:6px 0;border-bottom:1px solid var(--line);font-size:8px;color:#62787f}.toc a:last-child{border-bottom:0}.article-main h2{font-size:25px;color:var(--navy);line-height:1.45;margin:28px 0 8px}.article-main h3{font-size:17px;color:var(--navy);margin:20px 0 7px}.article-main p,.article-main li{font-size:11px;line-height:2;color:var(--text)}.article-main ul{padding-right:20px}.callout{background:var(--soft);border-right:3px solid var(--emerald);border-radius:12px;padding:14px;margin:17px 0;font-size:10px}.sources{border-top:1px solid var(--line);margin-top:26px;padding-top:18px}.sources h3{font-size:12px;color:var(--navy)}.sources a{display:block;font-size:8px;color:var(--emerald2);margin:5px 0}.author-box{display:grid;grid-template-columns:54px 1fr;gap:12px;border:1px solid var(--line);background:#f7faf9;border-radius:17px;padding:17px;margin-top:24px}.author-box-avatar{width:54px;height:54px;border-radius:50%;background:var(--soft);color:var(--emerald2);display:grid;place-items:center;font-weight:900}.author-box h3{font-size:12px;color:var(--navy)}.author-box p{font-size:8px!important;color:var(--muted)!important;line-height:1.8!important;margin:2px 0}.author-box a{font-size:8px;color:var(--emerald2);font-weight:900}.related{margin-top:27px}.related h2{font-size:22px!important}.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:11px}.related-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.related-art{height:100px}.related-card .rbody{padding:9px}.related-card h3{font-size:10px!important;line-height:1.5;margin:0!important;color:var(--navy)}.related-card small{font-size:7px;color:var(--muted)}.comments{margin-top:30px;border-top:1px solid var(--line);padding-top:23px}.comments h2{font-size:22px!important;margin:0 0 3px!important}.comments .note{font-size:8px;color:var(--muted)}.comment-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.comment-form input,.comment-form textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px;font-size:9px;outline:0}.comment-form textarea{grid-column:1/-1;min-height:100px;resize:vertical}.comment-form button{border:0;background:var(--navy);color:#fff;border-radius:10px;padding:9px 14px;width:max-content;font-size:9px;font-weight:900}.comment-message{font-size:8px;color:var(--emerald2);margin-top:7px}
.profile-card{max-width:1160px;margin:auto;background:linear-gradient(135deg,#f0f6f3,#faf6eb);border:1px solid var(--line);border-radius:22px;padding:28px;display:grid;grid-template-columns:115px 1fr;gap:22px;align-items:center}.profile-avatar{width:115px;height:115px;border-radius:27px;background:linear-gradient(135deg,#0a6b60,#27ac95);color:#fff;display:grid;place-items:center;font-size:44px;font-weight:900}.profile-card .role{font-size:9px;color:var(--emerald2);font-weight:900}.profile-card h1{font-size:35px;line-height:1.2;color:var(--navy);margin:4px 0}.profile-card p{font-size:9px;color:var(--text);max-width:700px}.profile-links{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.profile-links a{background:#fff;border:1px solid var(--line);border-radius:8px;padding:5px 8px;font-size:8px;color:var(--navy);font-weight:900}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:15px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px}.metric strong{display:block;font:800 25px "Manrope";color:var(--navy)}.metric span{font-size:7px;color:var(--muted)}
.search-page{min-height:60vh}.search-big{display:flex;gap:7px;max-width:780px;margin-top:15px}.search-big input{height:51px;flex:1;border:1px solid var(--line);border-radius:11px;padding:0 13px;outline:0}.search-big button{width:95px;border:0;border-radius:11px;background:var(--emerald2);color:#fff;font-weight:900;font-size:9px}.search-results{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:24px}.result-row{border:1px solid var(--line);border-radius:15px;padding:14px;background:#f8faf9}.result-row .r-cat{font-size:8px;color:var(--emerald2);font-weight:900}.result-row h3{font-size:14px;color:var(--navy);line-height:1.55;margin:4px 0}.result-row p{font-size:8px;color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:17px;max-width:1160px;margin:auto}.contact-card{background:#f8faf9;border:1px solid var(--line);border-radius:18px;padding:18px}.contact-card h2{font-size:23px;color:var(--navy)}.contact-card>p{font-size:9px;color:var(--muted)}.contact-item{padding:12px 0;border-bottom:1px solid var(--line)}.contact-item:last-child{border:0}.contact-item strong{display:block;font-size:9px;color:var(--navy)}.contact-item a,.contact-item span{font-size:9px;color:var(--emerald2)}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}.field.full{grid-column:1/-1}.field label{display:block;font-size:8px;font-weight:900;color:var(--navy);margin-bottom:3px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:9px;font-size:9px;outline:0}.field textarea{min-height:130px;resize:vertical}.form-submit{border:0;background:var(--navy);color:#fff;border-radius:10px;padding:10px 15px;font-size:9px;font-weight:900}.success-message{font-size:8px;color:var(--emerald2);margin-top:6px}
.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;max-width:1160px;margin:auto}.tool-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff}.tool-art{height:130px;position:relative;padding:13px;display:flex;align-items:flex-end;overflow:hidden}.tool-art:before{content:"";position:absolute;width:200px;height:200px;border:1px solid rgba(255,255,255,.15);border-radius:50%;right:-75px;top:-100px}.tool-art span{position:relative;z-index:2;color:#fff;background:rgba(255,255,255,.1);border-radius:7px;padding:5px 7px;font-size:7px;font-weight:900}.tool-body{padding:14px}.tool-body h3{font-size:14px;color:var(--navy)}.tool-body p{font-size:9px;color:var(--muted)}.tool-meta{display:flex;justify-content:space-between;margin-top:10px;font-size:7px;color:var(--emerald2);font-weight:900}
.newsletter-page{padding:65px 0;background:#fff}.newsletter-box-page{max-width:800px;margin:auto;border:1px solid var(--line);background:linear-gradient(135deg,#f0f6f4,#faf6eb);border-radius:22px;padding:28px}.newsletter-form-page{display:grid;grid-template-columns:1fr 120px;gap:7px;margin-top:17px}.newsletter-form-page input{height:48px;border:1px solid var(--line);border-radius:11px;padding:0 12px}.newsletter-form-page button{border:0;border-radius:11px;background:var(--emerald2);color:#fff;font-weight:900}.newsletter-form-page small{grid-column:1/-1;font-size:7px;color:var(--muted)}
.not-found{min-height:65vh;background:#fff;display:grid;place-items:center;text-align:center;padding:50px}.not-found .code{font:900 110px "Manrope";color:var(--emerald);opacity:.3}.not-found h1{font-size:30px;color:var(--navy)}.not-found p{font-size:10px;color:var(--muted);max-width:520px;margin:6px auto 15px}
.overlay{position:fixed;inset:0;background:rgba(3,17,27,.65);backdrop-filter:blur(9px);z-index:300;display:grid;place-items:center;opacity:0;visibility:hidden;transition:.2s}.overlay.open{opacity:1;visibility:visible}.search-modal{width:min(680px,calc(100% - 28px));background:#fff;border-radius:23px;padding:30px;position:relative;box-shadow:0 30px 80px rgba(0,0,0,.25)}.close-search{position:absolute;left:14px;top:14px;width:33px;height:33px;border:0;background:#eff6f4;color:var(--navy);border-radius:9px;font-size:20px}.search-modal h2{font-size:27px;color:var(--navy);margin:7px 0 14px}.modal-form{display:flex;gap:7px}.modal-form input{height:49px;flex:1;border:1px solid #e1eaec;border-radius:11px;padding:0 12px;outline:0}.modal-form button{width:88px;border:0;border-radius:11px;background:var(--emerald2);color:#fff;font-weight:900;font-size:9px}.search-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.search-tags button{border:0;background:#eaf5f2;color:var(--emerald2);padding:6px 9px;border-radius:999px;font-size:8px;font-weight:900}
.theme-toggle{font-size:15px}.cookie-banner{display:none;position:fixed;right:18px;left:18px;bottom:18px;background:var(--navy);color:#d8e2e5;border-radius:16px;padding:12px 14px;z-index:220;box-shadow:0 20px 60px rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.08)}.cookie-banner.show{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}.cookie-banner p{font-size:8px}.cookie-banner a{color:#e1bf73;font-weight:900}.cookie-actions{display:flex;gap:6px}.cookie-actions button{border:0;border-radius:9px;padding:8px 11px;font-size:8px;font-weight:900}.cookie-accept{background:var(--gold);color:#392d12}.cookie-settings{background:rgba(255,255,255,.08);color:#fff}
.float-tools{position:fixed;left:18px;bottom:18px;z-index:90;display:flex;flex-direction:column;gap:7px}.float-tools button{width:43px;height:43px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--navy);box-shadow:0 13px 30px rgba(7,27,45,.12);font-size:15px}.float-tools .back-top{opacity:0;pointer-events:none;transform:translateY(7px);transition:.2s}.float-tools .back-top.show{opacity:1;pointer-events:auto;transform:none}
body.dark{background:#07131e;color:#b9c8cc}body.dark .header,body.dark .quick-nav,body.dark .latest,body.dark .article-hero,body.dark .page-content,body.dark .page-hero,body.dark .search-page,body.dark .contact-section,body.dark .tools-page,body.dark .author-profile,body.dark .author-posts,body.dark .newsletter-page,body.dark .prose{background:#07131e}body.dark .page-hero{background:linear-gradient(135deg,#0b2133,#10241d)}body.dark .page-hero h1,body.dark .article-title,body.dark .article-main h2,body.dark .article-main h3,body.dark .prose h2,body.dark .prose h3,body.dark .section-head h2,body.dark .post-content h3,body.dark .sidebar-card h3,body.dark .popular-item strong,body.dark .profile-card h1,body.dark .contact-card h2,body.dark .tool-body h3,body.dark .search-modal h2,body.dark .search-modal h2,body.dark .search-modal h3{color:#eef7f6}body.dark .post-card,body.dark .sidebar-card,body.dark .tool-card,body.dark .contact-card,body.dark .profile-card,body.dark .newsletter-box-page,body.dark .result-row,body.dark .author-box,body.dark .toc,body.dark .related-card{background:#0b1e2e;border-color:#193444}body.dark .post-body p,body.dark .prose p,body.dark .article-main p,body.dark .profile-card p,body.dark .contact-card>p,body.dark .tool-body p,body.dark .result-row p{color:#a9bdc2}body.dark .icon-button,body.dark .mobile-toggle,body.dark .header-search,body.dark .hero-feature,body.dark .post-card,body.dark .search-modal{background:#0b1e2e;border-color:#193444}body.dark .profile-links a,body.dark .field input,body.dark .field textarea,body.dark .field select,body.dark .modal-form input,body.dark .newsletter-form-page input{background:#0b1e2e;color:#eef7f6;border-color:#193444}body.dark .brand-copy strong{color:#eef7f6}
@media(max-width:1050px){.article-wrap{grid-template-columns:1fr}.article-body{grid-template-columns:1fr}.toc{position:static;order:-1}.sidebar{grid-template-columns:repeat(3,1fr)}.contact-grid{grid-template-columns:1fr}.tool-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.container{width:calc(100% - 40px) !important}.nav{position:fixed;top:82px;right:17px;left:17px;display:none;flex-direction:column;background:var(--white);border:1px solid var(--line);border-radius:18px;padding:8px;box-shadow:0 22px 55px rgba(7,27,45,.12)}.nav.open{display:flex}.mobile-toggle{display:block}.header-subscribe{display:none}.hero-grid{grid-template-columns:1fr}.newsletter-box{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr 1fr}.profile-card{grid-template-columns:1fr;text-align:center}.profile-avatar{margin:auto}.profile-links{justify-content:center}.metrics{grid-template-columns:1fr 1fr}.search-results{grid-template-columns:1fr}}
@media(max-width:600px){.container{width:calc(100% - 26px) !important;max-width:100%}.announcement{display:none}.header-inner{min-height:70px}.nav{top:70px}.hero{padding:53px 0}.hero h1{font-size:37px}.posts-grid{grid-template-columns:1fr}.sidebar{grid-template-columns:1fr}.pick-main{grid-template-columns:1fr}.pick-side{grid-template-columns:1fr}.topic-banner{grid-template-columns:1fr}.article-title{font-size:34px}.article-cover{height:290px}.cover-words{right:25px;top:32px}.cover-words b{font-size:65px}.related-grid{grid-template-columns:1fr}.comment-form{grid-template-columns:1fr}.comment-form textarea{grid-column:auto}.tool-grid{grid-template-columns:1fr}.newsletter-form-page{grid-template-columns:1fr}.cookie-banner.show{grid-template-columns:1fr}.page-hero h1{font-size:33px}.profile-card h1{font-size:31px}}


/* ===== WordPress Specific Styles ===== */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: right;
    margin: 0 0 1em 1em;
}

.alignright {
    float: left;
    margin: 0 1em 1em 0;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 9px;
    color: var(--muted);
    text-align: center;
    margin-top: 5px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.sticky {
    border-right: 3px solid var(--emerald);
}

.bypostauthor > article {
    position: relative;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

/* WordPress Admin Bar */
.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

/* Gutenberg Editor Styles */
.wp-block-quote {
    border-right: 3px solid var(--emerald);
    background: var(--soft);
    padding: 14px;
    border-radius: 12px;
    margin: 17px 0;
    font-size: 10px;
    color: var(--navy);
}

.wp-block-pullquote {
    border-top: 3px solid var(--emerald);
    border-bottom: 3px solid var(--emerald);
    padding: 20px 0;
    text-align: center;
}

.wp-block-button__link {
    display: inline-block;
    background: var(--emerald);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 11px;
}

.wp-block-button__link:hover {
    background: var(--emerald-dark);
}

.wp-block-cover {
    border-radius: 24px;
    overflow: hidden;
    margin: 24px 0;
}

.wp-block-table {
    width: 100%;
    border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
    border: 1px solid var(--line);
    padding: 10px;
    font-size: 10px;
}

.wp-block-table th {
    background: var(--soft);
    font-weight: 900;
    color: var(--navy);
}

/* Pagination */
.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--navy);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    transition: .2s;
}

.pagination a:hover {
    background: var(--soft);
    color: var(--emerald-dark);
    border-color: var(--emerald);
}

.pagination .current {
    background: var(--emerald);
    color: #fff;
    border-color: var(--emerald);
}

/* Custom Logo Support */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

/* Widget Styles */
.widget {
    margin-bottom: 20px;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    font-size: 9px;
}

.widget ul li:last-child {
    border-bottom: 0;
}

.widget ul li a {
    color: var(--text);
    text-decoration: none;
}

.widget ul li a:hover {
    color: var(--emerald-dark);
}

.widget select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 9px;
}

.widget_search .search-form {
    display: flex;
    gap: 6px;
}

.widget_search .search-field {
    flex: 1;
    height: 41px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    padding: 0 10px;
    font-size: 9px;
    outline: 0;
}

.widget_search .search-submit {
    width: 56px;
    border: 0;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    cursor: pointer;
}

/* Tag Cloud Widget */
.tagcloud a,
.wp-block-tag-cloud a {
    display: inline-block;
    background: #eaf5f2;
    color: var(--emerald-dark);
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 8px !important;
    font-weight: 900;
    margin: 3px;
    text-decoration: none;
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover {
    background: var(--emerald);
    color: #fff;
}

/* Calendar Widget */
.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar th,
.widget_calendar td {
    text-align: center;
    padding: 5px;
    font-size: 8px;
}

.widget_calendar th {
    background: var(--soft);
    color: var(--navy);
    font-weight: 900;
}

.widget_calendar td a {
    color: var(--emerald-dark);
    font-weight: 900;
}

/* RSS Widget */
.widget_rss ul li {
    margin-bottom: 12px;
    padding-bottom: 12px;
}

.widget_rss .rss-date,
.widget_rss cite {
    display: block;
    font-size: 7px;
    color: var(--muted);
    margin-top: 3px;
}

/* Recent Posts/Comments Widgets */
.widget_recent_entries ul li,
.widget_recent_comments ul li {
    padding: 10px 0;
}

.post-date {
    display: block;
    font-size: 7px;
    color: var(--muted);
    margin-top: 3px;
}

/* Dark Mode Enhancements */
body.dark .pagination a,
body.dark .pagination span,
body.dark .widget_search .search-field {
    background: #0b1e2e;
    border-color: #193444;
    color: #eef7f6;
}

body.dark .pagination a:hover {
    background: #152e42;
}

body.dark .wp-block-table td,
body.dark .wp-block-table th {
    border-color: #193444;
}

body.dark .widget_calendar th {
    background: #0b1e2e;
    color: #eef7f6;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .sidebar,
    .search-overlay,
    .float-tools,
    .cookie-banner,
    .announcement {
        display: none !important;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
}


/* ===== تحسينات للشاشات الكبيرة ===== */
@media (min-width: 1600px) {
    .container {
        max-width: 1800px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1920px;
    }
}

/* تحسين التباعد للشاشات المتوسطة */
@media (min-width: 1200px) and (max-width: 1599px) {
    .container {
        width: calc(100% - 100px);
    }
}
/* ===== إصلاح جذري لمشكلة الفراغ الجانبي ===== */

/* إعادة ضبط كاملة */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    direction: rtl !important;
    text-align: right !important;
}

body {
    direction: rtl !important;
    text-align: right !important;
    width: 100% !important;
    overflow-x: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* الحاوية الرئيسية - هذا هو المفتاح */
.container, 
#page, 
.site, 
.site-container, 
.wrapper, 
main, 
#content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    float: none !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}

/* إصلاح الشبكات */
.hero-grid,
.latest-layout,
.article-wrap,
.topic-banner,
.pick-grid,
.contact-grid,
.tool-grid,
.newsletter-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

/* للجوال */
@media (max-width: 768px) {
    .container {
        padding: 0 15px !important;
    }
}
/* ===== إصلاح صفحة المقال الواحد ===== */

/* ضمان عرض المحتوى بشكل صحيح */
.single-post .site-content,
.single-post main,
.single-post #content,
.single-post .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* إصلاح تخطيط المقال */
.single-post .article-wrap,
.single-post .article-body,
.single-post .prose,
.single-post .article-main {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    float: none !important;
}

/* إخفاء الفراغات */
.single-post .sidebar,
.single-post .related,
.single-post .comments {
    display: none !important;
}

/* توسيط المحتوى */
.single-post .article-title,
.single-post .article-content,
.single-post .entry-content {
    text-align: right !important;
    direction: rtl !important;
}

/* للموبايل */
@media (max-width: 768px) {
    .single-post .container {
        padding: 0 15px !important;
    }
}
/* ===== إصلاح جذري لصفحة المقال الفردي ===== */

/* ضبط أساسي */
.single-post body {
    direction: rtl !important;
    text-align: right !important;
    overflow-x: hidden !important;
}

/* إصلاح الحاوية الرئيسية */
.single-post .container {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* إصلاح تخطيط المقال - هذا هو المفتاح */
.single-post .article-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* جعل المحتوى يأخذ العرض الكامل */
.single-post .article-main-content,
.single-post .article-body,
.single-post .article-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

/* إصلاح عرض المحتوى النصي */
.single-post .article-main {
    display: block !important;
    width: 100% !important;
}

/* إخفاء السايدبار إذا كان فارغاً */
.single-post .sidebar:empty {
    display: none !important;
}

/* إصلاح جدول المحتويات */
.single-post .toc {
    position: static !important;
    width: 100% !important;
    max-width: 300px !important;
    margin-top: 30px !important;
}

/* ضبط النصوص */
.single-post h1,
.single-post h2,
.single-post h3,
.single-post p,
.single-post ul,
.single-post ol,
.single-post li {
    text-align: right !important;
    direction: rtl !important;
}

/* للموبايل */
@media (max-width: 1040px) {
    .single-post .article-wrap {
        display: block !important;
    }
    
    .single-post .toc {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .single-post .container {
        padding: 0 15px !important;
    }
}