@scope (.gtech-bullhorn-portal) {
/* ============================================================== tokens === */
:scope {
  --navy-900: #071a30;
  --navy-800: #0d2c4f;
  --navy-700: #16406d;
  --navy-500: #2f6ba6;
  --accent:   #1457f5;
  --accent-600: #0d46cf;
  --teal:     #1d7eea;

  --ink:      #10202f;
  --body:     #43566a;
  --muted:    #6b7c8f;
  --line:     #e3e9f0;
  --line-2:   #eef2f7;
  --bg:       #f4f7fb;
  --card:     #ffffff;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(11, 34, 57, .06), 0 1px 3px rgba(11, 34, 57, .05);
  --shadow-md: 0 4px 12px rgba(11, 34, 57, .07), 0 2px 4px rgba(11, 34, 57, .04);
  --shadow-lg: 0 18px 40px rgba(11, 34, 57, .13), 0 4px 12px rgba(11, 34, 57, .06);

  --wrap: 1440px;
  --sans: Calibri, 'Segoe UI', Arial, sans-serif;

  /* One chevron for every native select on the site. */
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7c8f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================== reset ==== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }

/* A `display` rule on a component beats the hidden attribute's UA style, which
   would leave empty alerts and file chips visible. Settle it once, globally. */
[hidden] { display: none !important; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }

svg.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { left: 16px; }

:where(button, input, select, a):focus-visible {
  outline: 2px solid var(--navy-500);
  outline-offset: 2px;
}

/* ============================================================= buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-accent {
  background: var(--accent); color: #fff;
  border: 0 !important;
  outline: 0;
  box-shadow: 0 6px 16px rgba(20, 87, 245, .30);
}
.btn-accent:hover { background: var(--accent-600); transform: translateY(-1px); }
.btn-accent:focus-visible { outline: 2px solid rgba(255,255,255,.92); outline-offset: 3px; }
.btn-outline {
  border: 1.5px solid var(--line); background: var(--card); color: var(--navy-800);
}
.btn-outline:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.job-view {
  min-height: 48px;
  padding: 0 25px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #071a3d !important;
  background: #fff !important;
  border: 1px solid #d5dfec !important;
  border-radius: 999px;
  box-shadow: none !important;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.job-view:hover,
.job-view:focus-visible {
  color: #fff !important;
  background: #1457f5 !important;
  border-color: #1457f5 !important;
  text-decoration: none;
  transform: translateY(-1px);
}
.job-view:focus-visible { outline: 2px solid rgba(20,87,245,.25); outline-offset: 3px; }

.link-btn {
  appearance: none; font-size: 13px; font-weight: 600; color: var(--accent);
  padding: 4px 0; border: 0 !important; border-radius: 0; outline: 0;
  background: transparent !important; box-shadow: none !important;
}
.link-btn:hover { color: var(--accent-600); text-decoration: none; }
.link-btn:focus-visible { outline: 2px solid rgba(20,87,245,.28); outline-offset: 3px; }

/* ============================================================== header === */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark svg { width: 34px; height: 34px; display: block; }
.brand-mark rect { fill: var(--navy-800); }
.brand-mark path { fill: var(--accent); }
.brand-text { font-weight: 800; font-size: 19px; color: var(--navy-800); letter-spacing: -.02em; }
.brand-text em { font-style: normal; font-weight: 600; color: var(--muted); }

.site-nav { display: flex; gap: 26px; font-weight: 600; font-size: 14px; color: var(--body); }
.site-nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--navy-800); border-bottom-color: var(--accent); }

/* ================================================================ hero === */
.hero {
  position: relative; overflow: hidden;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(135deg, #071a3d 0%, #0b2d65 58%, #1457f5 145%);
  color: #fff;
  padding: 64px 0 68px;
}
.hero-glow {
  position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle at 50% 50%, rgba(20, 87, 245, .34), transparent 62%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; left: -6%; bottom: -55%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 126, 234, .22), transparent 64%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: #cfe0ff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title {
  color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800;
  letter-spacing: -.035em; line-height: 1.06; max-width: 19ch;
}
.hero-title span { display: block; color: var(--accent); }
.hero-sub {
  margin-top: 20px; max-width: 56ch; font-size: 17px;
  color: rgba(255, 255, 255, .80);
}

