html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    background-color: #fefeea; 
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.main {
    width: 100%;
    min-width: 400px;
    position: relative;
    background-image: url('/themes/tongbiao/img/bjtop.png');
    background-size: 100% auto; /* 背景图宽度填满容器，高度自动调整 */
    background-repeat: no-repeat; /* 防止背景图重复 */
    background-attachment: fixed;
}
.main-box{
width: 85%;
margin: auto auto;
margin-top: 10vw;

}
.main-box-text{
display: flex;
margin: auto auto 3vh auto;
background-image: url("../img/bcit.png");
background-size: 100% 100%;

}
.main-box-text-area{
width: 90%;
margin: 4vw auto;
}
.carousel {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    height: 100vw; /* 确保高度与宽度一致形成1:1比例 */
    overflow: hidden; /* 防止超出容器的部分显示 */
    position: relative;
}
.carousel img {
width: 100%;
height: auto; 
}
.carousel-images {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-images img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* 让图片自适应容器大小 */
}

.rich-text {
    margin-top: 20px;
}

.lunbo {
    margin-top: 10vw;
    position: relative;
    width: 100vw;
    height: 100vw; /* 确保轮播容器为1:1比例 */
}

.lunbo img {

margin-top: 8vw;
}
.imgone img {
    width: 100vw;
    height: auto;
}

/* 放大图片的模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* 确保模态框内溢出的内容不会被显示 */
}

.modal.active {
    display: flex;
}

.modal img {
    position: fixed;
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.25s ease; /* 添加平滑过渡效果 */
}

.container {
    margin-top: 30px;
    text-align: center; /* 水平居中文本 */
}

.container span {
    font-size: 46px; /* 设置字体大小 */
    font-weight: bold; /* 加粗字体 */
}
 .modal-open {  
  overflow: hidden;  
}
