/* =========================================================
   إضافات نسخة Laravel — تُحمَّل بعد site.css
   (site.css منسوخ كما هو من ui/ ويمكن إعادة مزامنته)
   ========================================================= */

/* صفحات التفاصيل (مشروع / خبر) */
.detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.detail__side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail__side { position: static; } }
.prose { font-size: var(--fs-md); line-height: 2; color: var(--ink-2); max-width: 72ch; }
.prose p { margin-bottom: 1.2em; }
.post-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--umber-200); font-size: var(--fs-sm); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { width: 16px; height: 16px; }

/* أخطاء الخادم في النماذج */
.form-error { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); background: var(--danger-bg, #FBE9E7); color: var(--danger); font-size: var(--fs-sm); margin-bottom: 16px; }
.form-error .icon { width: 18px; height: 18px; margin-top: 3px; }
.newsletter-msg { font-size: var(--fs-xs); margin-top: 8px; color: var(--umber-200); min-height: 1em; }
.newsletter-msg.is-error { color: var(--terracotta-300); }
/* حقل اصطياد البرامج: مخفي بالقص لا بالإزاحة — الإزاحة لليسار (-9999px) تسبب تمريرًا أفقيًا ضخمًا في الصفحات RTL */
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }

/* وثيقة غير متاحة بعد */
.doc[aria-disabled="true"] { opacity: .6; pointer-events: none; }

/* المحادثة */
.msg a { text-decoration: underline; }
.msg__src a { text-decoration: none; }
