#contact {
}

#contact .container {
    margin-top: 82px;
    /* margin-bottom: 5rem; */
}

#contact .container .contact {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 34px;
}

#contact .container .contact .item {
    border-radius: 15px;
    border-width: 1px;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
    padding: 36px 19px;
    text-align: center;
}

#contact .container .contact .item .image-wrapper {
}

#contact .container .contact .item .image-wrapper img {
    width: 90px;
    display: inline;
}
#contact .container .contact .item .text{margin-top: 12px;}
#contact .container .contact .item .label {
}

#contact .container .contact .item .value {
    margin-top: 5px;
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity));
}

#contact .container .contact .item .value.long-text {
    font-size: 13px;
    line-height: 16px;
}

#map {
    position: relative;
    margin-top: -70px;
}

#map .container {
    pointer-events: none;
    position: relative;
    z-index: 20;
    height: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 8px;
    width: 1448px;
}


#baidu-map {
    top: 0;
    position: absolute !important;
    height: 100%;
    width: 100%;
}

#baidu-overlay {
    width: 0;
    height: 0;
    z-index: 10000;
}

#baidu-overlay .wrapper {
    position: absolute;
    bottom: 3px;
    left: -141px;
    width: 295px;
    padding: 10px 20px;
    color: white;
    border-radius: 8px;
    font-size: 20px;
    background-color: var(--primary-color);
}

#baidu-overlay .wrapper h4{
    font-size: 20px;
}
#baidu-overlay .wrapper h4 span{
    font-size: 12px;
}
#baidu-overlay .wrapper p{
    font-size: 14px;
    margin-top: 4px;
}

@media screen and (max-width: 768px) {
    #contact {
    }

    #contact .container {
        margin-top: 29px;
        /* margin-bottom: 5rem; */
    }

    #contact .container .contact {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 10px;
    }

    #contact .container .contact .item {
        border-radius: 9px;
        border-width: 1px;
        --tw-bg-opacity: 1;
        background-color: rgb(255 255 255 / var(--tw-bg-opacity));
        padding: 10px 16px;
        text-align: center;
        display: flex;
        gap: 14px;
        align-items: center;
        background-image: linear-gradient(180deg, #F4F6F8 0%, #FAFBFC 100%);
    }

    #contact .container .contact .item .image-wrapper {
    flex-shrink: 1;
    }

    #contact .container .contact .item .image-wrapper img {
        width: 67px;
        display: inline;
    }

    #contact .container .contact .item .text{
        flex: 1;
        text-align: left;
        margin-top: 0;
    }

    #contact .container .contact .item .label {
    }

    #contact .container .contact .item .value {
        margin-top: 2px;
        --tw-text-opacity: 1;
        color: rgb(107 114 128 / var(--tw-text-opacity));
    }

    #contact .container .contact .item .value.long-text {
        font-size: 12px;
        line-height: 16px;
    }

    #map {
        position: relative;
        margin-top: 30px;
    }

    #map .container {
        pointer-events: none;
        width: auto;
        height: 300px;
    }


    #baidu-map {
        top: 0;
        position: absolute !important;
        height: 100%;
        width: 100%;
    }

    #baidu-overlay {
        width: 0;
        height: 0;
        z-index: 10000;
    }

    #baidu-overlay .wrapper {
        position: absolute;
        bottom: 3px;
        left: -115px;
        width: 226px;
        padding: 10px 20px;
        color: white;
        border-radius: 8px;
        font-size: 20px;
        background-color: var(--primary-color);
    }

    #baidu-overlay .wrapper h4{
        font-size: 17px;
    }
    #baidu-overlay .wrapper h4 span{
        font-size: 12px;
    }
    #baidu-overlay .wrapper p{
        font-size: 12px;
        margin-top: 2px;
    }

}
