.positions {
    width: auto;
    padding-top: 80px;
    margin: 0 auto;
    gap: 0;
    display: flex;
    flex-direction: column;
    align-items: center;  
}

/* --- THE SCALE-UP NOTICE --- */
.scale-up-notice {
    /* THE FIX: Stretched from 800px to 1100px */
    max-width: 1100px; 
    /* THE FIX: Stretched from 90% to 95% to get closer to the window edges */
    width: 95%; 
    
    margin: 0 auto 30px auto;
    padding: 15px 20px;
    background-color: #fbfbfb;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.scale-up-notice p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.scale-up-notice strong {
    color: #000;
}

/* --- THE POSITIONS LIST --- */
.positions-list {
    /* THE FIX: Stretched to match the notice */
    max-width: 1500px; 
    /* THE FIX: Stretched to match the notice */
    width: 95%; 
    
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
}

/* Individual Rows */
.position-row {
    display: grid;
    /* This perfectly divides the 1100px width into 4 distinct columns */
    grid-template-columns: 2.5fr 1.5fr 2fr auto; 
    align-items: center;
    gap: 20px; /* Keeps columns from touching */
    padding: 25px 20px;
    border-bottom: 1px solid #eaeaea;
    transition: background-color 0.2s ease;
}

.position-row:hover {
    background-color: #fbfbfb; 
}

.position-row:first-child {
    border-top: 1px solid #eaeaea; /* Caps the top of the list */
}

/* Role Typography */

.role-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}
.role-location {
    display: flex;
    align-items: center;
    gap: 8px;
}

.role-status {
    /* Shoves the badge to the far right edge of its grid column */
    justify-self: end; 
}

/* Meta Data (Location, Dept, Time) */
.role-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.dept-badge {
    background-color: #000000;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item {
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.meta-dot {
    color: #cccccc;
    font-size: 12px;
}

/* The "Opening Soon" Badge */
.upcoming-badge {
    border: 1px dashed #999999;
    color: #555555;
    background-color: transparent;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.work-quote {
    box-shadow: 0 1px 25px rgba(0, 0, 0, .55);
    margin: 55px auto; 
    width: 85%;
    min-height: 350px;
    border-radius: 15px;
    text-align: center;
    color: rgb(236, 236, 236);
    background: #1c1c1c;
    transition: all .45s ease-in-out;
    padding: 30px; /* Added padding to keep content inside the box */
    box-sizing: border-box; /* Ensures padding doesn't increase total width */
}

.work-quote:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, .85);
}

.work-quote ul {
   margin: 0;
   padding: 0;
   list-style: none;
   display: flex;
   justify-content: space-evenly; /* Spreads the 3 items out evenly */
   gap: 20px;
}

.work-quote li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1; /* Makes all three columns take up equal space */
}

.work-quote img {
    width: 80px;
    height: 80px;
    border-radius: 40px;
}

.work-quote p {
    max-width: 390px;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 800px) {
    
    .work-quote {
        width: 95%; /* Expands the blue box on small screens */
        padding: 20px 10px;
    }

    .work-quote ul {
        flex-direction: column; /* Stacks the three perks vertically */
        gap: 40px;
    }
    .position-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px 10px;
    }

    .role-status {
        width: 100%;
        justify-self: start;
    }

    .upcoming-badge {
        display: block;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
}