/* =========================================================
   رأس السكشن: العنوان + "عرض الكل" + الأسهم
   <div class="section-head d-flex justify-content-between align-items-center mb-4">
   بيتحمّل في Layouts/Site.blade.php على كل الصفحات
   ========================================================= */
.section-head {
  gap: 12px;
}

.section-head > h4,
.section-head > .text-block {
  min-width: 0;
  margin-bottom: 0;
}

.section-head > p:empty {
  display: none;
}

@media (max-width: 575px) {
  .section-head {
    flex-wrap: wrap;
  }

  /* العنوان ياخد سطر لوحده والأزرار تنزل تحته بدل ما يتكسر على ٤ سطور */
  .section-head > h4 {
    flex: 1 1 100%;
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .section-head > .text-block {
    flex: 1 1 0;
  }

  .section-head > .text-block h4 {
    font-size: 1.15rem;
  }
}
