/* Блок с баннером */
.vacancy-banner {
  width: 100%;
  position: relative;
  background-image: url("../images/inf/vacancy-banner.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  aspect-ratio: 2883 / 1024;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
  box-sizing: border-box;
}

/* Внутренний контейнер текста и кнопки */
.vacancy-banner-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 40%;
  width: 100%;
}

.vacancy-banner-text-block h1 {
  font-size: 4.8rem;
  line-height: 1.2;
  font-weight: 700;
background: linear-gradient(135deg, #c2001a, #ff2d3c 30%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.vacancy-banner-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #dc3545;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.2);
  cursor: pointer;
}

.vacancy-banner-button:hover {
  background-color: #b02a37;
  box-shadow: 0 6px 18px rgba(220, 53, 69, 0.4);
}

/* 📱 Мобильная адаптация */
@media (max-width: 768px) {
  .vacancy-banner {
    aspect-ratio: unset;
    padding: 2rem 1.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .vacancy-banner-content {
    max-width: 100%;
    width: 100%;
  }

  .vacancy-banner-text-block h1 {
    font-size: 2.2rem;
    text-shadow: none;
  }

  .vacancy-banner-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}

/* Модальное окно */
.vacancy-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

.vacancy-modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 550px;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.vacancy-modal-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.vacancy-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
}

.vacancy-modal-close:hover {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/*										 Секция с инфо о банке 							*/
.vacancy-careers-intro-section {
  background: #ffffff;
  padding: 60px 20px;
  color: #000;
  display: flex;
  justify-content: center;
}
.vacancy-careers-intro-container {
  max-width: 900px;
  width: 100%;
}
.vacancy-careers-intro-container h2 {
  font-size: 32px;
  margin-bottom: 16px;
}
.vacancy-careers-intro-container p {
  font-size: 18px;
  line-height: 1.6;
}
.vacancy-careers-benefits-list {
  margin-top: 24px;
  padding-left: 20px;
  list-style: disc;
  font-size: 18px;
  line-height: 1.6;
}

/* Секция вакансий */
.vacancy-careers-section {
  background: #fafafa;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

.vacancy-careers-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.vacancy-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.vacancy-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.vacancy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vacancy-card h3 {
  font-size: 22px;
  margin: 0;
  color: #212529;
}

.vacancy-toggle-description {
  background: transparent;
  border: 1px solid #005bbb;
  color: #005bbb;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vacancy-toggle-description:hover {
  background: #005bbb;
  color: #fff;
}

.vacancy-description {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.vacancy-description ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
  list-style-type: disc;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
