@charset "utf-8";

.mask {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0);
    z-index: 1000;
}
/* 基础样式 */
.g-container {
    width: 100%;
    min-width: 1200px;
    height: 100vh; /* 改为视口高度 */
    display: flex; /* 使用flex布局 */
    align-items: center; /* 垂直居中 */
    justify-content: center; /* 水平居中 */
}

.m-stop-service {
    width: 555px;
    text-align: center;
    line-height: 2;
}

.stop-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.f-f20 {
    font-size: 20px;
}

.f-pt30 {
    padding-top: 30px;
}

.f-pb30 {
    padding-bottom: 30px;
}

.info {
    font-size: 16px;
    margin: 40px 0;
    color: #333;
    text-align: left;
}

.contact {
    font-size: 14px;
    color: #666;
    text-align: left;
    padding: 20px 30px;
    display: inline-block;
    background-color: #f8f8f8;
    border: 1px dashed #ddd;
}

.a-txt {
    color: #cc4542;
    text-decoration: underline;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .g-container {
        min-width: unset;
        padding: 0;
    }

    .m-stop-service {
        width: 100%;
        max-width: 555px;
        box-sizing: border-box;
    }

    .stop-img {
        max-width: 90%;
        width: auto;
        height: auto;
    }

    .f-f20 {
        font-size: 18px;
    }

    .f-pt30,
    .f-pb30 {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .stop-img {
        max-width: 95%;
        width: auto;
        height: auto;
    }

    .f-f20 {
        font-size: 16px;
    }

    .info {
        font-size: 14px;
        margin: 20px 0;
    }

    .contact {
        font-size: 12px;
        padding: 15px 20px;
    }
}

/* 针对小屏幕设备的额外优化 */
@media screen and (max-width: 375px) {
    .m-stop-service {
        padding-top: 0; /* 移除顶部padding，让flex布局处理居中 */
    }

    .stop-img {
        max-width: 100%;
    }

    .f-f20 {
        font-size: 15px;
    }

    .f-pt30,
    .f-pb30 {
        padding-top: 15px;
        padding-bottom: 15px;
    }
}
