.compact-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.compact-tech-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-tech-grid .compact-tech-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  overflow: hidden;
  border: 1px solid #dce9f0;
  border-radius: 24px;
  background: linear-gradient(145deg, #f7fbfd, #eef7fb);
  text-decoration: none;
}

.compact-tech-grid .compact-tech-card img {
  display: block;
  width: 100%;
  height: auto;
  flex: none;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.compact-tech-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px 16px 14px;
}

.compact-tech-card .compact-tech-copy > h3 {
  margin: 0;
  color: #061f33;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.compact-tech-card .compact-tech-copy > p {
  margin: 7px 0 0;
  color: #587083;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.compact-tech-copy > span {
  margin-top: auto;
  padding-top: 8px;
  color: #0879cc;
  font-size: 11px;
  font-weight: 700;
}

.compact-tech-card:hover span,
.compact-tech-card:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .compact-tech-grid,
  .compact-tech-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .compact-tech-copy {
    padding-inline: 12px;
  }

  .compact-tech-card .compact-tech-copy > h3 {
    font-size: 16px;
  }
}
