.YoutubeVideoTab {
  margin-top: 30px;
  /* font-family: 'Google Sans', sans-serif; */
}

/* Tabs header */
.YoutubeVideoTab .Tabs {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 35px;
  border-bottom: 0.8px solid #212121;
  overflow-x: auto;
  white-space: nowrap;
  padding: 10px 0;
  scrollbar-width: thin;
  scrollbar-color: #1F99FF #f0f0f0;
  width: 100%;
  padding: 0 20px;
}

.YoutubeVideoTab .Tabs::-webkit-scrollbar {
  height: 6px;
}

.YoutubeVideoTab .Tabs::-webkit-scrollbar-thumb {
  background: #1F99FF;
  border-radius: 10px;
}

.YoutubeVideoTab .Tabs::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.YoutubeVideoTab .Tabs li {
  padding-bottom: 20px;
  cursor: pointer;
}

.YoutubeVideoTab .Tabs li.Active .Text {
  font-family: 'Google Sans';
  font-weight: 700;
  font-size: 17px;
  color: #0C5ADB;
  position: relative;
}

.YoutubeVideoTab .Tabs li.Active .Text::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 100%;
  border-bottom: 2px solid #1F7BFF;
}

.YoutubeVideoTab .Tabs li:not(.Active) .Text {
  font-family: 'Google Sans';
  font-weight: 400;
  font-size: 17px;
  color: #2E2E2E;
}

/* Video list container */
.YoutubeVideoTab [id*='updVideoList'] {
  /* margin-top: 50px; */
}

/* Video list */
.YoutubeVideoTab .VideoList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  list-style: none;
  padding: 0;
}

.YoutubeVideoTab .VideoList .Item {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0px 10px 20px 0px #D2D6E5E5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.YoutubeVideoTab .VideoList .Item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
}

.YoutubeVideoTab .VideoList .ImageWrap img {
  width: 100%;
  height: 225px;
  object-fit: cover;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}

.YoutubeVideoTab .VideoList .Title {
  padding: 15px;
  font-family: 'Ford Antenna';
  font-weight: 600;
  font-size: 20px;
  color: #3E4241;
  line-height: 1.4;
  height: 120px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Pagination */
.YoutubeVideoTab [id*='pagYoutubeVideo'] {
  margin: 40px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.YoutubeVideoTab [id*='pagYoutubeVideo'] span {
  display: flex;
  gap: 8px;
  align-items: center;
}

.YoutubeVideoTab [id*='pagYoutubeVideo'] span > span {
  padding: 8px 30px;
  border-radius: 200px;
  font-weight: bold;
  color: #fff;
  background: #1B5EC8;
}

/* Change Tab link hidden element */
.YoutubeVideoTab [id*='lnkChangeList'] {
  display: none;
}

/* Responsive */
@media only screen and (max-width: 768px) {
  .YoutubeVideoTab .Tabs {
    justify-content: flex-start;
    gap: 20px;
    border-bottom: none;
    padding: 0 15px;
    scrollbar-width: none;
  }

  .YoutubeVideoTab .Tabs li .Text {
    font-size: 14px;
  }

  .YoutubeVideoTab .VideoList {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .YoutubeVideoTab .VideoList .Item {
    border-radius: 0;
    box-shadow: none;
  }

  .YoutubeVideoTab .VideoList .ImageWrap img {
    height: calc(100vw / 16 * 9);
    border-radius: 0;
  }

  .YoutubeVideoTab .VideoList .Title {
    font-size: 16px;
    padding: 10px 15px;
    height: auto;
  }

  .YoutubeVideoTab [id*='pagYoutubeVideo'] {
    margin: 30px 0;
  }
}
