/* Video Hub Core 1.0.99 — hard final: zakładki, mobile hamburger, karty, modal, topki */
.tvm-video-hub,
.tvm-video-hub *{box-sizing:border-box;}
.tvm-video-hub{
  width:100vw!important;
  max-width:100vw!important;
  position:relative!important;
  left:50%!important;
  right:50%!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  overflow-x:clip!important;
  background:linear-gradient(180deg,#063f49 0%,#062f3b 34%,#051b28 100%)!important;
  color:#fff!important;
}
.tvm-video-hub .tvm-hero{
  max-width:100%!important;
  overflow:hidden!important;
  padding-left:0!important;
  padding-right:0!important;
}
.tvm-video-hub .tvm-hero__top{
  width:min(1240px,calc(100vw - 48px))!important;
  max-width:1240px!important;
  margin:24px auto 28px!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,rgba(4,40,55,.98),rgba(4,80,88,.82))!important;
  border:1px solid rgba(121,226,235,.18)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.23)!important;
}
.tvm-video-hub .tvm-tabs-bar{
  width:100vw!important;
  max-width:100vw!important;
  margin:0!important;
  padding:14px 28px!important;
  background:linear-gradient(90deg,rgba(3,26,38,.98),rgba(5,72,79,.96),rgba(3,26,38,.98))!important;
  border-top:1px solid rgba(121,226,235,.20)!important;
  border-bottom:1px solid rgba(121,226,235,.20)!important;
  overflow:hidden!important;
}
.tvm-video-hub .tvm-tabs-inner{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:18px!important;
  align-items:center!important;
}
.tvm-video-hub .tvm-category-nav{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  overflow:hidden!important;
  padding:0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  scrollbar-width:none!important;
}
.tvm-video-hub .tvm-category-nav::-webkit-scrollbar{display:none!important;}
.tvm-video-hub .tvm-category-nav a{
  flex:0 1 auto!important;
  min-width:0!important;
  max-width:190px!important;
  padding:10px 17px!important;
  border-radius:13px!important;
  background:rgba(12,41,54,.96)!important;
  border:1px solid rgba(121,226,235,.18)!important;
  color:#fff!important;
  font-size:14px!important;
  line-height:1.1!important;
  font-weight:850!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
  overflow:hidden!important;
  text-decoration:none!important;
  text-align:center!important;
  box-shadow:none!important;
}
.tvm-video-hub .tvm-category-nav a.is-active,
.tvm-video-hub .tvm-category-nav a:hover,
.tvm-video-hub .tvm-category-nav a:focus-visible{
  background:linear-gradient(135deg,#0ba6c1,#05768a)!important;
  color:#fff!important;
  border-color:rgba(160,244,249,.45)!important;
}
.tvm-video-hub .tvm-tabs-add-event{
  grid-column:2!important;
  justify-self:end!important;
  white-space:nowrap!important;
  background:linear-gradient(135deg,#f7c94e,#ffad3c)!important;
  color:#06202c!important;
  border:1px solid rgba(255,230,150,.75)!important;
  border-radius:999px!important;
  padding:11px 18px!important;
  font-weight:900!important;
  box-shadow:none!important;
}
.tvm-video-hub .tvm-tabs-mobile-toggle{display:none!important;}
.tvm-video-hub .tvm-tabs-row,
.tvm-video-hub [data-filter-toggle],
.tvm-video-hub .tvm-filter-mobile-toggle{display:none!important;}
.tvm-video-hub .tvm-content-filters{width:min(1240px,calc(100vw - 48px))!important;margin:28px auto!important;}
.tvm-video-hub .tvm-layout{width:min(1240px,calc(100vw - 48px))!important;max-width:1240px!important;margin:0 auto!important;grid-template-columns:minmax(0,1fr) 310px!important;gap:28px!important;}
.tvm-video-hub .tvm-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;}
.tvm-video-hub .tvm-card,
.tvm-video-hub .tvm-card[style],
.tvm-video-hub .tvm-card:hover{
  min-height:0!important;
  height:auto!important;
  max-width:none!important;
  background:linear-gradient(180deg,#075660 0%,#04313f 100%)!important;
  border:1px solid rgba(121,226,235,.30)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  color:#fff!important;
  box-shadow:0 16px 42px rgba(0,0,0,.22)!important;
  transform:none!important;
}
.tvm-video-hub .tvm-card:hover{transform:translateY(-3px) scale(1.01)!important;}
.tvm-video-hub .tvm-card[hidden],
.tvm-video-hub .tvm-card.is-tvm-hidden{display:none!important;}
.tvm-video-hub .tvm-card__button{background:transparent!important;color:#fff!important;display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;border:0!important;text-align:left!important;}
.tvm-video-hub .tvm-card__thumb{width:100%!important;height:auto!important;aspect-ratio:16/9!important;margin:0!important;border:0!important;border-bottom:1px solid rgba(121,226,235,.22)!important;border-radius:0!important;background:#032b38!important;overflow:hidden!important;}
.tvm-video-hub .tvm-card__thumb img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;background:#032b38!important;border:0!important;}
.tvm-video-hub .tvm-card__thumb::before,
.tvm-video-hub .tvm-card__thumb::after,
.tvm-video-hub .tvm-card__button::before,
.tvm-video-hub .tvm-card__button::after{display:none!important;content:none!important;}
.tvm-video-hub .tvm-card__content{padding:18px!important;display:flex!important;flex-direction:column!important;gap:12px!important;background:transparent!important;color:#fff!important;opacity:1!important;}
.tvm-video-hub .tvm-card__title{color:#fff!important;opacity:1!important;font-size:19px!important;line-height:1.16!important;font-weight:950!important;letter-spacing:-.02em!important;text-shadow:none!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.tvm-video-hub .tvm-card__description{color:rgba(232,250,253,.9)!important;opacity:1!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;font-size:14px!important;line-height:1.42!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.tvm-video-hub .tvm-card__categories span{background:rgba(12,166,193,.24)!important;color:#d9fbff!important;border:1px solid rgba(121,226,235,.25)!important;}
.tvm-video-hub .tvm-card__meta{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;color:#fff!important;opacity:1!important;}
.tvm-video-hub .tvm-card__stars .is-full,
.tvm-video-hub .tvm-card__stars span[aria-hidden="true"],
.tvm-video-hub .tvm-card__rating-number{color:#ffc34d!important;opacity:1!important;}
.tvm-video-hub .tvm-card__share-icon{background:linear-gradient(135deg,#f7c94e,#ffad3c)!important;color:#061d28!important;border:1px solid rgba(255,230,150,.72)!important;}
.tvm-video-hub .tvm-sidebar{min-width:0!important;}
.tvm-video-hub .tvm-top10{background:linear-gradient(180deg,rgba(4,48,62,.92),rgba(3,31,45,.96))!important;border:1px solid rgba(121,226,235,.19)!important;color:#fff!important;}
.tvm-video-hub .tvm-top10[hidden]{display:none!important;}
.tvm-video-hub .tvm-top10 h3{color:#fff!important;}
.tvm-video-hub .tvm-top10__button{background:rgba(255,255,255,.06)!important;color:#fff!important;border:1px solid rgba(121,226,235,.16)!important;}
.tvm-video-hub [data-video-description]{color:rgba(232,250,253,.92)!important;line-height:1.55!important;}
.tvm-video-hub .tvm-rating__star span{color:#ffc34d!important;opacity:1!important;}
.tvm-video-hub .tvm-footer{width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;background:linear-gradient(90deg,#061722,#062a39,#064550)!important;color:#fff!important;}
@media (max-width:1100px){
  .tvm-video-hub .tvm-layout{grid-template-columns:1fr!important;}
  .tvm-video-hub .tvm-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:760px){
  .tvm-video-hub .tvm-hero__top{width:calc(100vw - 24px)!important;margin:14px auto 18px!important;grid-template-columns:1fr!important;text-align:center!important;padding:20px 16px!important;}
  .tvm-video-hub .tvm-tabs-bar{padding:12px!important;}
  .tvm-video-hub .tvm-tabs-inner{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  .tvm-video-hub .tvm-tabs-mobile-toggle{display:flex!important;width:100%!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:13px 16px!important;border-radius:16px!important;background:linear-gradient(135deg,#0ba6c1,#05768a)!important;color:#fff!important;border:1px solid rgba(160,244,249,.42)!important;font-weight:950!important;}
  .tvm-video-hub .tvm-category-nav{display:none!important;width:100%!important;grid-template-columns:1fr!important;gap:8px!important;background:rgba(3,24,36,.98)!important;border:1px solid rgba(121,226,235,.18)!important;border-radius:18px!important;padding:10px!important;}
  .tvm-video-hub .tvm-category-nav.is-open{display:grid!important;}
  .tvm-video-hub .tvm-category-nav a{max-width:none!important;width:100%!important;}
  .tvm-video-hub .tvm-tabs-add-event{display:flex!important;width:100%!important;justify-content:center!important;grid-column:auto!important;}
  .tvm-video-hub .tvm-content-filters,.tvm-video-hub .tvm-layout{width:calc(100vw - 24px)!important;}
  .tvm-video-hub .tvm-grid{grid-template-columns:1fr!important;}
  .tvm-video-hub .tvm-card{max-width:430px!important;margin:0 auto!important;}
  .tvm-video-hub .tvm-sidebar .tvm-top10{display:none!important;}
  .tvm-video-hub .tvm-sidebar .tvm-top10.is-mobile-top-open{display:block!important;position:fixed!important;z-index:99999!important;inset:18px!important;overflow:auto!important;padding:22px!important;border-radius:22px!important;background:linear-gradient(180deg,#042f3e,#031923)!important;box-shadow:0 30px 100px rgba(0,0,0,.55)!important;}
}
