@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&display=swap');

.content-page { direction: rtl; font-family: Cairo, Tahoma, sans-serif; background: #fff; color: #25344d; }
.content-page .page-banner { min-height: 250px; display: grid; align-items: center; }
.content-page .page-banner-entry h1 { font-family: Cairo, Tahoma, sans-serif; font-weight: 800; }
.content-heading { margin-bottom: 30px; }
.content-heading h2 { color: #304873; font-weight: 800; margin-bottom: 8px; }
.content-heading p { color: #748196; margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-card { overflow: hidden; height: 100%; background: #fff; border: 1px solid #e7ebf1; box-shadow: 0 10px 28px rgba(48,72,115,.08); border-radius: 7px; }
.news-card img { width: 100%; height: 205px; display: block; object-fit: cover; }
.news-card-body { padding: 22px; }
.news-date { color: #c19a52; font-size: 13px; font-weight: 700; }
.news-card h3 { color: #304873; font-size: 19px; line-height: 1.6; margin: 8px 0; }
.news-card p { color: #748196; line-height: 1.9; margin: 0 0 18px; }
.news-link { color: #304873; font-weight: 800; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-card { background: #fff; border: 1px solid #e7ebf1; box-shadow: 0 10px 28px rgba(48,72,115,.08); border-radius: 7px; overflow: hidden; }
.course-card img { width: 100%; height: 220px; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.course-card-body { padding: 20px; }
.course-card h3 { color: #304873; font-size: 18px; line-height: 1.7; margin: 0 0 8px; }
.course-card p { color: #748196; line-height: 1.8; min-height: 52px; }
.content-cta { display: inline-flex; padding: 10px 18px; border-radius: 5px; background: #304873; color: #fff; font-weight: 700; }
.article { max-width: 850px; margin: 0 auto; color: #52617a; line-height: 2; font-size: 17px; }
.article img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 7px; margin-bottom: 24px; }
.activity-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.activity-gallery img { width: 100%; height: 300px; max-height: none; object-fit: cover; margin: 0; }
.activity-body { color: #52617a; font-size: 18px; line-height: 2.05; margin: 18px 0 28px; white-space: normal; }
.activity-thumbs { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .news-grid, .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .news-grid, .course-grid { grid-template-columns: 1fr; } .news-card img { height: 190px; } .activity-gallery { grid-template-columns: 1fr; } .activity-gallery img { height: 230px; } .activity-body { font-size: 16px; line-height: 1.95; } }

.cours-bx .action-box { height: 220px; overflow: hidden; }
.cours-bx .action-box img { width: 100%; height: 220px; object-fit: cover; display: block; }
