

/* Start:/bitrix/templates/aspro-lite/components/bitrix/news.list/shorts/style.css?17799627804271*/
.name__title {
  color: #fff;
  font-size: 90%;
  line-height: 1.2;
}
iframe {
  min-height: 499px !important;
}
.shots__card-items {
  transition: all 0.4s;
  cursor: pointer;
  position: relative;
}
.shots__card-items:hover {
  transform: scale(1.05);
  transition: all 0.4s;
}
.VideoPlayerEmbed__actions {
  display: none;
}
.items__name {
  position: absolute;
  bottom: 0;
}

.online__video img {
  border-radius: 10px;
}

.shots__card {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}
.shots__card-items {
  position: relative;
  width: 100%;
  height: 41vh;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.shots__card-items img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.shots__card-items:hover img {
  transform: scale(1.1);
}
.items__name {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  z-index: 2;
  
}
video {
  object-fit: cover;
  height: 499px !important;
}
/* Стили для fancybox  */
/* Прозрачный фон модального окна */
.fancybox-bg {
  background: rgba(0, 0, 0, 0.7); /* Прозрачный черный фон */
}

/* Стили для контейнера fancybox */
.fancybox-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ширина и прозрачность окна fancybox */
.fancybox-content {
  width: 40% !important; /* Ширина 40% по умолчанию */
  background: transparent; /* Прозрачный фон */
  border: none; /* Убираем границу */
  box-shadow: none; /* Убираем тень */
}

/* Стили для iframe внутри fancybox */
.fancybox-iframe {
  width: 100%;
  height: 100%;
  border: none; /* Убираем границу */
  border-radius: 20px;
}

/* Прозрачный фон для iframe */
.fancybox-slide--iframe .fancybox-content {
  background: none !important;
}

/* Адаптивные стили для экранов шириной 1024px и меньше */

@media (max-width: 1480px) {
  .shots__card-items {
    height: 30vh;
  }
  @media (max-width: 1024px) {
    .fancybox-content {
      width: 100% !important; /* Ширина 100% на экранах <= 1024px */
      max-width: 90%; /* Максимальная ширина 90% для небольших отступов */
      margin: 0 auto; /* Центрирование */
    }
  }

  /*Стили дял TAGS*/

  .tag {
    cursor: pointer;
    padding: 5px 10px;
    margin: 10px !important;
    background-color: #f0f0f0;
    border-radius: 5px;
    display: inline-block;
    transition: all 0.5s; /* Плавный переход для всех свойств */
    margin: 5px !important;
  }

  .tag.active {
    background-color: #ff1900;
    transform: scale(1.12); /* Увеличение размера при активном состоянии */
    color: white;
    transition: all 0.5s; /* Плавный переход для всех свойств */
  }

  /* Добавьте это правило для плавного возврата к обычному размеру */
  .tag:not(.active) {
    transform: scale(1); /* Увеличиваем размер обратно до 1 */
    transition: all 0.5s; /* Плавный переход для всех свойств */
  }

  @media (max-width: 600px) {
    .shots__card {
      gap: 15px;
      padding: 10px;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }
    .shots__card-items {
      width: 40vw;
      height: 309px;
    }
  }
  #tags {
    padding: 1px 12px;
    font-size: 14px;
  }

  @media (max-width: 480px) {
    .shots__card {
      gap: 15px;
      padding: 10px;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }
    .shots__card-items {
      width: 40vw;
      height: 309px;
    }
    #tags {
      padding: 1px 8px;
      font-size: 12px;
      height: 35px;
      margin: 3px !important;
    }
  }
}
   #tags{

    margin: 3px !important;
   }
/* End */
/* /bitrix/templates/aspro-lite/components/bitrix/news.list/shorts/style.css?17799627804271 */
