/* ================= 基础 ================= */
*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 1200px;
  font-family: "Microsoft YaHei", sans-serif;
  color: #111;
  background: #fff;
  overflow-x: hidden;
}

img{
  max-width: 100%;
}

/* ================= 导航 ================= */
.navbar{
  background-color: rgb(0, 132, 183);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 9999;
}

.nav-container{
  width: 1200px;
  display: flex;
  align-items: center;
}

.logo{
  height: 58px;
  display: block;
}

.nav-menu{
  display: flex;
  margin-left: auto;
  gap: 40px;
  align-items: center;
}

.nav-item{
  color: white;
  font-weight: 600;
  text-decoration: none;
  font-size: 16px;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  height: 100px;
}

.nav-item:hover{
  opacity: 0.8;
}

/* ================= 下拉菜单 ================= */
.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu{
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  z-index: 99999;
}

.dropdown-menu::before{
  content: "";
  position: absolute;
  left: 0;
  top: -8px;
  width: 100%;
  height: 8px;
}

.dropdown-item{
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-top: 1px solid #f2f2f2;
}

.dropdown-item:hover{
  background: #f6f8fa;
  color: rgb(0,132,183);
}

.nav-dropdown:hover .dropdown-menu{
  display: flex;
}

/* ================= 横幅 ================= */
.page-banner{
  width: 100%;
  min-width: 1200px;
  overflow: hidden;
}

.page-banner img{
  width: 100%;
  height: auto;
  display: block;
}

/* ================= 面包屑 ================= */
.breadcrumb{
  width: 1200px;
  margin: 18px auto 22px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a{
  text-decoration: none;
  color: rgb(0,132,183);
}

/* ================= 主体布局 ================= */
.news-wrapper{
  width: 1200px;
  margin: 0 auto 80px;
  display: flex;
  gap: 40px;
}

/* 左侧栏 */
.news-sidebar{
  width: 260px;
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 左侧盒子 */
.side-box{
  border: 1px solid #eee;
  padding: 18px;
  background: #fff;
}

.side-title{
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111;
}

.side-line{
  height: 1px;
  background: #eee;
  margin: 14px 0;
}

/* 分类项 */
.side-item{
  display: block;
  padding: 10px 0;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px dashed #eee;
}

.side-item:last-child{
  border-bottom: none;
}

.side-item:hover{
  color: rgb(0,132,183);
}

.side-item.active{
  font-weight: 700;
}

/* 联系方式 */
.contact-box p{
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.contact-img{
  width: 100%;
  display: block;
  margin-bottom: 16px;
}

/* 右侧内容 */
.news-content{
  flex: 1;
  min-width: 0;
}

.news-title{
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
}

.news-subtitle{
  font-size: 13px;
  color: #888;
  font-weight: normal;
  margin-left: 8px;
}

/* 新闻列表 */
.news-list{
  display: flex;
  flex-direction: column;
}

.news-item{
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed #e8e8e8;
  text-decoration: none;
  color: inherit;
}

.news-item:hover .news-h3{
  color: rgb(0,132,183);
}

/* 左文字区 */
.news-text{
  flex: 1;
  min-width: 0;
}

.news-h3{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-desc{
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* 右侧日期+圆图 */
.news-meta{
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.news-date{
  font-size: 12px;
  color: #999;
  white-space: nowrap;
}

/* 圆形缩略图 */
.news-thumb{
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #eee;
  background: #f7f7f7;
  flex: 0 0 74px;
}

.news-thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 分页 */
.news-pager{
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #444;
}

.pager-left{
  display: flex;
  align-items: center;
  gap: 10px;
}

.pager-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: #333;
  text-decoration: none;
}

.pager-btn:hover{
  border-color: rgb(0,132,183);
  color: rgb(0,132,183);
}

.pager-right{
  display: flex;
  align-items: center;
  gap: 8px;
}

.pager-input{
  width: 64px;
  height: 28px;
  border: 1px solid #d9d9d9;
  outline: none;
  padding: 0 6px;
}

.pager-confirm{
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d9d9d9;
  background: #fff;
  cursor: pointer;
}

.pager-confirm:hover{
  border-color: rgb(0,132,183);
  color: rgb(0,132,183);
}

/* ================= 底部模块 ================= */
.footer-section{
  width: 100%;
  min-width: 1200px;
  background: rgb(0,132,183);
  padding-top: 28px;
  padding-bottom: 20px;
}

.footer-container{
  width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1.4fr 1fr 1.2fr 120px;
  gap: 22px;
  align-items: start;
  color: #fff;
}

.footer-logo img{
  width: 84px;
  display: block;
}

.footer-qrcode img{
  width: 110px;
  display: block;
  background: #fff;
  padding: 5px;
}

.footer-title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

.footer-col p{
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.95;
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li{
  margin-bottom: 10px;
  font-size: 13px;
  transition: opacity .2s ease;
}

.footer-list li:hover{
  opacity: 0.85;
}

.footer-btn{
  margin-top: 8px;
  width: 120px;
  height: 34px;
  border: 1px solid #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  transition: all .25s ease;
}

.footer-btn:hover{
  background: #fff;
  color: rgb(0,132,183);
}

.footer-divider{
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.35);
  margin-top: 18px;
}

.footer-bottom-wrap{
  width: 100%;
}

.footer-bottom{
  width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom-left p{
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #fff;
}

.footer-beian{
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-beian a{
  color: #fff;
  text-decoration: none;
}

.footer-beian a:hover{
  text-decoration: underline;
}

.footer-gongan{
  display: inline-flex;
  align-items: center;
}

.footer-gongan img{
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.footer-bottom-right a{
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}

.footer-bottom-right a:hover{
  text-decoration: underline;
}
