/* 首页的主要样式 */
@font-face {
  font-family: 'MiSans-Medium'; /* 字体名称，后续调用使用 */
  src: url('/fonts/subset/MiSans-Medium.woff2') format('woff2'); /* 字体文件路径 */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 优化字体加载体验 */
}

@font-face {
  font-family: 'MiSans-Light'; /* 字体名称，后续调用使用 */
  src: url('/fonts/subset/MiSans-Light.woff2') format('woff2'); /* 字体文件路径 */
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* 优化字体加载体验 */
}

/* 全局重置与字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
}

/* 隐藏浏览器右侧滚动条 */
.scroll-container {
  width: 100%; /* 设置容器宽度 */
  height: 300px; /* 设置容器高度 */
  overflow: auto; /* 显示滚动条，根据内容决定是否显示 */

  /* 隐藏默认的滚动条样式 */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

/* 占位内容 */
.content {
    background-color: #ffffff;
    font-size: 2rem;
    /* padding: 1.5rem; 内边距 */
    /* min-height: 60px; */
    /* 最小高度，避免容器为空时塌陷 */
    /* min-height: 200vh; */
}

/* 公司简介 */
.content-introduction{
  --content-introduction-min-height: 300px;
  /* 高度：视口高度的33% */
  height: 33vh;
  min-height: var(--content-introduction-min-height);
  /* 宽度：占满视口宽度 */
  width: 100vw;
  /* 灰色背景（可根据需求调整灰度值） */
  background-color: #ffffff;
  /* 可选：防止内容溢出容器 */
  overflow: hidden;
  /* 子容器居中 */
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
  display: flex;
}

/* 公司简介-内容容器 */
.content-introduction-container{
  height: auto;
  width: 93.75%;
  /* 灰色背景（可根据需求调整灰度值） */
  background-color: rgb(255, 255, 255);
  /* 可选：防止内容溢出容器 */
  overflow: hidden;
}

/* 简介标题 */
.content-introduction-container-title {
  /* 调用自定义字体 */
  font-family: 'MiSans-Light', sans-serif;
  /* 字号 */
  font-size: 32px;
  /* 行高 */
  line-height: 30px;
  color: #000000; 
  /* 间距 */
  padding: 20px 0;
}

/* 简介正文 */
.content-introduction-container-a {
  /* 调用自定义字体 */
  font-family: 'MiSans-Light', sans-serif;
  /* 字号 */
  font-size: 16px;
  /* 行高 */
  line-height: 30px;
  /* 间距 */
  padding: 40px 0;
  color: #6b6b6b; 
}

/* 介绍视频 */
.content-introduction-video {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  aspect-ratio: 21 / 9;
  margin: 0 0 72px;
  overflow: hidden;
  background: #000000;
  cursor: pointer;
}

.content-introduction-video-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.content-introduction-video.is-inline-playing .content-introduction-video-media {
  pointer-events: auto;
}

.content-introduction-video-trigger {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border: 2px solid #f5d742;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.content-introduction-video-trigger[hidden] {
  display: none;
}

.content-introduction-video:hover .content-introduction-video-trigger,
.content-introduction-video-trigger:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.28);
}

.content-introduction-video-trigger-icon {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #f5d742;
  margin-left: 5px;
}

.content-introduction-video.is-inline-playing .content-introduction-video-trigger {
  opacity: 0;
  pointer-events: none;
}


/* 移动端适配 */
@media (max-width: 1080px) {
/* 简介标题 */
  .content-introduction-container-title {
    /* 调用自定义字体 */
    font-family: 'MiSans-Light', sans-serif;
  /* 字号 */
    font-size: 26px;
  /* 行高 */
    line-height: 30px;
    color: #000000;
    /* 间距 */
    padding: 20px 0;
  }
}
@media (max-width: 1080px) {
  .content-introduction {
    --content-introduction-min-height: 420px;
    /* 高度：视口高度的33% */
    height: 50vh;
    /* 宽度：占满视口宽度 */
    width: 100vw;
    /* 灰色背景（可根据需求调整灰度值） */
    background-color: #ffffff;
    /* 可选：防止内容溢出容器 */
    overflow: hidden;
    /* 子容器居中 */
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    display: flex;
  }

  .content-introduction-video {
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 48px;
  }

  .content-introduction-video-trigger {
    width: 68px;
    height: 68px;
  }

  .content-introduction-video-trigger-icon {
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 17px;
  }

}

@media (max-width: 600px) {
  .content-introduction {
    --content-introduction-min-height: 600px;
  }
}
