/* The Verifier 2026: story flags (חדשות מתפרצות, עדכונים שוטפים, בלעדי, פרסום ראשון) and live-updates articles. */

/* Flag: the same shape as the category tag (.tv-tag), but in the flow of the text */
.tv-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tv-flag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 4px 10px 4px 12px; font: 800 12px/1.3 var(--tv-font); white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
.tv-flag--breaking { background: var(--tv-negative); color: #fff; }
body.tv-2026[data-theme="dark"] .tv-flag--breaking { color: var(--tv-navy); }
.tv-flag--live { background: var(--tv-navy); color: #fff; }
.tv-flag--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tv-cyan); }
body.tv-2026[data-theme="dark"] .tv-flag--live { background: var(--tv-chip-bg); }
/* בלעדי: the purple half of the brand band, deepened so white text reads (5.6:1 and up) */
.tv-flag--excl { padding: 5px 12px 5px 14px; background: linear-gradient(90deg, #A01FC8, #7B33D1 50%, #4A5BD6); color: #fff; font-size: 13px; }
.tv-flag__ic { width: 13px; height: 13px; fill: currentColor; flex: none; }
/* פרסום ראשון: navy tag, white on photos and in dark mode */
.tv-flag--first { background: var(--tv-navy); color: #fff; font-size: 13px; }
body.tv-2026[data-theme="dark"] .tv-flag--first { background: #fff; color: var(--tv-navy); }
.tv-flag-time { font-size: 13px; font-weight: 700; color: var(--tv-negative); }
.tv-flag-note { font-size: 13px; font-weight: 500; color: var(--tv-muted); }

/* Breaking: the brand band under the box turns into a plain red one */
.tvhero--breaking .tvhero__body::after,
.tvs-hero--breaking .tvs-hero__box::after,
.tvcat__lead-box--breaking::after { background: var(--tv-negative) !important; }

/* Lists */
.tvfeed__item--breaking .tvfeed__date { color: var(--tv-negative); font-weight: 700; }
.tvfeed__item--live .tvfeed__date { color: var(--tv-accent-text); font-weight: 700; }

/* ---------- Live-updates article ---------- */
.tvs-hero--live .tv-flag-time { color: var(--tv-accent-text); }
.tvlv-now { padding: 18px 20px; background: var(--tv-israel-bg); }
.tvlv-now h2 { margin: 0 0 8px !important; font-size: 17px !important; font-weight: 700; color: var(--tv-text); }
.tvlv-now ul { margin: 0; padding: 0 20px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--tv-body); }
.tvlv-new {
  display: flex; margin: 22px auto 6px; min-height: 40px; padding: 0 18px; align-items: center; border: 0; cursor: pointer;
  background: var(--tv-cyan); color: var(--tv-navy); font: 700 14px/1 var(--tv-font);
}
.tvlv-list { display: flex; flex-direction: column; }
.tvlv-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px; padding: 20px 0; border-bottom: 1px solid var(--tv-line); }
.tvlv-time { padding-top: 4px; font-size: 15px; font-weight: 800; color: var(--tv-text); font-variant-numeric: tabular-nums; direction: ltr; text-align: right; }
.tvlv-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tvlv-by { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--tv-muted); }
.tvlv-by b { color: var(--tv-text); font-weight: 700; }
.tvlv-pin { padding: 2px 8px; background: var(--tv-chip-bg); font-size: 12px; font-weight: 700; color: var(--tv-accent-text); }
.tvlv-t { font-size: 21px !important; line-height: 1.3 !important; font-weight: 700; color: var(--tv-text); }
.tvlv-body p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--tv-body); }
.tvlv-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 4px; }
.tvlv-link { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--tv-link) !important; }
.tvlv-side { position: sticky; top: 100px; display: flex; flex-direction: column; }
.tvlv-side h2 { margin: 0 0 8px !important; font-size: 18px !important; font-weight: 700; color: var(--tv-text); }
.tvlv-side a { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--tv-line); font-size: 15px; line-height: 1.4; color: var(--tv-body) !important; }
.tvlv-side time { flex: none; width: 42px; font-weight: 800; color: var(--tv-text); direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
/* Phones: the time joins the writer line, so the text gets the full width with even margins */
@media (max-width: 767px) {
  .tvlv-item { grid-template-columns: minmax(0, 1fr); }
  .tvlv-time { order: 0; padding: 0; text-align: right; font-size: 14px; }
  .tvlv-item { position: relative; }
  .tvlv-item > .tvlv-time { position: absolute; top: 22px; left: 0; color: var(--tv-muted); }
}
@media (min-width: 768px) {
  .tvlv-item { grid-template-columns: 64px minmax(0, 1fr); gap: 0 20px; padding: 24px 0; }
  .tvlv-t { font-size: 23px !important; }
  .tvlv-body p { font-size: 18px; }
}

/* On photo cards the navy tag would sink into the shade */
.tvcard-ov .tv-flag--first { background: #fff; color: var(--tv-navy); }

.tvlv-new[hidden] { display: none; }
.tvlv-by .tv-av { width: 24px; height: 24px; border-radius: 50%; }
.tvlv-text > :last-child { margin-bottom: 0; }
.tvlv-text p { margin: 0 0 12px; }
.tvlv-text img { max-width: 100%; height: auto; }
.tvlv-item.is-pinned .tvlv-t { color: var(--tv-text); }
.tvcat__lead-box .tv-flags, .tvnew__body .tv-flags { margin-bottom: 2px; }
