.career-banner {
    position: relative;
}

.banner-img-wrapper {
    position: relative;
}

.banner-overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.banner-overlay-top-ctn {
    text-align: left;
}


.career-banner h1 {
    margin-bottom: 20px;
    max-width: 450px;
    font-size: 62px;
    line-height: 62px;
}
 

.career-banner p {
    max-width: 485px;
}

.career-banner h1 span {
    display: block;
    color: #FFB89E;
    background: linear-gradient(180deg, #FFB89E 0%, #6E2813 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15));
    font-size: 80px;
    line-height: 100px;
}

.founders-quote {
    position: relative;
}

.quote-cross-overlay {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.cross-cover {
    z-index: 1;
    position: relative;
}

.cros-content {
    max-width: 576px;
    margin-left: auto;
    position: relative;
    padding-left: 75px;
    padding-top: 15px;
    margin-right: 25px;
}

.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
}

.cros-content h3 {
    margin-bottom: 30px;
    letter-spacing: -4%;
}

.cros-content h6 {
    font-size: 20px;
    line-height: 26px;
    color: #24262A;
    font-weight: 300;
}

.cros-content h6 span {
    font-size: 14px;
    line-height: 18px;
    padding-left: 20px;
    margin-left: 13px;
    border-left: 1px solid #858688;
}

.career-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 10px;
}

.career-header-left {
    flex: 0 0 auto;
    max-width: 38%;
}

.job-listing h5 {
    color: #6E2813;
    margin-bottom: 15px;
    display: inline-block;
}

.news-header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 33%;
    text-align: left;
}

.crosslink-image img {
    width: 100%;
}

.talktous-wrap {
    /* background: linear-gradient(180deg, #F9F9F9 0%, #FFFFFF 51.44%, rgba(255, 255, 255, 0) 100%); */
    background: url(../images/talktous-bg.png) right bottom no-repeat;
    position: relative;
    height: 100%;
}

.talktous-wrap::before {
    position: absolute;
    content: '';
    height: 245px;
    width: 100%;
    background: linear-gradient(180deg, #F9F9F9 0%, #FFFFFF 51.44%, rgba(255, 255, 255, 0) 100%);
    top: 0;
    left: 0;
    z-index: -1;
}

.talktous-wrap .row {
    justify-content: space-between;
}

.job-form-wrap .form-group {
    position: relative;
    margin-bottom: 35px;
}

.job-form-wrap .form-group input,
.job-form-wrap .form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #D6D0C9;
    background: transparent;
    padding: 25px 0 10px 0;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    color: #24262A;
    outline: none;
}

.job-form-wrap .contact-box {
    padding-right: 64px;
    padding-left: 8px;
}

.job-form-wrap .form-group label {
    position: absolute;
    top: 0px;
    left: 0;
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    color: #24262A;
    transition: 0.3s;
    pointer-events: none;
}

.job-form-wrap textarea {
    height: 104px;
    resize: none;
}

.upload-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 35px;

    padding-bottom: 0px;
}

.label-text {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    color: #181A1E;
}

.upload-container .input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hide the actual input */
#cv-upload {
    display: none;
}

/* Style the custom button */
.custom-file-upload {
    display: inline-block;
    padding: 7px 36px;
    cursor: pointer;
    background-color: #FCF3F0;
    color: #b36b5d;
    border-radius: 50px !important;
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
    min-width: 145px;
    transition: background-color 0.2s ease; 
    text-align: center;
}

.custom-file-upload:hover {
    background-color: #844F3D;
}
.custom-file-upload:hover span{
    background: #fff;
    background-clip: text;
    -webkit-background-clip: text;
}

.file-name {
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    color: #181A1E;
}

.file-info {
    font-size: 12px;
    color: #24262A;
    line-height: 14px;
    font-weight: 300;
}

.upload-container #portfolio-upload {
    display: none;
}

/* Header Row Styling */
.table-header {
    display: flex;
    padding-bottom: 15px;
    border-bottom: 1px solid #D6D0C9;
    color: #24262A;
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
}

/* Data Row Styling */
.job-row {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #D6D0C9;
    /* Optional row separator */
}

/* Column Widths */
.col-role {
    flex:2.8;
}

