.content_nnp
{
	width: 980px;
	margin: 10px auto 0;
	display: flex;
	/*gap: 10px;*/
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	font-family: Arial, sans-serif;
	font-size: 15px;
	text-align: left;
}

.news
{
	margin: 0;
	width: 620px;
	padding: 20px;
	background-color: #e8f4fd;
	border-right: 1px solid #ddd;
}

.news h2
{
	margin-top: 0;
	color: #2c66a8;
	border-bottom: 2px solid #2c66a8;
	padding-bottom: 10px;
}

.tabs
{
	width: 360px;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
}

.tab-buttons
{
	display: flex;
	width: 360px;
	background-color: #f0f0f0;
	border-bottom: 1px solid #ddd;
}

.tab-button
{
	flex: 1;
	padding: 12px;
	text-align: center;
	cursor: pointer;
	background-color: #f0f0f0;
	border: none;
	border-right: 1px solid #ddd;
	font-weight: bold;
	color: #666;
	transition: all 0.3s ease;
}

.tab-button:last-child
{
	border-right: none;
}

.tab-button.active
{
	background-color: #2c66a8;
	color: white;
}

.tab-button:hover:not(.active)
{
	background-color: #d0d0d0;
}

.tab-content
{
	width: 360px;
	flex: 1;
	/* 移除滚动条 */
	overflow-y: visible;
	
}

.notice, .police
{
	display: none;
	border-radius: 4px;
	height: 100%;
}

.notice.active, .police.active
{
	display: block;
}

.notice
{
	background-color: #fff8e1;
}

.police
{
	background-color: #e8f5e9;
}

ul
{
	padding-left: 20px;
	margin: 0;
}

li
{
	margin-bottom: 8px;
	line-height: 1.5;
}

/* 超链接美化样式 */
li a
{
	text-decoration: none; /* 移除默认下划线 */
	color: #2c66a8;
	transition: all 0.3s ease;
	position: relative;
	padding-right: 5px;
	font-size: 14px;
}

li a:hover
{
	font-size: 14px;
	color: #ff6b6b;
	text-decoration: none; /* 确保悬停时也不显示默认下划线 */
}

li a::after
{
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 1px;
	background-color: #ff6b6b;
	transition: width 0.9s ease;
}

li a:hover::after
{
	width: 100%;
}

/* 对于带日期的列表项链接样式 */
li[style*="display: flex"]
{
	align-items: center;
	justify-content: space-between;
}

li[style*="display: flex"] a
{
	flex: 1;
	padding-right: 10px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

li[style*="display: flex"] span
{
	flex-shrink: 0;
	color: #666;
	font-size: 0.9em;
}
