/* =========================================================
   רפאל רדובן · טיפול CBT בקשב, חרדה ודיכאון
   מערכת עיצוב משותפת לכל עמודי האתר
   ========================================================= */

/* גופן Heebo מאוחסן באתר עצמו (רישיון SIL Open Font License), בלי פנייה לשרתי Google */
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/heebo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1d2733;
  --muted: #4b5a6a;
  --navy: #16324f;
  --navy-2: #0f2238;
  --teal: #0b6e6e;
  --teal-dark: #075252;
  --teal-soft: #e2f1f0;
  --sky: #eaf4fb;
  --sky-2: #cfe6f6;
  --sky-strong: #2f7fb5;
  --sand: #f8f3eb;
  --sand-2: #efe4d3;
  --accent: #a8561f;
  --line: #dbe4ec;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --card: #ffffff;

  --lvl-0: #2a7a55;
  --lvl-1: #7d6400;
  --lvl-2: #b0561b;
  --lvl-3: #a62f2f;
  --lvl-4: #7a1f3a;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 40, 64, .05), 0 10px 30px rgba(16, 40, 64, .08);
  --shadow-sm: 0 1px 2px rgba(16, 40, 64, .06), 0 4px 12px rgba(16, 40, 64, .05);
  --font: "Heebo", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --font-display: var(--font);   /* כותרות באותו פונט כמו טקסט המאמרים */
  --maxw: 1180px;
  --focus: #f2a900;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.a11y-fs-1 { font-size: 112.5%; }
html.a11y-fs-2 { font-size: 125%; }
html.a11y-fs-3 { font-size: 150%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; right: 16px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }

