/* s-gourmet homepage spacing — 2026-10-19
   Goal: Muji air + IKEA clarity (ISO / clean / hygienic). Not Japanese motifs.
   Additive only; scoped to #wrapwrap.homepage
*/

/* --- Edge gutters from viewport --- */
#wrapwrap.homepage .container {
  padding-left: 1.5rem;   /* was ~0.75–1rem Bootstrap */
  padding-right: 1.5rem;
}
@media (min-width: 992px) {
  #wrapwrap.homepage .container {
    padding-left: 2.5rem; /* 40px */
    padding-right: 2.5rem;
  }
}

/* Soft max-width breathing on main content columns */
#wrapwrap.homepage #wrap > section > .container {
  max-width: 1140px;
}

/* --- Hero: left text + right video (s_text_image) ---
   Before: pt16 (16px) / pb24 (24px). After: ~48 / 56 */
#wrapwrap.homepage section.s_text_image {
  padding-top: 3rem !important;    /* 48px */
  padding-bottom: 3.5rem !important; /* 56px */
}

/* Hero left column: inset from edges + space before video */
#wrapwrap.homepage section.s_text_image .o_grid_item:not(.o_grid_item_image) {
  padding: 0.75rem 1.25rem 0.75rem 0.25rem; /* top/right/bottom/left */
}
@media (min-width: 992px) {
  #wrapwrap.homepage section.s_text_image .o_grid_item:not(.o_grid_item_image) {
    padding: 1rem 2rem 1rem 0.5rem;
  }
}

/* H1 → bullets: hierarchy + whitespace */
#wrapwrap.homepage section.s_text_image h1 {
  margin-top: 0;
  margin-bottom: 1.25rem; /* 20px under H1 */
  letter-spacing: 0.02em;
  line-height: 1.35;
  font-weight: 600;
}

#wrapwrap.homepage section.s_text_image .o_grid_item:not(.o_grid_item_image) > p {
  margin-bottom: 1rem;   /* was tighter default */
  line-height: 1.75;     /* breathable body under H1 */
}

#wrapwrap.homepage section.s_text_image .o_grid_item:not(.o_grid_item_image) > p .h5-fs {
  line-height: 1.7;
  font-weight: 500;
}

/* Divider + CTA spacing */
#wrapwrap.homepage section.s_text_image .s_hr {
  margin-top: 0.5rem;
  padding-bottom: 1.25rem !important;
}

/* --- Service cards grid (3-col image+caption blocks)
   Before: gap 20px 60px. After: more vertical air, slightly tighter horizontal for balance */
#wrapwrap.homepage #wrap > section.s_banner .row.o_grid_mode {
  gap: 2rem 2.5rem !important; /* 32px / 40px */
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
@media (min-width: 992px) {
  #wrapwrap.homepage #wrap > section.s_banner .row.o_grid_mode {
    gap: 2.5rem 3rem !important; /* 40px / 48px */
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Caption cards under service images */
#wrapwrap.homepage #wrap > section.s_banner .o_grid_item:not(.o_grid_item_image) {
  padding-top: 0.75rem !important;
  padding-bottom: 1.25rem !important;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

#wrapwrap.homepage #wrap > section.s_banner .o_grid_item:not(.o_grid_item_image) p {
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

/* --- Occasion chips + credentials: more section vertical air
   Before: occasion pt16/pb32; credentials pt32/pb16 */
#wrapwrap.homepage section.s_text_block.pt16.pb32 {
  padding-top: 2.5rem !important;  /* 40px */
  padding-bottom: 3rem !important; /* 48px */
}
#wrapwrap.homepage section.s_text_block.pt32.pb16 {
  padding-top: 3rem !important;    /* 48px */
  padding-bottom: 2.5rem !important;
}

#wrapwrap.homepage section.s_text_block h2,
#wrapwrap.homepage section.s_text_block .h4-fs {
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

/* Clients strip: a little top/bottom breathing */
#wrapwrap.homepage section.s_banner.pb32.pt0 {
  padding-top: 1.5rem !important;
  padding-bottom: 2.5rem !important;
}

/* Kitchen / values block */
#wrapwrap.homepage section.s_banner.pt0.pb64 {
  padding-top: 1rem !important;
  padding-bottom: 4.5rem !important; /* was 64px; slight bump */
}
