:root{
    --primary-color: #FC9F6C;
    --primary-color-hover: #333;
    --secondary-color: #FDFBF7;
    --color: #0A0909;

    --font-size-heading: clamp(1.45rem, 1.9vw, 2.05rem);
}

a.rwp-primary-btn{
    background-color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.3s ease;
    color: var(--color);
}

a.rwp-primary-btn:hover{
    background-color: var(--primary-color-hover);
    color: #fff;
    transition: all 0.3s ease;
}

a.rwp-primary-btn.wide-btn{
    width: 100%;
}

a.rwp-primary-btn:hover svg path{
    fill: #fff;
    transition: all 0.3s ease;
}

a.rwp-primary-btn svg{
    width: 13px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

a.rwp-primary-btn svg path{
    fill: var(--color);
    transition: all 0.3s ease;
}

a.rwp-primary-btn:hover svg{
    transform: translateX(4px);
}

a.rwp-primary-btn.arrow-left svg{
    transform: rotate(180deg);
}

a.rwp-primary-btn.arrow-left:hover svg{
    transform: translateX(-4px) rotate(180deg);
}

.facetwp-type-pager{
    font-size: 14px;
    font-weight: 500;
}

.rwp-job-item{
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 75% 15%;
    justify-content: space-between;
    align-items: flex-end;
}

.rwp-job-item > :nth-child(2){
    justify-self: end;
    text-align: right;
}

.rwp-job-item a{
    text-decoration: none;
    color: var(--color);
}

.rwp-job-item h2{
    margin: 0 0 5px 0;
    color: var(--color);
    font-size: var(--font-size-heading);
}

.rwp-job-item ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rwp-job-item li{
    font-size: 14px;
    font-weight: 600;
    color: #5C5A59;
}

.rwp-job-item li:not(:first-child)::before{
    content: "•";
    margin-right: 6px;
    color: #5C5A59;
}

.rwp-job-item p{
    font-size: 16px;
    margin-bottom: 0;
}

.rwp-filter-bg{
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    margin: 0;
}

.rwp-filter-bg p{
    font-size: 15px;
    font-weight: 600;
    color: var(--color);
    margin-bottom: 5px;
}

.rwp-filter-bg .facetwp-facet{
    margin-bottom: 0;
}

select.facetwp-dropdown{
    width: 100%;
    border: 1px solid #E5E3E1;
    border-radius: 5px;
    padding: 13px 42px 13px 15px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    color: var(--color);
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%235C5A59' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    cursor: pointer;
}

.facetwp-type-dropdown,
.facetwp-type-checkboxes,
.facetwp-type-slider{
    margin: 0;
}

.facetwp-type-checkboxes,
.facetwp-slider-label{
    font-size: 15px;
    font-weight: 400;
    color: var(--color);
}

span.facetwp-counter{
    background-color: var(--primary-color);
    color: var(--color);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
}

.facetwp-checkbox{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.facetwp-type-slider .facetwp-slider-reset{
    border: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.facetwp-type-slider .facetwp-slider-reset:hover{
    color: var(--primary-color);
    transition: all 0.3s ease;
}


.rwp-jobalerts{
    position: relative;
    padding-left: 28px;
    overflow: hidden;
}

.rwp-jobalerts::before{
    content: "";
    position: absolute;
    right: 0px;
    top: -8px;
    width: 56px;
    height: 56px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 560'%3E%3Cpath fill='%23fdfbf7' d='M537 117.5c5.6 9.6 2.9 21.6-5.1 29.3-12.5 12.1-26.9 25.1-42.6 38.1-60.3 49.9-136.1 95.1-209.2 95.1S131.1 234.8 70.8 184.9c-15.7-13-30-26-42.6-38.1-8-7.7-10.7-19.7-5.1-29.3 4.6-7.9 10.1-15.2 16.6-21.8 17.3-17.3 39.5-27 65.1-32.5 25.3-5.5 55.7-7.2 91.2-7.2l168 0c35.6 0 65.9 1.7 91.2 7.2 25.6 5.5 47.8 15.2 65.1 32.5 6.6 6.6 12.1 13.9 16.6 21.8zM.1 308c0 35.6 1.7 65.9 7.2 91.2 5.5 25.6 15.2 47.8 32.5 65.1s39.5 27 65.1 32.5c25.3 5.5 55.7 7.2 91.2 7.2l168 0c35.6 0 65.9-1.7 91.2-7.2 25.6-5.5 47.8-15.2 65.1-32.5s27-39.5 32.5-65.1c5.5-25.3 7.2-55.7 7.2-91.2 0-21.6 .2-43.3 0-64.9-.2-17.9-21.2-26.5-35-15-62.5 51.6-151.2 107.9-244.9 107.9S97.6 279.7 35.1 228.1c-13.8-11.4-34.9-2.9-35 15-.2 21.6 0 43.3 0 64.9z'/%3E%3Cpath fill='none' stroke='%23C9C1AF' stroke-width='10' stroke-linejoin='round' d='M537 117.5c5.6 9.6 2.9 21.6-5.1 29.3-12.5 12.1-26.9 25.1-42.6 38.1-60.3 49.9-136.1 95.1-209.2 95.1S131.1 234.8 70.8 184.9c-15.7-13-30-26-42.6-38.1-8-7.7-10.7-19.7-5.1-29.3 4.6-7.9 10.1-15.2 16.6-21.8 17.3-17.3 39.5-27 65.1-32.5 25.3-5.5 55.7-7.2 91.2-7.2l168 0c35.6 0 65.9 1.7 91.2 7.2 25.6 5.5 47.8 15.2 65.1 32.5 6.6 6.6 12.1 13.9 16.6 21.8zM.1 308c0 35.6 1.7 65.9 7.2 91.2 5.5 25.6 15.2 47.8 32.5 65.1s39.5 27 65.1 32.5c25.3 5.5 55.7 7.2 91.2 7.2l168 0c35.6 0 65.9-1.7 91.2-7.2 25.6-5.5 47.8-15.2 65.1-32.5s27-39.5 32.5-65.1c5.5-25.3 7.2-55.7 7.2-91.2 0-21.6 .2-43.3 0-64.9-.2-17.9-21.2-26.5-35-15-62.5 51.6-151.2 107.9-244.9 107.9S97.6 279.7 35.1 228.1c-13.8-11.4-34.9-2.9-35 15-.2 21.6 0 43.3 0 64.9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: rotate(-15deg);
}

.hero-filters{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.hero-filters .facetwp-type-search{
    flex: 1;
}

.hero-filters span{
    width: 100%;
}

input.facetwp-search{
    padding: 12px 15px;
    border: 1px solid #E5E3E1;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.rwp-popup-dialog{
    max-height: 75vh !important;
    outline: none;
    padding: 1.75rem 2rem 2rem 2rem !important;
    border-radius: 1.75rem !important;
}

.rwp-popup-dialog .gform-theme form .gform-body .gform_fields{
    row-gap: 25px;
    column-gap: 30px;
}

.rwp-popup-dialog .gform_heading{
    margin-bottom: 30px;
}

.rwp-popup-dialog h2.gform_title{
    margin: 0;
    font-weight: 600;
    color: var(--color);
}

.rwp-popup-dialog p.gform_description{
    margin: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color);
    opacity: 0.6;
}

.rwp-popup-dialog input[type="text"],
.rwp-popup-dialog input[type="email"],
.rwp-popup-dialog input[type="tel"]{
    background-color: #F0F0F0;
    border: none;
    box-shadow: none;
    border-radius: 5px;
}

.rwp-popup-dialog label.gfield_label{
    font-weight: 600;
}

.rwp-popup-dialog input#gform_submit_button_1,
input#gform_submit_button_2{
    background-color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 3px;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    transition: all 0.3s ease;
    color: var(--color);    
}

.rwp-popup-dialog input#gform_submit_button_1:hover,
input#gform_submit_button_2:hover{
    background-color: var(--primary-color-hover);
    color: #fff;
    transition: all 0.3s ease;    
}

button.rwp-popup-close{
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: #707271;
    font-weight: 400;
    top: 1.25rem;
    right: 1.5rem;
    cursor: pointer;
}

p.gform_required_legend{
    display: none;
}

label.gfield_label.gform-field-label{
    gap: 3px;
}

.gform_confirmation_message h2{
    margin: 0;
}

.gform_confirmation_message p{
    font-size: 16px;
    color: var(--color);
    font-weight: 500;
    margin-bottom: 0;
}

.consultant-meta-consultant-job-title{
    font-style: italic;
    font-size: 17px;
    margin: 0 0 10px 0;
}

.consultant-meta-consultant-email,
.consultant-meta-consultant-telephone{
    font-size: 17px;
    margin: 0 0 7px 0;
}

.consultant-meta-consultant-email a,
.consultant-meta-consultant-telephone a{
    color: var(--color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
}

.consultant-meta-consultant-email a:hover,
.consultant-meta-consultant-telephone a:hover{
    transition: all 0.3s ease;
    border-bottom-color: var(--primary-color);
}

.wp-block-separator{
    border-bottom: 1px solid var(--color);
    opacity: 0.2 !important;
}

.consultant-meta-consultant-fullname{
    font-size: 24px;
    font-weight: 600;
}

.wp-block-recruiterwp-job-meta{
    font-size: 15px;
    font-weight: 500;
    color: var(--color);
}

.wp-block-recruiterwp-job-meta span{
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color);
    opacity: 0.6;
}


@media screen and (max-width: 768px){
    .rwp-popup-shell{
        padding: 0 !important;
    }
    .rwp-popup-dialog{
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        padding: 1.5rem !important;
    }
}

p.rwp-form-error{
    font-size: 14px;
    color: #790000;
    margin-bottom: 0;
    font-weight: 600;
    margin-top: 0px;
}

a.filter-toggle{
    display:  none;
    text-align: center;
}

@media screen and (max-width: 900px){
    .rwp-job-item{
        grid-template-columns: 1fr;
    }
    .rwp-job-item > :nth-child(2){
        justify-self: flex-start;
        margin-top: 12px;
    }
    .listing-col-parent .wp-block-columns{
        flex-wrap: wrap !important;
    }
    .listing-col-parent .wp-block-columns .wp-block-column{
        flex-basis: 100% !important;
    }
    .listing-col-parent .wp-block-columns .wp-block-column:first-child{
        order: 2 !important;
    }
    .listing-col-parent .wp-block-columns .wp-block-column:last-child{
        order: 1 !important;
    }
    .rwp-jobalerts{
        display: none !important;
    }
    .rwp-filter-bg{
        display: none;
    }
    .rwp-filter-bg.is-active{
        display: block;
        margin-top: 15px;
    }
    a.filter-toggle{
        display: flex;
    }
}

.recruiterwp-manual-refresh-message{
    font-size: 14px;
    color: #fff;
    font-weight: 600;
}

button.recruiterwp-manual-refresh-btn{
    background: none;
    box-shadow: none;
    border: none;
    outline: none;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
}