.videos_featured {
  padding: 13.6rem 0 10.2rem;
}
.videos_featured .item_wrap {
  display: grid;
  margin-top: 4.7rem;
  grid-template-columns: 14.861111% 1fr 12.777778%;
}
.videos_featured .label {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-color: #ededed;
}
.videos_featured .label img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 5.7rem;
  max-height: 22rem;
  object-fit: contain;
}
.videos_featured .img {
  padding-bottom: 57.581574%;
}
.videos_featured .info {
  grid-column-start: 2;
}
.videos_featured .info .cat {
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2.3rem;
}
.videos_featured .info .title {
  font-weight: 600;
  font-size: 2.7rem;
  margin-top: 0.3rem;
}
.videos_featured .btn_wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.videos_featured .btn_play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.7rem;
  height: 7.5rem;
  transition: all 0.3s;
  background-color: var(--primary);
}
.videos_featured .btn_play:hover {
  background-color: #bf3128;
}
.videos_featured .btn_play::after {
  content: '';
  display: block;
  width: 1.9rem;
  height: 1.9rem;
  background: url(../images/icon-play.svg) no-repeat center / contain;
}
.videos_main {
  padding: 10.2rem 0 16.8rem;
}
.videos_main .nav ul {
  gap: 2rem 5.8rem;
  display: flex;
  flex-wrap: wrap;
}
.videos_main .nav li {
  cursor: pointer;
  transition: all 0.3s;
  color: #8e8e8e;
  font-weight: 500;
  font-size: 1.8rem;
}
.videos_main .nav li a {
  color: inherit;
  text-decoration: none;
}
.videos_main .nav li:has(a) {
  cursor: default;
}
.videos_main .nav li::after {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  margin: 1rem auto 0;
  opacity: 0;
  transition: all 0.3s;
  background-color: var(--primary);
}
.videos_main .nav li.active,
.videos_main .nav li:hover {
  color: var(--primary);
}
.videos_main .nav li.active::after {
  opacity: 1;
}
.videos_main .list {
  margin-top: 7rem;
}
.videos_main .list .video_list {
  display: grid;
  gap: 6rem 2.291667%;
  grid-template-columns: repeat(3, 1fr);
}
.videos_main .list .center:has(button) {
  min-height: 6rem;
  margin-top: 7.4rem;
}
.videos_main .list .btn {
  padding: 0 3.9rem 1px;
}
.videos_main .video_list .active .btn_play,
.videos_main .video_list .item:hover .btn_play {
  opacity: 1;
}
.videos_main .video_list .item {
  display: block;
}
.videos_main .video_list .item:hover img {
  transform: scale(1.03);
}
.videos_main .video_list .image {
  position: relative;
}
.videos_main .video_list .img {
  padding-bottom: 56.331878%;
}
.videos_main .video_list .duration {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  color: #fff;
  font-weight: 500;
  font-size: 1.4rem;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 4px 10px;
}
.videos_main .video_list .btn_play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  border: 1px solid #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  opacity: 0;
  transition: all 0.3s;
  transform: translate(-50%, -50%);
}
.videos_main .video_list .btn_play::after {
  content: '';
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  background: url(../images/icon-play.svg) no-repeat center / contain;
}
.videos_main .video_list .btn_play:hover {
  border-color: var(--primary);
  background-color: var(--primary);
}
.videos_main .video_list .info .cat {
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2.2rem;
}
.videos_main .video_list .info .title {
  font-weight: 600;
  font-size: 2.4rem;
  line-height: 3.2rem;
  transition: all 0.3s;
  margin-top: 0.8rem;
}
@media screen and (max-width: 768px) {
  .videos_featured {
    padding: 50px 0;
  }
  .videos_featured .item_wrap {
    margin-top: 30px;
  }
  .videos_featured .label img {
    max-width: 40px;
    max-height: 160px;
  }
  .videos_featured .info .cat {
    margin-top: 20px;
    font-size: 14px;
  }
  .videos_featured .info .title {
    font-size: 18px;
    line-height: 1.5;
    margin-top: 10px;
  }
  .videos_featured .btn_play {
    width: 42px;
    height: 42px;
  }
  .videos_main {
    padding: 50px 0;
  }
  .videos_main .nav ul {
    gap: 20px;
  }
  .videos_main .nav li {
    font-size: 14px;
  }
  .videos_main .list {
    margin-top: 30px;
  }
  .videos_main .list .video_list {
    gap: 30px 12px;
  }
  .videos_main .list .center:has(button) {
    margin-top: 30px;
    min-height: 42px;
  }
  .videos_main .list .btn {
    padding: 0 20px;
  }
  .videos_main .video_list .duration {
    right: 8px;
    bottom: 8px;
  }
  .videos_main .video_list .info .cat {
    font-size: 14px;
    margin-top: 15px;
  }
  .videos_main .video_list .info .title {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 10px;
  }
}
@media screen and (max-width: 576px) {
  .videos_featured .label img {
    max-width: 20px;
    max-height: 80px;
  }
  .videos_featured .info .title {
    font-size: 15px;
  }
  .videos_featured .btn_play {
    width: 36px;
    height: 36px;
  }
  .videos_main .flex {
    display: block;
  }
  .videos_main .nav {
    margin-top: 15px;
  }
  .videos_main .nav ul {
    flex-wrap: nowrap;
    width: calc(100% + 40px);
    padding: 0 20px;
    margin: 0 -20px;
    overflow: auto;
  }
  .videos_main .nav ul::-webkit-scrollbar {
    display: none;
  }
  .videos_main .nav li {
    white-space: nowrap;
  }
  .videos_main .list .video_list {
    grid-template-columns: 1fr;
  }
}
