/* The off-canvas mobile drawer sits at left:375 (just off-screen). Other templates
   clip it; the article page must too. `clip` — not `hidden` — so the sticky share
   rail and sidebar keep working (see [[reference_rtl_overflow_clip_not_hidden]]). */
body.single { overflow-x: clip; }

/* ===== Article (single post) — Figma "03 article" 4941:5886 =====
   Source of truth for the layout; built and pixel-checked against the Figma frame
   before porting (see sites/lior.ussl.co/qa/article/).
   Alex model: fluid container, fr grid, no 1920-canvas scaling.
   Column widths at 1920: share 46 | gap 83 | main 743 | gap 70 | side 332 = 1274. */

/* the site header is position:fixed (180px at desktop) — clear it, same as the
   old .svc template did with padding-top: calc(100vw*186/1920). */
.art { background: #fff; padding: 186px 0 64px; direction: rtl; }
.art__wrap { width: 100%; max-width: 1314px; margin: 0 auto; padding-inline: 20px; }
.art__grid {
  display: grid;
  grid-template-columns: 59px minmax(0, 1fr) 332px;
  column-gap: 70px;
  align-items: start;
}
.art__share { grid-column: 1; grid-row: 1 / span 2; }
.art__head  { grid-column: 2; grid-row: 1; }
.art__main  { grid-column: 2; grid-row: 2; }
.art__side  { grid-column: 3; grid-row: 1 / span 2; position: sticky; top: 150px; }
.art .ts-02 { transition: all .2s; }

/* ---------- share rail ---------- */
.art__share { position: sticky; top: 150px; }
.art__share-t { font: 600 16px/21px var(--font-body, "Assistant", sans-serif); color: #0d2024; margin: 0 0 21px; width: 46px; text-align: center; }
.art__share-list { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.art__share-list--inline { display: none; }
.art__share-list a { display: block; line-height: 0; border-radius: 50%; }
.art__share-list a:hover { transform: translateY(-2px); }
.art__share-list svg { display: block; width: 46px; height: 46px; }

/* ---------- head ---------- */
.art__crumb { font: 400 15px/21px var(--font-body, "Assistant", sans-serif); color: #6b6b6b; margin: 0 0 33px; }
.art__crumb a { color: #6b6b6b; text-decoration: none; }
.art__crumb a:hover { color: #b58d41; }
.art__crumb-sep { margin: 0 6px; color: #c3c3c3; }
.art__crumb-cur { color: #0d2c21; }

.art__h1 { font: 600 46px/50.6px var(--font-body, "Assistant", sans-serif); color: #0d2c21; margin: 0 0 24px; }

.art__intro { font: 400 22px/32px var(--font-body, "Assistant", sans-serif); color: #1a1a1a; margin: 0 0 56px; }
.art__intro mark, .art__mark { background: #dac6a0; color: inherit; padding: 2px 3px; }

/* ---------- CTA strip (Figma 4946:6989 — 743x59; text box 679 @x36, chevrons at x17/x685) ---------- */
.art__strip { position: relative; display: flex; align-items: center; justify-content: center;
  background: #0d2c21; height: 59px; padding: 0 8px; margin: 0 0 32px; text-decoration: none; overflow: hidden; }
.art__strip-tx { width: 679px; max-width: 100%; text-align: center;
  font-family: var(--font-body, "Assistant", sans-serif); }
.art__strip-tx b { display: block; font-size: 20px; line-height: 22px; font-weight: 600; color: #b58d41; }
.art__strip-tx span { display: block; font-size: 20px; line-height: 22px; font-weight: 400; color: #fff; }
.art__strip-tx span u { font-weight: 700; }
.art__strip-chev { position: absolute; top: 15px; display: block; pointer-events: none; }
.art__strip-chev:not(.art__strip-chev--flip) { right: 17px; }
.art__strip-chev--flip { left: 17px; transform: scaleX(-1); }
.art__strip-chev svg { display: block; width: 42px; height: 28px; }
.art__strip:hover .art__strip-tx span u { color: #e5c38b; }

/* ---------- byline ---------- */
.art__by { display: flex; align-items: center; justify-content: flex-start; gap: 14px;
  border-top: 1px solid #e2e2e2; padding-top: 14px; margin: 0 0 4px; }
.art__by-av { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: 0 0 54px; }
.art__by-tx { font: 400 17px/24px var(--font-body, "Assistant", sans-serif); color: #1a1a1a; margin: 0; }
.art__by-tx b { font-weight: 700; color: #0d2c21; }
.art__by-tx i { font-style: normal; color: #c3c3c3; margin: 0 8px; }

.art__banner { display: block; width: 100%; height: auto; aspect-ratio: 743 / 367;
  object-fit: cover; margin: 0 0 31px; }

/* ---------- body typography (Figma: Assistant 22/32, H2 38/49.7) ---------- */
.art__body p { font: 400 22px/32px var(--font-body, "Assistant", sans-serif); color: #1a1a1a; margin: 0 0 16px; }
.art__body h2 { font: 600 38px/49.7px var(--font-body, "Assistant", sans-serif); color: #0d2c21;
  margin: 44px 0 20px; padding-bottom: 14px; position: relative; scroll-margin-top: 170px; }
.art__body h2::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: #e2e2e2; }
.art__body h3 { font: 600 26px/36px var(--font-body, "Assistant", sans-serif); color: #0d2c21; margin: 30px 0 14px; }
.art__body ul, .art__body ol { margin: 8px 24px 18px 0; padding: 0; list-style: none; }
.art__body li { position: relative; padding-inline-start: 22px;
  font: 400 22px/32px var(--font-body, "Assistant", sans-serif); color: #1a1a1a; margin-bottom: 10px; }
.art__body ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: 12px;
  width: 7px; height: 7px; background: #b58d41; transform: rotate(45deg); }
.art__body ol { counter-reset: artol; }
.art__body ol li { counter-increment: artol; }
.art__body ol li::before { content: counter(artol) "."; position: absolute; inset-inline-start: 0;
  color: #b58d41; font-weight: 700; }
.art__body strong, .art__body b { font-weight: 700; color: #0d2c21; }
.art__body a { color: #b58d41; text-decoration: underline; }
.art__body img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }
.art__body blockquote { border-inline-start: 3px solid #b58d41; margin: 24px 0;
  padding: 6px 20px 6px 0; color: #313131; font-style: italic; }


/* ---------- in-content components keep their own styling ----------
   Post bodies carry ready-made blocks (.hook / .svc-summary / .svc-box /
   .legal-note / .cta) that style themselves inline. The article typography
   above must not reach inside them — it added gold bullets and an underline
   rule where the block already has its own look. */
.art__body :is(.hook, .svc-summary, .svc-box, .legal-note, .cta) :is(h2, h3) {
  padding-bottom: 0; margin: 0 0 12px; }
.art__body :is(.hook, .svc-summary, .svc-box, .legal-note, .cta) :is(h2, h3)::after { content: none; }
.art__body :is(.hook, .svc-summary, .svc-box, .legal-note, .cta) :is(ul, ol) { margin: 0; padding-inline-start: 20px; }
.art__body :is(.hook, .svc-summary, .svc-box, .legal-note, .cta) li {
  padding-inline-start: 0; list-style: inherit; }
.art__body :is(.hook, .svc-summary, .svc-box, .legal-note, .cta) li::before { content: none; }
.art__body .svc-mark { background: linear-gradient(transparent 10%, rgba(229,195,139,.55) 10%); padding: 0 2px; color: inherit; }

/* ---------- related articles (Figma "articles" 4946:7025 — white cards) ---------- */
.art__rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 21px; margin: 40px 0; }
.art__rel-card { display: block; background: #fff; border: 1px solid #ebeff5; text-decoration: none;
  overflow: hidden; }
.art__rel-card:hover { box-shadow: 0 6px 22px rgba(13,44,33,.12); }
.art__rel-card img { display: block; width: 100%; aspect-ratio: 233 / 166; object-fit: cover; }
.art__rel-card span { display: block; padding: 16px 14px 20px;
  font: 600 21px/28px var(--font-body, "Assistant", sans-serif); color: #000; }

/* ---------- inline lead form (Figma "form" 4946:7001) ---------- */
.art__form { display: flex; align-items: center; gap: 40px;
  background: #0d2c21; border-radius: 4px; padding: 14px 31px 14px 22px; margin: 40px 0; min-height: 170px; }
.art__form-av-wrap { flex: 0 0 110px; text-align: center; order: 0; }
.art__form-av { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 6px; }
.art__form-cap { display: block; font: 700 17px/16px var(--font-body, "Assistant", sans-serif); color: #fff; }
.art__form-body { flex: 1 1 auto; min-width: 0; }
.art .art__form-t { font: 600 28px/37px var(--font-body, "Assistant", sans-serif); color: #fff; margin: 0; text-align: center; }
.art .art__form-sub { font: 400 18px/26px var(--font-body, "Assistant", sans-serif); color: #fff; margin: 2px 0 14px; text-align: center; }
.art__form-row { display: flex; gap: 9px; align-items: center; justify-content: flex-start; }
.art__form-row .field-wrap { flex: 0 0 182px; }
.art__form-row input { width: 100%; height: 52px; background: #193f31; border: 0; border-bottom: 1px solid #6b6b6b;
  color: #fff; padding: 0 14px; font: 400 20px/52px var(--font-body, "Assistant", sans-serif); outline: none; }
.art__form-row input::placeholder { color: #fff; opacity: 1; }
.art__form-row input:focus { border-bottom-color: #e5c38b; }

/* ---------- shared gold button (same component as the theme's .svc__*form-btn) ---------- */
/* same component as the theme's .svc__sideform-btn — flat gold, circle badge on the left */
.art .btn-gold { display: flex; align-items: center; gap: 10px; direction: ltr;
  height: 52px; padding: 0 22px 0 6px; border: 0; cursor: pointer; border-radius: 900px;
  background: var(--gold, #e5c38b); color: var(--green-900, #0d2c21);
  font: 700 20px/1 var(--font-body, "Assistant", sans-serif); white-space: nowrap;
  transition: filter .2s ease; }
.art .btn-gold:hover { filter: brightness(1.06); }
.art .btn-gold .circ { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(13,44,33,.4);
  display: flex; align-items: center; justify-content: center; flex: 0 0 42px; }
.art .btn-gold .circ img { width: 22px; height: auto; filter: brightness(0); transition: transform .25s ease; }
.art .btn-gold:hover .circ img { transform: translate(-4px,-4px); }
.art__form-btn { flex: 0 0 auto; }

/* ---------- about the author (Figma "text" 4946:7053 — 745x230) ----------
   label + gold rule share one line (rule 609 wide at y15); avatar 130 on the right,
   text column 584 wide to its left, "קרא עוד" inline at the end of the bio. */
.art__author { margin: 48px 0 0; }
.art__author-head { display: flex; align-items: center; gap: 22px; margin: 0 0 26px; }  /* RTL: the label is the first child, so it sits on the right */
.art .art__author-h { font: 700 21px/27px var(--font-body, "Assistant", sans-serif); color: #000; margin: 0; padding: 0; flex: 0 0 auto; }
.art__author-rule { display: block; height: 1px; background: #b58d41; flex: 1 1 auto; }
.art__author-in { display: flex; gap: 31px; align-items: flex-start; }
.art__author-in > div { flex: 1 1 auto; min-width: 0; }
.art__author-av { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; flex: 0 0 130px; }
.art .art__author-name { font: 500 28px/37px var(--font-num, "Heebo", sans-serif); color: #000; margin: 0 0 11px; }
.art .art__author-bio { font: 400 20px/32px var(--font-num, "Heebo", sans-serif); color: #151515; margin: 0; }
.art__author-more { display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font: 700 20px/1 var(--font-body, "Assistant", sans-serif); color: #000;
  border-bottom: 1px solid #b58d41; padding-bottom: 5px; }
.art__author-more svg { display: block; width: 18px; height: 18px; }
.art__author-more:hover { color: #b58d41; }

/* ---------- sidebar card (Figma 4946:7067 — 332x639, measured node by node) ---------- */
.art__cta { border: 1px solid #e6e6e6; padding: 40px 38px 41px; text-align: center; background: #fff; }
.art__cta-av { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px;
  display: block; border: 1px solid #fff; }
.art .art__cta-name { font: 700 24px/32px var(--font-num, "Heebo", sans-serif); color: #151515; margin: 0 0 19px; }
.art__cta-name span { display: block; font: 400 17px/26px var(--font-num, "Heebo", sans-serif); color: #151515; margin-top: 2px; }

/* green box + the little pointer above it (Figma "Vector 332" 19x15) */
.art__cta-box { position: relative; background: #0d2c21; border-radius: 6px; min-height: 106px;
  display: flex; align-items: center; padding: 14px 7px; margin: 15px 0 8px; }
.art__cta-box::before { content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  border-inline: 9.5px solid transparent; border-bottom: 12px solid #0d2c21; }
.art .art__cta-box p { font: 400 22px/26px var(--font-body, "Assistant", sans-serif); color: #fff; margin: 0; }

.art .art__cta-sub { font: 400 19px/28px var(--font-body, "Assistant", sans-serif); color: #151515; margin: 0 0 10px; }

/* fields: #f5f5f5 fill with a dark bottom rule (Figma 4946:7105 / 4946:7100) */
.art__sideform { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.art__sideform input { width: 100%; height: 52px; background: #f5f5f5; border: 0; border-bottom: 1px solid #03203d;
  font: 400 18px/52px var(--font-body, "Assistant", sans-serif); color: #56575c; text-align: right;
  padding: 0 14px; outline: none; }
.art__sideform input::placeholder { color: #56575c; opacity: 1; }
.art__sideform input:focus { border-bottom-color: #b58d41; }

/* the sidebar button is its own size — 173x48 with a 48px badge (Figma 4946:7094) */
.art__sideform-btn { width: 173px; height: 48px; padding: 0 18px 0 0; margin-top: 14px;
  border: 1px solid #0d2c21; justify-content: flex-start; gap: 14px; font-size: 20px; }
.art__sideform-btn .circ { width: 48px; height: 48px; flex: 0 0 48px; border-color: #0d2c21; }
.art__sideform-btn .circ img { width: 24px; }

/* ---------- table of contents (Figma 4946:7110 — 331x269) ---------- */
.art__toc { background: #f5f5f5; padding: 17px 26px 22px; margin-top: 66px; }
.art__toc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.art__toc-title { font: 700 24px/28px var(--font-body, "Assistant", sans-serif); color: #000; }
.art__toc-chev { width: 20px; height: 20px; flex: 0 0 20px; display: block; }
.art__toc-rule { display: block; height: 1px; background: #dde1e8; margin: 14px -26px 20px; }  /* Figma Line 61 renders as #dde1e8 */
.art__toc-list { margin: 0; padding: 0 26px 0 0; }
.art__toc-list li { font: 400 19px/26px var(--font-num, "Heebo", sans-serif); color: #000; margin-bottom: 10px; }
.art__toc-list li::marker { font: 400 18px/26px var(--font-body, "Assistant", sans-serif); color: #000; }
.art__toc-list li:first-child::marker { font-weight: 700; }
.art__toc-list a { color: #000; text-decoration: none; }
.art__toc-list a:hover { color: #b58d41; }


/* ---------- blocks placed via shortcode live inside .art__body ----------
   [lzk_author] / [lzk_form] / [lzk_cta] / [lzk_related] expand inside the
   content wrapper, so the article typography would otherwise restyle their
   own h2/p. The block rules above outrank it; these kill the leftovers. */
.art .art__author-h::after,
.art .art__form-t::after,
.art .art__form-sub::after { content: none; }
.art .art__strip, .art .art__rel-card, .art .art__author-more,
.art .art__share-list a { text-decoration: none; }
.art .art__author-more { color: #000; }
.art .art__rel-card span { color: #000; }
.art .art__author-more:hover { color: #b58d41; }
.art__body > .art__rel:first-child,
.art__body > .art__form:first-child,
.art__body > .art__author:first-child { margin-top: 0; }
.art__body .art__rel, .art__body .art__form, .art__body .art__author { clear: both; }

/* ---------- block internals vs .art__body element rules ----------
   A block placed with a shortcode renders INSIDE .art__body, so the article
   body rules for img / b / a / p would restyle its parts (the avatar picked up
   `.art__body img { margin:20px 0; border-radius:10px }` and grew the box by 40px;
   the strip's gold line picked up `.art__body b { color:#0d2c21 }` and vanished
   into the dark green). `.art ` in front puts every block rule at (0,2,0),
   above the (0,1,1) of the body rules. */
.art .art__form-av   { margin: 0 auto 6px; border-radius: 50%; max-width: none; }
.art .art__author-av { margin: 0; border-radius: 50%; max-width: none; }
.art .art__cta-av    { margin: 0 auto 16px; border-radius: 50%; max-width: none; }
.art .art__by-av     { margin: 0; border-radius: 50%; max-width: none; }
.art .art__banner    { margin: 0 0 31px; border-radius: 0; }
.art .art__rel-card img { margin: 0; border-radius: 0; }
.art .art__strip-tx b    { color: #b58d41; font-weight: 600; }
.art .art__strip-tx span { color: #fff; font-weight: 400; }
.art .art__strip-tx span u { font-weight: 700; }
.art .art__form-cap { color: #fff; font-weight: 700; }
.art .art__cta-box p { color: #fff; }

/* ---------- tablet ---------- */
@media (max-width: 1200px) {
  .art { padding-top: 150px; }
  .art__grid { grid-template-columns: 59px minmax(0, 1fr); column-gap: 40px; }
  .art__head { grid-column: 2; grid-row: 1; }
  .art__side { display: contents; }
  .art__toc  { grid-column: 2; grid-row: 2; margin: 0 0 24px; }
  .art__main { grid-column: 2; grid-row: 3; }
  .art__cta  { grid-column: 2; grid-row: 4; margin-top: 32px; }
  .art__h1 { font-size: 38px; line-height: 44px; }
  .art__body h2 { font-size: 30px; line-height: 40px; }
  .art__form { padding: 14px 24px 24px 130px; }
}

/* ---------- mobile ---------- */
@media (max-width: 900px) {
  .art { padding: 90px 0 40px; }
  /* Figma mobile 4984:11467 order: title -> intro -> strip -> [share + byline] -> banner -> TOC -> body */
  /* the desktop grid sets align-items:start; as a flex column that would size every
     child to its CONTENT width (the article body came out 707px inside a 335px column
     and overflowed) — stretch puts them back on the container width. */
  .art__grid { display: flex; flex-direction: column; align-items: stretch; }
  .art__share { display: none; }                       /* the rail becomes the inline row below */
  .art__head { order: 1; }
  .art__side { display: contents; }
  .art__toc  { order: 2; margin: 20px 0 0; }
  .art__main { order: 3; }
  .art__cta  { order: 4; margin-top: 28px; }
  .art__crumb { margin-bottom: 14px; }

  .art__share-list--inline { display: flex; flex-direction: row-reverse; gap: 6px; margin-inline-start: auto; }
  .art__share-list--inline svg { width: 26px; height: 26px; }
  .art__by { flex-wrap: nowrap; gap: 8px; }
  .art__by-av { width: 44px; height: 44px; flex-basis: 44px; }
  .art__by-tx { font-size: 15px; line-height: 21px; }

  .art__h1 { font-size: 30px; line-height: 38px; margin-bottom: 16px; }
  .art__intro, .art__body p, .art__body li { font-size: 18px; line-height: 28px; }
  .art__intro { margin-bottom: 24px; }
  .art__body h2 { font-size: 24px; line-height: 32px; margin: 26px 0 14px; padding-bottom: 10px; }
  .art__body h3 { font-size: 20px; line-height: 28px; margin: 20px 0 10px; }
  /* The strip wraps on mobile — one height was clipping ~a third of the copy. */
  .art__strip { gap: 10px; padding: 12px 14px; height: auto; min-height: 59px; overflow: visible; }
  .art__strip-tx b, .art__strip-tx span { font-size: 15px; line-height: 21px; }
  .art__strip-chev { top: 50%; transform: translateY(-50%); }
  .art__strip-chev--flip { transform: translateY(-50%) scaleX(-1); }
  .art__strip-chev svg { width: 18px; height: 18px; margin-inline-start: -7px; }
  .art__rel { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .art__form { flex-direction: column; gap: 14px; padding: 18px; text-align: center; }
  .art__form-av-wrap { flex: 0 0 auto; }
  .art .art__form-t { font-size: 21px; line-height: 28px; }
  .art .art__form-sub { font-size: 15px; line-height: 22px; }
  .art__form-row { flex-wrap: wrap; }
  .art__form-row .field-wrap { flex: 1 1 100%; }
  .art__form-btn { width: 100%; justify-content: center; }
  .art__author-in { flex-direction: column; align-items: center; text-align: center; }
  .art__author-av { width: 104px; height: 104px; flex-basis: 104px; }
  .art .art__author-name { font-size: 22px; line-height: 30px; }
  .art .art__author-bio { font-size: 17px; line-height: 28px; }
}