.col-location {
    flex: .8;
}

.col-date {
    flex: 0.79;
}
.col-action {
    flex: 0.72;
    text-align: right;
}
.total-wrap {
    flex: 2.32;
    display: flex;
}

/* Typography */
.role-title {
    /* Matching the serif style in the image */
  
    color: #181A1E;
    margin: 0;
font-weight: 400;
font-size: 36px;
line-height: 39px;
letter-spacing: -0.04em;

}

.location-info,
.date-info {
    display: flex;
    align-items: center;
    color: #24262A;
font-weight: 300;
font-size: 16px;
line-height: 20px;
letter-spacing: 0%;

}

.icon-pin {
    margin-right: 8px;
    color: #8b4513;
    /* Brown tone from the image */
    font-size: 1.1rem;
}

/* "Learn More" Pill Button */
.btn-learn {
    display: inline-block;
    background: transparent;
    text-decoration: none;
    color: #6E2813;
    border: 1px solid #FFB89E;
    padding: 6px 35px;
    border-radius: 50px;
    font-size: 14px;
    line-height: normal;
    transition: background 0.3s ease;
}

.btn-learn:hover {
    background-color: #844F3D;
    color: #fff;
    border: #844F3D;
}

.mix-wrap {
    display: flex;
    flex: 1.4;
}
.mix-wrap .col-date {
    flex: 0.7;
} 

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill { 
  -webkit-text-fill-color: inherit !important; 
  box-shadow: 0 0 0px 1000px transparent inset !important; 
  transition: background-color 9999s ease-in-out 0s !important;  
}
.career-header .news-header-right { 
    /* max-width: 32%;  */
    margin-right: 109px;
}
.career-header .news-header-right p {
    max-width: 418px;
}

.wp-block-column-is-layout-flow h2{
    max-width: 500px;
}
.wp-block-cover {
    min-height: 250px;
    padding: 50px 0px 0px 0px;
}
.job-load-more-wrap {
    text-align: center;
    padding-top: 50px;
}

.legacy-career {
        background: url(../images/desk-bg-1.png) right bottom no-repeat;
    position: relative;
    width: 100%;
}
.has-white-background-color {
    background-color: transparent !important;
}
@media (min-width:1400px) {
    .wp-block-column-is-layout-flow h2 { 
    margin-left: 12px;
}
.wp-block-column-is-layout-flow p{
        margin-left: 30px;
}
}
@media (max-width:1299px) {
    .btn-learn { 
    padding: 6px 25px;}
}
@media (max-width:1199px) {
    .btn-learn { 
    padding: 6px 18px;}
}

@media (max-width: 1024px) {
        .career-header .news-header-right {  
    margin-right: 0;
}

    .btn-learn{
        padding: 7px 24px;
        font-weight: 500;
    }
    .col-role {
    flex: 2.5;
}
    .col-action {
    flex: 0.8;
    }
    .role-title{
    font-size: 28px;
    line-height: 28px;
    }
    .job-form-wrap .contact-box {
        padding-right: 0;
        padding-left: 0;
    }

    .cros-content {
        max-width: 500px;
        
    }
}

@media (max-width:991px) {
    .btn-learn{
        padding: 7px 14px;
        font-weight: 500;
    }
    .cros-content { 
    margin-right: 0;
}
.career-banner p {
    max-width: 419px;
}

}

