/* Стили для списков */
.tablo--1-ve-3 ul {
  list-style: disc;
  margin: 0;
  padding-left: 15px;
}

.tablo--1-ve-3 li {
  display: list-item;
  float: none;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
  margin-bottom: 15px;

  &:hover {
    cursor: auto;
  }
}

/* Стили для изображений */
.news-alani-sayfa .col-lg-8 img {
  max-width: 100%;
  height: auto;
  margin: 0 0 15px;
  display: block;
  float: none;
  position: relative;
}

.news-alani-sayfa .col-lg-8 img+p {
  margin-top: 15px;
}

/* Стили для ссылок */
.news-alani-sayfa .col-lg-8 a {
  color: #603d8f;
  text-decoration: none;

  &:hover {
    color: #3a246c;
  }
}

/* Стили для списков */
.news-alani-sayfa .col-lg-8 ul {
  list-style: disc;
  margin: 0;
  padding-left: 15px;
}

.news-alani-sayfa .col-lg-8 li {
  display: list-item;
  float: none;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
  margin-bottom: 15px;

  &:hover {
    cursor: auto;
  }
}

.employee-page .entry-title {
  text-align: center;
  /* Центрує текст заголовка */
}

.employee-page img {
  display: block;
  margin: 0 auto;
}

.employee-page p strong {
  display: block;
  text-align: center;
  margin: 10px 0;
}

.employee-page ul {
  list-style: disc;
  margin: 0;
  padding-left: 15px;
}

.employee-page ul li {
  display: list-item;
  float: none;
  position: relative;
  text-decoration: none;
  transition-duration: 0.5s;
  margin-bottom: 15px;

  &:hover {
    cursor: auto;
  }
}

/* Стили для десктопных устройств */
.diplomas-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: -10px;
  /* Уменьшим отступы между изображениями */
  margin-bottom: 20px;
  /* Добавляем отступ внизу */
}

.diplomas-gallery figure {
  width: calc(33.333% - 20px);
  /* Равномерное распределение по ширине (можно настроить по вашему вкусу) */
  margin: 10px;
  /* Отступ между изображениями */
}

.diplomas-gallery img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Стили для мобильных устройств */
@media screen and (max-width: 767px) {
  .diplomas-gallery {
    flex-direction: column;
    margin-top: 20px;
    /* Изменяем направление flex-контейнера на столбец */
  }

  .diplomas-gallery figure {
    width: 100%;
    /* Занимает 100% ширины, чтобы быть в одном столбце */
    margin: 0 0 20px;
    /* Добавляем отступ внизу для разделения изображений в столбец */
  }
}

.staff-insta-card {
  max-width: 100%;
  width: 768px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .staff-insta-card {
    width: 100%;
  }
}