.careers-page .hero h1 {
  text-align: center;
  width: 100%;
}

.careers-hero {
  background: #fff;
  padding: 8.5rem 0 0;
  overflow: hidden;
}

.careers-hero__copy {
  width: min(760px, 90%);
  margin: 0 auto 2.2rem;
  text-align: center;
}

.careers-hero__copy h1 {
  font-family: "Oswald", sans-serif !important;
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05 !important;
  color: #111;
  text-transform: none;
}

.careers-hero__copy p {
  margin: 1rem auto 0;
  /* max-width: 46ch; */
  color: #4b5160;
  font-size: 1.05rem;
  line-height: 1.55 !important;
}

.careers-hero__stage {
  position: relative;
}

.careers-hero__mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 150px 120px 150px 160px;
  gap: 12px;
  width: min(1180px, 94%);
  margin: 0 auto;
}

.careers-hero .shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  min-height: 0;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.careers-hero .shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.shot-2 { grid-column: 1 / 3; grid-row: 3 / 5; }
.shot-3 { grid-column: 3 / 5; grid-row: 2 / 4; }
.shot-4 { grid-column: 5 / 8; grid-row: 3 / 5; }
.shot-5 { grid-column: 8 / 10; grid-row: 2 / 4; }
.shot-6 { grid-column: 10 / 13; grid-row: 1 / 3; }
.shot-7 { grid-column: 8 / 13; grid-row: 4 / 5; }

.careers-hero__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 78%);
  pointer-events: none;
  z-index: 1;
}

.careers-hero__actions {
  position: absolute;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: max-content;
  max-width: 92%;
}

.careers-hero__primary,
.careers-hero__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.careers-hero__primary {
  background: #58669f;
  color: #fff;
  border: 1px solid #58669f;
}

.careers-hero__primary:hover {
  background: #fff;
  color: #58669f;
}

.careers-hero__social {
  background: #fff;
  color: #111;
  border: 1px solid #e1e3e4;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

.careers-hero__social:hover {
  border-color: #58669f;
  color: #58669f;
}

.careers-hero__social i {
  font-size: 0.9rem;
}

.careers-intro,
.careers-openings,
.careers-process,
.job-body {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 3.5rem 0;
  box-sizing: border-box;
}

.careers-intro,
.job-body {
  background-color: #fff;
}

.careers-openings,
.careers-process {
  background-color: #f5f5f5;
}

.careers-intro .container,
.careers-openings .container,
.careers-process .container,
.job-body .container {
  width: 90%;
  max-width: 1200px;
}

.careers-intro .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.careers-intro__copy {
  flex: 1 1 0;
  min-width: 0;
}

.careers-intro__photo {
  flex: 0 0 42%;
  max-width: 520px;
  height: 100%;
}

.careers-intro__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  min-height: 100%;
  object-fit: cover;
  border-radius: 16px;
  overflow: hidden;
}

.job-body .container {
  max-width: 900px;
}

.careers-intro .desc,
.job-empty p,
.job-summary,
.process-step p,
.job-content p,
.job-content li {
  font-size: 1.1rem;
  line-height: 1.55 !important;
  color: #292929;
}

.careers-intro .desc {
  padding-bottom: 1rem;
}

.openings-title {
  margin: 0 auto 0.4rem;
  max-width: none;
  text-align: center;
  text-transform: none;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: #111;
}

.job-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.6rem;
  margin: 0.6rem 0 1.6rem;
  border-bottom: 1px solid #e4e6ea;
}

.careers-openings .job-filter {
  background: transparent !important;
  color: #6b7280;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none;
  padding: 0.7rem 0.15rem 0.85rem;
  font-family: "Roboto", sans-serif;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.2;
}

.careers-openings .job-filter:hover,
.careers-openings .job-filter.is-active {
  background: transparent !important;
  color: #111 !important;
}

.careers-openings .job-filter.is-active {
  box-shadow: inset 0 -2px 0 #58669f;
}

.job-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}

