/* ============================================
   CAREERS PAGE STYLES
   ============================================ */

.logoNoMorph {
    position: relative !important;
}

.svglogoNoMorph, .svglogoNoMorph-WovenPlace {
    fill: var(--white);
}

body, html {
    background-color: var(--black);
    color: var(--white);
}

.flexRow {
    display: flex;
    position: relative;
    width: 100%;
    height: auto;
}

/* ============================================
   CAREERS BANNER
   ============================================ */

.careersBannerWrapper {
    height: 48vh;
    width: 100vw;
    position: relative;
}

.careersBanner-Inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.careersBannerImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CAREERS INFO SECTION
   ============================================ */

.careersInfoWrapper {
    padding: 100px var(--widthOffset);
    background-color: var(--black);
}

.careersInfoWrapper-inner {
    max-width: 1440px;
    margin: 0 auto ;
}

.careersTitle {
    font-size: 44px;
    line-height: 125%;
    color: var(--white);
    margin: 0 0 1em 0;
    padding: 0;
}

.careersTitle::before {
    content: "";
    height: 2px;
    width: 160px;
    background-color: var(--white);
    display: block;
    margin-bottom: 15px;
}

.careersIntro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--white);
    max-width: 700px;
    opacity: 0.85;
}

.careersInfo-Left {
    width: 100%;
}

/* ============================================
   POSITIONS LIST SECTION
   ============================================ */

.careersListWrapper {
    padding: 100px var(--widthOffset);
    background-color: var(--white);
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
}

.careersListInner {
    width: 100%;
    max-width: 1440px;
}

.sectionLabel {
    display: block;
    font-family: var(--medium);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: inherit;
    opacity: 0.6;
}

.sectionLabel::before {
    content: "";
    width: 80px;
    display: block;
    margin-bottom: 8px;
    height: 1px;
    background-color: currentColor;
}

/* ============================================
   POSITIONS GRID
   ============================================ */

.positionsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

.positionsGrid.has-expanded {
    display: block;
}

/* ============================================
   POSITION CARD - DEFAULT STATE
   ============================================ */

.positionCard {
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    transition: opacity 400ms ease, transform 400ms ease, background-color 200ms ease;
    position: relative;
}

.positionCard:hover {
    background-color: #f0f0f0;
}

/* ============================================
   POSITION CARD - PREVIEW (COLLAPSED)
   ============================================ */

.positionCardPreview {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.positionHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.positionDepartment {
    font-family: var(--medium);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    background-color: #e0e0e0;
    padding: 4px 10px;
}

.positionType {
    font-family: var(--medium);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.positionTitle {
    font-family: var(--light);
    font-size: 24px;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: var(--black);
    text-transform: uppercase;
}

.positionLocation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

.positionLocation .locationIcon {
    font-size: 12px;
    opacity: 0.7;
}

.positionDescription {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    flex-grow: 1;
    margin-bottom: 20px;
}

.positionFooter {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
}

.positionExpandBtn {
    font-size: 10px !important;
    padding: 10px 24px !important;
    cursor: pointer;
}

/* ============================================
   POSITION CARD - EXPANDED CONTENT (HIDDEN BY DEFAULT)
   ============================================ */

.positionCardExpanded {
    display: none;
    opacity: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 400ms ease, max-height 400ms ease;
}

/* ============================================
   POSITION CARD - FADED STATE
   ============================================ */

.positionCard.is-faded {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

/* ============================================
   POSITION CARD - EXPANDED STATE
   ============================================ */

.positionCard.is-expanded {
    background-color: var(--white);
    width: 100%;
    max-width: 100%;
}

.positionCard.is-expanded:hover {
    background-color: var(--white);
    transform: none;
}

.positionCard.is-expanded .positionCardPreview {
    display: none;
}

.positionCard.is-expanded .positionCardExpanded {
    display: block;
    opacity: 1;
    max-height: none;
    overflow: visible;
    padding: 80px 200px;
}

/* ============================================
   EXPANDED CARD - CLOSE BUTTON
   ============================================ */

.positionCloseBtn {
    position: absolute;
    top: 80px;
    right: 200px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--black);
    padding: 8px 16px;
    cursor: pointer;
    font-family: var(--medium);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--black);
    transition: background-color 200ms ease, color 200ms ease;
    z-index: 10;
}

.positionCloseBtn:hover {
    background-color: var(--black);
    color: var(--white);
}

.positionCloseBtn .wis-x {
    font-size: 10px;
}

.closeBtnText {
    line-height: 1;
}

/* ============================================
   EXPANDED CARD - HEADER
   ============================================ */

.positionExpandedHeader {
    margin-bottom: 40px;
    padding-right: 120px;
}

.positionExpandedTitle {
    font-family: var(--light);
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: var(--black);
    text-transform: uppercase;
}

.positionExpandedTitle::before {
    content: "";
    height: 2px;
    width: 120px;
    background-color: var(--black);
    display: block;
    margin-bottom: 15px;
}

.positionMeta {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.positionMeta .positionLocation {
    margin-bottom: 0;
}

.positionReportsTo {
    font-size: 12px;
    color: #666;
}

.positionReportsTo strong {
    font-family: var(--medium);
    color: var(--black);
}

/* ============================================
   EXPANDED CARD - CONTENT SECTIONS
   ============================================ */

.positionExpandedContent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.positionSection {
    margin-bottom: 30px;
}

.positionSection:nth-child(1) {
    grid-column: 1 / -1;
}

.positionSection:nth-child(2) {
    grid-column: 1 / -1;
}

.positionSectionTitle {
    font-family: var(--medium);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    color: var(--black);
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.positionSection p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 15px;
}

.positionSection p:last-child {
    margin-bottom: 0;
}

/* ============================================
   EXPANDED CARD - RESPONSIBILITIES
   ============================================ */

.responsibilityGroup {
    margin-bottom: 25px;
}

.responsibilityGroup:last-child {
    margin-bottom: 0;
}

.responsibilityTitle {
    font-family: var(--medium);
    font-size: 13px;
    color: var(--black);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.responsibilityList {
    list-style: none;
    margin: 0;
    padding: 0;
}

.responsibilityList li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.responsibilityList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: #ccc;
}

/* ============================================
   EXPANDED CARD - QUALIFICATIONS & BENEFITS
   ============================================ */

.qualificationsList,
.benefitsListExpanded {
    list-style: none;
    margin: 0;
    padding: 0;
}

.qualificationsList li,
.benefitsListExpanded li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.qualificationsList li::before,
.benefitsListExpanded li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--black);
}

