.content-block.cm-jobs-block {
    float: none;
    width: auto;
    margin-left: 0;
    margin-bottom: 1em;
    background: #f2f2f2;
    display: flex;
}

.content-block.cm-jobs-block .block-inner {
    padding: 20px 20px;
    border-bottom: 3px solid #FCA9A9;
        width: 100% !important;
}

.pa-cm-jobs-block {
    border-bottom: 3px solid #fef106;
}

.post-content-wrap .post-content-inner .cm-jobs-block #cm-jobs-block-inner a {
    border-bottom: none !important;
}

.cm-jobs-block a.lsb-button {
    color: #fff;
    padding: 5px 18px;
    min-width: auto;
    display: inline-block;
    font-size: 18px;
    flex-basis: 50%;
    max-width: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-content-wrap .post-content-inner .cm-jobs-block #cm-jobs-block-inner a:hover {
    border-bottom: none !important;
}

.cm-jobs-button-wrap {
    text-align: right;
    display: flex;
    justify-content: flex-start;
    padding-top: 15px;
    gap: 10px;
}

.cm-jobs-block .construction-jobs li {
    border-bottom: none;
}

.cm-jobs-button-wrap .cm-jobs-logo {
    padding: 0;
    display: flex;
    align-items: center;
    flex-basis: 50%;
    max-width: 80px;
}

.cm-jobs-button-wrap img {
    width: 100%;
    height: auto;
}

@media all and (max-width:1316px) {
    .content-block.cm-jobs-block {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 1em;
    }

    .content-block.cm-jobs-block .block-inner {
        display: flex;
    }

    .cm-jobs-button-wrap {
        flex-wrap: wrap;
        justify-content: flex-end;
        padding-top: 0;
        min-width: 125px;
        max-width: 125px;

    }

    .cm-jobs-block .construction-jobs {
        display: flex;
        align-items: center;
        margin-right: 20px;
    }

    .cm-jobs-block .construction-jobs li {
        padding: 0;
    }

    .cm-jobs-block a.lsb-button {
        order: 2;
        font-size: 16px;
        flex-basis: 100%;
    }

    .cm-jobs-button-wrap .cm-jobs-logo {
        flex-basis: 100%;
        order: 1;
    }

    .cm-jobs-button-wrap img {
        height: auto;
        width: 124px;
    }
}

@media all and (max-width:480px) {
    .cm-jobs-block .construction-jobs {
        margin-right: 0;
        flex-basis: 100%;
    }

    .content-block.cm-jobs-block .block-inner {
        display: flex;
        flex-wrap: wrap;
    }

    .cm-jobs-button-wrap {
        flex-basis: auto;
        justify-content: space-between;
        padding-top: 20px;
        height: auto;
        max-width: 100%;
        width: 100%;
    }

    .cm-jobs-button-wrap .cm-jobs-logo {
        flex-basis: auto;
        order: 2;
        margin-bottom: 0;
    }

    .cm-jobs-block a.lsb-button {
        max-width: 100%;
    }
}

@media all and (max-width:340px) {
    .cm-jobs-block a.lsb-button {
        order: 1;
        width: 100%;
    }

    .cm-jobs-logo {
        flex-basis: 100%;
        max-width: 100% !important;
    }

.cm-jobs-button-wrap img {
    height: auto;
    width: 100%;
    max-height: 60px;
}
}