/* Jobs */

#pzd-jobs-archive {
  padding: 0;
}

#pzd-jobs-archive .e-con-inner {
  padding: 0;
  max-width: 100%;
}

.site-main.post-49860 .page-header {
  display: none;
}

.jobs {
  padding-bottom: 100px;
}

.jobs-content {
  display: flex;
  column-gap: 30px;
  max-width: 1140px;
  margin: 0 auto;
}

.jobs-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 80px 0;
  color: white;
  margin-bottom: 50px;
  background-color: #000;
}

.jobs-filter {
  max-width: 350px;
}

.jobs-list {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  width: 100%;
  max-width: 100%;
  padding-bottom: 60px;
  min-height: 403px;
}

.jobs-pagination {
  position: absolute;
  bottom: 0;
  left: 50%;
  display: flex;
  justify-content: center;
  transform: translateX(-50%);
}

.jobs-pagination__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.jobs-pagination__nav a,
.jobs-pagination__nav span {
  font-family: "Montserrat", Montserrat;
  font-size: 12px;
  font-weight: 500;
  padding: 10px;
  margin: 3px;
}

.jobs-items {
  display: flex;
  flex-direction: column;
}

/* Job */

.job-card {
  display: flex;
  align-items: center;
  column-gap: 40px;
  justify-content: flex-start;
  border-radius: 10px;
  color: #333 !important;
  padding: 17px 20px 25px 20px;
  transition: background-color 0.3s ease-out;
}

.job-card:hover {
  cursor: pointer;
  color: #333 !important;
  background-color: #f4f3ea;
}

.job-info {
  display: flex;
  width: 100%;
  max-width: 100%;
  flex-direction: column;
}

.job-title {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 10px;
}

.job-card:hover .job-icon {
  transform: translateX(0);
}

.job-description {
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 20px;
}

.job-description p {
  margin-bottom: 0;
}

.job-category {
  border-radius: 30px;
  padding: 2px 15px 3px 15px;
  border: 1px solid #aaa;
}

.job-meta {
  display: flex;
  align-items: center;
  column-gap: 15px;
  flex-wrap: wrap;
  row-gap: 5px;
}

.job-meta__item {
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.job-meta__item svg {
  width: 16px;
}

.job-icon {
  transform: translateX(-10px);
  transition: transform 0.4s ease-out;
}

.job-icon svg {
  width: 50px;
  fill: #aaa;
  transform: rotate(90deg);
}

/* Filters */

.filter-form.is-loading .filter-button {
  opacity: 0.7;
  pointer-events: none;
}

.filter-form__inner {
  display: flex;
  flex-direction: column;
}

.filter-group {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  position: relative;
  padding-bottom: 25px;
  margin-bottom: 20px;
}

.filter-group:last-child {
  margin-bottom: 30px;
}

/* Styled native select */

.filter-group {
  position: relative;
}

.filter-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid #aaa;
  border-radius: 8px;
  background-color: #f4f3ea;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  font-size: 14px;
  color: #000;
  transition:
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.filter-select:hover {
  border-color: #e8e7df;
}

.filter-select:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.filter-select:disabled {
  cursor: not-allowed;
  color: #9a9a9a;
  background-color: #f7f7f7;
}

.filter-select::-ms-expand {
  display: none;
}

.filter-group:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  border-radius: 5px;
  background-color: #dedede;
}

.filter-label {
  font-weight: 600;
}

.filter-actions {
  display: flex;
  column-gap: 12px;
}

.filter-button {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  min-width: 122px;
  border: none !important;
  padding: 10px 25px !important;
  border-radius: 50px !important;
}

.filter-submit {
  color: #f4f3ea !important;
  background-color: #303030 !important;
}

.filter-submit:hover {
  background-color: #f34f2d !important;
}

.filter-reset {
  color: #333 !important;
  background-color: #f4f3ea !important;
}

.filter-reset:hover {
  color: #333 !important;
  background-color: #e8e7df !important;
}

/* Loader for jobs list */
.lds-roller,
.lds-roller div,
.lds-roller div:after {
  box-sizing: border-box;
}
.lds-roller {
  display: none;
  position: relative;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -100%);
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px;
  height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 62.62742px;
  left: 62.62742px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 67.71281px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 70.90963px;
  left: 48.28221px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 70.90963px;
  left: 31.71779px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 67.71281px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 62.62742px;
  left: 17.37258px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12.28719px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .jobs-content {
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .jobs-list {
    min-height: auto;
  }

  .job-card {
    padding: 10px 0;
  }

  .jobs-content {
    flex-direction: column;
  }

  .filter-form__list {
    display: flex;
    align-items: center;
    column-gap: 10px;
    flex-wrap: wrap;
  }

  .jobs-filter {
    max-width: 100%;
  }

  .filter-group {
    margin-bottom: 0;
    flex-grow: 1;
  }

  .filter-group:last-child {
    margin-bottom: 0;
  }

  .filter-group:not(:last-child)::after {
    display: none;
  }

  .filter-actions {
    justify-content: flex-end;
  }

  .jobs-list {
    row-gap: 0;
  }

  .job-icon svg {
    height: 30px;
  }

  .job-card {
    column-gap: 20px;
  }

  .jobs-content {
    padding: 0 20px;
  }

  .jobs-items {
    min-height: 150px;
  }

  .jobs {
    padding-bottom: 50px;
  }
}

@media (max-width: 480px) {
  .job-card {
    padding-bottom: 20px;
  }

  .job-meta__item svg {
    width: 14px;
  }

  .job-category,
  .job-meta__item,
  .job-description {
    font-size: 14px;
  }

  .job-title {
    font-size: 20px;
  }

  .filter-group {
    padding-bottom: 10px;
  }

  .jobs-list {
    margin-top: 20px;
  }

  .jobs-hero {
    padding: 30px 0;
  }

  .jobs-content {
    padding: 0 10px;
  }

  .jobs {
    padding-bottom: 20px;
  }
}
