.career-hero,
.career-detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(110deg, rgba(5, 21, 62, .98), rgba(8, 45, 105, .72)),
    url('assets/hero-slide-2.jpg') center/cover;
}

.career-hero::after,
.career-detail-hero::after {
  position: absolute;
  right: 8%;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: "";
}

.career-hero-content {
  position: relative;
  z-index: 1;
  min-height: 465px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}

.career-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 38px;
  color: rgba(255, 255, 255, .7);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .01em;
}

.career-breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.career-breadcrumb strong {
  color: #ffadb2;
}

.career-eyebrow {
  margin: 0;
  color: #ffadb2;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.career-eyebrow.dark {
  color: var(--red);
}

.career-hero h1,
.career-detail-hero h1 {
  max-width: 850px;
  margin: 16px 0 17px;
  color: #fff;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.career-hero-content>p:not(.career-breadcrumb):not(.career-eyebrow) {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .78);
  font-size: .98rem;
  line-height: 1.75;
}

.career-openings,
.career-detail-section {
  padding: 90px 0;
}

.career-section-heading h2 {
  max-width: 620px;
  margin: 12px 0 16px;
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.career-section-heading>p {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.8;
}

.career-openings {
  background: #f5f7fb;
  scroll-margin-top: 82px;
  padding-top: 54px;
}

.career-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 30px;
}

.career-section-heading>p {
  max-width: 350px;
  text-align: right;
}

.career-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 13px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
}

.career-filters label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: .7rem;
  font-weight: 800;
}

.career-filters select {
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #d6dce7;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: .75rem;
}

.career-filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.career-filter-actions .button {
  white-space: nowrap;
}

.career-filter-actions>a {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

.career-job-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.career-job-card {
  display: flex;
  flex-direction: column;
  min-height: 285px;
  padding: 22px;
  border: 1px solid #e0e5ee;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(6, 26, 73, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.career-job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 35px rgba(6, 26, 73, .12);
}

.career-job-card-top,
.career-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.career-job-card-top {
  justify-content: space-between;
  gap: 10px;
}

.career-job-card-top>span {
  padding: 6px 9px;
  border-radius: 999px;
  color: #175cd3;
  background: #eff4ff;
  font-size: .62rem;
  font-weight: 800;
}

.career-job-card time {
  color: #b54708;
  font-size: .65rem;
  font-weight: 700;
}

.career-job-card-top>small {
  color: #667085;
  font-size: .64rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: right;
}

.career-job-card h3 {
  margin: 25px 0 8px;
  color: var(--navy);
  font-size: 1.03rem;
  line-height: 1.35;
}

.career-job-meta {
  margin: 0 0 15px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
}

.career-job-meta span {
  color: #98a2b3;
}

.career-job-card>p:not(.career-job-meta) {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.career-job-card>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 21px;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.career-job-card>a span {
  font-size: 1.1rem;
}

.career-empty {
  padding: 55px 25px;
  border: 1px dashed #bdc8d9;
  border-radius: 17px;
  background: #fff;
  text-align: center;
}

.career-empty h2,
.career-empty h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.career-empty p {
  max-width: 500px;
  margin: 0 auto 19px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.7;
}

.career-detail-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 54px;
  padding-bottom: 70px;
}

.career-detail-hero h1 {
  max-width: 750px;
  margin-top: 26px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.career-detail-hero> .container>p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: .93rem;
  line-height: 1.75;
}

.career-detail-meta span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: .68rem;
  font-weight: 700;
}

.career-preview-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: #b54708;
  font-size: .66rem;
  font-weight: 800;
}

.career-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 45px;
  align-items: start;
}

.career-detail-content {
  display: grid;
  gap: 38px;
}

.career-detail-content section {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.career-detail-content h2 {
  margin: 0 0 17px;
  color: var(--navy);
  font-size: 1.35rem;
}

.career-detail-content p,
.career-detail-content li {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.8;
}

.career-detail-content ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.career-detail-content li::marker {
  color: var(--red);
}

.career-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.career-facts>div {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 12px;
  background: #f5f7fb;
}

.career-facts span {
  color: var(--muted);
  font-size: .68rem;
}

.career-facts strong {
  color: var(--navy);
  font-size: .8rem;
}

.career-apply-card {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
  padding: 25px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #15458d);
  box-shadow: 0 16px 30px rgba(6, 26, 73, .18);
}

.career-apply-card h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.career-apply-card>p:not(.career-eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: .75rem;
  line-height: 1.7;
}

.career-apply-option {
  position: relative;
  display: grid;
  gap: 7px;
  overflow: hidden;
  padding: 15px 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .055));
}

.career-apply-option::before {
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: #ff5964;
  content: "";
}

.career-apply-label {
  color: #ffadb2;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.career-apply-option .career-apply-value {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-family: Montserrat, Arial, sans-serif;
  font-size: .76rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.career-apply-option .career-apply-email {
  color: #fff;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .38);
  text-underline-offset: 3px;
}

.career-apply-option .career-apply-email:hover {
  color: #ffd8dc;
  text-decoration-color: currentColor;
}

.career-apply-option-address .career-apply-value {
  color: rgba(255, 255, 255, .78);
  font-size: .74rem;
}

.career-apply-subject {
  display: grid;
  gap: 4px;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.career-apply-subject-label {
  color: rgba(255, 255, 255, .55);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.career-apply-subject-value {
  color: rgba(255, 255, 255, .86);
  font-size: .7rem;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.career-email-button {
  margin-top: 4px;
  background: #fff;
  color: var(--red);
  box-shadow: none;
}

.career-apply-card>small {
  color: rgba(255, 255, 255, .55);
  font-size: .62rem;
  line-height: 1.5;
}

.career-back-link {
  justify-self: start;
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: none;
}

.career-back-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .career-job-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .career-filter-actions {
    grid-column: 1 / -1;
  }

  .career-detail-layout {
    grid-template-columns: 1fr;
  }

  .career-apply-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .career-hero-content {
    min-height: 430px;
    padding-block: 60px;
  }

  .career-openings,
  .career-detail-section {
    padding: 62px 0;
  }

  .career-job-grid,
  .career-filters,
  .career-facts {
    grid-template-columns: 1fr;
  }

  .career-section-heading {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .career-section-heading>p {
    text-align: left;
  }

  .career-filter-actions {
    grid-column: auto;
  }

  .career-filter-actions .button {
    flex: 1;
  }

}
