/* ═══════════════════════════════════════════════════
   LITAL COSMETICS — MAIN CSS  ·  v2
   RTL · Mobile-first · לבן / שחור / זהב
   ═══════════════════════════════════════════════════
   הגרסה הראשונה נראתה ערומה: לבן אחיד, קווי שיער דקים
   ואפס תמונות. מינימליזם עובד רק כשיש בו מה לראות.

   ארבעת המנועים של הגרסה הזו:
   1. עומק דרך **גוון**, לא דרך צל — שכבות של שנהב ושמפניה.
   2. **קשת** — השפה הוויזואלית של עולם היופי. מסגרות תמונה,
      כרטיסים ועיטורים. היא מה שמבדיל בין מכון לבין מרפאה.
   3. **עיטורי קו זהב** — מפרידים, נקודות, עלה. דקים, לא צעקניים.
      מוסיפים מרקם בלי להוסיף רעש.
   4. **מסגרות תמונה מעוצבות** — נראות מכוונות גם כשהן ריקות,
      ומתמלאות אוטומטית כשמעלים תמונה.
   ═══════════════════════════════════════════════════ */

:root {
  /* דיו */
  --ink:        #141414;
  --ink-2:      #3A3733;
  --muted:      #8C8378;
  --muted-lt:   #B3AA9C;

  /* זהב */
  --gold:       #C9922A;
  --gold-lt:    #DFB35C;
  --gold-deep:  #A5761C;
  --gold-wash:  rgba(201,146,42,.07);

  /* נייר — ארבע שכבות גוון. זה מה שיוצר את העומק. */
  --paper:      #FFFFFF;
  --ivory:      #FBF8F3;
  --champagne:  #F4ECDD;
  --sand:       #E9DCC6;

  --line:       #E7DFD0;
  --line-soft:  #F1EBE0;

  --ok:         #2E7D5B;
  --warn:       #B4741E;
  --err:        #A63A2E;

  --serif: 'Frank Ruhl Libre', Georgia, serif;
  --sans:  'Assistant', 'Heebo', Arial, sans-serif;
  --mono:  'Heebo', Arial, sans-serif;

  --r:    6px;
  --r-lg: 14px;
  --arch: 50% 50% 8px 8px / 34% 34% 4px 4px;   /* קשת — המוטיב המרכזי */

  --wrap: 1140px;
  --pad-s: 20px;
  --sec:   72px;
  --rbn-h: 62px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink-2);
  background: var(--paper);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--champagne); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── טיפוגרפיה ────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .26em;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px;
  background: var(--gold); display: inline-block;
}

.lead { font-size: 1.16rem; color: var(--ink-2); line-height: 1.85; }
.muted { color: var(--muted); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-s); }
.sec  { padding: var(--sec) 0; }

/* שכבות הגוון — זה מה שמונע את "הערום" */
.sec-ivory     { background: var(--ivory); }
.sec-champagne { background: var(--champagne); }
.sec-ink       { background: var(--ink); color: rgba(255,255,255,.78); }
.sec-ink h1, .sec-ink h2, .sec-ink h3 { color: #fff; }
.sec-ink .eyebrow, .sec-ink .eyebrow::before { color: var(--gold-lt); background-color: var(--gold-lt); }
.sec-ink .eyebrow { background: none; }

/* ═══════════════════════════════════════════
   עיטורים — מרקם בלי רעש
   ═══════════════════════════════════════════ */

/* מפריד עם יהלום זהוב במרכז */
.orn {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin: 42px 0;
}
.orn::before, .orn::after { content: ''; height: 1px; flex: 1; max-width: 130px; }
.orn::before { background: linear-gradient(to left,  transparent, var(--line)); }
.orn::after  { background: linear-gradient(to right, transparent, var(--line)); }
.orn i {
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); flex-shrink: 0;
}

