/* Job offers: apply button, facts, employer call (owner's request, 6 November 2026). */
.sc-button--large { min-height: 54px; padding: 14px 24px; font-size: var(--sc-type-compact); line-height: var(--sc-leading-compact); letter-spacing: var(--sc-tracking-compact); }
.sc-button--dark { background: var(--sc-black); color: var(--sc-white); border-color: var(--sc-black); }
.sc-button--dark:hover, .sc-button--dark:focus-visible { background: var(--sc-blue); border-color: var(--sc-blue); color: var(--sc-white); }
.sc-button--primary:focus-visible { background: var(--sc-black); border-color: var(--sc-black); }

/* Job rows (homepage and /emplois/): place on the left, date on the right, same small style. */
/* No thick rule under the « Ça recrute » title (owner, 6 Nov 2026); rows keep their thin separators. */
.sc-home-list { border-top: 0; }
.sc-home-list__text { flex: 1 1 auto; min-width: 0; }
.sc-home-list__row small.sc-home-list__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sc-home-list__date { flex: 0 0 auto; margin-left: auto; text-align: right; }
.sc-job-archive .navigation { margin-top: 24px; }
.sc-job-archive__count { margin: 12px 0 0; font-weight: 700; }
.sc-job-batch + .sc-job-batch { margin-top: 36px; }
.sc-job-batch > .sc-employer-cta, .sc-job-batch > .sc-home-newsletter { margin-top: 36px; }
.sc-job-feed__status { min-height: 1.5em; margin: 18px 0 0; color: var(--sc-gray-600); font-size: var(--sc-type-meta); line-height: var(--sc-leading-meta); }
/* The shared newsletter block keeps the reading width inside articles and job pages. */
.sc-story .sc-home-newsletter { margin-top: 40px; }

/* Job page */
.sc-job .sc-story__header { padding-bottom: 24px; border-bottom: 0; }
.sc-job .sc-story__title { margin: 6px 0 14px; }
.sc-job .sc-story__standfirst { margin: 0 0 18px; }
.sc-job__facts { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 18px; border: 2px solid var(--sc-black); }
.sc-job__facts div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.sc-job__facts dt { font-family: var(--sc-font-display); font-size: var(--sc-type-label); line-height: var(--sc-leading-label); letter-spacing: var(--sc-tracking-label); font-weight: 950; text-transform: uppercase; }
.sc-job__facts dd { margin: 0; font-weight: 700; }
.sc-job__body { padding-top: 26px; }
.sc-job__info { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: var(--sc-type-reading); line-height: var(--sc-leading-reading); }
.sc-job__info b { font-weight: 800; }
.sc-job__apply { margin: 28px 0 0; padding: 0 0 8px; }
.sc-job__apply .sc-button { width: 100%; }
.sc-job__source { margin: 12px 0 0; color: var(--sc-gray-600); font-size: var(--sc-type-meta); line-height: var(--sc-leading-meta); }

/* Employer call (job page and homepage) */
.sc-employer-cta { margin-top: 40px; padding: 26px 20px 28px; border: 3px solid var(--sc-black); background: var(--sc-white); }
.sc-employer-cta .sc-kicker { margin: 0 0 8px; }
.sc-employer-cta__title { margin: 0 0 20px; font-size: var(--sc-type-section); line-height: var(--sc-leading-section); letter-spacing: var(--sc-tracking-section); }
.sc-employer-cta .sc-button { width: 100%; min-height: 48px; padding: 12px 10px; font-size: var(--sc-type-control); line-height: var(--sc-leading-control); letter-spacing: var(--sc-tracking-control); white-space: nowrap; } /* same text size as the newsletter button */