.benefitsListExpanded li::before {
    background-color: #2e7d32;
}

/* ============================================
   EXPANDED CARD - FOOTER & APPLY BUTTON
   ============================================ */

.positionExpandedFooter {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-start;
}

.positionApplyBtn {
    font-size: 11px !important;
    padding: 14px 40px !important;
    cursor: pointer;
}

/* ============================================
   APPLICATION FORM WRAPPER
   ============================================ */

.positionApplicationWrapper {
    display: none;
    opacity: 0;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--black);
    transition: opacity 400ms ease;
}

.positionCard.show-application .positionApplicationWrapper {
    display: block;
    opacity: 1;
}

.positionCard.show-application .positionExpandedFooter {
    display: none;
}

/* ============================================
   APPLICATION FORM STYLES
   ============================================ */

.applicationFormHeader {
    margin-bottom: 20px;
}

.applicationFormHeader .positionSectionTitle {
    margin-bottom: 12px;
}

.applicationFormIntro {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.careers_form {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    gap: 1em;
}

.careers_form input,
.careers_form textarea,
.careers_form select {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    font-size: 12px;
    padding: 1rem;
    color: var(--black);
}

.careers_form input:active,
.careers_form input:focus,
.careers_form textarea:active,
.careers_form textarea:focus,
.careers_form select:active,
.careers_form select:focus {
    background-color: #ffffff;
    border-color: #999;
    transition: all 200ms ease-in;
    outline: none;
}

.careers_form input::placeholder,
.careers_form textarea::placeholder {
    text-transform: uppercase;
    color: #888;
}

.careers_form input:-webkit-autofill,
.careers_form input:-webkit-autofill:hover,
.careers_form input:-webkit-autofill:focus,
.careers_form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f5f5f5 inset !important;
    -webkit-text-fill-color: #333 !important;
    font-family: var(--medium);
}

.careers_form textarea {
    resize: none;
    width: 100%;
}

.careersFormWrapper,
.careersInfo-Left,
.inputWrapper,
.inputWrapper input {
    width: 100%;
}

.careers_form .flexRow {
    gap: 1em;
}

.careersMessageBox {
    min-height: 84px;
    vertical-align: text-top;
}

.careers_form .submitBtn {
    width: 100%;
    height: 44px;
    color: var(--white);
    background-color: var(--black);
    border: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 300ms ease-out;
}

.careers_form .submitBtn:hover {
    color: var(--white);
    background-color: #333;
    transition: background-color 200ms ease-in;
}

.careers_form .submitBtn:focus,
.careers_form .submitBtn:active {
    background-color: #555;
    transition: background-color 200ms ease-in-out;
}

/* ============================================
   FORM VALIDATION ERROR STYLES
   ============================================ */

.careers_form .input-error {
    border-color: #c44 !important;
    background-color: #fff5f5 !important;
}

.careers_form .input-error:focus {
    border-color: #a00 !important;
    box-shadow: 0 0 0 2px rgba(204, 68, 68, 0.2);
}

.careers_form .inputWrapper.has-error {
    position: relative;
}

.careers_form .field-error-message {
    display: block;
    color: #c44;
    font-size: 11px;
    margin-top: 4px;
    font-family: var(--medium);
}

/* Read-only position field styling */
.careers_form input[readonly] {
    background-color: #e8e8e8;
    color: #333;
    cursor: default;
    text-transform: uppercase;
}

/* ============================================
   DRAG & DROP FILE UPLOAD STYLES
   ============================================ */

.file-upload-wrapper {
    width: 100%;
}

.file-upload-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 8px;
}

.file-drop-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 2rem;
    background-color: #f5f5f5;
    border: 2px dashed #ccc;
    cursor: pointer;
    transition: all 200ms ease;
}