/* נקודות זהב עדינות ברקע — מרקם, לא תבנית */
.dotted {
  background-image: radial-gradient(var(--sand) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ═══════════════════════════════════════════
   מסגרת קשת — מוטיב התמונות
   נראית מכוונת גם כשאין תמונה
   ═══════════════════════════════════════════ */
.arch {
  position: relative;
  border-radius: var(--arch);
  overflow: hidden;
  background: var(--champagne);
  aspect-ratio: 3 / 4;
}
/* פורטרט אנכי — יחס גבוה יותר חותך פחות מהתמונה */
.arch-tall { aspect-ratio: 2 / 3; }
.arch img {
  width: 100%; height: 100%; object-fit: cover;
  /* ⚠️ ברירת המחדל של object-fit היא center, וכשהתמונה גבוהה מהמסגרת
     היא חותכת סימטרית — כלומר גם מהראש. בפורטרט תמיד מעגנים למעלה. */
  object-position: center 12%;
}
/* תמונות שבהן הפנים גבוה יותר בפריים */
.arch-top img { object-position: center top; }

/* מצב ריק — עלה בקו זהב על שמפניה. לא ריבוע אפור. */
.arch-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px; color: var(--gold);
  border: 1px solid var(--sand);
}
.arch-empty svg { width: 54px; height: 54px; opacity: .55; }
.arch-empty span {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .2em; color: var(--muted-lt);
}

/* קו זהב שעוקב אחרי הקשת — מוסיף עומק בלי צל */
.arch-framed { position: relative; isolation: isolate; }
.arch-framed .arch { position: relative; z-index: 1; }
.arch-framed::after {
  content: ''; position: absolute;
  inset: 14px 14px -14px -14px;
  border: 1px solid var(--gold);
  border-radius: var(--arch);
  pointer-events: none; z-index: 0;
}
@media (max-width: 639px){ .arch-framed::after { inset: 10px 10px -10px -10px; } }

/* ═══════════════════════════════════════════
   כרטיסים
   ═══════════════════════════════════════════ */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
  position: relative;
}
.sec-ivory .card, .sec-champagne .card { border-color: var(--line); }

/* כרטיס עם כותרת-אינדקס זהובה */
.card-idx {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; color: var(--gold);
  display: block; margin-bottom: 12px;
}

/* כרטיס "כרטיס אבחון" — נשמר, אבל רך יותר */
.chart {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 28px;
}
.chart::before {
  content: ''; position: absolute;
  top: 14px; inset-inline-end: 14px;
  width: 16px; height: 16px;
  border-top: 1.5px solid var(--gold);
  border-inline-end: 1.5px solid var(--gold);
  border-radius: 0 3px 0 0;
}
.chart-idx {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  letter-spacing: .2em; color: var(--gold);
  display: block; margin-bottom: 12px;
}

/* ═══════════════════════════════════════════
   כפתורים
   ═══════════════════════════════════════════ */
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 1rem; font-weight: 700;
  padding: 15px 34px;
  border-radius: 100px;              /* פילים — רכות, לא פינות חדות */
  border: 1.5px solid transparent;
  cursor: pointer; text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink  { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-lt); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: #fff; }
.sec-ink .btn-line { color: #fff; border-color: rgba(255,255,255,.5); }
.sec-ink .btn-line:hover { background: #fff; color: var(--ink); }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn[disabled], .btn.is-busy { opacity: .5; pointer-events: none; transform: none; }

/* ═══════════════════════════════════════════
   ניווט
   ═══════════════════════════════════════════ */
.ln {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 300;
}
.ln-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 var(--pad-s); height: 72px;
  display: flex; align-items: center; gap: 20px;
}
.ln-logo { flex-shrink: 0; display: block; }
.ln-logo img { width: 178px; height: auto; }
.ln-links { display: none; gap: 30px; margin-inline-start: auto; }
.ln-links a {
  font-size: .96rem; font-weight: 600; color: var(--ink-2);
  padding-bottom: 4px; border-bottom: 1.5px solid transparent;
  transition: border-color .2s, color .2s;
}
.ln-links a:hover { color: var(--ink); border-color: var(--gold); }
.ln-cta {
  display: none; background: var(--ink); color: #fff;
  padding: 11px 26px; border-radius: 100px;
  font-size: .92rem; font-weight: 700; white-space: nowrap;
  transition: background .2s;
}
.ln-cta:hover { background: var(--gold); }

.ln-burger {
  margin-inline-start: auto; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
}
.ln-burger span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; }

.ln-mob { display: none; flex-direction: column; border-top: 1px solid var(--line-soft); padding: 10px var(--pad-s) 22px; }
.ln-mob.open { display: flex; }
.ln-mob a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; }
.ln-cta-mob {
  background: var(--ink); color: #fff !important; text-align: center;
  border-radius: 100px; margin-top: 16px; border: 0 !important; padding: 15px !important;
}

