/* The Verifier 2026: "הסיפור היומי" (story page, category page, home block). See inc/story.php. */

body.tv-2026 .tv-cut-lg { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--tv-cut-lg) 100%, 0 calc(100% - var(--tv-cut-lg))); }
body.tv-story .site-outer, body.tv-story .site-wrap,
body.tv-story-cat .site-outer, body.tv-story-cat .site-wrap { background: transparent; }

/* ---------- Reading progress ---------- */
/* On a story the page's top band becomes the reading progress: same place, same height. */
body.tv-2026.tv-story::before { display: none; }
.tvstory-progress { position: fixed; inset: 0 0 auto 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 100001; height: 4px; background: var(--tv-line); pointer-events: none; }
@media (max-width: 600px) { .tvstory-progress { top: 0; } } /* the admin bar scrolls away on small screens */
.tvstory-progress span { display: block; width: 0; height: 4px; background: var(--tv-band); background-size: 100vw 4px; transition: width .1s linear; }

/* ---------- Cinematic hero ---------- */
.tvstory-hero { position: relative; height: 660px; overflow: hidden; background: var(--tv-story-ink); color: #fff; }
.tvstory-hero__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: 50% 35%; filter: saturate(.85) contrast(1.15) brightness(.8); }
.tvstory-hero__tint { position: absolute; inset: 0; background: #5A2BD6; mix-blend-mode: soft-light; opacity: .45; }
.tvstory-hero__vig { position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 35%, rgba(20,11,58,0) 45%, rgba(20,11,58,.7) 100%); }
.tvstory-hero__fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,11,58,.7) 0%, rgba(20,11,58,0) 18%, rgba(20,11,58,0) 40%, rgba(20,11,58,.85) 66%, #140B3A 86%); }
.tvstory-hero__series { position: absolute; top: 22px; left: 0; right: 0; z-index: 1; text-align: center; font-size: 15px; font-weight: 800; letter-spacing: 3px; color: #fff !important; text-decoration: none; }
.tvstory-hero__body { position: absolute; left: 20px; right: 20px; bottom: 30px; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.tvstory-hero__t { margin: 0; font-size: 34px; line-height: 1.08; font-weight: 700; letter-spacing: -.4px; color: #fff; }
.tvstory-hero__meta { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #D7CCFF; }
.tvstory-hero__meta .tv-av { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--tv-cyan); }
.tvstory-hero__meta b { font-weight: 700; color: #fff; }
.tvstory-hero__sep { width: 1px; height: 14px; background: #8C7FC9; }
.tvstory-hero__dek { margin: 0; font-size: 16px; line-height: 1.5; color: #E6DFFF; }
.tvstory-hero__btns { display: flex; gap: 10px; width: 100%; margin-top: 4px; }
.tvstory-btn { flex: 1; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 0; border-radius: 0; font: 700 16px/1 var(--tv-font); text-decoration: none !important; cursor: pointer; }
.tvstory-btn--solid { background: #fff; color: #140B3A !important; }
.tvstory-btn--ghost { background: rgba(255,255,255,.16); color: #fff !important; }
.tvstory-btn--ghost.is-on { background: var(--tv-cyan); color: var(--tv-navy) !important; }

/* ---------- Reading column ---------- */
.tvstory-wrap { position: relative; padding-top: 18px; }
.tvstory-wrap { scroll-margin-top: 24px; }
.tvstory-rail .tvshare { margin-bottom: 0; }

.tvstory-nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 22px 16px 0; }
.tvstory-num { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; background: var(--tv-surface); border-top: 3px solid var(--tv-lavender); }
.tvstory-num__v { font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -.6px; color: var(--tv-text); text-align: right; }
.tvstory-num__k { font-size: 12px; line-height: 1.3; color: var(--tv-muted); }

body.tv-2026.single-post .tvstory .tvstory-body { padding: 30px 18px 0; display: flex; flex-direction: column; gap: 22px; }
body.tv-2026.single-post .tvstory .tvstory-body > * { margin: 0 !important; }
body.tv-2026.single-post .tvstory .tvstory-body p { font-size: 19px; line-height: 1.85; color: var(--tv-body); }
body.tv-2026.single-post .tvstory .tvstory-body > p:first-of-type::first-letter { float: right; margin: 6px 0 0 10px; font-size: 64px; line-height: .8; font-weight: 800; color: #6A4BD8; }
body.tv-2026.single-post[data-theme="dark"] .tvstory .tvstory-body > p:first-of-type::first-letter { color: var(--tv-lavender); }
body.tv-2026.single-post .tvstory .tvstory-body h2 { padding: 0 !important; border: 0 !important; margin-top: 18px !important; font-size: 22px; line-height: 1.25; font-weight: 700; color: var(--tv-text); }
body.tv-2026.single-post .tvstory .tvstory-body blockquote,
body.tv-2026.single-post .tvstory .tvstory-body .wp-block-quote,
body.tv-2026.single-post .tvstory .tvstory-body .wp-block-pullquote { margin: 6px 0 !important; padding: 20px 18px; border: 0 !important; background: var(--tv-story); color: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%, 0 calc(100% - 18px)); text-align: right; }
body.tv-2026.single-post .tvstory .tvstory-body h2::before, body.tv-2026.single-post .tvstory .tvstory-body blockquote::before, body.tv-2026.single-post .tvstory .tvstory-body blockquote::after { display: none !important; }
body.tv-2026.single-post .tvstory .tvstory-body blockquote p { margin: 0; font-size: 24px !important; line-height: 1.35 !important; font-weight: 700; color: #fff !important; font-style: normal; }
body.tv-2026.single-post .tvstory .tvstory-body blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: #D7CCFF; }

.tvstory-why { margin-top: 8px !important; padding: 18px; background: #E3F9FD; display: flex; flex-direction: column; gap: 8px; }
body.tv-2026[data-theme="dark"] .tvstory-why { background: rgba(34,225,247,.10); }
.tvstory-why__k { font-size: 15px; font-weight: 800; color: #2F44C8; }
body.tv-2026[data-theme="dark"] .tvstory-why__k { color: var(--tv-cyan); }
body.tv-2026.single-post .tvstory .tvstory-why p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--tv-text); }

.tvstory-next { margin: 30px 16px 0; padding: 22px 18px; background: var(--tv-story); color: #fff !important; display: flex; flex-direction: column; gap: 10px; text-decoration: none !important; }
.tvstory-next__txt { display: flex; flex-direction: column; gap: 10px; }
.tvstory-next__k { font-size: 13px; font-weight: 700; color: var(--tv-cyan); }
.tvstory-next__t { font-size: 24px; line-height: 1.15; font-weight: 700; }
.tvstory-next__btn { display: inline-flex; align-self: flex-start; flex-shrink: 0; min-height: 44px; align-items: center; padding: 0 18px; background: #fff; color: var(--tv-story); font-size: 15px; font-weight: 700; }

.tvstory-col > .tvauthor { margin: 30px 16px 0; }

/* More from the series: a list on phones, purple cards from tablets up */
.tvstory-more { padding: 36px 16px 0; }
.tvstory-more__t { margin: 0 0 6px; font-size: 26px; line-height: 1.1; font-weight: 700; color: var(--tv-text); }
.tvstory-cards { display: flex; flex-direction: column; }
.tvstory-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--tv-line); color: var(--tv-text) !important; text-decoration: none !important; clip-path: none !important; }
.tvstory-card__t { font-size: 17px; line-height: 1.3; font-weight: 700; }
.tvstory-card__m { font-size: 13px; color: var(--tv-muted); }
.tvstory-nudge { padding: 28px 16px 36px; }
.tvstory-nudge .tvnudge { margin: 0; }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .tvstory-hero { height: 700px; }
  .tvstory-hero__body { left: 50%; right: auto; bottom: 48px; width: min(680px, calc(100% - 64px)); transform: translateX(-50%); gap: 18px; }
  .tvstory-hero__t { font-size: 48px; letter-spacing: -.8px; }
  .tvstory-hero__meta { font-size: 16px; gap: 12px; }
  .tvstory-hero__meta .tv-av { width: 36px; height: 36px; }
  .tvstory-hero__dek { font-size: 18px; }
  .tvstory-hero__btns { width: auto; gap: 12px; }
  .tvstory-btn { flex: none; min-height: 54px; padding: 0 30px; font-size: 17px; }
  .tvstory-col { max-width: 680px; margin: 0 auto; padding: 0; }
  .tvstory-wrap { padding-top: 0; }
  .tvstory-rail { max-width: 680px; margin: 40px auto 0; }
  .tvstory-rail .tvshare { padding: 0; }
  .tvstory-nums { margin: 26px 0 0; gap: 12px; }
  .tvstory-num { padding: 20px; gap: 6px; }
  .tvstory-num__v { font-size: 40px; letter-spacing: -1px; }
  .tvstory-num__k { font-size: 14px; }
  body.tv-2026.single-post .tvstory .tvstory-body { padding: 38px 0 0; gap: 26px; }
  body.tv-2026.single-post .tvstory .tvstory-body p { font-size: 21px; }
  body.tv-2026.single-post .tvstory .tvstory-body > p:first-of-type::first-letter { margin: 8px 0 0 14px; font-size: 92px; }
  body.tv-2026.single-post .tvstory .tvstory-body h2 { margin-top: 26px !important; font-size: 30px; }
  body.tv-2026.single-post .tvstory .tvstory-body blockquote, body.tv-2026.single-post .tvstory .tvstory-body .wp-block-quote, body.tv-2026.single-post .tvstory .tvstory-body .wp-block-pullquote { margin: 14px 0 !important; padding: 36px 48px; clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
  body.tv-2026.single-post .tvstory .tvstory-body blockquote p { font-size: 36px !important; line-height: 1.3 !important; }
  .tvstory-why { margin-top: 10px !important; padding: 22px 26px; }
  .tvstory-why__k { font-size: 16px; }
  body.tv-2026.single-post .tvstory .tvstory-why p { font-size: 18px; }
  .tvstory-next { margin: 40px 0 0; padding: 36px 48px; flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .tvstory-next__k { font-size: 15px; }
  .tvstory-next__t { font-size: 32px; }
  .tvstory-next__btn { align-self: center; min-height: 50px; padding: 0 24px; font-size: 16px; }
  .tvstory-col > .tvauthor { margin: 40px 0 0; }
  .tvstory-more, .tvstory-nudge { max-width: 720px; margin: 0 auto; padding-left: 0; padding-right: 0; }
  .tvstory-more { padding-top: 64px; }
  .tvstory-more__t { margin-bottom: 22px; font-size: 34px; letter-spacing: -.3px; }
  .tvstory-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .tvstory-card { justify-content: space-between; gap: 24px; min-height: 180px; padding: 26px 28px; border: 0; background: var(--tv-story); color: #fff !important; clip-path: polygon(0 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px)) !important; }
  .tvstory-card__t { font-size: 22px; line-height: 1.25; }
  .tvstory-card__m { font-size: 14px; color: #D7CCFF; }
  .tvstory-nudge { padding-top: 24px; padding-bottom: 80px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .tvstory-col, .tvstory-rail { padding-left: 32px; padding-right: 32px; max-width: 744px; }
  .tvstory-more, .tvstory-nudge { padding-left: 32px; padding-right: 32px; max-width: 784px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1025px) {
  .tvstory-hero { height: 760px; }
  .tvstory-hero__series { top: 32px; font-size: 17px; letter-spacing: 4px; }
  .tvstory-hero__body { bottom: 64px; width: min(860px, calc(100% - 64px)); gap: 20px; }
  .tvstory-hero__t { font-size: 60px; line-height: 1.06; letter-spacing: -1px; }
  .tvstory-hero__dek { font-size: 20px; }
  .tvstory-hero__btns { margin-top: 6px; }
  .tvstory-hero__vig { background: radial-gradient(90% 80% at 50% 35%, rgba(20,11,58,0) 40%, rgba(20,11,58,.75) 100%); }
  .tvstory-hero__fade { background: linear-gradient(180deg, rgba(20,11,58,.7) 0%, rgba(20,11,58,0) 16%, rgba(20,11,58,0) 36%, rgba(20,11,58,.85) 64%, #140B3A 88%); }
  .tvstory-wrap { width: min(1200px, calc(100% - 64px)); margin: 0 auto; }
  .tvstory-rail { position: absolute; right: 0; top: 48px; bottom: 0; max-width: none; margin: 0; }
  .tvstory-rail .tvshare { position: sticky; top: 24px; }
  .tvstory-col { padding-top: 48px; }
  .tvstory-nums { margin-top: 0; }
  body.tv-2026.single-post .tvstory .tvstory-body blockquote, body.tv-2026.single-post .tvstory .tvstory-body .wp-block-quote, body.tv-2026.single-post .tvstory .tvstory-body .wp-block-pullquote { margin: 14px -100px !important; }
  .tvstory-next { margin: 40px -100px 0; }
  .tvstory-more, .tvstory-nudge { max-width: none; width: min(1200px, calc(100% - 64px)); }
  .tvstory-more { padding-top: 80px; }
  .tvstory-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (min-width: 1025px) and (max-width: 1264px) {
  body.tv-2026.single-post .tvstory .tvstory-body blockquote, body.tv-2026.single-post .tvstory .tvstory-body .wp-block-quote, body.tv-2026.single-post .tvstory .tvstory-body .wp-block-pullquote { margin: 14px -48px !important; }
  .tvstory-next { margin: 40px -48px 0; }
}

/* ---------- Category page ---------- */
.tvstorycat__list { padding: 36px 16px 64px; }
.tvstorycat__head { margin-bottom: 14px; }
.tvstorycat__t { margin: 0; font-size: 26px; line-height: 1.1; font-weight: 700; color: var(--tv-text); }
.tvstorycat__sub { margin: 8px 0 0; font-size: 15px; color: var(--tv-muted); }
.tvstorycat .tvstory-hero__btns { width: auto; }
.tvstorycat .tvstory-btn { flex: none; }
.tvstorycat__pages { margin-top: 32px; }
@media (min-width: 768px) {
  .tvstorycat__list { max-width: 720px; margin: 0 auto; padding: 64px 32px 80px; }
  .tvstorycat__head { margin-bottom: 22px; }
  .tvstorycat__t { font-size: 34px; }
  .tvstorycat__sub { font-size: 17px; }
}
@media (min-width: 1025px) {
  .tvstorycat__list { max-width: none; width: min(1200px, calc(100% - 64px)); padding: 80px 0 96px; }
}

/* ---------- Home block ---------- */
.tvhstory { position: relative; margin-top: 56px; padding: 88px 0 44px; background: var(--tv-story); color: #fff; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
.tvhstory__band { position: absolute; left: 0; right: 0; top: 0; height: 48px; background: var(--tv-band); clip-path: polygon(0 40px, 100% 0, 100% 6px, 0 46px); }
.tvhstory__in { display: flex; flex-direction: column-reverse; gap: 24px; padding: 0 16px; }
.tvhstory__txt { display: flex; flex-direction: column; }
.tvhstory__h { margin: 0; font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.8px; color: #fff; }
.tvhstory__sub { margin: 8px 0 24px; font-size: 15px; color: #D7CCFF; }
.tvhstory__link { display: flex; flex-direction: column; gap: 14px; color: #fff !important; text-decoration: none !important; }
.tvhstory__t { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.3px; }
.tvhstory__dek { font-size: 16px; line-height: 1.6; color: #E6DFFF; }
.tvhstory__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; flex-wrap: wrap; }
.tvhstory__btn { min-height: 48px; padding: 0 24px; display: flex; align-items: center; background: #fff; color: var(--tv-story); font-size: 16px; font-weight: 700; }
.tvhstory__by { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.tvhstory__by .tv-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--tv-cyan); }
.tvhstory__by > span { display: flex; flex-direction: column; line-height: 1.25; }
.tvhstory__by > span > span { color: #D7CCFF; }
.tvhstory__all { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; font-size: 16px; font-weight: 700; color: var(--tv-cyan) !important; text-decoration: none !important; }
.tvhstory__media { display: block; }
.tvhstory__img { display: block; width: 100%; height: 220px; object-fit: cover; }
@media (min-width: 768px) {
  .tvhstory { margin-top: 72px; padding: 104px 0 56px; clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%); }
  .tvhstory__band { height: 64px; clip-path: polygon(0 56px, 100% 0, 100% 7px, 0 63px); }
  .tvhstory__in { padding: 0 32px; }
  .tvhstory__h { font-size: 52px; }
  .tvhstory__t { font-size: 32px; }
  .tvhstory__img { height: 360px; }
}
@media (min-width: 1025px) {
  .tvhstory { margin-top: 88px; padding: 120px 0 64px; clip-path: polygon(0 64px, 100% 0, 100% 100%, 0 100%); }
  .tvhstory__band { height: 72px; clip-path: polygon(0 64px, 100% 0, 100% 7px, 0 71px); }
  .tvhstory__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 640px); gap: 56px; align-items: center; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 0; }
  .tvhstory__h { font-size: 60px; letter-spacing: -1.2px; }
  .tvhstory__sub { margin: 10px 0 36px; font-size: 17px; }
  .tvhstory__link { gap: 18px; }
  .tvhstory__t { font-size: 36px; line-height: 1.12; letter-spacing: -.4px; }
  .tvhstory__dek { font-size: 18px; }
  .tvhstory__row { justify-content: flex-start; gap: 24px; margin-top: 8px; }
  .tvhstory__all { margin-top: 28px; }
  .tvhstory__img { height: 400px; }
}

/* Fixes after the first look in the browser */
body.tv-2026 .tvhstory .tvhstory__h { color: #fff !important; }
.tvstory-btn { white-space: nowrap; }
@media (max-width: 767px) { .tvstory-btn { padding: 0 12px; font-size: 15px; } }

/* "תזכירו לי": the options open under the box */
.tvstory-next { flex-wrap: wrap; }
.tvstory-next__btn { border: 0; border-radius: 0; cursor: pointer; font-family: var(--tv-font); }
.tvstory-next__btn[aria-expanded="true"] { background: var(--tv-cyan); color: #0A1030; }
.tvstory-next__btn:focus-visible, .tvremind__o:focus-visible { outline: 3px solid var(--tv-cyan); outline-offset: 2px; }
.tvremind { flex: 1 0 100%; margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.tvremind[hidden] { display: none; }
.tvremind__q { margin: 0 0 10px !important; font-size: 15px; font-weight: 700; color: #fff; }
.tvremind__opts { display: grid; gap: 8px; }
.tvremind__o { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 56px; padding: 10px 14px; box-sizing: border-box; border: 1px solid rgba(255,255,255,.28); border-radius: 0;
  background: rgba(255,255,255,.06); color: #fff !important; font-family: var(--tv-font); text-align: right; text-decoration: none !important; cursor: pointer; }
.tvremind__o:hover { background: rgba(255,255,255,.14); border-color: var(--tv-cyan); }
.tvremind__o[hidden] { display: none; }
.tvremind__o b { font-size: 15px; font-weight: 700; }
.tvremind__o span { font-size: 13px; color: #D7CCFF; }
.tvremind__msg { margin: 12px 0 0 !important; font-size: 14px; color: var(--tv-cyan); }
@media (min-width: 768px) { .tvremind__opts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
