* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  background: #161618;
  color: #fff;
}

#controls {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#controls label {
  color: #ccc;
  font-size: 16px;
}

#controls select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #3a3a3e;
  background: #212124;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}

#listings-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 0 20px 24px;
}

.listing-card {
  background: #212124;
  border-radius: 10px;
  overflow: hidden;
  flex: 1 1 300px;
  max-width: calc(33.333% - 16px);
}

@media (max-width: 900px) {
  .listing-card {
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .listing-card {
    max-width: 100%;
  }
}

.listing-card .card-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #333;
}

.listing-card .card-body {
  padding: 20px;
}

.listing-card h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
}

.listing-card .card-label {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 400;
  color: #63bfe0;
  line-height: 1.4;
}

.listing-card .card-extra-information {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.listing-card .extra-line-with-icon {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  color: #ccc;
}

.listing-card .extra-line-with-icon .material-icons {
  font-family: "Material Icons";
  font-size: 18px;
  color: #63bfe0;
}
