/*
 * InkArtists jobs: the shop's notice board.
 * Served as-is (no build step); every rule is scoped under .jb.
 * One shop with the guest home and the artist, studio, convention and tattoo
 * pages: the same ink front window and Fraunces headline, the openings on the
 * shared paper card (pinned up like notices), the place index card for the
 * locations, and an ember button wherever the next step is.
 * Brand: ink #1C1712, paper #F7F3EC, ember #D65A31, stencil #4B3FB5.
 * Headlines: Fraunces (soft, normal width, -0.01em); the rest Satoshi.
 */

/* The tokens also sit on the card: the studio, convention and guide pages
   show openings outside the board. */
.jb, .jb-card {
    --ink: #1C1712;
    --ink-2: #2A221B;
    --paper: #F7F3EC;
    --paper-2: #EFE6D8;
    --paper-3: #E6DCCB;
    --card: #FFFDF8;
    --line: #E6DFD3;
    --soft: #6B5F53;
    --ember: #D65A31;
    --ember-ui: #C24E26;
    --ember-deep: #A83E1E;
    --ember-tint: #FFE4D9;
    --ember-glow: #FF9B72;
    --stencil: #4B3FB5;
    --stencil-tint: #ECE9FB;
    --flash: #F2E9DA;
    --index: #FFF9EC;
    --on-ink-soft: #CDBFAE;
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: Satoshi, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --pad: clamp(48px, 6vw, 88px);
}
.jb {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    overflow-x: clip;
}

/* Resets in a cascade layer, so they rank below every Tailwind utility the
   shared parts (pagination, the bookmark button) still carry. */
@layer jb-reset {
    :where(.jb) *, :where(.jb) *::before, :where(.jb) *::after { box-sizing: border-box; }
    :where(.jb) :where(img) { display: block; max-width: 100%; }
    :where(.jb) :where(ul, ol) { list-style: none; margin: 0; padding: 0; }
    :where(.jb) :where(h1, h2, h3, p, figure, dl, dd) { margin: 0; }
    :where(.jb) :where(a) { color: inherit; text-decoration: none; }
    :where(.jb) :where(button, input, select) { font: inherit; color: inherit; }
}
.jb .hidden { display: none !important; }
.jb :focus-visible { outline: 3px solid var(--ember-glow); outline-offset: 3px; }
.jb [id] { scroll-margin-top: 96px; }
.jb-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.jb-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
@media (min-width: 640px) { .jb-wrap { width: min(1180px, 100% - 64px); } }

.jb-kicker { font: 800 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ember-deep); }
.jb-display { font-family: var(--display); font-weight: 640; letter-spacing: -0.01em; line-height: 1.05; text-wrap: balance; overflow-wrap: break-word; }

