.projects-showcase {
  text-align: center;
}

.filter-group {
  display: inline-block;
  margin: 0 30px;
}

.taxonomy-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.taxonomy-filter-select-wrap {
  display: none;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.taxonomy-filter-select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.taxonomy-filter-select {
  display: none;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 42px 10px 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.taxonomy-filter li {
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #ddd;
}

.taxonomy-filter li.active {
  background: #a0917c;
  color: #fff;
}

.projects-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0px;
  /*margin-top: 30px;*/
}

.projects-wrap > * {
  /*margin: -0.5px;*/
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.8);
  padding: 15px;
  text-align: left;
}

.project-no-record {
  padding: 20px 0;
}

.load-more {
  margin-top: 20px;
  background: #a0917c;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .filters {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .filter-group {
    display: block;
    margin: 0;
    width: 100% !important;
  }

  .taxonomy-filter {
    display: none !important;
  }

  .taxonomy-filter-select-wrap {
    display: block;
  }

  .taxonomy-filter-select {
    display: block;
  }

  .projects-wrap {
    grid-template-columns: 1fr;
  }
}
