/* 图片模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin-top: 5%;
    object-fit: contain;
}

.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .modal {
        top: 60px;
    }
    .close {
        top: 0px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
        margin-top: 10%;
    }
}
@media screen and (max-width: 1024px) {
    .modal {
        top: 60px;
    }
    .close {
        top: 0px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
        margin-top: 10%;
    }
    .company-about-wrap>div{
        width: 100%;
    }
}