/* Video Hub Core 1.1.7 — cleanup after visual audit: modal, live TV, tabs, static forms */

:root{--tvm-gold:#ffc247;--tvm-deep:#021a25;--tvm-panel:#062f3a;--tvm-sea:#075d63;--tvm-line:rgba(137,238,246,.24);}
html,body{overflow-x:hidden!important;}
.tvm-video-hub{width:100%!important;max-width:100%!important;position:relative!important;left:auto!important;right:auto!important;margin:0!important;overflow-x:hidden!important;font-family:Inter,Roboto,"Open Sans","Noto Sans",Arial,sans-serif!important;}
.tvm-video-hub *,.tvm-modal *{box-sizing:border-box!important;}

/* Tabs bar: desktop clean, mobile hamburger only */
.tvm-video-hub .tvm-tabs-bar{width:100%!important;max-width:100%!important;padding:14px clamp(18px,5vw,76px)!important;overflow:hidden!important;}
.tvm-video-hub .tvm-tabs-inner{width:100%!important;max-width:100%!important;display:grid!important;grid-template-columns:1fr auto!important;gap:18px!important;align-items:center!important;}
.tvm-video-hub .tvm-tabs-mobile-toggle{display:none!important;visibility:hidden!important;}
.tvm-video-hub .tvm-category-nav{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:100%!important;max-width:100%!important;overflow:visible!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;}
.tvm-video-hub .tvm-category-nav a{min-height:42px!important;padding:0 20px!important;border-radius:13px!important;background:linear-gradient(180deg,#143945,#071f2b)!important;border:1px solid var(--tvm-line)!important;color:#fff!important;text-decoration:none!important;font-weight:900!important;white-space:nowrap!important;}
.tvm-video-hub .tvm-category-nav a.is-active,.tvm-video-hub .tvm-category-nav a:hover{background:linear-gradient(135deg,#0aa9c0,#08859a)!important;border-color:rgba(198,250,255,.75)!important;color:#fff!important;}
.tvm-video-hub .tvm-tabs-add-event{justify-self:end!important;white-space:nowrap!important;border-radius:999px!important;background:linear-gradient(135deg,#143945,#071f2b)!important;color:#fff!important;border:1px solid var(--tvm-line)!important;}

/* Filters centered */
.tvm-video-hub .tvm-content-filters,.tvm-video-hub .tvm-event-filters{width:min(calc(100% - 32px),1240px)!important;margin:28px auto!important;justify-content:center!important;align-items:end!important;}

/* Cards: kill old white separator/old background completely */
.tvm-video-hub .tvm-card,.tvm-video-hub .tvm-card--teaser,.tvm-video-hub .tvm-card--event,.tvm-video-hub .tvm-card--patron,.tvm-video-hub .tvm-card--podcast{background:#064f57!important;border:1px solid rgba(126,232,242,.36)!important;overflow:hidden!important;color:#fff!important;box-shadow:0 18px 45px rgba(0,0,0,.16)!important;}
.tvm-video-hub .tvm-card__button{padding:0!important;background:#064f57!important;color:#fff!important;border:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
.tvm-video-hub .tvm-card__thumb{display:block!important;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:16/9!important;margin:0!important;padding:0!important;border:0!important;border-bottom:0!important;border-top:0!important;border-radius:0!important;background:#042734!important;line-height:0!important;overflow:hidden!important;box-shadow:none!important;}
.tvm-video-hub .tvm-card__thumb::before,.tvm-video-hub .tvm-card__thumb::after{display:none!important;content:none!important;}
.tvm-video-hub .tvm-card__thumb img{display:block!important;width:100%!important;height:100%!important;min-height:100%!important;object-fit:cover!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;vertical-align:top!important;background:#042734!important;}
.tvm-video-hub .tvm-card__content{margin:0!important;padding:20px 22px 18px!important;border:0!important;background:linear-gradient(180deg,#075b61 0%,#05474f 100%)!important;color:#fff!important;}
.tvm-video-hub .tvm-card__thumb + .tvm-card__content{border-top:0!important;box-shadow:inset 0 1px 0 rgba(137,238,246,.12)!important;}
.tvm-video-hub .tvm-card__title{color:#fff!important;font-weight:950!important;line-height:1.12!important;}
.tvm-video-hub .tvm-card__description{color:rgba(255,255,255,.86)!important;background:transparent!important;border:0!important;padding:0!important;}
.tvm-video-hub .tvm-card__meta{border-top:1px solid rgba(137,238,246,.14)!important;color:#fff!important;}
.tvm-video-hub .tvm-card__stars{background:rgba(255,194,71,.12)!important;color:var(--tvm-gold)!important;border:1px solid rgba(255,194,71,.2)!important;}
.tvm-video-hub .tvm-card__share-icon{background:var(--tvm-gold)!important;color:#041822!important;border:0!important;}

/* Live TV: one screen only, no duplicated white OFF block */
.tvm-video-hub .tvm-live-box{display:grid!important;grid-template-columns:92px 1fr!important;grid-template-rows:auto 1fr!important;grid-template-areas:"screen badge" "screen text"!important;align-items:center!important;gap:10px 18px!important;min-height:124px!important;padding:20px 24px!important;border-radius:24px!important;background:linear-gradient(135deg,rgba(2,31,43,.94),rgba(5,85,91,.70))!important;border:1px solid rgba(137,238,246,.24)!important;color:#fff!important;text-align:left!important;}
.tvm-video-hub .tvm-live-box__body{display:contents!important;}
.tvm-video-hub .tvm-live-box__status{grid-area:badge!important;justify-self:start!important;align-self:end!important;border-radius:999px!important;padding:8px 18px!important;background:rgba(10,123,142,.34)!important;border:1px solid rgba(188,250,255,.44)!important;color:#c8fbff!important;font-weight:950!important;letter-spacing:.12em!important;}
.tvm-video-hub .tvm-live-box.is-live .tvm-live-box__status{background:#d51f2f!important;border-color:#ff7b85!important;color:#fff!important;}
.tvm-video-hub .tvm-live-box__icon{grid-area:screen!important;width:76px!important;height:64px!important;position:relative!important;display:block!important;align-self:center!important;justify-self:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:0!important;color:transparent!important;text-indent:-9999px!important;overflow:visible!important;}
.tvm-video-hub .tvm-live-box__icon::before{content:""!important;position:absolute!important;left:7px!important;top:0!important;width:60px!important;height:43px!important;border-radius:12px!important;border:3px solid #c7f7ff!important;background:linear-gradient(180deg,#05a8bd 0%,#064450 100%)!important;box-shadow:inset 0 0 16px rgba(255,255,255,.16),0 12px 25px rgba(0,0,0,.12)!important;}
.tvm-video-hub .tvm-live-box__icon::after{content:""!important;position:absolute!important;left:20px!important;bottom:0!important;width:36px!important;height:4px!important;border-radius:999px!important;background:#d7b64e!important;box-shadow:0 -10px 0 #d7b64e,0 -20px 0 #d7b64e!important;}
.tvm-video-hub .tvm-live-box__meta{grid-area:text!important;display:flex!important;flex-direction:column!important;gap:3px!important;align-self:start!important;color:#fff!important;}
.tvm-video-hub .tvm-live-box__meta strong{color:#fff!important;font-size:18px!important;line-height:1.08!important;font-weight:950!important;}
.tvm-video-hub .tvm-live-box__meta small{color:rgba(255,255,255,.82)!important;font-size:13px!important;line-height:1.24!important;}

/* End-screen suggestions across video */
.tvm-video-ended,.tvm-video-suggestions{position:absolute!important;inset:0!important;z-index:20!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(2,15,22,.88)!important;backdrop-filter:blur(5px)!important;padding:26px!important;}
.tvm-video-ended[hidden],.tvm-video-suggestions[hidden]{display:none!important;}
.tvm-video-ended__panel,.tvm-video-suggestions{color:#fff!important;width:min(100%,980px)!important;}
.tvm-video-ended__grid,.tvm-video-suggestions__grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin-top:16px!important;}
.tvm-video-ended__item,.tvm-video-suggestions__item{border:1px solid rgba(137,238,246,.20)!important;border-radius:16px!important;background:rgba(4,47,59,.86)!important;color:#fff!important;padding:10px!important;text-align:left!important;cursor:pointer!important;}
.tvm-video-ended__item img,.tvm-video-suggestions__thumb img{display:block!important;width:100%!important;aspect-ratio:16/9!important;object-fit:cover!important;border-radius:12px!important;margin-bottom:8px!important;}
.tvm-video-ended__item span,.tvm-video-suggestions__title{font-size:12px!important;line-height:1.25!important;font-weight:850!important;color:#fff!important;}

/* Static modals: one style, fixed header/footer feeling, only content scrolls */

/* Footer signature line */
.tvm-video-hub .tvm-footer__rights{display:block!important;line-height:1.45!important;}
.tvm-video-hub .tvm-footer__rights span{display:inline!important;}
.tvm-video-hub .tvm-footer__rights a{white-space:nowrap!important;}

@media (max-width:980px){
  .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;visibility:visible!important;width:min(100%,430px)!important;justify-content:center!important;margin:0 auto!important;background:rgba(15,61,72,.94)!important;color:#fff!important;border:1px solid rgba(137,238,246,.24)!important;border-radius:999px!important;}
  .tvm-video-hub .tvm-category-nav{display:none!important;width:min(100%,430px)!important;margin:10px auto 0!important;grid-template-columns:1fr!important;gap:8px!important;}
  .tvm-video-hub .tvm-category-nav.is-open{display:grid!important;}
  .tvm-video-hub .tvm-category-nav a{width:100%!important;}
  .tvm-video-hub .tvm-tabs-add-event{width:min(100%,430px)!important;margin:10px auto 0!important;justify-self:center!important;justify-content:center!important;}
  .tvm-video-hub .tvm-live-box{grid-template-columns:82px 1fr!important;width:min(100%,430px)!important;margin:0 auto!important;}
  .tvm-video-ended__grid,.tvm-video-suggestions__grid{grid-template-columns:1fr!important;max-height:62vh!important;overflow:auto!important;}
}

/* Submit choice tabs inside static modal */

@media (max-width:980px){
}
