.nb-block-divider {
  position: relative;
  /* Pull the divider up over the block above — the SVG area above the wave
     path is transparent, so the block's own background shows through */
  margin-top: -80px;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  /* z-index needed so the divider sits above the block's stacking context */
  z-index: 1;
}

.nb-block-divider svg {
  display: block;
  width: 100%;
  height: 80px;
  fill: var(--divider-fill, #ffffff);
}

.nb-block-divider--flip svg {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .nb-block-divider {
    margin-top: -50px;
  }

  .nb-block-divider svg {
    height: 50px;
  }
}
