/* ============================================
   固废综合利用网 全局样式
   ============================================ */
:root {
  --primary: #218dd7;
  --primary-dark: #176fae;
  --primary-light: #5cb0e1;
  --green: #68b851;
  --orange: #ff9900;
  --text: #333;
  --text-gray: #777;
  --text-light: #999;
  --border: #e5e5e5;
  --bg: #f4f7fa;
  --header-h: 110px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

.container { width: 1200px; margin: 0 auto; }
.fl { float: left; } .fr { float: right; }
.clearfix::after { content: ''; display: block; clear: both; }
.tc { text-align: center; }

/* ========== 顶部通栏 ========== */
.topbar {
  background: #f2f6fa;
  border-bottom: 1px solid #e8eef4;
  font-size: 12px;
  color: var(--text-gray);
  height: 32px;
  line-height: 32px;
}
.topbar a { margin: 0 8px; color: var(--text-gray); }
.topbar a:hover { color: var(--primary); }
.topbar .hotline { color: var(--primary-dark); font-weight: 600; }

/* ========== 头部 ========== */
.header {
  background: #fff;
  padding: 18px 0;
}
.logo { display: flex; align-items: center; }
.logo-mark {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 14px;
  box-shadow: 0 4px 12px rgba(33, 141, 215, .25);
  flex-shrink: 0;
}
.logo-mark svg { width: 38px; height: 38px; }
.logo-text h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 2px;
  line-height: 1.25;
}
.logo-text p {
  font-size: 12px;
  color: var(--text-gray);
  letter-spacing: 3px;
  margin-top: 2px;
}

/* 搜索区 */
.header-right { padding-top: 6px; }
.header-links { text-align: right; margin-bottom: 12px; font-size: 12px; color: var(--text-light); }
.header-links a { margin: 0 6px; color: var(--text-gray); }
.header-links a:hover { color: var(--primary); }
.search-box { display: flex; width: 300px; border: 2px solid var(--primary); border-radius: 4px; overflow: hidden; }
.search-box select {
  border: none; outline: none; background: #f0f7fc;
  color: var(--primary-dark); font-size: 13px; padding: 0 8px; cursor: pointer;
}
.search-box input {
  flex: 1; border: none; outline: none; padding: 8px 10px; font-size: 13px;
}
.search-box button {
  width: 56px; border: none; background: var(--primary); color: #fff;
  font-size: 14px; cursor: pointer; letter-spacing: 2px;
}
.search-box button:hover { background: var(--primary-dark); }

/* ========== 导航栏 ========== */
.nav {
  background: var(--primary);
  height: 52px;
  position: relative;
  z-index: 200;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.nav > .container { height: 100%; display: flex; }
.nav-item { position: relative; flex: 1; }
.nav-item > a {
  display: flex; align-items: center; justify-content: center;
  height: 52px; color: #fff; font-size: 16px; font-weight: 500;
  position: relative;
}
.nav-item > a::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 3px; background: #fff; transform: translateX(-50%);
  transition: width .25s;
}
.nav-item:hover > a, .nav-item.active > a { background: var(--primary-dark); }
.nav-item:hover > a::after, .nav-item.active > a::after { width: 60%; }
.nav-sub {
  position: absolute; top: 52px; left: 0; right: 0;
  background: #fff; min-width: 150px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  border-radius: 0 0 4px 4px;
  display: none; padding: 6px 0;
}
.nav-item:hover .nav-sub { display: block; }
.nav-sub a {
  display: block; padding: 9px 16px; font-size: 13px;
  color: var(--text); white-space: nowrap; text-align: center;
}
.nav-sub a:hover { background: #eaf4fb; color: var(--primary); }

/* ========== 轮播图 ========== */
.banner {
  position: relative; height: 460px;
  width: 1200px; max-width: 96%; margin: 0 auto;
  overflow: hidden; background: #dce7f0;
}
.banner-slides { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.banner-slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: opacity .8s;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.banner-slide.active { opacity: 1; }
.banner-slide a { display: block; width: 100%; height: 100%; }
.banner-slide::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(0,30,60,0) 45%, rgba(0,30,60,.65) 100%);
}
.banner-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 0 54px; z-index: 2;
}
.banner-caption h2 {
  color: #fff; font-size: 24px; font-weight: 600;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
  max-width: 960px;
  text-align: center;
}
.banner-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.banner-dots span {
  width: 28px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.45); cursor: pointer; transition: background .3s;
}
.banner-dots span.active { background: #fff; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,0,0,.25); color: #fff; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; cursor: pointer; user-select: none;
  transition: background .3s;
}
.banner-arrow:hover { background: rgba(33,141,215,.7); }
.banner-arrow.prev { left: 26px; }
.banner-arrow.next { right: 26px; }

