#banner {
  background-position-y: top;
}
#header {
  height: 500px;
}
#header-outer {
  background-image: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .1));
  max-width: unset;
}

@media all and (max-width: 1024px) {
  #header {
    height: 300px;
  }
  #logo {
    font-size: 30px;
  }
}

/* ===== 本地搜索弹窗 ===== */
#local-search-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.local-search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.local-search-dialog {
  position: relative;
  margin: 10vh auto 0;
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.local-search-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.local-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  color: #333;
  background: transparent;
}

.local-search-close {
  cursor: pointer;
  font-size: 28px;
  color: #999;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}
.local-search-close:hover {
  color: #333;
}

.local-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px 20px;
}

.local-search-loading,
.local-search-empty {
  text-align: center;
  color: #999;
  padding: 40px 0;
  font-size: 15px;
}

.search-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result-list li {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.search-result-list li:last-child {
  border-bottom: none;
}

.search-result-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #258fb8;
  text-decoration: none;
  margin-bottom: 6px;
}
.search-result-title:hover {
  color: #1a6d8a;
}

.search-result {
  display: block;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  line-height: 1.6;
  margin: 2px 0;
}

mark.search-keyword {
  background: #fff3b0;
  color: #333;
  padding: 0 2px;
  border-radius: 2px;
}