.sb-careers-list {
  display: grid;
  gap: 22px;
}

/* The controlled feed replaces the four legacy Elementor demo-position cards. */
.page-id-192 .elementor-element-dc77b0d,
.page-id-192 .elementor-element-6893ba6,
.page-id-192 .elementor-element-22dbafb,
.page-id-192 .elementor-element-2b93c21 {
  display: none !important;
}

.sb-career-card,
.sb-careers-empty,
.sb-careers-notice {
  border: 1px solid #d5dbea;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 5px 16px rgba(0, 17, 90, 0.13);
}

.sb-career-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
}

.sb-career-card.is-featured {
  border-top: 4px solid #4aa636;
}

.sb-career-card h2,
.sb-careers-empty h2 {
  margin: 0 0 14px;
  color: #00115a;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.sb-career-card-copy > :last-child {
  margin-bottom: 0;
}

.sb-career-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.sb-career-pills span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 24px;
  border-radius: 999px;
  background: #8d98bb;
  color: #ffffff;
  font-weight: 800;
}

.sb-career-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 14px;
  color: #243451;
}

.sb-career-application {
  justify-self: end;
}

.sb-career-application > summary {
  list-style: none;
}

.sb-career-application > summary::-webkit-details-marker {
  display: none;
}

.sb-career-apply,
.sb-career-apply:visited {
  display: inline-flex;
  min-width: 142px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 3px;
  background: #8994b6;
  color: #ffffff !important;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.sb-career-apply:hover,
.sb-career-apply:focus {
  background: #00115a;
  color: #ffffff !important;
}

.sb-career-application[open] {
  grid-column: 1 / -1;
  justify-self: stretch;
  padding-top: 18px;
  border-top: 1px solid #d5dbea;
}

.sb-career-application[open] > summary {
  margin-left: auto;
}

.sb-career-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.sb-career-form label {
  display: grid;
  gap: 7px;
  color: #00115a;
  font-weight: 800;
}

.sb-career-form input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #9da8bf;
  border-radius: 4px;
  background: #ffffff;
  color: #17233b;
}

.sb-career-form input:focus {
  border-color: #00115a;
  outline: 3px solid rgba(0, 17, 90, 0.15);
}

.sb-career-form button {
  min-height: 50px;
  padding: 12px 22px;
  border: 2px solid #00115a;
  border-radius: 4px;
  background: #00115a;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
}

.sb-career-form button:hover,
.sb-career-form button:focus {
  background: #0a1a60;
}

.sb-career-privacy {
  align-self: center;
  margin: 0;
  color: #4f5d76;
  font-size: 0.92rem;
}

.sb-career-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sb-careers-empty,
.sb-careers-notice {
  padding: 20px 24px;
}

.sb-careers-notice {
  border-left: 5px solid #00115a;
  color: #17233b;
}

.sb-careers-notice.is-success {
  border-left-color: #4aa636;
  background: #f5fbf2;
}

@media (max-width: 720px) {
  .sb-career-card,
  .sb-career-form {
    grid-template-columns: 1fr;
  }

  .sb-career-application,
  .sb-career-application[open] {
    grid-column: 1;
    justify-self: stretch;
  }

  .sb-career-apply,
  .sb-career-form button {
    width: 100%;
  }
}
