/* Session 128: hero H1 of the six templates = two lines shaped as an inverted pyramid (line 1 longer), both lines in the same base
   weight and colour, the accent ONLY on the result / promise / number words (roles S1.h1.l1 and S1.h1.l2, ** marks the accent).
   Lines are blocks from 700px up; on phones they wrap naturally. Accents follow their words (box-decoration-break: clone).
   Hero subtitle: natural wrap at a reading width of about 60-75 characters, no forced breaks, no single word on the last line. */
:is(.c-cdh__h, .c-hra__h, .c-rb__hh, .c-hrc__h, .c-p19e__h, .c-m6v__h) { text-wrap: pretty; }
:is(.c-cdh__acc, .c-hra__acc, .c-rb__acc, .c-hrc__mk, .c-p19e__g, .c-m6v__acc) { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:is(.c-cdh__acc, .c-hra__acc, .c-rb__acc, .c-hrc__mk, .c-p19e__g, .c-m6v__acc):empty { display: none; }
:is(.c-cdh__l1, .c-cdh__l2, .c-hra__l1, .c-hra__l2, .c-hrc__l1, .c-hrc__l2, .c-p19e__l1, .c-p19e__l2, .c-m6v__l1, .c-m6v__l2) { display: block; }
@media (max-width: 699px) {
  :is(.c-cdh__l1, .c-cdh__l2, .c-hra__l1, .c-hra__l2, .c-hrc__l1, .c-hrc__l2, .c-p19e__l1, .c-p19e__l2, .c-m6v__l1, .c-m6v__l2) { display: inline; }
}

/* 15 minimal-light: both lines dark and bold, the accent words in the brand gradient (was the whole line 2) */
body.mlp-page .c-cdh__h .c-cdh__l1, body.mlp-page [data-zk="minimal-light"] .c-cdh__h .c-cdh__l2 { font-weight: 800 !important; color: inherit !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
body.mlp-page [data-zk="minimal-light"] .c-cdh__acc { background-image: var(--zk-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* 16 minimal-dark: both lines white, the accent words in the brand gradient (was the whole line 2) */
body.mlp-page .c-hra__h .c-hra__l2 { color: inherit !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
body.mlp-page .c-hra__acc { background-image: radial-gradient(ellipse 70% 140% at 50% 50%, #6a9bf8 0%, #4479ee 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
body.mlp-page [data-zk] .c-hra__acc { background-image: var(--zk-grad-text, radial-gradient(ellipse 70% 140% at 50% 50%, #6a9bf8 0%, #4479ee 100%)); }

/* 17 rich-levin: both lines one size, bold, dark brand tone; the accent words in the brand gradient (was the whole big line 2) */
body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh :is(.c-rb__l1, .c-rb__l2) { font-size: clamp(28px, 6.6vw, 46px); line-height: 1.18; font-weight: 800; white-space: normal !important; color: hsl(from var(--zk-brand, #8e7d71) h 30% 22%); background: none !important; -webkit-text-fill-color: currentColor !important; }
body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh .c-rb__l2 { margin-top: 0 !important; }
body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__acc { font-weight: 900; background-image: linear-gradient(90deg, #8a7a6e 0%, #6e5f54 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
@media (min-width: 700px) { body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh :is(.c-rb__l1, .c-rb__l2) { font-size: clamp(30px, 4.1vw, 56px); } }

/* 18 vsl-zebra-dark: the marker sits on the accent words only, both lines the same */
.c-hrc__h .c-hrc__mk { padding: 0 .08em; }

/* 19 vsl-zebra-light: the H1 becomes two lines; the existing marker (c-p19e__g) holds the accent words */
@media (min-width: 700px) { .c-p19e__h { max-width: none; } }

/* 20 badihi-gray: two lines; the mint gradient (c-m6v__acc) holds the accent words */
@media (min-width: 700px) { .c-m6v__h { max-width: none; } }

/* hero subtitle: reading width, no forced breaks, no orphan word */
:is(.c-cdh__lead, .c-hra__sub, .c-rb__p, .c-hrc__sub, .c-p19e__p, .c-m6v__p) { text-wrap: pretty; }
.c-p19e__p .c-p19e-br { display: none !important; }
@media (min-width: 700px) {
  :is(.c-cdh__lead, .c-hra__sub, .c-hrc__sub, .c-p19e__p, .c-m6v__p) { max-width: min(68ch, 100%) !important; }
  body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__p { max-width: min(68ch, 100%) !important; }
}

/* sizes that keep line 1 on ONE line from tablet up (about 32 characters), so the pyramid holds */
@media (min-width: 700px) and (max-width: 1023px) {
  :is(.c-cdh__h, .c-hra__h, .c-hrc__h, .c-p19e__h, .c-m6v__h) { font-size: 5.2vw !important; line-height: 1.18 !important; }
}
body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh > :is(.c-rb__l1, .c-rb__l2) { display: block; }
@media (max-width: 699px) { body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh > :is(.c-rb__l1, .c-rb__l2) { display: inline; } }
@media (min-width: 700px) and (max-width: 1023px) { body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh :is(.c-rb__l1, .c-rb__l2) { font-size: 5vw; } }
@media (min-width: 1024px) { body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh :is(.c-rb__l1, .c-rb__l2) { font-size: clamp(32px, 2.6vw, 52px); } }
@media (min-width: 1024px) and (max-width: 1279px) { :is(.c-hra__h, .c-hrc__h, .c-m6v__h) { font-size: 48px !important; line-height: 1.15 !important; } }
/* page 16 phone: the subtitle keeps a clear gap under the H1 */
@media (max-width: 699px) { .c-hra__h + .c-hra__sub { margin-top: 18px !important; } }
/* phones (coordinator check, Session 128): the two lines stay separate blocks, so line 2 never inherits a broken tail of line 1;
   the copy keeps "90 ומעלה" and "תוך 90 יום" together with non-breaking spaces */
@media (max-width: 699px) {
  :is(.c-cdh__l1, .c-cdh__l2, .c-hra__l1, .c-hra__l2, .c-hrc__l1, .c-hrc__l2, .c-p19e__l1, .c-p19e__l2, .c-m6v__l1, .c-m6v__l2) { display: block; }
  body.mlp-page .c-rb[data-zk="rich-levin"] .c-rb__hh > :is(.c-rb__l1, .c-rb__l2) { display: block; }
}
