/* Single Recruitment page styles */

/* Overlap hero slightly like other single pages */
.intro-section {
  margin-top: -80px;
  position: relative;
  z-index: 3;
}
@media (max-width: 767.98px) {
  .intro-section {
    margin-top: -56px;
  }
}

/* Container */
.jobs-archive {
  padding-top: 24px;
}

/* Body width */
.job-single {
  margin-inline: auto;
}

/* Header */
.job-head {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
/* Layout wrappers */
/* Top-level layout is block; sections area handles its own columns */
.job-layout {
  display: block;
}
.job-main {
  flex: 1 1 auto;
}
.job-aside {
  /* width: 100%; */
}
.job-aside__media {
  margin: 0;
  position: relative;
  height: 284px;
  width: 484px; /* allow absolute positioning for corner deco */
}
.job-aside__media img {
  height: 284px;
  width: 484px;
  display: block;
  object-fit: cover;
}
.job-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.job-detail__view-all {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}
/* Meta */
.job-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-direction: column;
  color: #2a3550;
}
.job-meta .pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0f3f8;
  color: #1a2340;
  font-weight: 600;
}
.job-meta .meta {
 
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0%;
  vertical-align: middle;
}

.meta span {
  font-weight: 400;
}
.job-meta .loc-note {
  opacity: 0.75;
}

/* Sections */
.job-sections-row {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}
.job-sections {
  min-width: 0;
  flex: 1;
}
/* Image column is 1/3 within sections row */
.job-sections-row .job-aside {
}
.job-section {
  margin: 0 0 18px;
}
.job-section h2 {
  font-weight: 700;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0%;
  vertical-align: middle;
  margin: 0 0 8px; /* remove default top margin to avoid offset */
}
.job-section p {
  line-height: 1.75;
  color: #2a3550;
  margin: 0.5rem 0;
}

/* Ensure first text block sits flush to the top */
.job-sections .job-section:first-child {
  margin-top: 0;
}
.job-sections .job-section:first-child h2 {
  margin-top: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .job-title {
    font-size: 28px;
  }
  .job-sections-row {
    flex-direction: column;
  }
  .job-aside__media .job-sections-row .job-aside {
    max-width: 100%;
    flex: 0 0 auto;
  }
  .job-sections {
    max-width: 100%;
    flex: 0 0 auto;
  }
}

@media (max-width: 1024px) {
  .job-sections-row {
    flex-direction: column;
  }
  .job-sections-row .job-aside {
    max-width: 100%;
    flex: 0 0 auto;
  }
  .job-sections {
    max-width: 100%;
    flex: 0 0 auto;
  }

  .job-aside__media {
    width: 100%;
    height: auto;
  }
  .job-aside {
    width: 100%;
  }
  .job-aside__media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }
  .job-aside__media {
    width: 100%;
    height: auto;
  }
}
