/*
 * @file
 * Provides the layout styles for layout_twocol.
 */
:root {
  --flex-space: 1em;
}

.layout--twocol {
  display: flex;
  flex-wrap: wrap;
}

.layout--twocol > .layout__region {
  flex: 0 1 100%;
  margin-bottom: 30px;
}

@media screen and (min-width: 1000px) {
  .layout--twocol > .layout__region--first,
  .layout--twocol > .layout__region--second {
    flex: 0 1 0;
    flex-basis: calc(50% - var(--flex-space));
    margin-bottom: 0;
  }
}
