@charset "utf-8";
html,
body {
  font-size: 16px;
}
.container {
  max-width: 1584px;
}

/* 视频模态框样式 */
.video_modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);

  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video_modal.show {
  opacity: 1;
  visibility: visible;
}

.video_modal_content {
  position: relative;
  width: 80%;
  max-width: 1200px;
  background-color: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.5);
}

.video_close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--second_color);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.video_close:hover {
  color: var(--base_color);
}

.video_container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 比例 */
  height: 0;
  overflow: hidden;
}

.video_container #playercontainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.jw-error .jw-preview, .jw-stretch-uniform .jw-preview, .jwplayer .jw-preview {
  background-size: 100% auto !important;
}

.video_container {
  width: 50rem /* 800/16 */ !important;
  height: 37.5rem /* 600/16 */ !important;
  max-width: 100% !important;
  margin: 0 auto;
}


/* 响应式布局 - 适配不同设备尺寸 */

/* 超大屏幕设备 (宽度小于等于1600px=>1536px) */
@media screen and (max-width: 1583.98px) {
  html,
  body {
    font-size: 15.36px;
  }
  .container { max-width: 1512px; }
}

/* 超大屏幕设备 (宽度小于1536px=>1440px) */
@media screen and (max-width: 1535.98px) {
  html,
  body {
    font-size: 14.40px;
  }
  .container { max-width: 1424px; }
}

/* 超大屏幕设备 (宽度小于1400px=>1280px) */
@media screen and (max-width: 1399.98px) {
  html,
  body {
    font-size: 12.80px;
  }

  .container { max-width: 1320px; }

  /* 视频模态框 */
  .video_modal_content {
    max-width: 1100px;
  }

}


/* 大屏幕设备 (宽度小于1280px=>1200px) */
@media screen and (max-width: 1279.98px) {
  html,
  body {
    font-size: 12.00px;
  }

  .container { max-width: 1140px; }

  /* 视频模态框 */
  .video_modal_content {
    max-width: 1000px;
  }
  
}


/* 标准屏幕设备 (宽度小于1200px=>920px) */
@media screen and (max-width: 1199.98px) {
  html,
  body {
    font-size: 13px;
  }

  .container { max-width: 920px; }

  /* 视频模态框 */
  .video_modal_content {
    max-width: 900px;
  }

}

/* 平板横屏设备 (宽度小于992px=>768px) */
@media screen and (max-width: 991.98px) {
  html,
  body {
    font-size: 13px;
  }

  .container { max-width: 720px; }

  /* 视频模态框 */
  .video_modal_content {
    max-width: 700px;
  }

  .video_close {
    font-size: 1.75rem;
  }

}

/* 平板竖屏设备 (宽度小于768px=>576px) */
@media screen and (max-width: 767.98px) {
  html,
  body {
    font-size: 14px;
  }

  .container { max-width: 540px; }

}

/* 手机设备 (宽度小于576px=>375px) */
@media screen and (max-width: 575.98px) {
  html,
  body {
    font-size: 14px;
  }

  .container { max-width: 100%; }

}

/* iPhone及中等手机设备 (宽度小于375px=>320px) */
@media screen and (max-width: 374.98px) {
  html,
  body {
    font-size: 13px;
  }
  .container { max-width: 100%; }
}