.employer-index-page {
  color: #17263a;
  background: #f4f2ed;
}

.employer-index-hero,
.employer-detail-hero {
  padding: var(--space-5) 0 var(--space-5);
  color: #fff;
  background:
    radial-gradient(circle at 83% 20%, rgba(216, 24, 55, 0.47), transparent 28rem),
    linear-gradient(120deg, #061a31, #10243d);
}

.employer-index-hero nav ol,
.employer-detail-hero nav ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin: 0 0 var(--space-4);
  padding: 0;
  color: #b9c6d4;
  list-style: none;
}

.employer-index-hero nav li + li::before,
.employer-detail-hero nav li + li::before {
  margin-right: var(--space-1);
  content: "/";
}

.employer-index-hero nav a,
.employer-detail-hero nav a {
  color: #fff;
}

.employer-index-eyebrow {
  margin: 0 0 var(--space-2);
  color: #e21b3b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.employer-index-hero h1,
.employer-detail-hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.employer-index-hero > .container > p:not(.employer-index-eyebrow),
.employer-detail-intro {
  max-width: 850px;
  margin: var(--space-3) 0 0;
  color: #d1dbe6;
  font-size: 1.12rem;
  line-height: 1.7;
}

.employer-live-search {
  max-width: 760px;
  margin-top: var(--space-4);
}

.employer-live-search label {
  display: block;
  margin-bottom: var(--space-2);
  color: #ff6379;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.employer-live-search > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-radius: 10px;
  background: #fff;
}

.employer-live-search input {
  min-width: 0;
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: inherit;
  color: #13283f;
  background: transparent;
  font: inherit;
  font-size: 1rem;
}

.employer-live-search span {
  padding: 0 var(--space-3);
  color: #68768a;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.employer-top,
.employer-directory,
.employer-faq {
  padding-block: var(--space-5);
}

.employer-section-heading {
  max-width: 790px;
  margin-bottom: var(--space-4);
}

.employer-section-heading h2,
.employer-faq > h2 {
  margin: 0;
  font-size: clamp(2.3rem, 4.6vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.employer-top-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.employer-top-grid a {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  padding: var(--space-3);
  border: 1px solid #d7dde5;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 26, 50, 0.05);
}

.employer-top-grid a > span {
  color: #d71837;
  font-size: 0.75rem;
  font-weight: 900;
}

.job-logo-box {
  width: 68px;
  height: 68px;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: var(--space-1);
  color: #506079;
  background: #fff;
}

.job-logo-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.job-logo-box img[hidden] { display: none; }
.job-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.job-logo-fallback[hidden] { display: none; }
.job-logo-tone-1 { color: #334c77; background: #e7eef9; }
.job-logo-tone-2 { color: #46447a; background: #ecebfa; }
.job-logo-tone-3 { color: #245f5c; background: #e1f2ef; }
.job-logo-tone-4 { color: #475569; background: #e9eef3; }

.employer-card-heading {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.employer-card-heading strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.employer-top-grid strong {
  font-size: 1.35rem;
  line-height: 1.15;
}

.employer-top-grid small {
  color: #6a788a;
}

.employer-directory {
  border-top: 1px solid #d8dde4;
}

.employer-letter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.employer-letter-nav a {
  min-width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid #d2d9e2;
  border-radius: 6px;
  color: #20364f;
  background: #fff;
  font-weight: 900;
}

.employer-letter-groups {
  display: grid;
  gap: var(--space-4);
}

.employer-letter-groups > section {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: var(--space-3);
}

.employer-letter-groups h3 {
  margin: 0;
  color: #d71837;
  font-size: 3rem;
  line-height: 1;
}

.employer-letter-groups section > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}

.employer-letter-groups section > div > a {
  min-width: 0;
  display: grid;
  gap: var(--space-1);
  padding: var(--space-2);
  border: 1px solid #dde2e8;
  border-radius: 8px;
  background: #fff;
}

[data-employer-card][hidden],
[data-employer-group][hidden] {
  display: none;
}

.employer-letter-groups a strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.employer-letter-groups a span {
  color: #758194;
  font-size: 0.75rem;
}

.employer-search-empty,
.employer-empty {
  padding: var(--space-4) var(--space-3);
  text-align: center;
  background: #fff;
}

.employer-detail-heading {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.employer-detail-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.employer-detail-stats div {
  display: grid;
}

.employer-detail-stats strong {
  color: #ff4560;
  font-size: 2rem;
}

.employer-detail-stats span {
  color: #bdcad7;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.employer-location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.employer-location-badges span {
  padding: var(--space-1) var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

.employer-location-badges small {
  margin-left: var(--space-1);
  color: #ff6b80;
}

.employer-jobs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: var(--space-4);
  align-items: start;
  padding-block: var(--space-5);
}

.employer-jobs-layout > * {
  min-width: 0;
}

.employer-channel-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid #d7dde5;
}

.employer-channel-tabs a {
  flex: 0 0 auto;
  padding: var(--space-2) var(--space-2);
  border-bottom: 3px solid transparent;
  color: #56667a;
  font-size: 0.82rem;
  font-weight: 900;
}

.employer-channel-tabs a[aria-current="page"] {
  border-color: #d71837;
  color: #101f32;
}

.employer-channel-tabs span {
  color: #d71837;
}

.employer-location-filter {
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto auto;
  gap: var(--space-2);
  align-items: center;
  margin: var(--space-3) 0;
  padding: var(--space-2);
  border-radius: 10px;
  background: #fff;
}

.employer-location-filter label {
  font-weight: 900;
}

.employer-location-filter select,
.employer-location-filter button {
  min-height: 42px;
  padding: var(--space-2) var(--space-2);
  border: 1px solid #cdd5df;
  border-radius: 7px;
  background: #fff;
  font: inherit;
}

.employer-location-filter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: #d71837;
  color: #fff;
  background: #d71837;
  font-weight: 900;
  cursor: pointer;
}

.employer-location-filter a {
  color: #c81532;
  font-size: 0.78rem;
  font-weight: 800;
}

.employer-results-heading {
  padding: var(--space-3) 0 var(--space-2);
}

.employer-results-heading p {
  margin: 0 0 var(--space-1);
  color: #748094;
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.employer-results-heading h2 {
  margin: 0;
  font-size: 1.8rem;
}

.employer-job-card .bookmark-button {
  position: relative;
  z-index: 2;
}

.employer-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-4);
}

.employer-pagination a {
  padding: var(--space-2) var(--space-2);
  border: 1px solid #d2d9e2;
  border-radius: 7px;
  background: #fff;
  font-weight: 900;
}

.employer-detail-aside {
  position: sticky;
  top: var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.employer-detail-aside > section {
  padding: var(--space-3);
  border: 1px solid #d8dee6;
  border-radius: 12px;
  background: #fff;
}

.employer-detail-aside h2 {
  margin: 0 0 var(--space-2);
  font-size: 1.35rem;
}

.employer-detail-aside ul {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.employer-detail-aside li {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2);
  color: #5f6e81;
  font-size: 0.84rem;
}

.employer-detail-aside li strong {
  color: #d71837;
}

.employer-detail-aside .employer-hr-box {
  border: 0;
  color: #fff;
  background: #071a32;
}

.employer-hr-box > p:first-child {
  margin: 0 0 var(--space-1);
  color: #ff5c74;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.employer-hr-box h2 {
  color: #fff;
}

.employer-hr-box > p:not(:first-child) {
  color: #bac7d5;
  line-height: 1.55;
}

.employer-hr-box a {
  display: inline-flex;
  margin-top: var(--space-1);
  color: #fff;
  font-weight: 900;
}

.employer-faq {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid #d8dee5;
}

.employer-faq > div {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.employer-faq details {
  padding: var(--space-3) var(--space-3);
  border: 1px solid #d8dee6;
  border-radius: 9px;
  background: #fff;
}

.employer-faq summary {
  font-weight: 900;
  cursor: pointer;
}

.employer-faq details p {
  margin: var(--space-2) 0 0;
  color: #5d6c7e;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .employer-top-grid,
  .employer-letter-groups section > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .employer-jobs-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .employer-detail-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .job-logo-box {
    width: 56px;
    height: 56px;
  }

  .employer-index-hero,
  .employer-detail-hero {
    padding: var(--space-5) 0 var(--space-5);
  }

  .employer-index-hero h1,
  .employer-detail-hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .employer-live-search > div {
    grid-template-columns: 1fr;
  }

  .employer-live-search span {
    padding: 0 var(--space-3) var(--space-2);
  }

  .employer-top-grid,
  .employer-letter-groups section > div,
  .employer-detail-aside {
    grid-template-columns: 1fr;
  }

  .employer-letter-groups > section {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .employer-location-filter {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .employer-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
