#search-page {
  padding: 1.25rem 0 3rem;
}

#search-page > .container {
  max-width: 1120px;
}

#search-page .sb-search-main {
  max-width: 100%;
  margin: 0;
}

#search-page .sb-search-form {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #dce6e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(32, 54, 50, 0.05);
}

#search-page .sb-search-form label {
  margin-bottom: 0.45rem;
  color: #203632;
  font-size: 0.85rem;
  font-weight: 700;
}

#search-page .sb-search-form .form-control {
  min-height: 2.75rem;
  border-color: #dce6e1;
  border-radius: 6px;
  box-shadow: none;
}

#search-page .sb-search-form .form-control:focus {
  border-color: #287a70;
  box-shadow: 0 0 0 3px rgba(40, 122, 112, 0.12);
}

#search-page .sb-search-form .btn-primary {
  min-height: 2.75rem;
  border-color: #287a70;
  border-radius: 6px;
  background: #287a70;
  font-weight: 700;
}

#search-page .sb-search-form .btn-primary:hover,
#search-page .sb-search-form .btn-primary:focus {
  border-color: #20665e;
  background: #20665e;
}

#search-page .sb-search-form .d-flex {
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #edf1ef;
}

#search-page .sb-search-form .d-flex p {
  margin: 0;
  color: #687a75 !important;
  font-size: 0.9rem;
}

#search-page .sb-search-result {
  display: block;
  margin: 0 0 0.8rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #dce6e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(32, 54, 50, 0.035);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

#search-page .sb-search-result:hover {
  border-color: #bfd4cc;
  box-shadow: 0 5px 16px rgba(32, 54, 50, 0.07);
}

#search-page .sb-search-result .hts-header-text-socket {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
  color: #687a75;
  font-size: 0.82rem;
}

#search-page .sb-search-result .hts-header-user a {
  color: #287a70;
  font-weight: 600;
}

#search-page .sb-search-result .hts-single-socket {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
}

#search-page .sb-search-result .hts-single-text-socket {
  min-width: 0;
  flex: 1;
}

#search-page .sb-search-result .hts-single-text {
  color: #203632;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

#search-page .sb-search-result .hts-single-text:hover {
  color: #287a70;
}

#search-page .sb-search-result .hts-single-img-socket {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 6px;
  background: #f4f7f5;
}

#search-page .sb-search-result .hts-single-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#search-page .sb-search-result .hts-footer-socket {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid #edf1ef;
}

#search-page .sb-search-result .hts-footer-vote-socket {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

#search-page .sb-search-result .hts-footer-vote-socket a {
  color: #687a75;
  font-size: 0.82rem;
}

#search-page .sb-search-result .hts-footer-view-socket {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #687a75;
  font-size: 0.85rem;
}

#search-page .sb-search-result .hts-footer-view-socket .fa {
  color: #287a70;
}

#search-page .pagging {
  margin: 1.25rem 0 0;
}

#search-page .pagination {
  flex-wrap: wrap;
  gap: 0.25rem;
}

#search-page .pagination .page-link {
  min-width: 2.5rem;
  border: 1px solid #dce6e1;
  border-radius: 6px;
  color: #203632;
  text-align: center;
}

#search-page .pagination .active .page-link {
  border-color: #287a70;
  background: #287a70;
  color: #fff;
}

@media (max-width: 767px) {
  #search-page .sb-search-form {
    padding: 1rem;
  }

  #search-page .sb-search-result {
    padding: 0.95rem;
  }

  #search-page .sb-search-result .hts-single-img-socket {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }
}