.jb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.4rem;
    border: 1.5px solid transparent; border-radius: 999px; font: 800 15px/1.2 var(--sans); text-align: center; cursor: pointer;
    transition: transform .2s, background-color .2s, color .2s, border-color .2s;
}
.jb-btn:hover { transform: translateY(-2px); }
.jb-btn--ember { background: var(--ember-ui); color: #fff; box-shadow: 0 14px 30px -14px rgba(214, 90, 49, .9); }
.jb-btn--ember:hover { background: var(--ember-deep); }
.jb-btn--line { background: transparent; color: var(--ink); border-color: rgba(28, 23, 18, .25); }
.jb-btn--line:hover { border-color: var(--ink); }
.jb-btn--small { min-height: 40px; padding: .55rem 1.05rem; font-size: 14px; }
/* Outlined buttons on the ink window. */
.jb-window .jb-btn--line, .jb-window .jb-round { color: var(--paper); border-color: rgba(247, 243, 236, .34); }
.jb-window .jb-btn--line:hover, .jb-window .jb-round:hover { border-color: var(--paper); }
.jb-round {
    display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
    background: transparent; border: 1.5px solid rgba(28, 23, 18, .25); color: var(--ink); font-size: 16px; transition: border-color .2s, color .2s, background-color .2s;
}
.jb-round[aria-pressed="true"] { background: var(--ember-tint); border-color: var(--ember-tint); color: var(--ember-deep); }
.jb-link { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; border-bottom: 2px solid var(--ember); font-weight: 800; font-size: 14.5px; }
.jb-link:hover { color: var(--ember-deep); }

.jb:lang(ja) .jb-display, .jb:lang(ja) .jb-card__title, .jb:lang(ja) .jb-poster__name {
    font-family: "Fraunces", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700; letter-spacing: 0; word-break: auto-phrase;
}
.jb:lang(ko) .jb-display, .jb:lang(ko) .jb-card__title, .jb:lang(ko) .jb-poster__name {
    font-family: "Fraunces", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; font-weight: 700; letter-spacing: 0;
}
.jb:lang(ko) { word-break: keep-all; }

/* ═══════════════════════════ THE FRONT WINDOW ═══════════════════════════ */
.jb-window {
    position: relative; color: var(--paper); padding: clamp(28px, 4.5vw, 60px) 0 clamp(44px, 6vw, 78px);
    background: radial-gradient(900px 520px at 85% 0%, rgba(214, 90, 49, .16), transparent 62%), var(--ink);
}
.jb-window .jb-kicker { color: var(--ember-glow); }
.jb-crumbs { margin-bottom: clamp(18px, 3vw, 30px); }
.jb-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12.5px; font-weight: 600; color: rgba(247, 243, 236, .7); }
.jb-crumbs li:not(:last-child)::after { content: "›"; margin: 0 8px; color: rgba(247, 243, 236, .4); }
.jb-crumbs a:hover { color: var(--paper); }
.jb-crumbs [aria-current] { color: rgba(247, 243, 236, .92); }

