/* Mutaqi blog — shared styles (kept in one file so articles stay content-only) */
:root {
  --cream: #FBF3E4;
  --sand: #F3E1B8;
  --gold: #C8962A;
  --gold-light: #E8B84B;
  --amber: #F3B855;
  --brown: #8C5F22;
  --rich: #2A1D0A;
  --ink: #1F1509;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* Nav (matches the main site) */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 48px; display: flex; align-items: center; justify-content: space-between;
  background: rgba(251, 243, 228, 0.82); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(140, 95, 34, 0.08);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px;
  letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 12px -3px rgba(200, 150, 42, 0.5);
  border: 1px solid rgba(140, 95, 34, 0.18); flex-shrink: 0; }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-links { display: flex; gap: 30px; font-size: 14px; font-weight: 500; color: rgba(50,30,10,0.7); }
.nav-links a { color: inherit; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--brown)); color: var(--cream);
  font-weight: 600; font-size: 14px; text-decoration: none;
  box-shadow: 0 6px 16px -4px rgba(140, 95, 34, 0.4);
  border: 1px solid rgba(140, 95, 34, 0.3); transition: transform .2s; }
.nav-cta:hover { transform: translateY(-1px); }

/* Blog index header */
.blog-header { padding: 140px 24px 50px; text-align: center;
  background: linear-gradient(170deg, #FBF3E4 0%, #F5E2B6 100%); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.28em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.blog-header h1 { font-size: 54px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; }
.blog-header .grad { background: linear-gradient(135deg, var(--brown), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.blog-header p { font-size: 18px; line-height: 1.6; color: rgba(50,30,10,0.68);
  margin: 16px auto 0; max-width: 620px; }

/* Card grid */
.posts { max-width: 1100px; margin: 0 auto; padding: 60px 24px 100px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.post-card { display: block; text-decoration: none; color: inherit; padding: 30px 28px;
  border-radius: 24px; background: linear-gradient(170deg, rgba(255,252,245,0.95), rgba(245, 226, 182, 0.5));
  border: 1px solid rgba(140,95,34,0.12); box-shadow: 0 20px 40px -20px rgba(90,60,30,0.15);
  transition: transform .3s, box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -20px rgba(90,60,30,0.25); }
.post-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brown); background: rgba(200,150,42,0.15);
  padding: 5px 11px; border-radius: 999px; }
.post-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.25; margin-top: 16px; }
.post-card p { font-size: 15px; line-height: 1.6; color: rgba(50,30,10,0.66); margin-top: 10px; }
.post-meta { font-size: 13px; color: rgba(50,30,10,0.5); margin-top: 16px; font-weight: 500; }

/* Article */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 130px 24px 40px; }
.crumbs { font-size: 13px; color: rgba(50,30,10,0.55); margin-bottom: 22px; }
.crumbs a { color: var(--brown); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
article h1 { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.article-meta { font-size: 14px; color: rgba(50,30,10,0.55); margin-top: 16px;
  padding-bottom: 26px; border-bottom: 1px solid rgba(140,95,34,0.15); }
.lede { font-size: 20px; line-height: 1.65; color: rgba(50,30,10,0.8); margin-top: 28px; font-weight: 500; }
article h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin-top: 46px; line-height: 1.2; }
article h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-top: 32px; }
article p { font-size: 17px; line-height: 1.75; color: rgba(40,25,8,0.85); margin-top: 16px; }
article ul, article ol { margin: 16px 0 0 22px; }
article li { font-size: 17px; line-height: 1.75; color: rgba(40,25,8,0.85); margin-top: 10px; }
article strong { font-weight: 700; color: var(--ink); }
article a { color: var(--brown); font-weight: 600; }
.quran { margin-top: 26px; padding: 24px 26px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(200,150,42,0.12), rgba(243,184,85,0.05));
  border: 1px solid rgba(200,150,42,0.25); }
.quran .ar { font-family: 'Amiri', serif; font-size: 24px; color: var(--brown);
  line-height: 1.9; text-align: right; direction: rtl; }
.quran .tr { font-size: 17px; line-height: 1.6; color: rgba(40,25,8,0.85);
  font-style: italic; margin-top: 12px; }
.quran .src { font-size: 13px; color: rgba(50,30,10,0.55); margin-top: 8px; font-weight: 600; }
.callout { margin-top: 28px; padding: 24px 26px; border-radius: 20px;
  background: rgba(255,252,245,0.9); border: 1px solid rgba(140,95,34,0.18);
  box-shadow: 0 16px 36px -20px rgba(90,60,30,0.18); }
.callout h4 { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.callout p { font-size: 16px; margin-top: 8px; }
.note { margin-top: 30px; padding: 18px 20px; border-radius: 16px;
  background: rgba(140,95,34,0.06); border-left: 3px solid var(--gold);
  font-size: 15px; line-height: 1.65; color: rgba(40,25,8,0.75); }
table { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: 16px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(140,95,34,0.15); }
th { font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brown); }
.table-wrap { overflow-x: auto; }

/* In-article app CTA */
.app-cta { margin: 44px 0 10px; padding: 32px 30px; border-radius: 26px; text-align: center;
  background: linear-gradient(170deg, var(--amber) 0%, var(--gold) 55%, var(--brown) 100%);
  color: var(--cream); box-shadow: 0 30px 60px -28px rgba(140,95,34,0.55); }
.app-cta h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.app-cta p { font-size: 16px; opacity: 0.9; margin-top: 8px; color: var(--cream); }
.app-cta a { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  padding: 14px 26px; border-radius: 999px; background: rgba(255,248,232,0.96);
  color: var(--brown); font-weight: 700; font-size: 15px; text-decoration: none;
  transition: transform .2s; }
.app-cta a:hover { transform: translateY(-2px); }

/* FAQ */
.faq { margin-top: 44px; }
.faq details { border-bottom: 1px solid rgba(140,95,34,0.15); padding: 18px 0; }
.faq summary { font-size: 17px; font-weight: 700; cursor: pointer; letter-spacing: -0.01em;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq p { font-size: 16px; margin-top: 12px; }

/* Related */
.related { margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(140,95,34,0.15); }
.related h4 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brown); margin-bottom: 14px; }
.related a { display: block; padding: 12px 0; font-size: 16px; font-weight: 600;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(140,95,34,0.08); }
.related a:hover { color: var(--gold); }

/* Footer */
footer { background: #1A1208; color: rgba(245, 231, 200, 0.6); padding: 56px 48px 28px; margin-top: 80px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: var(--cream); font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(245, 231, 200, 0.6); text-decoration: none;
  font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-tag { font-size: 14px; line-height: 1.6; margin-top: 14px; max-width: 300px; }
.footer-bottom { max-width: 1100px; margin: 44px auto 0; padding-top: 26px;
  border-top: 1px solid rgba(245, 231, 200, 0.1); display: flex; justify-content: space-between;
  font-size: 13px; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
  nav { padding: 13px 20px; }
  .nav-links { display: none; }
  .blog-header { padding: 120px 20px 40px; }
  .blog-header h1 { font-size: 36px; }
  .posts { grid-template-columns: 1fr; padding: 40px 20px 70px; }
  .article-wrap { padding: 110px 20px 30px; }
  article h1 { font-size: 32px; }
  article h2 { font-size: 24px; }
  .lede { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
