@charset "UTF-8";

@keyframes shine-lines {
  0% {
    background-position: -240px;
  }

  40%,
  100% {
    background-position: -100%;
  }
}

.vacancies {
  padding: 80px 0;
}

@media (max-width: 1023px) {
  .vacancies {
    padding: 40px 0;
  }
}

@media (max-width: 767px) {
  .vacancies {
    padding: 30px 0;
  }
}

.vacancies__title {
  text-align: left;
}

.vacancies__title span {
  color: #145aa0;
}

.vacancies__content {
  display: flex;
  margin-top: 35px;
  gap: 102px;
  width: 100%;
}

@media (max-width: 1439px) {
  .vacancies__content {
    gap: 30px;
  }
}

.vacancies__filters-wrapper {
  flex: 0 1 282px;
  max-width: 282px;
}

@media (max-width: 767px) {
  .vacancies__filters-wrapper {
    background-color: transparent;
    position: fixed;
    z-index: 999999999;
    inset: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .vacancies__filters-wrapper:has(.vacancies__filters--open) {
    visibility: visible;
    background-color: rgba(0, 0, 0, 0.6);
  }
}

.vacancies__filters {
  display: flex;
  flex-direction: column;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@media (max-width: 767px) {
  .vacancies__filters {
    position: absolute;
    top: 40px;
    transform: translateY(100%);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    max-width: 100%;
    padding: 20px 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow: auto;
  }

  .vacancies__filters--open {
    transform: translateY(0);
  }
}

.vacancies__search {
  display: flex;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #ebebeb;
  align-items: center;
  display: flex;
  position: relative;
  gap: 20px;
  cursor: text;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.vacancies__search img {
  width: 24px;
  height: 24px;
  min-width: 24px;
}

@media (hover: hover) {
  .vacancies__search:hover {
    border-color: #145aa0;
  }
}

.vacancies__search::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 4px solid rgba(20, 90, 160, 0.1490196078);
  border-radius: 14px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.vacancies__search-input {
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #282828;
  position: relative;
  z-index: 100;
}

.vacancies__search-button {
  position: relative;
  z-index: 100;
}

.vacancies__search-input::-moz-placeholder {
  -moz-transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  color: #282828;
}

.vacancies__search-input::placeholder {
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  color: #282828;
}

.vacancies__search-input:focus::-moz-placeholder {
  color: #b7b7b7;
}

.vacancies__search-input:focus::placeholder {
  color: #b7b7b7;
}

.vacancies__search:focus-within {
  border-color: #145aa0;
}

.vacancies__search:focus-within::before {
  opacity: 1;
}

.vacancies__letter {
  color: #969696;
  font-weight: 700;
  font-size: 18px;
  line-height: 0.9;
}

.vacancies__big-filter .vacancies__search {
  display: none;
}

.vacancies__big-filter--opened .vacancies__search {
  display: flex;
}

.vacancies__reset-button {
  margin-top: 40px;
  text-align: left;
  color: #969696;
}

.vacancies__reset-button:hover {
  text-decoration: underline !important;
}

@media (max-width: 767px) {
  .vacancies__reset-button {
    margin-top: 5px;
    width: 100%;
    background-color: #ebebeb;
    color: #145aa0;
    text-align: center;
    padding: 15.5px 40px;
    text-decoration: none !important;
    border-radius: 5px;
    font-size: 14px;
  }
}

.vacancies__submit-button {
  margin-top: 40px;
  display: none;
  width: 100%;
  background-color: #145aa0;
  color: #ebebeb;
  text-align: center;
  padding: 15.5px 40px;
  text-decoration: none !important;
  border-radius: 5px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .vacancies__submit-button {
    display: block;
  }
}

.vacancies__drag {
  margin-bottom: 20px;
  display: none;
}

@media (max-width: 767px) {
  .vacancies__drag {
    display: block;
  }
}

.vacancies__big-filter--opened .vacancies__filter-scroll {
  max-height: 268px;
  min-height: 150px;
  overflow: auto;
  height: -moz-fit-content;
  height: fit-content;
}

.vacancies__filter {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vacancies__filter+.vacancies__filter {
  margin-top: 50px;
}

.vacancies__filter-option {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-left: 35px;
  gap: 40px;
  align-items: flex-start;
}

.vacancies__filter-option:has([type=checkbox])::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #ebebeb;
  border-radius: 4px;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  transition: 0.4s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.vacancies__filter-option:has([type=checkbox]):hover::before {
  background-image: url("/wp-content/themes/velesstroy/assets/images/svg/check-hover.svg");
}

.vacancies__filter-option:has([type=checkbox]):has(input:checked)::before {
  background-image: url("/wp-content/themes/velesstroy/assets/images/svg/check-active.svg");
  background-color: #145aa0;
}

.vacancies__filter-option:has([type=radio])::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  border: 1px solid #ebebeb;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 10px;
  transition: 0.4s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.vacancies__filter-option:has([type=radio]):hover::before {
  background-image: url("/wp-content/themes/velesstroy/assets/images/svg/radio-hover.svg");
}

.vacancies__filter-option:has([type=radio]):has(input:checked)::before {
  background-image: url("/wp-content/themes/velesstroy/assets/images/svg/radio-active.svg");
  background-color: #145aa0;
}

.vacancies__filter-option span {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  line-height: 0.9;
  margin-top: 3px;
}

.vacancies__filter-option span:nth-of-type(2) {
  color: #969696;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.vacancies__filter-label {
  color: #969696;
  font-size: 18px;
  line-height: 0.9;
  font-weight: 400;
}

.vacancies__filter-scroll {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vacancies__filter-input {
  opacity: 0;
  width: 0;
  height: 0;
  top: 0;
  left: 0;
  position: absolute;
}

.vacancies__more-button {
  color: #145aa0;
  line-height: 0.9;
  text-align: left;
}

@media (hover: hover) {
  .vacancies__more-button:hover {
    text-decoration: underline !important;
  }
}

.vacancies__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 0 1 816px;
  transition: opacity 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.vacancies__card {
  background-color: #f6f6f6;
  border-radius: 15px;
  padding: 30px 33px;
  max-width: 816px;
}

@media (max-width: 1023px) {
  .vacancies__card {
    padding: 20px 15px;
  }
}

.vacancies__card--viewed .vacancies__card-title {
  opacity: 0.5;
}

.vacancies__card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1023px) {
  .vacancies__card-head {
    gap: 5px;
    flex-direction: column;
  }
}

.vacancies__card-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-transform: uppercase;
  font-size: 20px;
  /* включить автоматические переносы по словарям */
  -webkit-hyphens: auto;
  hyphens: auto;
  /* НЕ запрещать переносы из-за nowrap */
  white-space: normal;
  /* не ломать слова «где попало» */
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 424px) {
  .vacancies__card-title {
    max-width: 280px;
    -webkit-line-clamp: 4;
  }
}

.vacancies__mobile-button {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 16px;
  background-color: #ff9625;
  gap: 10px;
  border-radius: 41px;
  padding: 12px 28px;
  color: #ffffff;
  align-items: center;
  z-index: 9999;
}

@media (max-width: 767px) {
  .vacancies__mobile-button {
    display: flex;
  }
}

.vacancies__card-salary {
  font-size: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

@media (max-width: 1023px) {
  .vacancies__card-salary {
    align-self: flex-start;
  }
}

.vacancies__card-tags {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  row-gap: 7px;
}

.vacancies__card-tag {
  padding: 2px 10px;
  border-radius: 16px;
  background-color: #ffffff;
  color: #145aa0;
  font-size: 14px;
  line-height: 20px;
  font-family: "Inter", sans-serif;
}

.vacancies__card-button {
  margin-top: 25px;
  max-width: 202px;
  width: 100%;
  background-color: #145aa0;
}

.vacancies__card-placeholder {
  background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 120px, #ddd 240px);
  background-size: 100vw;
  width: 100%;
  border-radius: 15px;
  height: 189px;
  animation: shine-lines 1.6s infinite linear;
}

.vacancies__filter-placeholder {
  background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 120px, #ddd 240px);
  background-size: 100vw;
  width: 100%;
  border-radius: 10px;
  height: 20px;
  animation: shine-lines 1.6s infinite linear;
}

.placeholder {
  background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 120px, #ddd 240px);
  background-size: 100vw;
  width: 100%;
  border-radius: 15px;
  height: 40px;
  animation: shine-lines 1.6s infinite linear;
}

body {
  background-color: #ffffff;
}

body:has(.vacancies__filters--open) {
  overflow: hidden;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (max-width: 767px) {
  .loading {
    opacity: 1;
  }

  .loading>* {
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
  }
}

.back-href {
  padding: 40px 0 30px;
}

.back-href__link {
  display: flex;
  align-items: center;
  gap: 11px;
}

.back-href__text {
  color: rgb(150, 150, 150);
}

.vacancy-item {
  padding: 0;
}

.vacancy-item__container {
  display: flex;
  gap: 126px;
}

@media (max-width: 1023px) {
  .vacancy-item__container {
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .vacancy-item__container {
    flex-direction: column;
  }
}

.vacancy-item__left {
  flex: 0 1 690px;
}

@media (max-width: 767px) {
  .vacancy-item__left {
    flex: 1 1 auto;
  }
}

.vacancy-item__title {
  color: rgb(26, 26, 26);
  font-size: 26px;
  line-height: 100%;
  font-weight: 700;
  /* включить автоматические переносы по словарям */
  -webkit-hyphens: auto;
  hyphens: auto;
  /* НЕ запрещать переносы из-за nowrap */
  white-space: normal;
  /* не ломать слова «где попало» */
  overflow-wrap: normal;
  word-break: normal;
}

.vacancy-item__title-placeholder {
  height: 32px;
}

.vacancy-item__salary {
  color: rgb(255, 150, 37);
  font-size: 26px;
  line-height: 100%;
  font-weight: 700;
  margin-top: 20px;
}

.vacancy-item__salary-placeholder {
  height: 29px;
  width: 150px;
  margin-top: 20px;
}

.vacancy-item__tags {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  row-gap: 7px;
}

.vacancy-item__tag {
  font-size: 14px;
  color: #ffffff;
  background-color: rgb(20, 90, 160);
  border-radius: 16px;
  padding: 2px 10px;
}

.vacancy-item__tag-placeholder {
  height: 24px;
  width: 127px;
}

.vacancy-item__description {
  margin-top: 60px;
}

.vacancy-item__description-title {
  font-size: 20px;
  color: rgb(26, 26, 26);
  font-weight: 700;
  line-height: 100%;
}

.vacancy-item__description-title+.vacancy-item__description-items {
  margin-top: 20px;
}

.vacancy-item__description-items+.vacancy-item__description-title {
  margin-top: 30px;
}

.vacancy-item__description-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vacancy-item__item-placeholder {
  height: 14px;
  width: 100%;
}

.vacancy-item__right {
  flex: 0 1 384px;
}

@media (max-width: 767px) {
  .vacancy-item__right {
    flex: 1 1 auto;
  }
}

.vacancy-item__form-title {
  font-size: 24px;
  font-weight: 700;
  color: rgb(20, 90, 160);
}

.vacancy-item__form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vacancy-item__input-wrapper {
  display: flex;
  flex-direction: column;
}

.vacancy-item__file-label {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;

  #fileText {
      display: inline-block;
      padding: 6px 12px;
      background-color: #e6e6e6;
      border: 1px solid #ccc;
      font-size: 14px;
      cursor: pointer;
      user-select: none;
    }

    #fileText:hover {
      background-color: #dcdcdc;
    }
}

.vacancy-item__file-input {
  display: none;
}

.vacancy-item__item {
  display: flex;
  gap: 5px;
}

.vacancy-item__input {
  margin-top: 10px;
  border: 1px solid rgb(224, 224, 224);
  border-radius: 5px;
  padding: 12px 10px;
  font-size: 14px;
  width: 100%;
}

.vacancy-item__input::-moz-placeholder {
  color: #98a0b4;
}

.vacancy-item__input::placeholder {
  color: #98a0b4;
}

.vacancy-item .iti {
  margin-top: 10px;
  width: 100%;
}

.vacancy-item__textarea {
  resize: none;
  margin-top: 10px;
  border: 1px solid rgb(224, 224, 224);
  border-radius: 5px;
  padding: 12px 10px;
  font-size: 14px;
  width: 100%;
  height: 200px;
}

.vacancy-item__button {
  width: 100%;
}

.to-form {
  position: fixed;
  border-radius: 50px;
  bottom: 20px;
  left: 16px;
  background-color: #ff9625;
  padding: 12px 30px;
  color: #ffffff;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.to-form--visible {
  visibility: visible;
  opacity: 1;
}

@media (hover: hover) {
  .to-form:hover {
    opacity: 0.6;
  }
}

.to-form:active {
  opacity: 0.4;
}

.vacancies__filter-option input[type="checkbox"],
.vacancies__filter-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vacancies__filter-option span:nth-of-type(2) {
  color: #969696;
  min-width: fit-content;
}