/* ============================================================
   13-php-26225-vacancy — vacant offices

   The BOX comes from the style guide's notice element (.x-notice,
   assets/css/02-elements.css): padding, the grid, the gap between its
   lines and the 3px left rule. None of that is repeated here, so a
   vacancy box and every other notice on the site stay the same object.

   What this file adds is the TONE and the inside of the box.

   TONE — the Mitglieder orange, not the neutral grey
   A vacancy asks members to step forward ("Interessierte Mitglieder
   melden sich"), so it belongs to the member colour, exactly like the
   "Mitglied werden" button and the member level in the menu. Red stays
   reserved for political content, green for the layout and the logo.
   Both selectors are doubled (.x-notice.x26225-vacancy) so the tone
   wins over .x-notice whatever order the stylesheets arrive in - the
   lesson of the :where() defeat in stabilizer.css (2026-10-27).

   SQUARE, NOT ROUNDED: --radius is 0 across this site. The markers,
   the badge and the rules are all straight edges on purpose.
   ============================================================ */

.x-notice.x26225-vacancy {
    gap: .75rem;
    background: var(--access-member-bg, #fff1e6);
    border-left-color: var(--access-member-fg, #c2410c);
}

/* ---- Head: the heading, and the number on the far side ---------------- */
/* Both are the style guide's .label; only their colour is set here. */
/* The number sits NEXT TO the heading, not at the far edge: pushed apart
   (space-between) it stranded itself metres away in a wide box and stopped
   reading as part of the heading at all. */
.x26225-vacancy__head {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin: 0;
}

.x26225-vacancy__label { color: var(--access-member-fg, #c2410c); }

.x26225-vacancy__count {
    flex: none;
    background: var(--access-member-fg, #c2410c);
    font-variant-numeric: tabular-nums;
}

/* ---- The offices ------------------------------------------------------ */
/* No bullets: a 3px bar picks up the left rule of the box, so the rows read
   as the same family of marks instead of as prose. */
.x26225-vacancy__list {
    display: grid;
    gap: .375rem;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: var(--measure-mid);
}

.x26225-vacancy__list li {
    position: relative;
    padding-left: 1rem;
    font-size: var(--fs-body-sm);
    font-weight: var(--w-heading, 500);
    line-height: var(--lh-tight);
    color: var(--text);
}

.x26225-vacancy__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .32em;
    width: 3px;
    height: .8em;
    background: var(--access-member-fg, #c2410c);
}

/* ---- The invitation --------------------------------------------------- */
/* Said ONCE, under a hairline: it belongs to the box, not to any one office.
   Quieter than the offices above it - it is the next step, not the news.
   NO max-width here: it would cut the hairline off in the middle of the box,
   which reads as a mistake rather than as a divider. The sentence is one
   line; what keeps it readable is the width of the box. */
.x26225-vacancy__call {
    margin: 0;
    padding-top: .625rem;
    border-top: 1px solid var(--border, #dfdbd4);
    font-size: var(--fs-small);
    line-height: 1.55;
    color: var(--text-2);
}
