@media screen and (min-width: 768px) and (max-width: 991px) {
  .path-all-members .pill-card .teaser__content-text {
    line-height: 15px;
  }
  /* .path-all-members .card .teaser__title a {
    margin-bottom: 1px;
  } */
  .path-all-members   .pill-card   .btn-wrapper   .card__link:not(.activities-btn)   > a {
    width: 30px;
    height: 30px;
    background-size: 30px !important;
  }
  /* edited on 03-01-2025 */
  .path-all-members   .members-filter-wrapper   > .form-type-entity-autocomplete   input {
    height: 30px !important;
  }
  body.path-all-members   .members-filter-wrapper   > .form-type-entity-autocomplete::after {
    bottom: 8px !important;
  }
  body.path-all-members   .enhanced-card-view   .view-filters:has(.members-filter-wrapper)   .form-item:not(.form-type-entity-autocomplete) {
    width: 435px !important;
    max-width: 500px !important;
  }
  body.path-all-members.enhanced_listing_page:not( .group-details,
  .discussion-details,
  .path-user ) .quicktabs-wrapper .item-list {
    margin-bottom: 20px;
  }
}
@media screen and (min-width: 539px) and (max-width: 721px) {
  body.path-all-members .card {
    max-width: none;
  }
  body.enhanced_listing_page   .enhanced-card-view   .view-filters   form   > .clearfix {
    float: none !important;
  }
}
@media screen and (max-width: 767px) {
  body.path-all-members .card .teaser__title a {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    /* line-height: 100%; */
    margin-bottom: 9px;
  }
  .path-all-members .pill-card .teaser__content-text,
  .path-all-members .pill-card .created-section,
  .path-all-members .pill-card .count-section .count-text {
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
  }
  .path-all-members .pill-card .card__link.more ul {
    border-radius: 12px;
  }
  /* body.path-all-members .pill-card .teaser__body{
        width: calc(100% - 104px);
        height: auto;
    } */
  /* body.path-all-members .pill-card .count-section {
    position: unset;
  } */
  /* body.path-all-members .pill-card .btn-wrapper {
    width: 100%;
    flex-direction: row;
    height: auto;
  } */
  body.path-all-members   .pill-card   .btn-wrapper   .card__link:not(.activities-btn)   > a {
    width: 24px;
    height: 24px;
    background-size: 24px !important;
  }
  /* body.path-all-members .pill-card .teaser__body {
    flex-wrap: wrap;
  } */
  body.path-all-members .pill-card .btn-wrapper .card__link a {
    font-size: 12px;
  }
  .path-all-members .pill-card .btn-wrapper .card__link {
    margin-left: 0px !important;
  }
  .path-all-members .main-container {
    padding-bottom: 12px;
  }
  .path-all-members .enhanced-card-view .views-infinite-scroll-content-wrapper {
    margin-bottom: 15px !important;
  }
  .path-all-members .quicktabs-wrapper .item-list {
    /* margin-bottom: 24px; */
    margin-bottom: 12px;
    height: auto;
  }
  .path-all-members .card .teaser__image {
    margin-right: 12px;
  }
  .path-all-members .pill-card .count-section .count-text {
    /* white-space: nowrap;
    word-spacing: -1.7px; */
    gap: 5px 5px;
  }
  .path-all-members .pill-card .activities-section,
  body.path-all-members .pill-card .btn-wrapper {
    gap: 6px !important;
  }
  body.path-all-members.enhanced_listing_page:not(   .group-details,
  .discussion-details,
  .path-user   )   .quicktabs-wrapper   .item-list {
    margin-bottom: 0px;
  }
  /* edited on 03-01 */
  .path-all-members .members-filter-wrapper > .form-type-entity-autocomplete {
    width: calc(100% / 2 - 12px) !important;
    max-width: 117px !important;
  }
  .path-all-members .members-filter-wrapper > .form-type-entity-autocomplete label {
    max-width: 125px;
  }
  .path-all-members .clearfix:has(> .members-filter-wrapper) {
    flex-wrap: wrap !important;
    width: 100% !important;
    /* gap: 0px !important; */
    justify-content: center !important;
  }
  .path-all-members .members-filter-wrapper {
    flex-wrap: wrap;
    gap: 12px;
    height: auto !important;
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 12px !important;
    /* max-width: 80%; */
    justify-content: center;
  }
  .path-all-members   .members-filter-wrapper   > .form-type-entity-autocomplete   input {
    height: 24px !important;
    text-align: left !important;
  }
  .path-all-members   .members-filter-wrapper   > .form-type-entity-autocomplete   label {
    font-size: 12px !important;
    text-align: center !important;
    margin-bottom: 5px !important;
  }
  body.path-all-members .enhanced-card-view .view-filters:has(.members-filter-wrapper) .form-item:not(.form-type-entity-autocomplete) {
    width: 117px !important;
    /* margin-right: 12px !important; */
  }
  body.path-all-members .enhanced-card-view .view-filters form>.clearfix:has(.members-filter-wrapper) {
    justify-content: center !important;
  }
  /* body.path-all-members .members-filter-wrapper > .form-type-entity-autocomplete::after {
    bottom: 5px !important;
  } */
  /* .member-badge li {
    width: 9px;
    height: 9px;
    margin-right: 6px;
    min-width: 9px;
  } */
  /* .member-badge {
    margin-left: 13px;
  } */
  body.path-all-members.enhanced_listing_page:not(.group-details,
  .discussion-details,
  .path-user) .view-filters {
    margin-bottom: 24px !important;
  }
}
/* @media screen and (max-width: 400px) { */
@media screen and (max-width: 539px) {
  .pill-card {
    max-width: calc(100% - 12px);
  }
  body.path-all-members .pill-card .btn-wrapper {
    width: 100%;
    flex-direction: row;
    height: auto;
  }
  .path-all-members .pill-card .btn-wrapper {
    /* align-items: baseline !important; */
    align-items: flex-end !important;
  }
  .path-all-members .pill-card .count-section .count-text {
    padding-bottom: 12px;
  }
  body.path-all-members .pill-card .count-section {
    position: unset;
  }
  body.path-all-members .pill-card .teaser__body {
    flex-wrap: wrap;
  }
  .path-all-members .pill-card .member-wrapper .member-detail {
    padding-bottom: 0;
  }
  .path-all-members .members-filter-wrapper {
    max-width: 80%;
  }
  body.path-all-members .card .teaser__title a {
    max-width: 75%;
  }
}
@media screen and (max-width: 400px) {
  body.enhanced_listing_page.path-all-members .view-filters {
    padding-bottom: 36px;
  }
  body.path-all-members .enhanced-card-view .view-filters form>.clearfix:has(.members-filter-wrapper) > .sort-wrap {
    /* top: 153px !important; */
    top: 128px !important;
  }
}
@media screen and (max-width: 350px) {
  .path-all-members .pill-card .member-wrapper .member-detail {
    max-width: 100%;
  }
  .path-all-members .pill-card .count-section .count-text {
    white-space: normal;
  }
  .path-all-members .pill-card .count-section .count-text {
    word-spacing: -2px;
  }
}
