.property-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, max-content));
  gap: 25px;
  padding: 20px 10px;
  width: calc(100% - 20px);
  background-color: rgba(0, 0, 0, 0);
  justify-content: center;
}

.property-card {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.6s ease-in-out, box-shadow 0.3s ease-in-out;
  position: relative;
  max-width: 250px;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.property-card a {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.property-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.property-card-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  padding: 5px 15px;
}

.property-card-title {
  width: 100%;
  margin-top: 0px;
  font-size: 1.2em;
  margin-bottom: 5px;
  color: #333;
}

.property-card-location {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  justify-content: start;
  align-items: center;
  width: 100%;
  padding: 5px 0;
  margin-top: 10px;
}

.property-card-location img {
  width: 20px;
  height: 20px;
  margin: 0 5px;
}

.property-card-location p {
  font-size: 1em;
  color: #666;
  margin: 0;
}

.property-card-price {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  justify-content: center;
  padding: 5px 5px;
}

.property-card-price h4 {
  font-size: 1.1em;
  color: #656565;
  margin: 0;
  font-weight: 500;
}

.property-card-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}

.property-card-details p {
  font-size: 1em;
  color: #5d5d5d;
  margin: 0;
  font-weight: 500;
}

.thin-line {
  border: none;
  height: 1px;
  background-color: #ccc;
  width: 100%;
  margin: 5px 0;
}

@media (min-width: 800px) and (max-width: 1100px) {
  .property-card-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, max-content));
    gap: 25px;
  }

  .property-card {
    max-width: 220px;
  }

  .property-card-content {
    padding: 5px 10px;
  }

  .property-card-title {
    font-size: 1.1em;
  }

  .property-card-location { 
  padding: 5px 0;
  margin-top: 5px;
}

  .property-card-location p {
    font-size: 0.9em;
  }

  .property-card-price h4 {
    font-size: 1em;
  }

  .property-card-details p {
    font-size: 0.9em;
  }
}

@media (min-width: 600px) and (max-width: 800px) {
  .property-card-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, max-content));
    gap: 20px;
  }

  .property-card {
    max-width: 210px;
  }

  
  .property-card-content {
    padding: 5px 10px;
  }

  .property-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
  }

    .property-card-location { 
  padding: 5px 0;
  margin-top: 5px;
}

  .property-card-location img {
    width: 18px;
    height: 18px;
    margin: 0 5px;
  }

  .property-card-title {
    font-size: 1em;
  }

  .property-card-location p {
    font-size: 0.8em;
  }

  .property-card-price h4 {
    font-size: 0.9em;
  }

  .property-card-details p {
    font-size: 0.8em;
  }
}

@media (min-width: 500px) and (max-width: 600px) {
  .property-card-container {
    grid-template-columns: repeat(auto-fill, minmax(225px, max-content));
    gap: 25px;
  }

  .property-card {
    max-width: 225px;
  }

  
  .property-card-content {
    padding: 5px 8px;
  }

  .property-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
  }

  .property-card-location img {
    width: 18px;
    height: 18px;
    margin: 0 5px;
  }

  .property-card-title {
    font-size: 1em;
  }

    .property-card-location { 
  padding: 5px 0;
  margin-top: 5px;
}

  .property-card-location p {
    font-size: 0.8em;
  }

  .property-card-price h4 {
    font-size: 0.9em;
  }

  .property-card-details p {
    font-size: 0.8em;
  }
}

@media (max-width: 500px) {
  .property-card-container {
    grid-template-columns: repeat(auto-fill, minmax(40%, max-content));
    gap: 20px;
  }

  .property-card {
    max-width: 100%;
  }

  
  .property-card-content {
    padding: 3px 5px;
  }

  .property-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
  }

    .property-card-location { 
  padding: 5px 0;
  margin-top: 0px;
}

  .property-card-location img {
    width: 14px;
    height: 14px;
    margin: 0 5px;
  }

  .property-card-title {
    font-size: 0.9em;
  }

  .property-card-location p {
    font-size: 0.7em;
  }

  .property-card-price h4 {
    font-size: 0.9em;
  }

  .property-card-details p {
    font-size: 0.7em;
  }
}
