#footer-custom {
    padding-top: 0px;
}

#footer-custom .td-pb-row {
    width: 100%;
    margin: 0;
}

#footer-custom .td-footer-bottom-full {
    margin-top: 0;
    padding-top: 15px;
    padding-bottom: 40px;
}

#footer-custom .footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr 2fr 1fr;
    gap: 15px;
    justify-content: start;
    align-items: flex-start;
}

#footer-custom .footer-grid .footer-logo {
    width: 153px;
    height: auto;
}

#footer-custom .footer-grid .footer-aboutus .title,
#footer-custom .footer-grid .footer-contactus .title,
#footer-custom .footer-grid .footer-follow .title {
    font-family: 'Kanit', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 15px;
    padding-top: 5px;
    color: #FFF;
}

#footer-custom .footer-grid .footer-aboutus .info,
#footer-custom .footer-grid .footer-contactus .info,
#footer-custom .footer-grid .footer-follow .info {
    font-family: 'Sarabun', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    color: #FFF;
}

#footer-custom .footer-grid .footer-follow .info .ud-truehits-wrapper {
    height: 0px;
}

#footer-custom .footer-grid .footer-follow .info .header-social-media-list,
.mobile-overlay-social-media-list {
    justify-content: space-between;
}

#footer-custom .footer-grid .footer-follow .info .header-social-media-list .header-social-media-item .header-social-media-link,
#footer-custom .footer-grid .footer-follow .info .mobile-overlay-social-media-list .mobile-overlay-social-media-item .mobile-overlay-social-media-link {
    width: 40px;
    height: 40px;
}

#footer-custom .footer-grid .footer-follow .info .header-social-media-list .header-social-media-item .header-social-media-link svg,
#footer-custom .footer-grid .footer-follow .info .mobile-overlay-social-media-list .mobile-overlay-social-media-item .mobile-overlay-social-media-link svg {
    width: 20px;
    height: 20px;
}

#footer-custom .footer-grid .footer-follow .info a.btn-job {
    font-family: 'Sarabun', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    display: block;
    background-color: #FF6D00;
    text-align: center;
    width: 100%;
    padding: 8px 15px;
    margin-top: 15px;
    border-radius: 76px;
    color: #FFF;
}

#sub-footer-custom {
    background: #262626 url("../images/subfooter-bg.png") center center no-repeat;
    background-size: cover;
    font-family: 'Sarabun', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.4;
    color: #FFF;
}

#sub-footer-custom .td-pb-span.td-sub-footer-copy {
    width: 100%;
    text-align: center;
    padding: 8px 15px;
}

@media (max-width: 767px) {
    #footer-custom .footer-grid {
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        justify-content: start;
        align-items: flex-start;
    }

    #footer-custom .footer-grid .footer-follow .info .header-social-media-list,
    .mobile-overlay-social-media-list {
        justify-content: start;
    }

    #footer-custom .footer-grid .footer-follow .info a.btn-job {
        width: auto;
        padding: 8px 30px;
        display: inline-block;
    }

    #footer-custom.td-footer-wrapper::before {
        background-image: url("../images/footer-bg-mobile.png");
        background-position: top center;
        background-size: cover;
    }

    #footer-custom .td-footer-bottom-full {
        text-align: start;
    }
}