/* search bar */
.searchbar {
  margin-top: 0;
  display: grid; grid-template-columns: 2fr 1.1fr 1.1fr auto; gap: 10px; align-items: end;
  background: var(--card); padding: 14px; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.sb-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sb-field label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding-left: 14px;
}
.sb-input {
  display: flex; align-items: center; gap: 9px;
  background: var(--bg); border: 1.5px solid transparent; border-radius: 999px;
  padding: 0 16px; height: 48px;
  transition: border-color .15s ease, background .15s ease;
}
.sb-input:focus-within { border-color: var(--navy-500); background: #fff; }
.sb-input .ico { color: var(--muted); }
.sb-input input, .sb-input select {
  border: none; background: none; outline: none; width: 100%; min-width: 0;
  font-size: 15px; color: var(--ink);
}
/* The hero select needs its own chevron — the pill hides the native one. */
.sb-input select {
  appearance: none; cursor: pointer; font-weight: 600;
  padding-right: 24px; text-overflow: ellipsis;
  background: var(--chevron) no-repeat right center / 16px;
}
.sb-input input::placeholder { color: #9aa9b8; }
.sb-narrow { max-width: 100%; }
.sb-submit { height: 48px; padding-inline: 34px; font-size: 15px; }

/* stats */
.hero-stats { display: flex; gap: 44px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats dt {
  font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.hero-stats dd { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.02em; }

/* ============================================================== layout === */
.layout {
  display: grid; grid-template-columns: 314px minmax(0, 1fr); gap: 30px;
  align-items: start; padding-block: 44px 72px;
}

.filters-toggle { display: none; }

.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }

.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-bottom: 1px solid var(--line-2);
}
.panel-head h2 { font-size: 16px; letter-spacing: -.01em; }
.panel-body { padding: 18px 20px 22px; }

.side-search { height: 44px; background: var(--bg); margin-bottom: 6px; }

/* facets */
.facet { border: none; padding: 0; margin-top: 22px; }
.facet legend {
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--navy-800); padding: 0 0 10px;
}
.facet-list { display: flex; flex-direction: column; gap: 2px; }

.check {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px; margin-inline: -8px; border-radius: var(--r-sm);
  font-size: 14px; cursor: pointer; transition: background .12s ease;
}
.check:hover { background: var(--bg); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 18px; height: 18px; flex: none; border-radius: 5px;
  border: 1.5px solid #c6d1de; background: #fff;
  transition: all .12s ease;
}
.check input:checked + .box {
  background: var(--navy-800); border-color: var(--navy-800);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat;
}
.check input:focus-visible + .box { outline: 2px solid var(--navy-500); outline-offset: 2px; }
/* Label hugs the checkbox, count pill pins to the right so the column aligns. */
.check-text {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex: 1; min-width: 0;
}
.check-text > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check-text em {
  flex: none; font-style: normal; font-size: 11.5px; font-weight: 700;
  color: var(--muted); background: var(--bg);
  min-width: 28px; padding: 2px 8px; border-radius: 999px; text-align: center;
  transition: background .12s ease, color .12s ease;
}
.check:hover .check-text em { background: #e7edf5; }
.check input:checked ~ .check-text > span { font-weight: 700; color: var(--ink); }
.check input:checked ~ .check-text em { background: #eaf1ff; color: var(--accent); }

/* Options with no matches under the current filters. */
.check.is-empty { opacity: .55; }
.check.is-empty .check-text em { background: transparent; }

.facet-more { margin-top: 8px; }

.sel-label {
  display: block; font-size: 12px; font-weight: 600; color: var(--muted);
  margin: 12px 0 5px;
}
.remote-check { margin-top: 16px; }

/* ------------------------------------------------------ select component */
.select {
  width: 100%; height: 44px; padding: 0 40px 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: #fff var(--chevron) no-repeat right 13px center / 16px;
  appearance: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--ink);
  text-overflow: ellipsis;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.select:hover { border-color: #c6d1de; }
.select:focus-visible,
.select:focus {
  outline: none; border-color: var(--navy-500);
  box-shadow: 0 0 0 3px rgba(47, 107, 166, .15);
}
.select:disabled {
  background-color: var(--bg); color: var(--muted);
  cursor: not-allowed; opacity: .75;
}

/* popular jobs */
.panel-popular .featured-list { padding: 8px 12px 14px; }
.featured-item {
  display: block; width: 100%; text-align: left;
  padding: 12px; border-radius: var(--r-md);
  transition: background .13s ease;
}
.featured-item:hover { background: var(--bg); }
.featured-item + .featured-item { border-top: 1px solid var(--line-2); border-radius: 0; }
.featured-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 21px; height: 21px; border-radius: 6px; margin-right: 9px;
  background: #eaf1ff; color: var(--accent);
  font-size: 11px; font-weight: 800; vertical-align: 2px;
}
.featured-title {
  font-weight: 700; font-size: 14px; color: var(--ink); line-height: 1.35; margin: 0;
}
.featured-item:hover .featured-title { color: var(--navy-700); }
.featured-sub { font-size: 12.5px; color: var(--muted); margin-top: 4px; padding-left: 30px; }

/* ============================================================= results === */
.results-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 16px;
}
.results-head h2 { font-size: 22px; letter-spacing: -.02em; }
.results-meta { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

.sort { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.sort .select { width: auto; height: 40px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 8px 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}
.chip b { font-weight: 800; }
.chip button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 20px; width: 20px; min-width: 20px; height: 20px; min-height: 20px;
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50%;
  background: transparent !important; color: var(--navy-500); font-family: Arial, sans-serif;
  font-size: 14px; font-weight: 400; line-height: 20px; text-align: center;
  box-shadow: none !important; outline: 0; vertical-align: middle;
}
.chip button:hover { background: #eaf1ff !important; color: var(--accent); }
.chip button:focus-visible { outline: 2px solid rgba(20,87,245,.28); outline-offset: 2px; }
.chip-clear { border: 0; color: var(--accent); padding: 7px 12px; background: transparent; box-shadow: none; }
.chip-clear:hover { color: var(--accent-600); background:#eaf1ff; }

/* job cards */
.job-list { display: flex; flex-direction: column; gap: 14px; }

.job-card {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.job-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cfdbe8;
}
.job-main { flex: 1; min-width: 0; }
.job-title { font-size: 17.5px; letter-spacing: -.015em; }
.job-title a { color: #071a3d !important; text-decoration: none; }
.job-title a:hover { color: var(--accent) !important; text-decoration: none; }
.job-company { font-size: 14px; font-weight: 600; color: var(--navy-500); margin-top: 3px; }

.job-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px;
  font-size: 13.5px; color: var(--muted);
}
.job-meta li { display: flex; align-items: center; gap: 6px; }
.job-meta .ico { width: 15px; height: 15px; }

.job-snippet {
  margin-top: 11px; font-size: 14px; color: var(--body); line-height: 1.62;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.job-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em;
  padding: 4px 11px; border-radius: 999px;
  background: var(--bg); color: var(--navy-700); border: 1px solid var(--line-2);
}
.tag-type { background: #eaf3fd; color: var(--navy-700); border-color: #d3e5f8; }
.tag-remote { background: #e6f7f4; color: #0a7d72; border-color: #c8ece6; }

.job-side {
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  flex: none; text-align: right;
}
.job-posted { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.job-view { padding: 9px 17px; font-size: 13.5px; }

/* skeleton / empty / error */
.skeleton { height: 154px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); padding: 22px 24px; }
.sk-bar { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #eef2f7 25%, #e3e9f0 37%, #eef2f7 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
.sk-bar + .sk-bar { margin-top: 12px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sk-bar { animation: none; } html { scroll-behavior: auto; } }

.state-box {
  text-align: center; padding: 64px 28px;
  background: var(--card); border: 1px dashed var(--line); border-radius: var(--r-lg);
}
.state-box h3 { font-size: 18px; margin-bottom: 8px; }
.state-box p { font-size: 14.5px; color: var(--muted); max-width: 46ch; margin: 0 auto 20px; }
.state-emoji { font-size: 34px; display: block; margin-bottom: 12px; }

/* pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination button {
  min-width: 40px; height: 40px; padding: 0 13px; border-radius: var(--r-md);
  border: 1.5px solid var(--line); background: #fff;
  font-size: 14px; font-weight: 700; color: var(--navy-800);
  transition: all .13s ease;
}
.pagination button:hover:not(:disabled) { border-color: var(--navy-800); }
.pagination button[aria-current="page"] { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.pagination button:disabled { opacity: .38; cursor: not-allowed; }
.pagination .gap { color: var(--muted); padding: 0 4px; }

/* =========================================================== job page === */
.breadcrumb { background: var(--card); border-bottom: 1px solid var(--line); }
.back-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 15px 0; font-size: 14px; font-weight: 600; color: var(--body);
}
.back-link:hover { color: var(--accent); }

.job-page-skeleton { padding: 48px 0; }
.job-page-skeleton .sk-bar { margin-bottom: 16px; }

.job-hero { padding: 44px 0 30px; }
.job-hero-posted {
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.job-hero-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.12; max-width: 22ch;
}
.job-hero-company { font-size: 16px; font-weight: 600; color: var(--navy-500); margin-top: 9px; }
.job-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.job-page {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px;
  align-items: start; padding-bottom: 60px;
}
.job-page-main { min-width: 0; }

/* Flex rather than grid: items in the final row grow to fill it, so a fact
   count that doesn't divide evenly never leaves empty cells. The separators are
   box-shadows, clipped against the container's edges by overflow:hidden. */
.job-facts {
  display: flex; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 30px;
}
.fact {
  flex: 1 1 148px; padding: 16px 20px;
  box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line);
}
.fact dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact dd { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-top: 4px; }

.job-section {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 28px 32px; margin-bottom: 20px;
}
.job-section h2 {
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.job-desc { font-size: 15px; line-height: 1.72; color: var(--body); }

/* apply card */
.job-page-aside { position: sticky; top: 96px; }
.apply-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 24px;
}
.apply-card h2 { font-size: 17px; letter-spacing: -.01em; }
.apply-note { font-size: 13.5px; color: var(--muted); margin: 8px 0 18px; }
.apply-btn { width: 100%; height: 46px; }
.apply-btn + .apply-btn { margin-top: 10px; }
.apply-ref {
  font-size: 12px; color: var(--muted); text-align: center;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2);
}

/* similar jobs */
.similar { padding-bottom: 64px; }
.similar h2 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 16px; }
.similar-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 14px; }
.similar-card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.similar-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #cfdbe8; }
.similar-title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; }
.similar-card:hover .similar-title { color: var(--navy-700); }
.similar-sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.job-desc :where(p, ul, ol, div) { margin-bottom: 13px; }
.job-desc :where(ul, ol) { padding-left: 22px; list-style: disc; }
.job-desc ol { list-style: decimal; }
.job-desc li { margin-bottom: 6px; }
.job-desc strong, .job-desc b { color: var(--ink); font-weight: 700; }
.job-desc a { color: var(--navy-500); text-decoration: underline; }
.job-desc :where(img, table) { max-width: 100%; height: auto; }
.job-desc br + br { display: none; }

/* =========================================================== apply page === */
.apply-wrap { padding: 40px 0 72px; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }

.apply-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 32px;
}
.apply-title { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.03em; }
.apply-lede { font-size: 14.5px; color: var(--muted); margin-top: 8px; }
.req-star { color: var(--accent); font-weight: 700; }

.form-block { border: none; padding: 0; margin-top: 30px; }
.form-block legend {
  font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--navy-800); padding: 0 0 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { grid-template-columns: 2fr 1.4fr 1fr; }
/* Scoped to direct children of the block — fields paired inside a .form-row are
   laid out by the grid and must not pick up a stacking margin. */
.form-row + .form-row, .form-row + .field { margin-top: 16px; }
.form-block > .field + .field { margin-top: 16px; }

.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
  font-size: 14.5px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { height: auto; padding: 12px 14px; line-height: 1.6; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa9b8; }
.field input:hover, .field textarea:hover { border-color: #c6d1de; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(47, 107, 166, .15);
}
.field [aria-invalid="true"],
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent); }

