.lawyer-page {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
  font-family: Arial, sans-serif;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-left,
.filter-right {
  display: flex;
  gap: 15px;
}

.filter-select,
.search-input {
  width: auto;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 0;
}

.filter-select option:hover {
  color: #b68e57;
}

.search-button {
  padding: 8px 16px;
  background-color: #deb57a;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.search-button:hover {
  background-color: #b48a57;
}

.lawyer-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.lawyer-card {
  text-align: center;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px 10px;
  background-color: #fff;
  transition: all 0.3s;
}

.lawyer-card:hover {
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}

.lawyer-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.lawyer-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
}

.lawyer-card .title {
  font-size: 14px;
  color: #888;
}

.lawyer-card .tags {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}

.lawyer-card .dept {
  font-size: 13px;
  color: #aaa;
  margin-top: 4px;
}

@media only screen and (max-width: 767px) {
  .team-area .container {
    padding: 0;
  }
  .lawyer-page {
    padding: 0;
  }
  .lawyer-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .lawyer-card {
    padding: 0;
    width: calc(50% - 10px);
  }
  .filter-select,
  .search-input {
    height: 100%;
  }
  .filter-left {
    width: 100%;
    flex-direction: column;
    margin-bottom: 15px;
  }
  .filter-right {
    width: 100%;
    justify-content: space-between;
  }
  .filter-right input {
    width: 70%;
  }
  .filter-right button {
    width: 25%;
  }
  .team-member-bg {
    height: 200px;
  }
}
