/* ============================================================
   rmjustice.com — מערכת עיצוב אחת, ללא ספריות JS
   שפה עיצובית (אושרה 11.10.2026): "ספרייה משפטית" —
   כחול עמוק · זהב כקו דק · נייר שמנת · Frank Ruhl Libre + Heebo
   נגישות: WCAG 2.0 AA · RTL · גופנים מאוחסנים מקומית (בלי CDN)
   ============================================================ */

@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/frank-ruhl-libre-400-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: "Frank Ruhl Libre"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/frank-ruhl-libre-400-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; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/frank-ruhl-libre-500-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: "Frank Ruhl Libre"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/frank-ruhl-libre-500-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; }
@font-face { font-family: "Frank Ruhl Libre"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/frank-ruhl-libre-700-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: "Frank Ruhl Libre"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/frank-ruhl-libre-700-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; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/heebo-400-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: 400; font-display: swap; src: url("/assets/fonts/heebo-400-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; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/heebo-500-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: 500; font-display: swap; src: url("/assets/fonts/heebo-500-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; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/heebo-600-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: 600; font-display: swap; src: url("/assets/fonts/heebo-600-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; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/heebo-700-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: 700; font-display: swap; src: url("/assets/fonts/heebo-700-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 {
  --navy:      #0B1F33;   /* כחול עמוק — רקע כהה, כותרות, כפתור ראשי */
  --navy-2:    #14304D;   /* קישורים */
  --navy-3:    #081627;   /* פוטר */
  --gold:      #A8893A;   /* קווים, מספור, כפתור זהב */
  --gold-dark: #7A6226;   /* טקסט זהב קטן על רקע בהיר (AA) */
  --gold-soft: #C9A961;   /* תוויות על כחול */
  --paper:     #FBF9F4;   /* רקע הדף */
  --paper-2:   #F5F1E8;   /* סקציה חלופית */
  --ink:       #1B2430;
  --muted:     #4B5563;
  --line:      #DAD2C2;
  --line-2:    #EAE4D8;
  --white:     #ffffff;

  --serif: "Frank Ruhl Libre", "David Libre", "Narkisim", Georgia, "Times New Roman", serif;
  --sans:  "Heebo", "Assistant", "Segoe UI", "Arial Hebrew", Arial, sans-serif;

  --maxw: 1200px;
  --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}
/* הגרסה הצרפתית: כלל CSS גובר על תכונת dir שב-HTML */
html[dir="ltr"] body { direction: ltr; text-align: left; }

/* ---------- טיפוגרפיה ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 .6em;
}
h1 { font-size: 2.7rem; letter-spacing: -0.01em; line-height: 1.18; }
h2 { font-size: 1.75rem; margin-top: 1.8em; }
h3 { font-size: 1.3rem; margin-top: 1.4em; }
h4 { font-size: 1.08rem; }

p { margin: 0 0 1.15em; }
a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
a:hover { color: var(--gold-dark); }
strong { color: var(--navy); }
img { max-width: 100%; height: auto; }

ul, ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: .5em; }

/* כותרת סקציה: קו זהב דק */
.section-title { position: relative; padding-bottom: .45em; margin-bottom: 1.2em; font-size: 2.1rem; }
.section-title::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  width: 40px; height: 1px; background: var(--gold);
}
/* תווית-על ממוספרת */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold-dark); font-size: .82rem; letter-spacing: .14em; font-weight: 600;
  margin: 0 0 1em;
}
.eyebrow::before { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--gold); }

