@charset "UTF-8";

.nstcpi_home {
  margin-top: 40px;
  margin-bottom: 60px;
}

.nstcpi_home .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.nstcpi_home .card {
  overflow: hidden;
  background-color: #f9f9f9;
}

.nstcpi_home .card .photo {
  width: 100%;
  aspect-ratio: 503 / 505;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}

.nstcpi_home .card:hover .photo {
  transform: scale(1.02);
}

.nstcpi_home .title {
  display: none;
}

.nstcpi_home .nodata {
  grid-column: 1 / -1;
  text-align: center;
  color: #777;
  font-size: 16px;
  padding: 80px 20px;
}

@media screen and (max-width: 960px) {
  .nstcpi_home {
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .nstcpi_home .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 10px;
  }
}

@media screen and (max-width: 640px) {
  .nstcpi_home .grid {
    /* grid-template-columns: 1fr; */
  }
}
