/* Pagename */
.pagename-section .container {
  display: flex;
  justify-content: space-between;
  padding: 0;
}
.pagename-content {
  width: 550px;
}
.page-heading {
  color: var(--accent);
  margin-bottom: 32px;
}
.pagename-content span {
  display: block;
  color: var(--accent);
  font-size: 20px;
  font-weight: 500;
  margin-top: 32px;
}
.pagename-img {
  width: 420px;
}

/* Vacancies */
.vacancies-section .container {
  padding: 0;
}
.input {
  width: 500px;
  height: 48px;
  padding-left: 16px;
  background-color: #efefef;
}
.note-sm {
  font-size: 14px;
}
.vacancies-cont {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 48px;
}
.vacancy {
  width: 32%;
  padding: 24px;
  border-radius: 8px;
  margin-right: 2%;
  margin-bottom: 32px;
  border: 1.5px solid #dfdfdf;
  background-color: #efefef;
}
.vacancy:nth-child(3n) {
  margin-right: 0;
}
.job-role {
  position: relative;
  white-space: nowrap;
  font-size: 24px;
  overflow: hidden;
  z-index: 8;
}
.job-role.marquee::after,
.job-role.marquee::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 24px;
  height: 100%;
  z-index: 10;
  background-image: linear-gradient(to right, #efefefff, #efefef00);
}
.job-role.marquee::before {
  left: unset;
  right: 0;
  background-image: linear-gradient(to left, #efefefff, #efefef00);
}
.job-location {
  font-weight: 500;
  opacity: 0.7;
  text-transform: uppercase;
  font-size: 15px;
  margin: 4px 0 12px 0;
}
.job-desc {
  padding-left: 0px;
  padding-right: 4px;
  margin-bottom: 24px;
  opacity: 0.8;
  height: 140px;
  max-height: 140px;
  overflow-y: auto;
  list-style: none;
}
.job-desc::-webkit-scrollbar {
  width: 3px;
}
.job-desc::-webkit-scrollbar-thumb {
  width: 4px;
  background-color: #bfbfbf;
  border-radius: 4px;
}
.job-desc li {
  margin-bottom: 4px;
}

footer .container {
  margin-top: 32px !important;
}

@media screen and (max-width: 1200px) {
  .pagename-img {
    width: 360px;
    margin-left: 24px;
  }
  .job-desc {
    height: 180px;
    max-height: 180px;
  }
}
@media screen and (max-width: 992px) {
  /* Pagename */
  .page-heading {
    font-size: 36px;
    margin-bottom: 28px;
  }
  .pagename-content {
    width: auto;
  }
  .pagename-img {
    display: none;
  }
  .vacancy {
    width: 49%;
    padding: 18px;
    margin-bottom: 16px;
  }
  .vacancy:nth-child(3n) {
    margin-right: 2%;
  }
  .vacancy:nth-child(2n) {
    margin-right: 0;
  }
  .job-desc {
    height: 150px;
    max-height: 150px;
  }
}
@media screen and (max-width: 768px) {
  /* Pagename */
  .page-heading {
    font-size: 32px;
    margin-bottom: 20px;
  }
  .pagename-section {
    margin-top: 36px;
  }
  .pagename-content span {
    margin-top: 24px;
  }

  .input {
    width: 100%;
  }
  .vacancy {
    width: 100%;
    margin-right: 0%;
    padding: 20px;
  }
  .vacancy:nth-child(3n) {
    margin-right: 0;
  }
  .vacancy:nth-child(2n) {
    margin-right: 0;
  }
  .job-desc {
    height: 120px;
    max-height: 120px;
  }
}
@media screen and (max-width: 576px) {
  /* Pagename */
  .page-heading {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .pagename-content span {
    margin-top: 18px;
  }

  .vacancy {
    padding: 12px;
  }
}
