.n1-jobs {
    --n1-green: #00e89d;
    --n1-border: #b9c9d3;
    --n1-hover: #d7fff0;

    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    color: var(--c-blue-4);
    font-family: inherit;
}


/* =========================================
   FILTERS / SEARCH
========================================= */

.n1-jobs__controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 32px;
}

.n1-jobs__filter-area {
    display: grid;
    grid-template-columns: 302px 302px;
    gap: 14px;
}

.n1-jobs__select-wrap {
    position: relative;
}

.n1-jobs__select-wrap::after {
    content: '';

    position: absolute;
    top: 50%;
    right: 22px;

    width: 16px;
    height: 9px;

    transform: translateY(-50%);

    background: url("data:image/svg+xml,%3Csvg width='16' height='9' viewBox='0 0 16 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0.999999L8 8L15 1' stroke='%23068444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / contain no-repeat;

    pointer-events: none;
}

.n1-jobs__select {
    appearance: none;
    -webkit-appearance: none;

    width: 100%;
    height: 54px;

    padding: 0 52px 0 20px;

    border: 1px solid #b9c9d3;
    border-radius: 4px;

    background: #fff;

    color: var(--c-blue-4);

    font: inherit;
    font-size: var(--step--1);
    font-weight: 300;

    cursor: pointer;
}

.n1-jobs__select:focus {
    outline: 2px solid var(--c-blue-1);
    outline-offset: 2px;
}


/* Clear filters */

.n1-jobs__clear {
    grid-column: 1 / -1;
    justify-self: start;

    padding: 0 !important;
    margin: 2px 0 0;

    border: 0 !important;
    background: transparent !important;

    color: var(--c-blue-1) !important;

    font: inherit;
    font-size: var(--step--1) !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;

    cursor: pointer;
}

.n1-jobs__clear:hover,
.n1-jobs__clear:focus-visible {
    text-decoration: underline;
}


/* Search */

.n1-jobs__search {
    display: flex;

    width: 440px;
    max-width: 100%;
}

.n1-jobs__search input {
    min-width: 0;
    flex: 1;

    height: 53px;

    padding: 0 22px;

    border: 0;
    border-radius: 4px 0 0 4px;

    background: var(--c-light-1);
    color: var(--c-blue-4);

    font: inherit;
    font-size: var(--step--1);

    outline-offset: 2px;
}

.n1-jobs__search input::placeholder {
    color: var(--c-blue-4);
    opacity: 1;
}

.n1-jobs__search-button {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 53px;

    width: 53px;
    height: 53px;

    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 4px 4px 0 !important;

    background: #004f73 !important;
    color: var(--n1-green) !important;

    cursor: pointer !important;
}

.n1-jobs__search-button svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
}


/* =========================================
   JOB TABLE
========================================= */

.n1-jobs__table {
    width: 100%;
}

.n1-jobs__header,
.n1-jobs__row {
    display: grid;

    /*
     * Matches R4 more closely:
     * Role title ≈ 55%
     * Location   ≈ 21%
     * Department ≈ 24%
     */
    grid-template-columns:
        minmax(0, 2.6fr)
        minmax(190px, 1fr)
        minmax(210px, 1.15fr);

    column-gap: 24px;
    align-items: center;
}


/* Header */

.n1-jobs__header {
    min-height: 48px;

    padding: var(--space-xs) var(--space-s);
    text-transform: uppercase;
    letter-spacing: .1em;

    color: var(--c-blue-4);

    font-size: var(--step--2);
    font-weight: 320;
}


/* Rows */

.n1-jobs__row {
    min-height: 62px;

    padding: var(--space-xs) var(--space-s);

    background: #fff;
	
    color: var(--c-blue-4) !important;
    border-top: solid 1px var(--c-light-4);

    font-size: var(--step--1);
    font-weight: 300;
    line-height: 1.2;

    text-decoration: none;

    transition: background-color 0.18s ease;
}

.n1-jobs__row .n1-jobs__title {
	font-size: var(--step-0) !important;
}


/* Hover */

.n1-jobs__row:hover,
.n1-jobs__row:focus-visible {
    background: var(--n1-hover);
}

/* Filtering */

.n1-jobs__row[hidden] {
    display: none;
}


/* Mock roles */

.n1-jobs__row--mock {
    cursor: default;
}


/* Empty state */

