/* supplychain-jobs.com. Colors from the logo: ink #1D2B33, blue #1C85BF, deep #17699D, sky #61C7E4, mint #8ED3DC. */
:root { --ink:#1D2B33; --blue:#1C85BF; --deep:#17699D; --sky:#61C7E4; --mint:#8ED3DC; --bg:#F4F8FB; --line:#DDE6EC; --muted:#5B6A74; --green:#13795B; }
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; }
a { color: var(--deep); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: 2.6rem; margin: 0 0 14px; }
h2 { font-size: 1.75rem; margin: 0 0 18px; }
h3 { font-size: 1.12rem; margin: 0 0 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted, .small { color: var(--muted); }
.small { font-size: .85rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--blue); margin: 0 0 8px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.link { font-weight: 600; text-decoration: none; background: none; border: 0; color: var(--deep); cursor: pointer; font: inherit; padding: 0; }

/* buttons */
.btn { display: inline-block; border-radius: 10px; padding: 12px 20px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; text-align: center; line-height: 1.2; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--deep); background: #fff; }
.btn-light { background: #fff; color: var(--deep); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.btn-block { display: block; width: 100%; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { display: block; width: 240px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a.on, .nav a:hover { color: var(--blue); }
.nav .btn { color: #fff; }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
.testbar { background: #FFF6D8; color: #6b5300; text-align: center; font-size: .85rem; padding: 5px; }

/* hero */
.hero { background: linear-gradient(135deg, #0F3F5E 0%, var(--deep) 55%, var(--blue) 100%); color: #fff; padding: 64px 0 40px; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { font-size: 3.1rem; }
.hero .lead { color: #D6E9F4; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; }
.ticks li::before { content: '✓'; position: absolute; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--mint); color: var(--ink); font-size: .75rem; font-weight: 800; display: grid; place-items: center; top: 2px; }
.signup-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.signup-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.signup-card p { color: var(--muted); margin: 0 0 16px; }
.ghost { display: grid; gap: 10px; margin-bottom: 16px; }
.ghost span { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: #9AA8B1; background: var(--bg); }
.signup-card .small { margin: 10px 0 0; text-align: center; }
.search { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr auto; gap: 10px; background: #fff; padding: 12px; border-radius: 14px; margin-top: 40px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.search input, .search select { font: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); background: #fff; min-width: 0; }
.search.slim { grid-template-columns: 2fr 1.4fr auto; margin-top: 18px; box-shadow: none; border: 1px solid var(--line); }

/* sections */
.block { padding: 60px 0; }
.block.alt { background: var(--bg); }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; }
.block-head h2 { margin: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid3:empty { display: none; }
.grid3 + .grid3 { margin-top: 16px; }
.page-head { background: var(--bg); padding: 44px 0 34px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); }

/* cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: inherit; display: block; transition: border-color .15s, box-shadow .15s; }
.card:hover { border-color: var(--sky); box-shadow: 0 6px 20px rgba(23,105,157,.10); }
.job h3 a { color: var(--ink); text-decoration: none; }
.job h3 a:hover { color: var(--blue); }
.badges { display: flex; gap: 6px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.badge { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; }
.badge.scope { background: #1AB3B8; color: #0B2F4F; } /* SCOPE teal; dark navy text for contrast */
.badge.featured { background: var(--sky); color: var(--ink); }
.badge.latest { background: #EEF3F6; color: var(--muted); }
.spec { font-size: .78rem; color: var(--muted); }
.company { color: var(--muted); margin: 0 0 10px; font-size: .95rem; }
.company.big { font-size: 1.15rem; color: #D6E9F4; }
.meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; }
.meta li { position: relative; }
.meta .salary { color: var(--green); font-weight: 700; }
.meta.big { font-size: 1rem; }
.posted { color: var(--muted); font-size: .82rem; margin: 10px 0 0; }
.scope { border-left: 4px solid var(--ink); }
.cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-decoration: none; color: var(--ink); display: grid; gap: 6px; }
.cat:hover { border-color: var(--blue); }
.cat span { color: var(--muted); font-size: .92rem; }
.cat em { font-style: normal; font-weight: 700; color: var(--blue); font-size: .9rem; }
.sub-h { margin: 34px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; text-decoration: none; color: var(--ink); background: #fff; font-size: .92rem; }
.chip span { color: var(--muted); margin-left: 4px; }
.post img { border-radius: 10px; margin-bottom: 10px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post p { color: var(--muted); font-size: .94rem; }

/* alert + employers bands */
.alert-band { background: var(--mint); padding: 40px 0; }
.alert-band.compact { border-radius: 14px; padding: 24px; margin: 16px 0; }
.alert-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.alert-in h2 { font-size: 1.45rem; margin: 0 0 6px; }
.alert-in p { margin: 0; color: #24414F; }
.employers-band { background: var(--ink); color: #fff; padding: 46px 0; }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.band-in h2 { margin: 0 0 6px; }
.band-in p { margin: 0; color: #C3D2DA; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* job search */
.results-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px; padding-top: 30px; padding-bottom: 60px; }
.filters fieldset { border: 0; border-bottom: 1px solid var(--line); padding: 0 0 16px; margin: 0 0 16px; }
.filters legend { font-weight: 800; font-size: .9rem; margin-bottom: 8px; }
.filters label { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: .95rem; cursor: pointer; }
.filter-toggle { display: none; }
.count { color: var(--muted); margin: 0 0 12px; font-weight: 600; }
.list { display: grid; gap: 12px; }
.row { display: flex; justify-content: space-between; gap: 16px; }
.row-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; white-space: nowrap; }
.row-side .posted { margin: 0; }
.inline-alert { background: #E9F7FA; border: 1px dashed var(--sky); border-radius: 14px; padding: 16px 20px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.empty-state { text-align: center; border: 1px solid var(--line); border-radius: 14px; padding: 40px 20px; }

/* job page */
.job-head { background: linear-gradient(135deg, #0F3F5E 0%, var(--deep) 100%); color: #fff; padding: 40px 0; }
.job-head .crumbs, .job-head .crumbs a { color: #BCD6E6; }
.job-head h1 { font-size: 2.3rem; }
.job-head .badge.latest { background: rgba(255,255,255,.15); color: #fff; }
.job-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; }
.job-head .meta.big .salary { color: var(--mint); }
.apply-card { background: #fff; border-radius: 16px; padding: 22px; color: var(--ink); }
.apply-card .small { text-align: center; margin: 10px 0 0; }
.job-body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-top: 40px; padding-bottom: 50px; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.side-card p { color: var(--muted); font-size: .94rem; }
.similar { display: block; text-decoration: none; color: var(--ink); padding: 10px 0; border-top: 1px solid var(--line); }
.similar span { display: block; color: var(--muted); font-size: .88rem; }
.prose { font-size: 1.04rem; }
.prose h2 { font-size: 1.4rem; margin-top: 28px; }
.prose li { margin: 6px 0; }
.post-page { padding-top: 40px; padding-bottom: 40px; }
.cover { border-radius: 14px; margin: 16px 0; }

/* footer */
.foot { background: var(--ink); color: #C3D2DA; padding: 50px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo { width: 220px; margin-bottom: 14px; }
.foot h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin: 7px 0; }
.foot a { color: #C3D2DA; text-decoration: none; }
.foot a:hover { color: #fff; }
.powered a { color: var(--sky); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding: 18px 24px; font-size: .85rem; }

@media (max-width: 980px) {
  .hero-grid, .job-head-grid, .job-body-grid { grid-template-columns: 1fr; }
  .grid3, .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  h1, .hero h1 { font-size: 2.1rem; }
  .menu { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 16px 24px; border-bottom: 1px solid var(--line); }
  body.nav-open .nav { display: flex; }
  .logo img { width: 190px; }
  .search, .search.slim { grid-template-columns: 1fr; }
  .grid3, .cats, .foot-grid { grid-template-columns: 1fr; }
  .alert-in, .band-in, .block-head { flex-direction: column; align-items: flex-start; }
  .results-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: block; }
  .filters { display: none; }
  .filters.open { display: block; }
  .row { flex-direction: column; }
  .row-side { flex-direction: row; align-items: center; }
}

/* Whole job card is clickable (the title link stretches over the card) */
.card.job { position: relative; cursor: pointer; }
.card.job h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card.job .btn { position: relative; z-index: 1; }

/* /podcast/ */
.show-head { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.show-cover { width: 140px; height: 140px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.show-head h2 { margin-bottom: 6px; }
.show-text { margin: 0 0 10px; max-width: 760px; }
.show-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.episode .ext { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--deep); }
@media (max-width: 640px) { .show-head { flex-direction: column; align-items: flex-start; } .show-cover { width: 110px; height: 110px; } }

/* Sign-up pop-up (career site form in an iframe) */
.signup-pop { width: min(640px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.25); overflow: hidden; }
.signup-pop::backdrop { background: rgba(29,43,51,.55); }
.signup-pop iframe { display: block; width: 100%; height: 520px; border: 0; max-height: calc(92vh - 4px); }
.signup-pop .x { position: absolute; top: 8px; right: 10px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