/* ---------- פריסה ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 40px; }
.section { padding: 88px 0; }
.section--alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.narrow { max-width: 820px; }

/* ---------- נגישות ---------- */
.skip-link {
  position: absolute; inset-inline-start: -999px; top: 0; z-index: 999;
  background: var(--navy); color: var(--white); padding: 12px 20px;
}
.skip-link:focus { inset-inline-start: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- פס עליון: שם, כתובת, טלפון ---------- */
.topbar { background: var(--navy); color: #D9D2C3; font-size: .82rem; }
.topbar__in { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.topbar__nap { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.topbar__nap a:first-child { font-weight: 600; }
.topbar__lang { letter-spacing: .08em; font-size: .78rem; color: #D9D2C3 !important; }

/* ---------- כותרת עליונה / ניווט ---------- */
.site-header {
  background: var(--paper); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); text-decoration: none; font-weight: 700; white-space: nowrap; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: .68rem; color: var(--gold-dark); letter-spacing: .18em; font-weight: 600; margin-top: 3px; }
.nav-menu { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-menu li { margin: 0; }
.nav-menu a { color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta { background: var(--navy); color: var(--white) !important; padding: 10px 20px !important; border: 1px solid var(--navy) !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--navy) !important; }
.lang-switch { font-size: .78rem; letter-spacing: .08em; color: var(--muted) !important; border: 1px solid var(--line); padding: 6px 10px !important; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 30px;
  background: var(--navy); color: var(--white); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid var(--navy); cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--gold, .btn--navy { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.btn--gold:hover, .btn--navy:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
/* קישור "קרא עוד" עם קו זהב */
.more { color: var(--navy); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.more:hover { color: var(--gold-dark); }

/* ---------- Hero (דף הבית) ---------- */
.hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: 88px 0 80px; color: var(--ink); }
.hero h1 { color: var(--navy); font-size: 3.1rem; max-width: 15ch; margin-bottom: .5em; }
.hero .lede { font-size: 1.08rem; color: var(--muted); max-width: 58ch; line-height: 1.8; margin-bottom: 1.4em; }
.hero .tag { color: var(--gold-dark); font-weight: 600; letter-spacing: .14em; font-size: .82rem; margin-bottom: 1em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 1em; }
.hero-phone { font-size: .9rem; color: var(--muted); margin: 0; }
.hero-phone a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); }
/* תמונה ממוסגרת: מלבן כחול מאחור, גבול זהב */
.hero-photo { position: relative; justify-self: center; width: 100%; max-width: 420px; padding: 0 0 24px 24px; }
.hero-photo::before { content: ""; position: absolute; inset: 28px 28px 0 0; background: var(--navy); }
.hero-portrait { position: relative; display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border: 1px solid var(--gold); }
.hero-plate {
  position: absolute; right: -1px; bottom: 0; background: var(--paper); border: 1px solid var(--gold);
  padding: 10px 18px; font-family: var(--serif); font-size: .9rem; color: var(--navy); line-height: 1.3;
}
.hero-plate small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--gold-dark); letter-spacing: .08em; }
html[dir="ltr"] .hero-plate { right: auto; left: -1px; }
html[dir="ltr"] .hero-photo { padding: 0 24px 24px 0; }
html[dir="ltr"] .hero-photo::before { inset: 28px 0 0 28px; }

/* ---------- רצועת אמינות ---------- */
.creds-strip { background: var(--navy); color: var(--white); }
.creds-strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 34px; }
.creds-strip > .wrap > div { padding: 6px 28px; border-inline-start: 1px solid rgba(168,137,58,.45); }
.creds-strip > .wrap > div:first-child { padding-inline-start: 0; border-inline-start: 0; }
.creds-strip small { display: block; font-size: .72rem; letter-spacing: .14em; color: var(--gold-soft); font-weight: 600; margin-bottom: 6px; }
.creds-strip strong { display: block; font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; color: var(--white); font-weight: 400; }

/* ---------- פס "כפי שסוקר ב" ---------- */
.press-strip { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0; }
.press-strip .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.press-strip .label { color: var(--muted); font-size: .82rem; letter-spacing: .12em; font-weight: 600; white-space: nowrap; }
.press-strip a { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 18px; text-decoration: none; }
.press-strip a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.press-strip img { max-height: 34px; width: auto; height: auto; max-width: 120px; opacity: .72; filter: grayscale(1); transition: filter .2s, opacity .2s; }
.press-strip a:hover img { filter: none; opacity: 1; }
.press-strip .outlet { font-family: var(--serif); color: var(--navy); font-size: 1.1rem; font-weight: 700; opacity: .8; }

/* ---------- אודות (דף הבית) ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 72px; align-items: start; max-width: var(--maxw); }
.about-photo { position: relative; padding: 0 0 20px 20px; max-width: 380px; }
.about-photo::before { content: ""; position: absolute; inset: 20px 20px 0 0; border: 1px solid var(--gold); }
.about-photo img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.about-text h2 { font-size: 2.2rem; margin-top: 0; }

/* ציטוט מודגש */
.pull-quote {
  margin: 1.4em 0; padding: 4px 28px 4px 0;
  border-inline-start: 0; border-inline-end: 2px solid var(--gold);
  background: none; border-radius: 0;
}
html[dir="ltr"] .pull-quote { padding: 4px 0 4px 28px; border-inline-end: 0; border-inline-start: 2px solid var(--gold); }
.pull-quote p { font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; color: var(--navy); margin: 0 0 .5em; }
.pull-quote cite { font-style: normal; font-weight: 600; color: var(--gold-dark); font-size: .8rem; letter-spacing: .08em; }

/* ---------- שלושת תחומי העיסוק ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: pillar; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 4px; position: relative;
}
.pillar::before {
  counter-increment: pillar; content: counter(pillar, hebrew);
  font-family: var(--serif); font-size: .9rem; color: var(--gold-dark); letter-spacing: .1em; margin-bottom: 14px;
}
.pillar .roman { display: none; }
.pillar h3 { margin: 0 0 .5em; font-size: 1.5rem; }
.pillar h3 a { text-decoration: none; color: var(--navy); }
.pillar h3 a:hover { color: var(--gold-dark); }
.pillar p { color: var(--muted); font-size: .95rem; }
.pillar ul { list-style: none; padding: 14px 0 0; margin: 4px 0 1em; font-size: .9rem; flex: 1; border-top: 1px solid var(--line); columns: 2; column-gap: 20px; }
.pillar li { padding: 0; margin-bottom: .4em; color: var(--ink); break-inside: avoid; }
.pillar li::before { content: none; }
.pillar .more { margin-top: auto; align-self: flex-start; font-size: .95rem; }
.pillar .icon { width: 34px; height: 34px; color: var(--navy); position: absolute; top: 34px; inset-inline-end: 32px; }
.pillar .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- המלצות ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.testimonial {
  margin: 0; padding: 30px 28px 26px; background: var(--white);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px;
}
.testimonial::before { content: "״"; font-family: var(--serif); font-size: 2.6rem; line-height: .6; color: var(--gold); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: var(--navy); }
.testimonial blockquote p::before { content: none; }
.testimonial figcaption { color: var(--muted); font-size: .82rem; font-weight: 400; margin-top: auto; }

/* ---------- רשימת מאמרים (דף הבית) ---------- */
.article-list { list-style: none; padding: 0; margin: 0; counter-reset: art; }
.article-list li { padding: 26px 0; border-top: 1px solid #C9BFA9; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; margin: 0; }
.article-list li:last-child { border-bottom: 1px solid #C9BFA9; }
.article-list li::before { counter-increment: art; content: counter(art, decimal-leading-zero); font-family: var(--serif); font-size: 1.7rem; color: var(--gold); line-height: 1; grid-row: 1 / span 2; }
/* הכותרת והתקציר שניהם בעמודת הטקסט — בלי זה התקציר נופל לעמודת המספר הצרה */
.article-list li > h3, .article-list li > p { grid-column: 2; }
.article-list h3 { margin: 0 0 .3em; font-size: 1.35rem; }
.article-list h3 a { color: var(--navy); text-decoration: none; }
.article-list h3 a:hover { color: var(--gold-dark); }
.article-list p { margin: 0; color: var(--muted); font-size: .92rem; }

/* פריסת "מידע מקצועי": מבוא קבוע + רשימה רחבה */
.articles-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 72px; align-items: start; }
.articles-intro { position: sticky; top: 110px; }
.articles-intro .section-title { margin-bottom: .6em; }
.articles-intro p { color: var(--muted); font-size: .95rem; max-width: 36ch; }
/* המלצות נוספות בקיפול */
.testimonials-more { margin-top: 24px; }
.testimonials-more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.testimonials-more > summary::-webkit-details-marker { display: none; }
.testimonials-more > summary::after { content: "+"; color: var(--gold-dark); }
.testimonials-more[open] > summary::after { content: "−"; }
.testimonials-more[open] > summary { margin-bottom: 24px; }
/* פריסת יצירת קשר בדף הבית: פרטים + טופס */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.section--contact .form-card { background: var(--paper); color: var(--ink); max-width: none; }
.section--contact .form-card h2, .section--contact .form-card strong { color: var(--navy); }
.section--contact .form-card p { color: var(--muted); }
.section--contact .form-card .btn { background: var(--navy); border-color: var(--navy); color: var(--white); width: 100%; }
.section--contact .form-card .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.section--contact .form-card a { color: var(--navy); }

/* ---------- יצירת קשר (דף הבית) ---------- */
.section--contact { background: var(--navy); color: var(--white); border: 0; }
.section--contact h2, .section--contact strong { color: var(--white); }
.section--contact .section-title { font-size: 2.3rem; }
.section--contact p { color: #D9D2C3; }
.section--contact a { color: var(--white); text-decoration: none; }
.section--contact .contact-list { margin: 10px 0 1.6em; }
.section--contact .contact-list li { padding: 16px 0; border-top: 1px solid rgba(168,137,58,.4); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: baseline; margin: 0; }
.section--contact .contact-list li:last-child { border-bottom: 1px solid rgba(168,137,58,.4); }
.section--contact .contact-list strong { font-size: .78rem; letter-spacing: .12em; color: var(--gold-soft); font-weight: 600; }
.section--contact .contact-list a[href^="tel"] { font-family: var(--serif); font-size: 1.6rem; }
.section--contact .btn { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.section--contact .btn:hover { background: var(--white); border-color: var(--white); }

/* ---------- פס נתונים ---------- */
.factband { background: var(--navy); color: #D9D2C3; padding: 34px 0; }
.factband .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.factband strong { display: block; font-family: var(--serif); color: var(--gold-soft); font-size: 1.5rem; }

/* ---------- טופס ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 36px 32px; max-width: 620px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .88rem; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); font-family: var(--sans); font-size: 1rem; background: var(--white); color: var(--ink); }
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; font-weight: 600; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); }

/* ---------- עמוד תוכן (שירות / מאמר) ---------- */
.article { padding: 32px 0 80px; }
.article h1 { font-size: 2.9rem; max-width: 24ch; }
.dateline { color: var(--muted); font-size: .88rem; margin-bottom: 2em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dateline img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: top; border: 1px solid var(--gold); }

/* רשת: תוכן + סרגל צד */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
.article-main { min-width: 0; }
.article-main > h2 { padding-top: .5em; border-top: 1px solid var(--line); margin-top: 2em; }
.article-main > h2:first-of-type { border-top: 0; padding-top: 0; }
.article-side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 110px; }

/* תיבת "בקצרה" */
.answer-box {
  background: var(--white); border: 1px solid var(--line); border-inline-end: 3px solid var(--gold); border-inline-start: 1px solid var(--line);
  padding: 26px 28px; margin: 0 0 40px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--navy);
}
html[dir="ltr"] .answer-box { border-inline-end: 1px solid var(--line); border-inline-start: 3px solid var(--gold); }
.answer-box::before { content: "בקצרה"; display: block; font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; color: var(--gold-dark); font-weight: 600; margin-bottom: 10px; }
html[lang="fr"] .answer-box::before { content: "En bref"; }
.answer-box p:last-child { margin-bottom: 0; }
.answer-box strong { color: var(--navy); }

/* תוכן עניינים */
.toc { background: var(--white); border: 1px solid var(--line); padding: 22px 24px; margin: 0 0 36px; }
.toc strong, .toc > b { display: block; font-size: .74rem; letter-spacing: .14em; color: var(--gold-dark); font-weight: 600; margin-bottom: 8px; }
.toc ul { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-size: .9rem; }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--gold-dark); }

/* כרטיס פנייה בסרגל הצד */
.side-cta { background: var(--navy); color: var(--white); padding: 28px 26px; border-top: 3px solid var(--gold); display: flex; flex-direction: column; gap: 14px; }
.side-cta h2, .side-cta h3 { color: var(--white); font-size: 1.35rem; margin: 0; line-height: 1.3; }
.side-cta p { margin: 0; font-size: .9rem; color: #D9D2C3; line-height: 1.6; }
.side-cta .tel { font-family: var(--serif); font-size: 1.7rem; color: var(--white); text-decoration: none; }
.side-cta .btn { width: 100%; background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.side-cta .btn:hover { background: var(--white); border-color: var(--white); }
.side-cta .btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: var(--white); font-weight: 600; }
.side-cta .btn--ghost:hover { background: rgba(255,255,255,.1); }

/* כרטיס מחבר בסרגל הצד */
.side-author { background: var(--paper-2); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.side-author__head { display: flex; align-items: center; gap: 14px; }
.side-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 1px solid var(--gold); }
.side-author strong { font-family: var(--serif); font-size: 1.1rem; display: block; line-height: 1.2; }
.side-author small { color: var(--muted); font-size: .8rem; }
.side-author ul { list-style: none; padding: 0; margin: 0; font-size: .86rem; display: flex; flex-direction: column; gap: 6px; }
.side-author li { margin: 0; padding-inline-start: 14px; border-inline-start: 1px solid var(--gold); }

/* שאלות ותשובות */
.faq { margin-top: 40px; }
.faq details { border-top: 1px solid var(--line); margin: 0; background: none; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy); font-family: var(--serif); font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; flex: none; border: 1px solid var(--gold); display: inline-flex; align-items: center; justify-content: center; color: var(--gold-dark); font-family: var(--sans); font-size: 1.1rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--gold-dark); }
.faq details[open] summary { border-bottom: 0; }
.faq .faq-a { padding: 0 0 20px; color: var(--muted); font-size: .95rem; }

/* כרטיס מחבר בגוף */
.author-box { display: flex; gap: 22px; align-items: center; background: var(--paper-2); border: 1px solid var(--line); padding: 24px 28px; margin-top: 48px; }
.author-box .av { width: 88px; height: 88px; border-radius: 50%; background: var(--navy); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.6rem; flex-shrink: 0; object-fit: cover; object-position: top; border: 1px solid var(--gold); }
.author-box .meta { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.author-box .meta strong { color: var(--navy); font-family: var(--serif); font-size: 1.15rem; }

/* להמשך קריאה */
.related { background: var(--paper-2); border-top: 1px solid var(--line); padding: 48px 0 56px; }
.related .section-title { font-size: 1.5rem; margin-top: 0; }
.related-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; list-style: none; padding: 0; margin: 0; }
.related-list li { margin: 0; }
.related-list a { display: block; padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 500; }
.related-list a:hover { color: var(--gold-dark); }

/* גשר (עמוד תפילות) */
.bridge { background: var(--white); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); padding: 22px 26px; margin: 36px 0; color: var(--muted); }
.bridge strong { color: var(--navy); }

