.filter-by-brand {
  margin-top: 40px;
  margin-bottom: 44px;
}

.filter-by-brand__label {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1.12px;
  color: rgba(96, 96, 96, 1);
  margin-bottom: 20px;
}

.filter-by-brand__items {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-by-brand__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--tether-black);
  padding-left: 20px;
  padding-right: 20px;
  height: 42px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1.2px;
  color: var(--tether-white);
  transition: opacity 0.4s cubic-bezier(.215, .61, .355, 1);
  opacity: 0.5;
}

.filter-by-brand__item.qvac,
.filter-by-brand__item.mdk,
.filter-by-brand__item.pears,
.filter-by-brand__item.wdk-by-tether {
  padding-left: 17px;
  padding-right: 17px;
}

.filter-by-brand__item.qvac img {
  width: 75px;
}

.filter-by-brand__item.mdk img {
  width: 61px;
}

.filter-by-brand__item.pears img {
  width: 74px;
}

.filter-by-brand__item.wdk-by-tether img {
  width: 61px;
}

.filter-by-brand__item.active,
.filter-by-brand__item:hover {
  opacity: 1;
}

.grants-table__head {
  display: flex;
  padding: 0 8px 20px;
  border-bottom: 1px solid #000;
}

.grants-table__head .grants-table__column {
  color: var(--tether-dark-grey);
  letter-spacing: 0.16px;
}

.grants-table__row {
  display: flex;
  gap: 8px;
  padding: 20px 8px;
  border-bottom: 0.5px solid var(--tether-dark-grey);
  text-decoration: none;
}

.grants-table__column {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.32px;
  color: #000;
}

.grants-table__column:nth-child(1) {
  flex: 4.5;
}

.grants-table__column:nth-child(2),
.grants-table__column:nth-child(3) {
  flex: 1;
}

.grants-table__column:nth-child(3) {
  text-align: right;
}

.grants-table__column .title {
  display: flex;
  gap: 11px;
  align-items: center;
}

.grants-table__column .title img {
  width: 7px;
}

.grants-table__column .grant-amount {
  display: flex;
  gap: 11px;
  align-items: center;
}

.grants-table__column .grant-amount img {
  width: 24px;
}

@media (max-width: 991.98px) {
  .filter-by-brand {
    margin-top: 30px;
    margin-bottom: 37px;
  }

  .filter-by-brand__label {
    display: none;
  }

  .grants-table {
    margin-bottom: 28px;
  }

  .grants-table__head {
    display: none;
  }

  .grants-table__row {
    flex-direction: column;
    gap: 13px;
    border: 1px solid #000;
    border-radius: 13px;
    padding: 12px;
  }

  .grants-table__row:not(:last-child) {
    margin-bottom: 9px;
  }

  .grants-table__column {
    flex: unset !important;
  }

  .grants-table__column .title img {
    display: none;
  }

  .grants-table__column .grant-amount {
    gap: 6px;
  }

  .grants-table__column:nth-child(2),
  .grants-table__column:nth-child(3) {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 0.28px;
  }

  .grants-table__column:nth-child(3) {
    text-align: left;
  }

  .grants-table__column .label {
    font-size: 14px;
    line-height: 28px;
    letter-spacing: 0.14px;
    color: var(--tether-dark-grey);
  }
}

/* Article options styles */
.article-options {
  display: flex;
  justify-content: space-between;
  margin: 0 0 47px;
}

.article-options .sort-by {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
}

.article-options .sort-by .sort-by-label,
.article-options .sort-by .sort-by-select {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1.12px;
  text-transform: uppercase;
  color: var(--tether-dark-grey);
}

.article-options .sort-by .sort-by-label {
  display: flex;
  align-items: center;
  gap: 21px;
  height: 100%;
}

.article-options .sort-by .sort-by-select {
  border: none;
  background: transparent;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  padding-right: 20px;
  height: 24px;
  min-width: 100px;
  height: 100%;
  cursor: pointer;
  transform: translateY(-0.5px);
}

.article-options .sort-by .dropdown {
  position: relative;
  transform: translate(-20px, -1.5px);
  pointer-events: none;
  width: 10px;
}

.article-options .search-filter {
  display: flex;
}

.article-options .search-filter img {
  width: 19px;
  margin-right: 21px;
}

.article-options .search-filter .search-input-wrapper {
  position: relative;
  display: flex;
  width: 222.5px;
  height: 28px;
}

.article-options .search-filter .search-input-wrapper::after {
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 100%;
  content: '';
  background-color: var(--tether-black);
}

.article-options .search-input {
  width: 100%;
  height: 19px;
  border: none;
  font-size: 12px;
  color: var(--tether-dark-grey);
  background-color: transparent;
  outline: none !important;
  letter-spacing: 0.96px;
}

.article-options ::placeholder {
  font-size: 12px;
  color: var(--tether-dark-grey);
  letter-spacing: 0.96px;
  opacity: 1;
}

.article-options ::-ms-input-placeholder {
  font-size: 12px;
  color: var(--tether-dark-grey);
  letter-spacing: 0.96px;
}

.article-options .flex {
  display: flex;
  align-items: center;
  gap: 35px;
}

@media (max-width: 991.98px) {
  .article-options {
    margin: 0 0 32px;
  }

  .article-options .flex a.btn-black {
    display: none;
  }

  .article-options .sort-by .sort-by-label,
  .article-options .sort-by .sort-by-select {
    font-size: 12px;
    letter-spacing: 0.96px;
  }

  .submit-proposal {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .submit-proposal a.btn-black {
    font-size: 14px;
  }
}

@media (max-width: 767.98px) {

  .article-options .sort-by .sort-by-label img,
  .article-options .search-filter img {
    cursor: pointer;
  }

  .article-options .search-filter img {
    width: 19px;
  }

  .article-options .sort-by:not(.active) .sort-by-label>div,
  .article-options .sort-by:not(.active) .sort-by-select,
  .article-options .search-filter:not(.active) .search-input-wrapper {
    display: none;
  }
}

.no-results,
.no-filtered-results {
  display: flex;
  gap: 8px;
  padding: 20px 8px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0.32px;
  color: #000;
}

.no-filtered-results {
  display: none;
}

@media (max-width: 991.98px) {
  .no-results,
  .no-filtered-results {
    padding: 0;
  }
}