@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --orange: #F05D35;
    --white: #F6F6F6;
    --bg: #0C0C0C;
    --card-bg: #1A1A1A;
    --input-bg: #363636;
    --input-border: #363636;
    --border-subtle: rgba(255, 255, 255, 0.10);
}

.career-hero {
    padding-bottom: 80px;
    min-height: auto !important;
}

.hr-mail-address {
    opacity: 0.8;
    color: var(--Orange, #F05D35);
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: 0.36px;
}

.open-roles {
    padding-top: 50px;
}

.jobs-list {
    /* max-width: 680px;
    margin: 0 auto; */
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 600px;
    overflow-y: scroll;
}

/* ── Each job item ── */
.job-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    padding: 28px 0;
}

.open-position-btn {
    height: 56px !important;
    line-height: 56px !important;
}

.job-tag {
    color: var(--Orange, #F05D35);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    /* 24px */
    margin-bottom: 14px;
    text-transform: none;
}

a.open-position-btn {
    color: var(--Orange, #F05D35);
    text-align: center;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    position: relative;
}

.job-title {
    color: var(--white, #F6F6F6);
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    /* 36px */
    margin-bottom: 14px;
    letter-spacing: 0.4px;
}

/* Description — collapsed: 1 line, expanded: full */
.job-desc {
    color: var(--white, #F6F6F6);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    /* 24px */
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 24px;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.35s ease;

    opacity: 0.7;
    letter-spacing: 0.32px;
}

.job-desc.expanded {
    -webkit-line-clamp: unset;
    overflow: visible;
    max-height: 200px;
}

/* Meta row */
.job-meta {
    display: flex;
    align-items: center;
    color: var(--white, #F6F6F6);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    /* 24px */
    opacity: 0.7;
    margin-bottom: 30px;
    letter-spacing: 0.32px;
}

.job-meta span {
    display: flex;
    align-items: center;
    /* gap: 10px; */
}

.job-meta span+span::before {
    content: '|';
    margin: 0 20px;
    opacity: 0.35;
}

/* Action row */
.job-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Toggle button */
.btn-toggle {
    /* width: 44px;
    height: 44px; */
    border-radius: 10px;
    border: 1px solid #FEFEFE;
    background: #1A1A1A;
    box-shadow: 0 2px 0 0 rgba(201, 201, 201, 0.25) inset, 0 4px 3px 0 rgba(255, 242, 242, 0.25) inset, 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: border-color 0.2s, background 0.2s;
    flex-shrink: 0;
}

.btn-toggle svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-toggle.open svg {
    transform: rotate(180deg);
}

.job-description {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    align-content: center;
    margin-top: 40px;
}

.job-description h4 {
    color: var(--white, #F6F6F6);
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin: 0;
}

.job-description p {
    color: var(--white, #F6F6F6);
    text-align: center;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    opacity: 0.8;
}

.career-job-img {
    background: #0C0C0C;
    margin-bottom: 23px;
}



/* ── HERO HEADER ── */
.job-hero {
    margin-bottom: 40px;
}

.job-page {
    margin: 60px 0 130px;
}

.job-hero h1 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
}

.job-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 8px;
}

.job-hero-meta span+span::before {
    content: '|';
    margin: 0 16px;
    opacity: 0.4;
}

.job-location {
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 150%;
    color: var(--white);
    opacity: 0.7;
    margin-bottom: 16px;
}

/* ── TWO-COLUMN LAYOUT ── */
.job-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 768px) {
    .job-body {
        grid-template-columns: 1fr;
    }
}

/* ── APPLY FORM CARD ── */
.apply-card {
    border-radius: 10px;
    border: 1px solid #333232;
    background: #0C0C0C;
    padding: 35px 35px 34px 35px;
    /* border: 1px solid var(--border-subtle); */
}

.apply-card h2 {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--white);
    opacity: 0.8;
    line-height: 150%;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 35px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 35px;
}

.form-group label {
    font-size: 16px;
    font-family: Poppins;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.01em;
}

.form-group input {
    display: flex;
    height: 50px;
    padding: 16px 17px;
    align-items: center;
    border-radius: 10px;
    background: #363636;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    transition: opacity 0.2s, border 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group input:active,
.form-group input:hover {
    opacity: 1;
    border-radius: 10px;
    border: 1px solid #858585;
    background: #363636;
    outline: none;
}

.form-group input::placeholder {
    opacity: 0.4;
}

/* Upload resume area */
.upload-area {
    border-radius: 10px;
    border: 1px solid var(--input-border);
    background: rgba(54, 54, 54, 0.37);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    gap: 10px;
    color: var(--white);
    font-size: 12px;
    font-weight: 400;
    opacity: 0.4;
}

.upload-area:hover {
    opacity: 1;
    border-radius: 10px;
    border: 1px solid #858585;
    background: #363636;
    outline: none;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}


/* ── JOB DETAILS (right side) ── */
.job-details {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.detail-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    line-height: 150%;
    margin-bottom: 12px;
}

.detail-section p,
.detail-section ul {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--white);
    opacity: 0.7;
    line-height: 150%;
    list-style: none;
    margin: 0;
    letter-spacing: 0.32px;
}

.detail-section ul li {
    margin-bottom: 4px;
}

.detail-section ul li::before {
    content: '- ';
}

.jobs-list1 {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr;
}

.career-page-form {
    padding-top: 134px;
}

a.open-position-btn::after {
    content: '';
    background-image: url(../images/career/Union.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 104px;
    height: 57px;
    display: inline-block;
    position: absolute;
    right: -47%;
    top: 11%;
    transform: translateY(-50%);
    transform: translateY(-50%);
}

.career-hero-sub.text-center {
    color: #F6F6F6;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 48px;
    max-width: 75%;
    margin: 0 auto 48px;
    opacity: 0.8;
    letter-spacing: 0.4px;
}

.resume-uploaded-preview {
    border-radius: 10px;
    border: 1px solid #363636;
    background: rgba(54, 54, 54, 0.37);
    padding: 12px;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-delete-resume {
    background: transparent;
    border: none;
}

.resume-file-name {
    color: var(--white, #F6F6F6);
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.file-info-left {
    display: flex;
    align-items: center;
    gap: 7px;
}

section.no-openings {
    padding-top: 84px;
}

.hero-sub-career {
    color: var(--white, #F6F6F6);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    opacity: 0.8;
    letter-spacing: 0.32px;
}