/*
 * PSE job listing – classes/markup match the site's job-listing container + card.
 * CSS custom properties (--line, --muted, --ink, --red, --sub) are inherited from the
 * PSE layout; fallbacks keep it correct in standalone/preview.
 */
.jobs-section {
	background: #fff;
	border-top: 1px solid var(--line, #E4E0D8);
	border-bottom: 1px solid var(--line, #E4E0D8);
	scroll-margin-top: 84px;
	font-family: 'Archivo', system-ui, -apple-system, sans-serif;
	color: var(--ink, #1A1714);
}

.jobs-inner { max-width: 1200px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 28px); }

.jobs-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.jobs-h2 { font-family: 'Archivo', sans-serif; font-weight: 800; letter-spacing: -.01em; font-size: clamp(1.7rem, 4vw, 2.6rem); margin: 0; }
.jobs-h2:empty { display: none; }
.result-text { font-weight: 700; color: var(--muted, #635e55); font-size: 15px; white-space: nowrap; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 22px 0 8px; }
.chips[hidden] { display: none; }
.chip { cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 15px; background: #fff; color: var(--ink, #1A1714); border: 1px solid var(--line, #E4E0D8); transition: all .12s ease; }
.chip:hover { border-color: var(--ink, #1A1714); }
.chip.active { background: var(--ink, #1A1714); color: #fff; border-color: var(--ink, #1A1714); }

.jobs-status { color: var(--muted, #635e55); font-weight: 600; margin: 18px 0 0; }

.jobs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; margin-top: 18px; }
.jobs-grid[hidden] { display: none; }

.job-card { border: 1px solid var(--line, #E4E0D8); border-radius: 15px; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: #FCFBF9; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.job-card:hover { border-color: var(--red, #F5290F); transform: translateY(-3px); box-shadow: 0 0 0 3px rgba(245, 41, 15, .12), 0 16px 32px rgba(245, 41, 15, .15); }
.job-card[hidden] { display: none; }

.job-branche-row { display: flex; align-items: center; gap: 8px; }
.job-dot { display: none; }
.job-branche-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #635e55); }

.job-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.12; margin: 0; }

.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag { font-size: 13px; font-weight: 600; color: var(--sub, #726B61); background: transparent; border: 1px solid var(--sub, #726B61); border-radius: 15px; padding: 6px 11px; }

.job-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.job-pay { font-weight: 800; font-size: 16px; color: var(--ink, #1A1714); }

.btn-apply { display: inline-flex; align-items: center; gap: 7px; background: transparent; color: var(--ink, #1A1714); text-decoration: none; font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 15px; border: 1px solid var(--red, #F5290F); transition: background .15s, color .15s; }
.job-card:hover .btn-apply, .btn-apply:hover { background: var(--red, #F5290F); color: #fff; border-color: var(--red, #F5290F); }
