.cell__title,
.cell__subtitle {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  flex: 100%;
  color: $c-navy;
  // color: $c-white;
  padding: $padding-sm;
  margin-bottom: 5px;
  font-weight: bold;
  font-family: $font-stack-secondary;

  a,
  button {
    color: $c-black;
  }

  button {
    &:hover,
    &:focus {
      background-color: $c-navy-up;
      color: $c-white;
    }
  }

  &.error,
  &.warning {
    background: #d68888;
    font-size: 16px;
    font-family: $font-stack-base;
    font-weight: normal;
    justify-content: center;
    display: block;
    text-align: center;

    &::before {
      content: '\f057';
      display: inline-block;
      font-family: "Font Awesome 5 Free";
      margin-right: 5px;
      font-weight: 900;
    }

    &.small-text {
      font-size: 13px;
    }
  }

  &.warning {
    background: #e6ad54;

    &::before {
      content: "\f071";
    }
  }
}

.resource {
  .cell__title {
    background: $c-navy;
    color: $c-white;

    a {
      color: $c-white;
    }
  }
}

.cell__subtitle {
  background: $c-navy-up;
  color: $c-white;
}

.cell--image {
  img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
  }
}