/* ========== 快捷入口 ========== */
.quick { background: #fff; padding: 22px 0 8px; }
.quick-list { display: flex; justify-content: space-between; }
.quick-item {
  flex: 1; text-align: center; padding: 10px 6px;
  border-right: 1px dashed #e3e9ef;
}
.quick-item:last-child { border-right: none; }
.quick-ico {
  width: 52px; height: 52px; margin: 0 auto 8px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: #eaf4fb;
}
.quick-item:nth-child(2n) .quick-ico { background: #eef8eb; }
.quick-item span { font-size: 14px; color: var(--text); }
.quick-item:hover .quick-ico { transform: translateY(-3px); transition: transform .25s; }

/* ========== 通用板块标题 ========== */
.section { padding: 36px 0; }
.section.bg { background: var(--bg); }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.sec-title { display: flex; align-items: center; }
.sec-title .bar {
  width: 6px; height: 26px; background: linear-gradient(var(--primary), var(--primary-light));
  border-radius: 3px; margin-right: 12px;
}
.sec-title h3 { font-size: 22px; font-weight: 700; color: var(--text); }
.sec-title .en { font-size: 12px; color: var(--text-light); margin-left: 12px; letter-spacing: 1px; text-transform: uppercase; }
.sec-more { font-size: 13px; color: var(--text-gray); }
.sec-more:hover { color: var(--primary); }

/* 选项卡 */
.tab-head { display: flex; border-bottom: 2px solid var(--primary); }
.tab-head li {
  padding: 10px 26px; font-size: 17px; font-weight: 600; cursor: pointer;
  color: var(--text-gray); background: #f0f4f8; margin-right: 4px;
  border-radius: 6px 6px 0 0;
}
.tab-head li.active { background: var(--primary); color: #fff; }

/* ========== 新闻列表通用 ========== */
.news-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0 11px 16px; position: relative;
  border-bottom: 1px dashed #e8e8e8;
}
.news-list li::before {
  content: ''; position: absolute; left: 2px; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-light); transform: translateY(-50%);
}
.news-list li:hover::before { background: var(--orange); }
.news-list a {
  flex: 1; font-size: 15px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  padding-right: 16px;
}
.news-list li:hover a { color: var(--primary); }
.news-list .date { color: var(--text-light); font-size: 13px; font-family: Arial; flex-shrink: 0; }
.news-list .tag {
  display: inline-block; font-size: 11px; padding: 1px 6px; border-radius: 3px;
  margin-right: 8px; vertical-align: 1px; flex-shrink: 0;
}
.tag-hot { background: #fff0e8; color: #f08030; }
.tag-new { background: #e9f7e6; color: #4d9a36; }

/* ========== 首页：焦点+政策 行 ========== */
.focus-row { display: flex; gap: 24px; }
.focus-card {
  width: 560px; position: relative; border-radius: 8px; overflow: hidden;
  height: 380px; cursor: pointer;
}
.focus-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.focus-card:hover img { transform: scale(1.05); }
.focus-card::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(0,20,40,0) 40%, rgba(0,20,40,.75) 100%);
}
.focus-card .fc-title {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 18px; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.5;
}
.focus-thumbs { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ft-item { cursor: pointer; }
.ft-item .img { width: 100%; height: 158px; border-radius: 6px; overflow: hidden; }
.ft-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ft-item:hover img { transform: scale(1.06); }
.ft-item p {
  margin-top: 8px; font-size: 14px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ft-item:hover p { color: var(--primary); }

.policy-row { display: flex; gap: 24px; margin-top: 36px; }
.policy-box { flex: 1; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.policy-box .pb-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; background: linear-gradient(90deg, #f2f8fd, #fff);
  border-bottom: 1px solid #edf2f7;
}
.policy-box .pb-head h4 { font-size: 17px; color: var(--primary-dark); display: flex; align-items: center; }
.policy-box .pb-head h4::before { content: ''; width: 4px; height: 16px; background: var(--primary); margin-right: 9px; border-radius: 2px; }
.policy-box .pb-head .more { font-size: 12px; color: var(--text-light); }
.policy-box .news-list { padding: 4px 18px 10px; }
.policy-box .news-list a { font-size: 14px; }

/* ========== 12 业务领域 ========== */
.fields-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.field-card {
  background: #fff; border: 1px solid #e8eef4; border-radius: 8px;
  padding: 18px; transition: all .25s;
}
.field-card:hover {
  box-shadow: 0 10px 28px rgba(33,141,215,.13);
  border-color: #cfe6f7; transform: translateY(-4px);
}
.fc-top { display: flex; align-items: center; margin-bottom: 12px; }
.fc-ico {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  margin-right: 10px;
}
.field-card:nth-child(3n) .fc-ico { background: linear-gradient(135deg, var(--green), #8fce7c); }
.fc-top h4 { font-size: 16px; font-weight: 700; }
.fc-top .more { margin-left: auto; font-size: 12px; color: var(--text-light); }
.fc-top .more:hover { color: var(--primary); }
.field-card .news-list li { padding: 7px 0 7px 12px; }
.field-card .news-list li::before { width: 5px; height: 5px; left: 0; }
.field-card .news-list a {
  font-size: 13px; font-weight: 400;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  white-space: normal;
}
.field-card .news-list .date { display: none; }

/* ========== 行业报告 ========== */
.report-row { display: flex; gap: 20px; }
.report-card {
  flex: 1; background: #fff; border-radius: 8px; overflow: hidden;
  border: 1px solid #e8eef4; transition: all .25s;
}
.report-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-4px); }
.report-card .img { height: 230px; overflow: hidden; }
.report-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.report-card:hover img { transform: scale(1.05); }
.report-card .txt { padding: 16px; }
.report-card h4 {
  font-size: 15px; margin-bottom: 8px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.report-card p {
  font-size: 12.5px; color: var(--text-gray); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.report-card .rm { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--primary); }

/* ========== 会员单位 ========== */
.member-wall {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.member-wall li {
  background: #fff; border: 1px solid #e8eef4; border-radius: 6px;
  height: 64px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 10px; font-size: 14px; color: #555;
  transition: all .2s;
}
.member-wall li:hover {
  border-color: var(--primary-light); color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(33,141,215,.1);
}

/* ========== 友情链接 ========== */
.friendlinks { background: var(--bg); padding: 26px 0; border-top: 1px solid #e8eef4; }
.fl-box { display: flex; align-items: flex-start; flex-wrap: wrap; }
.fl-box .fl-label {
  font-weight: 700; color: var(--text); margin-right: 18px; line-height: 30px;
}
.fl-box .fl-label::before { content: '🔗 '; }
.fl-list { display: flex; flex-wrap: wrap; flex: 1; }
.fl-list a {
  display: inline-block; margin: 0 20px 8px 0; font-size: 13px;
  color: var(--text-gray); line-height: 30px;
}
.fl-list a:hover { color: var(--primary); }

/* ========== 页脚 ========== */
.footer {
  background: #163a5c; color: #b8c9d8; padding: 42px 0 0;
}
.footer-top { display: flex; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-col h5 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; color: #b8c9d8; font-size: 13px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary-light); }
.footer-about { width: 380px; }
.footer-about .logo-text h1 { color: #fff; font-size: 22px; }
.footer-about .logo-text p { color: #8fb0ca; letter-spacing: 2px; }
.footer-about p.desc { font-size: 13px; line-height: 1.9; margin-top: 14px; color: #9fb8cc; }
.footer-qr { text-align: center; }
.footer-qr .qr {
  width: 108px; height: 108px; background: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
  font-size: 40px;
}
.footer-qr p { font-size: 12px; color: #9fb8cc; }
.footer-bottom {
  text-align: center; padding: 18px 0; font-size: 12.5px; color: #7e9bb3;
}
.footer-bottom p { margin-bottom: 4px; }

/* ========== 内页：面包屑 & 横幅 ========== */
.page-banner {
  height: 240px; position: relative;
  background: linear-gradient(120deg, #145a91, #2f9fdb);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(255,255,255,.14) 0, transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(255,255,255,.1) 0, transparent 30%);
}
.page-banner h2 {
  color: #fff; font-size: 34px; letter-spacing: 6px; font-weight: 700;
  position: relative; text-shadow: 0 3px 12px rgba(0,0,0,.25);
}
.page-banner p { color: rgba(255,255,255,.8); text-align: center; letter-spacing: 4px; margin-top: 8px; position: relative; }
.crumb { font-size: 13px; color: var(--text-gray); padding: 14px 0; border-bottom: 1px solid #eee; }
.crumb a:hover { color: var(--primary); }

/* ========== 列表页布局 ========== */
.list-wrap { display: flex; gap: 26px; padding: 30px 0 50px; }
.side { width: 250px; flex-shrink: 0; }
.side-box { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 22px; }
.side-box h4 {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 16px; padding: 14px 18px;
}
.side-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px; font-size: 14.5px; border-bottom: 1px solid #f0f0f0;
  color: var(--text);
}
.side-nav a:last-child { border-bottom: none; }
.side-nav a::after { content: '›'; color: #bbb; font-size: 18px; }
.side-nav a:hover, .side-nav a.active { background: #eaf4fb; color: var(--primary); font-weight: 600; }
.side-contact { padding: 18px; font-size: 13.5px; color: var(--text-gray); line-height: 2; }

.list-main { flex: 1; min-width: 0; }
.list-main .lm-head {
  border-bottom: 2px solid var(--primary); padding-bottom: 12px; margin-bottom: 8px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.list-main .lm-head h3 { font-size: 22px; color: var(--primary-dark); }
.list-main .lm-head span { font-size: 12px; color: var(--text-light); letter-spacing: 1px; }
.list-main .news-list li { padding: 15px 0 15px 18px; }
.list-main .news-list a { font-size: 15.5px; }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #ddd; border-radius: 4px; font-size: 14px; color: #555;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ========== 详情页 ========== */
.detail { padding: 30px 0 60px; max-width: 960px; margin: 0 auto; }
.detail h1 { font-size: 27px; line-height: 1.5; text-align: center; font-weight: 700; }
.detail-meta {
  text-align: center; color: var(--text-light); font-size: 13px;
  padding: 16px 0; margin: 18px 0 26px; border-bottom: 1px solid #eee;
}
.detail-meta span { margin: 0 12px; }
.detail-body { font-size: 16px; color: #2b2b2b; line-height: 2; }
.detail-body p { margin-bottom: 22px; text-indent: 2em; }
.detail-body .lead {
  background: #f4f9fd; border-left: 4px solid var(--primary-light);
  padding: 16px 20px; text-indent: 0; border-radius: 0 6px 6px 0;
  color: #444; font-size: 15px;
}
.detail-foot {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee;
  display: flex; justify-content: space-between; font-size: 14px;
}
.detail-foot a { color: var(--text-gray); max-width: 45%; }
.detail-foot a:hover { color: var(--primary); }

/* ========== 关于页 ========== */
.about-wrap { padding: 36px 0 60px; }
.about-section { margin-bottom: 40px; display: flex; gap: 34px; align-items: center; }
.about-section:nth-child(even) { flex-direction: row-reverse; }
.about-section .img { width: 460px; height: 300px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.about-section .img img { width: 100%; height: 100%; object-fit: cover; }
.about-section .txt h3 { font-size: 21px; color: var(--primary-dark); margin-bottom: 14px; }
.about-section .txt h3::before { content: ''; display: inline-block; width: 5px; height: 19px; background: var(--primary); margin-right: 10px; border-radius: 3px; vertical-align: -2px; }
.about-section .txt p { color: #444; line-height: 2; margin-bottom: 10px; font-size: 15px; }

.stat-row { display: flex; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 10px; padding: 36px 20px; margin-bottom: 44px; }
.stat-item { flex: 1; text-align: center; color: #fff; }
.stat-item .num { font-size: 38px; font-weight: 700; font-family: Arial; }
.stat-item p { font-size: 14px; opacity: .9; margin-top: 6px; letter-spacing: 2px; }

/* ========== 响应式 ========== */
@media (max-width: 1240px) {
  .container { width: 96%; }
  .fields-grid { grid-template-columns: repeat(3, 1fr); }
  .member-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .focus-row, .policy-row, .report-row, .about-section, .about-section:nth-child(even) { flex-direction: column; }
  .focus-card { width: 100%; }
  .fields-grid { grid-template-columns: repeat(2, 1fr); }
  .member-wall { grid-template-columns: repeat(3, 1fr); }
  .list-wrap { flex-direction: column; }
  .side { width: 100%; }
  .about-section .img { width: 100%; }
  .nav > .container { overflow-x: auto; }
}
