.videos_top_wrapper {
  padding: 16px 0;
}

.videos_top_wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.videos_top_info_wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  order: 2;
}

.videos_top_info_title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.videos_top_info_title_color_dark_gray {
  color: #333333;
}

.videos_top_info_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 5px;
  background-color: #cc2e2e;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  margin-right: auto;
  transition: all 0.9s ease;
}

.videos_top_info_link:hover {
  background-color: #bf2b2b;
}

.videos_top_img_wrap {
  height: auto;
  overflow: hidden;
  border-radius: 5px;
}

.videos_list_wrap {
  padding: 16px 0;
}

.videos_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.videos_item {
  border-radius: 5px;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.12);
  transition: all 0.9s ease;
}

.slider_videos_item {
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  transition: all 0.9s ease;
}

.slider_videos_item_border_white {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.videos_item:hover {
  box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.2);
}

.videos_img_wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 5px;
  position: relative;
}

.videos_play_img {
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.9s ease;
}

.videos_duration_wrap {
  position: absolute;
  top: 5%;
  right: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding: 8px;
  opacity: 1;
  transform: scale(1);
  transition: all 0.9s ease;
}

.content_link:hover .videos_play_img {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.content_link:hover .videos_duration_wrap {
  opacity: 0;
  transform: scale(0.8);
}

.videos_duration_text {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.videos_info_wrap {
  padding: 16px;
}

.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;
}

.videos_info_subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #333333;
}

.videos_info_subtitle_color_white {
  color: #ffffffcc;
}

@media screen and (min-width: 768px) {
  .videos_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .videos_top_wrapper {
    padding: 24px 0;
  }

  .videos_top_info_title {
    font-size: 20px;
  }

  .videos_top_info_link {
    font-size: 18px;
  }

  .videos_list_wrap {
    padding: 24px 0;
  }

  .videos_duration_text {
    font-size: 16px;
  }

  .videos_info_title {
    font-size: 18px;
  }

  .videos_info_subtitle {
    font-size: 14px;
  }
}

@media screen and (min-width: 1200px) {
  .videos_top_wrapper {
    padding: 32px 0;
  }

  .videos_top_wrap {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: center;
  }

  .videos_top_info_wrap {
    gap: 24px;
    order: 1;
    grid-column: 1;
  }

  .videos_top_info_link {
    padding: 8px 24px;
  }

  .videos_top_img_wrap {
    order: 2;
    grid-column: 2;
  }

  .videos_list_wrap {
    padding: 32px 0;
  }

  .videos_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .videos_info_wrap {
    padding: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .videos_top_info_title {
    font-size: 22px;
  }

  .videos_top_info_link {
    font-size: 20px;
  }

  .videos_duration_text {
    font-size: 18px;
  }

  .videos_info_title {
    font-size: 20px;
  }

  .videos_info_subtitle {
    font-size: 16px;
  }
}
