/* Job offers pages (offres.html, jobs.html): a white page between a simple header
   and the site's usual footer. Loaded after the main stylesheets, on these two
   pages only. */

/* custom-styles.css paints html Noir vert for the dark hero, which these pages
   do not have. */
html,
body {
    background: #ffffff !important;
}

/* Keeps the footer at the bottom of the screen, however short the content. */
.job-offers-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Same logo size and clear space as the main header, and the same 10% gutter as
   the rest of the site, so the logo stays in place when moving between pages. */
.job-offers-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: var(--logo-clear-space) 10%;
    background: #ffffff;
    border-bottom: 1px solid var(--eutropy-blanc-vert);
}

.job-offers-logo {
    display: block;
    flex: none;
    line-height: 0;
}

.job-offers-logo img {
    width: var(--logo-width);
    height: auto;
}

.job-offers-title {
    margin: 0;
    font-size: clamp(22px, 1.875vw, 72px);
    line-height: 1.2;
    text-align: right;
    color: var(--eutropy-vert-profond);
}

.job-offers-main {
    flex: 1;
    display: flex;
    align-items: center;
}

.job-offers-main > section {
    width: 100%;
}

.job-offers-message {
    max-width: 44em;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(18px, 1.406vw, 54px);
    line-height: 1.6;
    color: var(--eutropy-vert-profond);
    text-wrap: balance;
}

.job-offers-message a {
    color: var(--eutropy-vert-profond);
    font-weight: 400;
    text-decoration: underline;
    white-space: nowrap;
}

.job-offers-message a:hover,
.job-offers-message a:focus {
    color: var(--eutropy-vert-moyen);
}

@media (max-width: 768px) {
    .job-offers-header {
        padding: var(--logo-clear-space-mobile) 15px;
    }

    .job-offers-logo img {
        width: 104px;
    }
}
