@charset "utf-8";

/* 变量：与文章页保持一致 */
:root{
  --primary:#0d1b2a;
  --primary2:#0066cc;   /* 次主色 */
/*  --primary2:#0d1b2a;*/
  --gray-1:#f5f7fa;    /* 背景灰 */
  --gray-9:#1f1f1f;    /* 文字深 */
  --radius:6px;        /* 统一圆角 */
  --height:46px;       /* 组件高度 */
}

#latest_search_words_box {
    margin-top: 36px;
    margin-bottom: 36px;
}

#latest_search_words_box a {
    text-decoration: none;
    margin: 2px;
    line-height: 28px;
    background:var(--gray-1);
    color:#5c6b7c;
    font-size:13px;
    padding:3px 10px;
    border-radius:12px;
    white-space: nowrap;
}

#latest_search_words_box a:hover{
  background:var(--primary2);
  color:#fff;
}

.lead strong {
    color: #0073e6;
}

header.hero a h1 {
    cursor: pointer;
}

header.hero a{
    text-decoration: none;
    color: #fff;
}

header.hero a:hover{
    text-decoration: none;
    color: #fff;
}

.hero {
    background: linear-gradient(135deg, var(--primary2) 0%, var(--secondary) 100%);
}

header.hero.search-index {
    height: 566px;
    padding-top: 188px;
}

header.hero.index-index {
    padding-top:111px;
    min-height: 900px;
    padding-bottom: 72px;
}

.result-list{
  list-style:none;
  margin:0 auto;
  padding:0;
}
.result-card{
  background:#fff;
  border:1px solid #e6e8eb;
  border-radius:var(--radius);
  padding:20px;
  margin-bottom:16px;
  transition:border-color .2s;
}
.result-card:hover{border-color:var(--primary2)}
.result-card .title{
  margin:0 0 8px;
  font-size:18px;
  font-weight:600;
}
.result-card .title a{
  color:var(--gray-9);
  text-decoration:none;
}
.result-card .title a:hover{color:var(--primary2)}

.result-card .desc{
  margin:0;
  margin-top:12px;
  font-size:15px;
  line-height:1.6;
  color:#444;
}

.result-card a {
  text-decoration: none;
}

.result-card .tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:0px;
}
.result-card .tags span{
  background:var(--gray-1);
  color:#5c6b7c;
  font-size:13px;
  padding:3px 10px;
  border-radius:12px;
  white-space: nowrap;
}

.result-card .tags span:hover{
  background:var(--primary2);
  color:#fff;
}

.result-card .link{
  font-size:13px;
  color:#6b7785;
  text-decoration:none;
  word-break:break-all;
}
.result-card .link:hover{color:var(--primary2)}


.pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
  margin:40px 0;
  font-size:18px;
}

.pagination a{
  display:inline-grid;
  place-items:center;
  min-width:49px;
  height:49px;
  padding:0 10px;
  border:1px solid #e6e8eb;
  background:#fff;
  color:var(--gray-9);
  text-decoration:none;
  border-radius:var(--radius);
  transition:all .2s;
}

.pagination a:hover{
  border-color:var(--primary);
  color:var(--primary);
}

.pagination a.current{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
  pointer-events:none;
}

.pagination .arrow{
  font-size:18px;
  padding:0 8px;
}