.director-info {
  margin-top: 70px;
  display: flex;
  align-items: flex-start; /* выровнять по верхнему краю */
}

.image-wrapper {
    max-width: 300px;
    max-height: 300px;
    border-radius: 10px; /* Скругление углов контейнера */
    overflow: hidden; /* Скрывает части изображения, выходящие за пределы контейнера */
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Обрезает изображение, чтобы заполнить контейнер */
}

/* Индивидуальные настройки для каждой фотографии */
.image-1 {
    object-position: 50% -30px; /* Сдвиг для первой фотографии */
}

.image-2 {
    object-position: 50%; /* Сдвиг для второй фотографии */
}

.image-3 {
    object-position: 40% -20px; /* Сдвиг для третьей фотографии */
}

.director-info .text {
  flex: 1;
  margin-left: 20px;
}

.name-with-flag {
  display: flex;
  align-items: center;
}

.name-with-flag p#director-name {
  margin: 0; /* убрать отступы у <p>, чтобы не ломать выравнивание */
  font-weight: bold;
}

.director-title,
.director-subtitle {
  text-align: left;
  margin-bottom: 5px;
  color: rgba(122, 0, 0, 0.75);
}

/* Адаптивность */
@media (max-width: 850px) {
  .director-info {
    flex-direction: column;
  }

  .director-info h2 {
    margin-top: 5px;
  }

  .director-info p {
    margin-top: 5px;
    margin-bottom: 15px;
  }
}