/* ערכת עיצוב: חינה — בורדו, זהב וחמסות. נטענת רק בעמודים עם "theme": "henna" */
.theme-henna{
  --hn-wine:#5B1022; --hn-wine2:#7A1830; --hn-gold:#E9B949; --hn-gold-l:#F7DC97; --hn-henna:#B4501E; --hn-cream:#FFF6EA;
  --link:#A3203D;
  --grad:linear-gradient(100deg,#8E1B34,#B4501E);
  --hamsa-gold:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%23D9A52E'%3E%3Crect x='19.5' y='9' width='7.6' height='28' rx='3.8'/%3E%3Crect x='28.2' y='5' width='7.6' height='32' rx='3.8'/%3E%3Crect x='36.9' y='9' width='7.6' height='28' rx='3.8'/%3E%3Crect x='9' y='25' width='7.6' height='20' rx='3.8' transform='rotate(-24 12.8 35)'/%3E%3Crect x='47.4' y='25' width='7.6' height='20' rx='3.8' transform='rotate(24 51.2 35)'/%3E%3Cpath d='M13 33h38v11c0 10.5-8.5 17-19 17s-19-6.5-19-17z'/%3E%3C/g%3E%3Cpath d='M23 45c3-4.5 6-6 9-6s6 1.5 9 6c-3 4.5-6 6-9 6s-6-1.5-9-6z' fill='%23FFF6EA'/%3E%3Ccircle cx='32' cy='45' r='3' fill='%235B1022'/%3E%3C/svg%3E");
  --hamsa-wine:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%238E1B34'%3E%3Crect x='19.5' y='9' width='7.6' height='28' rx='3.8'/%3E%3Crect x='28.2' y='5' width='7.6' height='32' rx='3.8'/%3E%3Crect x='36.9' y='9' width='7.6' height='28' rx='3.8'/%3E%3Crect x='9' y='25' width='7.6' height='20' rx='3.8' transform='rotate(-24 12.8 35)'/%3E%3Crect x='47.4' y='25' width='7.6' height='20' rx='3.8' transform='rotate(24 51.2 35)'/%3E%3Cpath d='M13 33h38v11c0 10.5-8.5 17-19 17s-19-6.5-19-17z'/%3E%3C/g%3E%3Ccircle cx='32' cy='45' r='4' fill='%23E9B949'/%3E%3C/svg%3E");
  /* דוגמת חינה עדינה לרקע: עיגולים ונקודות כמו ציור על כף היד */
  --henna-dots:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23E9B949' stroke-opacity='.28' stroke-width='1.2'%3E%3Ccircle cx='42' cy='42' r='13'/%3E%3Ccircle cx='42' cy='42' r='7'/%3E%3C/g%3E%3Cg fill='%23E9B949' fill-opacity='.32'%3E%3Ccircle cx='42' cy='22' r='2'/%3E%3Ccircle cx='42' cy='62' r='2'/%3E%3Ccircle cx='22' cy='42' r='2'/%3E%3Ccircle cx='62' cy='42' r='2'/%3E%3Ccircle cx='0' cy='0' r='3'/%3E%3Ccircle cx='84' cy='0' r='3'/%3E%3Ccircle cx='0' cy='84' r='3'/%3E%3Ccircle cx='84' cy='84' r='3'/%3E%3C/g%3E%3C/svg%3E");
  background:var(--hn-cream);
}
.theme-henna .progress span{background:linear-gradient(90deg,var(--hn-gold),var(--hn-henna))}

/* --- כותרת העמוד: כרטיס בורדו עם זהב וחמסות --- */
.theme-henna .phero{
  position:relative;isolation:isolate;margin:20px auto 8px;max-width:1232px;
  padding:48px 44px;border-radius:36px;color:#FBEBD3;
  background:var(--henna-dots),radial-gradient(120% 90% at 85% 10%,#8E1B34 0%,var(--hn-wine) 55%,#3E0915 100%);
  box-shadow:0 30px 60px -30px rgba(91,16,34,.7),inset 0 0 0 1px rgba(233,185,73,.35);
}
.theme-henna .phero::before{ /* מסגרת זהב פנימית */
  content:"";position:absolute;inset:12px;border:1.5px solid rgba(233,185,73,.55);border-radius:28px;pointer-events:none;z-index:-1;
}
.theme-henna .phero::after{ /* חמסה גדולה ברקע */
  content:"";position:absolute;width:220px;height:220px;inset-inline-start:-30px;bottom:-40px;
  background:var(--hamsa-gold) center/contain no-repeat;opacity:.12;transform:rotate(-14deg);z-index:-1;pointer-events:none;
}
.theme-henna .phero h1{color:var(--hn-gold-l);text-shadow:0 2px 0 rgba(0,0,0,.18)}
.theme-henna .phero .lead{color:#F6E2C8}
.theme-henna .phero .crumbs,.theme-henna .phero .crumbs a,.theme-henna .phero .ameta{color:#E8C9A4}
.theme-henna .phero .chip{background:rgba(233,185,73,.18);color:var(--hn-gold-l);box-shadow:inset 0 0 0 1px rgba(233,185,73,.5)}
.theme-henna .phero .chip::before{content:"";display:inline-block;width:15px;height:15px;margin-inline-end:6px;vertical-align:-2px;background:var(--hamsa-gold) center/contain no-repeat}
.theme-henna .phero-img{transform:rotate(1.5deg);box-shadow:0 0 0 6px var(--hn-gold),0 0 0 7px rgba(255,255,255,.4),0 24px 50px -20px #000}

/* --- כותרות משנה עם חמסה קטנה --- */
.theme-henna .body h2{display:flex;align-items:center;gap:12px;color:var(--hn-wine)}
.theme-henna .body h2::before{content:"";flex:0 0 30px;height:30px;background:var(--hamsa-gold) center/contain no-repeat}

/* --- רכיבים --- */
.theme-henna .toc{border-inline-start-color:var(--hn-gold)}
.theme-henna .toc li::before{color:var(--hn-henna)}
.theme-henna .ticks li::before{width:16px;height:16px;top:.45em;border-radius:0;background:var(--hamsa-wine) center/contain no-repeat}
.theme-henna .steps li::before{background:var(--hn-wine);color:var(--hn-gold-l);box-shadow:0 0 0 2px var(--hn-gold)}
.theme-henna th{background:var(--hn-wine);color:var(--hn-gold-l)}
.theme-henna .tbl{box-shadow:0 0 0 1px rgba(233,185,73,.6),var(--sh)}
.theme-henna .tip{background:#FCEBDD;border-color:var(--hn-henna)}
.theme-henna .tip::before{color:#8A3A12}
.theme-henna .tip.fact{background:#F8E6C4;border-color:var(--hn-gold)}
.theme-henna .tip.fact::before{content:"🪔 מנהג קטן";color:#7A4A00}
.theme-henna .keybox div{box-shadow:inset 0 0 0 1px rgba(233,185,73,.7),0 6px 16px -10px rgba(91,16,34,.5)}
.theme-henna .body figure{box-shadow:0 0 0 4px #fff,0 0 0 5px var(--hn-gold),0 18px 40px -22px rgba(91,16,34,.6);background:#fff}
.theme-henna .body figure img{aspect-ratio:4/3}
.theme-henna .body figcaption{color:#6B3A2A}

/* ציטוט: כמו ברכה על הזמנה */
.theme-henna blockquote{
  position:relative;text-align:center;border:0;margin:48px 0 24px;padding:44px 28px 30px;border-radius:28px;
  background:var(--henna-dots),linear-gradient(160deg,var(--hn-wine2),var(--hn-wine));color:var(--hn-gold-l);
  font-size:23px;box-shadow:inset 0 0 0 1px rgba(233,185,73,.5),0 20px 40px -24px rgba(91,16,34,.8);
}
.theme-henna blockquote::before{
  content:"";position:absolute;top:-26px;inset-inline-start:calc(50% - 26px);width:52px;height:52px;border-radius:50%;
  background:var(--hamsa-gold) center/30px no-repeat,var(--hn-cream);box-shadow:0 0 0 3px var(--hn-gold);
}

/* --- כרטיס "הזמנה לחינה": רשימת קניות --- */
.theme-henna .henna-card{
  position:relative;margin:32px 0;padding:34px 30px 26px;border-radius:26px;background:#fff;
  box-shadow:inset 0 0 0 8px var(--hn-cream),inset 0 0 0 9.5px var(--hn-gold),0 18px 40px -24px rgba(91,16,34,.55);
}
.theme-henna .henna-card h3{margin:0 0 4px;padding:0 44px;text-align:center;color:var(--hn-wine);font-size:24px}
.theme-henna .henna-card .sub{text-align:center;color:#7A5544;font-size:15px;margin-bottom:18px}
.theme-henna .henna-card ul{display:grid;grid-template-columns:1fr 1fr;gap:6px 26px;margin:0 0 12px}
.theme-henna .henna-card li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed rgba(180,80,30,.35);font-size:16px}
.theme-henna .henna-card li b{color:var(--hn-wine);white-space:nowrap}
.theme-henna .henna-card .note{font-size:14px;color:#7A5544;text-align:center;margin:0}
.theme-henna .henna-card::before,.theme-henna .henna-card::after{
  content:"";position:absolute;top:18px;width:34px;height:34px;background:var(--hamsa-gold) center/contain no-repeat;opacity:.85
}
.theme-henna .henna-card::before{inset-inline-start:20px;transform:rotate(-12deg)}
.theme-henna .henna-card::after{inset-inline-end:20px;transform:rotate(12deg)}

/* מפריד חמסות בין חלקים */
.theme-henna .henna-divider{display:flex;justify-content:center;align-items:center;gap:14px;margin:40px 0 8px}
.theme-henna .henna-divider::before,.theme-henna .henna-divider::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--hn-gold),transparent)}
.theme-henna .henna-divider span{width:26px;height:26px;background:var(--hamsa-gold) center/contain no-repeat}
.theme-henna .henna-divider span:nth-child(2){width:34px;height:34px;background-image:var(--hamsa-wine)}

.theme-henna .faq summary::after{color:var(--hn-henna)}
.theme-henna .share{box-shadow:inset 0 0 0 1px rgba(233,185,73,.6),var(--sh)}

@media (max-width:900px){
  .theme-henna .phero{margin:12px 12px 4px;padding:28px 20px 30px;border-radius:28px}
  .theme-henna .phero::before{inset:8px;border-radius:22px}
  .theme-henna .phero-img{transform:none}
}
@media (max-width:600px){
  .theme-henna .henna-card{padding:60px 18px 22px}
  .theme-henna .henna-card h3{padding:0}
  .theme-henna .henna-card::before,.theme-henna .henna-card::after{top:16px}
  .theme-henna .henna-card::before{inset-inline-start:calc(50% - 40px)}
  .theme-henna .henna-card::after{inset-inline-end:calc(50% - 40px)}
  .theme-henna .henna-card ul{grid-template-columns:1fr}
  .theme-henna .body h2::before{flex-basis:24px;height:24px}
  .theme-henna blockquote{font-size:20px;padding:40px 18px 24px}
}
html.a11y-contrast .theme-henna .phero,html.a11y-contrast .theme-henna blockquote,html.a11y-contrast .theme-henna .henna-card{background:#000!important;color:#fff!important}
html.a11y-contrast .theme-henna .phero h1{color:#FFD400!important}