.job-card,
.job-empty {
  background-color: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 12px;
  padding: 1.45rem 1.6rem 1.35rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.job-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.careers-page .job-card h3,
.careers-page .job-empty h3,
.careers-page .process-step h3 {
  font-family: "Oswald", sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 600 !important;
  color: #292929;
  margin-bottom: 0;
}

.careers-page .job-card h3 {
  text-transform: none;
  font-family: "Roboto", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #111;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0.9rem 0 0.85rem;
  padding: 0;
}

.job-tags li {
  border: 1px solid #d8dbe2;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  color: #4b5160;
  font-size: 0.86rem;
  line-height: 1.2;
  background: #fff;
}

.job-filter-empty {
  margin: 1rem 0 0;
  text-align: center;
  color: #4b5160;
}

.job-card h3 a {
  color: inherit;
}

.job-card h3 a:hover {
  color: #58669f;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.job-meta li {
  color: #58669f;
  font-weight: 500;
  font-size: 0.98rem;
}

.job-meta li:not(:last-child)::after {
  content: "·";
  margin: 0 0.65rem;
  color: #292929;
}

.job-summary {
  margin: 0;
  color: #4b5160;
}

.job-empty h3 {
  margin-bottom: 0.6rem;
}

.job-empty p {
  max-width: 62ch;
  margin-bottom: 1.15rem;
}

.job-empty__socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.job-empty__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  background: #58669f;
  color: #fff;
  font-size: 1rem;
}

.job-empty__socials a:hover {
  background: #fff;
  color: #58669f;
  outline: 1px solid #58669f;
}

.careers-apply {
  display: inline-block;
  flex-shrink: 0;
  background-color: #58669f;
  color: #fff;
  border: 1px solid #58669f;
  border-radius: 30px;
  padding: 0.75rem 1.4rem;
  font-size: 1.05rem;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.4s ease;
}

.careers-apply:hover {
  background-color: #fff;
  color: #58669f;
}

