@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;
}

.cell-icon {
  margin-top: 1.25rem;
  width: 100%;
  max-width: 150px;
}

.cell-icon__wrapper {
  width: 100%;
  max-height: 75px;
}

.cell-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.text-align-centre .cell-icon {
  margin-inline: auto;
}

.text-align-centre .cell-icon img {
  object-position: center center;
}

.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-icon {
    max-width: 175px;
  }
  .cell-icon__wrapper {
    max-height: 75px;
  }
  .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%;
  }
  .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);
  }
  .grid__template--halves,
  .grid__template--thirds,
  .grid__template--two-thirds-one-third,
  .grid__template--one-third-two-thirds {
    gap: var(--grid-gap-large);
  }
  .grid__template--halves .cell--has-text.text-align-centre {
    padding-inline-end: calc((var(--cards-122-column-gap) - var(--grid-gap-large)) / 2);
  }
  .grid__template--halves .cell--has-text.text-align-centre.cell-2 {
    padding-inline-end: 0;
    padding-inline-start: calc((var(--cards-122-column-gap) - var(--grid-gap-large)) / 2);
  }
  .grid__template--halves .cell--has-text.text-align-centre .cell-text {
    max-width: 465px;
    margin-inline: auto;
  }
}
@media (min-width: 60rem) {
  .cell-icon {
    margin-top: 2rem;
    max-width: 200px;
  }
}

/*# sourceMappingURL=/assets/application/content-modules/grid-cells-6007a61a.css.map */
