/*
 * @file
 * Provides the layout styles for four-column layout section.
 */

.layout--fourcol-section {
  display: flex;
  flex-wrap: wrap;
}

.layout--fourcol-section > .layout__region {
  flex: 0 0 100%;
}

@media screen and (min-width: 45rem) {
  .layout--fourcol-section > .layout__region {
    flex: 0 0 calc(25% - 1.5rem);
  }


  .layout--fourcol-section--25-25-25-25 > .layout__region--first,
  .layout--fourcol-section--25-25-25-25 > .layout__region--second,
  .layout--fourcol-section--25-25-25-25 > .layout__region--third {
    margin-right: 1rem;
  }

  .layout--fourcol-section--25-25-25-25 > .layout__region--second,
  .layout--fourcol-section--25-25-25-25 > .layout__region--third,
  .layout--fourcol-section--25-25-25-25 > .layout__region--fourth {
    margin-left: 1rem;
  }

}
