.single-resume .entry-content {
    margin-top: 0;
}

.single-resume article.hentry {
    margin-bottom: 150px;
}

.single-resume .contact-us-section > .wp-block-group__inner-container {
    justify-content: flex-end;
    height: 429px;
}

.single-resume .contact-us-background.mob {
    display: none;
}

.single-resume .contact-us {
    z-index: 1;
    width: 50%;
}

.single-resume .contact-us-section .wp-block-button__link {
    width: auto;
    background: transparent;
    line-height: normal;
}

.single-resume .contact-us-section::before {
    content: none;
}

.single-resume .contact-us-section h2 {
    padding: 20px 24px 11px;
    margin-bottom: 32px;
}

.single-resume .mejs-video, .single-resume .candidate-video,.single-resume .wp-video-shortcode video,
.single-resume video.wp-video-shortcode, .single-resume .wp-video,
.single-resume .candidate-video iframe, .single-resume .resume-video img{
    height: 345px !important;
    width: 100% !important;
}

article h2 {
    color: #000B1F;
    font-family: "Inter Tight";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    opacity: 0.6;
    padding-bottom: 8px;
    border-bottom: 1px solid #000b1f80;
    margin-bottom: 18px;
}

article h2 {
    margin-top: 48px;
}

article h2.wp-block-heading:first-of-type,
.resume_description h2:first-of-type, .job_description h2:first-of-type
{
    margin-top: 0;
}

.single-resume .candidate-video-section h2 {
    margin-top: 0;
}

.single-resume .candidate-video-section {
    margin-bottom: 48px;
}

.single-resume .resume-info-block h1, .candidate-name {
    color: #000B1F;
    font-family: "Inter Tight";
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 105%;
    margin-bottom: 0;
}

.single-resume .single-resume-content h1 {
    margin-top: 0;
}

.single-resume .resume-info-block .candidate-header img {
    width: 108px;
    height: 108px;
}

.single-resume .resume-manager-experience dd, .single-resume .resume-manager-experience dt {
    border-left: 2px solid #FF8325;
}

.single-resume .resume-manager-experience dt:first-of-type {
    padding-top: 0;
}

.single-resume .resume-manager-experience dt:first-of-type h3:before {
    margin-top: 0;
}

.single-resume .resume-manager-education, .single-resume .resume-manager-experience {
    border-top: none;
}

.single-resume .resume-manager-experience h3:before {
    background: #FF8325;
    border: 3.5px solid #ffffff96;
    left: -1px;
    height: 14px;
    width: 14px;
    margin-top: 38px;
}

.resume-education {
    display: flex;
    align-items: center;
    gap: 14px;
    align-self: stretch;
}

article .entry-content .resume-education img {
    margin: 0;
}

.single-resume .resume-manager-education {
    padding: 0;
}

.single-resume .resume-manager-education dt {
    border: none;
    padding: 0;
    margin-top: 24px;
}

.single-resume .resume-manager-experience dt {
    padding-top: 24px;
}

.single-resume .resume-manager-education dt:first-of-type
{
    margin-top: 0;
}

.single-resume .resume-manager-education dd {
    border-left: 0;
    padding: 0;
}

.single-resume .resume-manager-education h3:before {
    content: none;
    border-radius: 10px;
    background: #FFF;
    width: 58px;
    height: 58px;
}

.resume-info-block {
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 2px 55px 0 rgba(0, 0, 0, 0.05);
    padding: 31px;
}

.resume-info-block .candidate-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.single-resume .resume-info-block hr {
    margin: 16px 0;
    border: none;
    color: #000B1F;
    opacity: 0.2;
    height: 2px;
}

.resume-info-block .candidate-title {
    gap: 8px;
}

.candidate-bottom {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-direction: column;
}

