.ssg-careers {
  --ssg-navy: #0a2947;
  --ssg-blue: #123b62;
  --ssg-coral: #d3503e;
  --ssg-ink: #182535;
  --ssg-muted: #667586;
  --ssg-line: #dbe3eb;
  --ssg-wash: #f5f7f9;
  max-width: 1120px;
  margin: 0 auto;
  color: var(--ssg-ink);
  font-family: inherit;
}

.ssg-careers *,
.ssg-careers *::before,
.ssg-careers *::after {
  box-sizing: border-box;
}

.ssg-careers__intro {
  padding: clamp(2rem, 6vw, 4.75rem) 1.25rem 2rem;
  text-align: center;
}

.ssg-careers__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--ssg-coral);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ssg-careers__intro h1,
.ssg-job-detail__header h1 {
  margin: 0;
  color: var(--ssg-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.ssg-careers__intro > p:last-child {
  margin: 1rem 0 0;
  color: var(--ssg-muted);
  font-size: 1.05rem;
}

.ssg-careers__filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.5fr) auto;
  gap: 0.85rem;
  align-items: end;
  padding: 1.25rem;
  border: 1px solid var(--ssg-line);
  border-radius: 0.4rem;
  background: var(--ssg-wash);
}

.ssg-careers__field {
  display: grid;
  gap: 0.45rem;
  color: var(--ssg-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.ssg-careers__field input,
.ssg-careers__field select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #c8d2dd;
  border-radius: 0.25rem;
  background: #fff;
  color: var(--ssg-ink);
  font: inherit;
  font-weight: 400;
}

.ssg-careers__field input:focus,
.ssg-careers__field select:focus {
  outline: 3px solid rgb(211 80 62 / 22%);
  border-color: var(--ssg-coral);
}

/* Keep WordPress theme select rules from changing this control's layout. */
.ssg-careers .ssg-careers__filters .ssg-careers__field select[name="ssg_state"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0.7rem 2.6rem 0.7rem 0.85rem !important;
  border: 1px solid #c8d2dd !important;
  border-radius: 0.25rem !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667586' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.85rem center !important;
  background-size: 14px 14px !important;
  color: var(--ssg-ink) !important;
  font-family: inherit !important;
  font-size: 0.88rem !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  text-align: left !important;
  box-shadow: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.ssg-careers .ssg-careers__filters .ssg-careers__field select[name="ssg_state"] option {
  background: #fff;
  color: var(--ssg-ink);
}

.ssg-careers .ssg-careers__filters .ssg-careers__field select[name="ssg_state"]:focus {
  outline: 3px solid rgb(211 80 62 / 22%) !important;
  outline-offset: 1px !important;
  border-color: var(--ssg-coral) !important;
}

.ssg-careers__search,
.ssg-job__apply {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--ssg-coral);
  border-radius: 0.25rem;
  background: var(--ssg-coral);
  color: #fff !important;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ssg-careers__search:hover,
.ssg-job__apply:hover {
  transform: translateY(-1px);
  border-color: #b94030;
  background: #b94030;
  color: #fff !important;
}

.ssg-careers__results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.25rem 0 0.9rem;
}

.ssg-careers__results-head h2 {
  margin: 0;
  color: var(--ssg-navy);
  font-size: 1.5rem;
}

.ssg-careers__results-head p {
  margin: 0;
  color: var(--ssg-muted);
}

.ssg-careers__list {
  border-top: 1px solid var(--ssg-line);
}

.ssg-job {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--ssg-line);
}

.ssg-job__copy {
  min-width: 0;
}

.ssg-job h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.ssg-job h3 a {
  color: var(--ssg-navy);
  text-decoration: none;
}

.ssg-job h3 a:hover {
  color: var(--ssg-coral);
  text-decoration: underline;
}

.ssg-job__featured {
  display: inline-block;
  margin: 0 0 0.5rem;
  color: var(--ssg-coral);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ssg-job__location {
  margin: 0.55rem 0 0;
  color: var(--ssg-muted);
  font-size: 0.94rem;
}

.ssg-job__type {
  display: inline-flex;
  margin-top: 0.65rem;
  padding: 0.25rem 0.55rem;
  border-radius: 99px;
  background: #edf2f6;
  color: var(--ssg-blue);
  font-size: 0.76rem;
  font-weight: 700;
}

.ssg-job__summary {
  max-width: 720px;
  margin: 0.7rem 0 0;
  color: #465566;
  line-height: 1.65;
}

.ssg-job__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
}

.ssg-job__details {
  color: var(--ssg-navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.ssg-job__details:hover {
  color: var(--ssg-coral);
  text-decoration: underline;
}

.ssg-job__actions .ssg-job__apply {
  min-height: 42px;
  padding: 0.6rem 0.95rem;
}

.ssg-careers__empty,
.ssg-careers__error {
  padding: 2rem;
  border: 1px solid var(--ssg-line);
  border-radius: 0.4rem;
  background: var(--ssg-wash);
}

.ssg-careers__empty h3 {
  margin: 0;
  color: var(--ssg-navy);
}

.ssg-careers__empty p {
  color: var(--ssg-muted);
}

.ssg-careers__empty a,
.ssg-job-detail__back {
  color: var(--ssg-blue);
  font-weight: 700;
}

.ssg-careers__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  color: var(--ssg-muted);
}

.ssg-careers__pagination a {
  color: var(--ssg-blue);
  font-weight: 700;
  text-decoration: none;
}

.ssg-job-detail {
  padding: 2rem 1rem 3rem;
}

.ssg-job-detail__back {
  display: inline-block;
  margin-bottom: 2rem;
  text-decoration: none;
}

.ssg-job-detail__header {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ssg-line);
}

.ssg-job-detail__header .ssg-careers__eyebrow {
  margin-bottom: 0.6rem;
}

.ssg-job-detail__description {
  max-width: 820px;
  padding: 1.5rem 0;
  line-height: 1.75;
}

.ssg-job-detail__description h1,
.ssg-job-detail__description h2,
.ssg-job-detail__description h3 {
  color: var(--ssg-navy);
  line-height: 1.3;
}

.ssg-job-detail__description img {
  max-width: 100%;
  height: auto;
}

.ssg-job-detail__apply {
  min-width: 150px;
}

@media (max-width: 720px) {
  .ssg-careers__filters {
    grid-template-columns: 1fr;
  }

  .ssg-careers__search {
    width: 100%;
  }

  .ssg-job {
    flex-direction: column;
    gap: 1rem;
  }

  .ssg-job__actions {
    justify-content: flex-start;
  }

  .ssg-careers__results-head {
    align-items: center;
  }
}