@media (min-width: 940px) {
  .ln-links, .ln-cta { display: flex; }
  .ln-burger { display: none; }
  .ln-mob { display: none !important; }
  .ln-inner { height: 88px; }
  .ln-logo img { width: 214px; }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--ivory);
  padding: 54px 0 60px;
  overflow: hidden;
}
/* עלה זהוב ענק ברקע — מרקם, ברמת אטימות שלא מפריעה לקריאה */
.hero-leaf {
  position: absolute; inset-block-start: -60px; inset-inline-start: -80px;
  width: 420px; height: 420px; opacity: .05; color: var(--gold);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 42px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 b { font-weight: 500; color: var(--gold); font-style: normal; }
.hero-p { font-size: 1.15rem; max-width: 46ch; margin-bottom: 32px; }
.hero-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }

@media (min-width: 940px) {
  .hero { padding: 92px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
}

/* כרטיס האינטייק */
.intake { background: var(--paper); }
.intake h2 { font-size: 1.4rem; margin-bottom: 6px; }
.intake p { font-size: .95rem; color: var(--muted); margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  font-size: .9rem; font-weight: 600;
  padding: 9px 17px;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink-2); background: var(--paper);
  cursor: pointer; transition: all .18s;
}
.chip:hover, .chip.on { border-color: var(--gold); background: var(--champagne); color: var(--ink); }
.intake .btn { width: 100%; }

