

.vacancy {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}
.vacancy__container {
  flex-direction: column;
}
.vacancy__title {
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 40px;
}
.vacancy__cards {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}
.vacancy__more {
  text-decoration: none;
  padding: 17px 29px;
}
.v-card {
  border: 1px solid var(--main-color);
  border-radius: 20px;
  padding: 23px 20px 30px 20px;
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
  box-shadow: 0px 4px 10px #4444;
  position: relative;
  max-width: 380px;
  width: 100%;
  cursor: pointer;
}
.v-card svg {
  position: absolute;
  top: 6%;
  right: 5%;
  cursor: pointer;
  transition: color 0.3s ease;
}
.v-card svg:hover {
  fill: var(--btn-bg) !important;
}
.v-card__title {
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 20px;
}
.v-card__salary {
  font-weight: 400;
  font-size: 22px;
  color: #2f2f2f;
  margin-bottom: 10px;
}
.v-card__terms {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 290px;
  width: 100%;
  margin-bottom: 20px;
}
.v-card__terms p {
  font-size: 18px;
  color: #2f2f2f;
  padding: 9px 20px;
  background: var(--bg-color);
  border-radius: 10px;
  font-weight: 500;
}
.v-card__company {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.v-card__company p {
  font-size: 14px;
  text-transform: uppercase;
  font-family: var(--accent-font);
}
.v-card__address {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: 30px;
}
.v-card__address img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.v-card__address p {
  font-size: 15px;
  font-weight: 400;
}
.v-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.v-card__response {
  font-size: 18px;
  padding: 9px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.v-card__contact {
  font-size: 18px;
  color: #4e4e4e;
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--accent-color);
  padding: 7px 33px;
  border-radius: 10px;
  transition: all .3s ease;
}
.v-card__contact:hover{
  color: var(--second-color);
}
@media (max-width: 1200px) {
  .vacancy__cards {
    justify-content: center;
    gap: 25px;
  }
}
@media (max-width: 768px) {
  .vacancy {
    margin-bottom: 30px;
  }
  .vacancy__title {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
  }
  .vacancy__cards {
    gap: 20px;
    margin-bottom: 30px;
  }
  .v-card {
    max-width: 100%;
    padding: 20px 15px 25px 15px;
  }
  .v-card__title {
    font-size: 24px;
    margin-bottom: 15px;
  }
  .v-card__salary {
    font-size: 20px;
    margin-bottom: 8px;
  }
  .v-card__terms {
    margin-bottom: 15px;
  }
  .v-card__terms p {
    font-size: 16px;
    padding: 8px 16px;
  }
  .v-card__address {
    margin-bottom: 20px;
  }
  .v-card__address p {
    font-size: 14px;
  }
  .v-card__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .v-card__response,
  .v-card__contact {
    width: 100%;
    text-align: center;
    font-size: 16px;
    padding: 10px;
  }
}
@media (max-width: 480px) {
  .vacancy__title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .vacancy__more {
    width: 100%;
    text-align: center;
    padding: 15px;
  }
  .v-card {
    padding: 18px 12px 22px 12px;
  }
  .v-card__title {
    font-size: 22px;
  }
  .v-card__salary {
    font-size: 18px;
  }
  .v-card__terms {
    gap: 8px;
  }
  .v-card__terms p {
    width: 100%;
    text-align: center;
  }
  .v-card__company {
    gap: 5px;
  }
  .v-card svg {
    width: 28px;
    height: 28px;
  }
}
@media (max-width: 360px) {
  .vacancy__title {
    font-size: 24px;
  }
  .vacancy__cards {
    gap: 15px;
  }
  .v-card__title {
    font-size: 20px;
  }
  .v-card__salary {
    font-size: 16px;
  }
  .v-card__terms p {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* Стили для новостного блока */
.news {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.news__container {
  max-width: 1440px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.news__title {
  font-weight: 400;
  font-size: 40px;
  margin-bottom: 40px;
  text-align: center;
}

.news__cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.n-card {
  border: 1px solid var(--main-color);
  border-radius: 20px;
  padding: 23px 20px 30px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 10px #4444;
  max-width: 380px;
  width: 100%;
  cursor: pointer;
}
.n-card img{
  height: 200px;
}

.n-card__title {
  font-weight: 500;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--accent-color);
  text-align: center;
}

.n-card__text {
  font-size: 18px;
  color: #2f2f2f;
  line-height: 1.5;
  font-weight: 300;
  text-align: center;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .news__cards {
    justify-content: center;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .news {
    margin-bottom: 30px;
  }

  .news__title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .news__cards {
    gap: 20px;
  }

  .n-card {
    max-width: 100%;
    padding: 20px 15px 25px 15px;
  }
  .n-card img{
    height: 300px;
  }

  .n-card__title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .n-card__text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .news__title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .n-card {
    padding: 18px 12px 22px 12px;
  }
  .n-card img{
    height: 200px;
  }
  .n-card__title {
    font-size: 22px;
  }

  .n-card__text {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .news__title {
    font-size: 24px;
  }

  .news__cards {
    gap: 15px;
  }

  .n-card__title {
    font-size: 20px;
  }

  .n-card__text {
    font-size: 14px;
  }
}
