/* OKU home card spacing — 2026-10-24
   All changes scoped to #screen-home; no colors, art, dimensions of cards or routes altered.
   Grid-gap=block-gap at each breakpoint. */
#screen-home .home-main{
  --oku-home-gap:28px;
  display:flex!important;
  flex-direction:column!important;
  gap:var(--oku-home-gap)!important;
  row-gap:var(--oku-home-gap)!important;
  align-items:stretch!important;
}
/* Previous feature styles gave separate 12/16/18/34px margins and conflicting widths.
   The parent gap is now the ONLY source of vertical spacing. */
#screen-home .home-main > :is(section,div,article):not([hidden]):not(.home-only-basmala){
  margin-top:0!important;
  margin-bottom:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
#screen-home .home-main > .home-layout{
  display:grid;
  gap:var(--oku-home-gap)!important;
  row-gap:var(--oku-home-gap)!important;
  column-gap:var(--oku-home-gap)!important;
}
/* The original group layouts, columns and breakpoints remain; only gaps change. */
#screen-home .home-main .home-action-grid,
#screen-home .home-main .home-feature-grid,
#screen-home .home-main .home-listen-grid,
#screen-home .home-main .oku-six-grid,
#screen-home .home-main .home-album-grid,
#screen-home .home-main .home-electro-grid,
#screen-home .home-main .oku-caliphs-grid,
#screen-home .home-main .hc-grid,
#screen-home .home-main .oku-lab-grid{
  gap:var(--oku-home-gap)!important;
  row-gap:var(--oku-home-gap)!important;
  column-gap:var(--oku-home-gap)!important;
}
/* Dynamic headings and individual cards added by scripts must not introduce
   a second artificial block margin. */
#screen-home .home-main > .oku-section-heading,
#screen-home .home-main > .oku-six-permanent,
#screen-home .home-main > #okuLabSection,
#screen-home .home-main > #okuCaliphsHome,
#screen-home .home-main > #okuRumiHomeBanner,
#screen-home .home-main > #okuYunusHomeBanner,
#screen-home .home-main > #okuDailyHadith,
#screen-home .home-main > .oku-join-home-cta{
  margin-top:0!important;
  margin-bottom:0!important;
}
#screen-home .home-main > .home-layout > :is(.home-daily-card,.home-action-grid){min-width:0;max-width:100%;}
#screen-home .home-main .home-feature-grid > *,
#screen-home .home-main .home-listen-grid > *,
#screen-home .home-main .home-action-grid > *,
#screen-home .home-main .oku-six-grid > *{min-width:0;box-sizing:border-box;}
@media(max-width:900px){#screen-home .home-main{--oku-home-gap:18px;}}
@media(max-width:640px){#screen-home .home-main{--oku-home-gap:14px;}}
