/* Defense of Tasawwuf research note. Deep emerald-on-dark identity. */
.tasawwuf-research { --earth-accent:#7eb8a2; --earth-panel:#121418; --earth-line:#2a3238; --earth-muted:#b0b8c0; --earth-text:#e8edf2; background:#0e1116; }
html:not([data-theme="dark"]) .tasawwuf-research { --earth-accent:#c9a84c; --earth-panel:#0f1c16; --earth-line:#2a4035; --earth-muted:#b0b8b4; --earth-text:#f4f0e8; background:#0a1410; }
.tasawwuf-hero { background:radial-gradient(ellipse at 80% 35%,#2a5a4522,transparent 60%); padding-top:7rem; }
html:not([data-theme="dark"]) .tasawwuf-hero { background:radial-gradient(ellipse at 80% 35%,#c9a84c11,transparent 60%); }
.tasawwuf-hero .earth-opening-grid { grid-template-columns:1.05fr 1fr; gap:2.5rem; }
.tasawwuf-hero .earth-intro h1 { font-size:clamp(3.5rem,6.5vw,6.5rem); line-height:1.02; margin-block:1.3rem 1.5rem; }
.tasawwuf-hero .earth-intro { padding-bottom:2rem; }
.tasawwuf-hero .earth-back { margin-bottom:2.5rem; }
.tasawwuf-hero .earth-deck { max-width:29rem; font-size:1.05rem; }
.tasawwuf-hero .earth-opening-note { margin-top:2rem; }
.tasawwuf-evidence-strip { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; padding-block:1.6rem; margin-top:2.5rem; border-block:1px solid var(--earth-line); }
.tasawwuf-evidence-strip>div { border-right:1px solid var(--earth-line); }
.tasawwuf-evidence-strip>div:last-child { border:0; }
.tasawwuf-evidence-strip span { font-size:.58rem; color:var(--earth-accent); letter-spacing:.1em; }
.tasawwuf-evidence-strip p { font-size:.8rem; margin:.5rem 0 0; }
.tasawwuf-research .earth-chapter h2 { font-size:clamp(2.25rem,4vw,3.9rem); }
.tasawwuf-research.earth-research main p { color: var(--earth-text) !important; }
.tasawwuf-research .earth-chapter p { color: var(--earth-text); }
.tasawwuf-research .earth-deck { color: var(--earth-text); }
.tasawwuf-research .earth-opening-note p { color: var(--earth-text); }
.tasawwuf-research .earth-back { color: var(--earth-text); }
.tasawwuf-research .earth-index nav a { color: var(--earth-text); }
.tasawwuf-research .earth-index nav a b { color: var(--earth-accent); }
.tasawwuf-research .earth-chapter-marker { color: var(--earth-text); }
.tasawwuf-research .earth-sources li a { color: var(--earth-text); }
.tasawwuf-research .earth-index>p { color: var(--earth-text); }
.tasawwuf-research .earth-index>span { color: var(--earth-accent); }
.tasawwuf-research .earth-chapter h2 { color: var(--earth-accent) !important; }
.tasawwuf-research .earth-chapter h3 { color: var(--earth-accent) !important; }
.tasawwuf-research .earth-intro h1 { color: var(--earth-text) !important; }
.tasawwuf-research .earth-intro h1 em { color: var(--earth-accent); }
.tasawwuf-research main p, .tasawwuf-research main li { font-size:1.05rem; line-height:1.8; }
.tasawwuf-research .earth-chapter h3 { font-size:1.35rem; line-height:1.35; margin:1.8rem 0 .8rem; }
.tasawwuf-research .earth-lead { font-size:1.15rem; }

/* Hadith quote box */
.tasawwuf-hadith-box { border:1px solid var(--earth-line); border-left:3px solid var(--earth-accent); padding:1.5rem 1.8rem; margin:2rem 0; background:var(--earth-panel); }
.tasawwuf-hadith-box .hadith-arabic { font-family:'Noto Naskh Arabic',serif; font-size:1.4rem; line-height:2.1; direction:rtl; text-align:right; margin-bottom:1rem; color:var(--earth-accent); }
.tasawwuf-hadith-box .hadith-english { font-size:1.05rem; line-height:1.8; font-style:italic; margin-bottom:.6rem; color:var(--earth-text); }
.tasawwuf-hadith-box .hadith-ref { font-size:.72rem; text-transform:uppercase; letter-spacing:.08em; color:var(--earth-muted); }

/* Ahl-e-Bait quote cards */
.tasawwuf-quote { border:1px solid var(--earth-line); padding:1.3rem 1.5rem; margin:1.5rem 0; border-left:2px solid var(--earth-accent); background:var(--earth-panel); }
.tasawwuf-quote .quote-source { font-size:.6rem; letter-spacing:.1em; color:var(--earth-accent); text-transform:uppercase; margin-bottom:.6rem; }
.tasawwuf-quote .quote-arabic { font-family:'Noto Naskh Arabic',serif; font-size:1.2rem; line-height:2; direction:rtl; text-align:right; margin-bottom:.8rem; }
.tasawwuf-quote .quote-translation { font-size:.92rem; line-height:1.8; font-style:italic; color:var(--earth-muted); }
.tasawwuf-quote .quote-context { font-size:.85rem; line-height:1.7; margin-top:.6rem; color:var(--earth-text); }

/* Narrative boxes — for the stories/waqiat */
.tasawwuf-narrative { border:1px solid var(--earth-line); padding:1.5rem 1.8rem; margin:2rem 0; border-left:3px solid var(--earth-accent); background:var(--earth-panel); }
.tasawwuf-narrative .narrative-label { font-size:.6rem; letter-spacing:.1em; color:var(--earth-accent); text-transform:uppercase; margin-bottom:.8rem; }
.tasawwuf-narrative p { font-size:.95rem; line-height:1.8; }
.tasawwuf-narrative .narrative-voice { font-size:.78rem; color:var(--earth-muted); font-style:italic; margin-top:.8rem; }

/* Conclusion points */
.tasawwuf-conclusion-points { margin-block:2.5rem; }
.tasawwuf-conclusion-point { display:grid; grid-template-columns:42px 1fr; gap:1.2rem; padding:1.5rem 0; border-top:1px solid var(--earth-line); align-items:start; }
.tasawwuf-conclusion-point>span { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--earth-accent); border-radius:50%; color:var(--earth-accent); font:.95rem monospace; }
.tasawwuf-conclusion-point h4 { font:400 1.2rem 'Anthropic Serif',Georgia,serif; margin:0 0 .5rem; color:var(--earth-text); }
.tasawwuf-conclusion-point p { font-size:.85rem; line-height:1.8; margin:0; }

/* Statement box */
.tasawwuf-statement { border:1px solid var(--earth-accent); padding:1.5rem 1.8rem; margin:2rem 0; background:var(--earth-panel); }
.tasawwuf-statement span { font-size:.6rem; letter-spacing:.1em; color:var(--earth-accent); text-transform:uppercase; }
.tasawwuf-statement p { font-size:1.05rem; line-height:1.8; margin:.8rem 0 0; }

/* Personal voice section */
.tasawwuf-personal { border-left:3px solid var(--earth-accent); padding:1rem 1.8rem; margin:2rem 0; }
.tasawwuf-personal p { font-size:1rem; line-height:1.85; font-style:italic; }

@media(max-width:760px) {
  .tasawwuf-hero { padding-top:6rem; }
  .tasawwuf-hero .earth-opening-grid { grid-template-columns:1fr; gap:1rem; }
  .tasawwuf-hero .earth-intro h1 { font-size:clamp(3.4rem,12.5vw,5.5rem); }
  .tasawwuf-hero .earth-back { margin-bottom:2rem; }
  .tasawwuf-evidence-strip { gap:1rem; }
  .tasawwuf-hadith-box { padding:1rem 1.2rem; }
  .tasawwuf-hadith-box .hadith-arabic { font-size:1.15rem; }
  .tasawwuf-conclusion-point { grid-template-columns:36px 1fr; gap:.8rem; }
  .tasawwuf-conclusion-point>span { width:36px;height:36px;font-size:.8rem; }
  .tasawwuf-narrative { padding:1rem 1.2rem; }
}