.ui.cards > .ui.card {
  width: calc(33.3% - 25px);
  margin-right: 25px;
  margin-bottom: 24px;
  margin-top: 0px;
}

.ui.cards > .ui.card:nth-child(3n) {
  margin-right: 0px;
}

.ui.cards > .ui.card,
.ui.card {
  box-shadow: var(--shadow-1);
  border: var(--outline);
  border-radius: 8px;
  background-color: var(--card);
}

.ui.cards > .ui.card.link,
.ui.card.link {
  transform: translateY(0px);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.ui.cards a.card:hover,
.ui.link.card:hover,
.ui.link.cards .card:hover,
a.ui.card:hover,
.ui.cards > .ui.card.link:hover,
.ui.card.link:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-4px);
  cursor: pointer;
  border: var(--outline) !important;
}

.ui.card > .content,
.ui.cards > .card > .content {
  padding: 16px 20px;
  display: flex;
  flex-flow: column nowrap;
}

.ui.card > .content > .header:not(.ui),
.ui.cards > .card > .content > .header:not(.ui) {
  color: var(--text);
  font-size: 17px;
  line-height: 26px;
  letter-spacing: -0.2px;
  font-family: var(--font-family);
  font-weight: 500;
  font-style: normal;
  font-stretch: normal;
  margin-bottom: 20px;
  flex: 1 0 auto;
}

.ui.card .meta,
.ui.cards > .card .meta {
  font-size: 15px;
  line-height: 24px;
  font-weight: normal;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: normal;
  color: var(--secondary-text);
  font-family: var(--font-family);
}

.ui.cards > .ui.card.link:hover .meta,
.ui.card.link:hover .meta {
  color: var(--primary);
}

@media (max-width: 768px) {
  .ui.cards > .ui.card {
    width: 100%;
    margin-right: 10px;
  }

  .ui.cards > .ui.card:nth-child(3n) {
    margin-right: 10px;
  }
}