.n1-jobs__empty {
    padding: 40px 20px;

    background: var(--c-light-1);

    text-align: center;

    font-size: 16px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .n1-jobs__controls {
        flex-direction: column;
        gap: 24px;
    }

    .n1-jobs__search {
        width: 100%;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .n1-jobs__controls {
        gap: 20px;
        margin-bottom: 28px;
    }

    .n1-jobs__filter-area {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .n1-jobs__clear {
        grid-column: auto;
    }

    .n1-jobs__select {
        height: 54px;
        font-size: 16px;
    }

    .n1-jobs__search {
        width: 100%;
    }

    .n1-jobs__search input,
    .n1-jobs__search-button {
        height: 54px;
    }

    .n1-jobs__search-button {
        flex-basis: 54px;
        width: 54px;
    }


    /* Hide desktop table headings */

    .n1-jobs__header {
        display: none;
    }


    /* Convert each job into a stacked row */

    .n1-jobs__row {
        grid-template-columns: 1fr;

        gap: 5px;

        min-height: 0;

        padding: 18px 16px;

        font-size: 14px;
    }

    .n1-jobs__title {
        margin-bottom: 3px;

        font-size: 16px;
        font-weight: 600;

        text-decoration: underline;
    }

}
/* Careers landing page: search and department cards */
.n1-gh-search-departments{width:100%;color:var(--c-blue-4,#064866)}
.n1-gh-search-departments__form{display:flex;width:min(100%,680px);margin:0 auto}
.n1-gh-search-departments__form input{flex:1;min-width:0;height:52px;padding:0 22px;background:var(--c-light-1);border:0;border-radius:4px;font-size:14.44px;font-weight:300;color:var(--c-blue-4)}
.n1-gh-search-departments__form button{width:52px;height:52px;flex:0 0 52px;padding:0;border:0;border-radius:0 4px 4px 0;background:#004c6b;color:#00f59a;cursor:pointer;display:grid;place-items:center}
.n1-gh-search-departments__form svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.n1-gh-search-departments__all{display:block;width:max-content;max-width:100%;margin:var(--space-l) auto var(--space-xl);font-size:var(--step-0);color:var(--c-blue-4)!important;font-weight:520;text-align:center;text-decoration:none}
.n1-gh-search-departments__all span{display:inline-flex;align-items:center;margin-left:6px;vertical-align:middle}
.n1-gh-search-departments__all span svg{display:block;width:19px;height:13px}
.n1-gh-search-departments__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.n1-gh-search-departments__card{display:flex;align-items:center;justify-content:center;min-height:106px;padding:24px;text-align:center;background:#004c6b;color:#fff!important;border-radius:6px;font-size:var(--step-1);font-weight:480;line-height:1.2;text-decoration:none!important;transition:background .2s}
.n1-gh-search-departments__card:hover,.n1-gh-search-departments__card:focus-visible{background:#00668a}
@media(max-width:767px){.n1-gh-search-departments__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.n1-gh-search-departments__card{min-height:92px;padding:16px}}
@media(max-width:480px){.n1-gh-search-departments__grid{grid-template-columns:1fr}}

/* Open opportunities: sticky filter sidebar and five-column results */
.n1-jobs[data-n1-jobs]{display:grid;grid-template-columns: 343px minmax(0, 1fr);align-items:start;max-width:100%}
.n1-jobs__sidebar{min-width:0;align-self:stretch; padding: var(--space-s) var(--space-s) var(--space-3xl) 0;}
.n1-jobs__sidebar .n1-jobs__controls{position:sticky;top:110px;display:flex;flex-direction:column;align-items:stretch;gap:16px;margin:0}
.n1-jobs__sidebar-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.n1-jobs__sidebar .n1-jobs__filter-area{display:flex;flex-direction:column;gap:18px;width:100%}
.n1-jobs__filter-label{display:flex;flex-direction:column;gap:8px;font-weight:600}
.n1-jobs__filter-label .n1-jobs__select-wrap{display:block;width:100%}
.n1-jobs__filter-label .n1-jobs__select{width:100%;font-weight:400}
.n1-jobs__sidebar .n1-jobs__search{width:100%;max-width:none}
.n1-jobs__sidebar .n1-jobs__clear{align-self:flex-start}
.n1-jobs__results{min-width:0;border-left: solid 1px var(--c-light-4); min-height: 100%; padding-bottom: var(--space-3xl)}
.n1-jobs__results .n1-jobs__header,.n1-jobs__results .n1-jobs__row{grid-template-columns:minmax(160px,2fr) minmax(125px,1.1fr) minmax(195px,1.55fr) minmax(90px,.85fr) minmax(70px,.7fr)}
.n1-jobs__row[hidden]{display:none!important}
@media(max-width:1080px){.n1-jobs[data-n1-jobs]{display:block}.n1-jobs__sidebar{padding:0}.n1-jobs__sidebar .n1-jobs__controls{position:static;margin-bottom:32px}.n1-jobs__results{overflow-x:auto;border-left:0}.n1-jobs__results .n1-jobs__table{min-width:650px}}
@media(max-width:767px){.n1-jobs[data-n1-jobs]{display:block}.n1-jobs__sidebar .n1-jobs__controls{position:static;margin-bottom:32px}.n1-jobs__results .n1-jobs__table{min-width:0}.n1-jobs__results .n1-jobs__row{grid-template-columns:1fr;gap:6px}.n1-jobs__results .n1-jobs__header{display:none}}

/* Hide visible filter labels while preserving select controls and their accessible names. */
.n1-jobs__sidebar .n1-jobs__filter-label-text { display: none; }

/* Compact listing locations: first city/state plus remaining count. */
.n1-jobs__location-cell{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:nowrap}
.n1-jobs__location-cell > span:first-child{white-space:nowrap;flex-shrink:0}
.n1-jobs__location-more{color:#7b8794;font-weight:400;white-space:nowrap;flex-shrink:0}

/* Keep full city/state and location counts on one line; scroll results rather than compressing locations. */
@media(min-width:768px){.n1-jobs__results{overflow-x:auto}.n1-jobs__results .n1-jobs__table{min-width:900px}}
