/* The Verifier 2026: home page. Mobile first; desktop from 1025px. */

.tvhome { font-family: var(--tv-font); color: var(--tv-text); padding: 0; overflow: hidden; }
.tvhome a { text-decoration: none; color: inherit; }
.tvhome h2 { margin: 0; font-family: var(--tv-font); color: var(--tv-text); }
.tvhome img { display: block; }
.tv-img-empty { display: block; background: var(--tv-chip-bg); }

/* Shared bits */
.tv-av { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.tv-meta { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--tv-muted); }
.tv-meta__name { display: none; }
.tv-tag {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  padding: 4px 10px 4px 12px;
  font-size: 12px; font-weight: 800; line-height: 1.3;
  color: var(--tv-navy); background: var(--tv-cyan);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.tv-tag--lav { background: var(--tv-lavender); }

.tvs { padding: 40px 16px 0; }
.tvs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tvs-head__t { display: flex; flex-direction: column; gap: 4px; }
.tvs-head h2 { font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -0.3px; }
.tvs-head__sub { font-size: 14px; color: var(--tv-muted); }
.tvs-more { font-size: 14px; font-weight: 600; padding: 12px 0; color: var(--tv-link) !important; white-space: nowrap; }

/* ---------- Hero ---------- */
.tvhero { position: relative; height: 540px; }
.tvhero__link { position: absolute; inset: 0; display: block; overflow: hidden; color: var(--tv-text) !important; background: var(--tv-chip-bg); }
.tvhero__img { position: absolute; top: 0; left: 0; width: 100%; height: 345px; object-fit: cover; object-position: 50% 20%; }
.tvhero__panel { position: absolute; inset: 0; background: var(--tv-bg); clip-path: polygon(0 330px, 100% 248px, 100% 100%, 0 100%); }
.tvhero__band { position: absolute; inset: 0; background: var(--tv-band); clip-path: polygon(0 324px, 100% 242px, 100% 249px, 0 331px); }
.tvhero__body { position: absolute; top: 290px; right: 16px; left: 16px; display: flex; flex-direction: column; gap: 14px; }
.tvhero__row { display: contents; }
.tvhero__by { order: -1; align-self: flex-start; display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.25; }
.tvhero__by .tv-av { width: 36px; height: 36px; }
.tvhero__by > span { display: flex; flex-direction: column; }
.tvhero__by span span { color: var(--tv-muted); }
.tvhero__title { font-size: 28px; line-height: 1.12; font-weight: 700; letter-spacing: -0.3px; }
.tvhero__dek { display: none; }
.tvhero__cta { order: 1; align-self: flex-end; min-height: 44px; padding: 0 20px; display: flex; align-items: center; background: var(--tv-cyan); color: var(--tv-navy); font-size: 15px; font-weight: 700; }

/* Sheet that rises over the hero */
.tvsheet { position: relative; margin-top: -34px; }
.tvsheet__tab {
  display: inline-flex !important; align-items: center; height: 34px; padding: 0 18px 0 30px;
  background: var(--tv-sheet, #121A4A); color: #fff !important;
  font-size: 14px !important; font-weight: 800 !important;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%);
}
.tvsheet__grid { background: var(--tv-sheet, #121A4A); padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.tv-2026:not([data-theme="dark"]) .tvhome { --tv-sheet: #E7EAF4; }
body.tv-2026:not([data-theme="dark"]) .tvsheet__tab { color: var(--tv-navy) !important; }

.tvcard-ov { position: relative; display: block; height: 230px; overflow: hidden; background: var(--tv-navy); color: #fff !important; }
.tvcard-ov__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tvcard-ov__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,12,38,0) 32%, rgba(7,12,38,.96) 100%); }
.tvcard-ov__body { position: absolute; right: 12px; left: 12px; bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.tvcard-ov__title { font-size: 16px; line-height: 1.2; font-weight: 700; letter-spacing: -0.2px; }
.tvcard-ov .tv-meta { color: #C3CAEA; }
.tvcard-ov .tv-av { width: 22px; height: 22px; }

/* ---------- Live ---------- */
.tvlive { margin: 32px 12px 0; padding: 20px 16px 10px; background: var(--tv-panel); border: 1px solid var(--tv-line); }
.tvlive__t { display: flex; align-items: center; gap: 10px; font-size: 24px !important; line-height: 1; font-weight: 700; }
.tvlive__brand { font-weight: 500; }
.tvlive__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--tv-cyan); box-shadow: 0 0 0 4px rgba(34,225,247,.25); }
.tvlive__sub { margin: 4px 0 6px; font-size: 14px; color: var(--tv-muted); }
.tvlive__item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--tv-line); }
.tvlive__item .tv-av { width: 40px; height: 40px; }
.tvlive__by { display: flex; gap: 10px; font-size: 13px; }
.tvlive__by span { color: var(--tv-muted); }
.tvlive__item p { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }

