/* 页面背景 */
.bg {
  background-color: #f5f5f5;
  background-image: url('../images/首页背景.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  padding-bottom: 20px;
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
}

.bg::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/首页背景.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* 确保所有内容元素在背景之上 */
.main_container {
  position: relative;
  z-index: 1;
}

/* 顶部样式 */
.top_tit {
  font-size: 18px;
  color: #167f41;
  text-align: center;
  margin: 10px 0;
  font-weight: 600;
}

.top_tit.logo {
  font-size: 24px;
  margin-top: 20px;
}

/* 顶部图片 */
.main_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
  justify-content: flex-start;
}

.top_img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 20px 0 0 0;
  object-fit: contain;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

body > img:first-child {
  display: none;
}

.index_box {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 0 0 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.index_name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  text-align: center;
}

/* 产品图片样式 */
.pro_box {
  background-color: transparent;
  border: none;
  outline: none;
  border-radius: 0;
  padding: 0;
  margin: 40px 0 30px 0;
  box-shadow: none;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.pro_img {
  width: 80%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
}

/* 底部导航样式 */
.index_bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 35px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 15px;
  margin: 0;
  box-shadow: none;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1;
  box-sizing: border-box;
}

.index_b_li {
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  aspect-ratio: 1;
  width: 100%;
}

.index_b_li a {
  display: block;
  padding: 0;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.index_b_li a:hover {
  background-color: rgba(22, 127, 65, 0.05);
  transform: translateY(-2px);
}

.index_b_li img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 0;
  display: block;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.index_b_li img:hover {
  transform: scale(1.05);
}

.index_b_li p {
  text-align: center;
  padding: 0.2rem 0;
  font-size: 12px;
  font-weight: 600;
  color: #167f41;
  margin: 0;
}

/* 内容盒子样式 */
.content_box {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: calc(100% - 20px);
  max-width: 1000px;
  box-sizing: border-box;
}

/* 信息项样式 */
.info_item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  flex-wrap: wrap;
  min-height: 40px;
}

.info_item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.info_label {
  font-weight: bold;
  color: #666;
  min-width: 100px;
  max-width: 150px;
  flex-shrink: 0;
  margin-right: 15px;
  word-break: break-all;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.info_value {
  color: #333;
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
  word-break: break-word;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 链接样式 */
.report_link {
  color: #4CAF50;
  text-decoration: underline;
}

/* 合格标记样式 */
.pass {
  color: #4CAF50;
  font-weight: bold;
}

/* 章节标题样式 */
.section_title {
  font-size: 18px;
  color: #333;
  margin: 20px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #4CAF50;
}

/* 内容文本样式 */
.content_text {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* 响应式设计 */
/* 平板设备（768px-1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
  .index_bottom {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
  }
  
  .index_b_li a {
    padding: 0;
  }
  
  .index_b_li img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  .index_b_li p {
    font-size: 11px;
  }
}

/* 移动端（<768px） */
@media (max-width: 767px) {
  .index_bottom {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    aspect-ratio: 1;
  }
  
  .index_b_li {
    aspect-ratio: 1;
    width: 100%;
  }
  
  .index_b_li a {
    padding: 0;
    box-sizing: border-box;
  }
  
  .index_b_li img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  .index_b_li p {
    font-size: 10px;
  }
  
  .info_item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .info_label {
    width: auto;
    margin-bottom: 5px;
  }
  
  .index_box,
  .content_box {
    padding: 15px;
  }
  
  .pro_box {
    padding: 0;
  }
}

/* 小屏移动端（<480px） */
@media (max-width: 480px) {
  .index_bottom {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 8px;
    aspect-ratio: 1;
  }
  
  .index_b_li a {
    padding: 0;
  }
  
  .index_b_li img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
  }
  
  .index_b_li p {
    font-size: 9px;
  }
  
  .index_box,
  .content_box {
    padding: 12px;
  }
  
  .pro_box {
    padding: 0;
  }
  
  .info_value {
    font-size: 14px;
  }
  
  .top_tit {
    font-size: 16px;
  }
  
  .top_tit.logo {
    font-size: 20px;
  }
}