/* サイト内検索・タグ・カテゴリー等の一覧（template-parts/result-list.php）。本家の「サイト内検索結果」の雰囲気に寄せる */
.negb-results {
  max-width: 860px;
  margin: 0 auto;
  padding: 10px 0 60px;
  color: #333;
}
.negb-results__search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 0 28px;
}
.negb-results__search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 15px;
  -webkit-appearance: none;
  appearance: none;
}
.negb-results__search input:focus {
  outline: none;
  border-color: #3160A8;
  box-shadow: 0 0 0 2px rgba(49, 96, 168, .15);
}
.negb-results__search button {
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: #3160A8;
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  cursor: pointer;
}
.negb-results__search button:hover { opacity: .85; }
.negb-results__count {
  margin: 0 0 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e3e3;
  color: #777;
  font-size: 13px;
}
.negb-results__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.negb-result {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #f0f0f0;
  list-style: none;
}
.negb-result__body {
  flex: 1;
  min-width: 0;
}
#search .negb-result__title {
  margin: 0 0 4px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.5;
}
.negb-result__title a {
  color: #1a4ea8;
  text-decoration: none;
}
.negb-result__title a:hover { text-decoration: underline; }
.negb-result__title b { font-weight: bold; }
.negb-result__path {
  margin: 0 0 6px;
  color: #b0412e;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}
.negb-result__excerpt {
  margin: 0;
  color: #444;
  font-size: 13px;
  line-height: 1.75;
}
.negb-result__excerpt b { font-weight: bold; color: #222; }
.negb-result__date {
  margin-right: .8em;
  color: #888;
}
.negb-result__thumb {
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #f7f7f7;
}
.negb-result__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.negb-result__thumb:hover img { transform: scale(1.06); }
.negb-results__empty {
  padding: 40px 0;
  color: #555;
  font-size: 14px;
}
.negb-results__pager {
  margin-top: 36px;
}
.negb-results__pager .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.negb-results__pager .page-numbers {
  display: inline-block;
  min-width: 36px;
  padding: 7px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #3160A8;
  font-size: 13px;
  text-align: center;
  text-decoration: none;
}
.negb-results__pager .page-numbers.current {
  border-color: #3160A8;
  background: #3160A8;
  color: #fff;
}
.negb-results__pager a.page-numbers:hover { background: #f0f4fb; }
.negb-results__pager .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media screen and (max-width: 767px) {
  .negb-results { padding: 0 16px 40px; }
  .negb-result { gap: 14px; padding: 18px 0; }
  #search .negb-result__title { font-size: 15px; }
  .negb-result__thumb { width: 72px; height: 72px; }
  .negb-result__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}
