body[data-page="social"] { background: #f4f5f6; }
body[data-page="social"] .site-header { background: #fff; }

.sj-hero { position: relative; height: 480px; overflow: hidden; background: #151719; color: #fff; }
.sj-hero-image, .sj-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.sj-hero-image { object-fit: cover; object-position: center 51%; }
.sj-hero-shade { background: linear-gradient(90deg, rgba(4,8,9,.45), rgba(4,8,9,.26)), rgba(4,8,9,.28); }
.sj-hero-copy { position: relative; z-index: 1; width: min(calc(100% - 48px), 1200px); height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-inline: auto; padding-top: 8px; text-align: center; }
.sj-hero h1 { max-width: 760px; margin: 0; font-size: 32px; line-height: 1.4; font-weight: 700; text-wrap: balance; }
.sj-hero-copy > p { max-width: 720px; margin: 8px 0 0; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.6; font-weight: 500; }

.sj-hero-search { width: min(100%, 360px); height: 48px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px; margin-top: 22px; padding: 4px; border: 1px solid rgba(255,255,255,.72); border-radius: 999px; background: #fff; }
.sj-hero-search label { position: relative; }
.sj-hero-search svg { position: absolute; top: 10px; left: 15px; width: 20px; height: 20px; color: #212426; pointer-events: none; }
.sj-hero-search input { width: 100%; height: 38px; padding: 0 12px 0 42px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 14px; outline: 0; }
.sj-hero-search input::placeholder { color: #858a8c; }
.sj-hero-search button { min-width: 68px; height: 38px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.sj-hero-search button:hover { background: #fff; color: var(--ink); }
.sj-hero-search:focus-within { box-shadow: 0 0 0 3px rgba(53,199,190,.34); }

.sj-jobs { padding: 0 0 120px; background: #f4f5f6; }
.sj-shell { width: min(calc(100% - 48px), 1200px); margin-inline: auto; }
.sj-shell > h2 { margin: 0; padding: 152px 0 76px; font-size: 40px; line-height: 1.15; font-weight: 700; }
.sj-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 64px; align-items: start; }

.sj-filters { position: sticky; top: 94px; }
.sj-filter-head { min-height: 53px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid rgba(11,13,15,.16); }
.sj-filter-head strong { font-size: 18px; line-height: 1.4; font-weight: 650; }
.sj-filter-head > button:not(.sj-filter-toggle) { padding: 2px 0; border: 0; background: transparent; color: #4f5557; font-size: 14px; cursor: pointer; }
.sj-filter-head > button:not(.sj-filter-toggle):hover { color: var(--ink); }
.sj-filter-toggle { display: none; }
.sj-filter-group { margin: 0; padding: 24px 0 22px; border: 0; border-bottom: 1px solid rgba(11,13,15,.16); }
.sj-filter-group legend { float: left; width: 100%; margin: 0; padding: 0; font-size: 18px; line-height: 1.4; font-weight: 650; }
.sj-filter-group > div { clear: both; display: grid; gap: 12px; padding-top: 18px; }
.sj-check { min-height: 28px; display: flex; align-items: center; gap: 10px; color: #6f7376; font-size: 14px; cursor: pointer; }
.sj-check input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.sj-check-box { position: relative; width: 16px; height: 16px; flex: 0 0 auto; border: 1px solid rgba(11,13,15,.27); background: transparent; transition: border-color 150ms ease, background-color 150ms ease; }
.sj-check input:checked + .sj-check-box { border-color: var(--ink); background: var(--ink); }
.sj-check input:checked + .sj-check-box::after { content: ""; position: absolute; top: 3px; left: 5px; width: 4px; height: 7px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); }
.sj-check input:focus-visible + .sj-check-box { outline: 2px solid var(--aqua-deep); outline-offset: 3px; }

.sj-results { min-width: 0; scroll-margin-top: 96px; }
.sj-results-head { min-height: 53px; padding-bottom: 20px; border-bottom: 1px solid rgba(11,13,15,.16); }
.sj-results-head h3 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 500; font-variant-numeric: tabular-nums; }
.sj-job { border-bottom: 1px solid rgba(11,13,15,.15); }
.sj-job-summary { position: relative; width: 100%; display: block; padding: 26px 48px 28px 0; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.sj-job-topline { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.sj-job-title { font-size: 24px; line-height: 1.2; font-weight: 500; transition: color 150ms ease; }
.sj-job-summary:hover .sj-job-title, .sj-job-summary[aria-expanded="true"] .sj-job-title { color: var(--aqua-deep); }
.sj-job-topline time { flex: 0 0 auto; color: #777d80; font-size: 13px; font-variant-numeric: tabular-nums; }
.sj-job-meta { display: block; margin-top: 12px; color: #35393b; font-size: 14px; }
.sj-job-excerpt { display: -webkit-box; max-width: 760px; overflow: hidden; margin-top: 16px; color: #777b7e; font-size: 15px; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.sj-job-arrow { position: absolute; right: 4px; top: 30px; width: 28px; height: 28px; border: 1px solid rgba(11,13,15,.18); border-radius: 50%; }
.sj-job-arrow::before, .sj-job-arrow::after { content: ""; position: absolute; top: 13px; left: 8px; width: 10px; height: 1px; background: currentColor; transition: transform 180ms var(--ease); }
.sj-job-arrow::after { transform: rotate(90deg); }
.sj-job-summary[aria-expanded="true"] .sj-job-arrow::after { transform: rotate(0deg); }
.sj-job-summary:focus-visible, .sj-pagination button:focus-visible, .sj-filter-head button:focus-visible, .sj-job-action a:focus-visible, .sj-error button:focus-visible { outline: 2px solid var(--aqua-deep); outline-offset: 3px; }

.sj-job-detail { margin: 0 0 28px; padding: 28px; background: #fff; }
.sj-job-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sj-job-copy h4 { margin: 0 0 12px; font-size: 15px; line-height: 1.4; font-weight: 650; }
.sj-job-copy p { margin: 0; color: #4f5557; font-size: 13px; line-height: 1.82; white-space: pre-line; }
.sj-job-action { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(11,13,15,.1); }
.sj-job-action p { margin: 0; color: #777d80; font-size: 12px; }
.sj-job-action a, .sj-error button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 620; transition: background-color 150ms ease, color 150ms ease; }
.sj-job-action a:hover, .sj-error button:hover { background: #fff; color: var(--ink); }

.sj-loading span { display: block; height: 134px; border-bottom: 1px solid rgba(11,13,15,.15); background: linear-gradient(90deg, transparent, rgba(11,13,15,.045), transparent); background-size: 220% 100%; animation: sj-loading 1.2s ease-in-out infinite; }
@keyframes sj-loading { from { background-position: 180% 0; } to { background-position: -80% 0; } }
.sj-empty, .sj-error { padding: 72px 24px; border-bottom: 1px solid rgba(11,13,15,.15); text-align: center; }
.sj-empty h3, .sj-error h3 { margin: 0; font-size: 20px; }
.sj-empty p, .sj-error p { margin: 8px 0 0; color: #656a6d; }
.sj-error button { margin-top: 20px; cursor: pointer; }

.sj-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 34px; }
.sj-page-size { margin-right: auto; color: #656a6d; font-size: 13px; }
.sj-pagination button { min-width: 34px; height: 34px; padding: 0 8px; border: 1px solid transparent; background: transparent; color: #4f5557; font-size: 13px; cursor: pointer; }
.sj-pagination button:hover:not(:disabled), .sj-pagination button.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.sj-pagination button:disabled { opacity: .3; cursor: default; }
.sj-source { margin: 22px 0 0; color: #858a8c; font-size: 11px; text-align: right; }

@media (max-width: 860px) {
  .sj-hero { height: 430px; }
  .sj-hero-image { object-position: 57% center; }
  .sj-hero-copy { width: min(calc(100% - 32px), 620px); justify-content: flex-end; padding: 0 0 42px; }
  .sj-hero h1 { font-size: 32px; }
  .sj-hero-copy > p { font-size: 14px; }
  .sj-jobs { padding: 0 0 72px; }
  .sj-shell { width: min(calc(100% - 32px), 680px); }
  .sj-shell > h2 { padding: 58px 0 34px; font-size: 32px; }
  .sj-layout { grid-template-columns: 1fr; gap: 34px; }
  .sj-filters { position: static; }
  .sj-filter-head { align-items: center; }
  .sj-filter-head > button:not(.sj-filter-toggle) { margin-left: auto; }
  .sj-filter-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: transparent; font-size: 13px; cursor: pointer; }
  .sj-filter-toggle span { position: relative; width: 14px; height: 14px; }
  .sj-filter-toggle span::before, .sj-filter-toggle span::after { content: ""; position: absolute; top: 6px; left: 2px; width: 10px; height: 1px; background: currentColor; }
  .sj-filter-toggle span::after { transform: rotate(90deg); transition: transform 180ms var(--ease); }
  .sj-filters.is-open .sj-filter-toggle span::after { transform: rotate(0deg); }
  .sj-filter-body { display: none; grid-template-columns: 1fr 1fr; gap: 24px; }
  .sj-filters.is-open .sj-filter-body { display: grid; }
  .sj-filter-group { border-bottom: 0; }
  .sj-filter-group > div { padding-top: 14px; }
  .sj-results { scroll-margin-top: 78px; }
}

@media (max-width: 560px) {
  .sj-hero { height: 470px; }
  .sj-hero-copy { align-items: flex-start; padding-bottom: 34px; text-align: left; }
  .sj-hero h1 { max-width: 340px; font-size: 31px; }
  .sj-hero-copy > p { max-width: 350px; margin-top: 10px; line-height: 1.6; }
  .sj-hero-search { height: 48px; margin-top: 20px; }
  .sj-hero-search input { height: 38px; }
  .sj-hero-search button { min-width: 68px; height: 38px; }
  .sj-filter-body { grid-template-columns: 1fr; gap: 0; }
  .sj-filter-group + .sj-filter-group { border-top: 1px solid rgba(11,13,15,.12); }
  .sj-job-summary { padding: 22px 38px 24px 0; }
  .sj-job-topline { display: block; }
  .sj-job-title { font-size: 18px; }
  .sj-job-topline time { display: block; margin-top: 8px; }
  .sj-job-excerpt { -webkit-line-clamp: 3; }
  .sj-job-arrow { right: 0; top: 24px; }
  .sj-job-detail { padding: 22px 18px; }
  .sj-job-copy { grid-template-columns: 1fr; gap: 28px; }
  .sj-job-action { display: block; }
  .sj-job-action a { width: 100%; margin-top: 14px; }
  .sj-pagination { justify-content: center; flex-wrap: wrap; }
  .sj-page-size { width: 100%; margin: 0 0 10px; text-align: center; }
  .sj-pagination button { min-width: 30px; height: 30px; padding: 0 4px; }
  .sj-source { text-align: center; }
}

@media (prefers-reduced-motion: reduce) { .sj-loading span { animation: none; } }