.container { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.narrow { width: min(100% - 32px, 820px); margin-inline: auto; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.4em; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(11, 110, 110, .25); }
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-soft { background: var(--teal-soft); color: var(--teal-dark); }
.btn-soft:hover { background: #cfe8e6; color: var(--teal-dark); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 50px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.brand-tag { font-size: .82rem; color: var(--muted); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 500; white-space: nowrap;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.main-nav a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-soft); font-weight: 700; }
.main-nav .nav-cta a { background: var(--teal); color: #fff; font-weight: 700; padding-inline: 20px; }
.main-nav .nav-cta a:hover { background: var(--teal-dark); color: #fff; }

.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy);
  border-radius: 999px; padding: 10px 16px; font: inherit; font-weight: 700; cursor: pointer; min-height: 44px;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1260px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; }
  .main-nav a { padding: 14px 16px; border-radius: 12px; }
  .main-nav .nav-cta { margin-top: 8px; }
  .main-nav .nav-cta a { text-align: center; }
  .brand-tag { display: none; }
}

/* ---------- פירורי לחם ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-size: .92rem; color: var(--muted); }
.breadcrumb li + li::before { content: "‹"; margin-inline-end: 6px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

/* ---------- Hero בעמוד הבית ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); padding: 72px 0 84px; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, #d6ecf9, rgba(214, 236, 249, 0) 70%); top: -160px; left: -120px; }
.hero::after { width: 420px; height: 420px; background: radial-gradient(circle at 50% 50%, #f3e7d6, rgba(243, 231, 214, 0) 70%); bottom: -200px; right: -120px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  background: #fff; border: 1px solid var(--line); color: var(--teal-dark);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 38em; margin-bottom: 1.6em; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--navy); font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--teal); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-orb {
  width: min(100%, 400px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #e3f1fb 45%, #c7e2f4 100%);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(47, 127, 181, .12), var(--shadow);
}
.hero-orb img { width: 62%; filter: saturate(1.15) drop-shadow(0 12px 24px rgba(47, 127, 181, .25)); }
/* תמונה אישית בתוך העיגול: מסגרת לבנה דקה וטבעת בצבע המותג */
.hero-orb.photo { padding: 10px; background: #fff; box-shadow: 0 0 0 6px var(--sky-2, #c7e2f4), var(--shadow); }
.hero-orb.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; filter: none; display: block; }
/* עיגול הלוגו, צמוד לתמונה */
.hero-logo {
  position: absolute; top: 2%; left: 0; z-index: 2; width: clamp(112px, 36%, 150px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #ffffff 0%, #ffffff 55%, #eef6fc 100%);
  border: 6px solid #fff; box-shadow: 0 0 0 4px var(--sky-2, #c7e2f4), var(--shadow); display: grid; place-items: center;
}
.hero-logo img { width: 64%; height: auto; filter: drop-shadow(0 6px 10px rgba(15, 63, 102, .28)); }
.orb-chip {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: 10px 14px; font-weight: 700; color: var(--navy); font-size: .95rem; display: flex; align-items: center; gap: 8px;
}
.orb-chip svg { width: 20px; height: 20px; color: var(--teal); }
.orb-chip.c1 { top: 12%; right: 0; }
.orb-chip.c2 { bottom: 18%; left: 0; }
.orb-chip.c3 { bottom: 2%; right: 14%; }

@media (max-width: 900px) {
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { min-height: 0; order: -1; }
  .hero-orb { width: 150px; }
  .hero-orb.photo { width: 190px; padding: 6px; box-shadow: 0 0 0 4px var(--sky-2, #c7e2f4), var(--shadow); }
  .hero-visual:has(.hero-logo) { display: flex; justify-content: center; align-items: flex-end; }
  .hero-logo { position: relative; top: auto; left: auto; width: 100px; margin-inline-start: -30px; border-width: 4px; box-shadow: 0 0 0 3px var(--sky-2, #c7e2f4), var(--shadow); }
  .orb-chip { display: none; }
}

/* ---------- Hero בעמודים פנימיים ---------- */
.page-hero { background: linear-gradient(180deg, var(--sky) 0%, #f9fcfe 100%); padding: 40px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero .kicker { color: var(--teal-dark); font-weight: 700; margin-bottom: .4em; font-size: .95rem; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 46em; margin: 0; }
.page-hero .meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; font-size: .88rem; color: var(--muted);
}
.chip svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- סקשנים ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section.alt { background: var(--bg-soft); }
.section.warm { background: var(--sand); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.section-head .kicker { color: var(--teal-dark); font-weight: 700; display: block; margin-bottom: 6px; }

@media (max-width: 700px) { .section { padding: 56px 0; } }

/* ---------- כרטיסים ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bcd3e3; }
.card-link h3 a { color: var(--navy); text-decoration: none; }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link h3 a:focus-visible { outline: none; }
.card-link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--teal-dark); font-weight: 700; font-size: .95rem; }
.card .more svg { width: 18px; height: 18px; transition: transform .2s; }
.card-link:hover .more svg { transform: translateX(-4px); }

.icon-badge {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-dark); margin-bottom: 16px;
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge.sky { background: var(--sky); color: var(--sky-strong); }
.icon-badge.sand { background: var(--sand-2); color: var(--accent); }
.icon-badge.rose { background: #f8e7ea; color: #9b3449; }

.group-title { display: flex; align-items: center; gap: 12px; margin: 48px 0 18px; }
.group-title:first-child { margin-top: 0; }
.group-title h2 { margin: 0; font-size: 1.6rem; }
.group-title .line { flex: 1; height: 1px; background: var(--line); }

/* ---------- מעגל ההמשגה ---------- */
.cycle { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.cycle li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 18px 18px; counter-increment: step; box-shadow: var(--shadow-sm);
}
.cycle li::before {
  content: counter(step); position: absolute; top: -14px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.cycle li strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: 1.05rem; }
.cycle li span { color: var(--muted); font-size: .95rem; line-height: 1.6; display: block; }
.cycle li.loop { background: var(--navy); border-color: var(--navy); }
.cycle li.loop strong, .cycle li.loop span { color: #fff; }
.cycle li.loop::before { background: var(--focus); color: var(--navy); }
@media (max-width: 900px) { .cycle { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cycle { grid-template-columns: 1fr; } }

.callout-big {
  margin-top: 36px; text-align: center; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--navy); font-weight: 700;
}
.callout-big span { color: var(--teal); }

/* ---------- שלבי תהליך ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before {
  content: "0" counter(s); display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 2.6rem; color: var(--sky-2); line-height: 1; margin-bottom: 10px;
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- ציטוט ---------- */
.quote-block { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 48px; position: relative; overflow: hidden; }
.quote-block blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.5; max-width: 30em; }
.quote-block cite { display: block; margin-top: 16px; font-style: normal; color: #b9d3e8; font-size: 1rem; }
.quote-block::after { content: "”"; position: absolute; left: 30px; top: -20px; font-size: 14rem; line-height: 1; color: rgba(255, 255, 255, .07); font-family: Georgia, serif; }

/* ---------- שאלות נפוצות ---------- */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--teal); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* ---------- רצועת CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal) 0%, #0d5f7a 100%); color: #fff; border-radius: var(--radius); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { color: #dff1f1; margin: 0; font-size: 1.08rem; max-width: 36em; }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; } }

/* ---------- מאמרים ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: 48px 0 72px; align-items: start; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } .article-aside { order: -1; } }

.prose { max-width: 46rem; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 1.8em; padding-top: .2em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; color: var(--teal-dark); }
.prose ul, .prose ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--teal); }
.prose ol li::marker { color: var(--teal); font-weight: 700; }
.prose strong { color: var(--navy); }

.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.prose table, .data-table { width: 100%; border-collapse: collapse; font-size: .98rem; background: #fff; }
.prose th, .prose td, .data-table th, .data-table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th, .data-table thead th { background: var(--navy); color: #fff; font-weight: 700; }
.prose tbody tr:nth-child(even), .data-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.prose tbody tr:last-child td { border-bottom: 0; }

.note, .tip, .warn, .key {
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 1.5em 0; border-inline-start: 5px solid;
}
.note { background: var(--sky); border-color: var(--sky-strong); }
.tip { background: var(--teal-soft); border-color: var(--teal); }
.warn { background: #fdf0e6; border-color: var(--accent); }
.key { background: var(--sand); border-color: var(--accent); }
.note > :last-child, .tip > :last-child, .warn > :last-child, .key > :last-child { margin-bottom: 0; }
.box-title { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }

.pull { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.5; color: var(--navy); border-inline-start: 4px solid var(--teal); padding: 6px 22px; margin: 1.8em 0; }

.flow { list-style: none; padding: 0 !important; margin: 1.5em 0 2em !important; display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.flow li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 500; color: var(--navy); position: relative; margin: 0 !important; box-shadow: var(--shadow-sm); }
.flow li:not(:last-child)::after { content: "←"; position: absolute; left: -14px; top: 50%; transform: translateY(-50%); color: var(--teal); font-weight: 700; }
.flow li:last-child { background: var(--navy); color: #fff; border-color: var(--navy); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.5em 0; }
.split > div { border-radius: var(--radius-sm); padding: 18px 20px; border: 1px solid var(--line); background: #fff; }
.split h4 { margin: 0 0 .4em; color: var(--navy); }
.split h3 { margin: 0 0 .4em; color: var(--navy); font-size: 1em; }
.split ul { margin: 0; }
.split .bad { background: #fbf1f1; border-color: #efd2d2; }
.split .good { background: #eef7f2; border-color: #cfe5d8; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } }

.article-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.toc h2 { font-family: var(--font); font-size: 1rem; margin: 0 0 10px; color: var(--navy); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.toc a:hover { background: #fff; color: var(--navy); }
.aside-cta { background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: 22px; }
.aside-cta h2 { color: #fff; font-family: var(--font); font-size: 1.1rem; margin: 0 0 6px; }
.aside-cta p { color: #c9dbeb; font-size: .95rem; margin: 0 0 14px; }
.aside-cta .btn { width: 100%; }
@media (max-width: 1000px) { .article-aside { position: static; } .aside-cta { display: none; } }

.disclaimer { margin-top: 2.5em; padding-top: 1.2em; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }

/* ---------- נשימת קופסה ---------- */
.breath { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 1.6em 0; box-shadow: var(--shadow-sm); }
.breath-box { position: relative; width: 180px; height: 180px; border: 3px solid var(--sky-2); border-radius: 18px; display: grid; place-items: center; }
.breath-dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); top: -10px; right: -10px; box-shadow: 0 0 0 6px rgba(11, 110, 110, .15); }
.breath-label { font-weight: 700; color: var(--navy); font-size: 1.25rem; text-align: center; line-height: 1.3; }
.breath-count { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--teal); }
.breath h3 { margin-top: 0 !important; }
@media (max-width: 640px) { .breath { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* ---------- עמוד אודות ---------- */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(160deg, var(--sky) 0%, var(--sky-2) 100%);
  display: grid; place-items: center; text-align: center; color: var(--navy); padding: 24px; border: 1px solid var(--line);
}
.portrait img { width: 55%; opacity: .9; }
.portrait small { display: block; margin-top: 12px; color: var(--muted); }
.portrait.photo { aspect-ratio: auto; padding: 0; margin: 0; overflow: hidden; display: block; background: #fff; box-shadow: var(--shadow); }
.portrait.photo img { width: 100%; height: auto; opacity: 1; display: block; }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cred-list li { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.cred-list svg { width: 26px; height: 26px; color: var(--teal); flex: none; margin-top: 2px; }
.cred-list strong { display: block; color: var(--navy); }
.cred-list span { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .portrait { max-width: 240px; margin-inline: auto; } .portrait.photo { max-width: 360px; } }

/* ---------- קטעי תקציר בדף הבית ---------- */
.about-teaser { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; max-width: 1000px; }
.about-teaser-photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; aspect-ratio: 4 / 5; }
.about-teaser-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; display: block; }
.about-teaser .kicker { display: block; color: var(--teal-dark); font-weight: 700; margin-bottom: .3em; }
.about-teaser p { color: var(--ink); font-size: 1.08rem; }
.teaser-facts { list-style: none; padding: 0; margin: 4px 0 24px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.teaser-facts li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: .95rem; color: var(--navy); font-weight: 500; }
.teaser-facts svg { width: 18px; height: 18px; color: var(--teal); }
@media (max-width: 800px) { .about-teaser { grid-template-columns: 1fr; gap: 24px; } .about-teaser-photo { width: 100%; max-width: 280px; margin-inline: auto; } }
.teaser-sub { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin: 8px 0 16px; }
.teaser-sub svg { width: 22px; height: 22px; color: var(--teal); }
.video-grid + .teaser-sub { margin-top: 40px; }

/* ---------- חלון צור קשר שקופץ בסיום שאלון ---------- */
.contact-pop {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  border: 0; border-radius: var(--radius); padding: 32px 28px 22px; box-shadow: 0 24px 60px rgba(16, 40, 64, .3);
  color: var(--ink); background: #fff; text-align: center;
}
.contact-pop::backdrop { background: rgba(22, 50, 79, .55); }
.contact-pop[open] { animation: cp-in .25s ease-out; }
@keyframes cp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.contact-pop h2 { margin: 0 0 .5em; font-size: 1.6rem; }
.contact-pop p { margin: 0 0 1em; }
.contact-pop-kicker { color: var(--teal-dark); font-weight: 700; font-size: .95rem; }
.contact-pop-close { position: absolute; top: 10px; left: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.contact-pop-close:hover { background: var(--line); }
.contact-pop-actions { display: grid; gap: 10px; margin: 6px 0 14px; }
.contact-pop-actions .btn { width: 100%; justify-content: center; }
.contact-pop-note { color: var(--muted); font-size: .88rem; }
.contact-pop .emergency { text-align: right; margin-bottom: 14px; }
.contact-pop-later { font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .contact-pop[open] { animation: none; } }

mark.fill { background: #fff3b0; color: #5a4300; padding: 0 4px; border-radius: 4px; box-shadow: inset 0 -2px 0 #f2d04b; }

/* ---------- צור קשר ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { border-color: #b9d3e3; box-shadow: var(--shadow-sm); color: var(--ink); }
.contact-card .icon-badge { margin: 0; flex: none; }
.contact-card strong { display: block; color: var(--navy); }
.contact-card span { color: var(--muted); direction: ltr; unicode-bidi: plaintext; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-card { padding: 22px; } }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--lvl-3); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #b8c6d3; border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid rgba(11, 110, 110, .25); outline-offset: 0; }
.field .hint { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.field .error { color: var(--lvl-3); font-weight: 500; font-size: .92rem; margin-top: 4px; }
.field [aria-invalid="true"] { border-color: var(--lvl-3) !important; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.check input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--teal); flex: none; }
.check label { font-weight: 400; color: var(--ink); }
fieldset.field { border: 0; padding: 0; }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pills label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #b8c6d3; border-radius: 999px; padding: 8px 14px; font-weight: 500; color: var(--ink); cursor: pointer; margin: 0; min-height: 44px; }
.radio-pills input { accent-color: var(--teal); width: 18px; height: 18px; }
.form-status { margin-top: 14px; padding: 14px 18px; border-radius: 12px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eaf6ef; color: #1d5e40; }
.form-status.err { background: #fbeeee; color: #7d2323; }

.emergency {
  background: #fff4f2; border: 1px solid #f1cdc6; border-radius: var(--radius-sm); padding: 18px 22px; color: #6d2418;
}
.emergency strong { color: #8c2a1a; }
.emergency a { color: #8c2a1a; font-weight: 700; }

/* ---------- שאלונים ---------- */
.quiz-wrap { padding: 48px 0 80px; background: var(--bg-soft); }
.quiz-shell { scroll-margin-top: 100px; width: min(100% - 32px, 780px); margin-inline: auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); overflow: hidden; }
.quiz-body { padding: 40px 44px; }
@media (max-width: 640px) { .quiz-body { padding: 26px 20px; } }
.quiz-intro { text-align: center; }
.quiz-intro .icon-badge { margin: 0 auto 18px; width: 72px; height: 72px; border-radius: 22px; }
.quiz-intro .icon-badge svg { width: 38px; height: 38px; }
.quiz-intro h2 { margin-bottom: .4em; }
.quiz-intro p { color: var(--muted); max-width: 34em; margin-inline: auto; }
.quiz-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.quiz-facts li { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; color: var(--navy); }
.quiz-facts svg { width: 18px; height: 18px; color: var(--teal); }
.quiz-privacy { display: flex; gap: 12px; align-items: flex-start; text-align: right; background: var(--teal-soft); border-radius: 14px; padding: 14px 18px; margin: 0 auto 26px; max-width: 36em; font-size: .95rem; color: var(--teal-dark); }
.quiz-privacy svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }

.quiz-top { padding: 20px 44px 0; }
@media (max-width: 640px) { .quiz-top { padding: 18px 20px 0; } }
.quiz-progress-label { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.quiz-bar { height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.quiz-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #2f7fb5, var(--teal)); border-radius: 999px; transition: width .35s ease; }

.quiz-q fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-timeframe { display: table; background: var(--sky); color: #22679a; font-weight: 700; font-size: .88rem; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.quiz-q legend { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.75rem); color: var(--navy); line-height: 1.4; margin-bottom: 22px; padding: 0; }
.quiz-q legend:focus { outline: none; }
.quiz-sub { font-weight: 700; color: var(--teal-dark); margin: 18px 0 10px; font-size: 1.02rem; }
.options { display: grid; gap: 10px; }
.options.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .options.cols-4 { grid-template-columns: repeat(2, 1fr); } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 14px 18px;
  border: 2px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff;
  font-weight: 500; font-size: 1.05rem; transition: border-color .15s, background-color .15s, transform .15s;
}
.options.cols-4 .opt label { flex-direction: column; justify-content: center; text-align: center; gap: 6px; min-height: 88px; font-size: .98rem; }
.opt label:hover { border-color: #a9c7dc; background: #fafdff; }
.opt .mark { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #9fb3c4; flex: none; display: grid; place-items: center; transition: all .15s; }
.opt .mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .15s; }
.opt .key-hint { margin-inline-start: auto; font-size: .78rem; color: #8a99a8; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.options.cols-4 .key-hint { display: none; }
.opt input:checked + label { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; }
.opt input:checked + label .mark { border-color: var(--teal); background: var(--teal); }
.opt input:checked + label .mark::after { transform: scale(1); }
.opt input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.quiz-nav .hint { color: var(--muted); font-size: .88rem; }
@media (max-width: 640px) { .quiz-nav .hint { display: none; } }
.quiz-encourage { text-align: center; color: var(--teal-dark); font-weight: 700; min-height: 1.6em; margin-top: 14px; }

.result-head { text-align: center; }
.result-score { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-display); color: var(--navy); margin: 4px 0 6px; }
.result-score b { font-size: 4rem; line-height: 1; }
.result-score span { font-size: 1.3rem; color: var(--muted); }
.result-level { display: inline-block; padding: 8px 20px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 8px; }
.scale { margin: 28px 0 8px; }
.scale-track { position: relative; display: flex; height: 16px; border-radius: 999px; overflow: visible; }
.scale-track i { display: block; height: 100%; }
.scale-track i:first-child { border-radius: 0 999px 999px 0; }
.scale-track i:last-child { border-radius: 999px 0 0 999px; }
.scale-marker { position: absolute; top: 50%; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 5px solid var(--navy); transform: translate(50%, -50%); transition: right .8s cubic-bezier(.2, .8, .2, 1); box-shadow: var(--shadow-sm); }
.scale-labels { display: flex; margin-top: 10px; font-size: .82rem; color: var(--muted); }
.scale-labels span { text-align: center; }
.subscores { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.subscore { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.subscore strong { display: block; color: var(--navy); }
.subscore .num { font-family: var(--font-display); font-size: 2rem; color: var(--teal-dark); }
.subscore .bar { height: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.subscore .bar span { display: block; height: 100%; background: var(--teal); border-radius: 999px; }
@media (max-width: 520px) { .subscores { grid-template-columns: 1fr; } }
.result-section { margin-top: 28px; }
.result-section h3 { font-size: 1.15rem; }
.result-section ul { padding-inline-start: 1.3em; }
.result-section li { margin-bottom: .4em; }
.result-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0 !important; }
.result-links a { display: block; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 500; color: var(--navy); background: #fff; }
.result-links a:hover { border-color: var(--teal); background: var(--teal-soft); }
@media (max-width: 520px) { .result-links { grid-template-columns: 1fr; } }
.answers-detail summary { cursor: pointer; font-weight: 700; color: var(--teal-dark); padding: 10px 0; }
.answers-detail table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.answers-detail td, .answers-detail th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: right; vertical-align: top; }
.answers-detail th { color: var(--navy); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.quiz-source { font-size: .88rem; color: var(--muted); margin-top: 24px; text-align: center; }

.safety-alert { background: #fff1ee; border: 2px solid #e2a497; border-radius: 16px; padding: 20px 22px; margin: 24px 0; color: #5e1d12; }
.safety-alert h3 { color: #8c2a1a; margin-top: 0; display: flex; align-items: center; gap: 8px; }
.safety-alert h3 svg { width: 24px; height: 24px; }
.safety-alert ul { margin: 8px 0 0; padding-inline-start: 1.2em; }
.safety-alert a { color: #8c2a1a; font-weight: 700; }

.quiz-cards .card { display: flex; flex-direction: column; }
.quiz-cards .card .facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- כותרת תחתונה ---------- */
.site-footer { background: var(--navy-2); color: #c5d4e3; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { color: #fff; font-family: var(--font); font-size: 1.05rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #c5d4e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 46px; filter: brightness(1.3); }
.footer-brand strong { color: #fff; font-family: var(--font-display); font-size: 1.3rem; display: block; }
.footer-emergency { margin-top: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.footer-emergency a { color: #fff; font-weight: 700; }
/* התכנים שלי ברשת */
.footer-social { margin-top: 36px; }
.footer-social ul { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-social li { margin: 0; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; color: #fff; font-size: .95rem; }
.footer-social a:hover { background: rgba(255, 255, 255, .1); text-decoration: none; }
.footer-social svg { width: 18px; height: 18px; }
.social-cards { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .social-cards { grid-template-columns: 1fr; } }
.footer-bottom { padding-inline-end: 84px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .9rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom li { margin: 0; }
.ltr { direction: ltr; unicode-bidi: embed; }

/* ---------- כפתורים צפים ---------- */
.float-btns { position: fixed; bottom: 18px; left: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2); color: #fff; text-decoration: none;
}
.float-btn svg { width: 30px; height: 30px; }
.float-a11y { background: #1f4fb5; }
.float-wa { background: #1b8a4a; }
.float-btn:hover { filter: brightness(1.1); color: #fff; }

@media (max-width: 640px) {
  .float-btns { bottom: 12px; left: 12px; gap: 8px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 26px; height: 26px; }
  .a11y-panel { bottom: 76px; left: 12px; }
  .site-footer { padding-bottom: 80px; }
  .footer-bottom { padding-inline-end: 0; }
}

/* ---------- תפריט נגישות ---------- */
.a11y-panel {
  position: fixed; bottom: 90px; left: 18px; z-index: 300; width: min(340px, calc(100vw - 36px));
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
  padding: 20px; display: none; max-height: calc(100vh - 120px); overflow: auto;
}
.a11y-panel.open { display: block; }
.a11y-panel h2 { font-family: var(--font); font-size: 1.15rem; margin: 0 0 4px; display: flex; justify-content: space-between; align-items: center; }
.a11y-panel .close { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; cursor: pointer; font-size: 1.3rem; line-height: 1; color: var(--navy); }
.a11y-panel p { font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
  font: inherit; font-size: .92rem; font-weight: 500; color: var(--navy); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 8px; cursor: pointer; min-height: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; line-height: 1.25;
}
.a11y-grid button svg { width: 22px; height: 22px; }
.a11y-grid button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.a11y-grid .full { grid-column: 1 / -1; min-height: 48px; flex-direction: row; justify-content: center; }
.a11y-panel .a11y-link { display: block; text-align: center; margin-top: 12px; font-size: .92rem; }

/* מצבי נגישות */
body.a11y-contrast { --ink: #000; --muted: #000; --navy: #000; --line: #000; --bg-soft: #fff; --sky: #fff; --teal-soft: #fff; --sand: #fff; }
body.a11y-contrast, body.a11y-contrast .site-header, body.a11y-contrast .page-hero, body.a11y-contrast .hero { background: #fff !important; }
body.a11y-contrast .site-footer, body.a11y-contrast .quote-block, body.a11y-contrast .cta-band, body.a11y-contrast .aside-cta { background: #000 !important; color: #fff !important; }
body.a11y-contrast .site-footer *, body.a11y-contrast .quote-block *, body.a11y-contrast .cta-band *, body.a11y-contrast .aside-cta * { color: #fff !important; }
body.a11y-contrast a { color: #0000c8; text-decoration: underline; }
body.a11y-contrast .btn-primary { background: #000; color: #fff; border-color: #000; }
body.a11y-contrast .card, body.a11y-contrast .opt label { border-width: 2px; }
body.a11y-contrast .hero::before, body.a11y-contrast .hero::after { display: none; }
body.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; background: #fff3b0 !important; color: #000 !important; }
body.a11y-font, body.a11y-font * { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em; }
body.a11y-spacing { line-height: 2 !important; word-spacing: .12em; }
body.a11y-spacing p, body.a11y-spacing li { line-height: 2 !important; }
body.a11y-no-motion *, body.a11y-no-motion *::before, body.a11y-no-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
body.a11y-cursor, body.a11y-cursor * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'><path d='M4 2l16 9-7 2-3 7z' fill='black' stroke='white' stroke-width='1.5'/></svg>") 4 2, auto !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- הדפסה ---------- */
@media print {
  .site-header, .site-footer, .float-btns, .a11y-panel, .skip-link, .article-aside, .cta-band, .result-actions, .quiz-top, .breadcrumb, .no-print { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .quiz-wrap, .page-hero { background: #fff !important; padding: 0 !important; }
  .quiz-shell { box-shadow: none; border: 0; }
  a { color: #000; text-decoration: none; }
  .answers-detail { display: block; }
  .answers-detail > summary { display: none; }
}

/* ---------- פודקאסט וסרטונים ---------- */
.video-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.video-head h2 { margin: 0 0 4px; }
.video-head p { margin: 0; color: var(--muted); }
.video-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.video-jump .chip { text-decoration: none; color: var(--navy); }
.video-jump .chip:hover { background: var(--teal-soft); color: var(--teal-dark); }
.group-title h3 { margin: 0; font-size: 1.45rem; }
.group-title { scroll-margin-top: 110px; margin-top: 36px; }
.group-count { font-size: .9rem; font-weight: 700; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; }
.section.alt .group-count, .section-sm.alt .group-count { background: #fff; }
.section-sm.alt { background: var(--bg-soft); }

.video-grid { display: grid; gap: 22px; }
.video-grid.podcast { grid-template-columns: repeat(3, 1fr); }
.video-grid.short { grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 1000px) { .video-grid.podcast { grid-template-columns: repeat(2, 1fr); } .video-grid.short { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .video-grid.short { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .video-grid.podcast { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .video-grid.short { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.video-card { min-width: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-2); box-shadow: var(--shadow-sm); }
.video-card.short .video-frame { aspect-ratio: 9 / 16; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease, filter .3s ease; }
.video-play:hover img, .video-play:focus-visible img { transform: scale(1.03); filter: brightness(.85); }
.video-play:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.video-play-icon { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--teal-dark); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.video-card.short .video-play-icon { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.video-play-icon svg { width: 46%; height: 46%; margin-left: 8%; }
.video-play:hover .video-play-icon, .video-play:focus-visible .video-play-icon { transform: scale(1.08); }
.video-dur { position: absolute; bottom: 8px; left: 8px; background: rgba(15, 34, 56, .85); color: #fff; font-size: .8rem; font-weight: 700; line-height: 1; padding: 5px 7px; border-radius: 6px; direction: ltr; }
.video-title { font-family: var(--font); font-size: 1.02rem; font-weight: 700; line-height: 1.45; color: var(--navy); margin: 10px 2px 0; }
.video-card.short .video-title { font-size: .92rem; font-weight: 500; color: var(--ink); }
.video-privacy { font-size: .95rem; }
@media (min-width: 1261px) and (max-width: 1380px) {
  .main-nav a { padding-inline: 11px; }
  .brand-tag { max-width: 230px; }
}

/* ---------- המאמרים שלי ---------- */
.art-grid { align-items: stretch; }
.art-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.art-cover { aspect-ratio: 16 / 9; background: var(--bg-soft); overflow: hidden; }
.art-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.art-card:hover .art-cover img { transform: scale(1.04); }
.art-cover-plain { display: grid; place-items: center; background: var(--teal-soft); }
.art-cover-plain .icon-badge svg { width: 34px; height: 34px; }
.art-cover-plain .icon-badge { width: 72px; height: 72px; }
.art-cover-plain.sky { background: var(--sky); }
.art-cover-plain.sand { background: var(--sand); }
.art-cover-plain.rose { background: #fbeff1; }
.art-cover-plain .icon-badge { margin: 0; background: #fff; }
.art-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.art-body h3 { margin: 0; font-size: 1.15rem; line-height: 1.45; }
.art-body p { font-size: .97rem; flex: 1; }
.art-body .chip { align-self: flex-start; }

.post-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 24px 0 70px; }
.post-head .breadcrumb ol { margin-bottom: 12px; }
.post-head .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.doc-sheet { max-width: 860px; margin: -48px auto 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 56px 64px 40px; position: relative; }
.post-cover { margin: -56px -64px 36px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.post-cover img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .post-head { padding-bottom: 56px; }
  .doc-sheet { padding: 32px 18px 24px; margin-inline: -4px; }
  .post-cover { margin: -32px -18px 24px; }
}

/* תוכן המאמר: שומר על העיצוב של מסמך ה-Word המקורי */
.doc { font-size: 1.04rem; line-height: 1.8; overflow-wrap: anywhere; }
.doc h1 { font-size: 2.1rem; line-height: 1.3; margin: 0 0 .4em; color: var(--navy); }
.doc h2 { font-size: 1.45rem; line-height: 1.4; margin: 1.5em 0 .5em; color: var(--navy); }
.doc h3 { font-size: 1.15rem; line-height: 1.45; margin: 1.3em 0 .4em; color: var(--navy); }
.doc h4 { font-size: 1.05rem; margin: 1.1em 0 .3em; }
/* כותרות שרמתן תוקנה לנגישות שומרות על המראה המקורי */
.doc .hl-3 { font-size: 1.15rem; line-height: 1.45; margin: 1.3em 0 .4em; }
.doc .hl-4 { font-size: 1.05rem; margin: 1.1em 0 .3em; }
.doc h1 + h2, .doc h1 + p { margin-top: .2em; }
.doc p { margin: 0 0 .85em; }
.doc ul, .doc ol { margin: 0 0 1em; padding-inline-start: 1.6em; }
.doc li { margin-bottom: .35em; }
.doc hr { margin: 1.4em 0; }
.doc img { max-width: 100%; height: auto; border-radius: 10px; margin: .6em 0; }
.doc a { word-break: break-word; }
.doc-box { margin: 1.3em 0; padding: 1.1em 1.4em; border-radius: 6px; }
.doc-box > :last-child { margin-bottom: 0; }
.doc-box h1, .doc-box h2, .doc-box h3 { margin-top: .2em; }
.doc-table { margin: 1.3em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: .97em; }
.doc-table td { padding: .65em .85em; vertical-align: top; }
.doc-table td > :last-child { margin-bottom: 0; }
.doc-table td p { margin-bottom: .4em; }
.doc-table td h2, .doc-table td h3 { margin: .1em 0 .3em; font-size: 1.1em; }
.doc-sheet .disclaimer { margin-top: 36px; }
@media (max-width: 700px) {
  .doc h1 { font-size: 1.65rem; }
  .doc h2 { font-size: 1.3rem; }
  .doc-box { padding: .9em 1em; }
  .doc-table td { padding: .5em .6em; }
}

/* סרטון מוטמע במאמר */
.post-video { margin: 1.8em 0 2em; }
.post-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); background: #0e0c0b; box-shadow: var(--shadow); }
.post-video figcaption { margin-top: .7em; color: var(--muted); font-size: .95em; line-height: 1.6; }
.post-video figcaption strong { color: var(--navy); }
.video-text { margin-top: .8em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px; }
.video-text summary { cursor: pointer; font-weight: 700; color: var(--teal-dark); }
.video-text ol { margin: .8em 0 .2em; }
