/* Обертка контента */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

/* Левая часть с текстом */
.text-content {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.banner_v6__subtitle {
  color: #E32636;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 500;
}

.banner_v6__title {
  font-size: 41px;
  font-weight: bold;
  line-height: 1.2;
  color: #1A1A1A;
  flex: 1 1 auto;
}

.banner_v6__description {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 60px;
  flex: auto;
}

.details-btn {
  padding: 16px 40px;
  background-color: #E32636;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.details-btn:hover {
  color: #fff;
  background-color: #C71F2D;
  transform: translateY(-2px);
}

/* Правая часть с фото */
.image-content {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.person-photo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

.manager-photo {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.manager-photo:hover {
  transform: scale(1.02);
}

.person-info {
  position: absolute;
  left: -220px;
  width: 210px;
  top: auto;
  bottom: 0;
  @media (width <= 780px) {
    position: static;
    width: 100%;
    margin-top:20px;
  }
}

.person-name {
  font-size: 24px;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 5px;
}

.person-position {
  font-size: 16px;
  color: #666;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1024px) {
  .container {
    padding: 40px 20px;
  }
  .content-wrapper {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .text-content {
    max-width: 100%;
  }

  .image-content {
    max-width: 400px;
    order: -1;
  }

  .details-btn {
    padding: 14px 32px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 30px 15px;
  }

  .title {
    font-size: 32px;
  }

  .subtitle {
    font-size: 16px;
  }

  .description {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .person-name {
    font-size: 20px;
  }

  .person-position {
    font-size: 14px;
  }

  .details-btn {
    width: 100%;
    text-align: center;
  }
}