.fbt-video-single {
  max-width: 1120px;
  margin: 0 auto;
}

body.single-video {
  background: #ffffff;
}

.fbt-video-page-shell {
  min-height: 70vh;
  padding: 22px 16px 64px;
  background: #ffffff;
}

.fbt-video-single .nb-article__header {
  margin-bottom: 22px;
}

.fbt-video-player {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0 0 28px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #0f172a;
}

.fbt-video-player iframe,
.fbt-video-player video,
.fbt-video-player .wp-video,
.fbt-video-player .wp-video-shortcode {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

.fbt-video-player iframe {
  position: absolute;
  inset: 0;
}

.fbt-video-player .wp-video {
  margin: 0;
}

.fbt-video-player__fallback {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid #dbe4f0;
  border-radius: 8px;
  background: #f8fafc;
}

.fbt-video-tax {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 0;
}

.fbt-video-tax a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}

.fbt-video-tax a:hover,
.fbt-video-tax a:focus {
  border-color: #94a3b8;
}

.fbt-related-videos {
  margin-top: 42px;
}

.fbt-related-videos__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.25;
}

.fbt-related-videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.fbt-related-video {
  min-width: 0;
}

.fbt-related-video__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #e2e8f0;
}

.fbt-related-video__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fbt-related-video__play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
}

.fbt-related-video__title {
  margin: 10px 0 0;
  font-size: 17px;
  line-height: 1.35;
}

.fbt-related-video__title a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 760px) {
  .fbt-video-player {
    border-radius: 8px;
  }

  .fbt-related-videos__grid {
    grid-template-columns: 1fr;
  }
}

.fbt-video-ntv {
  --fbt-video-accent: #22c55e;
  --fbt-video-button: #1683f5;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 0 56px;
  color: #202124;
}

.fbt-video-ad {
  width: 100%;
}

.fbt-video-ad__label {
  margin: 0 0 2px;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.fbt-video-ad__link,
.fbt-video-ad__media,
.fbt-video-ad__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
  background: #ffffff;
}

.fbt-video-ad__link,
.fbt-video-ad__link:hover,
.fbt-video-ad__link:focus {
  color: inherit;
  text-decoration: none;
}

.fbt-video-ad img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.fbt-video-ad__placeholder {
  min-height: 92px;
  border: 1px dashed #cbd5e1;
  color: #94a3b8;
  font-size: 13px;
}

.fbt-video-ad--top,
.fbt-video-ad--bottom {
  max-width: 970px;
  margin-right: auto;
  margin-left: auto;
}

.fbt-video-ad--top .fbt-video-ad__link,
.fbt-video-ad--top .fbt-video-ad__media,
.fbt-video-ad--top .fbt-video-ad__placeholder,
.fbt-video-ad--bottom .fbt-video-ad__link,
.fbt-video-ad--bottom .fbt-video-ad__media,
.fbt-video-ad--bottom .fbt-video-ad__placeholder {
  min-height: 96px;
  max-height: 250px;
}

.fbt-video-ad--top img,
.fbt-video-ad--bottom img {
  max-height: 250px;
}

.fbt-video-ad--right .fbt-video-ad__link,
.fbt-video-ad--right .fbt-video-ad__media,
.fbt-video-ad--right .fbt-video-ad__placeholder {
  height: 250px;
}

.fbt-video-ad--right img {
  height: 100%;
}

.fbt-video-ntv__top-ad {
  margin-bottom: 34px;
}

.fbt-video-ntv__bottom-ad {
  margin-top: 58px;
}

.fbt-video-ntv__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 0 0 10px;
  border-bottom: 1px solid #cfd4dc;
  color: #737b86;
  font-size: 15px;
}

.fbt-video-ntv__crumb a {
  color: inherit;
  text-decoration: none;
}

.fbt-video-ntv__crumb a:hover,
.fbt-video-ntv__crumb a:focus {
  color: #0f172a;
}

.fbt-video-ntv__layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 805px) 310px;
  gap: 34px;
  align-items: start;
  justify-content: center;
}

