.career-detail-page {
  color: #07143d;
  background: #fff;
}

.job-hero {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  background: linear-gradient(90deg, #f8fbff 0%, #f7fbff 46%, #e8f3ff 100%);
  border-bottom: 1px solid #e1eaf5;
}

.job-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #f8fbff 0%, rgba(248, 251, 255, .99) 37%, rgba(248, 251, 255, .78) 54%, rgba(248, 251, 255, .12) 74%, rgba(248, 251, 255, 0) 100%);
}

.job-hero__media {
  position: absolute;
  inset: 0 0 0 42%;
}

.job-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(220, 236, 252, .06), rgba(255, 255, 255, .12));
}

.job-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(.88) brightness(1.08);
}

.job-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 42px;
  padding-bottom: 42px;
}

.job-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #5e6b84;
  font-size: var(--font-small);
}

.job-breadcrumb a:hover { color: var(--color-blue-600); }
.job-breadcrumb span:last-child { color: #3e4a65; }

.job-label {
  width: fit-content;
  display: inline-flex;
  margin-top: 29px;
  padding: 5px 10px;
  color: #0868ed;
  background: #fff;
  border: 1px solid #0868ed;
  border-radius: 6px;
  font-size: var(--font-caption);
  font-weight: 700;
}

.job-hero h1 {
  max-width: 760px;
  margin-top: 16px;
  color: #06133f;
  font-size: 44px;
  line-height: 1.13;
  letter-spacing: -.035em;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 24px;
}

.job-meta li {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding-right: 26px;
  margin-right: 26px;
  color: #263654;
  border-right: 1px solid #cdd9e9;
  font-size: var(--font-body-sm);
  font-weight: 600;
}

.job-meta li:last-child { border-right: 0; }
.job-meta svg { width: 19px; height: 19px; color: #0868ed; }

.job-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 25px;
  color: #3e4b66;
  font-size: var(--font-small);
}

.job-dates span {
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid #cfd9e6;
}

.job-dates span:last-child { border-right: 0; }
.job-dates strong { color: #07143d; }

.job-detail-section { padding: 42px 0 0; }

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

.job-content { min-width: 0; }

.job-section {
  padding-bottom: 34px;
  border-bottom: 1px solid #dfe8f3;
}

.job-section + .job-section { padding-top: 34px; }
.job-section:last-child { border-bottom: 0; }

.job-section__heading { margin-bottom: 24px; }

.job-section__heading h2 {
  color: #07143d;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.job-section__heading span {
  width: 34px;
  height: 3px;
  display: block;
  margin-top: 12px;
  border-radius: 999px;
  background: #0868ed;
}

.job-section > p {
  color: #475670;
  font-size: var(--font-body-sm);
  line-height: 1.75;
}

.job-check-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.job-check-list li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #2e3d59;
  font-size: var(--font-body-sm);
  line-height: 1.65;
}

.job-check-list svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: #0868ed;
  stroke-width: 2.4;
}

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

.job-benefit-grid article {
  min-width: 0;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.job-benefit-grid article > span,
.job-about-features > li > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #0868ed;
  background: #f0f6ff;
  border-radius: 50%;
}

.job-benefit-grid svg,
.job-about-features svg { width: 20px; height: 20px; }

.job-benefit-grid h3 {
  color: #132044;
  font-size: var(--font-body-sm);
  line-height: 1.4;
}

.job-benefit-grid p {
  margin-top: 5px;
  color: #526077;
  font-size: var(--font-caption);
  line-height: 1.55;
}

.job-process { padding-bottom: 46px; }

.job-process__list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.job-process__list::before {
  content: "";
  position: absolute;
  top: 27px;
  right: 8%;
  left: 8%;
  border-top: 2px dotted #79adf6;
}

.job-process__list li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.job-process__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  color: #0868ed;
  background: #fff;
  border: 1px solid #b8d2f8;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #fff;
}

.job-process__list li:first-child .job-process__icon {
  color: #fff;
  background: #0868ed;
  border-color: #0868ed;
}

.job-process__icon svg { width: 22px; height: 22px; }

.job-process__list strong {
  display: block;
  margin-top: 13px;
  color: #0868ed;
  font-size: var(--font-body-sm);
}

.job-process__list h3 {
  margin-top: 4px;
  color: #111e42;
  font-size: var(--font-body-sm);
}

.job-process__list p {
  max-width: 150px;
  margin: 7px auto 0;
  color: #647087;
  font-size: var(--font-caption);
  line-height: 1.55;
}

.job-sidebar {
  display: grid;
  gap: 18px;
}

.job-side-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #dce5f1;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgb(13 56 121 / 5%);
}

.job-side-card h2 {
  color: #0c193e;
  font-size: 18px;
}

.job-about-card > img {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  margin-top: 17px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.job-about-card > p,
.job-apply-card > p {
  margin-top: 15px;
  color: #4f5d75;
  font-size: var(--font-small);
  line-height: 1.65;
}

.job-about-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #0868ed;
  font-size: var(--font-small);
  font-weight: 700;
}

.job-about-card > a svg { width: 14px; height: 14px; }

.job-about-features {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e4ebf4;
}

.job-about-features li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.job-about-features strong {
  display: block;
  color: #172345;
  font-size: var(--font-small);
}

.job-about-features small {
  display: block;
  margin-top: 3px;
  color: #68748b;
  font-size: 10px;
  line-height: 1.5;
}

.job-apply-primary,
.job-save-button {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 17px;
  padding: 0 18px;
  border-radius: 7px;
  font-size: var(--font-body-sm);
  font-weight: 700;
}

.job-apply-primary {
  color: #fff;
  background: #071a55;
  border: 1px solid #071a55;
}

