/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

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

.layout--threecol-section {
  display: grid;
  gap: var(--grid-gap);
  grid-template-columns: var(--layout-threecol-grid);

  & > .layout__region--first {
    grid-column: var(--layout-threecol-grid__first);
  }

  & > .layout__region--second {
    grid-column: var(--layout-threecol-grid__second);
  }

  & > .layout__region--third {
    grid-column: var(--layout-threecol-grid__third);
  }
}

@media (min-width: 62.5rem) {
  .layout--threecol-section--25-50-25 {
    --layout-threecol-grid: repeat(4, minmax(0, 1fr));
    --layout-threecol-grid__second: span 2;
  }

  .layout--threecol-section--25-25-50 {
    --layout-threecol-grid: repeat(4, minmax(0, 1fr));
    --layout-threecol-grid__third: span 2;
  }

  .layout--threecol-section--50-25-25 {
    --layout-threecol-grid: repeat(4, minmax(0, 1fr));
    --layout-threecol-grid__first: span 2;
  }

  .layout--threecol-section--33-34-33 {
    --layout-threecol-grid: repeat(3, minmax(0, 1fr));
  }
}
