/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo img {
    max-height: 60px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

/* 导航样式 */
.nav ul {
    display: flex;
    list-style: none;
    background-color: #00b378;
    border-radius: 4px;
}

.nav li {
    flex: 1;
    text-align: center;
}

.nav a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav a:hover {
    background-color: #009966;
}

/* 主内容区域 */
.main-content {
    display: flex;
    margin: 20px 0;
}

.content {
    flex: 1;
    margin-right: 20px;
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 侧边栏样式 */
.sidebar {
    width: 300px;
}

.sidebar-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    margin-bottom: 15px;
    color: #00b378;
    border-bottom: 2px solid #00b378;
    padding-bottom: 8px;
}

.sidebar-section ul {
    list-style: none;
}

.sidebar-section li {
    margin-bottom: 10px;
}

.sidebar-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-section a:hover {
    color: #00b378;
}

.contact-section p {
    margin-bottom: 10px;
    color: #666;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #00b378;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 首页轮播 */
.banner {
    position: relative;
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: auto;border-radius: 5px;
}

.banner-content {
text-align: center;
  color: #000;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  padding: 25px;
}

.banner h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #00b378;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #009966;
}

/* 服务项目 */
.service-section {
    margin-bottom: 40px;
}

.service-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.service-items {
display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.service-item {
    flex: 1;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.service-item h3 {
    margin-bottom: 10px;
    color: #00b378;
}

/* 服务流程 */
.process-section {
    margin-bottom: 40px;
}

.process-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #00b378;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.process-step h3 {
    margin-bottom: 10px;
    color: #333;
}

/* 服务地区 */
.area-section {
    margin-bottom: 40px;
}

.area-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.area-list ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 15px;
}

.area-list li {
    flex: 1;
    min-width: 100px;
}

.area-list a {
    display: block;
    padding: 10px 15px;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.area-list a:hover {
    background-color: #00b378;
    color: #fff;
}

/* 常见问题 */
.faq-section {
    margin-bottom: 40px;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.faq-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.faq-item {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: #00b378;
}

/* 最新文章 */
.news-section {
    margin-bottom: 40px;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    flex: 1;
    min-width: 250px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

.news-item h3 {
    margin-bottom: 10px;
}

.news-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-item h3 a:hover {
    color: #00b378;
}

.news-meta {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.news-meta span {
    margin-right: 15px;
}

/* 文章列表 */
.list-section h2 {
    margin-bottom: 30px;
    color: #333;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-image {
    flex: 0 0 200px;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.article-content {
    flex: 1;
}

.article-content h3 {
    margin-bottom: 10px;
}

.article-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-content h3 a:hover {
    color: #00b378;
}

.article-meta {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.article-meta span {
    margin-right: 15px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f9f9f9;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination a:hover {
    background-color: #00b378;
    color: #fff;
}

.pagination a.current {
    background-color: #00b378;
    color: #fff;
}

/* 内容页 */
.show-section h1 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.article-body {
    margin: 30px 0;
    line-height: 1.8;
    padding: 15px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}

.prev-next {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.prev-next a {
    color: #00b378;
    text-decoration: none;
}

.prev-next a:hover {
    text-decoration: underline;
}

.related-articles {
    margin-top: 40px;
}

.related-articles h3 {
    margin-bottom: 20px;
    color: #333;
}

.related-list {
display: grid;
  grid-template-columns: repeat(2, 1fr);
gap: 30px 60px;
  padding: 20px;
  margin: 20px 30px;
  list-style: none;
}

.related-item {
    flex: 1;
    min-width: 200px;
}

.related-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    }
.related-item h3{}
.related-item a:hover {
    color: #00b378;
}
.related-item p {color: #777 !important;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-indent: 2em;}
/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer h3 {
    margin-bottom: 20px;
    color: #00b378;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #00b378;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    font-size: 14px;
    color: #ccc;
    
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 手机端样式 */
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .nav ul {
        flex-direction: column;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .content {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .sidebar {
        width: 100%;
        display: none;
    }
    
    .banner h1 {
        font-size: 24px;
    }
    
    .banner p {
        font-size: 14px;
    }
    
    .service-items,
    .process-steps,
    .faq-items,
    .news-list,
    .article-list {
        flex-direction: column;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-image {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .prev-next {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .sidepc {
        display: none;
    }
    
    .service-items {
display: grid;
  gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}
 .related-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
 }
    
}

@media (min-width: 1021px) {
  .sidepc {
    position: fixed;
    right: 20px;
    top: 15%;
    z-index: 1000;
    border-bottom:0;
    text-align: center;
    border:1px solid #005be3;
    padding:15px 20px 0px 20px;
    background-color: #fff;
  }
  .mzixun{display:none;}
}
@media (max-width: 1021px) {
     .sidepc {display: none;}
}
.sitezixun {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-bottom: 110px;
  line-height: 25px;
}
.mzixun {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 50%;
  -webkit-transform:
translate3d(-50%,0,0);
  transform: translate3d(-50%,0,0);
  overflow:hidden;
  background-color: #fff;
  border-top:#eceded;
  -webkit-box-shadow:0 0 4px rgba(0,0,0,.2);
  box-shadow: 0 0 4px rgba(0,0,0,.2);
z-index: 9999;
padding: 20px 0px 20px 0px;
}
.mzixun li {
  float: left;
  width: 33.33%;
  text-align: center;
  height: 100%;
  margin-top: 5px;
  list-style: none;
}

.mzixun p{
  font-size: 15px;
  padding-top: 5px;
text-align: center;
color: #000;
}
@media (max-width: 480px) {
  li {
    font-size: 0.85em;
  }
}
mzixun ul li a {
    color: #2f2f2f !important;
}
@media (min-width: 1021px) {
  .m-button {
    display: none;
  }
  .sitezixun {
    display: none;
  }
}

.news-item p{display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;}
#city {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 一行四列，每列等宽 */
  gap: 8px; /* 项目之间的间距，可调整 */
  padding: 0;
  margin: 0;
  list-style: none; /* 去掉默认圆点 */
}

#city li {
  /* 让每个 li 自适应宽度 */
}

#city a {
  display: block;
  padding: 6px 8px;
  text-align: center;
  background: #f7f7f7;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.2s;
}

#city a:hover {
  background: #e0e0e0;
}
li {list-style: none;}
.related-articles img{width:100%;border-radius:5px;}