/* Keep the original horizontal navy search; share listing field details. */
body.eg2-site .eg-home-search {
    padding: 32px 0;
    background: var(--mist);
}
body.eg2-site .eg-home-search .eg-job-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    margin: 0;
    padding: 30px 32px;
    border: 1px solid var(--navy);
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    box-shadow: none;
}
body.eg2-site .eg-home-search .eg-search-heading {
    padding: 0 23px 0 0;
    margin: 0;
    border: 0;
    border-right: 1px solid #ffffff24;
    color: #fff;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -.35px;
}
body.eg2-site .eg-home-search .eg-search-field {
    position: relative;
    min-width: 0;
    padding: 0;
    border: 0;
}
body.eg2-site .eg-home-search .eg-search-field > label {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    color: #dce5f2;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}
body.eg2-site .eg-home-search .eg-search-input-wrap {
    position: relative;
    display: flex;
    min-width: 0;
}
body.eg2-site .eg-home-search .eg-search-field input,
body.eg2-site .eg-home-search .eg-search-field select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    padding: 0 17px;
    border: 1px solid #bdcfdc;
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-size: 15px;
    line-height: 1.6;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body.eg2-site .eg-home-search .eg-search-keyword input { padding-right: 54px; }
body.eg2-site .eg-home-search .eg-search-field input::placeholder {
    color: #657184;
    opacity: 1;
}
body.eg2-site .eg-home-search .eg-search-field select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 54px;
    font-weight: 650;
    background: #fff right 12px center / 32px 32px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='16' fill='%23e9f0fb'/%3E%3Cpath d='m11 13 5 5 5-5' fill='none' stroke='%232354b4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.eg2-site .eg-home-search .eg-search-icon {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: var(--blue);
    pointer-events: none;
}
body.eg2-site .eg-home-search .eg-search-submit-button {
    align-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin: 0;
    padding: 15px 21px;
    border: 1px solid var(--gold);
    border-radius: 8px;
    background: var(--gold);
    color: var(--navy);
    font-size: 14px;
    font-weight: 650;
    gap: 22px;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
}
body.eg2-site .eg-home-search .eg-search-submit-button > svg { width: 20px; height: 20px; }
body.eg2-site .eg-home-search .eg-search-submit-button:hover {
    border-color: #e7bb63;
    background: #e7bb63;
    color: var(--navy);
    box-shadow: none;
}
body.eg2-site .eg-home-search .eg-search-field input:focus-visible,
body.eg2-site .eg-home-search .eg-search-field select:focus-visible {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgb(35 84 180 / 14%);
}
body.eg2-site .eg-home-search .eg-search-submit-button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}
@media (max-width: 1080px) {
    body.eg2-site .eg-home-search .eg-job-search {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
        gap: 23px;
        padding: 27px;
    }
    body.eg2-site .eg-home-search .eg-search-heading {
        grid-column: 1 / -1;
        padding: 0;
        border: 0;
    }
}
@media (max-width: 760px) {
    body.eg2-site .eg-home-search .eg-search-field input,
    body.eg2-site .eg-home-search .eg-search-field select { font-size: 16px; }
}
@media (max-width: 700px) {
    body.eg2-site .eg-home-search { padding: 24px 0; }
    body.eg2-site .eg-home-search .eg-job-search {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 25px 22px;
    }
    body.eg2-site .eg-home-search .eg-search-heading { max-width: 280px; }
    body.eg2-site .eg-home-search .eg-search-submit-button {
        justify-content: space-between;
        width: 100%;
        padding-inline: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.eg2-site .eg-home-search .eg-search-field input,
    body.eg2-site .eg-home-search .eg-search-field select,
    body.eg2-site .eg-home-search .eg-search-submit-button { transition: none; }
}

body.eg2-site .eg-home-search .eg-search-heading br { display: initial; }

/* One page, with one consistent offset below the sticky header. */
/* Contain the plugin's floated pagination before the application link below. */
body.eg2-site [data-eg-home-jobs] { display: flow-root; }
body.eg2-site [data-eg-home-jobs] > .awsm-jobs-pagination {
    float: none;
    clear: both;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 32px 0 0;
    padding: 0;
}
body.eg2-site [data-eg-home-jobs] [data-eg-all-jobs] {
    width: 100%;
    max-width: 394px;
}
body.eg2-site .eg-jobs-section .eg-jobs-note {
    clear: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 24px;
    text-align: center;
}
body.eg2-site .eg-jobs-section .eg-jobs-note p,
body.eg2-site .eg-jobs-section .eg-jobs-note .eg-link {
    font-size: 13px;
    line-height: 1.7;
}
body.eg2-site .eg-footer-company .eg-footer-affiliation a {
    display: inline;
    margin: 0;
    color: inherit;
    white-space: nowrap;
    text-decoration: underline;
    text-underline-offset: 3px;
}
html:has(body.eg2-site) { scroll-padding-top: 0; }
body.eg2-site [id] { scroll-margin-top: calc(var(--eg-header-height, 94px) + 20px); }
body.eg2-site .eg-people-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
}
body.eg2-site .eg-person-card { padding: 35px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 10px; background: var(--mist); min-width: 0; }
body.eg2-site .eg-person-card :is(h2, h3) { font-size: clamp(25px, 3vw, 34px); line-height: 1.3; margin: 15px 0 10px; }
body.eg2-site .eg-person-card p { margin: 0 0 25px; font-size: 14px; }
body.eg2-site .eg-person-card a { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: fit-content; max-width: 100%; color: var(--blue); font-size: 15px; font-weight: 600; margin: 12px 0; overflow-wrap: anywhere; }
body.eg2-site .eg-person-card a svg { flex: 0 0 18px; width: 18px; height: 18px; }
body.eg2-site .eg-person-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
body.eg2-site .eg-office-address { margin: 24px 0 75px; font-size: 13px; }
body.eg2-site .eg-contact-home { background: var(--mist); }
body.eg2-site .eg-contact-home .eg-person-card { background: #fff; }
body.eg2-site .eg-contact-home .eg-contact-page-form > aside h3 { font-size: 30px; line-height: 1.3; margin: 18px 0 22px; }
body.eg2-site .eg-application-form .consent { margin: 0; }
body.eg2-site .eg-application-form .consent a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
    body.eg2-site .eg-people-grid { grid-template-columns: 1fr; gap: 22px; }
    body.eg2-site .eg-person-card { padding: 27px 22px; }
    body.eg2-site .eg-person-card a { font-size: 13px; }
}

