/* Blog and help center V2 — approved design (canvas «نموذج مقال مدونة سهل بوكس», 15-11-2026). */
@font-face{font-family:"IBM Plex Sans Arabic";src:url(fonts/IBMPlexSansArabic-Regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(fonts/IBMPlexSansArabic-SemiBold.woff2) format("woff2");font-weight:500 600;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url(fonts/IBMPlexSansArabic-Bold.woff2) format("woff2");font-weight:700;font-display:swap}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#F5F6FA;font-family:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI",Tahoma,sans-serif;color:#1C2033}
a{color:#0315AF;text-decoration:underline;text-underline-offset:3px}
a:hover{color:#0B1A6E}
img{max-width:100%;height:auto}
bdi{white-space:nowrap}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:1180px;margin:0 auto;padding:0 24px}
.draft-bar{background:#D54D01;color:#fff;text-align:center;font-weight:700;font-size:14px;padding:8px 16px}
/* Header: mirrors the React public bar (src/layout/public/SahelHeader.tsx) — a floating
   white card with the brand underline on the active link. React fixes it to the viewport
   and pads the main element; sticky gives the same result without that padding and keeps
   the draft bar above it in flow. */
.hdr{position:sticky;top:0;z-index:1000;padding:12px 8px}
.hdr-wrap{max-width:1536px;margin:0 auto;padding:0 4px}
.hdr-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;background:#fff;border-radius:12px;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -2px rgba(0,0,0,.1);padding:8px;column-gap:8px;row-gap:0}
.nav-start{display:flex;align-items:center;gap:4px;order:1;min-width:0}
.nav-logo{display:inline-block;line-height:0}
.nav-logo img{width:88px;height:auto;display:block}
.nav-burger{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:#1C2033;cursor:pointer}
.nav-burger:hover{background:rgba(0,0,0,.04)}
.nav-links{display:none}
.nav-links a{position:relative;display:inline-flex;align-items:center;justify-content:center;padding:8px 6px;border-radius:6px;color:#1C2033;font-size:16px;font-weight:500;text-decoration:none;white-space:nowrap;transition:color .15s ease}
.nav-links a.on{color:#0315AF;font-weight:700}
.nav-links a::after{content:"";position:absolute;bottom:6px;left:50%;transform:translateX(-50%);height:2.5px;width:0;border-radius:4px;background:#0315AF;transition:width .25s ease}
.nav-links a:hover::after,.nav-links a.on::after{width:60%}
.nav-end{display:flex;align-items:center;gap:4px;order:3;flex-shrink:0}
.nav-btn{display:inline-flex;align-items:center;justify-content:center;padding:4.8px 20px;border-radius:8px;font-family:inherit;font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.nav-btn-p{background:#0315AF;color:#fff;border:1px solid #0315AF}
.nav-btn-p:hover{background:#0B1A6E;border-color:#0B1A6E;color:#fff}
.nav-btn-o{background:#fff;color:#1C2033;border:1px solid #DDE0EA}
.nav-btn-o:hover{border-color:#0315AF;color:#0315AF}
.nav-drawer{order:4;width:100%;min-height:0;flex-shrink:1;overflow:hidden;max-height:0;opacity:0;pointer-events:none;transition:max-height .3s ease-in-out,opacity .3s ease-in-out}
.nav-drawer.open{max-height:80vh;opacity:1;pointer-events:auto}
.nav-drawer ul{list-style:none;margin:0;padding:4px 0}
.nav-drawer a{display:block;padding:4px 24px;color:#1C2033;font-size:16px;text-decoration:none;text-align:start}
.nav-drawer a.on{color:#0315AF}
.nav-drawer-cta{padding:8px 24px}
.nav-drawer-cta a{display:inline-flex;padding:4.8px 20px}
@media (min-width:600px){.hdr-wrap{padding:0 16px}.nav-logo img{width:100px}}
@media (min-width:640px){.hdr{padding-left:16px;padding-right:16px}.hdr-in{padding-top:12px;padding-bottom:12px;column-gap:16px}.nav-start,.nav-end{gap:12px}}
@media (max-width:639px){.nav-end .nav-btn{min-width:0;height:36px;min-height:36px;padding-left:12px;padding-right:12px;font-size:13px}.nav-end .nav-btn-o{display:none}}
@media (min-width:768px){.hdr{padding-left:24px;padding-right:24px}.hdr-in{padding-left:16px;padding-right:16px}}
@media (min-width:900px){.nav-logo img{width:120px}}
@media (min-width:1024px){.hdr{padding-left:32px;padding-right:32px}.nav-burger,.nav-drawer{display:none}.nav-links{display:flex;flex:1;order:2;align-items:center;justify-content:center;gap:8px}}
@media (min-width:1200px){.nav-logo img{width:150px}}
@media (min-width:1280px){.nav-links a{padding-left:20px;padding-right:20px}}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:6px;font-weight:700;font-size:14px;text-decoration:none;font-family:inherit;cursor:pointer;border:0}
.btn-p{background:#0315AF;color:#fff}
.btn-p:hover{color:#fff;background:#0B1A6E}
.btn-w{background:#fff;color:#0315AF}
.btn-w:hover{color:#0B1A6E}
.btn-s{background:#fff;color:#0315AF;border:1px solid #0315AF}
.bar{background:#fff;border-bottom:1px solid #DDE0EA}
.bar-in{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:14px 24px}
.crumb{font-size:12px;font-weight:600;color:#5E6378;display:flex;gap:8px;flex-wrap:wrap;padding:28px 0 0}
.bar .crumb{padding:0}
.crumb a{color:#5E6378;text-decoration:none}
.grid{display:flex;flex-wrap:wrap;gap:32px;align-items:flex-start;padding:16px 0 48px}
.help .grid{padding-top:28px}
.main{flex:999 1 560px;min-width:0;max-width:760px}
.help .main{max-width:780px}
.side{flex:1 1 260px;display:flex;flex-direction:column;gap:16px}
.chip{display:inline-block;background:#EEF0FC;color:#0B1A6E;font-size:12px;font-weight:600;border-radius:999px;padding:2px 12px;text-decoration:none}
h1.t{margin:8px 0 0;font-size:34px;line-height:48px;font-weight:700;color:#0B1A6E}
.help h1.t{margin-top:10px;font-size:30px;line-height:44px}
.tmark{width:48px;height:4px;margin-top:10px;border-radius:2px;background:linear-gradient(to left,#0315AF 0 80%,#D54D01 80% 100%)}
.meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#5E6378;margin-top:14px}
.cover{display:block;width:100%;height:auto;border-radius:8px;border:1px solid #DDE0EA;margin-top:24px}
.sheet{background:#fff;border:1px solid #DDE0EA;border-radius:8px;padding:32px 40px;margin-top:24px}
.tldr{background:#EEF0FC;border-radius:8px;padding:16px 20px;margin-bottom:8px}
.tldr b{display:block;font-size:12px;font-weight:700;color:#0B1A6E;margin-bottom:4px}
.tldr+p,.tldr+ul{margin-top:18px}
.tldr p{margin:0;font-size:16px;line-height:28px;color:#0B1A6E}
.art h2{font-size:22px;line-height:32px;font-weight:700;color:#0B1A6E;margin:36px 0 12px}
.art h3{font-size:17px;line-height:26px;font-weight:700;color:#1C2033;margin:24px 0 6px}
.art p,.art li{font-size:16px;line-height:30px}
.art p{margin:0 0 14px}
.art ul,.art ol{margin:0 0 14px;padding-inline-start:22px}
.art li{margin-bottom:8px}
.art table{width:100%;border-collapse:collapse;margin:8px 0 20px;font-size:15px;line-height:24px;display:block;overflow-x:auto}
.art th,.art td{border:1px solid #DDE0EA;padding:10px 12px;text-align:start;vertical-align:top}
.art th{background:#F3F5FB;color:#0B1A6E;font-weight:700}
.art h3.step-h{display:flex;gap:14px;align-items:center;margin:30px 0 8px}
.art h3.step-h .num{flex:none;width:34px;height:34px;border-radius:999px;background:#0315AF;color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
.ui{display:inline-block;background:#F3F5FB;border:1px solid #DDE0EA;border-radius:6px;padding:0 8px;font-size:14px;font-weight:600;color:#0B1A6E;line-height:24px}
.shot{border:1px solid #DDE0EA;border-radius:8px;overflow:hidden;background:#fff;margin:4px 0 26px}
.shot picture,.shot img{display:block;width:100%;height:auto}
.shot-area{min-height:200px;background:#F3F5FB;border-bottom:1px solid #DDE0EA;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#5E6378;font-size:13px;text-align:center;padding:24px;position:relative}
.shot-area strong{color:#1C2033}
.shot-area .pin{position:absolute;inset-inline-start:16px;top:16px;width:26px;height:26px;border-radius:999px;background:#0315AF;color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.shot-cap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding:10px 14px;font-size:12px;color:#5E6378}
.shot-cap b{color:#1C2033;font-weight:600}
.cta{background:#0315AF;color:#fff;border-radius:8px;padding:24px 28px;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin:28px 0}
.cta p{margin:0;font-size:16px;line-height:26px;color:#fff;flex:1 1 300px}
.cta strong{display:block;font-size:19px;line-height:28px}
.product{border-top:1px solid #DDE0EA;padding-top:18px;margin-top:28px;font-size:15px;line-height:28px;color:#1C2033}
.card{background:#fff;border:1px solid #DDE0EA;border-radius:8px;padding:20px}
.card h4,.card h2.h4{margin:0 0 10px;font-size:15px;line-height:22px;font-weight:700;color:#0B1A6E}
.toc ol{margin:0;padding-inline-start:20px;font-size:14px;line-height:24px}
.toc li{margin-bottom:6px}
.toc a{color:#1C2033;text-decoration:none}
.toc a:hover{color:#0315AF}
.share{display:flex;flex-wrap:wrap;gap:8px}
.share a{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border:1px solid #DDE0EA;border-radius:6px;color:#1C2033;text-decoration:none;font-size:13px;font-weight:600;background:#fff}
.share a:hover{border-color:#0315AF;color:#0315AF}
.help-links{margin:0;padding:0;list-style:none;font-size:14px;line-height:22px}
.help-links li{margin-bottom:8px}
.sec{margin-top:32px}
.sec>h2{font-size:22px;line-height:30px;font-weight:700;color:#0B1A6E;margin:0 0 16px}
.help .sec>h2{font-size:20px}
details{background:#fff;border:1px solid #DDE0EA;border-radius:8px;margin-bottom:10px}
summary{cursor:pointer;padding:14px 18px;font-size:15px;font-weight:700;color:#1C2033;min-height:24px}
details p{margin:0;padding:0 18px 16px;font-size:15px;line-height:26px;color:#1C2033}
.rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.help .rel{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rel a{display:block;background:#fff;border:1px solid #DDE0EA;border-radius:8px;padding:18px;text-decoration:none;color:#1C2033}
.rel a:hover{border-color:#0315AF}
.rel span{display:block;font-size:12px;font-weight:600;color:#5E6378;margin-bottom:6px}
.rel strong{font-size:15px;line-height:24px;color:#0B1A6E}
.author{display:flex;gap:14px;align-items:center}
.author .av{width:48px;height:48px;border-radius:999px;background:#EEF0FC;display:flex;align-items:center;justify-content:center;flex:none}
.author b{display:block;font-size:15px;color:#1C2033}
.author span{font-size:13px;color:#5E6378}
.useful{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-top:28px;padding-top:20px;border-top:1px solid #DDE0EA}
.useful span{font-size:15px;font-weight:700}
.useful div{display:flex;gap:8px}
.contact{background:#0315AF;color:#fff;border-radius:8px;padding:22px 24px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between}
.contact p{margin:0;font-size:15px;line-height:24px;flex:1 1 260px}
.contact strong{display:block;font-size:18px;margin-bottom:2px}
.tree{list-style:none;margin:0;padding:0;font-size:14px;line-height:22px}
.tree>li{margin-bottom:6px}
.tree>li>b{display:block;padding:6px 10px;color:#1C2033}
.tree ul{list-style:none;margin:0 0 6px;padding:0 10px 0 0}
.tree ul a{display:block;padding:6px 10px;border-radius:6px;color:#1C2033;text-decoration:none;font-size:13px}
.tree ul a.on{background:#EEF0FC;color:#0B1A6E;font-weight:700}
.hero{background:#fff;border-bottom:1px solid #DDE0EA;padding:48px 0 40px;text-align:center}
.hero h1{margin:0;font-size:30px;line-height:42px;color:#0B1A6E}
.hero .tmark{margin:12px auto 0}
.hero p{margin:12px auto 0;font-size:15px;color:#5E6378;max-width:640px;line-height:26px}
.hsearch{display:flex;gap:8px;max-width:560px;margin:24px auto 0}
.hsearch input{flex:1;min-width:0;height:44px;padding:0 14px;border:1px solid #DDE0EA;border-radius:8px;background:#fff;font-family:inherit;font-size:15px;color:#1C2033}
.hsearch input::placeholder{color:#878DA3}
.hsearch input:focus{outline:2px solid #0315AF;outline-offset:1px;border-color:#0315AF}
.hsearch .btn{flex:none}
.hsearch-none{margin:0;font-size:15px;line-height:26px;color:#5E6378}
.hsearch-back{margin:16px 0 0;font-size:14px}
.cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.cat{display:block;background:#fff;border:1px solid #DDE0EA;border-radius:8px;padding:20px;text-decoration:none;color:#1C2033}
.cat:hover{border-color:#0315AF}
.cat b{display:block;font-size:16px;line-height:24px;color:#0B1A6E}
.cat span{display:block;font-size:13px;line-height:21px;color:#5E6378;margin-top:4px}
.list{background:#fff;border:1px solid #DDE0EA;border-radius:8px}
.list a{display:flex;justify-content:space-between;gap:12px;padding:14px 18px;border-top:1px solid #DDE0EA;text-decoration:none;color:#1C2033;font-size:15px;line-height:24px}
.list a:first-child{border-top:0}
.list a span{color:#5E6378;font-size:13px;flex:none}
.posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.post{display:flex;flex-direction:column;background:#fff;border:1px solid #DDE0EA;border-radius:8px;overflow:hidden;text-decoration:none;color:#1C2033}
.post:hover{border-color:#0315AF}
.post img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover;border-bottom:1px solid #DDE0EA}
.post div{padding:16px 18px 20px}
.post span{display:block;font-size:12px;font-weight:600;color:#5E6378;margin-bottom:6px}
.post strong{display:block;font-size:16px;line-height:26px;color:#0B1A6E}
.post p{margin:8px 0 0;font-size:14px;line-height:24px;color:#5E6378}
.pad{padding-bottom:48px}
/* Footer: mirrors the React public footer (src/layout/public/SahelFooter.tsx). */
/* React makes the page a flex column so the footer sinks on a short page; that would turn
   every section into a flex item and stop margin collapsing, so the footer here keeps
   simply following the content, exactly as it did before. */
.ftr{background:#F4F4F2;border-top:1px solid #D0D5DD;padding:48px 0}
.ftr-wrap{max-width:1536px;margin:0 auto;padding:0 16px}
.ftr-grid{display:flex;flex-wrap:wrap;gap:32px;justify-content:space-between}
.ftr-brand{flex:1 1 320px;max-width:560px;padding-inline-end:3rem}
.ftr-brand p{margin:16px 0 0;font-size:14px;line-height:2;color:#1C2033;opacity:.7}
.ftr-cols{flex:1 1 420px;display:flex;flex-wrap:wrap;gap:24px}
.ftr-col{flex:1 1 150px;display:flex;flex-direction:column}
.ftr-col h2{margin:0 0 8px;font-size:18px;font-weight:600;color:#333}
.ftr a{display:flex;align-items:center;gap:8px;margin-block:12px;font-size:16px;color:#6A6D70;opacity:.6;text-decoration:none;transition:color .5s ease}
.ftr a:hover{color:#0315AF}
.ftr .nav-logo{display:inline-block;margin:0;opacity:1}
.ftr-rule{height:1px;margin:32px 0;border:0;background:#616161}
.ftr-copy{margin:0;text-align:center;font-size:14px;color:#333;opacity:.6}
.sticky{display:none}
@media (max-width:700px){
 .wrap{padding:0 16px}
 h1.t{font-size:26px;line-height:38px}
 .help h1.t{font-size:24px;line-height:36px}
 .sheet{padding:20px 18px}
 .rel,.help .rel,.posts{grid-template-columns:minmax(0,1fr)}
 .cats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .blog .side{order:-1}
 .blog .side .share-card,.blog .side .help-card{display:none}
 .help .side{order:2}
 .help .side .tree-card{display:none}
 .hero h1{font-size:24px;line-height:36px}
 .sticky{display:flex;position:sticky;bottom:0;background:#fff;border-top:1px solid #DDE0EA;padding:10px 16px;gap:12px;align-items:center;justify-content:space-between;z-index:5}
 .sticky span{font-size:13px;font-weight:600;color:#0B1A6E}
}
