/* Video Hub Core 1.1.32 — header logo/title proportion cleanup.
   Scope: hero header only: larger centered logo, calmer title scale, mobile-safe proportions. */

/* global shell alignment */
.tvm-video-hub,
.tvm-video-hub *{box-sizing:border-box!important;}
.tvm-video-hub{width:100%!important;max-width:100%!important;overflow-x:hidden!important;background:#003f46!important;color:#fff!important;font-family:Inter,Roboto,"Noto Sans",Arial,sans-serif!important;}
.tvm-video-hub .tvm-hero,
.tvm-video-hub .tvm-event-filters,
.tvm-video-hub .tvm-content-wrap,
.tvm-video-hub .tvm-footer__inner{width:min(1180px,calc(100% - 48px))!important;margin-left:auto!important;margin-right:auto!important;}

/* header: one clean container */
.tvm-video-hub .tvm-hero{display:block!important;padding:24px 0!important;background:transparent!important;border:0!important;}
.tvm-video-hub .tvm-hero__top{width:100%!important;max-width:none!important;margin:0!important;padding:32px 28px!important;display:grid!important;grid-template-columns:minmax(0,1.32fr) 210px minmax(300px,.96fr)!important;align-items:center!important;gap:30px!important;background:linear-gradient(135deg,rgba(1,35,45,.94),rgba(0,84,91,.76))!important;border:1px solid rgba(130,232,238,.20)!important;border-radius:28px!important;box-shadow:0 26px 70px rgba(0,0,0,.26)!important;overflow:hidden!important;}
.tvm-video-hub .tvm-hero__brand-col,.tvm-video-hub .tvm-hero__logo-col,.tvm-video-hub .tvm-hero__live-col{min-width:0!important;position:relative!important;}
.tvm-video-hub .tvm-hero h2{color:#fff!important;font-size:clamp(38px,4.25vw,62px)!important;line-height:.98!important;letter-spacing:-.05em!important;margin:14px 0 14px!important;text-shadow:none!important;}
.tvm-video-hub .tvm-eyebrow{color:rgba(237,251,255,.82)!important;font-size:11px!important;letter-spacing:.34em!important;text-transform:uppercase!important;font-weight:900!important;margin:0!important;}
.tvm-video-hub .tvm-intro{color:#fff!important;font-size:17px!important;line-height:1.35!important;margin:0!important;}
.tvm-video-hub .tvm-site-logo{width:182px!important;height:182px!important;margin:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;background:transparent!important;box-shadow:none!important;}
.tvm-video-hub .tvm-site-logo img{width:100%!important;height:100%!important;object-fit:contain!important;}

/* live box: rebuild as one online-TV frame, no generated icons/ghost blocks */
.tvm-video-hub .tvm-live-actions,
.tvm-video-hub .tvm-live-box::before,
.tvm-video-hub .tvm-live-box::after,
.tvm-video-hub .tvm-live-box__icon::before,
.tvm-video-hub .tvm-live-box__icon::after{display:none!important;content:none!important;}
.tvm-video-hub .tvm-live-box{width:100%!important;min-height:128px!important;margin:0!important;padding:18px 20px!important;display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;grid-template-areas:"screen status" "screen text"!important;align-items:center!important;gap:10px 18px!important;background:linear-gradient(135deg,rgba(0,69,75,.78),rgba(2,35,46,.88))!important;border:1px solid rgba(129,232,240,.30)!important;border-radius:22px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.03),0 18px 45px rgba(0,0,0,.22)!important;text-align:left!important;color:#fff!important;overflow:hidden!important;}
.tvm-video-hub .tvm-live-box *{color:#fff!important;text-shadow:none!important;}
.tvm-video-hub .tvm-live-box__status{grid-area:status!important;justify-self:center!important;align-self:end!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:142px!important;padding:8px 18px!important;border-radius:999px!important;background:rgba(0,122,132,.38)!important;border:1px solid rgba(130,232,238,.36)!important;color:#c9fbff!important;font-size:12px!important;line-height:1!important;letter-spacing:.24em!important;font-weight:950!important;text-transform:uppercase!important;box-shadow:none!important;}
.tvm-video-hub .tvm-live-box.is-live .tvm-live-box__status{background:#b80f20!important;border-color:#ff5a68!important;color:#fff!important;}
.tvm-video-hub .tvm-live-box__body{display:contents!important;}
.tvm-video-hub .tvm-live-box__icon{grid-area:screen!important;width:66px!important;height:66px!important;align-self:center!important;justify-self:center!important;border-radius:16px!important;background:linear-gradient(180deg,#09a2b4,#004b55)!important;border:3px solid #b9f8ff!important;box-shadow:0 0 0 1px rgba(0,0,0,.25),0 14px 34px rgba(0,0,0,.22)!important;font-size:0!important;color:transparent!important;position:relative!important;display:block!important;}
.tvm-video-hub .tvm-live-box__icon{--leg:#d3a83f;}
.tvm-video-hub .tvm-live-box__icon:after{content:""!important;display:block!important;position:absolute!important;left:50%!important;bottom:-30px!important;width:36px!important;height:26px!important;transform:translateX(-50%)!important;background:linear-gradient(var(--leg),var(--leg)) center 0/36px 5px no-repeat,linear-gradient(var(--leg),var(--leg)) center 10px/36px 5px no-repeat,linear-gradient(var(--leg),var(--leg)) center 20px/36px 5px no-repeat!important;border-radius:8px!important;}
.tvm-video-hub .tvm-live-box__meta{grid-area:text!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:start!important;text-align:center!important;min-width:0!important;gap:3px!important;}
.tvm-video-hub .tvm-live-box__meta strong{display:block!important;color:#fff!important;font-size:18px!important;line-height:1.1!important;font-weight:950!important;margin:0!important;}
.tvm-video-hub .tvm-live-box__meta small{display:block!important;color:rgba(235,251,255,.86)!important;font-size:13px!important;line-height:1.25!important;margin:0!important;}

/* tabs/body axis: one visual width, menu centered against the header shell */
.tvm-video-hub .tvm-tabs-bar{width:100%!important;max-width:100%!important;margin:0!important;padding:14px 24px!important;background:rgba(0,25,34,.56)!important;border-top:1px solid rgba(130,232,238,.16)!important;border-bottom:1px solid rgba(130,232,238,.16)!important;overflow:hidden!important;}
.tvm-video-hub .tvm-tabs-inner{width:min(1180px,calc(100% - 48px))!important;margin:0 auto!important;padding:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;column-gap:20px!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.tvm-video-hub .tvm-category-nav{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-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
.tvm-video-hub .tvm-category-nav::-webkit-scrollbar{display:none!important;}
.tvm-video-hub .tvm-category-nav a{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 24px!important;border-radius:12px!important;background:rgba(9,34,45,.92)!important;border:1px solid rgba(134,226,236,.24)!important;color:#fff!important;font-size:15px!important;line-height:1!important;font-weight:900!important;text-decoration:none!important;white-space:nowrap!important;box-shadow:none!important;}
.tvm-video-hub .tvm-category-nav a.is-active{background:linear-gradient(135deg,#05a9bd,#07879a)!important;border-color:rgba(189,251,255,.72)!important;color:#fff!important;box-shadow:0 10px 24px rgba(0,159,181,.20)!important;}
.tvm-video-hub .tvm-tabs-add-event{position:static!important;transform:none!important;justify-self:end!important;white-space:nowrap!important;margin:0!important;min-height:42px!important;padding:0 22px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(175,241,248,.22)!important;color:#fff!important;font-weight:950!important;}
.tvm-video-hub .tvm-tabs-add-event::before{content:""!important;width:1px!important;height:30px!important;margin-right:20px!important;background:rgba(150,232,240,.24)!important;display:inline-block!important;vertical-align:middle!important;}
.tvm-video-hub .tvm-tabs-mobile-toggle{display:none!important;}
.tvm-video-hub .tvm-content-filters{width:min(1180px,calc(100% - 48px))!important;margin-left:auto!important;margin-right:auto!important;}
.tvm-video-hub .tvm-layout{width:min(1180px,calc(100% - 48px))!important;max-width:1180px!important;margin:0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:30px!important;align-items:start!important;}
.tvm-video-hub .tvm-main{min-width:0!important;width:100%!important;}
.tvm-video-hub .tvm-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;}
.tvm-video-hub .tvm-card{width:100%!important;max-width:none!important;}
.tvm-video-hub .tvm-card__button{width:100%!important;}
.tvm-video-hub .tvm-sidebar{width:360px!important;max-width:none!important;min-width:0!important;justify-self:stretch!important;}
.tvm-video-hub .tvm-top10{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;padding:22px 22px 20px!important;}

/* filters: same visual axis as header/tabs */
.tvm-video-hub .tvm-event-filters{margin-top:24px!important;margin-bottom:28px!important;display:flex!important;flex-wrap:wrap!important;align-items:end!important;justify-content:center!important;gap:14px!important;padding:20px!important;background:rgba(0,27,38,.72)!important;border:1px solid rgba(139,230,239,.16)!important;border-radius:22px!important;box-shadow:none!important;}
.tvm-video-hub .tvm-event-filters label{min-width:150px!important;max-width:190px!important;flex:1 1 150px!important;}
.tvm-video-hub .tvm-event-filters label span{color:rgba(234,250,255,.62)!important;font-size:12px!important;font-weight:850!important;}
.tvm-video-hub .tvm-event-filters select,.tvm-video-hub .tvm-event-filters input{height:46px!important;border-radius:13px!important;font-size:13px!important;}
.tvm-video-hub .tvm-event-filters button{height:46px!important;border-radius:999px!important;padding:0 22px!important;}

/* static modal legacy block removed in 1.1.24; static-panel.css is the single source */
/* close buttons: calmer teal, does not cover title text */
.tvm-video-hub .tvm-modal__close{top:18px!important;right:18px!important;width:54px!important;height:54px!important;border-radius:999px!important;background:linear-gradient(135deg,#00899b,#006d7b)!important;border:1px solid rgba(183,247,255,.36)!important;color:#fff!important;box-shadow:0 14px 38px rgba(0,0,0,.30)!important;z-index:25!important;}

/* footer: one clean axis, no inline slash separator */
.tvm-video-hub .tvm-footer{margin-top:32px!important;padding:30px 0 34px!important;background:#00353c!important;}
.tvm-video-hub .tvm-footer__inner{display:grid!important;grid-template-columns:minmax(260px,1fr) minmax(160px,auto) minmax(260px,1fr)!important;gap:28px!important;align-items:center!important;padding:0!important;}
.tvm-video-hub .tvm-footer__copy{justify-self:start!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;min-width:0!important;}
.tvm-video-hub .tvm-footer__copy strong{font-size:20px!important;line-height:1.15!important;color:#fff!important;}
.tvm-video-hub .tvm-footer__copy > span:not(.tvm-footer__rights){font-size:12px!important;color:rgba(234,250,255,.72)!important;}
.tvm-video-hub .tvm-footer__rights{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;font-size:12px!important;line-height:1.45!important;color:rgba(234,250,255,.78)!important;}
.tvm-video-hub .tvm-footer__rights-line{display:block!important;white-space:normal!important;}
.tvm-video-hub .tvm-footer__rights-line--design{display:block!important;margin:0!important;}
.tvm-video-hub .tvm-footer__rights-line--design::before{content:none!important;display:none!important;}
.tvm-video-hub .tvm-footer-socials{justify-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;}
.tvm-video-hub .tvm-footer__menu{justify-self:end!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:12px!important;}
.tvm-video-hub .tvm-footer button{min-height:34px!important;padding:0 18px!important;border-radius:999px!important;}

/* Mobile: menu button only, dropdown list, top/footer/static readable */
@media(max-width:760px){
  .tvm-video-hub .tvm-hero,.tvm-video-hub .tvm-event-filters,.tvm-video-hub .tvm-content-wrap,.tvm-video-hub .tvm-footer__inner{width:calc(100% - 28px)!important;}
  .tvm-video-hub .tvm-hero__top{grid-template-columns:1fr!important;text-align:center!important;padding:24px 18px!important;gap:16px!important;}
  .tvm-video-hub .tvm-hero h2{font-size:38px!important;margin:10px 0 10px!important;}
  .tvm-video-hub .tvm-eyebrow{font-size:10px!important;letter-spacing:.28em!important;}
  .tvm-video-hub .tvm-site-logo{width:132px!important;height:132px!important;}
  .tvm-video-hub .tvm-live-box{max-width:360px!important;margin:0 auto!important;grid-template-columns:74px 1fr!important;padding:18px!important;}
  .tvm-video-hub .tvm-tabs-bar{padding:12px 14px!important;overflow:visible!important;}
  .tvm-video-hub .tvm-tabs-inner{width:100%!important;display:grid!important;grid-template-columns:1fr 54px!important;gap:10px!important;align-items:center!important;}
  .tvm-video-hub .tvm-tabs-mobile-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:52px!important;border-radius:999px!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(177,243,250,.28)!important;color:#fff!important;font-weight:950!important;}
  .tvm-video-hub .tvm-tabs-mobile-toggle strong::before{content:"Rozwiń menu: "!important;font-weight:800!important;color:rgba(255,255,255,.72)!important;}
  .tvm-video-hub .tvm-tabs-inner.is-open .tvm-tabs-mobile-toggle strong::before{content:"Zwiń menu: "!important;}
  .tvm-video-hub .tvm-category-nav{grid-column:1/-1!important;display:none!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;background:rgba(0,26,37,.96)!important;border:1px solid rgba(145,232,240,.22)!important;border-radius:20px!important;padding:10px!important;box-shadow:0 20px 50px rgba(0,0,0,.32)!important;}
  .tvm-video-hub .tvm-tabs-inner.is-open .tvm-category-nav{display:flex!important;}
  .tvm-video-hub .tvm-category-nav a{width:100%!important;justify-content:center!important;}
  .tvm-video-hub .tvm-tabs-add-event{position:static!important;transform:none!important;width:54px!important;height:54px!important;min-height:54px!important;padding:0!important;border-radius:50%!important;justify-self:end!important;}
  .tvm-video-hub .tvm-tabs-add-event::before{display:none!important;content:none!important;}
  .tvm-video-hub .tvm-tabs-add-event span:not(.tvm-filter-add-event__icon){display:none!important;}
  .tvm-video-hub .tvm-event-filters{padding:16px!important;}
  .tvm-video-hub .tvm-footer__inner{display:flex!important;flex-direction:column!important;text-align:center!important;align-items:center!important;gap:18px!important;padding:28px 0 36px!important;}
  .tvm-video-hub .tvm-footer__copy,.tvm-video-hub .tvm-footer__rights{align-items:center!important;text-align:center!important;}
  .tvm-video-hub .tvm-footer__menu{justify-content:center!important;}
  .tvm-video-hub .tvm-footer__rights-line--design{display:block!important;margin:0!important;}
  .tvm-video-hub .tvm-footer__rights-line--design::before{content:none!important;display:none!important;}
}


/* TVM 1.1.54 — PC tabs cleanup: stop clipping tab outlines and keep visual breathing room. */
@media (min-width: 761px){
  .tvm-video-hub .tvm-tabs-bar{
    padding:18px 28px !important;
    overflow:visible !important;
  }
  .tvm-video-hub .tvm-tabs-inner{
    width:min(1220px,calc(100% - 20px)) !important;
    align-items:center !important;
    column-gap:22px !important;
    overflow:visible !important;
  }
  .tvm-video-hub .tvm-category-nav,
  .tvm-video-hub .tvm-tabs,
  .tvm-video-hub .tvm-tabs-row{
    overflow:visible !important;
  }
  .tvm-video-hub .tvm-tabs button,
  .tvm-video-hub .tvm-category-toggle{
    position:relative;
    top:0;
    margin:2px 0 !important;
  }
  .tvm-video-hub .tvm-tabs-add-event{
    min-height:44px !important;
    padding:0 24px !important;
  }
}
