/*@font-face {*/
/*  font-family: "PingFang";*/
/*  src: url("../fonts/PingFang Regular.ttf");*/
/*}*/

/* 动态根字体大小 - 基于设计稿宽度1920px */
/* 在1920px宽度时，1rem = 100px */
/* 计算公式：设计稿宽度1920px / 100 = 19.2，所以 font-size = 100vw / 19.2 */
html {
  font-size: calc(100vw / 19.2);
  /* 设置最小和最大字体大小，避免极端情况 */
  font-size: clamp(0.5rem, calc(100vw / 19.2), 10rem);
}

/* 针对超小屏幕的额外保护 */
@media (max-width: 320px) {
  html {
    font-size: 0.5rem;
  }
}

/* 针对超大屏幕的限制 */
@media (min-width: 3840px) {
  html {
    font-size: 10rem;
  }
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "PingFang", sans-serif;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 主容器 */
.industry-layout-section {
  width: 100%;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 3.6rem;
}

/* 第一部分：产业分类介绍 */
.industry-intro-group {
  position: relative;
  width: 12rem;
  height: 5.6rem;
}

.industry-intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 12rem;
  height: 5.6rem;
  background: #F3F4F7;
}

.industry-intro-image {
  position: absolute;
  top: 0.8rem;
  left: 0.6rem;
  width: 6rem;
  height: 4rem;
  overflow: hidden;
}

.industry-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-intro-text {
  position: absolute;
  top: 0.72rem;
  left: 7.34rem;
  width: 4.04rem;
  height: 4.16rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.industry-text-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
}

.industry-text-item:nth-child(1) {
  margin-bottom: 0.58rem;
}

.industry-text-item:nth-child(2) {
  margin-bottom: 0.58rem;
}

.industry-text-item:nth-child(3) {
  margin-bottom: 0;
}

.industry-text-bar {
  width: 0.04rem;
  height: 1rem;
  background: #4F80C8;
  border-radius: 0.1rem;
  flex-shrink: 0;
}

.industry-text-content {
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
  width: 3.8rem;
}

.industry-text-title {
  font-family: "PingFang", sans-serif;
  font-weight: 400;
  font-size: 0.2rem;
  line-height: 2em;
  color: #4F80C8;
  text-align: left;
}

.industry-text-desc {
  font-family: "PingFang", sans-serif;
  font-weight: 400;
  font-size: 0.16rem;
  line-height: 2em;
  color: rgba(0, 0, 0, 0.9);
  text-align: left;
}

/* 第二部分：详细内容区域 */
.industry-detail-group {
  position: relative;
  width: 12rem;
  height: 10rem;
}

.industry-detail-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 12rem;
  height: 10rem;
  background: #F3F4F7;
}

/* 左侧导航栏 */
.industry-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.6rem;
  height: 10rem;
  background: #FBFCFE;
  border-right: 0.01rem solid #E0E0E0;
}

.industry-nav-menu {
  position: absolute;
  top: 0.14rem;
  left: 0.1rem;
  width: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.nav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  gap: 0.1rem;
  padding: 0.12rem 0.2rem;
  background: #FBFCFE;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-item:hover {
  background: rgba(79, 128, 200, 0.1);
}

.nav-item.active {
  background: #4F80C8;
}

.nav-item.active:hover {
  background: #4F80C8;
}

.nav-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  font-family: "PingFang", sans-serif;
  font-weight: 400;
  font-size: 0.16rem;
  line-height: 1.5em;
  text-align: left;
  width: 1.8rem;
  color: rgba(0, 0, 0, 0.9);
}

.nav-item.active .nav-title {
  color: #FFFFFF;
}

/* 右侧内容区域 */
.industry-content-area {
  position: absolute;
  top: 0;
  left: 2.6rem;
  width: 9.4rem;
  height: 10rem;
}

.industry-content-text {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  width: auto;
  height: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.industry-content-title {
  font-family: "PingFang", sans-serif;
  font-weight: bold;
  font-size: 0.2rem;
  line-height: 2em;
  color: #4F80C8;
  text-align: left;
  transition: opacity 0.3s ease;
}

.industry-content-divider {
  width: 8.8rem;
  height: 0.01rem;
  background: #D6DBE3;
  opacity: 0.6;
}

.industry-content-desc {
  font-family: "PingFang", sans-serif;
  font-weight: 400;
  font-size: 0.16rem;
  line-height: 2em;
  color: rgba(0, 0, 0, 0.9);
  text-align: left;
  width: 8.8rem;
  transition: opacity 0.3s ease;
}

/* 图片网格 */
.industry-image-grid {
  position: absolute;
  top: 2.4rem;
  left: 0.25rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.24rem;
}

.image-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  width: 2.78rem;
  height: 2.05rem;
}

.image-wrapper {
  width: 2.78rem;
  height: 1.64rem;
  overflow: hidden;
  /* box-shadow: 0px 0px 0px 0.02rem rgba(198, 243, 215, 1); */
  border: 2px solid #fff;
  border-radius: 2%;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  width: 100%;
  height: 0.32rem;
  font-family: "PingFang", sans-serif;
  font-weight: 400;
  font-size: 0.16rem;
  line-height: 2em;
  text-align: center;
  color: rgba(0, 0, 0, 0.9);
}