/* Ghazayel theme v2.0.0 */
/* Ghazayel theme v1.3.0 */
:root{
  --bg:#14171d;
  --surface:#1c2027;
  --border:rgba(255,255,255,.08);
  --text:#eef0f2;
  --muted:#8a92a0;
  --accent:#e8440a;
  --accent-2:#ff8a5b;
  --display:'Cabinet Grotesk', system-ui, sans-serif;
  --mono:'JetBrains Mono', ui-monospace, monospace;
}

*{box-sizing:border-box; margin:0; padding:0;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--display);
  line-height:1.6;
}
a{color:inherit; text-decoration:none;}

.wrap{max-width:760px; margin:0 auto; padding:2rem 1.5rem 4rem;}

nav{
  padding:1.1rem 1.5rem;
  border-bottom:1px solid var(--border);
}
.nav-logo{font-weight:800; font-size:1.1rem;}
.accent{color:var(--accent);}

.page-title{font-size:2rem; font-weight:800; margin-bottom:2rem;}

.post-list{display:flex; flex-direction:column;}
.post-list-item{
  display:flex; align-items:center; gap:1rem;
  padding:1rem 0; border-bottom:1px solid var(--border);
  transition:color .2s;
}
.post-list-item:hover{color:var(--accent-2);}
.post-list-thumb{width:52px; height:52px; object-fit:cover; border-radius:6px; flex:none;}
.post-list-title{font-weight:600; flex:1;}
.post-list-date{font-family:var(--mono); font-size:.8rem; color:var(--muted); flex:none;}

.post-title{font-size:2.2rem; font-weight:800; line-height:1.25; margin-bottom:1rem;}

.post-hero{margin-bottom:1.5rem;}
.post-hero img{width:100%; max-height:420px; object-fit:cover; border-radius:10px; display:block;}

.post-meta{
  display:flex; flex-wrap:wrap; align-items:center; gap:.6rem;
  margin-bottom:2rem; padding-bottom:1.5rem; border-bottom:1px solid var(--border);
}
.post-date{font-family:var(--mono); font-size:.8rem; color:var(--muted);}
.tag{
  font-family:var(--mono); font-size:.7rem; color:var(--muted);
  border:1px solid var(--border); border-radius:5px; padding:.2rem .5rem;
}
.tag.cat{color:var(--accent-2); border-color:rgba(232,68,10,.3);}

.post-content{font-size:1.05rem; color:#dfe2e6;}
.post-content p{margin-bottom:1.2rem;}
.post-content img{max-width:100%; border-radius:8px; margin:1rem 0;}
.post-content h2, .post-content h3{margin:1.5rem 0 .8rem; font-weight:700;}
.post-content a{color:var(--accent-2); text-decoration:underline;}

.embed-wrap{position:relative; margin:1.5rem 0; border-radius:10px; overflow:hidden;}
.embed-16x9{aspect-ratio:16/9;}
.embed-16x9 iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.embed-fb{display:flex; justify-content:center;}

.ig-card{
  display:inline-flex; align-items:center; gap:.6rem;
  margin:1.2rem 0; padding:.7rem 1.2rem;
  border:1px solid var(--border-hi, var(--border)); border-radius:10px;
  color:var(--text); font-family:var(--mono); font-size:.85rem;
  transition:background .2s, border-color .2s;
}
.ig-card:hover{background:rgba(255,255,255,.04); border-color:var(--accent-2, var(--accent));}

.ig-card{
  display:inline-flex; align-items:center; gap:.6rem;
  margin:1.2rem 0; padding:.7rem 1.2rem;
  border:1px solid var(--border); border-radius:10px;
  font-family:var(--mono); font-size:.85rem; color:var(--text);
  transition:border-color .2s, background .2s;
}
.ig-card:hover{border-color:var(--accent); background:rgba(232,68,10,.06);}
.ig-card svg{flex:none; color:var(--accent-2);}

.post-sources{display:flex; flex-wrap:wrap; gap:.7rem; margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--border);}
.source-btn{
  font-family:var(--mono); font-size:.8rem; color:var(--text);
  border:1px solid var(--accent); border-radius:8px; padding:.6rem 1.1rem;
  transition:background .2s;
}
.source-btn:hover{background:rgba(232,68,10,.1);}

/* Arabic content: right-to-left, matched font */
.post-content:lang(ar), .post-title:lang(ar){direction:rtl; text-align:right;}

footer{
  text-align:center; padding:2rem; color:var(--muted);
  font-family:var(--mono); font-size:.75rem; border-top:1px solid var(--border);
}
