/* css/filter.css: the Filter's look (SW-173 DS 2.1.17, 3.2.9), enqueued by lib-careers.php on the page careers only.
   From the global variables and the type scale only (rules C2; --syn-type-*). */
.syn-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin: 0 0 1.5em;
    font-family: var(--font-body);
    font-size: var(--syn-type-body);
    color: var(--color-text-dark);
}
.syn-filter__group { display: flex; flex-direction: column; gap: .3em; min-width: 10em; }
.syn-filter__label { font-weight: 700; color: var(--color-primary-dark); }
/* the tick boxes are the wizard's choice boxes (form.css .syn-form__choice; their careers look is the wizard's
   careers variant, form.css .syn-form--careers, SW-202) */
/* SW-202: the careers page in the wizard's frame (form.css), its top layout: the Filter in the band on top, its four
   groups side by side in one row, each a closed nested accordion box sharing the width (on a phone too; Anthony,
   18 Nov 2026: "on mobile the filters should fit on one row"; "4 accordions in a flex box"); the postings below.
   The postings are the pricing's price cards (postContentShortcodes.css keeps their look), one under another on a
   phone, three side by side on a wide screen, inside the Slider's pager, which the Filter drives (js/filter.js). */
.syn-careers-page__frame .syn-filter { flex-direction: row; flex-wrap: nowrap; align-items: flex-start; margin: 0; gap: .6em; }
.syn-careers-page__frame .syn-filter > .syn-accordion { flex: 1 1 0; min-width: 0; }
/* 19 Nov 2026 (Anthony, SW-203): inside a box, a section (Students, Europe ...) is a row (the accordion's rows) */
.syn-filter__section > .syn-accordion--rows > .syn-accordion__content { padding-left: 0 !important; }
/* a section's heading one step under its box's title, one over its ticks (the type scale: body > small > fine) */
.syn-form--wizard .syn-filter__section > .syn-accordion--rows:not(#_) > .syn-accordion__title,
.syn-form--wizard .syn-filter__section > .syn-accordion--rows:not(#_) > .syn-accordion__title > .syn-accordion__icon { font-size: var(--syn-type-small) !important; }
/* the filter boxes' circle teal, as a top-level box's, not a nested box's brown (Anthony, 18 Nov 2026) */
.syn-careers-page__frame .syn-filter > .syn-accordion > .syn-accordion__title::before { background: var(--color-primary) !important; }
.syn-careers-page__frame .syn-filter__group { min-width: 0; }
.syn-careers-page__postings.syn-price-table__cards {
    grid-auto-flow: row !important;
    grid-template-columns: minmax(0, 1fr) !important;
}
/* a wide screen: the page's three cards side by side, one row (Anthony, 18 Nov 2026) */
@media (min-width: 900px) {
    .syn-careers-page__postings.syn-price-table__cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
/* the card's tick list: the three points that tell the roles apart (experience, the job, the next step), shown
   whole, wrapping as they need (Anthony, 18 Nov 2026: "If they need 4 lines so be it"); at least the room of three */
.syn-careers-page__postings .syn-price-table__card-list { min-height: calc(3 * 1.8em); }
.syn-careers-page__more { margin: .8em 0 0; margin-top: auto; padding-top: .8em; text-align: center; font-size: var(--syn-type-small); }
/* the second pager, under the cards (js/filter.js copies the top one) */
.syn-careers-page__postings + .syn-slider__nav { margin: .9em 0 0 !important; }
/* the page numbers: the daily rhythm's circles (postContentShortcodes.css section 6), the current one full, the
   others faded; js/filter.js writes them into the pager's label */
.syn-careers-page__frame .syn-slider__label { display: flex; justify-content: center; gap: .5em; min-width: 0 !important; }
.syn-careers-page__frame .syn-slider__label .syn-schedule__circle {
    width: 34px !important; height: 34px !important; min-width: 34px !important;
    border: none; padding: 0; cursor: pointer; opacity: .4;
}
.syn-careers-page__frame .syn-slider__label .syn-schedule__circle[aria-current] { opacity: 1; cursor: default; }
/* a phone: the four boxes still one row; in each bar only the sign and the title (no circle), one size down so
   "Contract" fits, a long tick-box label wrapping */
@media (max-width: 600px) {
    .syn-careers-page__frame .syn-filter { gap: .35em; }
    .syn-careers-page__frame .syn-filter > .syn-accordion > .syn-accordion__title { padding: .35em .4em !important; gap: 4px !important; font-size: var(--syn-type-small) !important; }
    .syn-careers-page__frame .syn-filter > .syn-accordion > .syn-accordion__title::before { content: none !important; }
    .syn-careers-page__frame .syn-filter > .syn-accordion > .syn-accordion__title > .syn-accordion__icon { width: 1em !important; }
    .syn-careers-page__frame .syn-filter > .syn-accordion > .syn-accordion__content { padding: 8px 6px !important; }
    /* the stacked job cards stand further apart (Anthony, 18 Nov 2026: "on mobile each job posting needs a bigger gap") */
    .syn-careers-page__postings.syn-price-table__cards { row-gap: 1.75em !important; }
}
/* DS 3.8.4: the Teaser card's own rule (display: flex !important, postContentShortcodes.css) beats the browser's
   [hidden] rule, so a hidden card stays on screen without this line */
[data-syn-tags][hidden], [data-syn-filter-none][hidden] { display: none !important; }
