/* ==========================================================================
   TECHNOPEDIA ARABIA — enhancements.css
   build: v8 — استبدل بيه css/enhancements.css القديم بالكامل.
   بيتحمّل بعد style.css، فأي حاجة هنا لها الأولوية النهائية.
   دوره هنا: يضمن إن أي بقايا من التصميم القديم متأثرش على الجديد.
   ========================================================================== */

/* --- شبكة الأمان للهيرو: يمنع أي min-height:100vh قديم من توسيط المحتوى --- */
section.hero{
  min-height:auto !important;
  height:auto !important;
  display:block !important;
  align-items:normal !important;
  padding-top:26px;
}
@media (max-width:560px){
  section.hero{ padding-top:14px !important; }
}
section.hero > .container.hero-grid{
  display:grid !important;
  align-items:start !important;
  align-content:start !important;
  min-height:auto !important;
  height:auto !important;
}
.hero-visual{
  flex-direction:column !important;
  justify-content:flex-start !important;
}

/* --- شبكة أمان للفوتر: يضمن التخطيط الجديد مايتكسرش --- */
.site-footer{ display:block !important; }
.site-footer .footer-top{ align-items:start !important; }

/* --- لمسات إضافية بسيطة --- */
html{ scroll-padding-top: calc(var(--header-h) + 12px); } /* الروابط الداخلية ماتختفيش تحت الهيدر الثابت */
.btn:active{ transform: translateY(0) scale(.98); }       /* رد فعل خفيف عند الضغط */
a, button{ -webkit-tap-highlight-color: transparent; }    /* يشيل الوميض الأزرق على الموبايل */
