 /* --- 基础重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; background-color: #f4f4f4; color: #333; line-height: 1.6; }
a { text-decoration: none; color: #333; transition: color 0.3s; }
a:hover { color: #c00; }
ul { list-style: none; }

/* --- 通用工具类 --- */
.container { width: 1200px; margin: 0 auto; padding: 0 15px; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.section-title { font-size: 20px; border-left: 4px solid #c00; padding-left: 10px; margin-bottom: 15px; font-weight: bold; color: #222; }

/* --- 顶部 Header --- */
header { background: #fff; border-bottom: 1px solid #ddd; padding: 5px 0; }
.logo { font-size: 28px; font-weight: bold; color: #c00; letter-spacing: 1px; }
.logo span { color: #666; font-size: 14px; margin-left: 10px; font-weight: normal; }
.search-box input { padding: 8px; border: 1px solid #ddd; width: 250px; }
.search-box button { padding: 8px 15px; background: #c00; color: #fff; border: none; cursor: pointer; }

/* --- 导航 Nav --- */
nav { background: #c00; color: #fff; }
nav ul { display: flex; gap: 20px; }
nav a { color: #fff; font-size: 16px; padding: 12px 0; display: block; }
nav a:hover { background: #a00; }

/* --- 新的顶部布局 (焦点图 + 最新要闻) --- */
.hero-top { padding: 30px 0; background: #fff; margin-bottom: 20px; }
.hero-content { display: flex; gap: 30px; }
.hero-slider { flex: 2; position: relative; height: 350px; overflow: hidden; border-radius: 4px; }
.slides-container { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; height: 350px; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide .title-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; padding: 30px 15px 15px; font-size: 18px; }
.slider-nav { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); }
.slider-btn { background: rgba(0,0,0,0.5); color: white; border: none; font-size: 18px; padding: 10px 15px; cursor: pointer; }
.slider-indicators { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.indicator { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.indicator.active { background: white; }

.side-news { flex: 1;  padding: 20px; }
.side-news .section-title { margin-bottom: 10px; }
.side-news li { margin-bottom: 12px; border-bottom: 1px dashed #ddd; padding-bottom: 12px; }
.side-news li:last-child { border: none; }
.side-news .date { color: #999; font-size: 12px; float: right; }

/* --- 地州新闻 Grid --- */
.prefectures { padding: 20px 0; background: #fff; margin-bottom: 20px; }
.city-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 15px; }
.city-card { background: #f9f9f9; padding: 15px; text-align: center; border: 1px solid #eee; transition: all 0.3s; }
.city-card:hover { border-color: #c00; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.city-card h3 { font-size: 16px; margin-bottom: 10px; color: #c00; }
.city-card p { font-size: 12px; color: #666; line-height: 1.4; }



/* --- 七彩云南板块 (新版) --- */
.yn-travel { padding: 20px 0; background: #fff; margin-bottom: 30px; }
.travel-content { display: flex; gap: 30px; }
.travel-main { flex: 2; }
.travel-side { flex: 1; }
.news-item { display: flex; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.news-item img { width: 160px; height: 110px; object-fit: cover; margin-right: 20px; border-radius: 4px; }
.news-info h4 { font-size: 18px; margin-bottom: 8px; }
.news-info p { color: #666; font-size: 14px; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
		/* --- 三栏模块 (文旅、娱乐、体育) --- */
.triple-modules { display: flex; gap: 30px; margin-bottom: 30px; }
.triple-module { flex: 1; background: #fff; border: 1px solid #ddd; padding: 20px; }
.triple-module .module-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 2px solid #c00; padding-bottom: 5px; }
.triple-module .module-header h3 { font-size: 20px; color: #c00; font-weight: bold; }
.triple-module .module-header .more { font-size: 12px; color: #666;text-align:right; }
.triple-module .image-item { margin-bottom: 15px; }
.triple-module .image-item img { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; }
.triple-module .image-item h4 { font-size: 16px; margin-top: 8px; }
.triple-module .image-item h4 a { color: #333; }
.triple-module .image-item h4 a:hover { color: #c00; }
		
		 /* --- 新文旅模块 --- */
.culture-module { background: #fff; border: 1px solid #ddd; padding: 20px; margin-bottom: 20px; }
.culture-module .module-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 2px solid #c00; padding-bottom: 5px; }
.culture-module .module-header h3 { font-size: 20px; color: #c00; font-weight: bold; }
.culture-module .module-header .more { font-size: 12px; color: #666; text-align:right;}
.culture-main-image { position: relative; margin-bottom: 15px; }
.culture-main-image img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.culture-main-image .title { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.85); color: #222; padding: 10px 15px; font-size: 18px; font-weight: bold; }
       
/* --- 其他新闻模块样式 (国内、国际、教育、普法) --- */
.news-module { background: #fff; border: 1px solid #ddd; padding: 20px; margin-bottom: 20px; }
.module-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 2px solid #c00; padding-bottom: 5px; }
.module-header h3 { font-size: 20px; color: #c00; font-weight: bold; }
.module-header .more { font-size: 12px; color: #666; text-align:right;}
.news-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.news-item-wide { display: flex; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.news-item-wide img { width: 100px; height: 70px; object-fit: cover; border-radius: 2px; }
.news-info-wide h4 { font-size: 16px; margin-bottom: 5px; font-weight: normal; line-height: 1.4; height: 44px; overflow: hidden; }
.news-info-wide p { font-size: 12px; color: #999; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.text-list li { margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-list a { font-size: 14px; }
.text-list a:hover { color: #c00; text-decoration: underline; }

/* --- 底部 Footer --- */
footer { background: #222; color: #999; padding: 40px 0; text-align: center; margin-top: 40px; }
footer p { margin-bottom: 10px; }

/* --- 响应式 --- */
@media (max-width: 1200px) {
    .container { width: 100%; }
    .city-grid { grid-template-columns: repeat(4, 1fr); }
    .hero-content, .travel-content { flex-direction: column; }
    .culture-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .city-grid { grid-template-columns: repeat(2, 1fr); }
    .travel-side { border-left: none; padding-left: 0; margin-top: 20px; }
    .news-item { flex-direction: column; }
    .news-item img { width: 100%; margin-bottom: 10px; }
    .news-list-grid { grid-template-columns: 1fr; }
}
		.logo img{width:300px;height:auto}
		
		 /* --- 栏目标题 --- */
.channel-header { background: #fff; padding: 20px 0; border-bottom: 1px solid #eee; }
.channel-title { font-size: 28px; color: #c00; font-weight: bold; }

/* --- 列表区域 (修改为首页国内新闻样式) --- */
.list-section { padding: 20px 0; }
.news-list { display: flex; flex-direction: column; gap: 15px; } /* 改为列布局，间距为15px */
.news-item-wide { /* 复用首页新闻列表项样式 */
    display: flex; 
    gap: 10px; 
    margin-bottom: 10px; 
    padding-bottom: 10px; 
    border-bottom: 1px solid #f0f0f0; 
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
}
.news-item-wide img { width: 100px; height: 70px; object-fit: cover; border-radius: 2px; }
.news-info-wide h4 { font-size: 16px; margin-bottom: 5px; font-weight: normal; line-height: 1.4; height: 44px; overflow: hidden; }
.news-info-wide h4 a { color: #333; }
.news-info-wide h4 a:hover { color: #c00; }
.news-info-wide p { font-size: 12px; color: #999; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-meta { font-size: 12px; color: #999; margin-top: 5px; }
/* --- 文章主体内容区域 --- */
.article-content { background: #fff; padding: 40px 0; }
.article-body { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.article-meta { margin-bottom: 20px; color: #666; font-size: 14px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.article-meta span { margin-right: 20px; }
.article-title { font-size: 32px; font-weight: bold; color: #222; margin-bottom: 20px; line-height: 1.3; }
.article-text { font-size: 16px; color: #444; line-height: 1.8; }
.article-text p { margin-bottom: 20px; text-indent: 2em; }

/* --- 推荐内容区域 (参考首页国内新闻) --- */
.recommendation-section { padding: 20px 0; background: #fff; margin-top: 20px; }
.recommendation-module { background: #fff; border: 1px solid #ddd; padding: 20px; margin-bottom: 20px; }
.module-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 2px solid #c00; padding-bottom: 5px; }
.module-header h3 { font-size: 20px; color: #c00; font-weight: bold; }
.module-header .more { font-size: 12px; color: #666; }
.news-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.news-item-wide { display: flex; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; }
.news-item-wide img { width: 100px; height: 70px; object-fit: cover; border-radius: 2px; }
.news-info-wide h4 { font-size: 16px; margin-bottom: 5px; font-weight: normal; line-height: 1.4; height: 44px; overflow: hidden; }
.news-info-wide p { font-size: 12px; color: #999; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

