/* The Elementor document owns the space between homepage sections. */
body.home #forbottom > .elementor-2 {
  --sanri-section-gap: 44px;
  --sanri-content-gap: 24px;
  --sanri-panel-padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: var(--sanri-section-gap);
  padding-bottom: var(--sanri-section-gap);
}

/* Keep the theme's horizontal gutters. Each row contains one content widget. */
body.home .elementor-2 > .elementor-top-section,
body.home .elementor-2 > .elementor-top-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
  margin-block: 0;
  padding-block: 0;
}

body.home .elementor-2 :is(#sanri-collections, #sanri-harvest, #sanri-seo-info, #sanri-cards-info, #sanri-greenhouse) {
  margin-block: 0;
  padding-block: 0;
}

body.home .elementor-2 :is(.sanri-hero-banner, #sanri-bouquets, .sanri-home-reasons) {
  margin-block: 0;
  padding: var(--sanri-panel-padding);
}

body.home .elementor-2 :is(.sanri-scene-heading, .sanri-harvest-heading, .sanri-greenhouse-heading) {
  margin-block: 0 var(--sanri-content-gap);
}

body.home .elementor-2 :is(.sanri-scene-heading, .sanri-harvest-heading, .sanri-greenhouse-heading) > p {
  margin-block: 0;
}

body.home .elementor-2 :is(.sanri-scene-heading, .sanri-harvest-heading, .sanri-greenhouse-heading, .sanri-bouquets-content, .sanri-cards-info-body) h2 {
  margin-block: 0 10px;
}

/* These headings lead directly to a grid, with no intervening subtitle. */
body.home .elementor-2 :is(#sanri-seo-info, .sanri-home-reasons) > h2 {
  margin-block: 0 var(--sanri-content-gap);
}

body.home .elementor-2 .sanri-home-reasons > .shr-grid {
  margin-top: 0;
}

body.home .elementor-2 #sanri-harvest .sanri-harvest-track {
  padding-top: 0;
}

@media (max-width: 768px) {
  body.home #forbottom > .elementor-2 {
    --sanri-section-gap: 28px;
    --sanri-content-gap: 18px;
    --sanri-panel-padding: 24px 18px;
  }
}