/* Homepage: all jobs button under the list */
.sc-home-section__cta { margin: 24px 0 0; }
.sc-home-section__cta .sc-button { width: 100%; }
.sc-home-list__row { padding: 16px 4px; }
/* Homepage (owner, 7 Nov 2026): no thick rules between sections, more air instead. */
.sc-home .sc-home-section { border-bottom: 0; padding-block: 40px 56px; }
.sc-home .sc-home-section + .sc-home-section { padding-top: 16px; }
/* Match the news CTA → jobs gap: 56px section padding + 16px before the next block. */
.sc-home .sc-home-section + .sc-employer-cta { margin-top: 16px; }
/* Small photo for articles that have one (homepage, news list, bottom of articles). */
.sc-home-list__thumb { flex: 0 0 65px; width: 65px; height: 65px; overflow: hidden; background: var(--sc-gray-100, #efefef); }
.sc-home-list__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* News only: date and arrow share the top line; the headline has the full text width. */
.sc-home-list__row--news .sc-news-row__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.sc-home-list__row--news .sc-news-row__date {
    display: block;
    margin: 0 auto 0 0;
    text-align: left;
    font-size: var(--sc-type-meta);
    line-height: var(--sc-leading-meta);
    color: var(--sc-gray-600);
}
.sc-home-list__row--news .sc-news-row__top .sc-home-list__arrow {
    flex: 0 0 auto;
    margin-left: auto;
}

/* The « Actualités » section at the bottom of an article: reading width. */
.sc-story .sc-news-section { margin: 48px 0 0; padding: 0; border: 0; }

@media (min-width: 700px) {
    .sc-job__apply .sc-button, .sc-employer-cta .sc-button, .sc-home-section__cta .sc-button { width: auto; }
    .sc-job__facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .sc-employer-cta { padding: 32px 32px 34px; }
}

/* Job detail: expose the actual notice and encourage another relevant visit. */
.sc-job .sc-job__body { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--sc-gray-300, #ddd); }
.sc-job__apply--secondary { margin-top: 16px; }
.sc-job__related { margin-top: 44px; padding-top: 24px; border-top: 2px solid var(--sc-black); }
.sc-job__related h2 { margin: 0 0 12px; font-family: var(--sc-font-display); font-size: var(--sc-type-section); line-height: var(--sc-leading-section); }
.sc-job__related > p { margin: 18px 0 0; font-weight: 750; }
.sc-job__related > p a { color: var(--sc-blue); }
.sc-job__related .sc-home-list__meta { display: block; margin-top: 5px; }

/* Editorial rhythm: the first news story, then every fourth, gets a larger visual treatment. */
.sc-home-list__row--featured {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 24px 0 28px;
    min-width: 0;
    background: #fff;
}
.sc-news-row__featured-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--sc-radius, 4px);
    background: var(--sc-gray-100);
}
.sc-news-row__featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-home-list__row--featured .sc-home-list__text > strong {
    font-size: clamp(22px, 5.8vw, 29px);
    line-height: 1.2;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.sc-home-list__row--featured .sc-news-row__excerpt {
    display: block;
    margin-top: 10px;
    color: var(--sc-gray-600);
    font-size: var(--sc-type-reading);
    line-height: 1.5;
    font-weight: 400;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.sc-home-list__row--featured-no-image {
    border-left: 4px solid var(--sc-blue);
    padding: 22px 18px;
    background: #fff;
}
@media (min-width: 768px) {
    .sc-home-list__row--featured {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        align-items: center;
        gap: clamp(18px, 3vw, 36px);
        padding: 28px 0;
    }
    .sc-news-row__featured-image { aspect-ratio: 16 / 10; }
    .sc-home-list__row--featured .sc-home-list__text > strong {
        font-size: clamp(25px, 2.6vw, 34px);
    }
    .sc-home-list__row--featured-no-image {
        display: block;
        padding: 28px 30px;
    }
}
/* Jobs only: two equal-width columns on desktop, one column on tablets and phones. */
@media (min-width: 1024px) {
    .sc-home-jobs-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
    .sc-home-jobs-list > .sc-home-list__row {
        min-width: 0;
        height: 100%;
    }
}

/* The editorially selected story stays at its chronological position.
 * Full-width image, aligned metadata and title below. Never a side-by-side grid. */
.sc-news-spotlight {
    width: 100%;
    min-width: 0;
    margin: 20px 0 24px;
    overflow: hidden;
    border: 1px solid var(--sc-gray-300, #dedede);
    border-radius: var(--sc-radius);
    background: #fff;
}
.sc-news-spotlight__link {
    display: block;
    width: 100%;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.sc-news-spotlight__media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--sc-gray-100, #f7f7f7);
}
.sc-news-spotlight__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-news-spotlight__content {
    display: block;
    min-width: 0;
    padding: 18px 18px 22px;
    background: #fff;
}
.sc-news-spotlight__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin-bottom: 12px;
}
.sc-news-spotlight__eyebrow {
    color: var(--sc-blue);
    font-size: var(--sc-type-meta);
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: var(--sc-tracking-label);
}
.sc-news-spotlight__date {
    color: var(--sc-gray-600);
    font-size: var(--sc-type-meta);
    line-height: var(--sc-leading-meta);
}
.sc-news-spotlight__title {
    display: block;
    font-family: var(--sc-font-display);
    font-size: clamp(25px, 5.8vw, 35px);
    line-height: 1.18;
    letter-spacing: -.025em;
    text-wrap: balance;
    overflow-wrap: break-word;
}
.sc-news-spotlight__link:hover .sc-news-spotlight__title,
.sc-news-spotlight__link:focus-visible .sc-news-spotlight__title {
    color: var(--sc-blue);
}
.sc-news-spotlight--no-image .sc-news-spotlight__content {
    border-left: 4px solid var(--sc-blue);
}
@media (min-width: 768px) {
    .sc-news-spotlight {
        margin: 26px 0 30px;
    }
    .sc-news-spotlight__media {
        aspect-ratio: 16 / 8;
    }
    .sc-news-spotlight__content {
        padding: 26px 32px 30px;
    }
    .sc-news-spotlight__meta {
        margin-bottom: 14px;
    }
    .sc-news-spotlight__title {
        font-size: clamp(32px, 3.6vw, 44px);
    }
}

/* /emplois/: accessible, responsive status filters, without Javascript. */
.sc-job-filters { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--sc-gray-300, #ddd); }
.sc-job-filters__options { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sc-job-filters__option { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 14px; border: 1px solid var(--sc-gray-300, #ddd); border-radius: var(--sc-radius); background: var(--sc-white); color: var(--sc-black); font-size: var(--sc-type-meta); font-weight: 750; text-decoration: none; }
.sc-job-filters__option:hover, .sc-job-filters__option:focus-visible { border-color: var(--sc-blue); color: var(--sc-blue); }
.sc-job-filters__option--active, .sc-job-filters__option--active:hover, .sc-job-filters__option--active:focus-visible { border-color: var(--sc-blue); background: var(--sc-blue); color: var(--sc-white); }

/* Jobs archive: discreet reset action, only displayed while a filter is selected. */
.sc-job-filters__clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 0;
    min-height: 40px;
    padding: 7px 0 7px 4px;
    color: var(--sc-gray-600);
    font-size: var(--sc-type-meta);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.sc-job-filters__clear-icon {
    font-size: 18px;
    line-height: 1;
}
.sc-job-archive .sc-job-filters__clear,
.sc-job-archive .sc-job-filters__clear:hover,
.sc-job-archive .sc-job-filters__clear:focus-visible {
    text-decoration: none;
}
.sc-job-filters__clear:hover,
.sc-job-filters__clear:focus-visible { color: var(--sc-blue); }

/* The last jobs newsletter appears only once all further offers have loaded.
   Keep it entirely out of the layout until then, including on mobile. */
.sc-job-archive .sc-job-feed__terminal[hidden] { display: none !important; }
.sc-job-archive .sc-job-feed__terminal { width: 100%; clear: both; }
.sc-job-feed__status:empty { display: none; }

/* Today's publication badge: shared by home news, jobs, news archive and spotlight. */
.sc-list-date-today {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--sc-blue);
    color: var(--sc-white, #fff);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

