.container {
  width: 3840px;
  height: 1080px;
  position: relative;
  background-image: url('~@/assets/images/V-2504/BG.png');
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  //background-color: #08224C;
  //display: flex;
  //flex-direction: column;
}

.content {
  width: 100%;
  height: calc(100% - 80px);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  //position: relative;
  //overflow: hidden;
}

.leftSidebar {
  position: absolute;
  left: 40px;
  top: 112px;
  width: 1105px;
  height: 928px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
  transition: transform 0.8s ease-in-out;
}

.leftSidebar_exit {
  transform: translateX(-110%);
  //opacity: 0;
}

.leftSidebar_enter {
  transform: translateX(0);
}

.centerContainer {
  position: absolute;
  left: 1175px;
  top: 112px;
  width: 1490px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  // z-index: 1;
  // flex: 1;
}

.mapContainer {
  width: 100%;
  height: 705px;
  // background: rgb(51, 79, 121);
  border-radius: 20px;
  overflow: hidden;

  //flex: 2;
  //position: relative;
  // transition: flex 0.5s ease;
  transition: height 0.8s ease-in-out; // 推荐明确指定过渡属性
  z-index: 1;
}

.mapContainer_expand {
  // flex: 1;
  // width: 1490px;
  height: 938px;
  margin-bottom: 30px;
}

.videoCarousel {
  width: 100%;
  height: 206px;
  display: flex;
  justify-content: space-between;

  transform: translateY(0);
  opacity: 1;
  //transition: transform 1s ease, opacity 1s ease, height 1s ease;

  transition: transform 0.8s ease-in-out;
  z-index: 2;
}

.videoCarousel_exit {
  transform: translateY(100%);
  //opacity: 0;
  //height: 0;
}

.videoCarousel_enter {
  transform: translateY(0);
}

.rightContent {
  position: absolute;
  right: 40px;
  top: 112px;
  width: 1105px;
  height: 928px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 10;

  //width: 480px;
  //height: 100%;
  //position: relative;
  transform: translateX(0);
  //opacity: 1;
  //transition: transform 0.5s ease, opacity 0.3s ease;
  transition: transform 0.8s ease-in-out;
  z-index: 10;
}

.rightContent_exit {
  transform: translateX(110%);
  //opacity: 0;
}

.rightContent_enter {
  transform: translateX(0);
}

.subPageContainer {
  pointer-events: none; // 允许事件穿透
  background: transparent; // 确保背景透明

  position: absolute;
  top: 112px;
  // top: 0;
  // left: 0;
  // right: 40px;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 5;
}

.subPage_enter {
  opacity: 0;
}

.subPage_active {
  opacity: 1;
  z-index: 15;
  // pointer-events: auto; // 子页面自身内容需要响应事件
}

.subPage_exit {
  opacity: 0;
}

.hidden {
  display: none;
} 