/* Existing styles */

.greenhouse-jobs {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: "Be Vietnam Pro", sans-serif;
}

.greenhouse-job {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 80px;
    border-bottom: 1px solid #d3d3d3;
}

.greenhouse-job .job-title {
    flex: 2;
    text-indent: 0;
    color: #120139;
}

.greenhouse-job .job-title-head {
    flex: 2;
    text-indent: 0;
    color: #120139;
    font-weight: 500;
    font-size: 18px;
}

.greenhouse-job .department {
    flex: 2;
    margin-left: 0px; /* Adjust the margin to align with other elements */
    text-indent: 0;
    text-align: left;
}

.greenhouse-job .department-head {
    flex: 2;
    margin-left: 0px; /* Adjust the margin to align with other elements */
    text-indent: 0;
    text-align: left;
    color: #120139;
    font-weight: 500;
    font-size: 18px;
}

.greenhouse-job .location,
.greenhouse-job .view-job {
    flex: 1;
    text-indent: 0;
    text-align: left;
}

.greenhouse-job .location-head {
    flex: 1;
    margin-left: 0px; /* Adjust the margin to align with other elements */
    text-indent: 0;
    text-align: left;
    color: #120139;
    font-weight: 500;
    font-size: 18px;
}

.greenhouse-job .view-job-head {
    flex: 1;
    margin-left: 0px; /* Adjust the margin to align with other elements */
    text-indent: 0;
    text-align: left;
    color: #120139;
    font-weight: 500;
    font-size: 18px;
}

.greenhouse-job a {
    color: #493290;
    text-decoration: none;
    transition: color 0.3s;
}

.greenhouse-job a:hover {
    color: #e87825;
}

.greenhouse-job a::after {
    content: " ➔";
    transition: transform 0.3s;
}

.greenhouse-job a:hover::after {
    transform: translateX(5px);
}

#job-filters {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

#job-filters select {
    width: 250px;
    position: relative; /* Add relative positioning */
}

#job-filters select::after {
    content: "▼"; /* Use a down arrow symbol */
    position: absolute; /* Position the arrow absolutely */
    top: 50%; /* Vertically center the arrow */
    right: 10px; /* Adjust the right offset as needed */
    transform: translateY(-50%); /* Center the arrow vertically */
    pointer-events: none; /* Ensure the arrow doesn't interfere with clicking the select box */
}

/* Add responsive styles below */
@media only screen and (max-width: 768px) {
    /* Hide filters on mobile */
    #job-filters {
        display: none;
    }

    .greenhouse-job {
        flex-direction: column;
        height: auto;
        padding: 10px;
        border-bottom: 1px solid #ccc;
    }

    /* Hide department and location columns */
    .greenhouse-job .department,
    .greenhouse-job .location,
    .greenhouse-job .department-head,
    .greenhouse-job .location-head {
        display: none;
    }

    .greenhouse-job .job-title,
    .greenhouse-job .view-job {
        width: 100%;
        margin-bottom: 10px;
        text-align: left;
    }

    .greenhouse-job .view-job a {
        display: inline-block;
        padding: 8px 16px;
        background-color: #120139;
        color: white;
        text-align: center;
        border-radius: 0px;
        text-decoration: none;
    }

    .greenhouse-job .view-job a:hover {
        background-color: #005f8a;
    }
}

@media only screen and (max-width: 480px) {
    .greenhouse-job {
        padding: 8px;
    }

    .greenhouse-job .view-job a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}