@media (max-width:767px) {
        .career-header .news-header-right {
        margin-right: auto;
        margin-left: auto;
    }
    .cros-content h3 {
    margin-bottom: 44px;
    }
    .form-bottom .wpcf7-spinner {
    left: 115px;
}
    .legacy-career {
        background: url(../images/mob-bg-01.png) right bottom no-repeat;
    position: relative;
    width: 100%;
}
     .talktous-wrap{
            background: url(../images/talktous-bg-mobile.png) right bottom no-repeat;
    }
    .job-row { 
    padding: 24px 0; 
}
     .btn-learn{
        padding: 7px 34px;
        font-weight: 500;
    }
    .location-info, .date-info { 
    font-size: 14px; 
}
    .news-header-right p{
        margin-bottom: 0;
            border-bottom: 1px solid #eee;
            padding-bottom: 24px;
    }
    .news-header-right{
     max-width: 350px;
    text-align: center;
    margin: auto;
    }
    .career-header {
    display: block;
    margin-bottom: 0;
    }
    .career-header-left {
    max-width: 340px;
    margin: auto;
    text-align: center;
}
        .col-role {
        flex: inherit;
        margin-bottom: 14px;
    }
    .mix-wrap {
        display: flex;
        flex: inherit;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 10px;
}
    .total-wrap {
    flex: inherit;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
    .job-row {
    align-items: start;
    flex-wrap: wrap;
    flex-direction: column;
}
    .table-header{
        display: none;
    }
    .job-form-wrap textarea {
        height: 70px;
    }

 

    .talktous-wrap.job-form-wrap h2,
    .talktous-wrap.job-form-wrap p {
        text-align: center;
    }

    .cros-content h6 span {
        padding-left: 20px;
        margin-left: 20px;
    }

    .cros-content h6 {
        font-size: 16px;
        line-height: 20px;
    }

    .quote-cross-overlay {
        align-items: start;
        top: 50px;
    }

    .cros-content {
        margin-left: inherit;
        padding-left: 69px;
    }
    .quote-icon { 
    left: -5px; 
    }

    .career-banner p {
        max-width: 310px;
        margin: auto;
    }

    .career-banner h1 {
        max-width: 242px;
        margin: auto;
    }

    .banner-overlay-top-ctn {
        text-align: center;
    }

    .banner-overlay {
        align-items: start;
        padding-top: 130px;
    }

    .crosslink-image img {
        width: 100%;
    }


    .inner-banner h1 {
        font-size: 36px;
        line-height: 36px;
        margin-bottom: 24px;
    }
    .inner-banner h1 span{
        font-size: 44px;
        line-height: 52px; 
    }

}

@media (max-width:590px) {
    .wp-block-column-is-layout-flow h2 {
    max-width: 337px;
    }
    .file-info { 
    padding-bottom: 27px !important;
}
    .wp-block-cover__inner-container .wp-block-columns-is-layout-flex{
    gap: 0;
} 
    /* .upload-container .input-group { 
    gap: 10px;
} */
.custom-file-upload { 
    padding: 7px 36px;
}
}
.form-bottom .wpcf7-spinner {
    margin: 0;
    padding: 0;
    right: auto;
    position: absolute;
    left: 120px;
}
.wpcf7-form  .form-bottom {
    margin-top: -15px;
    display: flex;
    align-items: center;
}
@media (max-width: 911px) and (min-width: 768px) {
.career-banner h1 span { 
    font-size: 49px;
    line-height: 60px;
}
.career-banner h1 { 
    max-width: 265px;
    font-size: 35px;
    line-height: 40px;
}
.cros-content h3 {
    margin-bottom: 30px;
    font-size: 17px;
}
.career-header-left { 
    max-width: 40%;
}
.cros-content {
    max-width: 400px;
}   
.news-header-right { 
    max-width: 44%; 
}	
}


@media (min-width: 767px) and (max-width: 1200px) {
      .banner-overlay{
        align-items: flex-end;
        padding-bottom: 35px;
    }
}
@media (min-width:1024px) { 
.banner-overlay-top-ctn {
 
    margin-left: 110px;
}
.career-banner h1 span {
    margin-top: -10px;
}
}
@media (max-width:360px) {
    .cros-content h3{
        font-size: 21px;
        line-height: 24px;
    }
    .cros-content{
        padding-left: 61px;
    }
}


span.custom-client-error{
    margin-top: 12px;
    font-size: 14px !important;
}

 .file-info{
        border-bottom: 1px solid #D6D0C9;
        padding-bottom: 17px;
 }

 .upload-container span.custom-client-error{
    margin-top: 0;
 }

 .custom-file-upload span{
background: linear-gradient(90deg, var(--Primary-Melon, #FFB89E) 0%, var(--Primary-Metallic-Copper, #6E2813) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
 }
 @media(max-width:389px) { 
     .cros-content h6 span {
        padding-left: 8px !important; 
        margin-left: 8px !important;
    }
    .cros-content h6 span {
    font-size: 14px !important; 
    }
    .cros-content h6 {
        font-size: 14px !important; 
    }
}