.tm-test-cards-with-ads > .tm-test-card {
  min-width: 0;
  min-height: 315px;
  box-sizing: border-box;
}

.tm-test-cards-with-ads > .tm-test-ad-card {
  padding: 8px;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}

.tm-test-cards-with-ads > .tm-test-ad-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(91, 91, 214, 0.08);
}

.tm-test-ad-label {
  display: block;
  color: #64748b;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

:root[data-theme="dark"] .tm-test-ad-label {
  color: #cbd5e1;
}

.tm-test-ad-card > .tm-list-ad {
  flex: none;
  margin: 0 auto;
  text-decoration: none;
}
