@media (max-width: 47.9375rem) {
  .cell {
    margin-bottom: var(--grid-gap);
  }
  .grid__no-gap .cell {
    margin-bottom: 0;
  }
}
.cell:first-of-type .cell-text > *:first-child {
  margin-top: 0;
}

.cell:last-of-type .cell-text > *:last-child {
  margin-bottom: 0;
}

.cell--has-text > table {
  width: 100%;
  overflow-x: auto;
  display: block;
}

.cell--has-bg-style {
  padding: var(--cell-background-padding);
  border-radius: var(--cell-background-border-radius);
}

.cell--has-bg-style .cell-text > *:first-child {
  margin-top: 0;
}

.cell--has-bg-style .cell-text > *:first-child {
  margin-top: 0;
}

.cell--has-video video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.grid__template--halves .cell--has-video .cell__video {
  aspect-ratio: 3/2;
}

.grid__template--thirds .cell--has-video .cell__video {
  aspect-ratio: 8/9;
}

.grid__template--quarters .cell--has-video .cell__video,
.grid__template--two-thirds-one-third .cell--has-video.cell-1 .cell__video,
.grid__template--one-third-two-thirds .cell--has-video.cell-2 .cell__video {
  aspect-ratio: 16/9;
}

.grid__template--one-third-two-thirds .cell--has-video.cell-1 .cell__video,
.grid__template--two-thirds-one-third .cell--has-video.cell-2 .cell__video {
  aspect-ratio: 8/9;
}

@media (min-width: 48rem) {
  .cell .cell-text > *:first-child,
  .cell .cell-text > *:first-child > *:first-child {
    margin-top: 0;
  }
  .cell .cell-text > *:last-child,
  .cell .cell-text > *:last-child > *:last-child {
    margin-bottom: 0;
  }
  .cell.vertically-align-middle,
  .cell.vertically-align-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .cell.vertically-align-bottom {
    justify-content: flex-end;
  }
  .cell.vertically-align-middle figure,
  .cell.vertically-align-bottom figure {
    width: 100%;
  }
  .grid__template:not(.grid__template--quarters) > .cell--has-text:not(.cell--has-bg-style):not(:last-child) .cell-text {
    padding-right: var(--grid-cell-text-padding-right);
  }
  .content--full .grid__template:not(.grid__template--quarters) > .cell-1.cell--has-text:not(.cell--has-bg-style) .cell-text,
  .content--full .grid__template:not(.grid__template--quarters) > .cell-2.cell--has-text:not(.cell--has-bg-style) .cell-text {
    padding-left: var(--body-gutter);
  }
}

/*# sourceMappingURL=/assets/application/content-modules/grid-cells-8effbded.css.map */
