/* LogicYield Datasets product page: four dataset cards in the site's own palette */
.datasets {
  padding: 36px 3% 0;
}

.datasets__title {
  text-align: center;
  margin-bottom: 28px;
}

.datasets__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}

.dataset {
  display: flex;
  flex-direction: column;
  background: #1b2c18;
  border: 1px solid #1b2c18;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.2s;
}

.dataset:hover {
  border-color: #3d8e30;
}

.dataset__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0b0d10;
}

.dataset__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.dataset__kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #62b552;
}

.dataset__title {
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}

.dataset__desc {
  font-size: 16px;
  line-height: 24px;
  color: #e5e5e5;
  flex: 1;
}

.dataset__facts {
  font-size: 14px;
  line-height: 20px;
  color: #62b552;
  font-weight: 600;
}

@media screen and (min-width: 1399px) {
  .dataset__title { font-size: 24px; line-height: 30px; }
  .dataset__desc { font-size: 18px; line-height: 27px; }
}

@media screen and (max-width: 900px) {
  .datasets { padding: 20px 5% 0; }
  .datasets__title { margin-bottom: 16px; }
  .datasets__grid { grid-template-columns: 1fr; gap: 20px; }
  .dataset__body { padding: 16px 18px 20px; }
  .dataset__title { font-size: 18px; line-height: 24px; }
  .dataset__desc { font-size: 15px; line-height: 22px; }
}
