.cases-card {
  margin-top: 24px;
}

.cases-heading {
  align-items: end;
  gap: 24px;
}

.cases-all-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.cases-all-link:hover,
.case-item a:hover,
.cases-empty a:hover {
  text-decoration: underline;
}

.cases-description {
  max-width: 760px;
  margin: 8px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.cases-list {
  border-top: 1px solid #dbe2e8;
}

.case-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 17px 0;
  border-bottom: 1px solid #dbe2e8;
}

.case-item-main a {
  color: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.32;
  text-decoration: none;
}

.case-item-main p,
.case-item-meta,
.cases-source,
.cases-empty p {
  color: var(--muted);
}

.case-item-main p {
  margin: 6px 0 0;
  font-size: .91rem;
}

.case-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  min-width: 120px;
  font-size: .82rem;
  line-height: 1.3;
}

.case-item-meta span:first-child {
  color: var(--red);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cases-source {
  margin: 15px 0 0;
  font-size: .78rem;
  line-height: 1.45;
}

.cases-empty {
  padding: 19px 0 4px;
}

.cases-empty p {
  margin: 0 0 8px;
}

.cases-empty a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 680px) {
  .cases-heading {
    align-items: start;
  }

  .cases-all-link {
    white-space: normal;
  }

  .case-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-item-meta {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}