/* ---------- Landed in Israel ---------- */
.tvil { margin-top: 44px; padding: 44px 16px 30px; background: var(--tv-cyan); color: var(--tv-navy); clip-path: polygon(0 26px, 100% 0, 100% 100%, 0 100%); }
.tvil h2 { font-size: 40px; color: var(--tv-navy) !important; }
.tvil .tvs-head__sub { color: var(--tv-navy); font-weight: 500; }
.tvil .tvs-more { color: var(--tv-navy) !important; font-weight: 700; text-decoration: underline; }
.tvil__card { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 2px solid var(--tv-navy); color: var(--tv-navy) !important; }
.tvil__img { width: 104px; height: 78px; flex-shrink: 0; overflow: hidden; background: #fff; }
.tvil__img img, .tvil__img .tv-img-empty { width: 100%; height: 100%; object-fit: cover; }
.tvil__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tvil__product { font-size: 12px; font-weight: 700; }
.tvil__price { font-size: 44px; line-height: 1; font-weight: 800; letter-spacing: -0.3px; }
.tvil__title { font-size: 14px; line-height: 1.35; font-weight: 500; }
.tvil__title--lead { font-size: 17px; line-height: 1.3; font-weight: 700; }

/* ---------- Reviews ---------- */
.tvrev { padding-left: 0; padding-right: 0; }
.tvrev .tvs-head { padding: 0 16px; }
.tvrev__row { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px 4px; scrollbar-width: none; }
.tvrev__row::-webkit-scrollbar { display: none; }
.tvrev__card { flex-shrink: 0; width: 176px; display: flex; flex-direction: column; background: var(--tv-surface); }
.tvrev__img { position: relative; display: block; height: 132px; }
.tvrev__img img, .tvrev__img .tv-img-empty { width: 100%; height: 100%; object-fit: cover; }
.tvrev__txt { padding: 38px 12px 14px; }
.tvrev__txt.no-ring { padding-top: 14px; }
.tvrev__title { font-size: 15px; line-height: 1.25; font-weight: 700; }
.tvring {
  position: absolute; left: 10px; bottom: -30px; width: 66px; height: 66px; border-radius: 50%;
  background: conic-gradient(var(--tv-cyan) 0deg, var(--tv-purple) var(--deg), var(--tv-ring-track) var(--deg));
  display: flex; align-items: center; justify-content: center;
}
.tvring__in { width: 54px; height: 54px; border-radius: 50%; background: var(--tv-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.tvring__in b { font-size: 22px; font-weight: 700; }
.tvring__in small { font-size: 9px; color: var(--tv-muted); margin-top: 2px; }

/* ---------- Category fronts + latest ---------- */
.tvfronts { display: flex; flex-direction: column; gap: 40px; }
.tvfront__lead { display: flex; flex-direction: column; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--tv-line); }
.tvfront__img { width: 100%; height: 196px; object-fit: cover; }
.tvfront__lt { font-size: 20px; line-height: 1.2; font-weight: 700; }
.tvfront__row { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--tv-line); }
.tvfront__rt { font-size: 16px; line-height: 1.3; font-weight: 700; }
.tvlatest__t { font-size: 26px !important; margin-bottom: 6px !important; }
.tvlatest__row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--tv-line); }
.tvlatest__txt { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tvlatest__title { font-size: 16px; line-height: 1.3; font-weight: 700; }
.tvlatest__date { font-size: 12px; color: var(--tv-muted); }
.tvlatest__img { width: 84px; height: 64px; flex-shrink: 0; object-fit: cover; }

/* ---------- Guides ---------- */
.tvguides__grid { display: flex; flex-direction: column; gap: 8px; }
.tvguide { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 14px; background: var(--tv-surface); }
.tvguide__img { width: 52px; height: 52px; flex-shrink: 0; object-fit: cover; }
.tvguide__t { flex: 1; font-size: 16px; line-height: 1.3; font-weight: 700; }
.tvguide svg { flex-shrink: 0; color: var(--tv-accent-text); }

/* ---------- Deals + app ---------- */
.tvdeals { margin-top: 44px; padding: 28px 0 32px; background: var(--tv-panel); border-top: 1px solid var(--tv-line); }
.tvdeals .tvs-head { padding: 0 16px; }
.tvdeals__row { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; }
.tvdeal { flex-shrink: 0; width: 170px; display: flex; flex-direction: column; background: var(--tv-surface); }
.tvdeal__img { height: 120px; overflow: hidden; }
.tvdeal__img img, .tvdeal__img .tv-img-empty { width: 100%; height: 100%; object-fit: cover; }
.tvdeal__t { padding: 12px; font-size: 14px; line-height: 1.3; font-weight: 700; }
.tvapp {
  margin: 20px 12px 0; padding: 24px 18px; background: #F5F6FA; color: var(--tv-navy);
  display: flex; flex-direction: column; gap: 10px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
body.tv-2026:not([data-theme="dark"]) .tvapp { background: var(--tv-navy); color: #fff; }
.tvapp__t { font-size: 22px; line-height: 1.15; font-weight: 700; }
.tvapp__sub { font-size: 15px; opacity: .8; }
.tvapp__btn { align-self: flex-start; min-height: 48px; padding: 0 24px; display: flex; align-items: center; background: var(--tv-cyan); color: var(--tv-navy) !important; font-size: 15px; font-weight: 700; }

/* ================= Desktop ================= */
@media (min-width: 1025px) {
  .tvs, .tvil__in, .tvdeals__in { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
  .tvs { padding-top: 64px; }
  .tvs-head { margin-bottom: 22px; }
  .tvs-head h2 { font-size: 40px; letter-spacing: -0.4px; }
  .tvs-head__sub { font-size: 16px; }
  .tv-meta { font-size: 13px; gap: 8px; }
  .tv-meta__name { display: inline; }
  .tv-meta__name::after { content: "·"; margin-right: 8px; }

  /* Hero: photo on the left, panel with a diagonal edge on the right */
  .tvhero { height: 600px; }
  .tvhero__img { width: 62.5%; height: 600px; object-position: 50% 20%; }
  .tvhero__panel { clip-path: polygon(55.5% 0, 100% 0, 100% 100%, 44.5% 100%); }
  .tvhero__band { background: linear-gradient(180deg, #CC26FA 0%, #9A3FFB 25%, #5A70FD 50%, #0DB4FE 75%, #00EEFD 100%); clip-path: polygon(55.1% 0, 55.6% 0, 44.5% 100%, 44% 100%); }
  .tvhero__body { top: 0; bottom: 92px; left: auto; right: max(20px, calc((100% - 1200px) / 2)); width: 470px; justify-content: center; gap: 22px; }
  .tvhero__title { font-size: 46px; line-height: 1.1; letter-spacing: -0.6px; }
  .tvhero__dek { display: block; font-size: 19px; line-height: 1.5; color: var(--tv-muted); }
  .tvhero__row { display: flex; align-items: center; gap: 32px; }
  .tvhero__by { font-size: 15px; }
  .tvhero__by .tv-av { width: 44px; height: 44px; }
  .tvhero__cta { min-height: 48px; padding: 0 24px; font-size: 16px; }

  .tvsheet { max-width: 1200px; margin: -92px auto 0; }
  .tvsheet__tab { height: 40px; padding: 0 22px 0 40px; font-size: 16px !important; clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%); }
  .tvsheet__grid { padding: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tvcard-ov { height: 250px; }
  .tvcard-ov__body { right: 16px; left: 16px; bottom: 16px; gap: 10px; }
  .tvcard-ov__title { font-size: 18px; line-height: 1.25; }
  .tvcard-ov .tv-meta__name { display: none; }

  .tvlive { max-width: 1200px; margin: 64px auto 0; padding: 28px 28px 14px; }

  .tvil { margin-top: 72px; padding: 88px 0 48px; clip-path: polygon(0 48px, 100% 0, 100% 100%, 0 100%); }
  .tvil h2 { font-size: 56px; letter-spacing: -0.6px; }
  .tvil__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .tvil__card { flex-direction: column; align-items: stretch; gap: 8px; padding: 18px 0 0; }
  .tvil__img { width: 100%; height: 200px; margin-bottom: 8px; }
  .tvil__title { font-size: 16px; }
  .tvil__title--lead { font-size: 20px; }

  .tvrev .tvs-head { padding: 0; }
  .tvrev__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 0; overflow: visible; }
  .tvrev__card { width: auto; }
  .tvrev__img { height: 190px; }
  .tvring { left: 14px; bottom: -34px; width: 72px; height: 72px; }
  .tvring__in { width: 60px; height: 60px; }
  .tvring__in b { font-size: 24px; }
  .tvrev__txt { padding: 46px 18px 20px; }
  .tvrev__title { font-size: 18px; }

  .tvfronts { flex-direction: row; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 72px; }
  .tvfronts .tvs-head h2 { font-size: 34px; }
  .tvfront__img { height: 230px; }
  .tvfront__lt { font-size: 22px; line-height: 1.22; }
  .tvfront__rt { font-size: 17px; }

  .tvguides { padding-top: 80px; }
  .tvguides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .tvguide { min-height: 96px; padding: 16px 20px; gap: 16px; }
  .tvguide__img { width: 60px; height: 60px; }
  .tvguide__t { font-size: 18px; }

  .tvdeals { margin-top: 80px; padding: 48px 0 56px; }
  .tvdeals__in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
  .tvdeals__in > .tvs-head { grid-column: 1; padding: 0; }
  .tvdeals__row { grid-column: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; overflow: visible; }
  .tvdeal { width: auto; }
  .tvapp { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 32px 28px; }
  .tvapp__t { font-size: 28px; }
}

/* Fixes after the first review */
.tvrev__txt { display: block; }
.tvrev__title { display: block; line-height: 1.3; }
@media (min-width: 1025px) {
  .tvdeals__in { grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto 1fr; }
  .tvdeals__row { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .tvdeal__img { height: 150px; }
}

/* Deals: the heading spans the full width; cards and the app box share one row */
@media (min-width: 1025px) {
  .tvdeals__in { grid-template-rows: auto auto; row-gap: 0; align-items: stretch; }
  .tvdeals__in > .tvs-head { grid-column: 1 / -1; grid-row: 1; margin-bottom: 22px; }
  .tvdeals__row { grid-column: 1; grid-row: 2; align-items: stretch; }
  .tvapp { grid-column: 2; grid-row: 2; justify-content: center; }
}

/* ================= Hero, "floating box" version (.tvhero--float) =================
 * The photo fills the hero; the headline, writer and button sit in one box with the button's cut corner,
 * floating over the photo. Remove the tvhero--float class in inc/home.php to go back to the diagonal version. */
.tvhero.tvhero--float { height: auto; }
.tvhero--float .tvhero__link { position: relative; inset: auto; overflow: hidden; }
.tvhero--float .tvhero__panel,
.tvhero--float .tvhero__band { display: none; }
.tvhero.tvhero--float .tvhero__img {
  position: relative; display: block; width: 100%; height: 480px;
  object-fit: cover; object-position: 50% 25%;
}
/* A soft shade at the bottom of the photo, so the box edge reads on light photos */
.tvhero--float .tvhero__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%;
  background: linear-gradient(180deg, rgba(7, 12, 38, 0) 0%, rgba(7, 12, 38, 0.45) 100%);
  pointer-events: none;
}
.tvhero.tvhero--float .tvhero__body {
  position: absolute; z-index: 2; top: auto; bottom: 16px; right: 16px; left: 16px; width: auto;
  padding: 20px 18px 24px; box-sizing: border-box;
  background: var(--tv-bg);
  display: flex; flex-direction: column; gap: 12px; justify-content: flex-start;
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-lg) 100%, 0 calc(100% - var(--tv-cut-lg)));
}
/* The brand band along the box's bottom edge */
.tvhero--float .tvhero__body::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--tv-band-h); background: var(--tv-band);
}
.tvhero--float .tvhero__title { font-size: 25px; line-height: 1.15; }
.tvhero--float .tvhero__dek { display: none; }
.tvhero--float .tvhero__cta { align-self: flex-start; }

@media (min-width: 768px) {
  .tvhero.tvhero--float .tvhero__img { height: 560px; }
  .tvhero.tvhero--float .tvhero__body {
    top: auto; bottom: 40px; right: 32px; left: auto; width: min(560px, calc(100% - 64px));
    padding: 30px 32px 36px; gap: 16px;
  }
  .tvhero--float .tvhero__title { font-size: 34px; line-height: 1.1; }
  .tvhero--float .tvhero__dek { display: block; font-size: 17px; line-height: 1.45; color: var(--tv-muted); }
  .tvhero--float .tvhero__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .tvhero--float .tvhero__by { order: 0; }
  .tvhero--float .tvhero__cta { order: 0; align-self: center; flex-shrink: 0; }
}
@media (min-width: 1025px) {
  .tvhero.tvhero--float .tvhero__img { width: 100%; height: 620px; }
  .tvhero.tvhero--float .tvhero__body {
    bottom: 56px; right: max(20px, calc((100% - 1200px) / 2)); width: 560px;
    padding: 36px 40px 42px; gap: 20px;
  }
  .tvhero--float .tvhero__title { font-size: 42px; letter-spacing: -0.5px; }
  .tvhero--float .tvhero__dek { font-size: 18px; }
}

/* The "more top stories" sheet overlaps the photo's bottom edge (34 / 40 / 92px): the box floats above it */
.tvhero.tvhero--float .tvhero__body { bottom: 50px; }
@media (min-width: 768px) { .tvhero.tvhero--float .tvhero__body { bottom: 76px; } }
@media (min-width: 1025px) {
  .tvhero.tvhero--float .tvhero__img { height: 660px; }
  .tvhero.tvhero--float .tvhero__body { bottom: 136px; }
}

/* Order in every size: headline, tagline, then writer + button on one row */
.tvhero--float .tvhero__dek { display: block; font-size: 15px; line-height: 1.45; color: var(--tv-muted); }
.tvhero--float .tvhero__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.tvhero--float .tvhero__by { order: 0; align-self: center; }
.tvhero--float .tvhero__cta { order: 0; align-self: center; flex-shrink: 0; }
@media (min-width: 768px) { .tvhero--float .tvhero__dek { font-size: 17px; } }
/* Full desktop: a wide, low box rather than a square */
@media (min-width: 1025px) {
  .tvhero.tvhero--float .tvhero__body { width: min(780px, calc(100% - 40px)); padding: 32px 44px 38px; gap: 16px; }
  .tvhero--float .tvhero__title { font-size: 40px; line-height: 1.12; }
  .tvhero--float .tvhero__dek { font-size: 18px; }
}

/* The box sits in a wrapper that carries the shadow (the cut corner would clip a shadow on the box itself),
 * so it stands out on any photo, white ones included. */
.tvhero__float { display: contents; }
.tvhero.tvhero--float .tvhero__float {
  position: absolute; z-index: 2; display: block; bottom: 50px; right: 16px; left: 16px;
  filter: drop-shadow(0 16px 36px rgba(7, 12, 38, 0.35)) drop-shadow(0 2px 6px rgba(7, 12, 38, 0.25));
}
.tvhero.tvhero--float .tvhero__float .tvhero__body { position: relative; top: auto; bottom: auto; right: auto; left: auto; width: auto; }
@media (min-width: 768px) {
  .tvhero.tvhero--float .tvhero__float { bottom: 76px; right: 32px; left: auto; width: min(560px, calc(100% - 64px)); }
}
@media (min-width: 1025px) {
  .tvhero.tvhero--float .tvhero__float { bottom: 136px; right: max(20px, calc((100% - 1200px) / 2)); width: min(680px, calc(100% - 40px)); }
}

/* ---------- סיקור מיוחד (inc/event.php) ---------- */
.tvevent { margin: 28px 12px 0; padding: 20px 16px 8px; background: var(--tv-cyan); color: var(--tv-navy); }
.tvevent__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; }
.tvevent__k { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.tvevent__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tv-navy); }
.tvevent__dot.is-live { animation: tvevent-pulse 1.6s ease-in-out infinite; }
@keyframes tvevent-pulse { 50% { box-shadow: 0 0 0 5px rgba(10,16,48,.18); } }
@media (prefers-reduced-motion: reduce) { .tvevent__dot.is-live { animation: none; } }
.tvevent__st { font-weight: 600; }
body.tv-2026 .tvevent__t { margin: 10px 0 2px; font-size: 32px; line-height: 1.05; font-weight: 700; letter-spacing: -.3px; color: var(--tv-navy) !important; }
.tvevent__sub { margin: 0 0 16px; font-size: 15px; font-weight: 500; }
.tvevent__grid { display: grid; gap: 18px; }
.tvevent__g { border-top: 2px solid var(--tv-navy); padding-top: 12px; }
.tvevent__gh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.tvevent__gn { font-size: 20px; font-weight: 800; }
.tvevent__gc { font-size: 13px; font-weight: 600; }
body.tv-2026 a.tvevent__a { display: block; padding: 6px 0; font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--tv-navy) !important; text-decoration: none; }
body.tv-2026 a.tvevent__a:hover { text-decoration: underline; }
body.tv-2026 a.tvevent__all { display: inline-flex; margin-top: 6px; min-height: 44px; align-items: center; font-size: 16px; font-weight: 700; color: var(--tv-navy) !important; text-decoration: underline; }
@media (min-width: 768px) {
  .tvevent { margin: 40px 32px 0; padding: 28px 28px 12px; }
  body.tv-2026 .tvevent__t { font-size: 40px; }
  .tvevent__sub { font-size: 16px; margin-bottom: 20px; }
  .tvevent__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1025px) {
  .tvevent { width: min(1200px, calc(100% - 64px)); margin: 56px auto 0; padding: 32px 32px 16px; box-sizing: border-box; }
  .tvevent__top { font-size: 14px; }
  .tvevent__dot { width: 10px; height: 10px; }
  body.tv-2026 .tvevent__t { margin-top: 14px; font-size: 48px; letter-spacing: -.6px; }
  .tvevent__sub { font-size: 17px; margin-bottom: 22px; }
  .tvevent__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .tvevent__gn { font-size: 22px; }
  body.tv-2026 a.tvevent__a { font-size: 16px; }
  a.tvevent__all { margin-top: 8px; }
}

