/* News & Insights */

.news-hero {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 20px;
	color: #fff;
	overflow: hidden;
}

.news-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35)), url('../images/news-hero.jpg') center/cover no-repeat;
	z-index: 0;
}

.news-hero-content { position: relative; z-index: 1; text-align: center; }
.news-hero h1 { font-family: 'Inter','Cairo',sans-serif; font-weight: 800; font-size: 42px; margin-bottom: 10px; }
.news-hero p { font-size: 18px; max-width: 900px; margin: 0 auto; line-height: 1.7; }

.news-grid { padding: 60px 16px; background: #f7f8fa; }
.news-grid .section-title { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }

.card { background: #fff; border: 1px solid #edf0f5; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.08); }
.card-thumb { display: block; aspect-ratio: 16/9; background: #e5e7eb; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.card-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #0ea5e9; text-decoration: none; margin-top: 20px; margin-bottom: 6px; }
.card-title { font-size: 18px; margin: 6px 0 8px; }
.card-title a { text-decoration: none; color: #111827; }
.card-excerpt { color: #374151; font-size: 14px; line-height: 1.6; margin-bottom: 10px; }
.card-meta { font-size: 13px; color: #6b7280; margin-top: auto; }
.card-footer { padding: 0 16px 16px; }
.btn-learn { display: inline-block; padding: 10px 14px; border-radius: 10px; background: #0ea5e9; color: #fff; text-decoration: none; font-weight: 700; }
.btn-learn:hover { background: #0284c7; }



/* Responsive */
@media (max-width: 992px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.news-hero { min-height: 70vh; padding: 60px 16px; }
	.news-hero h1 { font-size: 32px; }
	.cards { grid-template-columns: 1fr; }
}

/* Gallery */
.news-gallery { padding: 60px 16px; background: #ffffff; }
.news-gallery .section-title { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.news-gallery .title-line { width: 80px; height: 4px; background: #0ea5e9; margin: 0 auto 22px; border-radius: 999px; }
.news-swiper { max-width: 1200px; margin: 0 auto; }
.news-swiper .swiper-button-prev, .news-swiper .swiper-button-next { color: #0ea5e9; }
.news-swiper .swiper-pagination-bullet-active { background: #0ea5e9; }

