.videos_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.videos_item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 0px 5px rgba(0, 0, 64, 0.5);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.9s ease;
}

.slider_videos_item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 64, 0.5);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.9s ease;
}

.videos_item.hidden {
  opacity: 0;
  transform: translateY(20px);
  display: none;
}

.videos_item.showing {
  display: block;
}

.videos_item:hover {
  box-shadow: 0px 0px 25px rgba(0, 0, 64, 0.5);
}

.videos_img_wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.videos_img_wrap img {
  transition: transform 0.9s ease;
}

.content_link:hover .videos_img_wrap img {
  transform: scale(1.1);
}

.videos_duration_wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 5%;
  right: 5%;
}

.videos_duration_text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.videos_duration_play_icon {
  height: 25px;
  width: 25px;
  object-fit: contain;
}

.videos_info_wrap {
  background: #ffffff;
  padding: 16px;
}

.videos_info_subtitle {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: rgb(165, 165, 165);
  margin-bottom: 8px;
}

.videos_info_title {
  font-size: 16px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (min-width: 768px) {
  .videos_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .videos_duration_text {
    font-size: 16px;
  }

  .videos_info_subtitle {
    font-size: 14px;
  }

  .videos_info_title {
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .videos_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .videos_info_wrap {
    padding: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .videos_duration_text {
    font-size: 18px;
  }

  .videos_info_subtitle {
    font-size: 16px;
  }

  .videos_info_title {
    font-size: 20px;
  }
}
