.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.25rem;
  margin-top: 2rem;
}

.cards__card {
  border: 1px solid #20344C;
  border-top: 3px solid #243953;
  background-color: rgba(26, 37, 63, .3);
  border-radius: .875rem;
  padding: 2rem 1.5rem 0;
  position: relative;
  transition: .15s;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  grid-column: span 6;

  &:hover {
    transform: scale(1.02);
    background-color: rgba(26, 37, 63, .5);
  }

  .codeblock {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 1.75rem;
  }

  .codeblock__wrapper {
    border: 1px solid #20344C;
    border-bottom: 0;
    border-radius: .75rem .75rem 0 0;
  }

  &--3-6 {
    @media (min-width: 768px) {
      grid-column: span 3;
    }
  }

  &--4-6 {
    @media (min-width: 768px) {
      grid-column: span 3;
    }
    @media (min-width: 992px) {
      grid-column: span 4;
    }
  }

  &--2-6 {
    @media (min-width: 768px) {
      grid-column: span 3;
    }
    @media (min-width: 992px) {
      grid-column: span 2;
    }
  }
}

.cards__card-title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.cards__card-description {
  color: #b5bedd;
  flex-grow: 1;
  max-width: 47rem;

  a {
    color: inherit !important;
  }
}