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

/**
 * @file
 * Grid system definition for the content narrow layout.
 */

/*
 * Media query breakpoints.
 * Processed by postcss/postcss-custom-media.
 */

/* Navigation related breakpoints */

/* Grid related breakpoints */

/* Grid shifts from 6 to 14 columns. */

/* Width of the entire grid maxes out. */

.layout--content-narrow,
.layout--pass--content-narrow > * {
  grid-column: 1 / 7;
  width: 100%
}

@media (min-width: 43.75rem) {

.layout--content-narrow,
.layout--pass--content-narrow > * {
    grid-column: 2 / 14
}
  }

@media (min-width: 62.5rem) {

.layout--content-narrow,
.layout--pass--content-narrow > * {
    grid-column: 3 / 11
}
  }

/*
  If .layout--content-narrow is nested within any of the following, allocate the appropriate
  amount of columns within its parent .grid-full.
    - .layout--content-narrow class.
    - Element that's inheriting the layout--content-narrow styles from its parent region.
    - .layout--content-medium class.
    - Element that's inheriting the layout--content-medium styles from its parent region.
*/

@media (min-width: 43.75rem) {

.layout--content-narrow .layout--content-narrow,
  .layout--content-narrow .layout--pass--content-narrow > *,
  .layout--pass--content-narrow > * .layout--content-narrow,
  .layout--pass--content-narrow > * .layout--pass--content-narrow > *,
  .layout--content-medium .layout--content-narrow,
  .layout--content-medium .layout--pass--content-narrow > *,
  .layout--pass--content-medium > * .layout--content-narrow,
  .layout--pass--content-medium > * .layout--pass--content-narrow > * {
      grid-column: 1 / 13
  }
    }

@media (min-width: 62.5rem) {

.layout--content-narrow .layout--content-narrow,
  .layout--content-narrow .layout--pass--content-narrow > *,
  .layout--pass--content-narrow > * .layout--content-narrow,
  .layout--pass--content-narrow > * .layout--pass--content-narrow > *,
  .layout--content-medium .layout--content-narrow,
  .layout--content-medium .layout--pass--content-narrow > *,
  .layout--pass--content-medium > * .layout--content-narrow,
  .layout--pass--content-medium > * .layout--pass--content-narrow > * {
      grid-column: 1 / 9
  }
    }

/*
  Special grid-breaking treatment for text-content elements that
  reside in a content-narrow layout.
*/

@media (min-width: 43.75rem) {

[dir="ltr"] .layout--content-narrow.text-content blockquote:before,[dir="ltr"]  .layout--content-narrow .text-content blockquote:before,[dir="ltr"]  .layout--pass--content-narrow > *.text-content blockquote:before,[dir="ltr"]  .layout--pass--content-narrow > * .text-content blockquote:before {
          left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
  }

[dir="rtl"] .layout--content-narrow.text-content blockquote:before,[dir="rtl"]  .layout--content-narrow .text-content blockquote:before,[dir="rtl"]  .layout--pass--content-narrow > *.text-content blockquote:before,[dir="rtl"]  .layout--pass--content-narrow > * .text-content blockquote:before {
          right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
  }
        }

@media (min-width: 43.75rem) {

[dir="ltr"] .layout--content-narrow.text-content blockquote:after,[dir="ltr"]  .layout--content-narrow .text-content blockquote:after,[dir="ltr"]  .layout--pass--content-narrow > *.text-content blockquote:after,[dir="ltr"]  .layout--pass--content-narrow > * .text-content blockquote:after {
          left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
  }

[dir="rtl"] .layout--content-narrow.text-content blockquote:after,[dir="rtl"]  .layout--content-narrow .text-content blockquote:after,[dir="rtl"]  .layout--pass--content-narrow > *.text-content blockquote:after,[dir="rtl"]  .layout--pass--content-narrow > * .text-content blockquote:after {
          right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
  }

[dir="ltr"] .layout--content-narrow.text-content blockquote:after,[dir="ltr"]  .layout--content-narrow .text-content blockquote:after,[dir="ltr"]  .layout--pass--content-narrow > *.text-content blockquote:after,[dir="ltr"]  .layout--pass--content-narrow > * .text-content blockquote:after {
          margin-left: 2px
  }

[dir="rtl"] .layout--content-narrow.text-content blockquote:after,[dir="rtl"]  .layout--content-narrow .text-content blockquote:after,[dir="rtl"]  .layout--pass--content-narrow > *.text-content blockquote:after,[dir="rtl"]  .layout--pass--content-narrow > * .text-content blockquote:after {
          margin-right: 2px
  }

.layout--content-narrow.text-content blockquote:after, .layout--content-narrow .text-content blockquote:after, .layout--pass--content-narrow > *.text-content blockquote:after, .layout--pass--content-narrow > * .text-content blockquote:after {
          width: var(--sp);
          height: calc(100% - 2.8125rem)
      }
        }

