
/* 全局字体统一匹配参考样式 */
.material-section{
  max-width:1200px;
  margin:50px auto;
  padding:0 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* 匹配参考样式的系统无衬线字体 */
}
/* 主标题：匹配 Why Choose DiZiK 的标题样式 */
.material-main-title{
  text-align:center;
  font-size: 32px; /* 匹配参考标题大小 */
  font-weight: 700; /* 匹配参考标题粗度 */
  color: #333; /* 匹配参考标题深灰 */
  margin-bottom: 16px;
  line-height: 1.2;
}
/* 副标题：匹配参考段落样式 */
.material-main-subtitle{
  text-align:center;
  font-size: 18px; /* 匹配参考正文大小 */
  color: #666; /* 匹配参考正文灰色 */
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
}
.material-grid{
  display:flex;
  gap:25px;
  justify-content:center;
  flex-wrap:wrap;
}
.material-card{
  width:350px;
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,0.05);
  transition:all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 580px; /* 固定卡片高度保证按钮对齐 */
}
.material-card:hover{
  transform:translateY(-5px);
}
.img-box{
  width:100%;
  height:200px;
  overflow:hidden;
}
.img-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.4s ease;
}
.material-card:hover .img-box img{
  transform:scale(1.08);
}
.card-body{
  padding:25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-content-wrap{
  flex: 1;
}
/* 卡片内标题：匹配品牌视觉调性+参考字体体系 */
.card-title{
  font-size: 20px; /* 匹配整体字体层级 */
  font-weight: 600; /* 略粗但不夸张 */
  color: #2e967f; /* 保留品牌绿 */
  margin:0 0 8px 0;
  line-height: 1.3;
}
/* 卡片内副标题：匹配参考正文样式 */
.card-tagline{
  font-size: 16px; /* 匹配参考正文大小 */
  color: #888;
  margin-bottom: 16px;
  line-height: 1.5;
  font-weight: 400;
}
/* 卡片内描述：匹配参考正文样式 */
.card-desc{
  font-size: 16px; /* 匹配参考正文大小 */
  line-height: 1.6; /* 匹配参考行高 */
  color: #666; /* 匹配参考正文灰色 */
  margin-bottom: 20px;
  font-weight: 400;
}
/* 按钮：保留紧凑长度+品牌色 */
.card-btn{
  display:inline-block;
  padding: 9px 20px; /* 紧凑长度 */
  background:#2e967f;
  color:#fff;
  font-size:14px;
  border-radius:4px;
  text-decoration:none;
  box-sizing: border-box;
  width: fit-content; /* 仅包裹文字 */
  text-align: center;
  margin-top: auto;
  display: block;
}
.card-btn:hover{
  background:#1e7d63;
}
/* 移动端适配 */
@media(max-width:768px){
  .material-card{
    width:100%;
    height: auto;
  }
  .material-main-title{
    font-size: 28px; /* 移动端标题适配 */
  }
  .material-main-subtitle{
    font-size: 16px; /* 移动端副标题适配 */
  }
}
