/* 通用样式 */
body {
	background-color: #e9f0fa;
	margin: 0;
	padding: 0;
}

/* 页面容器 */
.page-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	background-color: white;
    overflow: hidden;
}

/* 头部导航 */
.topnew-nav {
	background-color: #01499b;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.topnew-nav a {
	color: #fff;
	text-decoration: none;
	padding: 15px 6px;
	font-size: 20px;
}

/* 当前位置和搜索栏 */
.location-search {
	background-color: #f8f8f8;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px;
}

.location {
	display: flex;
	align-items: center;
}

.location a {
	color: #3a3a3a;
	text-decoration: none;
	margin-right: 10px;
}

.search input {
	height: 27px;
	line-height: 27px;
	border: 1px solid #5fa4cb;
	width: 286px;
	color: #6a6a6a;
	font-family: "Microsoft YaHei", "微软雅黑";
	font-size: 14px;
}

/* 文章标题和更新时间 */
.article-title {
	text-align: center;
	margin-top: 30px;
	font-size: 25px;
	font-weight: bold;
	color: #d20000;
}

.update-time {
	text-align: center;
	background-color: #e8e8e8;
	padding: 10px;
	margin: 20px 30px;
}

/* 文章内容 */
.article-content {
	padding: 20px;
	line-height: 35px;
	color: #3a3a3a;
	font-size: 16px;
}

/* 底部信息 */
.footer {
	background-color: #01499b;
	text-align: center;
	padding: 20px;
	color: #fff;
}

/* 栏目页 */

/* 日期显示样式 */
.date-container {
    display: flex;
    align-items: center;
    margin: 10px;
    padding: 10px;
    background-color: #f8f8f8;
    color: #1b5097;
    font-size: 16px;
}

.date-container img {
    margin-right: 10px;
}

/* 新闻列表容器样式 */
.news-container {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
}

.sidebar {
    width: 20%;
    min-width: 240px;
    margin-right: 20px;
}

.sidebar-title {
    background-color: #01499b;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 22px;
}

.news-content {
    width: calc(80% - 60px);
    min-width: 300px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #0b5fab;
}

.news-title {
    color: #0d63b0;
    font-size: 18px;
    font-weight: bold;
}

.news-location {
    font-size: 14px;
}

.news-location a {
    color: #3a3a3a;
    text-decoration: none;
}

.news-location a:hover {
    color: #d20000;
}

.news-list {
    margin-top: 20px;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #b7c2e0;
}

.news-item img {
    margin-right: 10px;
}

.news-item a {
    color: #3a3a3a;
    text-decoration: none;
    flex-grow: 1;
    font-size: 16px;
}

.news-item a:hover {
    color: #d20000;
}

.news-date {
    color: #8d8d8d;
    font-size: 14px;
}

/* 手机端适配 */
@media (max-width: 768px) {
	.top {
		background-size: cover;
		background-position: top 0px left 22%;
		height: 120px;
	}

    .topnew-nav {
        display: none;
    }

	.topnew-nav a {
		font-size: 16px;
		padding: 10px;
	}

	.location-search {
		flex-direction: column;
	}

	.search {
		margin-top: 10px;
	}

	.search input {
		width: 100%;
	}
	
	.footer p {
		font-size: 14px;
		line-height: 24px;
	}

    /* 栏目页 */

    /*.sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }*/

    .sidebar, .news-location {
        display: none;
    }

    .news-content {
        width: 100%;
    }

    .news-date {
        min-width: 90px;
        padding-right: 10px;
    }
}