/*通用样式*/
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

li {
	list-style: none;
}

.after::after {
	content: "";
	display: block;
	clear: both;
}
@font-face {font-family: "SourceHan";
			src:
			url('../fonts/bb4171.ttf') format('truetype'),
			url('../fonts/bb4171.eot') format('embedded-opentype'),
			url('../fonts/bb4171.woff2') format('woff2'),
			url('../fonts/bb4171.woff') format('woff'),
			url('../fonts/bb4171.svg') format('svg');
			}
body{
font-family: "SourceHan", sans-serif;
}

.left {
	float: left;
}

.right {
	float: right;
}
.margin{
	margin-top: 20px;
}
/*header*/
header {
	background: url(../images/banner5.png) no-repeat;
	min-height: 350px;
	background-size: 100%;
}

.head {
	width: 1200px;
	margin: 0 auto;
}

.logo {
	padding-top: 50px;
}

/*搜索框*/
.search-form {
	position: relative;
	align-items: center;
	height: 40px;
	border-radius: 30px;
	overflow: hidden;
	width: 300px;
}

.search-input {
	flex: 1;
	height: 100%;
	padding: 0 20px;
	font-size: 16px;
	border: none;
	outline: none;
	background-color: rgba(0, 0, 0, 0.3);
	/* 黑色背景，40%透明度 */
	color: white;
	width: 300px;
}

/* 新增占位符样式 */
.search-input::-webkit-input-placeholder {
	/* Chrome/Safari */
	color: white;
}

.search-input::-moz-placeholder {
	/* Firefox 19+ */
	color: white;
}

.search-input:-ms-input-placeholder {
	/* IE/Edge */
	color: white;
}

.search-input:-moz-placeholder {
	/* Firefox 18- */
	color: white;
}

.search-btn {
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 40px;
	border: none;
	outline: none;
	background-color: white;
	border-radius: 50%;
	cursor: pointer;
}

.search-icon {
	width: 24px;
	height: 24px;
	fill: #a51c30;
	/* 图标颜色与背景主色一致 */
}
.by{
	text-align: center;
	margin-top: 30px;
}
/*导航栏*/
nav {
            background-color: #fff;
			height: 80px;
			border-top-right-radius:30px ;
			border-top-left-radius:30px ;
			margin-top: 24px;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .nav-list {
            display: flex;
            align-items: center;
            list-style: none;
			padding-top: 20px;
        }

        .nav-list li {
            margin-right:35px;
          padding-bottom: 15px;
        }

        .nav-list li .nav-item{
            text-decoration: none;
            color: #333;
            font-size: 20px;
			font-weight: bold;
			padding-bottom: 20px;
        }

        .nav-list .active{
            color: #dc143c;
            border-bottom: 7px solid #dc143c;
          	margin-bottom:-7px;
        }

.dropdown {
            position: relative; /* 为下拉菜单提供定位参考 */
            display: inline-block;
        }
        .dropdown-content {
            display: none;
            position: absolute; /* 相对于 .dropdown 定位 */
            background-color: #ffffff;
            min-width: 120px;
            box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
            z-index: 1;
            top: 100%; /* 显示在父元素下方 */
            left: -17px;
    text-align: center;
        }
.nav-list .dropdown a.nav-item[href*="zhuanlan.html"] + .dropdown-content {
  display: none !important;
}

.nav-list .dropdown a.nav-item[href*="zhuanlan.html"]:hover + .dropdown-content {
  display: none !important;
}
        .dropdown-content a {
            color: #333;
            padding: 10px 5px;
            text-decoration: none;
            display: block;
          font-size: 18px;
    font-weight: bold;
        }
        .dropdown-content a:hover {
            background-color: #f5f5f5; /* 悬停菜单项背景色 */
        }
        .dropdown:hover .dropdown-content {
            display: block; /* 鼠标悬停父元素时显示下拉内容 */
        }
        /* 关键：确保鼠标在下拉菜单上时，父元素的 :hover 状态不丢失 */
        .dropdown:hover {
            z-index: 2; /* 提升层级避免遮挡 */
        }
        .report-btn {
            margin-left: auto;
            padding: 6px 20px;
            background-color: #dc143c;
            color: #fff;
            text-decoration: none;
            border-radius: 20px;
            font-size: 14px;
            transition: background-color 0.3s;
			margin-bottom: 20px;
        }

        .report-btn:hover {
            background-color: #b22222;
        }
		footer{
			background: #f9fafb;
		}
.link-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        .main-link {
            font-size: 16px;
            color: #999;
            margin-right: 15px;
        }
        .sub-link {
            margin: 10px 0;
        }
        .sub-link a {
            margin-right: 20px;
          margin-bottom: 10px;
            display: inline-block;
            font-size: 16px;
            color: #333;
            text-decoration: none; /* 去掉默认下划线 */
            transition: color 0.3s; /* 鼠标悬停动画过渡 */
        }
        .sub-link a:hover {
            color: #0066cc; /* 鼠标悬停变色 */
        }
.footer-container {
            background-color: #cc0000;
            color: white;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 50px;
        }
        .logo-box, .qr-code-box {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
		.qr-code-box img{
			border:2px solid #fff;
		}
        .info-box p {
            margin: 5px 0;
            font-size: 16px;
        }
		.info-box a{
			color: #fff;
		}
       .footer-container img {
            max-width: 100%;
            height: auto;
        }
.link-title {
            display: inline-block;
            padding: 5px 10px;
            cursor: pointer;
            margin-right: 5px;
			font-size: 16px;
			color: #999;
			margin-right: 15px;
        }
.link-container .active{
	font-size: 20px;
	            font-weight: bold;
	            margin-bottom: 10px;
				color: #000;
}
        .link-content {
            margin-top: 5px;
        }
       