/* Career Page Styles */
/* Based on Penpot design: 1512px frame, container 1420px (46px margins) */

/* =====================================================
   DARK SECTION (Hero + Jobs)
   Full dark bg: #131316
   Background image covers top ~934px
   ===================================================== */

.career-dark {
    position: relative;
background: #131316;

    padding-bottom: 120px;
}

/* Background image (covers upper ~934px of dark section) */

/* =====================================================
   HERO INTRO — horizontal flex: title left, text right
   Position: y=225 in design (1512px frame)
   Container width: 1420px
   ===================================================== */

.career-intro {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 225px;
}

/* Title — left side, w=743px in design */
.career-title {
    font-family: 'Brodaers Expanded', 'Roboto Flex', sans-serif;
    font-size: 80px;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: 2px;
    color: #eff2f1;
    margin: 0;
    max-width: 743px;
    flex: 0 0 743px;
}

/* Text block — right side, w=539px in design */
.career-text-block {
    flex: 0 0 539px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
}

.career-text-block p {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: -0.192px;
    color: #eff2f1;
    margin: 0;
}

/* =====================================================
   JOB CARDS — 2 cards side by side
   Position: y=607 in design
   Block: x=46, y=607, w=1420, gap=24
   ===================================================== */

.career-cards {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 24px; /* gap=24 from design */
    margin-top: 82px; /* 607 - 225 - ~300 = ~82px */
}

/* Individual card */
/* card: fill=#67ff56, cornerRadius=6, padding=30, vertical layout, gap=56 */
.career-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 56px;
    padding: 30px;
    background: #67ff56;
    border-radius: 6px;
    overflow: hidden;
}

/* Card inner content (Frame 416858) */
/* border-top: 1px solid #000, padding-top: 20px, vertical gap=50 */
.career-card-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    border-top: 1px solid #000000;
    padding-top: 20px;
}

/* Title + Location group (Frame 416857) — vertical, gap=10 */
.career-card-title-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Job title: Brodaers Expanded, 42px, lh=1.1, ls=2, color=#e1e1ec */
.career-card-title {
    font-family: 'Brodaers Expanded', 'Roboto Flex', sans-serif;
    font-size: 42px;
    font-weight: normal;
    line-height: 1.1;
    letter-spacing: 2px;
		color: #131316;

    margin: 0;
}

/* Description: Roboto Flex, 18px, lh=1.4, ls=-0.192, color=#000 */
.career-card-desc {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.4;
    letter-spacing: -0.192px;
    color: #000000;
    margin: 0;
    max-width: 457px;
}

/* Button: w=277, h=62, fill=#e1e1ec, cornerRadius=4 */
/* Text: Roboto Flex, 16px, fw=600, color=#eff2f1 */
.career-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 277px;
    height: 62px;
    padding: 14px 30px;
background: #131316;
text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.career-card-btn:hover {
    opacity: 0.85;
}

.career-card-btn span {
    font-family: 'Roboto Flex', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    color: #eff2f1;
}

.career-card-btn svg {
    flex-shrink: 0;
}

/* =====================================================
   MOBILE ADAPTIVE (max-width: 767px)
   ===================================================== */

@media (max-width: 767px) {

    /* Dark section */
    .career-dark {
        padding-bottom: 60px;
    }

    .career-hero-bg {
        height: 500px;
    }

    /* Hero intro — stack vertically on mobile */
    .career-intro {
        flex-direction: column;
        gap: 32px;
        padding-top: 50px;
    }

    .career-title {
        font-size: 36px;
        line-height: 1;
        letter-spacing: 2px;
        flex: none;
        max-width: none;
    }

    .career-text-block {
        flex: none;
        gap: 20px;
    }

    .career-text-block p {
        font-size: 16px;
    }

    /* Cards — stack vertically on mobile */
    .career-cards {
        flex-direction: column;
        gap: 16px;
        margin-top: 48px;
    }

    .career-card {
        gap: 32px;
        padding: 24px 20px;
    }

    .career-card-title {
        font-size: 20px;
    }

    .career-card-location {
        font-size: 20px;
    }

    .career-card-desc {
        font-size: 16px;
        max-width: none;
    }

    .career-card-btn {
        width: 100%;
        justify-content: center;
    }

    /* Contact Section - reorder for mobile */
    .contact-left {
        display: contents;
    }

    .contact-left > h2 {
        order: 1;
    }

    .contact-left > .body-md {
        order: 2;
    }

    .contact-form {
        order: 3;
    }

    .contact-info-list {
        order: 4;
    }
}
