/* 公司介绍模块主容器样式 */
.tanthos-company_intro {
  font-family: var(--title-font-family);
  color: var(--text-color);
  background: var(--bg-color);
  padding: 20px 60px 90px;
  margin-top: 30px;
  height: 800px; /* 固定容器高度（保持原设置） */
  box-sizing: border-box; 
  
}
/* 内容容器布局 */
.tanthos-company_intro .containers {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%; /* 新增：让内容容器占满父容器高度 */
  gap: 20px; /* 可选：增加两列间距，避免内容拥挤 */
  max-width: 1400px;
  margin: 0 auto;
}
/* 右侧大图样式 */
.tanthos-company_intro .tanthos-company_intro-pic {
  width: auto; /* 移除固定宽度 */
  flex: 1;
  max-width: 50%; 
  height: 100%;
  object-fit: contain; /* 保持比例 */
  align-self: flex-end; /* 关键：在弹性容器中底部对齐 */
  max-height: calc(100% - 0px); /* 限制最大高度，避免超出容器 */
}


/* 左侧内容组样式 */
.tanthos-company_intro .tanthos-company_intro-group {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 50%; 
  min-width: 300px; 
  height: 100%;
  margin: 0; 
  padding: 0; 
}
/* 头部区域布局 */
.tanthos-company_intro .tanthos-company_intro-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 0; 
  padding-top: 0;
}
/* 隐藏显示类 */
.tanthos-company_intro .is-show {
  display: none;
}

/* 品牌主标题样式 */
.tanthos-company_intro .tanthos-company_intro-brand-main {
  font-size: 45px;
  font-weight: 900;
  color: var(--text-color);
  line-height: 1.2;
}
/* 主标题样式 */
.tanthos-company_intro .tanthos-company_intro-title {
  font-size: 36px;
  font-weight: 700;
  color: #030d50;
  padding-bottom: 10px;
  line-height: 1.2;
}
/* 副标题样式 */
.tanthos-company_intro .tanthos-company_intro-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary, #6E4627);
  padding:0 0 40px;
  text-align: left;
  line-height: 1.2; 
}
/* 内容区域图片样式 */
.tanthos-company_intro .tanthos-company_intro-content-pic {
  
  width: 50%;
  vertical-align: bottom; 
  padding: 0;
  height: 350px;
  align-self: flex-end; 
  object-fit: contain; 
  margin-top: auto; 
  
}

/* 针对两张图片统一设置 */
.tanthos-company_intro-pic,
.tanthos-company_intro-content-pic {
  vertical-align: bottom;
  margin: 0;
  padding: 0;
  border: none;
  object-fit: contain; 
  align-self: flex-end;
}

/* 按钮基础样式 */
.tanthos-company_intro .tanthos-company_intro-btn {
  display: inline-block;
  background: var(--color-primary);
  color: #030303;
  border-radius: 50px;
  padding: 10px 32px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.18px;
  text-decoration: none;
  transition: background 0.2s;
  align-self: flex-start;
  }

/* 按钮悬停状态 */
.tanthos-company_intro .tanthos-company_intro-btn:hover {
  background: #ffffff;
  border: var(--color-primary) solid 1px;
}

/* 按钮容器调整 */
.tanthos-company_intro .tanthos-company_intro-btn-container {
  margin-top: auto; /* 按钮保持在底部 */
  padding-top: 20px; /* 增加与描述文本的间距 */
  
}

/* 内容区域布局 */
.tanthos-company_intro .tanthos-company_intro-content {
  position: relative;
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: flex-end; 
  margin-top: auto; 
  padding: 0;
  margin-bottom: 0; 
 
  min-height: 0;
}

/* 内容内部容器 */
.tanthos-company_intro .tanthos-company_intro-content-inner {
  width: 100%;
  padding-right: 0;
  padding-top: 60px;
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  flex: 1;
  min-height: 0; 

}
/* 统计数据容器 */
.tanthos-company_intro .tanthos-company_intro-stats {
  display: flex;
  flex-direction: column;
  margin-right: 60px;
  padding-top: 5px;
  align-self: flex-start;
  margin-bottom: auto; 
}

/* 描述文本样式 */
.tanthos-company_intro .tanthos-company_intro-desc {
  font-family: var(--font-family);
  font-size: 18px;
  color: var(--text-color);
  line-height: 1.8;
  min-height: 450px;
  width: 100%;
  margin-top: 20px;
  padding-top: 10px;
  align-self: flex-start;
  
  
  /* 布局和对齐 */
  text-align: left;
  text-justify: inter-word;
  word-wrap: break-word;
  overflow-wrap: break-word;
  
  
  
  /* 确保正确盒模型 */
  box-sizing: border-box;
  margin-bottom: 20px;

}

/* 单个统计项样式 */
.tanthos-company_intro .tanthos-company_intro-stat-item {
  padding: 15px 0;
  border-bottom: 1px solid #B0B2B3;
  min-width: 300px;
  width: 300px;
  margin-left: 40px;
  text-align: center;
}
/* 统计数值样式 */
.tanthos-company_intro .tanthos-company_intro-stat-value {
  font-size: 28px;
  font-weight: 700;
  color:#030303;
}
/* 统计标签样式 */
.tanthos-company_intro .tanthos-company_intro-stat-label {
  font-family: var(--font-family);
  font-size: 16px;
  color: #030303;
  line-height: 1.2;
}

