/* Homepage hero trademark search — matches artpatent.ru inject widget */

.tm-hero-search {
  max-width: 560px;
  margin: 18px 0 8px;
}

.tm-hero-search__form {
  display: flex;
  gap: 0;
  background: #fff;
}

.tm-hero-search__input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 18px;
  border: 1px solid #d9dcdf;
  border-right: none;
  border-radius: 4px 0 0 4px;
  font-size: 16px;
  color: #333;
  outline: none;
}

.tm-hero-search__input::placeholder {
  color: #9aa0a6;
}

.tm-hero-search__btn {
  height: 54px;
  padding: 0 26px;
  border: none;
  border-radius: 0 4px 4px 0;
  background: #343638;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
}

.tm-hero-search__btn:hover {
  background: #222;
}

.tm-hero-search__hint {
  margin: 8px 2px 0;
  font-size: 13px;
  color: #6a6e72;
}

.banners-big__title {
  overflow-wrap: break-word;
  word-break: normal;
}

.banners-big__buttons {
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .tm-hero-search {
    max-width: 100%;
  }

  .tm-hero-search__form {
    flex-wrap: wrap;
  }

  .tm-hero-search__input {
    border-right: 1px solid #d9dcdf;
    border-radius: 4px 4px 0 0;
    width: 100%;
  }

  .tm-hero-search__btn {
    width: 100%;
    border-radius: 0 0 4px 4px;
  }
}