.candidate-bottom .btn {
    width: 100%;
    color: #141414;
    font-size: 16px;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.resume-info-block .primary-btn {
    border: 2px solid #DE3423;
    background: none;
}

.resume-info-block .primary-btn:hover {
    background: rgba(222, 52, 35, 0.20);;
}

.resume-info-block .secondary-btn {
    border: 1px solid #C8C5C5;
    background: #FEFDFD;
}

.resume-info-block .secondary-btn:hover {
    border: 1px solid #303030;
    background: #E2E3E4
}

.resume-info-block .secondary-dark-btn:hover {
    border: 1px solid #C8C5C5;
    background: #FEFDFD;
}

.resume-info-block .secondary-dark-btn {
    border: 1px solid #303030;
    background: #E2E3E4;
}

.resume-info-block .secondary-btn:after,
.resume-info-block .secondary-dark-btn:after{
    content: url("../images/download-rounded.svg");
    width: 24px;
    height: 24px;
}

.single-resume .resume-manager-skills {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 4px;
    align-self: stretch;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.single-resume .resume-manager-skills li {
    color: #141414;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;

    border-radius: 10000px;
    border: 1px solid #E3E3E3;
    background: #F5F5F5;
    display: flex;
    padding: 3px 10px;
    justify-content: center;
    align-items: center;
    gap: 1px;
    margin: 0;
    width: auto;
}

.single-resume .resume-manager-education h3, .single-resume .resume-manager-experience h3,
.single-resume .resume-manager-education h3 strong, .single-resume .resume-manager-experience h3 strong{
    color: #141414;
    font-family: "Inter Tight";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.single-resume .resume-manager-education p, .single-resume .resume-manager-experience p {
    color: #141414;
    font-family: "Inter Tight";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    opacity: 0.8;
}

.single-resume small.date {
    color: #000B1F;
    font-size: 14px;
    opacity: 0.6;
}

.single-resume .contact-us .mob img {
    display: none;
}

@media (max-width: 1440px) {
    .resume-info-block {
        padding: 24px 18px;
    }
}


@media (max-width: 1024px) {
    .single-resume .contact-us {
        width: 50%;
        margin: auto 0;
    }

    .contact-us-background img {
        object-position: 40% center
    }

    .contact-text {
        margin: 0 50px;
    }

    .contact-text br {
        display: block;
    }

    .single-resume .resume-manager-education h3, .single-resume .resume-manager-experience h3,
    .single-resume .resume-manager-education h3 strong, .single-resume .resume-manager-experience h3 strong{
        font-weight: 700;
    }
}

@media (max-width: 991px) {

    .contact-us-background img {
        object-position: 33% center;
    }

    .resume-info-block {
        background: #F3F3F3;
        border-radius: 0;
        box-shadow: 0 10px 15px -10px rgba(0, 0, 0, 0.05);
        padding: 0 0 25px;
    }

    .resume-info-block .candidate-header {
        flex-direction: row;
        align-items: center;
    }

    .single-resume .resume-info-block h1, .candidate-name {
        font-size: 42px;
    }

    .candidate-bottom {
        flex-direction: row;
    }

    .single-resume article.hentry {
        padding-top: 48px;
        margin-bottom: 40px;
    }

    .single-resume .section {
        padding: 100px 0 48px;
    }

    .single-resume .contact-us-section h2{
        font-size: 36px;
    }

}

@media (max-width: 768px) {

    .candidate-bottom {
        flex-direction: column;
    }

    .single-resume .resume-info-block h1, .candidate-name {
        font-size: 32px;
    }


    .single-resume .contact-us-section .wp-block-button__link {
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    .single-resume .contact-us-section h2 {
        padding: 20px 24px 11px;
    }

    .single-resume .contact-us-section h2{
        font-size: 28px;
    }

}

@media only screen and (max-width: 767px) {

    .single-resume .contact-us {
        width: 100%;
        margin: 0;
        padding-top: 0;
        padding-bottom: 18px;
    }

    .single-resume .contact-us-section > .wp-block-group__inner-container {
        justify-content: flex-start;
    }

    .single-resume .section {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .resume-info-block .candidate-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .single-resume .contact-us-background.desc {
        display: none;
    }

    .single-resume .contact-us-background.mob {
        display: block;
    }

    .single-resume .contact-us .mob img {
        margin: 15px auto;
        display: block;
        width: 180.173px;
        height: 148px;
        position: relative;
    }

    .single-resume .contact-us-section > .wp-block-group__inner-container {
        height: auto;
    }

    .single-resume .contact-us-section {
        background-image: url("../images/CPA-back.webp");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

}

@media only screen and (max-width: 500px) {

    .contact-text {
        margin: 0;
    }

    .single-resume .contact-us-section h2 {
        font-size: 32px;
    }
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 872px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.modal-body {
    display: flex;
    padding: 32px 44px;
    gap: 32px;
    align-items: stretch;
}

.modal-image-side {
    background: #f0f0f0;
}
.modal-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.modal-image-side img.desc{
    display: block;
}

.modal-image-side img.mob{
    display: none;
}

.modal-form-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-form-side h2 {
    color: #000B1F;
    font-family: "Inter Tight";
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 105%;
}

.modal-form-side strong {
    color: #DE3423;
}

/* Инпуты */
.modal-form-side input {
    width: 100%;
    padding: 16px;
    margin-bottom: 8px;
    border-radius: 5px;
    background: #F1F1F1;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    line-height: 105%;
}

.modal-form-side label {
    margin: 0;
}

.modal-form-side .wpcf7-acceptance span {
    color: #000B1F;
    font-size: 14px;
    line-height: normal;
    opacity: 0.8;
    margin: 0;
    font-weight: 400;
}

.modal-form-side input#process-my-data {
    margin: 0;
}

.modal-form-side .wpcf7-spinner {
    display: block;
    margin: 0 auto;
}

.modal-form-side input[type="checkbox"] {
    accent-color: #DE3423;
}

.modal-form-side .wpcf7-acceptance span a {
    color: #000B1F;
    text-decoration-line: underline !important;
    text-underline-position: from-font;
}

.single-resume .modal-form-side .wpcf7-submit {
    padding: 12px 56px;
    border-radius: 100000px !important;
    background: #DE3423;
    border: none;
    margin: 16px 0 0;
    font-size: 16px !important;
    width: auto;
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 30px !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: rgb(204, 204, 204) !important;
    z-index: 10;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {

    .modal-form-side h2 {
        font-size: 32px;
        text-align: center;
    }

    .single-resume .modal-form-side .wpcf7-submit {
        width: 100%;
        margin-top: 16px !important;
    }

    .modal-body {
        flex-direction: column;
        padding: 40px 23px 23px;
    }

    .modal-image-side img.desc{
        display: none;
    }

    .modal-image-side img.mob{
        display: block;
        width: 297px;
        height: 199px;
        margin: 0 auto;
    }

    .modal-image-side {
        background: none;
    }
}
