body{
    margin: 0;
    height: 100%;
}
a {
  text-decoration: none;
  color: #6C6A6A;
}
/* 移除所有 li 标签前面的项目符号（小点） */
li {
  list-style: none;
}
.Article_Index {
    display: none !important;
}
.content{
    height: 100%;
    min-height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.head{
    width: 100%;
}
.headbackground{
    width: 100%; /* 设置宽度 */
    height: 155px; /* 设置一个明确的高度 */
    background-image:url("../image/head.png");
    background-size: cover; /* 确保背景图正确缩放 */
    background-repeat: no-repeat; /* 防止重复 */
    background-size: 100% 100%; /* 强制拉伸填充整个容器 */
}
.logo {
    position: absolute;
    left: 110px;
    top: 35px;
    width: auto;
    height: auto;
    z-index: 1;
}
.logo img{
    width: 100%;
    height: auto;
}
/* 搜索容器样式 */
.search-container {
    position: absolute;
    top: 55px;
    left: 75%;
    display: inline-flex;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
}
/* 输入框样式 */
.search-input {
    border: none; /* 去掉默认边框，由外层容器统一 border */
    padding: 8px 12px;
    font-size: 14px;
    outline: none; /* 去掉聚焦时默认外边框 */
}
/* 搜索按钮样式 */
.search-btn {
    border: none;
    background-color: #fff; /* 按钮背景色，与输入框一致 */
    padding: 0 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666; /* 图标颜色，可按需调整 */
}
/* 可选：聚焦输入框时，给外层容器加个高亮效果示意 */
.search-input:focus + .search-btn,
.search-input:focus {
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.5); 
}

/* 导航栏样式 */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    height: 7px;
    width: 100%;
    background-color: #1b269a;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.nav {
    background-color: #ffffff;
    color: #000;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0 auto;
    padding: 0;
    flex-wrap: wrap; /* 允许在小屏幕上换行 */
    justify-content: center; /* 居中显示 */
}

.nav-list > li {
    position: relative;
    text-align: center;
}

.nav-list > li > a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    display: block;
    padding: 12px 1.5vw; /* 使用视窗单位 */
    font-size: 0.85vw; /* 使用视窗单位 */
    white-space: nowrap;
}

.nav-list > li:hover > a {
    background-color: #055FDA;
    color: #ffffff;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #055FDA;
    width: 100%;
    z-index: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.nav-list > li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    text-align: center;
    font-size: 1vw; /* 使用视窗单位 */
}

.dropdown-menu li:hover {
    background-color: #01C7AC;
}

.foot{
    width: 100%;
    height: 200px; /* 设置一个明确的高度 */
    background-color: #0048AA;
    background-position: center; /* 居中显示 */
    font-size: 14px;
    font-weight: 200;
    color: rgb(223, 221, 221);
    align-items: center;
    text-align: center;
    position: relative;
    bottom: 0px;
    margin-top: 50px;
}
.foot-font{
    position: relative;
    top: 50px;
}
/* 响应式设计 - 媒体查询 */
@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 992px) {
    .nav-list > li > a {
        padding: 10px 1vw;
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .hamburger{
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        display: block;
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: rgba(26, 42, 108, 0.95);
        backdrop-filter: blur(5px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: all 0.5s ease;
        z-index: 99;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }
    .nav-links {
        display: flex;
        list-style: none;
        gap: 30px;
    }
    .nav-links.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    .nav-list{
        display:none;
    }
    .nav-list {
        flex-wrap: wrap;
    }
    
    .nav-list > li {
        flex: 1 0 25%; /* 每行显示4个 */
        min-width: 120px;
    }
    
    .dropdown-menu li a {
        font-size: 12px;
    }
}

@media screen and (max-width: 725px) {
    .headbackground{
        width: 100%; /* 设置宽度 */
        height: 155px; /* 设置一个明确的高度 */
        background-color: #0250d4;
        background-image: none;
        background-size: cover; /* 确保背景图正确缩放 */
        background-repeat: no-repeat; /* 防止重复 */
        background-size: 100% 100%; /* 强制拉伸填充整个容器 */
    }
}