.file-drop-zone:hover {
    background-color: #ebebeb;
    border-color: #999;
}

.file-drop-zone.drag-over {
    background-color: #e8f4e8;
    border-color: #4a9f4a;
    border-style: solid;
}

.file-drop-zone.has-file {
    border-style: solid;
    border-color: #4a9f4a;
    background-color: #f0f8f0;
}

.file-drop-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-drop-icon {
    font-size: 28px;
    color: #999;
    margin-bottom: 12px;
    transition: color 200ms ease, transform 200ms ease;
}

.file-drop-zone:hover .file-drop-icon {
    color: #666;
    transform: translateY(-2px);
}

.file-drop-zone.drag-over .file-drop-icon {
    color: #4a9f4a;
    transform: scale(1.1);
}

.file-drop-zone.has-file .file-drop-icon {
    color: #4a9f4a;
}

.file-drop-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.5;
}

.file-drop-text strong {
    display: block;
    font-family: var(--medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: #444;
}

.file-drop-text span {
    font-size: 11px;
    color: #888;
}

.file-drop-zone.has-file .file-drop-text {
    color: #3a7f3a;
}

.file-drop-zone.has-file .file-drop-text strong {
    color: #3a7f3a;
}

.file-name-display {
    display: none;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #e8f4e8;
    font-size: 11px;
    color: #333;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    border-radius: 2px;
}

.file-drop-zone.has-file .file-name-display {
    display: flex;
}

.file-name-display .file-icon {
    font-size: 14px;
    color: #4a9f4a;
}

.file-name-display .file-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-name-display .file-remove {
    background: none;
    border: none;
    color: #c44;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
    transition: color 200ms ease;
}

.file-name-display .file-remove:hover {
    color: #a00;
}

.file-formats {
    margin-top: 8px;
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Two file uploads side by side */
.file-uploads-row {
    display: flex;
    gap: 1em;
}

.file-uploads-row .file-upload-wrapper {
    flex: 1;
}

@media (max-width: 768px) {
    .file-uploads-row {
        flex-direction: column;
    }
    
    .file-drop-zone {
        min-height: 100px;
        padding: 1.5rem;
    }
    
    .file-drop-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
}

/* ============================================
   CULTURE / BENEFITS SECTION
   ============================================ */

.careersCultureSection {
    padding-top: 80px;
    padding-bottom: 80px;
}

.cultureContent {
    width: 100%;
}

.benefitsList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.benefitItem {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.benefitTitle {
    font-family: var(--medium);
    font-size: 16px;
    text-transform: uppercase;
    color: var(--white);
}

.benefitDesc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--white);
    opacity: 0.75;
}

/* ============================================
   CAREERS CONTACT SECTION
   ============================================ */

.careersContactWrapper {
    padding: 80px var(--widthOffset);
    background-color: #2c2c2c;
    display: flex;
    justify-content: center;
}

.careersContactInner {
    width: 80%;
}   

.careersContactTitle {
    font-family: var(--light);
    font-size: 32px;
    line-height: 1.3;
    color: var(--white);
    text-transform: uppercase;
    margin: 20px 0;
}

.careersContactText {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.8;
}

.careersContactText a {
    color: var(--white);
    text-decoration: underline !important;
    font-family: var(--medium);
    transition: opacity 200ms ease;
}

.careersContactText a:hover {
    opacity: 0.7;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .positionExpandedContent {
        grid-template-columns: 1fr;
    }
    
    .positionSection:nth-child(1),
    .positionSection:nth-child(2) {
        grid-column: 1;
    }
}

@media (max-width: 1012px) {
    .careersInfoWrapper {
        padding: var(--widthOffset);
        margin-top: 0;
    }
    
    .flexRow {
        flex-direction: column;
        gap: 4em;
    }
    
    .careersTitle {
        font-size: 6vw;
    }
    
    .positionsGrid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefitsList {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .careersContactTitle {
        font-size: 24px;
    }
    
    .positionCard.is-expanded .positionCardExpanded {
        padding: 30px;
    }
    
    .positionExpandedHeader {
        padding-right: 0;
        padding-top: 50px;
    }
    
    .positionCloseBtn {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
    }
    
    .positionMeta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .careersBannerWrapper {
        height: 35vh;
    }
    
    .careersTitle {
        font-size: 28px;
    }
    
    .careersTitle::before {
        width: 100px;
    }
    
    .careersIntro {
        font-size: 16px;
    }
    
    .positionCardPreview {
        padding: 24px;
    }
    
    .positionTitle {
        font-size: 20px;
    }
    
    .positionExpandedTitle {
        font-size: 28px;
    }
    
    .positionCard.is-expanded .positionCardExpanded {
        padding: 20px;
    }
    
    .careersCultureSection {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .careersContactWrapper {
        padding: 50px var(--widthOffset);
    }
    
    .positionCloseBtn .closeBtnText {
        display: none;
    }
    
    .positionCloseBtn {
        padding: 8px;
    }
    
    .positionCloseBtn .wis-x {
        font-size: 14px;
    }
}
