/* General styles for header */
header nav a:nth-child(3)::after {
  position: absolute;
  left: -3px;
  bottom: -9px;
  height: 2px;
  width: calc(100% + 6px);
  background-color: var(--pears-black);
  content: '';
}

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

.category-filter {
  display: flex;
  align-items: center;
  gap: 4px;
}

.category-filter .category-label,
.category-filter .category-select {
  font-family: Brandon Grotesque, serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--pears-grey);
}

.category-filter .category-label {
  display: flex;
  align-items: center;
  gap: 20px;
}

.category-filter .category-select {
  border: none;
  background: transparent;
  outline: none !important;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  padding-right: 14px;
  min-width: 100px;
  cursor: pointer;
}

.category-filter .dropdown {
  position: relative;
  transform: translateX(-14px);
  pointer-events: none;
  width: 10px;
  height: 5px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  width: 217.5px;
}

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

.search-input-wrapper > img {
  position: absolute;
  top: 5px;
  left: -48px;
}

.search-input {
  height: 28px;
  width: 100%;
  border: none;
  font-family: Brandon Grotesque, serif;
  font-weight: 500;
  font-size: 12px;
  background-color: transparent;
  outline: none !important;
  letter-spacing: 1.5px;
}

::placeholder {
  color: var(--pears-light-grey);
  letter-spacing: 5px;
  opacity: 1;
}

::-ms-input-placeholder {
  color: var(--pears-light-grey);
  letter-spacing: 5px;
}

.load-more {
  display: flex;
  border: none;
  background: none;
  margin: 47px auto 0;
  cursor: pointer;
}

.loading-message,
.no-posts-message {
  display: none;
  letter-spacing: 5px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  margin-top: 36px;
}

.news h1 {
  text-transform: capitalize;
}

@media (max-width: 991.98px) {
  /* Article options styles */
  .category-filter .category-label,
  .category-filter .category-select {
    font-size: 10px;
  }

  .category-filter .category-label {
    margin-right: 16px;
  }

  .category-filter .category-label > img {
    width: 18px;
    height: 18px;
  }

  .category-filter .category-label > div {
    display: none;
  }

  .category-filter .category-select {
    min-width: unset;
    max-width: 120px;
    overflow: hidden !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .search-input-wrapper {
    position: relative;
    display: flex;
    width: 202px;
    max-width: calc(100% - 154px - 10px);
  }

  .search-input-wrapper > img {
    position: absolute;
    left: -24px;
    width: 18px;
    height: 18px;
  }
  
  .search-input {
    height: 24px;
    font-size: 10px;
  }

  .loading-message,
  .no-posts-message {
    font-size: 10px;
  }
}
