// Copyright (C) 2021 The Trustees of Indiana University
// SPDX-License-Identifier: BSD-3-Clause

@use '../core' as *;

.rvt-flow > * {
  // This acts as a reset of sorts to create an even starting point in
  // terms of vertical margin.
  margin-bottom: 0;
  margin-top: 0;
}

// With every direct child of the flow utility zeroed out we can create
// consistent vertical space.

.rvt-flow > * + * {
  margin-top: 1rem; // Fallback for browsers that don't support var()
  margin-top: var(--flow-space, 1rem);
  margin-bottom: 0;
}
