h1 {
  color: crimson !important;
}

.btn-outline-secondary.active:not(.disabled) {
  background-color: transparent !important;
  color: #6c757d !important;
  border-width: 2px;
  /* font-weight: bold; */
}

.btn-outline-info.active:not(.disabled) {
  background-color: transparent !important;
  /* color: #0dcaf0 !important; */
  color: #dc143c !important;
  border-color: #dc143c !important;
  border-width: 1px;
  /* font-weight: bold; */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(255, 255, 255, 0.92);  /* почти белый с лёгкой прозрачностью */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L6.707 7l4.647 4.646a.5.5 0 0 1-.708.708l-5-5a.5.5 0 0 1 0-.708l5-5a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60% 60%;
  border-radius: 50%;
  padding: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.carousel-control-next-icon {
  transform: rotate(180deg);  /* инвертируем стрелку вправо */
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: #0dcaf0;              /* яркий info, без прозрачности */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L6.707 7l4.647 4.646a.5.5 0 0 1-.708.708l-5-5a.5.5 0 0 1 0-.708l5-5a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.carousel {
  touch-action: auto !important;
}

.carousel-inner {
  touch-action: auto !important;
}

@media (max-width: 768px) {
  .carousel-inner {
    transform: none !important;
  }

  .carousel-item {
    transition: none !important;
  }
}

.text-justify {
  text-align: justify;
}

.modal-wide {
  max-width: 1024px;
  width: 100%;
}

.category-lang-tab {
  max-width: 600px;
  font-size: 19px;
  line-height: 1.6;
  text-align: justify;
}