/* ---------- The Verifier Live, from the reporters' chat (inc/live.php) ---------- */
.tvlive__av { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; object-fit: cover; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; color: var(--tv-navy); background: var(--tv-cyan); }
.tvlive__av--lav { background: var(--tv-lavender); }
.tvlive__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.tvlive__by { align-items: baseline; }
.tvlive__body p { margin: 0 !important; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.tv-2026 a.tvlive__more { display: inline-flex; min-height: 44px; align-items: center; font-size: 15px; font-weight: 700; color: var(--tv-accent-text) !important; text-decoration: none; }
body.tv-2026 a.tvlive__more:hover { text-decoration: underline; }

/* Event + Live side by side (desktop) */
@media (min-width: 1025px) {
  .tvpair { width: min(1200px, calc(100% - 64px)); margin: 56px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 384px; gap: 40px; align-items: start; }
  .tvpair > .tvevent, .tvpair > .tvlive { width: auto; max-width: none; margin: 0; }
}

/* Live: the two cyan plus marks sitting on the top border, as in the mockup */
.tvlive { position: relative; }
.tvlive::before, .tvlive::after {
  content: ""; position: absolute; top: -7px; width: 14px; height: 14px; pointer-events: none;
  background: linear-gradient(var(--tv-cyan), var(--tv-cyan)) center / 1.5px 100% no-repeat,
              linear-gradient(var(--tv-cyan), var(--tv-cyan)) center / 100% 1.5px no-repeat;
}
.tvlive::before { right: 6px; }
.tvlive::after { left: 6px; }

/* Event + Live: same height, top and bottom (desktop) */
@media (min-width: 1025px) {
  .tvpair { align-items: stretch; }
  .tvpair > .tvlive, .tvpair > .tvevent { display: flex; flex-direction: column; }
  .tvpair > .tvlive .tvlive__more, .tvpair > .tvevent .tvevent__all { margin-top: auto; align-self: flex-start; }
}

/* Live: "עוד עדכונים" as a button in the middle */
body.tv-2026 a.tvlive__more {
  align-self: center; display: flex; justify-content: center; width: fit-content; margin: 14px auto 6px;
  min-height: 44px; padding: 0 28px; background: var(--tv-cyan); color: #0A1030 !important; font-size: 15px; font-weight: 700;
  text-decoration: none !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
body.tv-2026 a.tvlive__more:hover { filter: brightness(1.06); }
@media (min-width: 1025px) { .tvpair > .tvlive .tvlive__more { margin-top: auto; align-self: center; } }
/* Stretched next to the event: the button sits in the middle of the space left under the messages */
@media (min-width: 1025px) { .tvpair > .tvlive .tvlive__more { margin-top: auto; margin-bottom: auto; } }

/* "עוד עדכונים" in its own row: centred between the last message and the bottom edge, measured the same both ways */
.tvlive__foot { display: flex; align-items: center; justify-content: center; padding: 16px 0 6px; }
body.tv-2026 .tvlive__foot a.tvlive__more { margin: 0 !important; }
@media (min-width: 1025px) {
  .tvpair > .tvlive { padding-bottom: 0; }
  .tvpair > .tvlive .tvlive__foot { flex: 1 0 auto; padding: 22px 0; }
}

/* ---------- טור דעה: the writer is the image ---------- */
.tvfronts__side { display: flex; flex-direction: column; gap: 32px; }
.tvop { padding: 22px 18px; background: var(--tv-panel); border-right: 4px solid var(--tv-cyan); }
.tvop__k { font-size: 13px; font-weight: 700; color: var(--tv-accent-text); }
body.tv-2026 a.tvop__a { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; color: var(--tv-text) !important; text-decoration: none !important; }
.tvop__q { display: block; height: 40px; font-size: 92px; line-height: .6; font-weight: 800; color: var(--tv-cyan); }
.tvop__t { font-size: 25px; line-height: 1.2; font-weight: 700; }
body.tv-2026 a.tvop__a:hover .tvop__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tvop__by { display: flex; align-items: center; gap: 12px; }
.tvop__av { width: 64px !important; height: 64px !important; flex: 0 0 64px; border-radius: 50%; object-fit: cover; background: var(--tv-lavender); }
.tvop__who { display: flex; flex-direction: column; line-height: 1.25; }
.tvop__who b { font-size: 16px; font-weight: 700; }
.tvop__who span { font-size: 13px; color: var(--tv-muted); }
@media (min-width: 768px) and (max-width: 1024px) {
  .tvfronts__side { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .tvfronts__side .tvlatest { grid-column: auto; }
  .tvfronts__side > :only-child { grid-column: 1 / -1; }
}
@media (min-width: 1025px) {
  .tvfronts__side { padding-top: 52px; }
  .tvop { padding: 26px 24px; }
  body.tv-2026 a.tvop__a { gap: 18px; margin-top: 12px; }
  .tvop__q { height: 42px; font-size: 96px; }
  .tvop__t { font-size: 26px; }
}

/* ---------- בסרטון: the newsroom's reels (inc/reels.php) ---------- */
.tvvid { padding-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.tvvid__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 16px; }
.tvvid__ht { display: flex; flex-direction: column; gap: 4px; }
body.tv-2026 .tvvid__ht h2 { margin: 0; font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.3px; }
.tvvid__sub { font-size: 14px; color: var(--tv-muted); }
body.tv-2026 a.tvvid__all { flex-shrink: 0; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--tv-accent-text) !important; text-decoration: none; }
body.tv-2026 a.tvvid__all:hover { text-decoration: underline; }
.tvvid__row { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.tvvid__row::-webkit-scrollbar { display: none; }
body.tv-2026 a.tvvid__card { position: relative; flex-shrink: 0; width: 146px; height: 260px; overflow: hidden; color: #fff !important; text-decoration: none !important; background: #0A1030; scroll-snap-align: start; }
.tvvid__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transition: transform .3s; }
a.tvvid__card:hover .tvvid__img { transform: scale(1.04); }
.tvvid__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,12,38,.1) 40%, rgba(7,12,38,.95) 100%); }
.tvvid__play { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; }
.tvvid__chip { position: absolute; top: 14px; left: 10px; padding: 2px 6px; background: rgba(7,12,38,.7); font-size: 12px; font-weight: 700; }
.tvvid__chip--new { background: var(--tv-cyan); color: #0A1030; }
.tvvid__t { position: absolute; right: 10px; left: 10px; bottom: 12px; font-size: 14px; line-height: 1.25; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
a.tvvid__card:focus-visible { outline: 3px solid var(--tv-cyan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tvvid__img { transition: none; } }
@media (min-width: 768px) {
  .tvvid { padding: 64px 32px 0; gap: 18px; }
  .tvvid__head, .tvvid__row { padding: 0; }
  body.tv-2026 .tvvid__ht h2 { font-size: 36px; }
  .tvvid__sub { font-size: 15px; }
  body.tv-2026 a.tvvid__card { width: 170px; height: 300px; }
}
@media (min-width: 1025px) {
  .tvvid { width: min(1200px, calc(100% - 64px)); margin: 80px auto 0; padding: 0; gap: 22px; }
  body.tv-2026 .tvvid__ht h2 { font-size: 40px; letter-spacing: -.4px; }
  .tvvid__ht { gap: 6px; }
  .tvvid__sub { font-size: 16px; }
  body.tv-2026 a.tvvid__all { font-size: 15px; }
  .tvvid__row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; overflow: visible; }
  body.tv-2026 a.tvvid__card { width: auto; height: 340px; }
  .tvvid__play { top: 12px; right: 12px; width: 38px; height: 38px; }
  .tvvid__chip { top: 18px; left: 12px; }
  .tvvid__t { right: 14px; left: 14px; bottom: 16px; font-size: 16px; line-height: 1.3; }
}

/* ---------- Countdown strip under the lead stories (from Newsroom Hub's countdowns) ----------
 * A quiet navy strip: the numbers do the work. No dot, no glow; only a changed digit rolls. */
.tvcd {
  position: relative; margin: 28px 12px 0; padding: 18px 16px 16px; color: #fff;
  background: radial-gradient(circle, rgba(255,255,255,.09) 1px, transparent 1.3px) 0 0 / 16px 16px, #0A1030;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name when" "mid mid"; align-items: center; column-gap: 0;
}
body.tv-2026[data-theme="dark"] .tvcd { background-color: #121A4A; }
.tvcd[hidden] { display: none; }
.tvcd::before, .tvcd::after {
  content: ""; position: absolute; top: -7px; width: 14px; height: 14px; pointer-events: none;
  background: linear-gradient(var(--tv-cyan), var(--tv-cyan)) center / 1.5px 100% no-repeat,
              linear-gradient(var(--tv-cyan), var(--tv-cyan)) center / 100% 1.5px no-repeat;
}
.tvcd::before { right: -7px; }
.tvcd::after { left: -7px; }
body.tv-2026 .tvhome .tvcd__name { grid-area: name; margin: 0; padding-left: 12px; font-size: 18px; line-height: 1.2; font-weight: 700; color: #fff; }
.tvcd__when { grid-area: when; font-size: 13px; color: #A3ACD6; white-space: nowrap; }
.tvcd__mid { grid-area: mid; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: center; }
body.tv-2026 a.tvcd__a { grid-area: link; display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); align-self: stretch; align-items: center; justify-content: flex-end; font-size: 14px; font-weight: 700; color: var(--tv-cyan) !important; text-decoration: none; white-space: nowrap; }
body.tv-2026 a.tvcd__a:hover { text-decoration: underline; }
.tvcd__run, .tvcd__now { display: none; }
.tvcd.is-run .tvcd__run { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tvcd.is-now { grid-template-areas: "name when" "mid link"; }
.tvcd.is-now .tvcd__run { display: none; }
.tvcd.is-now .tvcd__mid { justify-content: flex-start; }
.tvcd.is-now .tvcd__now { display: block; font-size: 22px; font-weight: 700; }
.tvcd.is-now a.tvcd__a { display: flex; }
.tvcd__lbl { font-size: 13px; color: #A3ACD6; }
.tvcd__num { display: flex; align-items: center; gap: 12px; }
.tvcd__days { display: inline-flex; align-items: center; gap: 6px; }
.tvcd__dw { font-size: 15px; font-weight: 600; line-height: 1; }
.tvcd__d { display: inline-flex; direction: ltr; font-size: 30px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
.tvcd__c { position: relative; display: inline-block; overflow: hidden; width: .62em; height: 1em; text-align: center; }
.tvcd__c > span { position: absolute; inset: 0; transition: transform .26s cubic-bezier(.2,.7,.2,1); }
.tvcd__sep { display: inline-block; width: .32em; text-align: center; color: #A3ACD6; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .tvcd__c > span { transition: none; } }
@media (min-width: 768px) { .tvcd { margin: 32px 32px 0; } }
@media (min-width: 1025px) {
  .tvcd, .tvcd.is-now {
    width: min(1200px, calc(100% - 64px)); margin: 40px auto 0; padding: 0; min-height: 104px; box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; grid-template-areas: "name mid when link";
  }
  body.tv-2026 .tvhome .tvcd__name { padding: 0 32px; font-size: 24px; }
  .tvcd__mid { margin: 0; padding: 0 40px; border: 0; }
  .tvcd__when { justify-self: end; padding-left: 32px; font-size: 16px; }
  .tvcd.is-run .tvcd__run { flex-direction: row; gap: 18px; }
  .tvcd__lbl { font-size: 16px; }
  .tvcd__num { gap: 16px; }
  .tvcd__days { gap: 8px; }
  .tvcd__dw { font-size: 18px; }
  .tvcd__d { font-size: 44px; }
  .tvcd.is-now .tvcd__now { font-size: 30px; }
  body.tv-2026 a.tvcd__a { margin: 0; padding: 0 32px 0 0; border: 0; margin-left: 32px; font-size: 16px; }
  .tvcd.is-now .tvcd__when { padding-left: 0; }
}

/* ---------- "עוד באתר": the latest stories, in the event's place next to Live ---------- */
.tvnew { position: relative; margin: 28px 12px 0; padding: 20px 16px 10px; background: var(--tv-panel); border: 1px solid var(--tv-line); display: flex; flex-direction: column; }
.tvnew::before, .tvnew::after {
  content: ""; position: absolute; top: -7px; width: 14px; height: 14px; pointer-events: none;
  background: linear-gradient(var(--tv-cyan), var(--tv-cyan)) center / 1.5px 100% no-repeat,
              linear-gradient(var(--tv-cyan), var(--tv-cyan)) center / 100% 1.5px no-repeat;
}
.tvnew::before { right: 6px; }
.tvnew::after { left: 6px; }
body.tv-2026 .tvhome .tvnew__t { font-size: 24px; line-height: 1; font-weight: 700; }
.tvnew__sub { margin: 4px 0 6px; font-size: 14px; color: var(--tv-muted); }
.tvnew__list { display: flex; flex-direction: column; }
body.tv-2026 .tvhome a.tvnew__item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--tv-line); color: var(--tv-text); }
.tvnew__item:nth-child(n+5) { display: none !important; } /* phones: four */
body.tv-2026 .tvhome a.tvnew__item:last-child, body.tv-2026 .tvhome a.tvnew__item:nth-child(4) { border-bottom: 0; }
.tvnew__img { width: 88px; height: 66px; flex-shrink: 0; object-fit: cover; }
.tvnew__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.tvnew__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--tv-muted); }
.tvnew__meta .tv-tag { position: static; padding: 2px 8px 2px 10px; font-size: 12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px)); }
.tvnew__h { font-size: 15px; line-height: 1.35; font-weight: 700; }
body.tv-2026 .tvhome a.tvnew__item:hover .tvnew__h { text-decoration: underline; }
body.tv-2026 a.tvnew__all { display: inline-flex; min-height: 44px; align-items: center; margin-top: auto; font-size: 15px; font-weight: 700; color: var(--tv-link) !important; text-decoration: none; }
@media (min-width: 768px) { .tvnew { margin: 40px 32px 0; } }
@media (min-width: 1025px) {
  .tvnew { width: min(1200px, calc(100% - 64px)); margin: 56px auto 0; padding: 28px 22px 12px; box-sizing: border-box; }
  .tvpair > .tvnew { width: auto; margin: 0; }
  body.tv-2026 .tvhome .tvnew__t { font-size: 26px; }
  .tvnew__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .tvnew__item:nth-child(n+5) { display: flex !important; }
  body.tv-2026 .tvhome a.tvnew__item:nth-child(4) { border-bottom: 1px solid var(--tv-line); }
  body.tv-2026 .tvhome a.tvnew__item:nth-last-child(-n+2) { border-bottom: 0; }
  .tvnew__img { width: 112px; height: 76px; }
  .tvnew__h { font-size: 16px; }
}

/* No deals to show: the app box becomes a full-width strip instead of sitting alone in a corner */
@media (min-width: 1025px) {
  .tvdeals.is-solo .tvdeals__in { display: block; }
  .tvdeals.is-solo .tvapp { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 40px; row-gap: 8px; align-items: center; padding: 32px 40px; }
  .tvdeals.is-solo .tvapp__t { grid-column: 1; grid-row: 1; }
  .tvdeals.is-solo .tvapp__sub { grid-column: 1; grid-row: 2; }
  .tvdeals.is-solo .tvapp__btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}
