/* 顶部banner */
.company-profile-banner-container {
  height: 300px;
  color: #fff;
  padding-top: 54px;
  margin: var(--nav-height) auto 0;
  background-image: url('../../images/static-page-img/article-bg1.svg');
  background-position: center;
  background-size: cover;
}
.company-profile-banner-container h1 {
  font-weight: 500;
  /* font-size: 36px; 动态 */
  line-height: 64px;
  margin-bottom: 30px;
}
.company-profile-banner-container p {
  font-weight: 400;
  /* font-size: 18px; 动态 */
  line-height: 36px;
  /* max-width: 785px; 动态 */
}

/* 视频容器 */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* 常用视频宽高比，可根据需求修改 */
  border-radius: 8px;
  overflow: hidden;
}
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持比例填充容器 */
}

/* 价值观模块 */
.company-profile-values-container {
  padding-top: 80px;
  padding-bottom: 80px; /* 左右两边是变化的，所以不能合起来写 */
}
.company-profile-values-item-con {
  display: grid;
  /* gap: 36; */
}

.company-profile-values-item h4 {
  font-weight: 400;
  /* font-size: 24px;
  line-height: 32px; */
}

.company-profile-values-item p {
  font-weight: 600;
  /* font-size: 30px;
  line-height: 64px; */
  color: var(--primary-color);
}

/* 图片容器 */
.company-profile-values-container .image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
  background: url('../../images/company-profile/light.svg') no-repeat;
  background-size: cover;
  background-position: center; /* 图片保留中间，收缩两边的关键 */
  min-height: 300px;
}

.company-profile-values-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 整体的样式分两种情况 */
@media (min-width: 801px) {
  .company-profile-banner-container h1 {
    font-size: 36px;
  }
  .company-profile-banner-container p {
    font-size: 18px;
    max-width: 785px;
  }
}
@media (max-width: 800px) {
  .company-profile-banner-container h1 {
    font-size: 24px;
  }
  .company-profile-banner-container p {
    font-size: 14px;
    max-width: 100%;
  }
}


/* 视频部分左边的文字分3种情况 */
@media (min-width: 1201px) {
  .company-instro-container {
    padding-top: 100px;
  }
  .company-instro-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 146px;
  }
  .company-instro-section-container .horizontal-container {
    gap: 143px;
  }
  .company-profile-values-container .horizontal-container {
    gap: 100px;
    flex-direction: row-reverse; /* 反转顺序 */
  }
  .company-profile-values-item-con {
    gap: 36px;
    margin-bottom: 0;
  }
  .company-profile-values-item h4 {
    font-size: 24px;
    line-height: 32px;
  }
  .company-profile-values-item p {
    font-size: 30px;
    line-height: 64px;
  }
}

@media (max-width: 1200px) and (min-width: 801px) {
  .company-instro-container {
    padding-top: 83px;
  }
  .company-instro-title {
    margin-bottom: 64px;
  }
  .company-instro-title h2 {
    font-weight: 600;
    font-size: 29px;
    line-height: 51px;
  }
  .company-instro-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 132px;
  }
  .company-instro-container .horizontal-container {
    gap: 116px;
  }
  .company-profile-values-container .horizontal-container {
    gap: 80px;
    flex-direction: row-reverse; /* 反转顺序 */
  }
  .company-profile-values-item-con {
    gap: 29px;
    margin-bottom: 0;
  }
  .company-profile-values-item h4 {
    font-size: 19.5px;
    line-height: 25px;
  }
  .company-profile-values-item p {
    font-size: 24px;
    line-height: 51px;
  }
}

@media (max-width: 800px) {
  .company-instro-container {
    padding-top: 59px;
  }
  .company-instro-title {
    margin-bottom: 40px;
  }
  .company-instro-title h2 {
    font-weight: 600;
    font-size: 29px;
    line-height: 51px;
  }
  .company-instro-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 40px;
  }
  .company-profile-values-item-con {
    gap: 29px;
    margin-bottom: 32px;
  }
  .company-profile-values-item h4 {
    font-size: 19.5px;
    line-height: 25px;
  }
  .company-profile-values-item p {
    font-size: 24px;
    line-height: 51px;
  }
}

/* 公司简介整体的两侧边距及中间大小分两种情况 */
@media (min-width: 801px) {
  .company-instro-section-container {
    padding-left: 80px;
    padding-right: 80px;
  }
  .company-instro-section-container .horizontal-container {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .company-instro-section-container .horizontal-left {
    flex: 5;
    min-width: 0;
    align-self: stretch; /* 让内容充满父级，主要解决公司简介第三块的图片背景要撑满显示问题 */
  }
  .company-instro-section-container .horizontal-right {
    flex: 4;
    min-width: 0;
  }
}
@media (max-width: 800px) {
  .company-instro-section-container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .company-instro-section-container .horizontal-container {
    display: block;
  }
  .company-instro-section-container .horizontal-left, .company-instro-section-container .horizontal-right {
    flex: none;
    width: 100%;
  }
}