/* legacy-fix.css — إصلاح عرض التدوينات القديمة: أزرار «المقال التالي/السابق» والتعليقات
   كانت بعرض ثابت (1350–1400px) فتسبب تمريرًا أفقيًا على اللابتوب والموبايل */
.article-navigation{width:auto !important;max-width:900px;margin:2rem auto !important;padding-inline:1rem;box-sizing:border-box}
.comments{width:auto !important;max-width:900px;margin:2rem auto !important;box-sizing:border-box}
.comments *{max-width:100%;box-sizing:border-box}
.nav-button,.nav-button button,.article-title{max-width:100%;box-sizing:border-box}
@media (max-width:700px){
  .article-navigation{flex-direction:column;gap:1rem !important;margin:1.5rem auto !important}
  .comments{margin:1.5rem 1rem !important;padding:1.25rem !important}
}
