:root {
  --brand-blue: #0065ab;
  --brand-blue-alt: #0082df;
  --brand-gold: #cda349;
  --brand-gold-alt: #b98e2f;
  --skel-bg: #dadada;
}

.job-hero-wrapper {
  width: 100%;
  max-width: initial;
  background: url('../images/job-listing-hero.jpg') center no-repeat;
  background-size: cover;
  margin-bottom: 32px;
}

.job-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 80px 0;
}

.job-hero h1 {
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);
}

.job-header {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#job-title {
  max-width: 90%;
}

#job-title h2 {
  margin: 0;
}

.apply-button {
  display: flex;
}

.job-details {
  display: grid;
  grid-template-columns: 66% 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
}

.apply-button a {
  background: var(--brand-blue);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 400ms ease;
  width: initial;
  font-weight: 700;
  font-size: 18px;
  padding: 12px 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
}

.apply-button a:hover {
  background: var(--brand-blue-alt);
}

#jobs-description {
  font-size: 18px;
}

#jobs-header,
#jobs-description {
  margin-bottom: 28px;
}

.job-sidebar-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.job-sidebar {
  border: 1px solid #d5d5d5;
  border-radius: 4px;
  padding: 8px 20px;
  box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.benefits-perks {
  background: var(--brand-blue);
  color: #fff;
  padding: 32px 20px;
  border-radius: 4px;
}

.benefits-perks h3 {
  font-size: 20px;
  font-weight: 700;
}

.benefits-perks h3,
.healthcare-career h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 28px 0;
}

.benefits-perks p {
  font-size: 16px;
  margin: 0 0 28px 0;
}

.benefits-perks .button,
.healthcare-career .button {
  background: #fff;
  color: var(--brand-blue);
  width: 100%;
  display: block;
  text-align: center;
  padding: 8px 16px;
  box-sizing: border-box;
  text-decoration: none;
  border-radius: 2px;
  transition: all 400ms ease;
}

.benefits-perks .button:hover {
  box-shadow: 0px 2px 20px 0 rgba(0, 0, 0, 0.2);
}

.healthcare-career {
  padding: 32px 20px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.healthcare-career .background {
  background: url('../images/job-listing-hero.jpg') center no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.healthcare-career .background::after {
  content: '';
  background: rgba(0, 0, 0, 0.3);
  display: block;
  width: 100%;
  height: 100%;
}

.jobs-desc-header,
.job-detail-header {
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
}

.detail {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 8px;
  align-items: center;
}

.detail .detail-label {
  font-size: 16px;
  font-weight: 700;
}

.detail .value {
  font-size: 18px;
  font-weight: 400;
}

#jobs-description ul {
  list-style: disc;
}

#jobs-description ul li {
  margin-bottom: 12px;
}


@media screen and (max-width: 768px) {
  #job-title {
    max-width: 100%;
  }

  .job-details {
    grid-template-columns: 1fr;
  }

  .job-sidebar {
    grid-row-start: 1;
  }
}
