:root {
    --brand-green: #1a784d;
    --brand-teal: #3b9074;
    --light-bg: #f5f6f8;
    --text-dark: #333333;
}

.career-area {
    background-color: var(--light-bg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* The main poster container */
.poster-card {
    background-image: url('../images/careerbg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 800px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 5%;
    margin-bottom: 3%;

}



.content-wrapper {
    position: relative;
    z-index: 1;
}

/* Typography Customizations */
.text-brand-green {
    color: var(--brand-green);
}

.text-brand-teal {
    color: var(--brand-teal);
}

.bg-brand-green {
    background-color: var(--brand-green);
}

.logo-text {
    font-weight: 800;
    font-size: 1.8rem;
    color: #222;
}

.logo-text span {
    color: var(--brand-green);
}

.logo-sub {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #555;
    margin-top: -5px;
}

.we-are {
    font-size: 2.8rem;
    font-weight: 600;

    margin-bottom: -5px;
}

.hiring-title {
    font-size: 8.5rem;
    font-weight: 800;
    line-height: 0.8;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.join-team {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
}

/* The line next to "Join our team" */
.join-team::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
    margin-left: 15px;
    max-width: 100px;
}

.open-positions-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Custom list items with the half-outside green dot */
.position-pill {
    border: 1px solid var(--text-dark);
    border-radius: 10px;
    padding: 8px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    position: relative;
    background-color: transparent;
    margin-bottom: 15px;
    margin-left: 8px;
    /* Room for the dot */
}

.position-pill::before {
    content: '';
    position: absolute;
    left: -8px;
    /* Pulls the dot halfway outside the border */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--brand-green);
    border-radius: 50%;
}

.chair-image {
    width: 140%;
    max-width: 600px;
    mix-blend-mode: multiply;
    margin-top: 40px;
    /* Helps drop white backgrounds from stock images */
}

.contact-text {
    font-size: 1.1rem;
    color: #555;
}

.contact-email {
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
}

.website-pill {
    display: inline-block;
    padding: 10px 30px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.website-pill:hover {
    opacity: 0.9;
    color: white;
}

@media(max-width:768px) {
    .we-are {
        margin-top: 15%;
    }

    .chair-image {
        width: 100%;
        max-width: 500px;
        margin-top: -200px;
    }
}