/* עמוד תפילות */
.prayer { background: var(--white); border: 1px solid var(--line); padding: 32px 34px; margin: 0 0 28px; }
.prayer h3 { margin-top: 0; color: var(--gold-dark); border-bottom: 1px solid var(--line); padding-bottom: .4em; }
.prayer-text { font-family: var(--serif); font-size: 1.42rem; line-height: 2.05; color: var(--ink); }
.tehilim { font-family: var(--serif); font-size: 1.2rem; line-height: 1.9; }
.prayer-note { color: var(--muted); font-size: .92rem; margin: 0 0 1em; }
.inline-note { font-size: .72em; color: var(--muted); }
.psalms details { border-top: 1px solid var(--line); margin: 0; }
.psalms details:last-of-type { border-bottom: 1px solid var(--line); }
.psalms summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--navy); font-family: var(--serif); font-size: 1.15rem; }
.psalms summary:hover { color: var(--gold-dark); }
.psalms .prayer-text { padding: 8px 0 22px; margin: 0; }
.verse-num { color: var(--gold); font-size: .72em; }

/* תמונות בגוף */
.photo-inline { margin: 0 0 32px; text-align: center; }
.photo-inline img { max-width: 100%; height: auto; border: 1px solid var(--gold); }
.photo-inline figcaption { color: var(--muted); font-size: .82rem; margin-top: 8px; }
.photo-inline.band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 30%; }
.photo-frame { position: relative; display: inline-block; }
.photo-frame img { display: block; width: 100%; height: auto; }
.photo-frame::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1; }
.photo-cover { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.ornament { text-align: center; color: var(--gold); letter-spacing: .8em; margin: 42px 0; font-size: .85rem; }

/* ציטוט מקור במאמר */
.article blockquote { border-inline-start: 2px solid var(--gold); margin: 0 0 1.4em; padding: 6px 24px; background: none; font-family: var(--serif); font-size: 1.15rem; line-height: 1.55; color: var(--navy); }
.article blockquote p:last-child { margin-bottom: 0; }

/* הערות שוליים */
sup.fn a { text-decoration: none; color: var(--gold-dark); font-weight: 600; padding-inline: 1px; font-family: var(--sans); }
.footnotes { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 24px; }
.footnotes h2 { font-size: 1.3rem; margin-top: 0; border-top: 0 !important; padding-top: 0 !important; }
.footnotes ol { font-size: .84rem; color: var(--muted); padding-inline-start: 1.6em; line-height: 1.6; }
.footnotes li { margin-bottom: .6em; overflow-wrap: break-word; }
.footnotes a.back { text-decoration: none; color: var(--gold-dark); }

/* גילוי נאות בסוף מאמר */
.disclaimer-note { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: .84rem; }

/* ---------- עמודי קטגוריה ---------- */
.page-head { padding: 36px 0 44px; }
.page-head h1 { margin-bottom: .3em; }
.page-head .lede { color: var(--muted); font-size: 1.05rem; margin: 0; max-width: 60ch; }
.page-head + .section--alt { padding-top: 56px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: border-color .15s; }
.post-card:hover { border-color: var(--gold); }
.post-card__link { display: block; text-decoration: none; color: inherit; height: 100%; }
.post-card__link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media--logo { background: #fff; }
.card-media--logo img { object-fit: contain; }
.post-card__body { padding: 22px 24px 24px; }
.post-card__title { font-size: 1.2rem; margin: 0 0 .5em; color: var(--navy); line-height: 1.3; }
.post-card__link:hover .post-card__title { color: var(--gold-dark); }
.post-card__desc { margin: 0 0 .9em; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.post-card__more { color: var(--navy); font-weight: 600; font-size: .88rem; border-bottom: 1px solid var(--gold); }

/* ---------- באנר הזמנת תפילון ---------- */
.tefilon-cta {
  background: var(--paper-2); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold);
  padding: 24px 28px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 32px; align-items: center;
}
.tefilon-cta__text h2 { margin: 0 0 .35em; font-size: 1.35rem; }
.tefilon-cta__text p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.tefilon-cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.tefilon-cta__form .field { margin: 0; }
.tefilon-cta__form .field label { font-size: .78rem; margin-bottom: 3px; color: var(--muted); font-weight: 600; }
.tefilon-cta__form .field input { min-height: 42px; padding: 8px 11px; font-size: .95rem; }
.tefilon-cta__form .btn { grid-column: 1 / -1; min-height: 46px; }

/* ---------- פוטר ---------- */
.site-footer { background: var(--navy-3); color: #D9D2C3; padding: 64px 0 28px; margin-top: 0; border-top: 1px solid rgba(168,137,58,.35); }
.site-footer a { color: #D9D2C3; text-decoration: none; font-size: .9rem; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--gold-soft); font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; margin-bottom: 1em; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6em; }
.site-footer p { font-size: .9rem; line-height: 1.7; max-width: 42ch; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); font-weight: 700; margin-bottom: .5em; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; font-size: .8rem; color: #A8A295; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- כפתור וואטסאפ צף: עיגול ירוק קטן, אייקון בלבד ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 95;
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; text-decoration: none; font-size: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,.2); transition: transform .15s, box-shadow .15s;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* סרגל הפעולה התחתון בוטל (11.10) — הכפתור הצף מספיק ולא מפריע לקריאה */
.mobile-bar { display: none !important; }

/* ---------- עמוד 404 ---------- */
.error-page { padding: 96px 0; text-align: center; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 1000px) {
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-side { position: static; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo { justify-self: start; max-width: 360px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .creds-strip .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .creds-strip > .wrap > div:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .pillars, .testimonials, .related-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 900px) {
  body { font-size: 16.5px; }
  h1, .article h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.7rem; }
  .wrap { padding-inline: 20px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 44px; }
  .nav { flex-wrap: wrap; min-height: auto; padding-block: 14px; gap: 12px 20px; }
  .nav-menu { gap: 2px 16px; }
  .nav-menu a { font-size: .86rem; padding: 6px 0; }
  .topbar__nap span, .topbar__nap a:nth-child(3) { display: none; }
  .creds-strip > .wrap > div { padding: 0 0 0 14px; }
  .pillar ul { columns: 1; }
  .factband .wrap { grid-template-columns: 1fr; }
  .article-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 18px 0; }
  .section--contact .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .wa-float { bottom: 16px; inset-inline-end: 16px; }
}
@media (max-width: 620px) {
  .prayer-text { font-size: 1.28rem; }
  .prayer { padding: 22px 20px; }
  .tefilon-cta { grid-template-columns: 1fr; padding: 20px; }
  .tefilon-cta__form { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .brand { font-size: 1.3rem; }
  .author-box { flex-direction: column; align-items: flex-start; }
}
