/* Homepage vertical rhythm — page 842 only. */
.page-id-842 {
  --enic-home-section-y: 64px;
  --enic-home-band-y: 32px;
}

/* Remove Elementor/container padding that previously stacked with the
   section padding and produced different gaps from one block to the next. */
.page-id-842 .elementor-element-1f70d17,
.page-id-842 .elementor-element-eea0701,
.page-id-842 .en-home-shop,
.page-id-842 .en-home-commit {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* One shared spacing value for the primary homepage sections. */
.page-id-842 .en-home-shop > .en-sec,
.page-id-842 .en-b2b-buying,
.page-id-842 .en-home-commit > .en-sec,
.page-id-842 .elementor-element-eea0701 > .e-con-inner,
.page-id-842 .en-assist {
  padding-top: var(--enic-home-section-y) !important;
  padding-bottom: var(--enic-home-section-y) !important;
}

/* The orange sourcing band is an internal callout, so it stays tighter than
   a full content section while retaining equal top and bottom padding. */
.page-id-842 .en-band {
  margin-top: 0 !important;
  padding-top: var(--enic-home-band-y) !important;
  padding-bottom: var(--enic-home-band-y) !important;
}

@media (max-width: 767px) {
  .page-id-842 {
    --enic-home-section-y: 48px;
    --enic-home-band-y: 28px;
  }
}

/* Newsroom card rhythm — keep excerpts and Read more links aligned. */
@media (min-width: 768px) {
  .page-id-842 #uc_post_grid_elementor_a9803ef .uc_post_text {
    display: flex !important;
    flex-direction: column;
    min-height: 102px;
  }

  .page-id-842 #uc_post_grid_elementor_a9803ef .uc_post_text::after {
    margin-top: auto !important;
  }
}
