.filter-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* background: url("/assets/img/curved-arrow-down.svg") no-repeat;
  background-position: 102% 9%; */
}
.filter-content h1 {
  margin-bottom: 24px;
}
.filter-content .btn-group {
  margin-bottom: 24px;
}
.filter-content h1 .text-primary-coral-gradient {
  padding-right: 3px;
}
@media (max-width: 500px) {
  .filter-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-content .btn-group {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-content h1 {
    font-size: 56px;
    line-height: 56px;
    margin-bottom: 16px;
  }
}
.post-filter .input-with-filter {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
}
.post-filter .input-with-filter:before {
  content: url("../svg/magnifying-glass.svg");
  position: absolute;
  top: 15px;
  left: 12.25px;
}
.post-filter .input-with-filter .input-clear {
  position: absolute;
  right: 10px;
  cursor: pointer;
  display: none;
}
.post-filter .input-with-filter .searchbar-input {
  background: var(--white);
  width: 100%;
  border-top: 1px solid var(--black) !important;
  border: none;
  height: 48px;
  padding-left: 40px;
  outline: none;
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.96px;
}
.post-filter .input-with-filter .searchbar-input::placeholder {
  color: var(--dark-grey);
}
.post-filter .case__filter__title {
  cursor: pointer;
  font-family: Poppins !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0em;
  color: var(--black) !important;
  display: flex;
  align-items: center;
}
.filter-content .case__filter__title:hover {
  text-decoration: none;
}
.filter-content .case__filter__title .icon {
  display: flex;
  align-items: center;
}
.filter-content .case__filter-tag {
  cursor: pointer;
  font-family: Poppins !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0em;
  color: var(--black) !important;
  display: none;
  align-items: center;
}
.filter-content .case__filter-tag:hover {
  text-decoration: none;
}
.filter-content .case__filter-tag .icon {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.filter-title-count {
  display: flex;
  gap: 32px;
  align-items: center;
}
.filter-title-count > span {
  font-family: Poppins !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0em;
}


.popular-tags {
  display: flex;
  gap: 32px;
  align-items: center;
}

.popular-tags .tags {
  display: flex;
  gap: 8px;
}
.popular-tags p {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 0;
}
.popular-tags .clickable-tag {
  padding: 8px 12px;
  border: 1px solid var(--black);
  border-radius: 40px;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.popular-tags .clickable-tag:hover {
  border-color: var(--bright-teal);
  color: var(--bright-teal);
}

.tag-filter-wrapper {
  max-height: 0;
  transition: max-height 0.5s ease-in-out, margin-bottom 0.5s ease-in-out;
  overflow: hidden;
}

.tag-filter-wrapper.opened {
  max-height: 100%;
  margin-bottom: 40px;
}

.filter-content {
  background: none;
}

.tagBadge:hover .fa-times:before {
  content: url("../svg/close-coral.svg") !important;
}

.filter-tag-container #filterText {
  font-family: Poppins, sans-serif !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--black);
}

.filter-tag-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
  align-items: flex-start;
  margin-bottom: 16px;
}

.case-filter-tags.case-tags-opened:has(span) {
  margin-bottom: 0;
}

.post-filter__panel {
  padding: 24px 24px 0px 0px;
}

.post-filter__panel.d-none {
  padding: 24px 0 0 0;
}

#caseFilterTagContainerMobile.case-tags-opened:has(span) {
  margin-bottom: 0;
}

#caseFilterTag:hover {
  cursor: pointer;
}