/*
 * 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 two-column layout section.
 */

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

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

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

@media (min-width: 43.75rem) {
  .layout--twocol-section--50-50 {
    --layout-twocol-grid: repeat(2, minmax(0, 1fr));
  }

  .layout--twocol-section--33-67 {
    --layout-twocol-grid: repeat(3, minmax(0, 1fr));
    --layout-twocol-grid__second: span 2;
  }

  .layout--twocol-section--67-33 {
    --layout-twocol-grid: repeat(3, minmax(0, 1fr));
    --layout-twocol-grid__first: span 2;
  }

  .layout--twocol-section--25-75 {
    --layout-twocol-grid: repeat(4, minmax(0, 1fr));
    --layout-twocol-grid__second: span 3;
  }

  .layout--twocol-section--75-25 {
    --layout-twocol-grid: repeat(4, minmax(0, 1fr));
    --layout-twocol-grid__first: span 3;
  }
}
