/* 
 * 温州新闻网 - 统一样式表
 * 风格：权威地方新闻门户
 * 配色：#004098 (新闻蓝), #c00000 (政务红), #333333 (正文黑)
 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", Arial, sans-serif; font-size: 14px; color: #333; line-height: 1.6; background: #f8f8f8; }
a { text-decoration: none; color: #333; transition: 0.2s; }
a:hover { color: #c00000; }
ul { list-style: none; }
img { max-width: 100%; border: none; }
.container { width: 1200px; margin: 0 auto; }
.clearfix::after { content: ""; display: block; clear: both; }

/* 头部 */
.top-bar { background: #004098; color: #fff; padding: 5px 0; font-size: 12px; }
.top-bar .container { display: flex; justify-content: space-between; }
.top-bar a { color: #fff; margin-left: 15px; }

.header { background: #fff; padding: 25px 0; border-bottom: 3px solid #c00000; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo h1 { color: #004098; font-size: 32px; font-weight: bold; border-left: 8px solid #c00000; padding-left: 15px; }
.logo span { color: #c00000; font-size: 16px; display: block; margin-left: 20px; }

.search-box { display: flex; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.search-box input { border: none; padding: 8px 15px; outline: none; width: 250px; }
.search-box button { background: #c00000; color: #fff; border: none; padding: 0 20px; cursor: pointer; }

/* 导航 */
.nav { background: #004098; }
.nav ul { display: flex; }
.nav li a { display: block; padding: 12px 25px; color: #fff; font-size: 16px; font-weight: bold; }
.nav li a:hover, .nav li.active a { background: #c00000; }

/* 首页布局 */
.main-wrap { margin-top: 20px; display: grid; grid-template-columns: 850px 330px; gap: 20px; }
.white-box { background: #fff; padding: 20px; border: 1px solid #eee; margin-bottom: 20px; }

/* 焦点图与头条 */
.hero-news { display: flex; gap: 20px; margin-bottom: 20px; }
.hero-slide { width: 450px; height: 300px; background: #ddd; position: relative; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .title { position: absolute; bottom: 0; background: rgba(0,0,0,0.7); color: #fff; width: 100%; padding: 10px; font-size: 14px; }
.hero-text { flex: 1; }
.hero-text h2 { font-size: 24px; color: #c00000; margin-bottom: 10px; }
.hero-text p { color: #666; font-size: 14px; margin-bottom: 15px; }

/* 列表样式 */
.news-list li { border-bottom: 1px dashed #eee; padding: 10px 0; display: flex; justify-content: space-between; }
.news-list li span { color: #999; font-size: 12px; }

/* 栏目标题 */
.sec-title { border-bottom: 2px solid #004098; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 5px; }
.sec-title h3 { border-left: 4px solid #c00000; padding-left: 10px; font-size: 18px; color: #004098; }

/* 列表页 */
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 20px; }
.item-card { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; }
.item-img { width: 200px; height: 130px; flex-shrink: 0; }
.item-info h2 { font-size: 20px; margin-bottom: 10px; }
.item-info p { color: #666; height: 44px; overflow: hidden; }

/* 内容页 */
.art-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.art-header h1 { font-size: 28px; color: #333; margin-bottom: 15px; }
.art-meta { font-size: 13px; color: #999; }
.art-meta span { margin: 0 10px; }
.art-body { font-size: 16px; line-height: 1.8; color: #333; }
.art-body p { margin-bottom: 20px; }

/* 底部 */
.footer { background: #333; color: #ccc; padding: 40px 0 20px; margin-top: 40px; text-align: center; }
.footer-links { margin-bottom: 20px; }
.footer-links a { color: #ccc; margin: 0 10px; }
.copyright { border-top: 1px solid #444; padding-top: 20px; font-size: 12px; }
