/* Partner Directory Widget */
.elite-partner-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.elite-partner-item {
  display: flex;
  flex-direction: row;
  border: 2px solid #E9EBF0;
  padding: 40px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: #000;
  gap: 5%;
}

.elite-partner-item:hover {
  background-color: #FAF7FF;
}

.partner-thumbnail {
  min-width: 20%;
  display: flex;
  align-items: center;
}
.partner-thumbnail img{
  height: initial;
}

.partner-name {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
}

.partner-description {
  height: 142.08px;
  font-size: 16px;
  font-weight: 300;
  margin-top: 35px;
  margin-bottom: 25px;
  line-height: 148%;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  font-family: 'Poppins', sans-serif;
  color: #000;
}

.partner-taxonomy {
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
  font-family: 'Poppins', sans-serif;
  color: #000;
}

.partner-actions {
  display: flex;
  align-items: center;
}

.partner-link-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #E9EBF0;
}

.partner-link-icon .dashicons {
  width: 26px;
  height: 26px;
}
.partner-link-icon .dashicons::before {
  font-size: 26px;
  font-weight: 300;
  color: #5F01C7;
}

.partner-filter-group {
  position: relative;
}
.partner-filters {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 300;
}

.partners-filter-label {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
  margin-right: 19px;
  color: #000;

}

.filter-toggle, .filter-toggle:focus {
  position: relative;
  color: #000;
  background-color: #fff !important;
  border: 2px solid #E9EBF0;
  padding: 16px;
  font-weight: 300 !important;
  display: flex;
  align-items: center;
  text-wrap: nowrap;
  width: 324px;
  justify-content: space-between;
}
.filter-toggle:hover {
  background-color: #fff !important;
  color: #000 !important;
  border: 2px solid #cecece;
  font-weight: 300 !important;
}

.filter-toggle.active span {
  transform: rotate(180deg);
}
.filter-toggle span {
  color: #D9D9D9;
}

.filter-options {
  position: absolute;
  background-color: #fff;
  z-index: 10;
  width: 100%;
  border: 2px solid #E9EBF0;
  border-top: none;
  border-bottom: none;
  box-shadow: 5px 10px 25.9px 0px #0000001C;
}

.filter-options .filter-option-content {
  position: relative;
  background-color: #fff;
  padding: 16px;
  width: 100%;
  border-bottom: 2px solid #E9EBF0;
  cursor: pointer;
}

.filter-options input[type="checkbox"] {
  display: none;
}

.filter-options .filter-option-content:hover .filter-option-label:before {
  background-color: #2eb38080;
}
.filter-options input[type="checkbox"]:checked ~ .filter-option-label:before {
  background-color: #2EB380;
}


.filter-option-label {
  cursor: pointer;
  display: inline-block;
  position: relative;
  padding-left: 40px;
}

.filter-option-label:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  position: absolute;
  left: 0;
  border-radius: 50%;
  border:  2px solid #E9EBF0;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.filter-chip {
  background-color: #E9EBF0;
  color: #000;
  padding: 9px 20px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

.chip-button {
  background-color:  #E9EBF0 !important;
  color: var(--color-secondary) !important;
  font-weight: bolder;
  padding: 12px 22px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  /* font-family: 'Poppins', sans-serif; */
}

.partner-list-header{
  width: 100%;
  margin-bottom: 3em;
}
.partner-list-title{
  color: var(--color-primary);
}
.chip-button:hover{
  cursor: pointer;
}

.chip-button-active {
  background-color:  var(--color-primary-hover) !important;
  color: white !important;
  font-weight: bolder;
  padding: 12px 22px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  /* font-family: 'Poppins', sans-serif; */
}

.filter-chip button {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 300;
  color: #333;
  font-size: 30px;
  padding: 0;
  line-height: 20px;
}
.filter-chip button:hover {
  background: none;
  color: #000;
}

.active-filters-label {
  margin: auto 0;
  margin-right: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #000;
}

@media screen and (max-width: 1024px) {
  .elite-partner-item {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }

  .partner-thumbnail {
    max-width: 50%;
    justify-content: center;
    margin: 0 auto;
    min-height: 120px;
}

  .partner-content {
    width: 100%;
  }

  .filter-toggle, .filter-toggle:focus {
    padding: 12px;
    max-width: 310px;
    width: 90vw;
  }

  .filter-options .filter-option-content {
    padding: 12px;
  }

  .filter-toggle span {
    margin-left: auto;
  }

  .active-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .partner-link-icon {
    display: none;
  }

  .partner-name {
    font-size: 16px;
  }

  .partner-description {
    margin-top: 20px;
    margin-bottom: 20px;
    height: unset;
    display: block;
  }

  .partners-filter-label {
    margin: 20px 0;
  }
}

@media screen and (max-width: 1271px) {
  .partner-filters {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