.job-apply-primary:hover { background: #0a2a7c; }
.job-apply-primary svg,
.job-save-button svg { width: 17px; height: 17px; }

.job-save-button {
  margin-top: 11px;
  color: #1b294a;
  background: #fff;
  border: 1px solid #bccbde;
}

.job-save-button:hover,
.job-save-button.is-saved {
  color: #0868ed;
  background: #f2f7ff;
  border-color: #86b6f5;
}

.job-contact-card ul {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.job-contact-card li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #263552;
  font-size: var(--font-small);
  line-height: 1.6;
}

.job-contact-card svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #071a55;
}

.job-contact-card a:hover { color: #0868ed; }

.related-jobs {
  padding: 32px 0 42px;
  background: #fff;
  border-top: 1px solid #e3ebf4;
}

.related-jobs__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.related-jobs__header h2 {
  color: #07143d;
  font-size: 25px;
}

.related-jobs__header > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0868ed;
  font-size: var(--font-small);
  font-weight: 700;
}

.related-jobs__header > a svg { width: 15px; height: 15px; }

.related-jobs__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.related-job-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5f1;
  border-radius: 9px;
  box-shadow: 0 8px 24px rgb(13 56 121 / 5%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgb(13 56 121 / 11%);
}

.related-job-card figure {
  position: relative;
  margin: 0;
}

.related-job-card figure img {
  width: 100%;
  aspect-ratio: 1.72 / 1;
  object-fit: cover;
}

.related-job-card figure span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  color: #fff;
  background: #17a65e;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
}

.related-job-card > div { padding: 14px; }

.related-job-card h3 {
  min-height: 40px;
  color: #111f43;
  font-size: var(--font-body-sm);
  line-height: 1.45;
}

.related-job-card h3 a:hover { color: #0868ed; }

.related-job-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 14px;
  margin-top: 8px;
}

.related-job-card li,
.related-job-card p,
.related-job-card time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #69748a;
  font-size: 10px;
}

.related-job-card li svg,
.related-job-card p svg,
.related-job-card time svg { width: 12px; height: 12px; }

.related-job-card p { margin-top: 8px; }

.related-job-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.related-job-card footer > a {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #0c214e;
  background: #fff;
  border: 1px solid #d4deeb;
  border-radius: 50%;
}

.related-job-card footer > a:hover { color: #fff; background: #0868ed; border-color: #0868ed; }
.related-job-card footer > a svg { width: 13px; height: 13px; }

.job-modal[hidden] { display: none; }

.job-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.job-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(5 16 50 / 64%);
  backdrop-filter: blur(4px);
}

.job-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  padding: 30px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgb(6 20 61 / 28%);
}

.job-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #40506d;
  background: #f4f7fb;
  border: 0;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.job-modal__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #0868ed;
  background: #edf5ff;
  border-radius: 12px;
}

.job-modal__icon svg { width: 25px; height: 25px; }

.job-modal h2 {
  margin-top: 18px;
  color: #07143d;
  font-size: 22px;
}

.job-modal > .job-modal__dialog > p {
  margin-top: 8px;
  color: #5e6a82;
  font-size: var(--font-small);
}

.job-modal form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.job-modal label {
  display: grid;
  gap: 7px;
  color: #21304f;
  font-size: var(--font-small);
  font-weight: 600;
}

.job-modal input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: #172444;
  background: #fff;
  border: 1px solid #cad7e8;
  border-radius: 8px;
  outline: 0;
  font-size: var(--font-body-sm);
}

.job-modal input:focus {
  border-color: #0868ed;
  box-shadow: 0 0 0 4px rgb(8 104 237 / 10%);
}

.job-modal form .button { width: 100%; margin-top: 4px; }

body.job-modal-open { overflow: hidden; }

@media (min-width: 1024px) {
  .job-sidebar { position: sticky; top: calc(var(--header-height) + 22px); }
}

@media (max-width: 1099px) {
  .job-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; }
  .job-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 899px) {
  .job-hero { min-height: 330px; }
  .job-hero__media { left: 35%; }
  .job-layout { grid-template-columns: 1fr; }
  .job-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-about-card { grid-row: span 2; }
  .job-process__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .job-process__list::before { display: none; }
  .related-jobs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .job-hero { min-height: auto; }
  .job-hero__media { inset: 0; opacity: .23; }
  .job-hero::before { background: linear-gradient(90deg, rgba(248,251,255,.98), rgba(248,251,255,.88)); }
  .job-hero__content { padding-top: 30px; padding-bottom: 34px; }
  .job-label { margin-top: 22px; }
  .job-hero h1 { font-size: 36px; }
  .job-meta { gap: 12px 18px; }
  .job-meta li { padding-right: 0; margin-right: 0; border-right: 0; }
  .job-dates { gap: 10px 22px; }
  .job-dates span { padding-right: 0; margin-right: 0; border-right: 0; }
  .job-detail-section { padding-top: 30px; }
  .job-section__heading h2 { font-size: 22px; }
  .job-sidebar { grid-template-columns: 1fr; }
  .job-benefit-grid { grid-template-columns: 1fr; }
  .job-process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-process__list p { max-width: 180px; }
}

@media (max-width: 520px) {
  .job-hero h1 { font-size: 31px; }
  .job-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .job-benefit-grid article { grid-template-columns: 38px minmax(0, 1fr); }
  .job-process__list { grid-template-columns: 1fr; gap: 24px; }
  .related-jobs__header { align-items: flex-start; flex-direction: column; }
  .related-jobs__grid { grid-template-columns: 1fr; }
  .job-modal__dialog { padding: 24px 20px; }
}
