.hr-site {
  --navy: var(--brand-dark, #10243a);
  --navy-raised: var(--brand-dark, #183451);
  --teal: var(--brand-primary, #0b7a73);
  --mint: var(--brand-light, #43d6ba);
  --surface: #fff;
  --background: var(--brand-background, #f5f8fb);
  --muted: #55667b;
  --border: #dce5ef;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--background);
  color: var(--brand-text, var(--navy));
  font: 1rem/1.6 system-ui, sans-serif;
}

.hr-site *, .hr-site *::before, .hr-site *::after { box-sizing: border-box; }
.hr-site main { flex: 1; }
.hr-site a { color: var(--teal); text-underline-offset: .2em; }
.hr-site :focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.hr-wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.hr-skip { position: absolute; top: .25rem; left: .5rem; padding: .5rem; background: white; }
.hr-skip:not(:focus) { clip-path: inset(50%); }
.hr-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.hr-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; min-height: 4.25rem; }
.hr-header-inner a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.hr-header-inner .hr-brand { gap: .7rem; color: var(--navy); font-size: 1.12rem; font-weight: 750; text-decoration: none; }
.hr-brand strong { color: var(--teal); }
.hr-company-logo { display: block; width: auto; max-width: 10rem; max-height: 2.75rem; object-fit: contain; }
.hr-mark { width: 1.75rem; height: 1.75rem; background: var(--navy); border-radius: .5rem; display: grid; place-items: center; }
.hr-mark::before { content: ""; width: .8rem; height: .55rem; border: solid var(--mint); border-width: 0 0 3px 3px; transform: translateY(-.08rem) rotate(-45deg); }
.hr-hero {
  background: radial-gradient(ellipse at 95% 0, var(--brand-primary, #246363) 0%, transparent 52%), linear-gradient(125deg, var(--navy), var(--navy-raised));
  color: white;
  padding-block: clamp(3rem, 8vw, 7rem);
}
.hr-hero h1 { margin: 0; max-width: 15ch; font-size: clamp(2.55rem, 8vw, 6rem); letter-spacing: -.055em; line-height: 1.02; }
.hr-hero p { margin: 1.35rem 0 1.75rem; color: #d7e7ef; font-size: clamp(1rem, 2.5vw, 1.2rem); }
.hr-hero .hr-button { display: inline-flex; gap: .65rem; padding: .65rem 1.15rem; border-radius: .55rem; background: var(--mint); color: var(--navy); font-weight: 700; text-decoration: none; }
.hr-hero .hr-button:hover { background: #99f0de; }
.hr-hero .hr-button:focus-visible { outline-color: white; }
.hr-openings { padding-block: clamp(2rem, 6vw, 4rem); }
.hr-openings h2 { margin: 0 0 1.1rem; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -.035em; }
.hr-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 23rem), 1fr)); align-items: start; gap: 1rem; }
.hr-role, .hr-empty, .hr-preview-panel { border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); padding: clamp(1rem, 3vw, 1.75rem); box-shadow: 0 2px 4px #10243a08; }
.hr-role { overflow-wrap: anywhere; }
.hr-role h3 { margin: 0; font-size: 1.2rem; line-height: 1.3; }
.hr-meta { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: .85rem 0 0; list-style: none; }
.hr-meta li { background: #edf4f8; color: var(--muted); padding: .15rem .6rem; border-radius: .35rem; font-size: .88rem; }
.hr-details { margin-top: 1rem; border-top: 1px solid var(--border); }
.hr-details summary { min-height: 2.75rem; padding-block: .6rem; color: var(--teal); cursor: pointer; font-weight: 650; }
.hr-details p { margin: .25rem 0 0; white-space: pre-line; }
.hr-pagination { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.hr-pagination a { padding-block: .6rem; }
.hr-footer { padding-block: 1.3rem; color: #d7e7ef; background: var(--navy); font-size: .875rem; opacity: .9; }

/* HRMS sets this body class on its native /jobs listing. */
body.jobs-page h3.jobs-page {
  background: linear-gradient(125deg, #10243a, #183451);
  border-radius: .85rem;
  color: #fff;
  padding: clamp(1.15rem, 4vw, 2.4rem);
  font-size: clamp(1.6rem, 4vw, 2.65rem);
  letter-spacing: -.035em;
}

body.jobs-page .card[name="card"] {
  border-radius: .85rem;
  box-shadow: inset 0 2px 0 #43d6ba;
}

body.jobs-page .card[name="card"]:hover {
  box-shadow: inset 0 2px 0 #43d6ba, 0 4px 12px #10243a13;
}

body.jobs-page :is(#search-box, #sort, #filter, .card[name="card"]):focus-visible {
  outline: 2px solid #0b7a73;
  outline-offset: 2px;
}

.hr-careers-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.hr-job-search { margin: 0 0 1.5rem; }
.hr-job-search label { display: block; margin-bottom: .35rem; font-weight: 650; }
.hr-job-search div { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.hr-job-search input { width: min(100%, 25rem); background: #fff; color: #10243a; border: 1px solid #60798d; }
.hr-job-search input, .hr-job-search button { min-height: 2.75rem; padding: .5rem .8rem; border-radius: .5rem; font: inherit; }
.hr-job-search button { border: 1px solid var(--brand-primary, #0b6560); background: var(--brand-primary, #0b6560); color: #fff; font-weight: 650; cursor: pointer; }
