/**
 * home.css — تنسيقات خاصة بالصفحة الرئيسية فقط
 */


/* ==========================================================================
   1. ظهور الأقسام تدريجياً تحت السلايدر
   المصدر السابق: feb14-home-reveal
   ========================================================================== */

.feb14-reveal { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .7s ease; }
.feb14-reveal.is-revealed { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
	.feb14-reveal { opacity: 1; translate: none; transition: none; }
}


/* ==========================================================================
   2. حركة بطاقات "المزيد من المواد"
   المصدر السابق: feb14-more-anim
   ========================================================================== */

@keyframes feb14-card-in {
	from { opacity: 0; translate: 0 34px; scale: .96; }
	to   { opacity: 1; translate: 0 0; scale: 1; }
}
#article-grid .feb14-card-in {
	animation: feb14-card-in .65s cubic-bezier(.22, .9, .3, 1) both;
	animation-delay: var(--d, 0ms);
}
#article-grid.feb14-growing { transition: height .7s cubic-bezier(.22, .9, .3, 1); overflow: hidden; }
/* بدون «تثبيت التمرير» في المتصفح: الشاشة تبقى مكانها، والزر ينزل لتحت والبطاقات تظهر فوقه */
html:has(#article-grid) { overflow-anchor: none; }
@media (prefers-reduced-motion: reduce) {
	#article-grid .feb14-card-in { animation: none; }
	#article-grid.feb14-growing { transition: none; }
}


/* ==========================================================================
   3. محاذاة غلاف العدد مع السلايدر
   المصدر السابق: issue-align-css
   ========================================================================== */

@media (min-width:701px){
body.home .hero > .issue{padding-top:var(--al-pad,18px)!important}
body.home .hero > .issue .issue__cover img{height:var(--al-cover-h,auto)!important;width:100%!important;object-fit:cover;object-position:50% 0}
body.home .hero > .issue .issue__label{margin-top:var(--al-info,14px)!important}
body.home .hero > .issue .issue__stamp{margin-top:calc(var(--al-info,10px) + 30px)!important;align-self:start!important}
}