/* 移动端统计、标志和背景隐藏 */
.tanthos-company_intro .tanthos-company_intro-stats-xs,
.tanthos-company_intro .tanthos-company_intro-flag,
.tanthos-company_intro .tanthos-company_intro-bg {
  display: none;
}

/* ========== 响应式设计 ========== */
/* 1700px以下屏幕适配 */
@media screen and (max-width: 1700px) {
  .tanthos-company_intro .tanthos-company_intro-title {
    font-size: 36px;
  }

  .tanthos-company_intro .tanthos-company_intro-brand-main {
    font-size: 45px;
    margin-top: 5px;
  }

  .tanthos-company_intro .tanthos-company_intro-subtitle {
    font-size: 28px;
    margin-top: 20px;
  }

  .tanthos-company_intro .tanthos-company_intro-stat-value {
    font-size: 28px;
  }

  .tanthos-company_intro .tanthos-company_intro-stat-item {
    padding: 10px 0;
    margin-left: 30px;
  }

  .tanthos-company_intro .tanthos-company_intro-desc {
    font-size: 18px;
  }

}

/* 1280px以下适配 */
@media screen and (max-width: 1280px) {
  .tanthos-company_intro {
    color: var(--text-color);
    background: var(--bg-color);
    padding: 33px 24px 39px;
    height: auto; /* 小屏幕取消固定高度，自适应内容 */
    min-height: 600px; /* 保留最小高度，避免过矮 */
  }

  .tanthos-company_intro .visibility-none {
    display: none;
  }

  .tanthos-company_intro .tanthos-company_intro-flag {
    display: block;
    color: var(--text-color);
    font-size: 44.996px;
    font-weight: 700;
    letter-spacing: 3.375px;
  }

  .tanthos-company_intro .tanthos-company_intro-bg {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

  .tanthos-company_intro .tanthos-company_intro-bg-pic {
    width: calc(50% - 2px);
    height: 345px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center; /* 底部对齐 */
    align-self: flex-end;
  }

  .tanthos-company_intro .tanthos-company_intro-stats-xs {
    display: flex;
    justify-content: space-between;
  }

  /* 数据项布局调整：移除固定宽度，横向排列并换行 */
  .tanthos-company_intro .tanthos-company_intro-stat-item {
     border: none;
    margin-bottom: 10px;
    min-width: auto;
    width: auto;
    margin-left: 0;
    flex: 1;
    padding: 10px 15px 0;
  }

  .tanthos-company_intro .tanthos-company_intro-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
    justify-content: center;
  }

  .tanthos-company_intro .tanthos-company_intro-title {
    font-size: 32px;
    padding-bottom: 20px;
    
  }

  .tanthos-company_intro .tanthos-company_intro-brand-main {
    font-size: 112px;
    margin-top: -54px;
  }

  .tanthos-company_intro .tanthos-company_intro-subtitle {
    font-size: 28px;
    
    padding: 10px 0 10px;
  }

  .tanthos-company_intro .tanthos-company_intro-content-inner {
    width: 100%;
    padding-right: 0;
    padding-top: 0px;
    padding-bottom: 20px;
  }

  .tanthos-company_intro .tanthos-company_intro-btn {
    margin-bottom: 30px;
    text-align: center;
  }

  .tanthos-company_intro .tanthos-company_intro-desc {
    margin: 0 5px 14px 5px;
    padding-right: 10px;
    font-size: 18px;
    text-align: left; /* 移动端左对齐 */
    overflow-y: visible; /* 移动端取消滚动 */

  }

  .tanthos-company_intro .containers {
    display: block;
  }

  .tanthos-company_intro .tanthos-company_intro-group {
    width: 100%;
  }

  .tanthos-company_intro .tanthos-company_intro-header {
    display: flex;
    align-items: center;
  }
}

/* 576px以下手机端适配 */
@media screen and (max-width: 576px) {
  .tanthos-company_intro .tanthos-company_intro-title {
    font-size: 28px;
    padding-bottom: 20px;
  }

  .tanthos-company_intro .tanthos-company_intro-brand-main {
    font-size: 56px;
    margin-top: -28px;
  }

  .tanthos-company_intro .tanthos-company_intro-subtitle {
    font-size: 24px;
    padding: 5px 0;
  }

  .tanthos-company_intro .tanthos-company_intro-desc {
    font-size: 14px;
    padding: 5px 5px 10px 0;
  }
  
   
 .tanthos-company_intro .tanthos-company_intro-btn {
    padding: 12px 28px;
    font-size: 15px;
    text-align: center;
    
  }
  .tanthos-company_intro .tanthos-company_intro-stat-value {
    font-size: 26px;
  }

  .tanthos-company_intro .tanthos-company_intro-stat-label {
    font-size: 12px;
  }

  .tanthos-company_intro .tanthos-company_intro-bg-pic {
    height: 250px;
  }

  /* 手机端数据项每行显示2个 */
  .tanthos-company_intro .tanthos-company_intro-stat-item {
    width: calc(50% - 10px);
    padding: 8px 10px;
  }
}