﻿
/* 基础样式重置 */
.fb_container * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 主容器 */
.fb_containerDel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 横幅图片 */
.fb_banner {
  width: 100%;
  margin-bottom: 10px;
}

.fb_banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 内容容器 */
.fb_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 20px;
}

/* 标题样式 */
.fb_title {
  font-size: 24px;
  color: #444444;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 2px solid #eee;
  margin-bottom: 25px;
}

/* 网格系统 */
.fb_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: -15px;
}

/* 卡片组件 */
.fb_card {
  display: flex;
  flex-direction: column;
  background: #fff;
  /*
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease; */
  overflow: hidden;
}



.fb_desc_cmd{
    border: 1px solid #d3d4d4;
    background: #fff;
    color: #535252;
  }

.fb_desc_cmd:hover{
    background: #007564;
    color: white;}

/* 图片容器 */
.fb_img-boxa {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:15px;
  background-color:#f6f6f6;
  margin-top: -10px;
}



.fb_img-boxa img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;  
}


.fb_img-box {
  position: relative;  /* 添加定位上下文 */
  height: 300px;
  padding: 15px;
  background-color: #f6f6f6;
  margin-top: -10px;
  overflow: hidden;    /* 防止图片溢出 */
}

.fb_img-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 保持比例并填满容器 */
  top: 0;
  left: 0;
}


/* 文字内容 */
.fb_text {
  margin-top: -10px;
}

.fb_text_c{
  margin-top: -5px;
}

.fb_subtitle {
  font-size: 18px;
  color: #222;
  margin-bottom: 12px;
}

.fb_desc {
  font-size: 14px;
  min-height: 55px;
  padding: 10px 0px 0 0px;

  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 响应式适配 */
@media (max-width: 992px) {
  .fb_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .fb_grid {
    grid-template-columns: 1fr;
  }
  
  .fb_title {
    font-size: 20px;
  }
}

