/* === Внешняя обёртка === */
.vc-wrapper-outer {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

/* === Внутренняя обёртка === */
.vc-wrapper {
  display: flex;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}





/* === Меню (десктоп) === */
.vc-menu .vc-list {
  list-style: none;
  padding: 0;
  margin: 0;
font-size: 22px;
font-weight: 600;
}

.vc-menu .vc-list > li {
  cursor: pointer;
  padding: 6px 8px;
  border-left: 3px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
	
}

.vc-menu .vc-list > li:hover {
  color: crimson;
}

.vc-menu .vc-list > li.active {
  border-left: 3px solid #592027;
  color: #592027;
  font-weight: 700;
}

/* === Плеер === */
.vc-video-box {
  width: 100%;
  border-radius: 12px;
  background: #000;
  overflow: hidden;
}

.vc-player video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0;
}

/* === Мобильная версия === */
@media (max-width: 768px) {
	.vc-wrapper-outer {
    width: 100%;
		max-width: 350px;}
  .vc-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  /* Контейнер меню */
  .vc-menu {
    width: 100% !important;
    overflow: visible !important;
	 
  }

  /* Горизонтальный скролл */
  .vc-menu .vc-scroll {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    pointer-events: auto !important;
  }
  .vc-menu .vc-scroll::-webkit-scrollbar {
    display: none;
  }

  /* Лента категорий */
  .vc-menu .vc-list {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 16px;
    padding: 0 12px;
    margin: 0;
    min-width: max-content !important; /* Ключевой момент: ширина по содержимому */
    white-space: nowrap !important;
  }

  .vc-menu .vc-list > li {
    display: inline-block !important;
    border-left: none !important;
    border-bottom: 2px solid transparent !important;
    margin: 0;
    padding: 8px 4px;
	font-size: 18px;
    font-weight: 550;
  }

  .vc-menu .vc-list > li.active {
    border-bottom: 2px solid #592027 !important;
    color: #592027 !important;
    font-weight: 700;
	  
  }

  /* Плеер */
  .vc-player {
    padding: 0 12px;
  }

  .vc-video-box {
    border-radius: 12px;
  }
}