/* ------------------------------------------------------------------
   Видеоблог — архив (карточки, фильтр, поиск, кнопка «Показать ещё»)
   ------------------------------------------------------------------ */

.video-blog-filters {
  align-items: center;
  display: flex;
  gap: 20px 30px;
  justify-content: space-between;
}

.video-blog-filters .tabs__head {
  flex: 1 1 auto;
  justify-content: flex-start;
}

.video-blog-search {
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  border-radius: 100px;
  display: flex;
  flex: 0 0 260px;
  gap: 8px;
  padding: 6px 6px 6px 20px;
}

.video-blog-search input {
  background: transparent;
  border: none;
  flex: 1 1 auto;
  min-height: auto;
  padding: 6px 0;
}

.video-blog-search button {
  align-items: center;
  background: #1c092c;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  transition: 0.3s ease;
  width: 36px;
}

.video-blog-search button:hover {
  background: #e84722;
}

.video-blog-grid {
  display: grid;
  gap: 40px 32px;
  grid-template-columns: repeat(2, 1fr);
}

.video-blog-empty {
  font-size: 18px;
  grid-column: 1 / -1;
  opacity: 0.7;
  text-align: center;
}

.video-card {
  background: #fff;
  border: 1px solid rgba(28, 9, 44, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 26, 44, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  box-shadow: 0 20px 40px rgba(15, 26, 44, 0.12);
  color: inherit;
  transform: translateY(-6px);
}

.video-card__media {
  aspect-ratio: 16 / 9;
  background: #eee;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  position: relative;
}

.video-card__media img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  width: 100%;
}

.video-card__play {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #1c092c;
  display: flex;
  height: 72px;
  justify-content: center;
  left: 50%;
  padding-left: 4px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
  width: 72px;
  box-shadow: 0 10px 25px rgba(15, 26, 44, 0.25);
}

.video-card:hover .video-card__play {
  background: #e84722;
  color: #fff;
}

.video-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}

.video-card__title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  display: -webkit-box;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
  overflow: hidden;
}

.video-card__desc {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  font-size: 15px;
  font-weight: 400;
  line-height: 140%;
  min-height: calc(1.4em * 2);
  opacity: 0.7;
  overflow: hidden;
}

.video-card__meta {
  align-items: flex-end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}

.video-card__info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 4px;
  opacity: 0.7;
}

.video-card__author {
  font-weight: 600;
}

.video-card__watch {
  align-items: center;
  color: #e84722;
  display: flex;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 600;
  gap: 6px;
  white-space: nowrap;
}

.video-card__watch svg {
  transition: transform 0.3s ease;
}

.video-card:hover .video-card__watch svg {
  transform: translateX(4px);
}

.video-blog-more-block {
  display: flex;
  justify-content: center;
  margin: 60px auto 0;
}

.video-blog-more {
  align-items: center;
  border-radius: 100px;
  display: inline-flex;
  gap: 10px;
  padding: 16px 36px;
}

.video-blog-more svg {
  transition: transform 0.3s ease;
}

.video-blog-more:hover svg {
  transform: translateY(3px);
}

@media screen and (max-width: 991.5px) {
  .video-blog-filters {
    flex-wrap: wrap;
  }

  .video-blog-search {
    flex: 1 1 100%;
  }

  .video-card__title {
    font-size: 20px;
  }
}

@media screen and (max-width: 767.5px) {
  .video-blog-grid {
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .video-card__play {
    height: 60px;
    width: 60px;
  }

  .video-card__body {
    padding: 20px;
  }

  .video-blog-more-block {
    margin-top: 40px;
  }
}

/* ------------------------------------------------------------------
   Видеоблог — страница одного видео
   ------------------------------------------------------------------ */

.video-single__inner {
  margin: 0 auto;
  max-width: 1100px;
}

.video-single__header {
  margin-bottom: 32px;
}

.video-single__badge {
  background: #d4fe4c;
  border-radius: 100px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 8px 18px;
}

.video-single__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 110%;
  margin-bottom: 16px;
}

