/* Reset & Base */
body {
    margin: 0;
    font-family: "Microsoft YaHei UI", sans-serif;
    background: #fff; /* 无背景图 */
    color: #333;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* 导航栏 */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 64px;
    background-color: transparent; /* 无背景色 */
    border-bottom: 1px solid #ddd;
  }
  
  .logo {
    font-size: 22px;
    font-weight: bold;
    color: #004080;
  }
  
  .nav-links a {
    margin-left: 30px;
    font-size: 16px;
    color: #004080;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #0078d7;
  }
  
  /* 主体部分 */
  .hero-section {
    padding: 80px 20px;
    text-align: center;
    background-color: transparent; /* 移除背景图，保持清爽 */
  }
  
  .hero-section h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  /* 查询区域 */
  .search-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
  }
  
  .search-box select,
  .search-box input {
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }
  
  .btn-search {
    background-color: #0078d7;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }
  
  .btn-search:hover {
    background-color: #005ea6;
  }
  
  /* 查询结果展示 */
  #result {
    margin: 30px auto; /* 上下间距 30px，左右自动居中 */
    padding: 20px;
    border-radius: 6px;
    width: 90%;
    max-width: 600px;
    background-color: #fafafa;
    border: 1px solid #eee;
    text-align: left;
    line-height: 1.6;
  }
  
  /* 页脚 */
  .footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #999;
    border-top: 1px solid #ddd;
    background-color: transparent;
  }
  header {
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
  }
  .header-logo {
    text-align: left; /* 可改为 center 居中 */
    padding-bottom: 15px;
  }
  .header-logo img {
    height: 100px;
  }
  /* 菜单行 */
.header-nav {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-top: 10px;
    padding-bottom: 7px;
  }
  
  .header-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .header-nav li {
    display: inline-block;
    margin-left: 20px;
  }
  
  .header-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
  }
  
  .header-nav a:hover {
    color: #0073e6;
  }
  .header-nav a.active {
    border-bottom: 3px solid #0078d7;
    padding-bottom: 7px; /* 向下推以覆盖 .header-nav 的 1px 边框 */
    color: #0078d7;
    font-weight: bold;
    margin-bottom: -3px; /* 把下划线往下“拉”，使其和父元素底线对齐 */
  }
  .header-nav a {
    transition: all 0.3s ease;
  }