/* The Open roles section: the roles from Greenhouse (cms/jobs.mjs) with
   location tabs and pages (jobs.js). Moved from the Join Us page's head, so the
   section can be placed on any page. */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

#yld-jobs-filters {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}
#yld-jobs-filters .filter-tab {
    background: none;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1.625rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    padding: 0 0 8px;
    opacity: 0.4;
    position: relative;
}
#yld-jobs-filters .filter-tab.active {
    opacity: 1;
}
#yld-jobs-filters .filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
}
#yld-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.yld-job-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.yld-job-card-body {
    background: #f0f0f0;
    padding: 28px 24px 32px;
    flex: 1;
}
.yld-job-location {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 12px;
}
.yld-job-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.625rem;
    font-weight: 500;
    line-height: 1.3;
    color: #333;
}
.yld-job-bar {
    height: 0.75rem;
    width: 100%;
}
#yld-jobs-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    position: relative;
}
#yld-jobs-pagination .page-btn {
    background: none;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    opacity: 0.4;
    padding: 4px 8px;
}
#yld-jobs-pagination .page-btn.active {
    opacity: 1;
}
#yld-jobs-next {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    cursor: pointer;
    padding: 0 0 4px;
    border-bottom: 2px solid #333;
}
#yld-jobs-next:disabled {
    opacity: 0.3;
    cursor: default;
}
#yld-jobs-status {
    font-size: 1rem;
    color: #888;
    margin-bottom: 20px;
}

/* a page of the list, or a tab, shows some of the roles: jobs.js hides the rest */
.yld-job-card[hidden] {
    display: none;
}
