/* أنماط إضافية للموقع (تعمل مع Tailwind) */

/* محتوى المقالات والصفحات القانونية */
.prose-eh { color: #334155; line-height: 2; font-size: 15px; }
@media (min-width: 640px) { .prose-eh { font-size: 16px; } }
.prose-eh > * + * { margin-top: 1.25rem; }
.prose-eh h2 { font-size: 1.4rem; font-weight: 800; color: #0f172a; padding-top: 1rem; line-height: 1.5; }
.prose-eh h3 { font-size: 1.15rem; font-weight: 800; color: #0f172a; padding-top: .5rem; }
.prose-eh h4 { font-weight: 700; color: #0f172a; }
.prose-eh a { color: #047857; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.prose-eh ul { list-style: disc; padding-inline-start: 1.5rem; }
.prose-eh ol { list-style: decimal; padding-inline-start: 1.5rem; }
.prose-eh li + li { margin-top: .5rem; }
.prose-eh blockquote { border-inline-start: 4px solid #10b981; background: rgba(236, 253, 245, .7); border-radius: .75rem; padding: 1rem; }
.prose-eh img { border-radius: 1rem; border: 1px solid #e2e8f0; max-width: 100%; height: auto; }
.prose-eh table { width: 100%; font-size: .875rem; border: 1px solid #e2e8f0; border-collapse: separate; border-spacing: 0; border-radius: .75rem; overflow: hidden; }
.prose-eh th { background: #f8fafc; color: #0f172a; font-weight: 700; text-align: start; padding: .75rem; border-bottom: 1px solid #e2e8f0; }
.prose-eh td { padding: .75rem; border-bottom: 1px solid #f1f5f9; vertical-align: top; }
.prose-eh strong { color: #0f172a; }
.prose-eh code { background: #f1f5f9; border-radius: .25rem; padding: .1rem .35rem; font-size: .875em; }

/* ترقيم الصفحات */
nav[role="navigation"] svg { width: 1.25rem; height: 1.25rem; }

/* تمرير ناعم مع مراعاة الهيدر الثابت */
:target { scroll-margin-top: 6rem; }
/* صور المقالات: لا تأخذ حيزاً مبالغاً فيه */
.prose-eh img { display: block; max-width: 100%; height: auto; max-height: 380px; object-fit: cover; border-radius: 1rem; margin-inline: auto; }
.prose-eh figure { margin-inline: 0; } .prose-eh figcaption { font-size: 12px; color: #64748b; text-align: center; margin-top: .4rem; }
