@use "../../../styles/int.scss";

.container {
  position: relative;

  @include int.election-layer-zindex("content");

  &.hasBackground {
    padding-bottom: int.$spacing-12;

    &:before {
      content: "";
      width: 100%;
      top: -108px;
      left: 0;
      height: calc(100% + 108px + #{int.$spacing-8}); // Height + space from top + overlap bottom
      position: absolute;
      background-color: var(--bg, transparent);
      z-index: -1;
    }
  }
}