.video-single__lead {
  font-size: 18px;
  line-height: 150%;
  max-width: 760px;
  opacity: 0.75;
}

.video-single__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.video-single__meta-item {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 8px;
  opacity: 0.7;
}

.video-single__player-frame {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(15, 26, 44, 0.14);
  overflow: hidden;
  position: relative;
}

.video-single__player-frame iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.video-single__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 28px;
}

.video-single__actions-left {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.video-single__action {
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  border-radius: 100px;
  cursor: pointer;
  display: inline-flex;
  font-family: lato, sans-serif;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  padding: 12px 22px;
  transition: 0.3s ease;
}

.video-single__action:hover {
  background: #d5fe4e;
  border-color: #d5fe4e;
}

.video-single__actions .btn {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}

.video-single__content {
  align-items: start;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-top: 56px;
}

.video-timeline {
  display: flex;
  flex-direction: column;
}

.video-timeline__item {
  border-bottom: 1px solid rgba(28, 9, 44, 0.08);
  display: flex;
  gap: 20px;
  padding: 14px 0;
}

.video-timeline__item:first-child {
  padding-top: 0;
}

.video-timeline__time {
  color: #e84722;
  flex: 0 0 60px;
  font-weight: 600;
}

.video-single__aside {
  position: sticky;
  top: 120px;
}

.video-highlights {
  background: #f8f6fb;
  border-radius: 20px;
  padding: 28px;
}

.video-highlights h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.video-highlights ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-highlights li {
  align-items: flex-start;
  display: flex;
  font-size: 15px;
  gap: 12px;
  line-height: 140%;
}

.video-highlights li svg {
  background: #d4fe4c;
  border-radius: 50%;
  flex: 0 0 auto;
  padding: 3px;
}

.video-expert {
  background: #fff;
  border: 1px solid rgba(28, 9, 44, 0.1);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 26, 44, 0.06);
  margin-top: 56px;
  padding: 40px;
}

.video-expert__label {
  color: #e84722;
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.video-expert__inner {
  align-items: center;
  display: flex;
  gap: 32px;
}

.video-expert__photo {
  border-radius: 20px;
  flex: 0 0 160px;
  height: 160px;
  overflow: hidden;
  width: 160px;
}

.video-expert__photo img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center top;
  object-position: center top;
  width: 100%;
}

.video-expert__body {
  flex: 1 1 auto;
  min-width: 0;
}

.video-expert__name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.video-expert__position {
  color: #e84722;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.video-expert__bio {
  font-size: 15px;
  line-height: 150%;
  opacity: 0.8;
}

.video-expert__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.video-expert__stats li {
  background: #f5f2f8;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
}

.video-expert__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.video-related-courses,
.video-similar {
  margin-top: 64px;
}

.video-related-courses__list {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.related-course-card {
  background: #fff;
  border: 1px solid rgba(28, 9, 44, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(15, 26, 44, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-course-card:hover {
  box-shadow: 0 20px 40px rgba(15, 26, 44, 0.12);
  color: inherit;
  transform: translateY(-6px);
}

.related-course-card__badge {
  background: #f5f2f8;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  width: fit-content;
}

.related-course-card__title {
  font-size: 19px;
  font-weight: 600;
}

.related-course-card__desc {
  font-size: 14px;
  opacity: 0.7;
}

.related-course-card__link {
  align-items: center;
  color: #e84722;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.video-blog-grid--similar {
  grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 991.5px) {
  .video-single__title {
    font-size: 32px;
  }

  .video-single__content {
    grid-template-columns: 1fr;
  }

  .video-single__aside {
    position: static;
  }

  .video-expert__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-expert__body {
    align-self: stretch;
    width: 100%;
  }

  .video-related-courses__list,
  .video-blog-grid--similar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767.5px) {
  .video-single__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .video-single__actions .btn,
  .video-single__action {
    justify-content: center;
  }

  .video-expert {
    padding: 24px;
  }

  .video-related-courses__list,
  .video-blog-grid--similar {
    grid-template-columns: 1fr;
  }
}
