
/* 业务中心 */
.business {
    padding: 60px max(20px, calc((100% - 1200px)/2));
    background: #fff;
}
.section-title {
    text-align: center;
    font-size: 25px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #801a1e;
}
.business-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.business-item {
    cursor: pointer;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
}
.business-item:hover {
    transform: translateY(-5px);
}
.business-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.business-item span {
    font-size: 18px;
    color: #333;
    font-weight: 800;
    line-height: 40px;
}
/* 云丰新闻 */
.news {
    padding: 60px max(20px, calc((100% - 1200px)/2));
    background: #f8f9fa;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.news-item {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s;
}
.news-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.news-item img {
width: auto;
    height: 88px;
    object-fit: contain;
    flex-shrink: 0;
}
.news-content {
    flex: 1;
    overflow: hidden;
    width: 148px;
}
.news-content a {
    color: #000000;
    font-size: 16px;
    transition: color 0.3s;
    padding-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
    font-weight: 800;
}
.news-d {
    font-size: 14px;
    margin-bottom: 5px;
    color: #a9a9a9;
}
.news-content a:hover {
    color: #409eff;
}
.news-content .date {
    font-size: 14px;
    color: #999;
}
/* 客户案例 */
.case {
    padding: 60px max(20px, calc((100% - 1200px)/2));
    background: #063050;
}
.case .section-title {
    color: #fff;
}
.case .section-title::after {
    background: #fff;
}
.case-container {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.case-tabs {
    width: 250px;
    background: #d7d7d7;
}
.case-tab {
    padding: 20px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: background 0.3s;
    border-left: 3px solid transparent;
}
.case-tab.active {
    background: #DFC39B;
    color: #fff;
    border-left-color: #801A1E;
}
.case-tab:hover:not(.active) {
    background: #d9ecff;
}
.case-content {
    flex: 1;
    padding: 30px;
}
.case-panel {
    display: none;
}
.case-panel.active {
    display: block;
}
.case-panel h4 {
    font-size: 22px;
    color: #801a1e;
    margin-bottom: 10px;
}
.case-panel .desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}
.case-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.case-list span {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s;
}
.case-list span:hover {
    color: #409eff;
}
/* 服务优势 */
.service {
    padding: 60px max(20px, calc((100% - 1200px)/2));
    background: #f8f9fa;
}
.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.service-item {
    text-align: center;
    /* gap: 15px; */
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}
.service-item .title {
    font-size: 18px;
    color: #000000;
    margin-bottom: 10px;
}
.service-item .num {
    font-size: 28px;
    color: #801a1e;
    font-weight: bold;
    margin-bottom: 10px;
}
.service-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
/* 我们的客户 */
.customer {
    padding: 60px max(20px, calc((100% - 1200px)/2));
    background: #fff;
}
.customer-desc {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}
.customer-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    grid-auto-flow: row;
    justify-content: space-between;
}
.customer-item {
    background: #fff;
    box-shadow: 0 0 4px 0 #dfdfdf;
    margin-top: 10px;
    padding: 5px;
}
.customer-item img {
    width: auto;
    height: 120px;
    display: block;
    margin: 0 auto;
}
.customer-item span {
height: 30px;
    line-height: 30px;
    display: block;
    text-align: center;
}
.more-btn {
    display: block;
    width: 120px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 auto;
    background: #063050;
    color: #ffffff;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}
.more-btn:hover {
    background: #d9ecff;
}
/* 新闻动态模块全局样式 */
.news-section {
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 60px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.decor {
  display: flex;
  align-items: center;
}

.decor-circle {
  width: 8px;
  height: 8px;
  border: 1px solid #c9cdd4;
  border-radius: 50%;
  flex-shrink: 0;
}

.decor-line {
  width: 60px;
  height: 1px;
  background-color: #c9cdd4;
}

.section-header h2 {
  font-size: 32px;
  color: #222222;
  margin: 0;
  font-weight: 600;
}

.section-header p {
  color: #666666;
  font-size: 14px;
  margin: 0;
}

.news-container {
  display: flex;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* 强制三个模块宽度统一为1/3，不会被内容撑大 */
.news-column {
  flex: 0 0 33.333%;
  padding: 15px;
  box-sizing: border-box;
  width: 33%;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

.column-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 20px;
}

.column-title h3 {
  font-size: 18px;
  color: #222222;
  position: relative;
  padding-left: 12px;
  margin: 0;
  font-weight: 600;
}

.column-title h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  bottom: 3px;
  width: 3px;
  background-color: #007bff;
}

.more-link {
  font-size: 14px;
  color: #666666;
  text-decoration: none;
}

.more-link:hover {
  color: #007bff;
}

/* 第一个栏目：左图右文，超长标题自动截断，不会撑大模块 */
.img-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.img-news-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #eeeeee;
  width: 100%;
  box-sizing: border-box;
}

.news-item-img {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.news-item-text {
  flex: 1;
  width: 100%;
  overflow: hidden;
}

.news-title {
  font-size: 16px;
  color: #222222;
  margin: 0 0 6px 0;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  display: block;
}

.news-title:hover {
  color: #007bff;
}

.news-item-date {
  font-size: 14px;
  color: #999999;
  display: block;
}

/* 第二、三个栏目：纯文字标题，超长标题自动截断 */
.text-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.text-news-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #eeeeee;
}

.text-news-list li a {
  font-size: 16px;
  color: #333333;
  text-decoration: none;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-news-list li a:hover {
  color: #007bff;
}
/* 移动端自适应 - 业务模块（轮播、业务中心、云丰新闻、客户案例、服务优势、我们的客户） */
@media (max-width: 768px) {

    .business, .news, .case, .service, .customer {
        padding: 30px 10px;
    }
    .section-title {
        font-size: 24px;
    }
    .business-list {
        grid-template-columns: 1fr;
    }
    .business-item img {
        height: 150px;
    }
    .news-list {
        grid-template-columns: 1fr;
    }
    .case-container {
        flex-direction: column;
    }
    .case-tabs {
        width: 100%;
        display: flex;
        overflow-x: auto;
    }
    .case-tab {
        flex-shrink: 0;
        padding: 10px 15px;
        font-size: 14px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    .case-tab.active {
        border-left: none;
        border-bottom: 3px solid #409eff;
    }
    .case-content {
        padding: 15px;
    }
    .case-panel h4 {
        font-size: 18px;
    }
    .case-list {
        grid-template-columns: 1fr;
    }
    .service-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .customer-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
      .news-section {
    padding: 40px 15px;
  }

  .title-wrap .decor-line {
    width: 40px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .news-container {
    flex-direction: column;
  }

  .news-column {
    flex: 0 0 100%;
    margin-bottom: 30px;
    width: 100%;
  }

  .news-column:last-child {
    margin-bottom: 0;
  }
}
