/* Muslih Blog -- article + index typography. Loads after /css/styles.css and uses its tokens. */
.blog-main{position:relative;z-index:1;padding:clamp(28px,5vw,56px) 0 clamp(48px,8vw,96px)}
.post-wrap,.blog-wrap{max-width:760px;margin:0 auto;padding:0 clamp(16px,4vw,24px)}
.blog-wrap{max-width:1100px}
.crumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;font-size:.86rem;color:var(--muted);margin-bottom:18px}
.crumbs li+li::before{content:"\203A";margin-inline-end:6px;color:var(--muted)}
html[dir="rtl"] .crumbs li+li::before{content:"\2039"}
.crumbs a{color:var(--ink-2);text-decoration:none}
.crumbs a:hover{color:var(--ink);text-decoration:underline}
.post-head h1{font-family:'Lora',Georgia,serif;font-weight:600;font-size:clamp(1.9rem,5vw,2.7rem);line-height:1.2;color:var(--ink);margin-bottom:14px}
html[lang="ar"] .post-head h1,html[lang="ar"] .blog-head h1{font-family:'IBM Plex Sans Arabic','Noto Naskh Arabic',system-ui,sans-serif;line-height:1.45}
.post-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:.9rem;color:var(--muted)}
.post-meta .sep{opacity:.5}
.author-bio{margin-top:6px;font-size:.88rem;color:var(--muted)}
.post-cover{margin:22px 0 28px;border-radius:var(--radius);overflow:hidden;background:var(--surface-2);box-shadow:var(--shadow)}
.post-cover img{display:block;width:100%;height:auto}
.post-body{color:var(--ink-2);font-size:1.07rem;line-height:1.8}
html[lang="ar"] .post-body{font-family:'IBM Plex Sans Arabic','Noto Naskh Arabic',system-ui,sans-serif;font-size:1.1rem;line-height:2}
.post-body p{margin:0 0 20px}
.post-body h2{font-family:'Lora',Georgia,serif;font-weight:600;color:var(--ink);font-size:1.45rem;line-height:1.3;margin:38px 0 14px}
.post-body h3{font-family:'Lora',Georgia,serif;font-weight:600;color:var(--ink);font-size:1.15rem;margin:28px 0 10px}
html[lang="ar"] .post-body h2,html[lang="ar"] .post-body h3{font-family:'IBM Plex Sans Arabic',system-ui,sans-serif}
.post-body strong{color:var(--ink)}
.post-body a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.post-body a:hover{color:var(--ink)}
.post-body ul,.post-body ol{margin:0 0 20px;padding-inline-start:1.5em}
.post-body li{margin-bottom:8px}
.post-body li::marker{color:var(--muted)}
.post-body blockquote{margin:26px 0;padding:6px 20px;border-inline-start:3px solid var(--teal);color:var(--ink);font-style:italic;background:var(--surface-2);border-radius:0 12px 12px 0}
html[dir="rtl"] .post-body blockquote{border-radius:12px 0 0 12px;font-style:normal}
.post-body figure{margin:28px 0}
.post-body figure img,.post-body img{max-width:100%;height:auto;border-radius:14px}
.post-body figcaption{margin-top:8px;font-size:.88rem;color:var(--muted);text-align:center}
.cta-box{text-align:start;margin:42px 0 26px;padding:24px clamp(18px,4vw,28px);border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
.cta-box h2{font-family:'Lora',Georgia,serif;font-size:1.25rem;color:var(--ink);margin-bottom:8px}
html[lang="ar"] .cta-box h2{font-family:'IBM Plex Sans Arabic',system-ui,sans-serif}
.cta-box p{color:var(--ink-2);margin-bottom:16px;line-height:1.7}
.cta-box .stores{margin-bottom:12px}
.cta-link{font-weight:700;color:var(--teal);text-decoration:none}
.cta-link:hover{text-decoration:underline}
.helpful{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:26px 0;padding:14px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.helpful[hidden]{display:none}
.helpful-q{font-weight:600;color:var(--ink)}
.helpful button{font:inherit;font-size:1.05rem;padding:6px 16px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);color:var(--ink);cursor:pointer;transition:transform .15s,background-color .2s}
.helpful button:hover{transform:translateY(-1px);background:var(--bg-2)}
.helpful-thanks{font-weight:600;color:var(--teal)}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0 30px}
.share-label{font-weight:600;color:var(--ink-2);margin-inline-end:4px}
.share a,.share button{font:inherit;font-size:.86rem;font-weight:600;padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);text-decoration:none;cursor:pointer}
.share a:hover,.share button:hover{color:var(--ink);background:var(--surface-2)}
.share button[hidden]{display:none}
.related h2{font-family:'Lora',Georgia,serif;font-size:1.25rem;color:var(--ink);margin:10px 0 16px}
html[lang="ar"] .related h2{font-family:'IBM Plex Sans Arabic',system-ui,sans-serif}
.cards{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:22px}
.related .cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.card-post{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;display:flex;flex-direction:column}
.card-post:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.card-post a{display:flex;flex-direction:column;color:inherit;text-decoration:none;height:100%}
.card-img{aspect-ratio:1200/630;background:var(--surface-2);overflow:hidden}
.card-img img{display:block;width:100%;height:100%;object-fit:cover}
.card-body{padding:16px 18px 20px;display:flex;flex-direction:column;gap:8px}
.card-cat{font-size:.74rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal)}
html[lang="ar"] .card-cat{letter-spacing:0;text-transform:none;font-size:.8rem}
.card-title{font-family:'Lora',Georgia,serif;font-size:1.12rem;line-height:1.35;color:var(--ink);font-weight:600}
html[lang="ar"] .card-title{font-family:'IBM Plex Sans Arabic',system-ui,sans-serif;line-height:1.5}
.card-text{font-size:.93rem;color:var(--ink-2);line-height:1.6}
.card-meta{font-size:.82rem;color:var(--muted);margin-top:auto}
.blog-head{margin-bottom:26px}
.blog-head h1{font-family:'Lora',Georgia,serif;font-size:clamp(2rem,5vw,2.8rem);color:var(--ink);margin-bottom:10px}
.blog-head p{color:var(--ink-2);max-width:60ch;line-height:1.7}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.chips[hidden]{display:none}
.chip{font:inherit;font-size:.86rem;font-weight:600;padding:7px 15px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);cursor:pointer}
.chip:hover{background:var(--surface-2);color:var(--ink)}
.chip[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.empty{padding:40px 0;color:var(--muted)}
.footnote{margin-top:34px;padding-top:18px;border-top:1px solid var(--line);font-size:.86rem;color:var(--muted)}
.preview-bar{position:sticky;top:0;z-index:300;background:#b4540a;color:#fff;text-align:center;font:600 .85rem system-ui,sans-serif;padding:6px 10px}