.fbt-video-ntv--no-left.fbt-video-ntv--has-right .fbt-video-ntv__layout {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.fbt-video-ntv--has-left.fbt-video-ntv--no-right .fbt-video-ntv__layout {
  grid-template-columns: 190px minmax(0, 1fr);
}

.fbt-video-ntv--no-left.fbt-video-ntv--no-right .fbt-video-ntv__layout {
  grid-template-columns: minmax(0, 1fr);
  max-width: 980px;
  margin: 0 auto;
}

.fbt-video-ntv__left,
.fbt-video-ntv__right {
  min-width: 0;
}

.fbt-video-ntv__share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.fbt-video-ntv__share--mobile,
.fbt-video-ntv__rail-date--mobile {
  display: none;
}

.fbt-video-ntv__share--mobile[hidden],
.fbt-video-ntv__rail-date--mobile[hidden] {
  display: none !important;
}

.fbt-video-ntv__share-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 3px;
  padding: 0;
  background: #ececec;
  color: #111111;
  font: 700 13px/1 Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}

.fbt-video-ntv__share-btn:hover,
.fbt-video-ntv__share-btn:focus,
.fbt-video-ntv__share-btn.is-copied {
  background: #c40000;
  color: #ffffff;
  text-decoration: none;
}

.fbt-video-ntv__share-btn:focus-visible {
  outline: 3px solid rgba(196, 0, 0, .25);
  outline-offset: 2px;
}

.fbt-video-ntv__share-btn svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.fbt-video-ntv__share-btn svg.is-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fbt-video-ntv__rail-date {
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #b9c0c8;
  color: #737b86;
  font-size: 14px;
  line-height: 1.45;
}

.fbt-video-ntv__rail-date span {
  display: block;
  margin-bottom: 4px;
}

.fbt-video-ntv__rail-date time {
  display: block;
}

.fbt-video-ntv__rail-title {
  display: block;
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #b9c0c8;
  border-radius: 0;
  background: transparent;
  color: #202124;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}

.fbt-video-ntv__sidebar-title {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 18px;
  border-radius: 5px;
  background: var(--fbt-video-button);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.fbt-video-ntv__rail-list,
.fbt-video-ntv__popular-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.fbt-video-ntv-listitem {
  min-width: 0;
}

.fbt-video-ntv-listitem__thumb,
.fbt-video-ntv-card__thumb,
.fbt-video-ntv__poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e5e7eb;
}

.fbt-video-ntv-listitem__thumb,
.fbt-video-ntv-card__thumb {
  aspect-ratio: 16 / 9;
}

.fbt-video-ntv-listitem__thumb img,
.fbt-video-ntv-card__thumb img,
.fbt-video-ntv__poster img,
.fbt-video-ntv__thumb-empty {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fbt-video-ntv__thumb-empty {
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.fbt-video-ntv__play {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--fbt-video-accent);
  background: color-mix(in srgb, var(--fbt-video-accent) 88%, #000000 12%);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.16);
}

.fbt-video-ntv__play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
}

.fbt-video-ntv-listitem__title,
.fbt-video-ntv-card__title {
  margin: 8px 0 0;
  color: #1f2937;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.32;
}

.fbt-video-ntv-listitem__title a,
.fbt-video-ntv-card__title a {
  color: inherit;
  text-decoration: none;
}

.fbt-video-ntv-listitem__title a:hover,
.fbt-video-ntv-card__title a:hover {
  color: var(--fbt-video-accent);
}

.fbt-video-ntv__main {
  min-width: 0;
  background: #ffffff;
}

.fbt-video-ntv__player {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #0f172a;
}

.fbt-video-ntv__player .fbt-video-player {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.fbt-video-ntv__player .fbt-video-player iframe,
.fbt-video-ntv__player .fbt-video-player video,
.fbt-video-ntv__player .fbt-video-player .wp-video,
.fbt-video-ntv__player .fbt-video-player .wp-video-shortcode {
  width: 100% !important;
  height: 100% !important;
}

.fbt-video-ntv__player > .fbt-video-ntv__youtube-frame {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000000;
}

.fbt-video-ntv__poster {
  position: relative;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  aspect-ratio: 16 / 9;
  font: inherit;
  color: #ffffff;
  cursor: pointer;
  text-decoration: none;
}

.fbt-video-ntv__poster::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.62));
  pointer-events: none;
}

