/*
 * ABB public job-detail assets.
 * Generated from the approved live Website Settings job-detail blocks during Phase 17AW.
 * Route scoping is preserved through existing body/path selectors.
 */

/* ABB_PHASE17J_JOB_DETAIL_POLISH style 1 */
body.abb-phase17j-job-detail {
  --abb-ink: #333b48;
  --abb-brand: #355579;
  --abb-brand-strong: #1c344f;
  --abb-blue: #2f6b8f;
  --abb-cyan: #9be7ed;
  --abb-muted: #5f738c;
  --abb-line: #dce8f0;
  --abb-soft: #f4fbfd;
  --abb-soft-2: #edf7fb;
  --abb-white: #ffffff;
  --abb-shadow: 0 24px 72px rgba(28, 52, 79, 0.1);
  --abb-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  background: var(--abb-white);
  color: var(--abb-ink);
}

body.abb-phase17j-job-detail .page-content-wrapper {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(155, 231, 237, 0.36), rgba(155, 231, 237, 0) 31rem),
    radial-gradient(circle at 84% 4%, rgba(47, 107, 143, 0.12), rgba(47, 107, 143, 0) 28rem),
    linear-gradient(180deg, #f4fbfd 0%, #ffffff 520px);
}

body.abb-phase17j-job-detail .page-content-wrapper::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  pointer-events: none;
  background-image: radial-gradient(rgba(47, 107, 143, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
}

body.abb-phase17j-job-detail .page-breadcrumbs {
  position: relative;
  z-index: 1;
  border: 0 !important;
  background: transparent !important;
}

body.abb-phase17j-job-detail .page-breadcrumbs .container {
  width: min(100% - 72px, 1100px) !important;
  max-width: 1100px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.abb-phase17j-job-detail .page-breadcrumbs,
body.abb-phase17j-job-detail .page-breadcrumbs a,
body.abb-phase17j-job-detail .page-breadcrumbs .breadcrumb-item {
  color: rgba(51, 59, 72, 0.68) !important;
  font-size: 12px;
  font-weight: 650;
}

body.abb-phase17j-job-detail main.container.my-4 {
  position: relative;
  z-index: 1;
  width: min(100% - 72px, 1100px) !important;
  max-width: 1100px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content {
  padding: 44px 0 80px !important;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > .row:first-of-type {
  min-height: 206px;
  align-items: flex-start;
  margin-right: 0;
  margin-left: 0;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > .row:first-of-type > .col-md-9,
body.abb-phase17j-job-detail .abb-phase17j-detail-content > .row:first-of-type > .col-md-3 {
  padding-right: 0;
  padding-left: 0;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-title {
  max-width: 760px;
  margin: 0 0 18px !important;
  color: var(--abb-ink) !important;
  font-size: clamp(2.9rem, 5.2vw, 4.35rem);
  font-weight: 720;
  line-height: 0.98;
  letter-spacing: 0;
  text-align: left !important;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-title::before {
  content: "ABB careers";
  display: block;
  margin-bottom: 16px;
  color: var(--abb-blue);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.abb-phase17j-job-detail .abb-phase17j-subline,
body.abb-phase17j-job-detail .abb-phase17j-subline * {
  color: var(--abb-muted);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
}

body.abb-phase17j-job-detail .abb-phase17j-subline .font-weight-bold {
  color: var(--abb-brand-strong);
  font-weight: 760 !important;
}

body.abb-phase17j-job-detail .abb-phase17j-apply {
  display: inline-flex !important;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--abb-brand-strong) !important;
  border-radius: 999px !important;
  background: var(--abb-brand-strong) !important;
  box-shadow: 0 14px 30px rgba(28, 52, 79, 0.14);
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  padding: 15px 25px !important;
  text-decoration: none !important;
  transition:
    background 180ms var(--abb-ease-standard),
    border-color 180ms var(--abb-ease-standard),
    box-shadow 180ms var(--abb-ease-standard),
    transform 180ms var(--abb-ease-standard);
}

body.abb-phase17j-job-detail .abb-phase17j-apply:hover,
body.abb-phase17j-job-detail .abb-phase17j-apply:focus-visible {
  border-color: var(--abb-brand) !important;
  background: var(--abb-brand) !important;
  box-shadow: 0 18px 38px rgba(28, 52, 79, 0.18);
  color: #ffffff !important;
  transform: translateY(-1px);
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > .mb-md-4.p-md-4 {
  margin: 2px 0 54px !important;
  padding: 0 !important;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-right: 0;
  margin-left: 0;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-card {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: none !important;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-card > .flex {
  min-height: 118px;
  border: 1px solid rgba(220, 232, 240, 0.94);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(28, 52, 79, 0.075);
  padding: 22px;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-card .rounded-circle {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  background: #eaf7fb !important;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-card .icon,
body.abb-phase17j-job-detail .abb-phase17j-meta-card svg {
  width: 24px !important;
  height: 24px !important;
  color: var(--abb-brand-strong) !important;
  --icon-stroke: var(--abb-brand-strong) !important;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-card .text-secondary {
  margin-bottom: 4px;
  color: var(--abb-blue) !important;
  font-size: 0.72rem !important;
  font-weight: 820;
  line-height: 1.2;
  letter-spacing: 0.16em;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-card .font-weight-bold {
  color: var(--abb-ink);
  font-size: 1.04rem;
  font-weight: 760 !important;
  line-height: 1.22;
}

body.abb-phase17j-job-detail .abb-phase17j-meta-card .font-weight-bold {
  overflow-wrap: anywhere;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > h2,
body.abb-phase17j-job-detail .abb-phase17j-detail-content > p,
body.abb-phase17j-job-detail .abb-phase17j-detail-content > ul {
  max-width: 880px;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > h2 {
  margin-top: 38px;
  margin-bottom: 12px;
  color: var(--abb-ink);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: 0;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > h2:first-of-type {
  margin-top: 0;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > p,
body.abb-phase17j-job-detail .abb-phase17j-detail-content > ul,
body.abb-phase17j-job-detail .abb-phase17j-detail-content li {
  color: #4f647d;
  font-size: 1.02rem;
  line-height: 1.7;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content strong {
  color: var(--abb-ink);
  font-weight: 760;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content > ul {
  padding-left: 1.25rem;
}

body.abb-phase17j-job-detail .abb-phase17j-detail-content li + li {
  margin-top: 0.45rem;
}

body.abb-phase17j-job-detail .abb-phase17j-recruiting-marker {
  max-width: 880px;
  margin-top: 34px;
  border-top: 1px solid var(--abb-line);
  padding-top: 18px;
  color: rgba(95, 115, 140, 0.72) !important;
  font-size: 0.86rem !important;
}

body.abb-phase17j-job-detail #sticky-div {
  z-index: 5;
}

body.abb-phase17j-job-detail #sticky-div .bg-white {
  border-top: 1px solid var(--abb-line);
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 -18px 36px rgba(28, 52, 79, 0.08);
}

body.abb-phase17j-job-detail footer,
body.abb-phase17j-job-detail .web-footer {
  background: #f4fbfd;
}

@media (max-width: 991px) {
  body.abb-phase17j-job-detail .page-breadcrumbs .container,
  body.abb-phase17j-job-detail main.container.my-4 {
    width: min(100% - 48px, 900px) !important;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-content {
    padding-top: 34px !important;
    padding-bottom: 72px !important;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-title {
    max-width: 680px;
    font-size: clamp(2.5rem, 8vw, 3.9rem);
  }

  body.abb-phase17j-job-detail .abb-phase17j-meta-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.abb-phase17j-job-detail .abb-phase17j-meta-card > .flex {
    min-height: 96px;
    padding: 18px;
  }
}

@media (max-width: 767px) {
  body.abb-phase17j-job-detail {
    overflow-x: hidden;
  }

  body.abb-phase17j-job-detail .page-content-wrapper {
    background:
      radial-gradient(circle at 50% 0%, rgba(155, 231, 237, 0.34), rgba(155, 231, 237, 0) 24rem),
      linear-gradient(180deg, #f4fbfd 0%, #ffffff 500px);
  }

  body.abb-phase17j-job-detail .page-breadcrumbs .container,
  body.abb-phase17j-job-detail main.container.my-4 {
    width: min(100% - 48px, 720px) !important;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-content {
    padding-top: 24px !important;
    padding-bottom: 92px !important;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-content > .row:first-of-type {
    min-height: 0;
    margin-bottom: 28px;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-title {
    margin-bottom: 14px !important;
    font-size: clamp(2.25rem, 11vw, 3.35rem);
    text-align: left !important;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-title::before {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  body.abb-phase17j-job-detail .abb-phase17j-subline,
  body.abb-phase17j-job-detail .abb-phase17j-subline * {
    font-size: 1rem;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-content > .mb-md-4.p-md-4 {
    margin-bottom: 36px !important;
  }

  body.abb-phase17j-job-detail .abb-phase17j-meta-card > .flex {
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(28, 52, 79, 0.07);
  }

  body.abb-phase17j-job-detail .abb-phase17j-meta-card .rounded-circle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-content > h2 {
    margin-top: 30px;
    font-size: 1.48rem;
  }

  body.abb-phase17j-job-detail .abb-phase17j-detail-content > p,
  body.abb-phase17j-job-detail .abb-phase17j-detail-content > ul,
  body.abb-phase17j-job-detail .abb-phase17j-detail-content li {
    font-size: 1rem;
  }
}

/* ABB_PHASE17X_JOB_DETAIL_PUBLIC_POLISH style 1 */
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-subline,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-subline * {
  color: var(--abb-muted);
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-subline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-subline::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--abb-cyan);
  box-shadow: 0 0 0 0.24rem rgba(155, 231, 237, 0.24);
  flex: 0 0 auto;
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-recruiting-marker,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17x-hidden-marker {
  display: none !important;
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-detail-content > .mb-md-4.p-md-4 {
  margin-bottom: 46px !important;
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-detail-content > h2:first-of-type {
  margin-top: 0;
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div .bg-white {
  border-top: 1px solid rgba(220, 232, 240, 0.98);
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 -18px 46px rgba(28, 52, 79, 0.12);
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div .abb-phase17x-apply,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div a[href*="/apply/new"],
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div button {
  min-height: 50px !important;
  border: 1px solid var(--abb-brand-strong) !important;
  border-radius: 8px !important;
  background: var(--abb-brand-strong) !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 780 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div .abb-phase17x-apply:hover,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div .abb-phase17x-apply:focus-visible,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div a[href*="/apply/new"]:hover,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div a[href*="/apply/new"]:focus-visible,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div button:hover,
body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish #sticky-div button:focus-visible {
  border-color: var(--abb-brand) !important;
  background: var(--abb-brand) !important;
  color: #ffffff !important;
}

@media (max-width: 767px) {
  body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-subline {
    align-items: flex-start;
    gap: 0.5rem;
  }

  body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-subline::before {
    margin-top: 0.56rem;
  }

  body.abb-phase17j-job-detail.abb-phase17x-job-detail-public-polish .abb-phase17j-detail-content > .mb-md-4.p-md-4 {
    margin-bottom: 34px !important;
  }
}

/* ABB_PHASE17Y_JOB_DETAIL_CTA_POLISH style 1 */
body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17j-detail-content > .row:first-of-type .abb-phase17j-apply {
  min-width: 142px;
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-hero-apply-row {
  display: flex;
  width: 100%;
  align-items: center;
  margin-top: 22px;
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-hero-apply-row .abb-phase17j-apply {
  flex: 0 0 auto;
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta {
  max-width: 880px;
  margin: 42px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta__actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta__apply {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1;
  padding: 14px 24px;
  text-decoration: none !important;
  white-space: nowrap;
  transition:
    background 180ms var(--abb-ease-standard),
    border-color 180ms var(--abb-ease-standard),
    color 180ms var(--abb-ease-standard),
    transform 180ms var(--abb-ease-standard);
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta__apply {
  border: 1px solid var(--abb-brand-strong);
  background: var(--abb-brand-strong);
  color: #ffffff !important;
}

body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta__apply:hover,
body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta__apply:focus-visible {
  border-color: var(--abb-brand);
  background: var(--abb-brand);
  color: #ffffff !important;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta {
    margin-top: 38px;
  }
}

@media (max-width: 767px) {
  body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-hero-apply-row,
  body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish .abb-phase17y-bottom-cta {
    display: none !important;
  }

  body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish #sticky-div {
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none;
  }

  body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish #sticky-div .bg-white {
    border-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 24px 14px !important;
  }

  body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish #sticky-div a[href*="/apply/new"],
  body.abb-phase17j-job-detail.abb-phase17y-job-detail-cta-polish #sticky-div button {
    pointer-events: auto;
  }
}

/* ABB_PHASE17Z_JOB_DETAIL_CANDIDATE_INTRO style 1 */
body.abb-phase17j-job-detail.abb-phase17z-job-detail-candidate-intro .abb-phase17z-candidate-intro {
  max-width: 880px;
  margin: 38px 0 34px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.abb-phase17j-job-detail.abb-phase17z-job-detail-candidate-intro .abb-phase17z-candidate-intro__title {
  margin: 0 0 12px;
  color: var(--abb-ink);
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 760;
  line-height: 1.15;
  letter-spacing: 0;
}

body.abb-phase17j-job-detail.abb-phase17z-job-detail-candidate-intro .abb-phase17z-candidate-intro__text {
  margin: 0;
  color: #4f647d;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.7;
}

body.abb-phase17j-job-detail.abb-phase17z-job-detail-candidate-intro .abb-phase17z-candidate-intro__text strong {
  color: var(--abb-ink);
  font-weight: 780;
}

@media (max-width: 767px) {
  body.abb-phase17j-job-detail.abb-phase17z-job-detail-candidate-intro .abb-phase17z-candidate-intro {
    margin: 30px 0 30px;
  }

  body.abb-phase17j-job-detail.abb-phase17z-job-detail-candidate-intro .abb-phase17z-candidate-intro__title {
    font-size: 1.48rem;
  }

  body.abb-phase17j-job-detail.abb-phase17z-job-detail-candidate-intro .abb-phase17z-candidate-intro__text {
    font-size: 1rem;
  }
}