/* ── רצועת אמון ── */
.trust { background: var(--paper); border-block-end: 1px solid var(--line-soft); padding: 26px 0; }
.trust-inner {
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  font-family: var(--mono); font-size: .84rem; font-weight: 600;
  letter-spacing: .04em; color: var(--muted);
}
.trust-inner span { display: inline-flex; align-items: center; gap: 9px; }
.trust-inner span::before {
  content: ''; width: 5px; height: 5px; background: var(--gold);
  transform: rotate(45deg); flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   רשתות
   ═══════════════════════════════════════════ */
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.sec-head { max-width: 60ch; margin-bottom: 42px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* כרטיס טיפול */
.card-t { display: flex; flex-direction: column; height: 100%; }
.card-t h3 { margin-bottom: 10px; }
.card-t p { font-size: .96rem; flex: 1; }
.card-meta {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: .84rem; color: var(--muted);
}
.card-meta b { color: var(--ink); font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.tag-dx {
  display: inline-block; font-family: var(--mono);
  font-size: .66rem; font-weight: 700; letter-spacing: .12em;
  color: var(--gold-deep); background: var(--gold-wash);
  border: 1px solid var(--sand);
  padding: 4px 11px; border-radius: 100px;
}

/* ── שלבים ממוספרים ── */
.steps { display: grid; gap: 34px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: s;
  content: counter(s, decimal-leading-zero);
  display: block;
  font-family: var(--serif); font-size: 2.6rem; font-weight: 500;
  color: var(--sand); line-height: 1; margin-bottom: 10px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { font-size: .96rem; }

/* רשימת תחומים דו-טורית — מונעת רצועה ארוכה מתחת לתעודה */
.cols-2 { display: grid; gap: 0 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

/* ── ציטוט / המלצה ── */
.quote {
  font-family: var(--serif); font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  line-height: 1.55; color: var(--ink); font-weight: 400;
}
.quote-by {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .16em;
  color: var(--muted); margin-top: 20px;
}
.sec-ink .quote { color: #fff; }
.sec-ink .quote-by { color: var(--gold-lt); }

/* ── שאלות ותשובות ── */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 0; font-size: 1.08rem; font-weight: 700;
  color: var(--ink); display: flex; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: '+'; color: var(--gold); font-size: 1.4rem;
  font-weight: 400; line-height: 1; flex-shrink: 0;
  transition: transform .2s;
}
.faq details[open] summary::before { content: '−'; }
.faq details > div { padding: 0 0 22px 32px; color: var(--ink-2); }

/* ═══════════════════════════════════════════
   טפסים
   ═══════════════════════════════════════════ */
.form { max-width: 680px; }
.fld { margin-bottom: 24px; }
.fld > label, .fld > legend {
  display: block; font-weight: 700; color: var(--ink);
  font-size: .97rem; margin-bottom: 9px;
}
.fld .hint { font-size: .87rem; color: var(--muted); margin-bottom: 9px; }
.fld input[type=text], .fld input[type=email], .fld input[type=tel],
.fld input[type=date], .fld input[type=number], .fld input[type=password],
.fld select, .fld textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); color: var(--ink);
  transition: border-color .18s, background .18s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.fld textarea { min-height: 120px; resize: vertical; }

.opts { display: flex; flex-direction: column; gap: 3px; }
.opt {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 15px; border: 1px solid var(--line-soft);
  border-radius: var(--r); cursor: pointer; font-size: .98rem;
  transition: all .15s;
}
.opt:hover { border-color: var(--sand); background: var(--ivory); }
.opt input { margin-top: 5px; accent-color: var(--gold); flex-shrink: 0; }
.opt:has(input:checked) { border-color: var(--gold); background: var(--gold-wash); }

.consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .91rem; color: var(--muted);
  background: var(--ivory); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 16px;
}
.consent input { margin-top: 4px; accent-color: var(--gold); }
.consent a { color: var(--gold); font-weight: 600; }

.drop {
  border: 1.5px dashed var(--line); border-radius: var(--r-lg);
  padding: 34px 20px; text-align: center;
  background: var(--ivory); cursor: pointer; transition: border-color .18s, background .18s;
}
.drop:hover, .drop.on { border-color: var(--gold); background: var(--gold-wash); }
.drop-t { font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.drop-s { font-size: .88rem; color: var(--muted); }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.thumb { position: relative; width: 92px; height: 92px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 4px; left: 4px; width: 21px; height: 21px;
  border: 0; border-radius: 50%; background: rgba(20,20,20,.78);
  color: #fff; font-size: .82rem; line-height: 1; cursor: pointer;
}

.msg { padding: 14px 17px; border-radius: var(--r); font-size: .96rem; margin-bottom: 20px; }
.msg-err { background: #FBF0EE; color: var(--err); border: 1px solid #F0D9D5; }
.msg-ok  { background: #EFF6F2; color: var(--ok);  border: 1px solid #D5E9DF; }

/* ═══════════════════════════════════════════
   זימון תור
   ═══════════════════════════════════════════ */
.days { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 22px; }
.day {
  flex: 0 0 auto; min-width: 70px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 12px 9px; text-align: center; cursor: pointer;
  background: var(--paper); transition: all .15s;
}
.day.on { border-color: var(--gold); background: var(--champagne); }
.day.off { opacity: .32; pointer-events: none; }
.day-d { font-family: var(--mono); font-size: .73rem; color: var(--muted); display: block; }
.day-n { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 500; display: block; }

.slots { display: flex; flex-wrap: wrap; gap: 9px; }
.slot {
  font-family: var(--mono); font-size: .96rem; font-weight: 600;
  padding: 11px 18px; border: 1px solid var(--line);
  border-radius: 100px; background: var(--paper); cursor: pointer; transition: all .15s;
}
.slot:hover { border-color: var(--gold); }
.slot.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.slots-empty { color: var(--muted); font-size: .96rem; }

/* ═══════════════════════════════════════════
   חנות
   ═══════════════════════════════════════════ */
.lital-lock {
  border: 1px solid var(--sand); border-inline-start: 3px solid var(--gold);
  background: var(--ivory); border-radius: var(--r-lg);
  padding: 24px 26px; margin: 22px 0;
}
.lital-lock-h {
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; color: var(--gold); margin-bottom: 10px;
}
.lital-lock p { font-size: .98rem; margin-bottom: 16px; }
.lital-lock-cta {
  display: inline-block; background: var(--ink); color: #fff;
  padding: 13px 30px; border-radius: 100px; font-weight: 700; font-size: .95rem;
}
.lital-lock-cta:hover { background: var(--gold); }
.lital-lock-sub { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.lital-lock-wait { font-weight: 700; color: var(--warn); }

.lital-badge {
  display: inline-block; font-family: var(--mono);
  font-size: .66rem; font-weight: 700; letter-spacing: .1em;
  background: var(--gold-wash); color: var(--gold-deep);
  border: 1px solid var(--sand); padding: 4px 11px;
  border-radius: 100px; margin-bottom: 9px;
}
.lital-badge.ok { color: var(--ok); border-color: #D5E9DF; background: #F3F9F6; }

.lital-shop-note {
  background: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 16px 20px; margin-bottom: 28px; font-size: .96rem;
}
.lital-shop-note a { color: var(--gold); font-weight: 700; }

/* ═══════════════════════════════════════════
   תוכן
   ═══════════════════════════════════════════ */
.post-body, .page-body { max-width: 70ch; font-size: 1.1rem; }
.post-body h2, .page-body h2 { margin: 44px 0 16px; }
.post-body h3, .page-body h3 { margin: 32px 0 12px; }
.post-body p,  .page-body p  { margin-bottom: 20px; }
.post-body ul, .page-body ul { margin: 0 22px 22px 0; }
.post-body li, .page-body li { margin-bottom: 9px; }
.post-body img { border-radius: var(--r-lg); margin: 28px 0; }
.post-body blockquote, .page-body blockquote {
  border-inline-start: 2px solid var(--gold);
  padding-inline-start: 22px; margin: 28px 0;
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
}

.post-body a.lital-inlink, .page-body a.lital-inlink { color: inherit; text-decoration: none; }
.post-body a:not(.lital-inlink), .page-body a:not(.lital-inlink) {
  color: var(--gold-deep); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}

.post-meta {
  font-family: var(--mono); font-size: .82rem; color: var(--muted);
  letter-spacing: .05em; margin-bottom: 26px;
}

.post-card { display: flex; flex-direction: column; height: 100%; transition: transform .2s; }
.post-card:hover { transform: translateY(-3px); }
.post-card .arch { aspect-ratio: 16/11; border-radius: var(--r-lg); margin-bottom: 16px; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post-card p { font-size: .94rem; color: var(--muted); }

/* ═══════════════════════════════════════════
   פוטר
   ═══════════════════════════════════════════ */
.lf { background: var(--ink); color: rgba(255,255,255,.7); margin-top: 0; }
.lf-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 60px var(--pad-s) 44px;
  display: grid; gap: 38px;
}
@media (min-width: 820px) { .lf-inner { grid-template-columns: 1.7fr 1fr 1fr; } }
.lf-mark { width: 48px; height: 48px; margin-bottom: 16px; filter: brightness(0) invert(1) opacity(.9); }
.lf-logo { font-family: var(--serif); font-size: 1.45rem; color: #fff; margin-bottom: 12px; }
.lf-txt { font-size: .95rem; line-height: 1.85; margin-bottom: 18px; }
.lf-contact { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .94rem; }
.lf-contact a { transition: color .2s; }
.lf-contact a:hover { color: var(--gold-lt); }
.lf-col h4 {
  font-family: var(--mono); font-size: .74rem; font-weight: 700;
  letter-spacing: .2em; color: var(--gold-lt); margin-bottom: 16px;
}
.lf-col > a { display: block; font-size: .95rem; padding: 6px 0; transition: color .2s; }
.lf-col > a:hover { color: #fff; }
.lf-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px var(--pad-s); max-width: var(--wrap); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-size: .81rem; color: rgba(255,255,255,.48);
}
.lf-disc { max-width: 46ch; }

/* ═══════════════════════════════════════════
   תפריט תחתון — נייד
   ═══════════════════════════════════════════ */
.rbn { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--rbn-h) + env(safe-area-inset-bottom, 0px)); }
  .rbn {
    display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 400;
    height: calc(var(--rbn-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--paper); border-top: 1px solid var(--line);
  }
  .rbn-item {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 3px;
    color: var(--muted); font-size: .62rem; font-weight: 600; min-width: 0;
  }
  .rbn-item.active { color: var(--ink); }
  .rbn-item span { white-space: nowrap; }
  .rbn-main { color: var(--gold); }
  .rbn-main svg { transform: translateY(-2px); }
  /* 🔴 באג שתוקן: החישוב היה var(--rbn-h) + 14px בלבד, בלי
     env(safe-area-inset-bottom). באייפון עם notch הסרגל גבוה ב-34px
     נוספים, ולכן כפתור הנגישות ישב עליו ודרס את פריט "קשר".
     כל אלמנט צף בנייד חייב לכלול את ה-env הזה — בדיוק כמו body. */
  #ra-btn {
    bottom: calc(var(--rbn-h) + 16px + env(safe-area-inset-bottom, 0px)) !important;
    left: 16px !important;
  }
  #ra-panel {
    bottom: calc(var(--rbn-h) + 74px + env(safe-area-inset-bottom, 0px)) !important;
    left: 12px !important;
    max-height: calc(100vh - var(--rbn-h) - 150px) !important;
    overflow-y: auto;
  }
  :root { --sec: 56px; }
}

/* ═══════════════════════════════════════════
   חשיפה בגלילה — עדינה
   ═══════════════════════════════════════════ */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ── עזרים ── */
.center { text-align: center; }
.hide { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