.field-error { font-size: 12.5px; font-weight: 600; color: var(--accent-600); margin-top: 6px; }
.field-error:empty { margin: 0; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: 6px; text-align: right; }

/* resume dropzone */
.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 32px 20px; border: 2px dashed #c6d1de; border-radius: var(--r-lg);
  background: var(--bg); cursor: pointer; text-align: center;
  transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: #f3f7ff; }
.dropzone input[type="file"] { position: absolute; width: 0; height: 0; opacity: 0; }
.dz-icon {
  width: 30px; height: 30px; fill: none; stroke: var(--navy-500);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px;
}
.dz-main { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.dz-main b { color: var(--accent); }
.dz-hint { font-size: 12.5px; color: var(--muted); }

.file-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff;
}
.file-chip .ico { color: var(--navy-500); }
.file-name { font-size: 14px; font-weight: 700; color: var(--ink); flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-size { font-size: 12.5px; color: var(--muted); flex: none; }
.file-remove {
  display: grid; place-items: center; width: 24px; height: 24px; flex: none;
  border-radius: 50%; background: var(--bg); color: var(--muted); font-size: 16px; line-height: 1;
}
.file-remove:hover { background: var(--accent); color: #fff; }

.consent-check { margin-top: 26px; align-items: flex-start; padding: 0; }
.consent-check .box { margin-top: 2px; }
.consent-check .check-text { display: block; font-size: 13.5px; line-height: 1.55; color: var(--body); }
.consent-check .check-text > span { white-space: normal; overflow: visible; }

.form-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.submit-btn { height: 50px; padding-inline: 34px; font-size: 15px; }
.submit-btn:disabled { opacity: .65; cursor: progress; }

.form-alert {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 16px; border-radius: var(--r-md); margin-top: 20px;
  font-size: 13.5px; border: 1px solid;
}
.form-alert-error { background: #fff3f0; border-color: #ffd0c4; color: #a5341f; }
.form-alert strong { color: inherit; font-size: 14px; }

/* job summary beside the form */
.apply-aside { position: sticky; top: 96px; }
.apply-job-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 22px;
}
.apply-job-label {
  font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.apply-job-title { display: block; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.apply-job-title:hover { color: var(--navy-700); text-decoration: underline; text-underline-offset: 3px; }
.apply-job-company { font-size: 13.5px; font-weight: 600; color: var(--navy-500); margin-top: 5px; }
.apply-job-facts { margin-top: 16px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.apply-job-facts li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; padding: 5px 0; color: var(--muted);
}
.apply-job-facts b { color: var(--ink); font-weight: 700; text-align: right; }

/* success */
.apply-success {
  max-width: 620px; margin: 40px auto 80px; text-align: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 48px 36px;
}
.success-mark {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px; font-weight: 700;
  background: #e6f7f4; color: #0a7d72;
}
.apply-success h1 { font-size: 26px; letter-spacing: -.025em; }
.success-lede { font-size: 15px; color: var(--body); margin-top: 12px; }
.success-note {
  font-size: 13.5px; color: #8a5a12; background: #fff8e8; border: 1px solid #f2e0b8;
  border-radius: var(--r-md); padding: 12px 14px; margin-top: 18px; text-align: left;
}
.success-refs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px; background: var(--line-2); border: 1px solid var(--line-2);
  border-radius: var(--r-md); overflow: hidden; margin-top: 26px;
}
.success-refs > div { background: var(--card); padding: 13px 14px; }
.success-refs dt { font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.success-refs dd { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.success-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ============================================================== footer === */
.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-block: 26px; font-size: 13px; color: var(--muted);
}

/* ========================================================== responsive === */
@media (max-width: 1080px) {
  .layout { grid-template-columns: 272px minmax(0, 1fr); }
  .searchbar { grid-template-columns: 1.6fr 1fr 1fr auto; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero { padding: 56px 0 68px; }
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar .sb-field:first-child { grid-column: 1 / -1; }
  .sb-submit { grid-column: 1 / -1; }

  .layout { grid-template-columns: minmax(0, 1fr); padding-block: 28px 56px; }

  .filters-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 20px; border-radius: 999px; margin-bottom: 4px;
    background: var(--card); border: 1.5px solid var(--line);
    font-weight: 700; font-size: 14px; color: var(--navy-800);
    box-shadow: var(--shadow-sm);
  }
  .filters-toggle .pill {
    display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px;
    border-radius: 999px; background: var(--accent); color: #fff; font-size: 11.5px;
  }
  .sidebar { position: static; display: none; }
  .sidebar.is-open { display: flex; }

  /* Job page collapses to one column; the apply card leads instead of floating. */
  .job-page { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .job-page-aside { position: static; order: -1; }
  .job-hero { padding: 30px 0 22px; }

  .apply-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .apply-aside { position: static; order: -1; }
}

@media (max-width: 620px) {
  .wrap { padding-inline: 18px; }
  .header-cta span { display: none; }
  .hero-stats { gap: 26px; }
  .hero-stats dd { font-size: 25px; }
  .searchbar { grid-template-columns: 1fr; border-radius: var(--r-lg); }
  .job-card { flex-direction: column; gap: 16px; }
  .job-side { flex-direction: row-reverse; align-items: center; justify-content: space-between; width: 100%; }
  .job-section { padding: 22px; }
  .apply-form { padding: 22px; }
  .form-row, .form-row-3 { grid-template-columns: minmax(0, 1fr); }
  .apply-success { padding: 34px 22px; }
  .results-head { align-items: flex-start; }
}

}

/* Careers page: the Bullhorn portal replaces the old duplicated introduction. */
.page-id-541 .elementor-element-3f565fd,
.page-id-541 .elementor-element-599f105 {
  display: none !important;
}
.page-id-541 .elementor-element-c437510 {
  gap: 0 !important;
  padding: 0 !important;
}

/* Match the Careers masthead to the approved About-page content grid. */
.page-id-541 .elementor-element-71942cd {
  width: min(1424px, calc(100% - 64px)) !important;
  max-width: 1424px !important;
  min-height: 380px !important;
  margin-inline: auto !important;
  padding: 0 !important;
  gap: 70px !important;
  align-items: center !important;
}
.page-id-541 .elementor-element-724cbd0 {
  flex: 0 1 calc(56% - 35px) !important;
  width: calc(56% - 35px) !important;
  max-width: none !important;
  padding: 0 !important;
}
.page-id-541 .elementor-element-9171504 {
  flex: 0 1 calc(44% - 35px) !important;
  width: calc(44% - 35px) !important;
  max-width: none !important;
  padding: 0 !important;
}
.page-id-541 .elementor-element-ed13713 .elementor-heading-title {
  margin: 0 !important;
  font-size: clamp(46px, 3.3vw, 56px) !important;
  font-weight: 400 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.035em !important;
}
.page-id-541 .elementor-element-4a7ae8b p {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.72 !important;
}
.page-id-541 .elementor-element-5adceac,
.page-id-541 .elementor-element-5adceac .elementor-widget-container,
.page-id-541 .elementor-element-5adceac .elementor-image {
  margin: 0 !important;
}
@media (max-width: 900px) {
  .page-id-541 .elementor-element-71942cd {
    width: calc(100% - 48px) !important;
    min-height: 0 !important;
    padding: 72px 0 !important;
    gap: 42px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .page-id-541 .elementor-element-724cbd0,
  .page-id-541 .elementor-element-9171504 {
    flex: 0 0 auto !important;
    width: 100% !important;
  }
}
