*{list-style-type:none;text-decoration:none;border-width:0;margin:0;padding:0}
a:hover{color:#FF362D;text-decoration:underline}
input,button,select,textarea{outline:none;}
a:link,a:active,a:visited{color:#333}
.txt1:link,.txt1:active,.txt1:visited,.txt1:hover{color:#fff}
input,button,select,textarea {outline:none;}y
html{font-size:20px;font-family:"Microsoft Yahei";height: 100vh;overflow-x:hidden;}
body{background-color: #efefef;}

#Main{width:750px;overflow-x:hidden;margin-left: auto;margin-right: auto;background-color: #fff;}
#slider{width:750px;height:420px;margin:0px;position:relative;overflow: hidden;}
.slider_list li{position:absolute;display:none;}
.slider_list li:first-child{display:block;}
.slider_icon{position:absolute;z-index:1;left:45%;bottom:20px;font-size:0;padding:4px 8px;border-radius:12px;background-color:hsla(0,0%,100%,.3);}
.slider_icon i{display:inline-block;width:12px;height:12px;border-radius:50%;margin:0 5px;}
.btn{background:#fff;}
.arrow{display:none;width:30px;height:60px;background-color:rgba(0,0,0,.2);position:absolute;top:50%;margin-top:-30px;}
.prve{left:0;}
.next{right:0;}
.arrow span{display:block;width:10px;height:10px;border-bottom:2px solid #fff;border-left:2px solid #fff;}
.slider_left{margin:25px 0 0 10px;transform:rotate(45deg);}
.slider_right{margin:25px 0 0 5px;transform:rotate(-135deg);}
.arrow:hover{background:#444;}
#slider:hover .arrow{display:block;}
.btn_act{background:#db192a;}

.title-container {
  padding-top: 100px;
  padding-bottom: 50px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-image: url('https://lfmd.wang10.com/FixImg/bg4.PNG');
background-size: 750px 100px;
background-repeat: no-repeat;
background-position: 0px 0px;
}


.main-title {
  font-size: 40px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  position: relative;
  z-index: 2;
}

.sub-title {
  font-size: 26px;
  color: #666;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

/* 底部提示样式 */
.end-tip {
  text-align: center;
  color: #ccc;
  font-size: 24px;
 padding-top: 0px;
 padding-bottom: 160px;
  margin-top: 20px;

}
/* 修改后的分类导航样式 */
.category-container {
  margin-left: 50px;
}

.category-item {
  height: 200px;
  width: 650px;
  margin-bottom: 40px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 10px rgba(0,0,0,0.2);
  background: #ECECEC; /* 灰色背景 */
  color: #000; /* 黑色字体 */
  transition: all 0.3s ease;
}

.category-image {
  width: 180px;
  height: 200px;
  border-radius: 30px 0 0 30px;
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.category-content {
  position: absolute;
  left: 220px; /* 增加与图片的间距 */
  top: 0px;
  z-index: 2;
  width: 360px;
  height: 200px;
 
}

.category-content dl{
  
  width: 360px;
  height: 200px;
  display: flex;
  flex-direction: column;    /* 上下排列 */
  justify-content: center;    /* 整体垂直居中 */
  /* 可选：水平居中加下面一行 */
  /* align-items: center; */
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.category-name {
  font-size: 30px;
    width: 360px;
 
  margin-bottom: 20px;
}

.category-btm {
  /* 删掉 width: 400px */
  display: inline-block; /* 宽度自适应内部按钮，不再占满整行 */
  position: relative;
 
}

.detail-btn {
  width: auto;
  display: inline-block;
  padding: 6px 16px;
  background: #000; /* 黑色背景 */
  color: #FFF; /* 白色文字 */
  border-radius: 20px;
  font-size: 22px; /* 更小的字体 */
  font-family: Arial, sans-serif; /* 英文专用字体 */
}

.arrow-icon {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  z-index: 2;
  color: #666;
}

.page-head {
  display: flex;
  align-items: center;
  height: 98px;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0 15px;
  width: 720px;
  margin-left: auto;
  margin-right: auto;
  position: sticky;
  top: 0;
  z-index: 99;
}
.back-btn {
  font-size: 32px;
  color: #333;
  cursor: pointer;
  padding: 0 20px;
   line-height:98px;
   height:98px;
   overflow: hidden;
}
.back-btn font{
  font-size: 32px;
  color: #fff;
 background-color: #333;
 font-weight: bold;
 padding-top: 6px;
 padding-bottom: 6px;
 padding-left: 10px;
 padding-right: 10px;
 border-radius: 50px;
 margin-right: 20px;
}

.container {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}

.waterfall {
  display: flex;
  justify-content: space-between;
  width: 710px;
  margin: 30px auto;
}

.column {
  width: 48%;
}

.card {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  overflow: hidden; /* 裁切溢出，圆角生效 */
  cursor: pointer;
}

.card img {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* 图片预览遮罩弹窗 */
.preview-mask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.preview-mask img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}

/* 适配手机屏幕 */
@media (max-width: 710px) {
  .waterfall {
    width: 96%;
    margin: 15px auto;
  }
}