.jb-window__grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 980px) { .jb-window__grid.has-side { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.jb-window__copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.jb-title { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem); line-height: 1.04; max-width: 15ch; }
.jb-title--job { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); max-width: 22ch; }
/* Inside an artist's workspace its page heading rule (.aw-tool-page .aw-content h1) reaches these too. */
.jb .jb-window h1.jb-title { font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem); font-weight: 640; line-height: 1.04; letter-spacing: -0.01em; overflow-wrap: break-word; }
.jb .jb-window h1.jb-title--job { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.jb-lede { max-width: 600px; font-size: clamp(15.5px, .95rem + .2vw, 17.5px); line-height: 1.6; color: rgba(247, 243, 236, .84); }

.jb-editions { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
.jb-editions::-webkit-scrollbar { display: none; }
.jb-editions a {
    flex: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(247, 243, 236, .3); color: rgba(247, 243, 236, .88);
    font-size: 13.5px; font-weight: 800; transition: border-color .2s, color .2s;
}
.jb-editions a:hover { border-color: var(--paper); color: var(--paper); }
.jb-editions a[aria-current] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* The search: a pill on ink, then the two filters. */
.jb-find { display: grid; gap: 10px; width: min(680px, 100%); }
.jb-find__bar {
    display: flex; align-items: center; gap: 8px; padding: 7px; border-radius: 999px;
    background: rgba(247, 243, 236, .07); border: 1px solid rgba(247, 243, 236, .16);
}
.jb-find__field { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; }
.jb-find__field i { position: absolute; left: 16px; color: rgba(247, 243, 236, .6); pointer-events: none; }
.jb .jb-find__field input {
    width: 100%; min-width: 0; min-height: 48px; padding: 10px 10px 10px 44px; border: 0; border-radius: 999px; background: transparent;
    color: var(--paper); font-size: 16px; outline: none; box-shadow: none; text-overflow: ellipsis;
}
.jb-find__field input::placeholder { color: rgba(247, 243, 236, .6); }
.jb-find__field:focus-within { box-shadow: 0 0 0 3px rgba(255, 155, 114, .55); border-radius: 999px; }
/* An artist reads the board inside their workspace, whose form styles
   (.aw-tool-page .aw-content input, select) reach these fields too. */
.jb .jb-find .jb-find__field input:focus { border: 0; outline: none; box-shadow: none; }
.jb-find__clear {
    display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
    color: var(--paper); border: 1.5px solid rgba(247, 243, 236, .32);
}
.jb-find__clear:hover { border-color: var(--paper); }
.jb-find__go { flex: none; }
.jb-find__go i { display: none; }
.jb-find__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jb .jb-find__filters select {
    min-height: 42px; padding: 8px 36px 8px 16px; border-radius: 999px; border: 1.5px solid rgba(247, 243, 236, .3);
    background-color: rgba(247, 243, 236, .06); color: var(--paper); font-size: 14px; font-weight: 700; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23F7F3EC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.jb-find__filters select:disabled { opacity: .55; cursor: not-allowed; }
.jb-find__filters select option { color: var(--ink); background: var(--card); }
.jb .jb-find .jb-find__filters select:focus { outline: none; border-color: var(--ember-glow); box-shadow: none; }
.jb-find__reset { margin-left: 4px; font-size: 13.5px; font-weight: 800; color: rgba(247, 243, 236, .78); text-decoration: underline; text-underline-offset: 3px; }
.jb-find__reset:hover { color: var(--paper); }
@media (max-width: 479px) {
    .jb-find__field i { left: 13px; }
    .jb-find__field input { padding-left: 38px; }
    .jb-find__go { width: 48px; padding: 0; }
    .jb-find__go i { display: inline; }
    .jb-find__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
    .jb-find__filters select { flex: 1 1 140px; }
}

/* The notice pinned in the window: what to do if you are hiring. */
.jb-notice {
    position: relative; justify-self: center; width: min(360px, 100%); display: grid; gap: 14px; padding: 30px 26px 26px;
    border-radius: 4px; background: var(--flash); color: var(--ink); rotate: 1.2deg;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 34px 50px -24px rgba(0, 0, 0, .9);
}
.jb-notice::before {
    /* the pin */
    content: ""; position: absolute; top: -9px; left: 50%; width: 20px; height: 20px; translate: -50% 0; border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, #FFB08F, var(--ember) 46%, var(--ember-deep)); box-shadow: 0 4px 6px rgba(0, 0, 0, .5);
}
.jb-notice__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 18px; }
.jb-notice p { font-size: 15px; line-height: 1.55; color: #3E352C; }
.jb-notice .jb-btn { justify-self: start; }
@media (max-width: 979px) { .jb-notice { justify-self: start; rotate: none; } }

/* Notes for the post's owner, on the window: under review, expired, featured … */
.jb-notes { display: grid; gap: 10px; margin-bottom: clamp(18px, 3vw, 28px); }
.jb-note {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px;
    border-radius: 14px; background: var(--card); color: var(--ink); font-size: 14.5px; line-height: 1.5; border-left: 5px solid var(--paper-3);
}
.jb-note > span { min-width: 0; flex: 1 1 260px; }
.jb-note i { margin-right: 6px; }
.jb-note form { margin: 0; }
.jb-note--ok { border-left-color: #2F8F5B; }
.jb-note--warn { border-left-color: #C98A12; }
.jb-note--bad { border-left-color: #C2412D; }
.jb-note--stencil { border-left-color: var(--stencil); }

/* ═══════════════════════════ ONE POST: THE WINDOW ═══════════════════════════ */
.jb-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: clamp(18px, 3vw, 28px); font-size: 13.5px; font-weight: 800; color: rgba(247, 243, 236, .78); }
.jb-back:hover { color: var(--paper); }
.jb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 800 11.5px/1.2 var(--sans);
    letter-spacing: .12em; text-transform: uppercase; background: var(--paper-2); color: var(--soft);
}
.jb-tag--studio { background: var(--stencil-tint); color: var(--stencil); }
.jb-tag--artist { background: var(--ember-tint); color: var(--ember-deep); }
.jb-tag--featured { background: var(--flash); color: var(--ink); }
.jb-window .jb-tag { background: rgba(247, 243, 236, .1); color: var(--paper); }
.jb-window .jb-tag--studio { background: #D9D4F7; color: #2E2580; }
.jb-window .jb-tag--artist { background: var(--ember-tint); color: var(--ember-deep); }

.jb-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 16px; color: rgba(247, 243, 236, .9); }
.jb-facts li { display: inline-flex; align-items: baseline; gap: 8px; }
.jb-facts i { color: var(--on-ink-soft); font-size: 14px; }
.jb-facts .jb-pay { color: var(--ember-glow); font-weight: 800; }
.jb-facts .jb-pay i { color: var(--ember-glow); }
.jb-posted { font-size: 14px; color: var(--on-ink-soft); line-height: 1.5; }

.jb-poster { display: flex; align-items: center; gap: 14px; min-width: 0; }
.jb-poster__photo {
    flex: none; display: grid; place-items: center; width: 58px; height: 58px; overflow: hidden; border-radius: 16px;
    background: rgba(247, 243, 236, .08); border: 1px solid rgba(247, 243, 236, .18); font: 650 1.2rem/1 var(--display); color: var(--paper);
}
.jb-poster__photo img { width: 100%; height: 100%; object-fit: cover; }
.jb-poster__who { display: grid; gap: 2px; min-width: 0; }
.jb-poster__label { font: 800 11px/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--on-ink-soft); }
.jb-poster__name { font: 650 1.3rem/1.2 var(--display); color: var(--paper); }
a.jb-poster__name:hover { color: var(--ember-glow); }
.jb-poster__sub { font-size: 13.5px; color: var(--on-ink-soft); }

.jb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.jb-actions form { margin: 0; }
.jb-window .jb-actions .jb-text-link { color: var(--paper); font-size: 14.5px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.jb-applied {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: .7rem 1.2rem; border-radius: 999px;
    background: #DDF3E6; color: #1F6B43; font-size: 14.5px; font-weight: 800;
}
.jb-hint { font-size: 13px; color: var(--on-ink-soft); max-width: 560px; line-height: 1.5; }

/* The poster's photos, pinned up beside the post (wide screens; phones see them on the card). */
.jb-wall { display: none; position: relative; height: clamp(300px, 30vw, 400px); }
@media (min-width: 980px) { .jb-wall { display: block; } }
.jb-wall__print {
    position: absolute; left: 50%; top: 50%; width: clamp(150px, 15vw, 206px); padding: 9px 9px 28px; border-radius: 3px; background: var(--flash);
    box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 30px 44px -22px rgba(0, 0, 0, .85); transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}
.jb-wall__print::before {
    content: ""; position: absolute; top: -8px; left: 50%; z-index: 2; width: 18px; height: 18px; translate: -50% 0; border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, #FFB08F, var(--ember) 46%, var(--ember-deep)); box-shadow: 0 4px 6px rgba(0, 0, 0, .5);
}
.jb-wall__print img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 2px; }
.jb-wall--1 .jb-wall__print { width: clamp(200px, 20vw, 260px); transform: translate(-50%, -50%) rotate(1.5deg); }
.jb-wall--2 .jb-wall__print--0 { transform: translate(-50%, -50%) translateX(-38%) rotate(-5deg); }
.jb-wall--2 .jb-wall__print--1 { transform: translate(-50%, -50%) translateX(38%) rotate(4deg); z-index: 1; }
.jb-wall--3 .jb-wall__print--0 { transform: translate(-50%, -50%) translateX(-62%) rotate(-7deg); }
.jb-wall--3 .jb-wall__print--1 { transform: translate(-50%, -50%) translateY(-4%) rotate(1.5deg); z-index: 1; }
.jb-wall--3 .jb-wall__print--2 { transform: translate(-50%, -50%) translateX(62%) rotate(6deg); }

/* ═══════════════════════════ THE BOARD ═══════════════════════════ */
.jb-board { padding: clamp(36px, 5vw, 60px) 0 var(--pad); }
.jb-board > .jb-wrap { display: grid; gap: clamp(28px, 4vw, 44px); }
.jb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; }
.jb-head > div { display: grid; gap: 8px; }
.jb-h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.jb-head__note { font-size: 14px; color: var(--soft); }

/* Where the openings are: the place index card of the artist and studio lists. */
.jb-index {
    display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); border-radius: 18px; background: var(--index);
    border: 1px solid #EFE2C8; border-top: 4px solid var(--ember-ui);
    box-shadow: 0 2px 0 rgba(28, 23, 18, .04), 0 26px 40px -32px rgba(28, 23, 18, .4);
}
.jb-index__countries { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-index__countries a {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--card);
    border: 1px solid #EADCC2; font-size: 14px; font-weight: 800;
}
.jb-index__countries a:hover { border-color: var(--ember-ui); color: var(--ember-deep); }
.jb-index__countries b { font: 700 12.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ember-deep); }
.jb-index__cities { display: grid; gap: 2px 32px; }
@media (min-width: 720px) { .jb-index__cities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .jb-index__cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jb-index__cities a { display: flex; align-items: baseline; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #EFE2C8; min-width: 0; }
.jb-index__cities a:hover .jb-index__name { color: var(--ember-deep); }
.jb-index__name { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.jb-index__country { font-size: 13px; color: var(--soft); white-space: nowrap; }
.jb-index__dots { flex: 1; min-width: 12px; border-bottom: 2px dotted #D8C7A6; translate: 0 -4px; }
.jb-index__count { font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ember-deep); }

.jb-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 760px) { .jb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; } }

/* One opening: the shared paper card, pinned up like a notice. */
.jb-card {
    position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 26px 24px 20px; border-radius: 18px;
    font-family: var(--sans); color: var(--ink); text-align: left;
    background: var(--card); border: 1px solid var(--line);
    box-shadow: 0 2px 0 rgba(28, 23, 18, .04), 0 26px 40px -30px rgba(28, 23, 18, .45);
    transition: transform .25s cubic-bezier(.2, .7, .2, 1), box-shadow .25s;
}
.jb-card::before {
    content: ""; position: absolute; top: -7px; left: 50%; width: 15px; height: 15px; translate: -50% 0; border-radius: 50%;
    background: radial-gradient(circle at 35% 32%, #FFB08F, var(--ember) 46%, var(--ember-deep)); box-shadow: 0 3px 5px rgba(28, 23, 18, .35);
}
.jb-card:hover { transform: translateY(-3px); box-shadow: 0 2px 0 rgba(28, 23, 18, .04), 0 32px 48px -30px rgba(28, 23, 18, .5); }
.jb-card.is-featured { background: #FFFBF2; border-color: #EBD9B8; }
.jb-card__title { font: 650 clamp(1.3rem, 1.1rem + .6vw, 1.6rem)/1.15 var(--display); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.jb-card__title a:hover { color: var(--ember-deep); }
.jb-card.is-compact { padding: 22px 20px 18px; gap: 10px; }
.jb-card.is-compact .jb-card__title { font-size: 1.2rem; }
.jb-card__facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--soft); }
.jb-card__facts .jb-pay { color: var(--ember-deep); font-weight: 800; }
.jb-card__facts i { margin-right: 6px; font-size: 12px; }
.jb-card__facts a:hover { color: var(--ink); text-decoration: underline; }
.jb-card__desc { font-size: 14.5px; line-height: 1.6; color: #43392F; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jb-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed #D9CEBD; }
.jb-card__by { display: flex; align-items: center; gap: 10px; min-width: 0; }
.jb-card__photo {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden; border-radius: 11px;
    background: var(--paper-2); border: 1px solid var(--line); font: 700 .8rem/1 var(--sans); color: var(--soft);
}
.jb-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.jb-card__who { display: grid; min-width: 0; font-size: 13px; line-height: 1.3; }
.jb-card__who b, .jb-card__who a { font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-card__who a:hover { color: var(--ember-deep); }
.jb-card__who span { color: var(--soft); }

.jb-empty {
    display: grid; justify-items: center; gap: 10px; padding: clamp(30px, 5vw, 52px) 18px; text-align: center; border-radius: 20px;
    border: 2px dashed var(--paper-3); background: rgba(255, 253, 248, .6); color: var(--soft); font-size: 15px; line-height: 1.6;
}
.jb-empty b { font: 650 1.3rem/1.2 var(--display); color: var(--ink); }
.jb-loading { text-align: center; color: var(--soft); font-size: 14.5px; font-weight: 700; }

/* Laravel's page links, in paper. */
.jb-pages nav > div:first-child a, .jb-pages nav > div:first-child span,
.jb-pages nav [aria-current] span, .jb-pages nav a { border-radius: 999px !important; }
.jb-pages nav span[aria-current="page"] > span { background: var(--ink) !important; color: var(--paper) !important; border-color: var(--ink) !important; }

/* ═══════════════════════════ ONE POST: THE DETAILS ═══════════════════════════ */
.jb-body { padding: clamp(36px, 5vw, 60px) 0 var(--pad); }
.jb-body__grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1024px) { .jb-body__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 36px; } }
.jb-main, .jb-aside { display: grid; gap: 22px; min-width: 0; }
.jb-sheet {
    display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: var(--card); border: 1px solid var(--line);
    box-shadow: 0 2px 0 rgba(28, 23, 18, .04), 0 26px 40px -30px rgba(28, 23, 18, .45); min-width: 0;
}
.jb-sheet__title { font: 650 1.35rem/1.2 var(--display); letter-spacing: -0.005em; }
.jb-sheet__text { font-size: 16px; line-height: 1.7; color: #3B322A; overflow-wrap: anywhere; }
.jb-pair { display: grid; gap: 22px; }
@media (min-width: 720px) { .jb-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.jb-list { display: grid; gap: 10px; font-size: 15px; line-height: 1.45; color: #3B322A; }
.jb-list li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: baseline; }
.jb-list i { color: var(--soft); font-size: 13px; text-align: center; }
.jb-list .is-perk i { color: var(--ember-ui); }
.jb-list .is-note { grid-template-columns: 1fr; padding-left: 28px; color: var(--soft); font-size: 14px; }
.jb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-chips span { padding: 6px 13px; border-radius: 999px; background: var(--paper-2); font-size: 14px; font-weight: 700; color: #3B322A; }
.jb-section { display: grid; gap: 16px; }
.jb-section .jb-grid { gap: 20px; }

/* Who posted it, beside the details. */
.jb-who { display: grid; gap: 10px; }
.jb-who__name { font: 650 1.4rem/1.2 var(--display); }
.jb-who__name:hover { color: var(--ember-deep); }
.jb-who__text { font-size: 14.5px; color: var(--soft); line-height: 1.5; }
.jb-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.jb-photos > * { display: block; overflow: hidden; border-radius: 12px; }
.jb-photos img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: scale .35s; }
.jb-photos a:hover img { scale: 1.04; }
.jb-photos > .is-wide { grid-column: span 2; }
.jb-photos > .is-wide img { aspect-ratio: 2 / 1; }
@media (min-width: 980px) { .jb-photos.is-pinned-above { display: none; } }
.jb-team { display: grid; gap: 10px; }
.jb-team a { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 800; font-size: 14.5px; }
.jb-team a:hover span { color: var(--ember-deep); }
.jb-team img, .jb-team i {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
    background: var(--paper-2); font-style: normal; font-size: 13px; color: var(--soft);
}
.jb-team span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jb-guide { display: grid; gap: 6px; transition: border-color .2s; }
.jb-guide:hover { border-color: var(--ember-ui); }
.jb-guide b { font: 650 1.15rem/1.25 var(--display); }
.jb-guide p { font-size: 14px; color: var(--soft); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Job alerts: "email me new jobs here". */
.jb-alert { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.jb-alert__bell { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ember-tint); color: var(--ember-deep); }
.jb-alert__bell.is-on { background: #DDF3E6; color: #1F6B43; }
.jb-alert__body { display: grid; gap: 8px; min-width: 0; }
.jb-alert__title { font: 650 1.2rem/1.25 var(--display); }
.jb-alert__text { font-size: 14.5px; color: var(--soft); line-height: 1.5; }
.jb-alert form { display: grid; gap: 10px; margin: 4px 0 0; }
.jb-alert__row { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-alert__row input[type="email"] {
    flex: 1 1 200px; min-width: 0; min-height: 46px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
    background: #fff; font-size: 15px;
}
.jb .jb-alert__row input[type="email"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28, 23, 18, .1); }
.jb-alert__consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--soft); line-height: 1.45; }
.jb-alert__consent input { margin-top: 2px; accent-color: var(--ember-ui); }
.jb-alert__off { justify-self: start; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 800; color: var(--soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.jb-alert__off:hover { color: var(--ink); }
.jb-alert__error { font-size: 13px; color: #B3261E; }

@media (prefers-reduced-motion: reduce) {
    .jb-btn, .jb-card, .jb-wall__print, .jb-photos img { transition: none; }
}
