/* ========== 基础重置 ========== */
*,*::before,*::after{box-sizing:border-box;}
:root{
  --blue:#1b5fb0;
  --blue-l:#2f7ad1;
  --blue-d:#134a8c;
  --red:#c81f2e;
  --ink:#1f2a37;
  --text:#3d4552;
  --muted:#8b95a4;
  --line:#e9edf3;
  --bg:#f2f5f9;
  --radius:8px;
  --shadow:0 2px 12px rgba(20,60,120,.07);
}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font:14px/1.65 "Microsoft YaHei","PingFang SC","Hiragino Sans GB",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}
a{color:inherit;text-decoration:none;transition:color .18s;}
a:hover{color:var(--red);}
img{display:block;max-width:100%;border:0;}
ul,ol,li{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,p{margin:0;}

.wrap{width:100%;max-width:1180px;margin:0 auto;padding:0 20px;}

/* ========== 顶部 Banner ========== */
.banner{
  height:320px;
  background:#1b5fb0 url('https://www.slrbs.com/skin/jubao2/images/banner.jpg') center/cover no-repeat;
}

/* ========== 导航 ========== */
.nav{
  background:var(--blue);
  position:sticky;
  top:0;
  z-index:99;
  box-shadow:0 2px 10px rgba(19,74,140,.25);
}
.nav-list{display:flex;flex-wrap:wrap;justify-content:center;}
.nav-list li a{
  display:block;
  padding:0 32px;
  line-height:50px;
  font-size:16px;
  color:rgba(255,255,255,.88);
  position:relative;
}
.nav-list li a::after{
  content:"";
  position:absolute;
  left:50%;bottom:0;
  transform:translateX(-50%);
  width:0;height:3px;
  background:#ffd04b;
  transition:width .25s ease;
}
.nav-list li a:hover{color:#fff;background:rgba(255,255,255,.1);}
.nav-list li a:hover::after,
.nav-list li a.active::after{width:60%;}
.nav-list li a.active{color:#fff;font-weight:700;}

/* ========== 主容器 ========== */
.main{display:flex;flex-direction:column;gap:20px;padding-top:20px;padding-bottom:20px;}

/* ========== 举报指南图片 ========== */
.guide{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.guide-item{
  display:block;
  border-radius:var(--radius);
  overflow:hidden;
  background:#e7eef8;
  box-shadow:var(--shadow);
}
.guide-item img{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  transition:transform .4s ease;
}
.guide-item:hover img{transform:scale(1.05);}

/* ========== 通用卡片 ========== */
.card{
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:50px;
  padding:0 18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#fbfcfe,#f5f8fc);
}
.card-head h2{
  position:relative;
  padding-left:12px;
  font-size:16px;
  font-weight:700;
  color:var(--blue);
  line-height:1;
}
.card-head h2::before{
  content:"";
  position:absolute;
  left:0;top:50%;
  transform:translateY(-50%);
  width:4px;height:16px;
  border-radius:2px;
  background:var(--red);
}
.card-head .more{font-size:12px;color:var(--muted);}
.card-head .more:hover{color:var(--red);}
.card-body{padding:18px;}

/* ========== 头条 + 工作动态 ========== */
.top-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:20px;
}
.hero{
  position:relative;
  display:block;
  min-height:320px;
  border-radius:var(--radius);
  overflow:hidden;
  background:#dbe4f0;
  box-shadow:var(--shadow);
}
.hero img{
  position:absolute;
  inset:0;
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .5s ease;
}
.hero:hover img{transform:scale(1.05);}
.hero-mask{
  position:absolute;
  left:0;right:0;bottom:0;
  padding:48px 18px 16px;
  background:linear-gradient(transparent,rgba(0,0,0,.78));
  color:#fff;
}
.hero-mask h3{
  font-size:17px;
  font-weight:600;
  line-height:1.5;
  color:#fff;
}

/* ========== 焦点图轮播 ========== */
.hero-slider{
  position:relative;
  min-height:320px;
  border-radius:var(--radius);
  overflow:hidden;
  background:#dbe4f0;
  box-shadow:var(--shadow);
}
.hero-slider .hero{
  position:absolute;
  inset:0;
  min-height:0;
  opacity:0;
  visibility:hidden;
  transition:opacity .7s ease;
  box-shadow:none;
  border-radius:0;
  z-index:0;
}
.hero-slider .hero.active{
  opacity:1;
  visibility:visible;
  z-index:1;
}

/* 轮播指示点（右下角，蓝色） */
.hero-dots{
  position:absolute;
  right:18px;
  bottom:14px;
  display:flex;
  gap:8px;
  z-index:5;
}
.hero-dots button{
  width:10px;
  height:10px;
  padding:0;
  border:2px solid rgba(255,255,255,.85);
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  transition:all .25s ease;
}
.hero-dots button:hover{
  background:rgba(255,255,255,.6);
}
.hero-dots button.active{
  background:#1b5fb0;
  border-color:#1b5fb0;
  transform:scale(1.2);
}

/* 法律法规无标题图时自动占满整行 */
.news-item.no-thumb .info{width:100%;}

.news-list{padding:6px 18px 10px;}
.news-list li{border-bottom:1px dashed var(--line);}
.news-list li:last-child{border-bottom:0;}
.news-list li a{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 2px;
  font-size:14px;
}
.news-list li a::before{
  content:"";
  flex:none;
  width:4px;height:4px;
  border-radius:50%;
  background:#c3ccda;
  transition:background .2s;
}
.news-list li a:hover::before{background:var(--red);}
.news-list li a span{
  flex:1;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* ========== 公告横幅 ========== */
.notice-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.notice-item{
  display:block;
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
}
.notice-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.notice-item:hover img{transform:scale(1.03);}

/* ========== 内容区：主体 + 侧栏 ========== */
.content-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:20px;
  align-items:start;
}
.content-main,
.content-side{display:flex;flex-direction:column;gap:20px;}

.news-item{
  display:flex;
  gap:16px;
  padding:16px 0;
  border-bottom:1px dashed var(--line);
}
.news-item:first-child{padding-top:0;}
.news-item:last-child{padding-bottom:0;border-bottom:0;}
.news-item .thumb{
  flex:0 0 168px;
  height:112px;
  border-radius:6px;
  overflow:hidden;
  background:#e7eef8;
}
.news-item .thumb img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.news-item:hover .thumb img{transform:scale(1.06);}
.news-item .info{flex:1;min-width:0;}
.news-item h3{
  font-size:16px;
  font-weight:600;
  line-height:1.5;
  color:var(--ink);
  margin-bottom:8px;
  transition:color .18s;
}
.news-item:hover h3{color:var(--red);}
.news-item p{
  font-size:13px;
  line-height:1.75;
  color:var(--muted);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* 来源 / 时间 */
.news-item .meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 16px;
  margin-top:8px;
  font-size:12px;
  color:var(--muted);
}
.news-item .meta span{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.news-item .meta span::before{
  content:"";
  width:3px;
  height:3px;
  border-radius:50%;
  background:#c3ccda;
}
.news-item .meta span:first-child::before{display:none;}

/* 侧栏列表 */
.side-list{padding:8px 16px;}
.side-list li{border-bottom:1px dashed var(--line);}
.side-list li:last-child{border-bottom:0;}
.side-list li a{
  display:block;
  position:relative;
  padding:11px 0 11px 14px;
  font-size:13px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.side-list li a::before{
  content:"";
  position:absolute;
  left:0;top:19px;
  width:5px;height:5px;
  background:#b9c5d6;
  border-radius:1px;
  transform:rotate(45deg);
  transition:background .2s;
}
.side-list li a:hover::before{background:var(--red);}

/* 联系方式卡片 */
.contact .contact-item{
  padding:12px 14px;
  margin-bottom:12px;
  border-left:3px solid var(--blue);
  border-radius:0 6px 6px 0;
  background:linear-gradient(135deg,#f5f9ff,#eaf2fe);
}
.contact .contact-item:last-child{margin-bottom:0;}
.contact .name{
  display:block;
  font-size:13px;
  color:#5a6b82;
  margin-bottom:4px;
}
.contact .tel{
  display:block;
  font-family:Arial,"Microsoft YaHei",sans-serif;
  font-size:20px;
  font-weight:700;
  letter-spacing:.5px;
  color:var(--red);
}

/* ========== 辟谣 / 科普 区块 ========== */
.feature-grid{display:flex;flex-direction:column;gap:20px;}
.feature-body{
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:24px;
}
.feature-img{
  display:block;
  border-radius:6px;
  overflow:hidden;
  background:#e7eef8;
}
.feature-img img{
  width:100%;
  height:180px;
  object-fit:cover;
  transition:transform .4s ease;
}
.feature-img:hover img{transform:scale(1.05);}
.feature-title{
  display:block;
  padding-top:10px;
  font-size:14px;
  font-weight:600;
  line-height:1.5;
  color:var(--ink);
}
.feature-title:hover{color:var(--red);}

.dot-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:26px;
  align-content:start;
}
.dot-list li{border-bottom:1px dashed var(--line);}
.dot-list li a{
  display:flex;
  align-items:center;
  gap:8px;
  padding:11px 0;
  font-size:14px;
}
.dot-list li a::before{
  content:"";
  flex:none;
  width:4px;height:4px;
  border-radius:50%;
  background:#c3ccda;
  transition:background .2s;
}
.dot-list li a:hover::before{background:var(--red);}
.dot-list li a span{
  flex:1;min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* ========== 友情链接 ========== */
.links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 18px;
  padding:16px 20px;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.links-title{
  flex:none;
  font-size:15px;
  font-weight:700;
  color:var(--blue);
  padding-left:12px;
  position:relative;
  line-height:1;
}
.links-title::before{
  content:"";
  position:absolute;
  left:0;top:50%;
  transform:translateY(-50%);
  width:4px;height:15px;
  border-radius:2px;
  background:var(--red);
}
.links-body{display:flex;flex-wrap:wrap;}
.links-body a{
  padding:0 16px;
  font-size:13px;
  color:#5a6b82;
  border-right:1px solid var(--line);
}
.links-body a:last-child{border-right:0;}

/* ========== 页脚 ========== */
.footer{
  margin-top:6px;
  padding:28px 0;
  background:#1c2a3d;
  color:#9fb0c6;
  font-size:13px;
  text-align:center;
}
.footer .f-title{
  display:block;
  font-size:15px;
  font-weight:600;
  color:#fff;
  margin-bottom:10px;
}
.footer .f-line{margin-top:5px;}

/* ========== 响应式 ========== */
@media (max-width:1024px){
  .content-grid{grid-template-columns:1fr;}
  .content-side{flex-direction:row;flex-wrap:wrap;}
  .content-side>.card{flex:1 1 300px;}
}
@media (max-width:860px){
  .top-grid{grid-template-columns:1fr;}
  .hero{min-height:220px;}
  .hero-slider{min-height:220px;}
  .notice-row{grid-template-columns:1fr;}
  .feature-body{grid-template-columns:1fr;}
  .dot-list{grid-template-columns:1fr;}
  .guide{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .wrap{padding:0 12px;}
  .banner{height:120px;}

  /* 导航横向滑动，不换行 */
  .nav{overflow:hidden;}
  .nav-list{
    flex-wrap:nowrap;
    justify-content:flex-start;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    -ms-overflow-style:none;
    padding:0 8px;
  }
  .nav-list::-webkit-scrollbar{display:none;}
  .nav-list li{flex:0 0 auto;}
  .nav-list li a{
    padding:0 16px;
    line-height:46px;
    font-size:14px;
    white-space:nowrap;
  }

  /* 幻灯片与导航拉开距离 */
  .top-grid{margin-top:10px;}

  .guide{grid-template-columns:1fr;}
  .news-item{flex-direction:column;gap:12px;}
  .news-item .thumb{flex:none;width:100%;height:160px;}
  .news-item .meta{font-size:11px;gap:4px 12px;}
  .card-body{padding:14px;}
  .news-list{padding:4px 14px 8px;}
}