.fbt-video-ntv__poster-empty {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, #172554, #075985 52%, #0f172a);
}

.fbt-video-ntv__main-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 56px;
  border-radius: 12px;
  background: #ff0000;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.fbt-video-ntv__main-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 20px solid #ffffff;
}

.fbt-video-ntv__watch-cta {
  position: absolute;
  right: 38px;
  bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.74);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(5px);
}

.fbt-video-ntv__poster:hover .fbt-video-ntv__main-play,
.fbt-video-ntv__poster:focus .fbt-video-ntv__main-play {
  background: #e60000;
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.fbt-video-ntv__header {
  padding: 25px 2px 10px;
  border-bottom: 1px solid #eceff3;
}

.fbt-video-ntv__title {
  margin: 0;
  color: #202124;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.28;
}

.fbt-video-ntv__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  color: #727986;
  font-size: 14px;
}

.fbt-video-ntv__content {
  padding: 20px 28px 6px;
}

.fbt-video-ntv__content:empty {
  display: none;
}

.fbt-video-ntv__episodes {
  margin-top: 22px;
  padding: 0 0 28px;
  background: #ffffff;
}

.fbt-video-ntv__episodes-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.fbt-video-ntv__episodes-head h2 {
  margin: 0;
  color: #202124;
  font-size: 18px;
  font-weight: 700;
}

.fbt-video-ntv__filter {
  min-width: 150px;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid #c7ccd3;
  border-radius: 5px;
  background: #d4d5d7;
  color: #3f4650;
  font-size: 14px;
}

.fbt-video-ntv__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
}

.fbt-video-ntv-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.24);
}

.fbt-video-ntv-card__title {
  padding: 0 10px 11px;
  font-size: 17px;
}

.fbt-video-ntv__more-wrap {
  margin-top: 32px;
  text-align: center;
}

