/**
 * Network filters, titles and term chips.
 */

/* Network filter */
.network-filter-form {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  flex-wrap: nowrap;
}

.network-filter-form select {
  flex: 0 0 22%;
  min-width: 200px;
  height: 72px;
  border: 1px solid #999;
  border-radius: 10px;
  padding: 0 64px 0 24px;
  font-size: 20px;
  background-color: #fff;
  color: #333;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='11' viewBox='0 0 18 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L9 9.5L17 1.5' stroke='%236B6F76' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 28px center;
  background-size: 18px 11px;
}

.network-search-field {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.network-filter-form input {
  width: 100%;
  height: 72px;
  border: 1px solid #999;
  border-radius: 10px;
  padding: 0 24px 0 70px;
  font-size: 20px;
  background: #fff;
  color: #333;
}

.network-search-field::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-image: url("/wp-content/uploads/2026/05/search.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 2;
}

.network-search-field button {
  display: none;
}

.network-filter-reset {
  flex: 0 0 auto;
  height: 72px;
  padding: 0 28px;
  border-radius: 10px;
  border: 1px solid #df4b25;
  color: #df4b25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: 0.2s ease;
  white-space: nowrap;
}

.network-filter-reset:hover {
  background: #df4b25;
  color: #fff;
}

.network-dynamic-title {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.95;
  margin: 0;
}

@media (max-width: 1024px) {
  .network-filter-form {
    flex-wrap: wrap;
  }

  .network-filter-form select {
    flex: 1 1 calc(50% - 9px);
  }

  .network-search-field {
    flex: 1 1 calc(100% - 130px);
  }
}

@media (max-width: 767px) {
  .network-filter-form {
    gap: 16px;
  }

  .network-filter-form select,
  .network-search-field,
  .network-filter-reset {
    flex: 1 1 100%;
    width: 100%;
  }

  .network-filter-form select,
  .network-filter-form input,
  .network-filter-reset {
    height: 60px;
    font-size: 16px;
  }

  .network-search-field::before {
    left: 22px;
    width: 22px;
    height: 22px;
  }

  .network-filter-form input {
    padding-left: 58px;
  }
}

.term-chips a.term-chip,
.project-item a.term-chip,
.knowledge-item a.term-chip {
  text-transform: capitalize !important;
}

body .term-chips a.term-chip {
  text-transform: capitalize !important;
}

/* Network single-page related Projects are sidebar text links, not badges. */
.project-single-page .network-related-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-single-page .network-related-project-chip {
  display: inline;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #53B1AA !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