.process-head {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

.process-head h2 {
  flex: 0 1 16rem;
  margin: 0;
  max-width: 11ch;
  font-family: "Roboto", sans-serif !important;
  font-size: clamp(1.8rem, 3vw, 2.35rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #111;
  text-transform: none;
}

.process-line {
  flex: 1;
  height: 1px;
  background: #d5d8de;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-step {
  background-color: #fff;
  border: 1px solid #e7e9ee;
  border-radius: 16px;
  padding: 1.45rem 1.25rem 1.55rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.process-step .step-number {
  margin: 0 0 0.85rem;
  color: #111;
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2 !important;
}

.careers-page .process-step h3 {
  font-family: "Roboto", sans-serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #111;
  text-transform: none;
  margin: 0 0 0.75rem;
}

.process-step p:last-child {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
}

.job-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: #58669f;
  font-weight: 500;
}

.job-back:hover {
  text-decoration: underline;
}

.job-content {
  margin-bottom: 1.75rem;
}

.job-content > *:last-child {
  margin-bottom: 0;
}

.job-content ul,
.job-content ol {
  margin: 0 0 1rem 1.2rem;
}

.job-single .job-body {
  background: #f6f7f9;
  align-items: stretch;
  padding-top: 7rem;
}

.job-layout {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: start;
}

.job-single h1 {
  margin: 0.35rem 0 0.2rem;
  font-family: "Roboto", sans-serif !important;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15 !important;
  color: #111;
  text-transform: none;
}

.job-line {
  margin: 0;
  color: #8b909a;
  font-size: 0.98rem;
  line-height: 1.4 !important;
  white-space: nowrap;
}

.job-single .job-content {
  margin-top: 1.6rem;
  --wp--preset--spacing--20: 10px;
  --wp--preset--spacing--30: 20px;
  --wp--preset--spacing--40: 30px;
  --wp--preset--spacing--50: clamp(30px, 5vw, 50px);
  --wp--preset--spacing--60: clamp(30px, 7vw, 70px);
  --wp--preset--spacing--70: clamp(50px, 7vw, 90px);
  --wp--preset--spacing--80: clamp(70px, 10vw, 140px);
}

.job-single .job-content > * + * {
  margin-top: 1.2rem;
}

.job-single .job-content p {
  line-height: 1.65 !important;
}

.job-single .job-content .wp-block-spacer {
  display: block;
}

.job-single .job-content h2,
.job-single .job-content h3 {
  font-family: "Roboto", sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #111;
  text-transform: none;
  margin: 1.4rem 0 0.45rem;
}

.job-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1.25rem;
}

.job-panel {
  background: #fff;
  border: 1px solid #eceef2;
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
}

.job-panel__place,
.job-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.job-panel__place i,
.job-facts i {
  width: 1.1rem;
  margin-top: 0.15rem;
  color: #58669f;
  text-align: center;
}

.job-panel__place strong,
.job-facts strong {
  display: block;
  color: #111;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.job-panel__place span,
.job-facts span {
  display: block;
  margin-top: 0.15rem;
  color: #8b909a;
  font-size: 0.86rem;
  line-height: 1.4;
}

.job-facts {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.job-facts li {
  padding: 0.8rem 0;
  border-top: 1px solid #f0f1f4;
}

.job-apply,
.job-about a {
  display: block;
  margin-top: 0.85rem;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  text-align: center;
  font-weight: 600;
  line-height: 1.2;
}

.job-apply {
  background: #58669f;
  color: #fff;
  border: 1px solid #58669f;
}

.job-apply:hover {
  background: #fff;
  color: #58669f;
}

.job-about h2 {
  margin: 0 0 0.2rem;
  font-family: "Roboto", sans-serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #111;
  text-transform: none;
}

.job-about__place {
  margin: 0 0 0.55rem;
  color: #8b909a;
  font-size: 0.9rem;
}

.job-about p:last-of-type {
  margin: 0;
  color: #4b5160;
  font-size: 0.95rem;
  line-height: 1.5 !important;
}

.job-about a {
  border: 1px solid #e1e3e4;
  color: #111;
  background: #fff;
}

.job-about a:hover {
  border-color: #58669f;
  color: #58669f;
}

@media (max-width: 860px) {
  .job-layout {
    grid-template-columns: 1fr;
  }

  .job-aside {
    position: static;
  }

  .job-single .job-body {
    padding-top: 2rem;
  }
}

.careers-pillars {
  background: #fff;
  padding: 4.5rem 0 3.5rem;
}

.careers-pillars__grid {
  width: min(1200px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}

.careers-pillars h2 {
  font-family: "Roboto", sans-serif !important;
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #111;
  text-transform: none;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.careers-pillars p {
  margin: 0;
  color: #8b909a;
  font-size: 0.98rem;
  line-height: 1.6 !important;
  max-width: 36ch;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .careers-pillars__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .careers-pillars__grid {
    width: 95% !important;
    margin: 0 auto !important;
  }

  .process-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.85rem;
  }

  .process-head h2 {
    max-width: none;
    flex: none;
  }

  .process-line {
    width: 100%;
    flex: none;
  }

  .careers-pillars {
    padding: 2.6rem 0 2rem;
  }

  .careers-hero {
    padding-top: 2.4rem;
  }

  .careers-hero__copy {
    margin-bottom: 1.4rem;
    width: 95% !important;
  }

  .careers-hero__actions {
    position: static;
    transform: none;
    width: auto;
    flex-wrap: wrap;

    margin-bottom: 1.5rem;
    width: 100% !important;
    max-width: 100% !important;
  }

  .careers-hero__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 160px 160px;
    width: 95% !important;
    margin: 0 auto !important;
  }

  .careers-hero .shot {
    grid-column: auto;
    grid-row: auto;
  }

  .careers-hero .shot:nth-child(n + 5) {
    display: none;
  }

  .careers-hero__stage::after {
    display: none;
  }

  .careers-intro .container {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  .careers-intro__photo {
    flex-basis: auto;
    max-width: none;
  }

  .careers-intro__photo img {
    height: 260px;
    min-height: 260px;
    object-fit: cover;
  }

  .careers-intro,
  .careers-openings,
  .careers-process,
  .job-body {
    padding: 2.4rem 0;
    width: 100% !important;
    margin: 0 auto !important;
  }

  .careers-intro .container, .careers-openings .container, .careers-process .container, .job-body .container
 {
    width: 95% !important;
    margin: 0 auto !important;
  }

  .job-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .job-filters {
    justify-content: flex-start;
    gap: 0.15rem 1.1rem;
    overflow-x: auto;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .careers-apply {
    font-size: 1rem;
  }
}
