/* ==========================================================================
   TV Split :: assets/css/news.css - the news page (templates/news.php)
   A news front page in the manner of the Israeli news sites: dense, picture
   led, headlines in a heavy face, a colour for every section, a red ticker
   and a "מבזקים" column, live channels in a dark band.
   ========================================================================== */

@font-face {
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url(../fonts/heebo-hebrew.woff2) format('woff2');
    unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
    font-family: 'Heebo';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url(../fonts/heebo-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.tvs-nw {
    --nw-red: #d6001c;
    --nw-ink: var(--text);
    --nw-gap: 18px;
    font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    padding-bottom: 48px;
}
.tvs-nw__in { width: min(1320px, 100% - 32px); margin-inline: auto; }
.tvs-nw__empty { padding: 40px; text-align: center; color: var(--text-3); }
.tvs-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--nw-red); box-shadow: 0 0 0 0 rgba(214, 0, 28, .6); animation: tvs-pulse 1.6s infinite; flex: 0 0 auto; }
@keyframes tvs-pulse { 0% { box-shadow: 0 0 0 0 rgba(214, 0, 28, .55); } 70% { box-shadow: 0 0 0 9px rgba(214, 0, 28, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 0, 28, 0); } }

/* -- section tabs ---------------------------------------------------------- */
.tvs-ntabs {
    position: sticky; z-index: 60;
    top: calc(var(--tvs-hdr) + var(--wp-admin--admin-bar--height, 0px));
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.tvs-ntabs__in {
    display: flex; align-items: center; gap: 2px;
    width: min(1320px, 100% - 32px); margin-inline: auto;
    overflow-x: auto; scrollbar-width: none;
}
.tvs-ntabs__in::-webkit-scrollbar { display: none; }
.tvs-ntab {
    flex: 0 0 auto; position: relative;
    display: inline-flex; align-items: center;
    min-height: 52px; padding: 0 14px;
    color: var(--text); text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap;
}
.tvs-ntab::after { content: ''; position: absolute; inset-inline: 10px; bottom: 0; height: 4px; border-radius: 4px 4px 0 0; background: var(--sec); transform: scaleX(0); transition: transform .18s; }
.tvs-ntab:hover { color: var(--sec); }
.tvs-ntab:hover::after, .tvs-ntab.is-on::after { transform: scaleX(1); }
.tvs-ntab.is-on { color: var(--sec); }
.tvs-ntabs__sp { flex: 1 1 auto; min-width: 12px; }
/* The visitor's sites: a button at the far end of the bar, a panel under it. */
.tvs-ntabs__in { padding-inline-end: 110px; }
.tvs-srcbtn {
    position: absolute; top: 50%; inset-inline-end: max(16px, calc((100% - 1320px) / 2)); transform: translateY(-50%);
    display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
    border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--text);
    font: inherit; font-weight: 800; font-size: 14px; cursor: pointer; box-shadow: -10px 0 12px var(--surface);
}
.tvs-srcbtn:hover, .tvs-srcbtn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.tvs-srcbtn.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.tvs-srcf {
    position: absolute; z-index: 70; top: calc(100% + 6px); inset-inline-end: max(16px, calc((100% - 1320px) / 2));
    width: min(440px, calc(100vw - 24px)); max-height: min(70vh, 560px); display: flex; flex-direction: column;
    background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
}
.tvs-srcf[hidden] { display: none; }
.tvs-srcf__hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; font-size: 15px; }
.tvs-srcf__x { width: 34px; height: 34px; border: 0; background: transparent; color: var(--text-2); font-size: 24px; cursor: pointer; }
.tvs-srcf__list { flex: 1 1 auto; overflow-y: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; padding: 4px 14px; }
.tvs-srcf__it { display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 6px; border-radius: 8px; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.tvs-srcf__it:hover { background: var(--surface-2); }
.tvs-srcf__it input { width: 17px; height: 17px; accent-color: var(--accent); }
.tvs-srcf__it span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tvs-srcf__it small { color: var(--text-3); font-size: 12px; }
.tvs-srcf__it.is-empty { opacity: .55; }
.tvs-srcf__act { display: flex; gap: 8px; padding: 10px 14px 14px; border-top: 1px solid var(--line); }
.tvs-srcf__act button { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.tvs-srcf__act .tvs-srcf__go { margin-inline-start: auto; border-color: var(--accent); background: var(--accent); color: #fff; padding: 0 22px; }
@media (max-width: 680px) {
    .tvs-ntabs__in { padding-inline-end: 56px; }
    .tvs-srcbtn { inset-inline-end: 8px; padding: 0 10px; }
    .tvs-srcbtn span { display: none; }
    .tvs-srcf { position: fixed; top: auto; bottom: 0; inset-inline: 0; width: auto; max-height: 75vh; border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
.tvs-ntabs__live, .tvs-ntabs__radio {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
    min-height: 34px; padding: 0 14px; margin-inline-start: 6px;
    border-radius: 999px; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap;
}
.tvs-ntabs__live { background: var(--nw-red); color: #fff; }
.tvs-ntabs__live .tvs-dot { background: #fff; animation: none; }
.tvs-ntabs__radio { border: 2px solid var(--text); color: var(--text); }

/* -- the ticker ------------------------------------------------------------ */
.tvs-ticker { background: #111418; color: #fff; }
.tvs-ticker__in { display: flex; align-items: stretch; width: min(1320px, 100% - 32px); margin-inline: auto; min-height: 42px; }
.tvs-ticker__lab { flex: 0 0 auto; display: flex; align-items: center; padding: 0 16px; background: var(--nw-red); font-weight: 900; font-size: 15px; }
.tvs-ticker__vp { flex: 1 1 auto; overflow: hidden; position: relative; display: flex; align-items: center; }
.tvs-ticker__vp::before, .tvs-ticker__vp::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 1; pointer-events: none; }
.tvs-ticker__vp::before { inset-inline-start: 0; background: linear-gradient(to var(--tvs-end, left), #111418, transparent); }
.tvs-ticker__vp::after { inset-inline-end: 0; background: linear-gradient(to var(--tvs-start, right), #111418, transparent); }
.tvs-ticker__run { display: flex; gap: 40px; width: max-content; padding-inline-start: 24px; animation: tvs-tick 90s linear infinite; }
[dir="rtl"] .tvs-ticker__run { animation-name: tvs-tick-rtl; }
.tvs-ticker:hover .tvs-ticker__run, .tvs-ticker:focus-within .tvs-ticker__run { animation-play-state: paused; }
.tvs-ticker__run a { color: #e9edf3; text-decoration: none; white-space: nowrap; font-size: 15px; }
.tvs-ticker__run a:hover { color: #fff; text-decoration: underline; }
.tvs-ticker__run b { color: #ff5a6e; font-weight: 800; margin-inline-end: 6px; }
@keyframes tvs-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tvs-tick-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) {
    .tvs-ticker__run { animation: none; }
    .tvs-ticker__vp { overflow-x: auto; }
    .tvs-dot { animation: none; }
}

/* -- a section page's title ------------------------------------------------ */
.tvs-sechead { margin: 22px 0 4px; }
.tvs-sechead h1 { display: inline-block; margin: 0; padding-bottom: 6px; font-size: 34px; font-weight: 900; border-bottom: 5px solid var(--sec); }

/* -- one story (.tvs-c) ---------------------------------------------------- */
.tvs-c { position: relative; min-width: 0; }
.tvs-c__a { color: inherit; text-decoration: none; }
.tvs-c__a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.tvs-c__a:focus-visible { outline: none; }
.tvs-c:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 12px; }
.tvs-c:hover .tvs-c__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tvs-c__pic { position: relative; overflow: hidden; background: var(--surface-2); }
.tvs-c__pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tvs-c:hover .tvs-c__pic img { transform: scale(1.04); }
.tvs-c__tag { display: inline-block; color: var(--sec); font-weight: 800; font-size: 13px; letter-spacing: .2px; }
.tvs-c__t { margin: 0; font-weight: 800; line-height: 1.28; color: var(--nw-ink); }
.tvs-c__sum { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tvs-c__meta { color: var(--text-3); font-size: 13px; }
.tvs-c__src { font-weight: 700; color: var(--text-2); }
.tvs-c__tg { display: inline-block; vertical-align: -2px; margin-inline-end: 4px; }
.tvs-c__more { position: relative; z-index: 3; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tvs-c__more a { padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; backdrop-filter: blur(4px); }
.tvs-c__more a:hover { background: rgba(255, 255, 255, .32); }
.tvs-c__morel { align-self: center; color: rgba(255, 255, 255, .85); font-size: 12px; font-weight: 700; }
.tvs-c--card .tvs-c__more, .tvs-c--side .tvs-c__more { margin-top: 8px; align-items: center; }
.tvs-c--card .tvs-c__morel, .tvs-c--side .tvs-c__morel { color: var(--text-3); }
.tvs-c--card .tvs-c__more a, .tvs-c--side .tvs-c__more a { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); backdrop-filter: none; font-size: 12px; padding: 1px 9px; }
.tvs-c--card .tvs-c__more a:hover, .tvs-c--side .tvs-c__more a:hover { border-color: var(--sec); color: var(--sec); }

/* hero / over: the headline over the picture */
.tvs-c--hero, .tvs-c--over {
    height: 100%; min-height: 220px; border-radius: 14px; overflow: hidden;
    background: linear-gradient(135deg, var(--sec), #0d1117);
    color: #fff; isolation: isolate;
}
.tvs-c--hero .tvs-c__pic, .tvs-c--over .tvs-c__pic { position: absolute; inset: 0; z-index: -1; background: transparent; }
.tvs-c--hero::before, .tvs-c--over::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, 0) 70%);
}
.tvs-c__over { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; }
.tvs-c--hero .tvs-c__tag, .tvs-c--over .tvs-c__tag { align-self: flex-start; padding: 3px 10px; border-radius: 4px; background: var(--sec); color: #fff; font-size: 13px; }
.tvs-c--hero .tvs-c__t, .tvs-c--over .tvs-c__t { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.tvs-c--hero .tvs-c__t { font-size: clamp(24px, 2.3vw, 36px); font-weight: 900; line-height: 1.18; }
.tvs-c--over .tvs-c__t { font-size: 19px; }
.tvs-c--hero .tvs-c__sum { color: rgba(255, 255, 255, .88); font-size: 16px; -webkit-line-clamp: 2; }
.tvs-c--hero .tvs-c__meta, .tvs-c--over .tvs-c__meta, .tvs-c--hero .tvs-c__src, .tvs-c--over .tvs-c__src { color: rgba(255, 255, 255, .8); }
.tvs-c--over .tvs-c__over { padding: 16px 18px; }
.tvs-c.is-noimg.tvs-c--hero, .tvs-c.is-noimg.tvs-c--over { background: linear-gradient(135deg, var(--sec) 0%, color-mix(in srgb, var(--sec) 45%, #000) 100%); }

/* card: picture on top */
.tvs-c--card { display: flex; flex-direction: column; background: var(--surface); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 1px var(--line); }
.tvs-c--card .tvs-c__pic { aspect-ratio: 16 / 9; }
.tvs-c--card .tvs-c__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1 1 auto; }
.tvs-c--card .tvs-c__t { font-size: 17.5px; }
.tvs-c--card .tvs-c__meta { margin-top: auto; }
.tvs-c--card.is-noimg .tvs-c__body { border-top: 5px solid var(--sec); }

/* side: a small picture beside */
.tvs-c--side { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.tvs-c--side .tvs-c__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tvs-c--side .tvs-c__t { font-size: 16px; }
.tvs-c--side .tvs-c__pic { flex: 0 0 128px; width: 128px; aspect-ratio: 16 / 10; border-radius: 8px; }

/* flash: the breaking column */
.tvs-c--flash { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.tvs-c--flash:first-child { border-top: 0; }
.tvs-c__hm { flex: 0 0 auto; width: 44px; color: var(--nw-red); font-weight: 900; font-size: 14px; line-height: 1.5; }
.tvs-c--flash .tvs-c__body { flex: 1 1 auto; min-width: 0; }
.tvs-c--flash .tvs-c__t { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.tvs-c--flash .tvs-c__meta { font-size: 12px; margin-top: 2px; }

/* num: the latest list */
.tvs-c--num { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.tvs-c__num { flex: 0 0 auto; width: 30px; color: var(--sec); font-weight: 900; font-size: 26px; line-height: 1; }
.tvs-c--num .tvs-c__t { font-size: 15px; }

/* -- the top --------------------------------------------------------------- */
.tvs-top {
    display: grid; gap: var(--nw-gap);
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr) minmax(300px, 1.15fr);
    grid-template-rows: 265px 265px;
    margin-top: 20px;
}
.tvs-top__lead { grid-row: 1 / 3; }
.tvs-top__two { grid-row: 1 / 3; display: grid; grid-template-rows: 1fr 1fr; gap: var(--nw-gap); min-height: 0; }
/* The third column: the TV on top, the flashes under it to the bottom of the block. */
.tvs-top__col { grid-row: 1 / 3; display: flex; flex-direction: column; gap: var(--nw-gap); min-width: 0; min-height: 0; }
.tvs-top__col > .tvs-sidetv { flex: 0 0 auto; }
.tvs-top__col > .tvs-flash { flex: 1 1 0; min-height: 150px; }
.tvs-flash { grid-row: 1 / 3; display: flex; flex-direction: column; min-height: 0; background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.tvs-flash__h { display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px 16px; font-size: 19px; font-weight: 900; border-bottom: 3px solid var(--nw-red); }
.tvs-flash__list { flex: 1 1 auto; overflow-y: auto; padding: 2px 16px 8px; scrollbar-width: thin; }

.tvs-row4 { display: grid; gap: var(--nw-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--nw-gap); }
.tvs-row4:empty { display: none; }

/* -- live band ------------------------------------------------------------- */
.tvs-live {
    display: grid; gap: 14px 16px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    margin-top: 26px; padding: 16px;
    background: linear-gradient(135deg, #12151b, #1d2330); color: #fff;
    border-radius: 16px;
}
/* Television and radio, each in a frame of its own, the radio one tinted. */
.tvs-live__row {
    min-width: 0; padding: 12px 14px 8px;
    background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .11); border-radius: 14px;
}
.tvs-live__row--radio { background: rgba(143, 211, 232, .06); border-color: rgba(143, 211, 232, .2); }
.tvs-live__ri { flex: 0 0 auto; color: #8fd3e8; }
/* A row scrolls sideways: its far end fades out, and arrows (news.js) move it. */
.tvs-live__rail { position: relative; --fs: 0px; --fe: 0px; }
.tvs-live__rail:not(.is-start) { --fs: 44px; }
.tvs-live__rail:not(.is-end) { --fe: 44px; }
.tvs-live__rail .tvs-live__strip {
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 var(--fs), #000 calc(100% - var(--fe)), transparent 100%);
    mask-image: linear-gradient(to left, transparent 0, #000 var(--fs), #000 calc(100% - var(--fe)), transparent 100%);
}
:root:not([dir="rtl"]) .tvs-live__rail .tvs-live__strip {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fs), #000 calc(100% - var(--fe)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--fs), #000 calc(100% - var(--fe)), transparent 100%);
}
.tvs-live__rail .tvs-live__strip::-webkit-scrollbar { display: none; }
.tvs-live__arr {
    position: absolute; z-index: 2; top: 13px;
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
    background: #fff; color: #12151b; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .45);
    transition: transform .15s, background .15s;
}
.tvs-live__arr:hover { background: #01a6d4; color: #fff; transform: scale(1.08); }
.tvs-live__arr[hidden] { display: none; }
.tvs-live__arr--back { inset-inline-start: -8px; }
.tvs-live__arr--more { inset-inline-end: -8px; }
.tvs-live__hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.tvs-live__hd h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 20px; font-weight: 900; color: #fff; }
.tvs-live__hd a { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 2px; color: #8fd3e8; font-weight: 700; font-size: 14px; text-decoration: none; }
.tvs-live__hd a:hover { text-decoration: underline; }
.tvs-live__strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #3a4252 transparent; }
.tvs-live__ch { flex: 0 0 92px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: #d8dee8; text-decoration: none; }
.tvs-live__logo {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 92px; height: 58px; border-radius: 10px; overflow: hidden;
    background: var(--logo-bg); border: 1px solid var(--logo-line);
    font-weight: 800; color: var(--logo-fg); transition: border-color .15s, transform .15s;
}
.tvs-live__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.tvs-live__ch:hover .tvs-live__logo { border-color: #01a6d4; transform: translateY(-2px); }
.tvs-live__row:not(.tvs-live__row--radio) .tvs-live__logo::after { content: 'LIVE'; position: absolute; top: 4px; inset-inline-start: 4px; padding: 0 4px; border-radius: 3px; background: var(--nw-red); color: #fff; font-size: 9px; font-weight: 800; line-height: 14px; }
.tvs-live__row--radio .tvs-live__logo { border-radius: 50%; width: 58px; }
.tvs-live__row--radio .tvs-live__ch { flex-basis: 72px; }
.tvs-live__nm { max-width: 100%; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* -- the body: sections and the side column --------------------------------- */
.tvs-nw__body { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) 320px; margin-top: 26px; align-items: start; }
.tvs-nw__side { align-self: stretch; display: flex; flex-direction: column; gap: 18px; }
.tvs-nw__side > :last-child:not(.tvs-latest) { position: sticky; top: calc(var(--tvs-hdr) + var(--wp-admin--admin-bar--height, 0px) + 68px); }
.tvs-latest { background: var(--surface); border-radius: 14px; padding: 14px 18px 6px; box-shadow: 0 0 0 1px var(--line); --sec: var(--nw-red); }
.tvs-latest__h { margin: 0 0 4px; font-size: 20px; font-weight: 900; }
.tvs-latest .tvs-c--num:first-of-type { border-top: 0; }

.tvs-sec { margin-bottom: 30px; }
.tvs-sec__hd { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--line); }
.tvs-sec__hd h2 { margin: 0 0 -2px; padding: 0 0 6px; font-size: 26px; font-weight: 900; border-bottom: 5px solid var(--sec); }
.tvs-sec__hd h2 a { color: var(--text); text-decoration: none; }
.tvs-sec__hd h2 a:hover { color: var(--sec); }
.tvs-sec__all { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 2px; padding-bottom: 8px; color: var(--sec); font-weight: 800; font-size: 14px; text-decoration: none; }
.tvs-sec__all:hover { text-decoration: underline; }
.tvs-sec__a { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.tvs-sec__a .tvs-c--card .tvs-c__t { font-size: 22px; font-weight: 900; }
.tvs-sec__list .tvs-c--side:first-child { border-top: 0; padding-top: 0; }
.tvs-sec__b { display: grid; gap: var(--nw-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tvs-grid3 { display: grid; gap: var(--nw-gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tvs-grid3 > .tvs-c--side { border-top: 0; padding: 14px; background: var(--surface); border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.tvs-grid3__ad { grid-column: 1 / -1; }
.tvs-nw .stv-ad--at-news { margin: 24px 0 0; }

/* The "more" arrow: a drawing, so it points left (onward, in Hebrew) whatever the text around it. */
.tvs-more-i { flex: 0 0 auto; width: 1.05em; height: 1.05em; vertical-align: -.16em; }
html[dir="ltr"] .tvs-more-i { transform: scaleX(-1); }

/* -- the TV at the top ------------------------------------------------ */
.tvs-sidetv { background: var(--surface); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.tvs-sidetv { container: tvsside / inline-size; }
.tvs-sidetv__hd { display: flex; align-items: center; gap: 6px; padding: 9px 10px 6px 12px; padding-inline: 12px 10px; flex-wrap: nowrap; }
.tvs-sidetv__hd > * { flex: 0 0 auto; white-space: nowrap; }
.tvs-sidetv__hd h2 { flex: 1 1 auto; min-width: 0; }
.tvs-sidetv__hd h2 { display: flex; align-items: center; gap: 8px; margin: 0; margin-inline-end: auto; font-size: 18px; font-weight: 900; }
.tvs-sidetv__hd a { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-weight: 700; font-size: 13px; text-decoration: none; }
.tvs-sidetv__hd a:hover { text-decoration: underline; }
/* Pops the TV out as the chat's floating window (stvFloat), and back. */
.tvs-sidetv__hd .tvs-chbtn,
.tvs-sidetv__float {
    display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; min-height: 30px;
    border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--text);
    font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.tvs-sidetv__float:hover, .tvs-sidetv__float[aria-pressed="true"],
.tvs-sidetv__hd .tvs-chbtn:hover, .tvs-sidetv__hd .tvs-chbtn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
.tvs-sidetv__hd .tvs-chbtn .tvs-i { width: 15px; height: 15px; }
.tvs-sidetv__hd a.tvs-sidetv__edit { gap: 3px; padding: 4px; color: var(--text-2); font-weight: 600; font-size: 12px; }
/* a narrow box: the managers' "Edit" is its pencil only, then the buttons their icons only */
@container tvsside (max-width: 430px) { .tvs-sidetv__edit span { display: none; } }
@container tvsside (max-width: 340px) { .tvs-sidetv__float span, .tvs-sidetv__hd .tvs-chbtn span { display: none; } }
@media (max-width: 600px) { .tvs-sidetv__float { display: none; } }
/* While it floats, the place it left is a short note with the way back. */
.tvs-sidetv__screen .stv_host.stv_host_away .stv_host_ph_away { position: absolute; inset: 0; min-height: 0; justify-content: center; align-content: center; gap: 10px; text-align: center; }
/* The channels as buttons above the picture - the chat's compact window strip. */
/* As many to a row as fit, each shrinking to fit the box - never a row to scroll sideways. */
.tvs-sidetv__chs {
    display: grid; gap: 6px; padding: 2px 12px 8px;
    grid-template-columns: repeat(auto-fill, minmax(46px, 1fr));
}
.tvs-sidetv__ch {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-width: 0; height: auto; aspect-ratio: 8 / 5; max-height: 40px; padding: 0; overflow: hidden;
    border: 1px solid var(--line-2); border-radius: 8px;
    background: var(--logo-bg); color: var(--text-2);
    font: inherit; font-size: 12px; font-weight: 800; cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.tvs-sidetv__ch img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.tvs-sidetv__ch:hover { border-color: var(--accent); }
.tvs-sidetv__ch.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.tvs-sidetv__screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.tvs-sidetv__drop { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1); }
.tvs-sidetv.is-open .tvs-sidetv__drop { grid-template-rows: 1fr; }
.tvs-sidetv__dropin { min-height: 0; overflow: hidden; }
.tvs-sidetv__hint { display: flex; align-items: center; gap: 4px; margin: -2px 0 0; padding: 0 12px 10px; color: var(--text-2); font-size: 13px; font-weight: 600; }
.tvs-sidetv__hint a { display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-weight: 700; text-decoration: none; }
.tvs-sidetv__hint a:hover { text-decoration: underline; }
.tvs-sidetv.is-open .tvs-sidetv__hint { display: none; }
.tvs-sidetv__x {
    display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0;
    border: 0; border-radius: 8px; background: transparent; color: var(--text-2); cursor: pointer;
}
.tvs-sidetv__x:hover { background: var(--surface-2); color: var(--nw-red); }
.tvs-sidetv__x[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .tvs-sidetv__drop { transition: none; } }
/* Starts without sound; one press turns it on (the wall's own sound button). */
.tvs-sidetv__snd {
    position: absolute; z-index: 5; top: 10px; inset-inline-end: 10px;
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 14px;
    border: 0; border-radius: 999px; background: rgba(0, 0, 0, .72); color: #fff;
    font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35); backdrop-filter: blur(4px);
}
.tvs-sidetv__snd:hover { background: var(--accent); }
.tvs-sidetv__snd[hidden] { display: none; }
.tvs-sidetv__screen .stv_host, .tvs-sidetv__screen .stv_host.stv_host_fill { position: absolute; inset: 0; height: 100% !important; min-height: 0; aspect-ratio: auto; margin: 0; border-radius: 0; }
/* The window only: the buttons above are its channel changer. */
.tvs-news-page #stv_wrap.stv_inline .stv_hd,
.tvs-news-page #stv_wrap.stv_inline .stv_tile .stv_grip_se { display: none !important; }
.tvs-news-page #stv_wrap { --stv-exact-bg: #000; }
.tvs-news-page #stv_wrap.stv_exact .stv_wall { padding: 0; gap: 0; }
.tvs-news-page #stv_wrap.stv_exact .stv_tile { border-radius: 0; }

/* -- the floating story window -------------------------------------------------- */
html.tvs-reader-on, html.tvs-reader-on body { overflow: hidden; }
.tvs-reader, .tvs-zoom { font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
.tvs-reader button { font: inherit; }
.tvs-reader { position: fixed; inset: 0; z-index: 100020; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tvs-reader[hidden] { display: none; }
.tvs-reader__shade { position: absolute; inset: 0; background: rgba(8, 10, 14, .62); backdrop-filter: blur(3px); }
.tvs-reader__box {
    position: relative; display: flex; flex-direction: column;
    width: min(1100px, 100%); height: min(92vh, 100%);
    background: var(--surface); border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    animation: tvs-pop .18s ease-out;
}
@keyframes tvs-pop { from { transform: translateY(14px) scale(.985); opacity: 0; } to { transform: none; opacity: 1; } }
.tvs-reader__bar { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; padding-inline: 16px 10px; border-bottom: 1px solid var(--line); }
.tvs-reader__src { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); font-weight: 800; font-size: 13px; }
.tvs-reader__src:empty { display: none; }
.tvs-reader__t { flex: 1 1 auto; min-width: 0; font-weight: 800; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.tvs-reader__btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer; text-decoration: none; }
.tvs-reader__btn:hover { background: var(--surface-2); color: var(--accent); }
.tvs-reader__btn.tvs-reader__x {
    width: auto; height: 38px; gap: 6px; padding: 0 16px 0 12px; padding-inline: 12px 16px;
    border-radius: 999px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
    box-shadow: 0 2px 8px rgba(1, 166, 212, .35);
    /* always the far (left) end of the bar, whatever is shown before it */
    margin-inline-start: auto;
}
.tvs-reader__btn.tvs-reader__x:hover { background: #0189b0; color: #fff; }
.tvs-reader__btn.tvs-reader__x svg { width: 16px; height: 16px; }
@media (min-width: 700px) {
    .tvs-reader__bar { cursor: move; user-select: none; }
    .tvs-reader__bar .tvs-reader__btn { cursor: pointer; }
}
.tvs-reader.is-drag .tvs-reader__f { pointer-events: none; }
.tvs-reader.is-drag .tvs-reader__shade { cursor: move; }
.tvs-reader__body { position: relative; flex: 1 1 auto; min-height: 0; background: #fff; }
/* The page shows as soon as it starts drawing (the frame is see-through until
   then, with the "loading" line under it); a full load waits for every ad. */
.tvs-reader__f { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; background: transparent; }
.tvs-reader__wait { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 24px; color: #5b6472; font-weight: 700; text-align: center; }
.tvs-reader.is-slow .tvs-reader__wait { z-index: 2; inset: auto 0 0; background: #fff8e1; color: #6b4e00; padding: 10px 16px; }
.tvs-reader.is-loaded .tvs-reader__wait { display: none; }

/* A site that does not allow being shown inside another page: a reader card. */
.tvs-reader.is-card .tvs-reader__box { width: min(940px, 100%); height: auto; max-height: min(92vh, 100%); }
.tvs-reader.is-card .tvs-reader__body { overflow-y: auto; background: var(--surface); overscroll-behavior: contain; }
/* The text on the right, the picture on the left, and the text runs on under it. */
.tvs-rc { display: block; padding: 22px 24px; }
.tvs-rc::after { content: ''; display: block; clear: both; }
.tvs-rc__media { float: left; float: inline-end; display: flex; flex-direction: column; gap: 10px; width: 46%; margin: 0 0 14px; margin-inline-start: 24px; }
.tvs-rc__media:empty { display: none; }
.tvs-rc__pic { border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.tvs-rc__pic img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; cursor: zoom-in; }
.tvs-rc__vid video { display: block; width: 100%; max-height: 62vh; background: #000; }
.tvs-rc__media.is-many { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tvs-rc__media.is-many .tvs-rc__pic img { height: 220px; max-height: none; object-fit: cover; }
.tvs-rc__media.is-many .tvs-rc__vid video { height: 220px; object-fit: contain; }
.tvs-rc__media.is-many .tvs-rc__vid.is-ext { min-height: 0; }
.tvs-rc__vid.is-ext { position: relative; display: block; min-height: 120px; background: #000; color: #fff; text-decoration: none; }
.tvs-rc__vid.is-ext img { cursor: pointer; opacity: .85; }
.tvs-rc__play {
    position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
    background: rgba(0, 0, 0, .6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 28px no-repeat;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); transition: transform .15s, background-color .15s;
}
.tvs-rc__vid.is-ext:hover .tvs-rc__play { transform: scale(1.08); background-color: #229ed9; }
.tvs-rc__dur { position: absolute; top: 8px; inset-inline-end: 8px; padding: 1px 7px; border-radius: 6px; background: rgba(0, 0, 0, .65); font-size: 12px; font-weight: 700; }
.tvs-rc__on { position: absolute; inset-inline: 0; bottom: 0; padding: 18px 10px 7px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); font-size: 12.5px; font-weight: 700; text-align: center; }
.tvs-rc__side { display: block; }
.tvs-rc__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--text-2); font-size: 15px; font-weight: 700; }
.tvs-rc__src { padding: 3px 10px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); font-weight: 800; }
.tvs-rc__src:empty { display: none; }
.tvs-rc__t { margin: 0 0 16px; font-size: 32px; line-height: 1.25; font-weight: 900; color: var(--text); }
.tvs-rc__txt { color: var(--text); font-size: 20.5px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.tvs-rc__txt.is-paras { white-space: normal; }
.tvs-rc__txt p { margin: 0 0 .9em; }
.tvs-rc__txt p:last-child { margin-bottom: 0; }
.tvs-rc__txt:empty { display: none; }
.tvs-rc__txt.is-post { font-size: 21px; font-weight: 500; }
.tvs-rc__go {
    display: inline-block; margin-top: 18px; font-size: 17px !important; padding: 11px 20px; border-radius: 999px;
    background: var(--accent); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none;
}
.tvs-rc__go:hover { filter: brightness(1.08); color: #fff; }
.tvs-zoom { position: fixed; inset: 0; z-index: 100030; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .9); cursor: zoom-out; }
.tvs-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (min-width: 761px) {
    .tvs-reader.is-card .tvs-reader__box { width: min(1060px, 100%); }
}
@media (max-width: 760px) {
    .tvs-rc { padding: 14px; }
    .tvs-rc__media { float: none; width: auto; margin: 0 0 14px; }
    .tvs-rc__t { font-size: 25px; }
    .tvs-rc__txt { font-size: 18.5px; }
    .tvs-rc__txt.is-post { font-size: 19px; }
    .tvs-reader.is-card .tvs-reader__box { height: 100%; max-height: none; }
}
@media (max-width: 680px) {
    .tvs-reader { padding: 0; }
    .tvs-reader__box { width: 100%; height: 100%; border-radius: 0; }
    .tvs-reader__t { display: none; }
    .tvs-reader__bar { padding-top: max(10px, env(safe-area-inset-top)); }
}

/* -- narrower ------------------------------------------------------------- */
@media (max-width: 1180px) {
    .tvs-top { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); grid-template-rows: auto 220px 220px; }
    /* the TV and the flashes become the first row, side by side */
    .tvs-top__col { grid-row: 1; grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
    .tvs-top__col > .tvs-sidetv { flex: 0 0 min(500px, 56%); }
    /* contain: the list scrolls inside the height the TV sets, never stretching the row */
    .tvs-top__col > .tvs-flash { flex: 1 1 0; min-width: 0; min-height: 0; contain: size; }
    .tvs-top__col > .tvs-flash .tvs-flash__list { max-height: none; }
    /* just the logos: the flashes go under them, full width */
    .tvs-top__col:not(:has(.tvs-sidetv.is-open)) { flex-direction: column; }
    .tvs-top__col:not(:has(.tvs-sidetv.is-open)) > .tvs-sidetv { flex: 0 0 auto; }
    .tvs-top__col:not(:has(.tvs-sidetv.is-open)) > .tvs-flash { flex: 0 0 auto; max-height: 340px; contain: none; }
    .tvs-top__lead, .tvs-top__two { grid-row: 2 / 4; }
    .tvs-flash { grid-row: auto; }
    .tvs-nw__body { grid-template-columns: minmax(0, 1fr) 280px; }
    .tvs-sec__b { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .tvs-nw__body { grid-template-columns: minmax(0, 1fr); }
    .tvs-nw__side { position: static; }
    .tvs-live { grid-template-columns: minmax(0, 1fr); }
    .tvs-row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tvs-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .tvs-nw { --nw-gap: 12px; }
    .tvs-nw__in { width: calc(100% - 24px); }
    .tvs-ntabs__in { width: 100%; padding-inline: 6px; }
    .tvs-ntab { font-size: 15px; padding: 0 11px; min-height: 48px; }
    .tvs-ticker__in { width: 100%; }
    .tvs-ticker__lab { padding: 0 10px; font-size: 14px; }
    .tvs-top { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 12px; }
    .tvs-top__lead { grid-row: auto; height: 300px; }
    .tvs-top__two { grid-row: auto; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
    .tvs-top__two .tvs-c--over { min-height: 190px; }
    .tvs-c--over .tvs-c__t { font-size: 15.5px; }
    .tvs-c--over .tvs-c__over { padding: 12px; gap: 5px; }
    .tvs-c--over .tvs-c__more, .tvs-c--over .tvs-c__meta { display: none; }
    .tvs-c--hero .tvs-c__t { font-size: 24px; }
    .tvs-c--hero .tvs-c__sum { display: none; }
    .tvs-c--hero .tvs-c__over { padding: 16px; }
    .tvs-top__col { grid-row: auto; grid-column: auto; flex-direction: column; order: -1; }
    .tvs-top__col > .tvs-sidetv { flex: 0 0 auto; }
    .tvs-top__col > .tvs-flash,
    .tvs-top__col:not(:has(.tvs-sidetv.is-open)) > .tvs-flash { flex: 0 0 auto; max-height: 340px; contain: none; }
    .tvs-sidetv__float span, .tvs-sidetv__hd .tvs-chbtn span { display: none; }
    .tvs-top__lead, .tvs-top__two { grid-row: auto; }
    .tvs-row4, .tvs-sec__b, .tvs-grid3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .tvs-row4 > .tvs-c--card, .tvs-sec__b > .tvs-c--card, .tvs-grid3 > .tvs-c--card { margin-bottom: 12px; }
    .tvs-sec__a { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .tvs-sec__hd h2 { font-size: 22px; }
    .tvs-c--side .tvs-c__pic { flex-basis: 108px; width: 108px; }
    .tvs-c--side .tvs-c__t { font-size: 15.5px; }
    .tvs-live { margin-inline: -12px; border-radius: 0; padding: 16px 12px 10px; }
    .tvs-sechead h1 { font-size: 28px; }
}

/* -- the weather ---------------------------------------------------------- */
.tvs-wx { background: var(--surface); border-radius: 14px; padding: 12px 16px 10px; box-shadow: 0 0 0 1px var(--line); }
.tvs-wx__hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tvs-wx__hd h2 { margin: 0; font-size: 18px; font-weight: 900; }
.tvs-wx__city { min-height: 32px; padding: 0 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 14px; font-weight: 700; }
.tvs-wx__now { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; margin: 8px 0 4px; }
.tvs-wx__i svg { width: 58px; height: 58px; display: block; }
.tvs-wx__t { display: block; font-size: 38px; font-weight: 900; line-height: 1; }
.tvs-wx__l { display: block; margin-top: 2px; color: var(--text-2); font-weight: 700; font-size: 14px; }
.tvs-wx__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 13px; }
.tvs-wx__meta b { color: var(--text); }
.tvs-wx__days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; margin: 10px 0 6px; padding: 8px 0 0; list-style: none; border-top: 1px solid var(--line); text-align: center; }
.tvs-wx__days li { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 12.5px; }
.tvs-wx__d { color: var(--text-2); font-weight: 700; }
.tvs-wx__di svg { width: 28px; height: 28px; display: block; }
.tvs-wx__mm { white-space: nowrap; color: var(--text-2); }
.tvs-wx__mm b { color: var(--text); }
.tvs-wx__r { color: #2f80ed; font-size: 11px; font-weight: 700; }
.tvs-wx__by { margin: 2px 0 0; color: var(--text-3); font-size: 11px; }
.tvs-wx__by a { color: inherit; }
.tvs-wxchip { display: none; }
@media (max-width: 900px) {
    .tvs-wxchip {
        display: flex; align-items: center; gap: 6px; margin: 10px 0 0; padding: 6px 12px;
        background: var(--surface); border-radius: 999px; box-shadow: 0 0 0 1px var(--line);
        color: var(--text); text-decoration: none; font-size: 14px; width: max-content; max-width: 100%;
    }
    .tvs-wxchip__i svg { width: 24px; height: 24px; display: block; }
    .tvs-wxchip__t { font-size: 16px; }
    .tvs-wxchip__r { color: var(--text-2); font-size: 13px; }
}

/* -- clips ------------------------------------------------------------------ */
.tvs-c__pic.is-vid { position: relative; }
.tvs-c__pic.is-vid::after {
    content: ''; position: absolute; z-index: 2; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px;
    border-radius: 50%; background: rgba(0, 0, 0, .62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 26px no-repeat;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .85); pointer-events: none; transition: transform .15s, background-color .15s;
}
.tvs-c:hover .tvs-c__pic.is-vid::after { transform: scale(1.08); background-color: var(--nw-red); }
.tvs-c--side .tvs-c__pic.is-vid::after { width: 34px; height: 34px; margin: -17px 0 0 -17px; background-size: 18px; }
.tvs-vids { margin-top: 26px; }
.tvs-vids .tvs-sec__hd h2 { display: flex; align-items: center; gap: 6px; }
.tvs-vids__i { color: var(--nw-red); }
.tvs-vids__row { display: grid; gap: var(--nw-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .tvs-vids__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
    .tvs-vids__row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .tvs-vids__row > .tvs-c { scroll-snap-align: start; }
}

/* -- the channel list beside the TV (channels.js: the panel, on a wide screen) --
   It hangs beside the TV's column, as tall as it, the way the floating
   window's list hangs beside the window; no shade, the page stays. */
@media (min-width: 1181px) {
    html.tvs-drawer-pop[data-drawer] .tvs-drawer--float {
        position: absolute; z-index: 55;
        top: var(--pop-t, 200px); bottom: auto; left: var(--pop-l, 8px); right: auto; inset-inline-start: auto;
        width: 290px; height: var(--pop-h, 548px);
        border: 1px solid var(--line); border-radius: 14px;
        box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
        overflow: hidden;
        opacity: 0; transform: translateX(10px);
        visibility: hidden;
        transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
    }
    html.tvs-drawer-pop[data-drawer] .tvs-drawer--float.is-pop-flip { transform: translateX(-10px); }
    html.tvs-drawer-pop[data-drawer="open"] .tvs-drawer--float,
    html.tvs-drawer-pop[data-drawer="open"] .tvs-drawer--float.is-pop-flip { opacity: 1; transform: none; visibility: visible; transition: opacity .18s ease, transform .18s ease; }
    html.tvs-drawer-pop .tvs-drawer--float .tvs-drawer__title { font-size: 15px; }
}

/* The footer in the news page's own face. */
.tvs-news-page .tvs-footer { font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; }
