:root {
  --serif: "Noto Serif SC", "Source Han Serif SC", SimSun, serif;
  --red: linear-gradient(#d4202a, #9b0f14);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font: 14px/1.6 "Microsoft YaHei", sans-serif; color: #333; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { width: 100%; height: 100%; object-fit: contain; }
.wrap { width: 1200px; margin: 0 auto; }

/* 头部与导航 */
.banner { height: 640px; background: #3a1510 url(banner.jpg) center / cover no-repeat; }
.nav { background: #ede3d2; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.nav ul { display: flex; justify-content: center; }
.nav li   li { border-left: 1px dashed #c9a77c; }
.nav a { display: block; width: 157px; line-height: 62px; text-align: center; font-size: 18px; font-weight: bold; letter-spacing: 2px; color: #9b1111; }
.nav a:hover { background: #e2d3ba; }

/* 底部 */
footer { padding: 50px 0 60px; text-align: center; font-size: 13px; line-height: 44px; color: #fff; background: linear-gradient(#8c0f14, #6f0a10); }

/* 首页公共 */
section:nth-of-type(odd), .top { background: #f6f0e4; }
section:nth-of-type(even) { background: #fdfbf7; }
section { padding: 55px 0 57px; }
.top { padding: 40px 0 24px; }
.card { background: #fff; border-radius: 8px; box-shadow: 0 2px 12px rgba(120, 70, 30, .1); overflow: hidden; }
a.card { display: block; }

.head { display: flex; align-items: center; margin-bottom: 36px; }
.num { width: 46px; height: 46px; line-height: 46px; margin-right: 14px; text-align: center; font-weight: bold; color: #fff; border-radius: 8px; background: var(--red); box-shadow: 0 3px 8px rgba(155, 15, 20, .35); }
.head h2 { font: bold 32px/1.2 var(--serif); color: #a30d0d; }
.head small { display: block; font: 11px/1.4 Arial, sans-serif; letter-spacing: 2px; color: #d3b48a; }
.head p { margin: 18px 0 0 14px; font-size: 12px; color: #888; }
.more { margin-left: auto; padding: 0 18px; line-height: 30px; font-size: 12px; color: #c8201e; border: 1px solid #c8201e; border-radius: 16px; background: #fff; }
.more:hover { color: #fff; background: #c8201e; }

.tag { display: inline-block; padding: 0 8px; line-height: 20px; font-size: 12px; color: #fff; border-radius: 3px; background: #c8201e; }
.tag.light { color: #b5231c; background: #f9e1dc; }
.tag.gray { color: #8a7a60; background: #f3ead8; }
.pic { position: relative; height: 292px; background: #d8c6a8; }
.body { height: 276px;  padding: 24px 26px; }
.body h3 { font: bold 16px/1.5 "Microsoft YaHei", sans-serif; }
.body p { margin: 12px 0 18px; font-size: 13px; line-height: 1.9; color: #888; }
.foot { display: flex; justify-content: space-between; padding-top: 14px; font-size: 12px; color: #a8793a; border-top: 1px dashed #e3d3b8; }

/* 轮播   要闻 */
.top .wrap { display: grid; grid-template-columns: 640px 1fr; gap: 44px; }
.slider { position: relative; height: 442px; border-radius: 8px; overflow: hidden; background: #d8c6a8; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.slide.on { opacity: 1; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 28px 22px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); }
.cap h3 { font-size: 20px; }
.cap p { font-size: 12px; opacity: .85; }
.dots { position: absolute; right: 22px; bottom: 18px; z-index: 2; display: flex; gap: 7px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .55); cursor: pointer; }
.dots i.on { background: #e0201f; }

.hot { padding: 28px 32px; border-top: 3px solid #b5121b; }
.hot h3 { margin-bottom: 6px; padding-bottom: 14px; font-size: 20px; color: #a30d0d; border-bottom: 1px solid #e6d2b0; }
.hot h3::before { content: ""; display: inline-block; width: 5px; height: 18px; margin-right: 10px; vertical-align: -2px; background: #c8201e; }
.hot li { padding: 13px 0; }
.hot time { color: #c8201e; }
.hot em { padding: 2px 8px; border-radius: 3px; background: #f3ede2; }

/* 文章列表行 */
.rows li { display: flex; align-items: center; gap: 14px; border-bottom: 1px dashed #ddd; }
.rows li:last-child { border: 0; }
.rows time { flex: none; width: 44px; font-size: 13px; font-weight: bold; color: #b88a4a; }
.rows a { flex: 1; min-width: 0; line-height: 1.6; }
.rows a:hover { color: #c8201e; }
.rows em { flex: none; font-size: 12px; font-style: normal; color: #aaa; }
.media { display: flex; flex-direction: column; padding: 12px 28px; }
.media li { flex: 1; }
.media a { font-size: 15px; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 央媒、黔媒 */
.cols { display: grid; grid-template-columns: 460px 1fr; gap: 44px; }
.lead h3 { font: bold 22px/1.5 var(--serif); color: #333; }
.news { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 20px; }
.news li { width:338px; }
.news a {     height: 176px;display: flex; flex-direction: column; width: 100%; padding: 20px 22px; border: 1px solid #efe3cf; border-radius: 6px; background: #fff; }
.news a:hover { box-shadow: 0 2px 12px rgba(120, 70, 30, .15); }
.news .tag { align-self: flex-start; }
.news h4 { margin: 12px 0; font-size: 15px; line-height: 1.6; }
.news p { margin-top: auto; font-size: 12px; color: #b59a76; }

/* 党校动态 */
.party { display: grid; grid-template-columns: 760px 1fr; gap: 40px; }
.big { padding: 28px 32px; border-top: 3px solid #b5121b; }
.big h3 { margin: 16px 0 14px; font: bold 26px/1.4 var(--serif); color: #a30d0d; }
.big p { font-size: 14px; line-height: 2; color: #666; }
blockquote { margin: 18px 0 22px; padding: 14px 20px; font-size: 13px; line-height: 1.9; color: #8a6a3a; border-left: 3px solid #c9a05a; background: #f9f1de; }
.side { display: flex; flex-direction: column; gap: 20px; }
.side a { flex: 1; display: flex; gap: 14px; padding: 22px 20px; }
.ico { flex: none; width: 44px; height: 44px; line-height: 44px; text-align: center; font-size: 18px; color: #fff; border-radius: 8px; background: var(--red); }
.side h4 { margin-bottom: 6px; font-size: 15px; }
.side p { font-size: 12px; line-height: 1.7; color: #999; }

/* 视频专栏 */
.videos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.videos .pic { height: 210px; }
.videos .body { padding: 18px 20px; }

/* 列表页 */
.list { width: 860px; margin: 0 auto; }
.list h2 { height: 67px; padding-top: 30px; font-size: 24px; line-height: 1.4; color: #a30d0d; }
.list li { height: 101px; line-height: 100px; font-size: 16px; border-bottom: 1px dashed #b9a88e; }
.list li a::before { content: ""; display: inline-block; margin-right: 12px; vertical-align: middle; border: 4px solid transparent; border-left: 7px solid #1a8cdc; }
.list li a:hover { color: #c8201e; }
.pager { padding: 52px 0 60px; text-align: center; font-size: 13px; color: #666; }
.pager a { margin: 0 5px; }
.pager b { color: #222; }

/* 详情页 */
.detail { width: 1000px; margin: 0 auto; padding-top: 60px; }
.detail h1 { font-size: 32px; line-height: 1.4; text-align: center; color: #333; }
.meta { margin: 50px 0 12px; text-align: right; font-size: 12px; color: #999; }
.detail p { margin-bottom: 18px; font-size: 18px; line-height: 35px; text-align: justify; text-indent: 2em; color: #666; }
.close-box { padding: 60px 0; text-align: right; }
.close { padding: 0 12px; line-height: 20px; font-size: 12px; color: #666; border: 1px solid #e5e5e5; border-radius: 10px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); cursor: pointer; }
.close::before { content: "✖ "; color: #7cb305; }
