/* =====================================================================
   صفحة «انضم إلينا» (join-us.html, 15 Nov) — التحالف الوطني | NACDW v2
   - The hero uses the homepage hero classes (site.css) + the «مجالات عملنا» hero tweaks (areas.css #mj .mj-hero),
     exactly like platforms.html, so overlay, gradient, type, height under the header and breakpoints are the same.
   - The two rows are the areas.html «انضم إلينا» rows (areas.css .mj-join / .mj-jrow), unchanged.
   - Only page-specific rules here.
   ===================================================================== */

/* the people stand on the left of the photo: keep them in frame as the screen narrows (the copy sits on the right) */
.jn-hero .hero-bg{ object-position:8% 40%; }
/* same hero height as «مجالات عملنا» and «منصات التحالف»: areas has a one-row numbers block under the lead; this page has
   none, so the same empty block (as on platforms.html) keeps all three heroes equally tall */
.jn-hero .hero-copy::after{ content:""; display:block; height:3.1em; font-size:17px; }

/* section rhythm: the first section under the hero, 96 / 64 like «مجالات عملنا» and «منصات التحالف», same space above the footer */
#mj .jn-rows{ padding:96px 0 96px; }
@media (max-width:980px){ #mj .jn-rows{ padding:64px 0 64px; } }

/* the two cards side by side in the page's rhythm (designer, 15 Nov: same size): while photo and text sit side by side
   (above 980px), both cards take the taller one's height, so the photos are the same size too. Text stays centred in
   its column as on areas.html. Stacked layouts (980px and below) keep their natural heights. */
@media (min-width:981px){
  #mj .jn-rows .mj-jrows{ display:grid; grid-auto-rows:1fr; }
}

/* 21 Nov (owner): shorter hero, same as «البرامج والمبادرات» (programs.css): less space above and below the copy and
   no reserved empty row under the lead. Desktop only; phones unchanged. */
@media (min-width:981px){
  .jn-hero .hero-grid{ padding-top:150px; padding-bottom:56px; }
  .jn-hero .hero-copy::after{ display:none; }
}
