.property-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1rem;
  padding: 2rem 0;
}

.page-header {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-header h1 {
  font-size: 2rem;
}

.filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.filters button {
  padding: 0.6rem 1.2rem;
  border: 2px solid var(--accent-color);
  background-color: white;
  color: var(--accent-color);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filters button:hover {
  background-color: var(--accent-color);
  color: white;
}

@media only screen and (max-width: 997px) {
  .property-list {
    grid-template-columns: repeat(1, 1fr);
    max-width: 80%;
    margin: 0 auto;
  }

  .page-header {
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 1rem;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .filters button {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 560px) {
  .property-list {
    max-width: 90%;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  .filters button {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }
}