.fbt-video-ntv__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 34px;
  padding: 6px 18px;
  border-radius: 6px;
  background: var(--fbt-video-button);
  color: var(--fbt-video-button-text, #ffffff);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.nb-main .fbt-video-ntv__more-btn,
.nb-main .fbt-video-ntv__more-btn:hover,
.nb-main .fbt-video-ntv__more-btn:focus,
.nb-main .fbt-video-ntv__more-btn:visited,
.fbt-video-ntv__more-btn:hover,
.fbt-video-ntv__more-btn:focus,
.fbt-video-ntv__more-btn:visited {
  color: var(--fbt-video-button-text, #ffffff) !important;
  text-decoration: none;
}

.fbt-video-ntv__side-ad {
  margin-bottom: 34px;
}

.fbt-video-ntv--video_template_one {
  max-width: 1180px;
}

.fbt-video-ntv--video_template_one .fbt-video-ntv__main {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.fbt-video-ntv--video_template_three {
  max-width: 1320px;
  padding: 28px;
  background: #151515;
  color: #f8fafc;
}

.fbt-video-ntv--video_template_three .fbt-video-ntv__crumb,
.fbt-video-ntv--video_template_three .fbt-video-ntv__meta,
.fbt-video-ntv--video_template_three .fbt-video-ad__label {
  color: #cbd5e1;
}

.fbt-video-ntv--video_template_three .fbt-video-ntv__main,
.fbt-video-ntv--video_template_three .fbt-video-ntv__episodes,
.fbt-video-ntv--video_template_three .fbt-video-ntv-card {
  background: #202020;
  color: #f8fafc;
}

.fbt-video-ntv--video_template_three .fbt-video-ntv__title,
.fbt-video-ntv--video_template_three .fbt-video-ntv__episodes-head h2,
.fbt-video-ntv--video_template_three .fbt-video-ntv-listitem__title,
.fbt-video-ntv--video_template_three .fbt-video-ntv-card__title {
  color: #f8fafc;
}

.fbt-video-ntv--video_template_three .fbt-video-ntv__header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.fbt-video-ntv--video_template_four {
  max-width: 1440px;
}

.fbt-video-ntv--video_template_four .fbt-video-ntv__layout {
  gap: 24px;
}

.fbt-video-ntv--video_template_four .fbt-video-ntv__main {
  border-top: 4px solid var(--fbt-video-accent);
}

@media (max-width: 1180px) {
  .fbt-video-ntv__layout {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .fbt-video-ntv__right {
    grid-column: 2;
  }

  .fbt-video-ntv--no-left.fbt-video-ntv--has-right .fbt-video-ntv__layout,
  .fbt-video-ntv--has-left.fbt-video-ntv--no-right .fbt-video-ntv__layout,
  .fbt-video-ntv--no-left.fbt-video-ntv--no-right .fbt-video-ntv__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .fbt-video-ntv--no-left.fbt-video-ntv--has-right .fbt-video-ntv__right,
  .fbt-video-ntv--has-left.fbt-video-ntv--no-right .fbt-video-ntv__right {
    grid-column: auto;
  }

  .fbt-video-ntv__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .fbt-video-ntv {
    padding-top: 8px;
  }

  .fbt-video-ntv__layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .fbt-video-ntv__main {
    order: 1;
    display: flex;
    flex-direction: column;
  }

  .fbt-video-ntv__player {
    order: 1;
  }

  .fbt-video-ntv__header {
    order: 2;
  }

  .fbt-video-ntv__left {
    order: 2;
  }

  .fbt-video-ntv__right {
    order: 3;
    grid-column: auto;
  }

  .fbt-video-ntv__left > .fbt-video-ntv__share,
  .fbt-video-ntv__left > .fbt-video-ntv__rail-date {
    display: none;
  }

  .fbt-video-ntv__share--mobile {
    display: flex;
    order: 3;
    margin: 14px 0 0;
    padding: 0;
  }

  .fbt-video-ntv__rail-date--mobile {
    display: block;
    order: 4;
    margin: 10px 0 0;
    padding: 0 0 18px;
  }

  .fbt-video-ntv__content {
    order: 5;
  }

  .fbt-video-ntv__episodes {
    order: 6;
  }

  .fbt-video-ntv__rail-list,
  .fbt-video-ntv__popular-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .fbt-video-ntv__episodes {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 680px) {
  .fbt-video-ntv__top-ad {
    margin-bottom: 16px;
  }

  .fbt-video-ad--top .fbt-video-ad__link,
  .fbt-video-ad--top .fbt-video-ad__media {
    min-height: 0;
    max-height: none;
  }

  .fbt-video-ad--top .fbt-video-ad__placeholder {
    min-height: 52px;
  }

  .fbt-video-ntv__header,
  .fbt-video-ntv__content {
    padding-right: 0;
    padding-left: 0;
  }

  .fbt-video-ntv__title {
    font-size: 23px;
  }

  .fbt-video-ntv__main-play {
    width: 58px;
    height: 42px;
    border-radius: 9px;
  }

  .fbt-video-ntv__main-play::before {
    margin-left: 4px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 16px;
  }

  .fbt-video-ntv__watch-cta {
    right: 12px;
    bottom: 12px;
    min-height: 32px;
    padding: 7px 12px;
    font-size: 13px;
  }

  .fbt-video-ntv__episodes {
    padding-right: 0;
    padding-left: 0;
  }

  .fbt-video-ntv__episodes-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .fbt-video-ntv__filter {
    width: 100%;
  }

  .fbt-video-ntv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .fbt-video-ntv__rail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .fbt-video-ntv__popular-list {
    grid-template-columns: 1fr;
  }

  .fbt-video-ntv-card__title {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 14px;
    line-height: 1.35;
  }
}
