.pgrants_img {
  max-width: 176px;
  margin-right: unset!important;
}
.courses-banners {
  display: flex;
}
@media (max-width: 768px) {
  .pgrants_img {
    max-width: 100%;
  }
  .courses-banners {
    display: block;
  }
}
.section--winners .nav-tabs {
  border-bottom: unset!important;
}
.section--winners .winner-categories__tab-active {
  color: #fff;
  text-decoration: unset;
}
.hero__btn-container .disabled, .section--ca .disabled {
  pointer-events: none;
  cursor: default;
  opacity: .65;
}

.partners__row {
  justify-content: center;
}

#main_form .form-group label {
  font-weight: bold;
}

/* Стили для кнопки с вопросительным знаком */
.info-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 8px;
  font-size: 14px;
  color: #74619a;
}

/* Стиль для вопросительного знака */
.info-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #74619a;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-weight: bold;
  font-size: 12px;
}

/* Стили для скрытого блока информации */
.info-content {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  background-color: rgb(116, 97, 154, 0.125);
  border-left: 3px solid #74619a; /* Полоса с фирменным цветом для акцента */
  transition: max-height 0.3s ease-out;
  overflow: hidden;
  border-radius: 4px; /* Скругленные углы для блока */
}

td.text-truncate {
  white-space: nowrap;    /* Текст не переносится на следующую строку */
  overflow: hidden;       /* Скрыть текст, который не помещается */
  text-overflow: ellipsis; /* Добавить многоточие в конце обрезанного текста */
  cursor: pointer;        /* Поменять курсор на указатель */
}

/* Предотвращение горизонтального скролла */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Исправление переполнения в header навигации */
.nav-container {
  max-width: calc(100vw - 400px); /* Учитываем логотип и кнопки */
}

@media (max-width: 1440px) {
  .nav-container {
    max-width: calc(100vw - 350px) !important;
  }
}

@media (max-width: 1200px) {
  .nav-container {
    max-width: calc(100vw - 300px) !important;
    gap: 4rem !important;
  }
}

/* Исправление переполнения в footer */
footer {
  overflow-x: hidden;
}

footer .container,
footer .max-w-1920px,
footer [style*="max-width: 1920px"] {
  max-width: 100% !important;
  overflow-x: hidden;
}
