:root{
  --orange:#e8a33d; --orange-d:#c98a1f;
  --dark:#181818; --dark2:#232323; --card-d:#2c2c2c;
  --brown:#3a3126; --paper:#f1f0ee; --ink:#1f1f1f; --muted:#8a8a8a;
  --r:12px;
  --font:'Tajawal','Noto Sans Arabic','Segoe UI',Tahoma,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--paper);color:var(--ink);line-height:1.9}
a{text-decoration:none;color:inherit;transition:.2s}
img{max-width:100%;display:block}
.wrap{max-width:1200px;margin:0 auto;padding:0 16px}

/* Kurdish letters (ڕ ڵ ۆ ێ پ چ ژ گ ک) fall back to Noto Sans Arabic automatically */
h1,h2,h3,h4,p,a,span,time,li,td,th,label,input,textarea,select,button{font-family:var(--font)}

/* ===== Header ===== */
.top{background:#fff;text-align:center;padding:30px 12px 20px;display:block}
.top a{display:block;text-align:center}
.diamond{display:inline-flex;width:88px;height:88px;transform:rotate(45deg);background:var(--dark);
  border:4px solid var(--orange);align-items:center;justify-content:center;border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.15)}
.diamond b{transform:rotate(-45deg);color:#fff;font-size:22px;font-weight:800}
.sitelogo{display:inline-block;margin:0 auto;max-height:220px;max-width:420px;object-fit:contain}
.slogan{margin-top:22px;font-weight:800;font-size:19px;color:#2e2e2e;line-height:2}

/* ===== Nav ===== */
.nav{background:var(--orange);position:sticky;top:0;z-index:50;box-shadow:0 2px 10px rgba(0,0,0,.15)}
.nav .wrap{display:flex;flex-wrap:wrap;justify-content:center}
.nav a{padding:13px 15px;font-weight:800;font-size:15px;color:#3a2a08}
.nav a.on,.nav a:hover{background:var(--brown);color:#fff}

/* ===== Hero (issues) ===== */
.hero{background:var(--dark);padding:36px 0}
.covers{display:flex;gap:20px;overflow-x:auto;padding:6px 20px 18px;scroll-snap-type:x mandatory}
.covers::-webkit-scrollbar{height:6px}
.covers::-webkit-scrollbar-thumb{background:var(--orange);border-radius:3px}
.cover{scroll-snap-align:center;flex:0 0 auto;width:210px;height:300px;border-radius:10px;position:relative;
  overflow:hidden;color:#fff;box-shadow:0 10px 26px rgba(0,0,0,.45);display:block}
.cover:hover{transform:translateY(-5px)}
.cover::after{content:"";position:absolute;inset:0;
  background:linear-gradient(115deg,rgba(255,255,255,.16) 0 28%,transparent 28%),
             linear-gradient(245deg,rgba(0,0,0,.28) 0 30%,transparent 30%)}
.cover.v1{background:linear-gradient(160deg,#5c8a3a,#2f5220)}
.cover.v2{background:linear-gradient(160deg,#6ea3c9,#28536b)}
.cover.v3{background:linear-gradient(160deg,#7b4b7b,#3c2440)}
.cover.v4{background:linear-gradient(160deg,#c65b5b,#7a2e2e)}
.cover img{width:100%;height:100%;object-fit:cover}
.cover .mini{position:absolute;top:14px;right:14px;width:44px;height:44px;transform:rotate(45deg);
  background:var(--dark);border:2px solid var(--orange);border-radius:8px;display:flex;align-items:center;justify-content:center;z-index:2}
.cover .mini b{transform:rotate(-45deg);font-size:11px}
.cover .num{position:absolute;bottom:12px;right:14px;font-weight:800;font-size:18px;z-index:2;
  text-shadow:0 2px 6px rgba(0,0,0,.6)}

/* ===== Section headings ===== */
.sec{display:flex;align-items:center;gap:16px;justify-content:center;margin:44px 0 26px}
.sec h2{color:var(--orange-d);font-size:30px;font-weight:800}
.sec::before,.sec::after{content:"";height:3px;width:70px;background:var(--orange);border-radius:2px}
.dark .sec h2{color:var(--orange)}

/* ===== Cards / grids ===== */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
@media(max-width:900px){.grid3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.grid3{grid-template-columns:1fr}}

.panel{background:#fff;border-radius:var(--r);padding:28px;box-shadow:0 4px 16px rgba(0,0,0,.06)}

/* ===== Item: small image on the RIGHT, text on the left ===== */
.item{display:flex !important;flex-direction:row;align-items:flex-start;gap:12px}
.item-thumb{order:1;flex:0 0 92px;width:92px;height:78px;border-radius:8px;overflow:hidden;background:#e9e9e9;display:block}
.item-thumb img{width:100%;height:100%;object-fit:cover;transition:.35s}
.item-thumb:hover img{transform:scale(1.08)}
.item-text{order:2;flex:1 1 auto;min-width:0}
.wcard .item-thumb{flex-basis:80px;width:80px;height:68px;background:#3a3a3a}
.bloglist .item-thumb{flex-basis:100px;width:100px;height:82px}
.dark .item-thumb{background:#3a3a3a}

.item time{color:var(--muted);font-size:13px;display:flex;align-items:center;gap:5px}
.item h3{font-size:17px;font-weight:800;margin:6px 0;line-height:1.7}
.item h3 a:hover{color:var(--orange-d)}
.item p{color:var(--muted);font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* dark band */
.dark{background:var(--dark2);color:#fff;padding:10px 0 56px;margin-top:52px}
.dark .item h3 a:hover{color:var(--orange)}
.dark .item p{color:#9a9a9a}

/* widget cards */
.widgets{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:52px}
@media(max-width:900px){.widgets{grid-template-columns:1fr}}
.wcard{background:var(--card-d);color:#fff;border-radius:var(--r);padding:24px;box-shadow:0 8px 22px rgba(0,0,0,.25)}
.wcard>h3{color:#fff;font-size:21px;font-weight:800;margin-bottom:18px;padding-bottom:12px;border-bottom:2px solid var(--orange)}
.wcard .item{padding:12px 0;border-bottom:1px solid #3d3d3d}
.wcard .item:last-child{border-bottom:none}
.wcard .item p{color:#9a9a9a}
.btn{display:inline-block;background:var(--orange);color:#2e2000;font-weight:800;font-size:13px;
  padding:7px 16px;border-radius:6px;margin-top:8px}
.btn:hover{background:var(--orange-d);color:#fff}

/* blog */
.bloglist .item{padding:18px 0;border-bottom:1px solid #eee;text-align:right}
.bloglist .item:last-child{border-bottom:none}

/* ===== Single post ===== */
.single{background:#fff;border-radius:var(--r);padding:36px;margin:44px auto;max-width:860px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.single h1{font-size:28px;line-height:1.8;margin-bottom:10px}
.single .meta{color:var(--muted);font-size:14px;display:flex;gap:18px;flex-wrap:wrap;margin-bottom:24px;
  padding-bottom:18px;border-bottom:1px solid #eee}
.single .meta .tag{background:var(--orange);color:#2e2000;font-weight:800;padding:2px 12px;border-radius:5px;font-size:13px}
.single .body{font-size:17px;color:#333;line-height:2.1}
.single .body p{margin-bottom:18px}

/* pager */
.pager{display:flex;justify-content:center;gap:14px;margin:36px 0}
.pager a{background:var(--brown);color:#fff;font-weight:800;padding:9px 26px;border-radius:8px}
.pager a:hover{background:var(--orange);color:#2e2000}

/* issues page */
.issuegrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:24px;margin:36px 0}

/* footer */
footer{background:var(--brown);color:#e8ddca;text-align:center;padding:26px 16px;margin-top:64px;font-size:14px;line-height:2}
footer b{color:var(--orange)}
footer .credit{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12);
  font-size:12.5px;color:#b8ab92;direction:ltr}
footer .credit a{color:var(--orange);font-weight:800}
footer .credit a:hover{color:#fff;text-decoration:underline}

.mt{margin-top:44px}.mb{margin-bottom:44px}