@media (min-width: 43.75rem) {

[dir="ltr"] .layout--content-narrow.text-content blockquote,[dir="ltr"]  .layout--content-narrow .text-content blockquote,[dir="ltr"]  .layout--pass--content-narrow > *.text-content blockquote,[dir="ltr"]  .layout--pass--content-narrow > * .text-content blockquote {
        padding-left: 0
  }

[dir="rtl"] .layout--content-narrow.text-content blockquote,[dir="rtl"]  .layout--content-narrow .text-content blockquote,[dir="rtl"]  .layout--pass--content-narrow > *.text-content blockquote,[dir="rtl"]  .layout--pass--content-narrow > * .text-content blockquote {
        padding-right: 0
  }

.layout--content-narrow.text-content blockquote, .layout--content-narrow .text-content blockquote, .layout--pass--content-narrow > *.text-content blockquote, .layout--pass--content-narrow > * .text-content blockquote {
        width: calc(var(--grid-col-width)*10 + var(--grid-gap)*9);
        margin-top: var(--sp3);
        margin-bottom: var(--sp3)
    }
      }

@media (min-width: 43.75rem) {

.layout--content-narrow.text-content pre, .layout--content-narrow .text-content pre, .layout--pass--content-narrow > *.text-content pre, .layout--pass--content-narrow > * .text-content pre {
        width: calc(var(--grid-col-width)*10 + var(--grid-gap)*9);
        margin-top: var(--sp3);
        margin-bottom: var(--sp3)
    }
      }

@media (min-width: 62.5rem) {

[dir="ltr"] .layout--content-narrow.text-content pre,[dir="ltr"]  .layout--content-narrow .text-content pre,[dir="ltr"]  .layout--pass--content-narrow > *.text-content pre,[dir="ltr"]  .layout--pass--content-narrow > * .text-content pre {
        margin-left: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
  }

[dir="rtl"] .layout--content-narrow.text-content pre,[dir="rtl"]  .layout--content-narrow .text-content pre,[dir="rtl"]  .layout--pass--content-narrow > *.text-content pre,[dir="rtl"]  .layout--pass--content-narrow > * .text-content pre {
        margin-right: calc(var(--grid-col-width)*-1 + var(--grid-gap)*-1)
  }

.layout--content-narrow.text-content pre, .layout--content-narrow .text-content pre, .layout--pass--content-narrow > *.text-content pre, .layout--pass--content-narrow > * .text-content pre {
        width: calc(var(--grid-col-width)*12 + var(--grid-gap)*11)
    }
      }

/**
 * <pre> and <blockquote> elements should not break containers and overflow
 * into sidebar region when present.
 */

.sidebar-grid .layout--content-narrow.text-content blockquote,
      .sidebar-grid .layout--content-narrow.text-content pre,
      .sidebar-grid .layout--content-narrow .text-content blockquote,
      .sidebar-grid .layout--content-narrow .text-content pre,
      .sidebar-grid .layout--pass--content-narrow > *.text-content blockquote,
      .sidebar-grid .layout--pass--content-narrow > *.text-content pre,
      .sidebar-grid .layout--pass--content-narrow > * .text-content blockquote,
      .sidebar-grid .layout--pass--content-narrow > * .text-content pre {
        width: auto;
      }
