/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */
/**
 * Layout overrides for node add/edit form.
 */
.layout-region {
  box-sizing: border-box;
}
.layout-region--node-footer .layout-region__content {
  margin-top: var(--space-l);
}
/**
 * Move to two column layout at wider widths.
 */
@media (min-width: 61rem) {
  .layout-node-form {
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: minmax(0, 3fr) minmax(22.5rem, 1fr);
    gap: var(--space-l);
  }

  .layout-region--node-main,
  .layout-region--node-footer {
    grid-column: 1;
    margin-inline: auto;
    width: var(--layout-region-edit-width);
  }

  /* When the layout has vertical tabs */
  .layout-region--node-main:has(.vertical-tabs),
  .layout-region--node-main:has(.vertical-tabs) ~ .layout-region--node-footer {
    width: var(--layout-region-edit-extended-width);
  }

  /* Push sidebar down to horizontal align with form section. */
  .layout-region--node-secondary {
    grid-row: span 2;
    margin-block-start: var(--space-l);
  }
}