/* Give the three benefits a little more presence between search and jobs. */
body.eg2-site .eg-benefits { padding-block: 44px; }
body.eg2-site .eg-benefits-grid { gap: 32px; }
body.eg2-site .eg-benefit { min-width: 0; gap: 18px; }
body.eg2-site .eg-benefit-icon { flex: 0 0 56px; width: 56px; height: 56px; }
body.eg2-site .eg-benefit-icon > svg { width: 44px; height: 44px; stroke-width: 1.8; }
body.eg2-site .eg-benefit h2 { font-size: 18px; line-height: 1.45; margin-bottom: 7px; }
body.eg2-site .eg-benefit p { font-size: 14px; line-height: 1.65; max-width: 320px; }
@media (max-width: 1080px) {
    body.eg2-site .eg-benefits { padding-block: 40px; }
    body.eg2-site .eg-benefits-grid { gap: 20px; }
    body.eg2-site .eg-benefit { gap: 14px; }
    body.eg2-site .eg-benefit-icon { flex-basis: 48px; width: 48px; height: 48px; }
    body.eg2-site .eg-benefit-icon > svg { width: 40px; height: 40px; }
    body.eg2-site .eg-benefit h2 { font-size: 16px; }
    body.eg2-site .eg-benefit p { font-size: 13px; }
}
@media (max-width: 800px) {
    body.eg2-site .eg-benefits { padding-block: 36px; }
    body.eg2-site .eg-benefits-grid { grid-template-columns: 1fr; gap: 26px; }
    body.eg2-site .eg-benefit + article { border: 0; padding-left: 0; }
    body.eg2-site .eg-benefit p { max-width: none; }
}
