/* ערכת עיצוב: אירוסין — ורוד עתיק, שמפניה וזהב, טבעות ויהלומים. נטענת רק בעמודים עם "theme": "engagement" */
.theme-engagement{
  --eg-plum:#4A2433; --eg-rose:#B4466A; --eg-blush:#F7E1DC; --eg-blush2:#EFCBC3; --eg-gold:#C9A25E; --eg-gold-l:#EBD6A8; --eg-cream:#FFF8F5;
  --link:#A5385E;
  --grad:linear-gradient(100deg,#B4466A,#C9A25E);
  --ring:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='40' r='17' fill='none' stroke='%23C9A25E' stroke-width='5'/%3E%3Cpath d='M24 15l4-6h8l4 6-8 9z' fill='%23F3C6D3' stroke='%23B4466A' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M24 15h16M28 9l4 6 4-6' fill='none' stroke='%23B4466A' stroke-width='1.5'/%3E%3C/svg%3E");
  --gem:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 12l5-6h10l5 6-10 14z' fill='%23B4466A'/%3E%3Cpath d='M6 12h20M11 6l5 6 5-6M16 12v14' fill='none' stroke='%23F7E1DC' stroke-width='1.2'/%3E%3C/svg%3E");
  --sparkle:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23C9A25E' fill-opacity='.35'%3E%3Cpath d='M20 10l1.6 5.4L27 17l-5.4 1.6L20 24l-1.6-5.4L13 17l5.4-1.6z'/%3E%3Cpath d='M66 52l1 3.2 3.2 1-3.2 1L66 60.4l-1-3.2-3.2-1 3.2-1z'/%3E%3Ccircle cx='48' cy='20' r='1.6'/%3E%3Ccircle cx='14' cy='70' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
  background:var(--eg-cream);
}
.theme-engagement .progress span{background:linear-gradient(90deg,var(--eg-rose),var(--eg-gold))}

/* --- כותרת: כרטיס ורוד עם מסגרת זהב כפולה --- */
.theme-engagement .phero{
  position:relative;isolation:isolate;margin:20px auto 8px;max-width:1232px;padding:48px 44px;border-radius:36px;
  background:var(--sparkle),linear-gradient(150deg,#FBEDEA 0%,var(--eg-blush) 55%,var(--eg-blush2) 100%);
  box-shadow:0 30px 60px -34px rgba(74,36,51,.55),inset 0 0 0 1px rgba(201,162,94,.55);
}
.theme-engagement .phero::before{content:"";position:absolute;inset:12px;border:1px solid rgba(201,162,94,.7);border-radius:28px;pointer-events:none;z-index:-1}
.theme-engagement .phero::after{ /* שתי טבעות שלובות ברקע */
  content:"";position:absolute;width:230px;height:150px;inset-inline-start:-24px;bottom:-28px;z-index:-1;pointer-events:none;opacity:.22;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 230 150'%3E%3Cg fill='none' stroke='%23C9A25E' stroke-width='9'%3E%3Ccircle cx='80' cy='80' r='58'/%3E%3Ccircle cx='150' cy='80' r='58'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
}
.theme-engagement .phero h1{color:var(--eg-plum)}
.theme-engagement .phero .lead{color:#5E3A46}
.theme-engagement .phero .crumbs,.theme-engagement .phero .crumbs a,.theme-engagement .phero .ameta{color:#8A5A66}
.theme-engagement .phero .chip{background:#fff;color:var(--eg-rose);box-shadow:inset 0 0 0 1px var(--eg-gold)}
.theme-engagement .phero .chip::before{content:"";display:inline-block;width:15px;height:15px;margin-inline-end:6px;vertical-align:-2px;background:var(--gem) center/contain no-repeat}
.theme-engagement .phero-img{border-radius:50% 50% 28px 28px / 34% 34% 28px 28px;box-shadow:0 0 0 6px #fff,0 0 0 7.5px var(--eg-gold),0 24px 50px -24px rgba(74,36,51,.7)}

/* --- כותרות משנה עם טבעת --- */
.theme-engagement .body h2{display:flex;align-items:center;gap:12px;color:var(--eg-plum)}
.theme-engagement .body h2::before{content:"";flex:0 0 32px;height:32px;background:var(--ring) center/contain no-repeat}

/* --- רכיבים --- */
.theme-engagement .toc{border-inline-start-color:var(--eg-gold)}
.theme-engagement .toc li::before{color:var(--eg-rose)}
.theme-engagement .ticks li::before{width:15px;height:15px;top:.45em;border-radius:0;background:var(--gem) center/contain no-repeat}
.theme-engagement .steps li::before{background:#fff;color:var(--eg-rose);box-shadow:inset 0 0 0 2px var(--eg-gold)}
.theme-engagement th{background:var(--eg-plum);color:var(--eg-gold-l)}
.theme-engagement tbody tr:nth-child(even) td{background:#FDF3F0}
.theme-engagement .tbl{box-shadow:0 0 0 1px rgba(201,162,94,.6),var(--sh)}
.theme-engagement .tip{background:#FCEAEA;border-color:var(--eg-rose)}
.theme-engagement .tip::before{color:#8E2F50}
.theme-engagement .tip.fact{background:#F8F0DE;border-color:var(--eg-gold)}
.theme-engagement .tip.fact::before{content:"🥂 שווה לדעת";color:#7A5A1C}
.theme-engagement .keybox div{background:#fff;box-shadow:inset 0 0 0 1px rgba(201,162,94,.7),0 8px 18px -12px rgba(74,36,51,.45)}
.theme-engagement .body figure{background:#fff;padding:10px 10px 0;border-radius:24px;box-shadow:0 0 0 1px rgba(201,162,94,.7),0 18px 40px -24px rgba(74,36,51,.55)}
.theme-engagement .body figure img{aspect-ratio:4/3;border-radius:16px}
.theme-engagement .body figcaption{color:#7A4A58;text-align:center}

/* ציטוט: כמו הקדשה על כרטיס ברכה */
.theme-engagement blockquote{
  position:relative;text-align:center;border:0;margin:52px 0 24px;padding:46px 28px 30px;border-radius:28px;
  background:var(--sparkle),#fff;color:var(--eg-plum);font-size:23px;
  box-shadow:inset 0 0 0 6px var(--eg-blush),inset 0 0 0 7.5px var(--eg-gold),0 20px 40px -26px rgba(74,36,51,.6);
}
.theme-engagement blockquote::before{
  content:"";position:absolute;top:-28px;inset-inline-start:calc(50% - 28px);width:56px;height:56px;border-radius:50%;
  background:var(--ring) center/34px no-repeat,var(--eg-cream);box-shadow:0 0 0 2px var(--eg-gold);
}

/* --- רכיב חתימה: שלוש קופסאות טבעת, שלושה סוגי ערב --- */
.theme-engagement .eg-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 34px;padding:0;list-style:none}
.theme-engagement .eg-boxes li{position:relative;margin:0;padding:0;border-radius:22px;background:#fff;overflow:hidden;
  box-shadow:0 0 0 1px rgba(201,162,94,.6),0 16px 34px -22px rgba(74,36,51,.6)}
.theme-engagement .eg-boxes li::before{display:none}
.theme-engagement .eg-lid{position:relative;height:92px;background:radial-gradient(120% 140% at 50% 0%,#8E3A58 0%,#5E2238 70%,#43172A 100%);
  border-bottom:3px solid var(--eg-gold)}
.theme-engagement .eg-lid::after{content:"";position:absolute;left:calc(50% - 30px);bottom:-30px;width:60px;height:60px;border-radius:50%;
  background:var(--ring) center/38px no-repeat,var(--eg-cream);box-shadow:0 0 0 3px var(--eg-gold),0 8px 16px -8px rgba(0,0,0,.4)}
.theme-engagement .eg-lid span{position:absolute;top:16px;inset-inline:0;text-align:center;font:600 13px var(--hd);letter-spacing:.04em;color:var(--eg-gold-l)}
.theme-engagement .eg-in{padding:42px 18px 18px;text-align:center}
.theme-engagement .eg-in h3{margin:0 0 4px;font-size:21px;color:var(--eg-plum)}
.theme-engagement .eg-in .who{display:block;font-size:14px;color:#8A5A66;margin-bottom:12px}
.theme-engagement .eg-in dl{margin:0;text-align:start;font-size:15px}
.theme-engagement .eg-in dt{font-weight:700;color:var(--eg-rose);margin-top:8px}
.theme-engagement .eg-in dd{margin:0;color:#4E3A40}
.theme-engagement .eg-in .gram{display:inline-block;margin-top:14px;padding:6px 14px;border-radius:99px;background:var(--eg-blush);color:var(--eg-plum);font:700 15px var(--hd)}

/* --- כרטיס "מחר בערב": רשימת קניות מהירה --- */
.theme-engagement .eg-rush{margin:30px 0;padding:26px 26px 20px;border-radius:24px;background:var(--eg-plum);color:#FBEDEA;
  box-shadow:inset 0 0 0 1px rgba(235,214,168,.5),0 20px 40px -26px rgba(74,36,51,.8)}
.theme-engagement .eg-rush h3{margin:0 0 4px;color:var(--eg-gold-l);font-size:22px}
.theme-engagement .eg-rush .sub{margin:0 0 16px;font-size:14px;color:#E6C6CE}
.theme-engagement .eg-rush ol{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.theme-engagement .eg-rush li{display:grid;grid-template-columns:86px 1fr;gap:14px;align-items:start;margin:0;padding:10px 0 0;border-top:1px dashed rgba(235,214,168,.35)}
.theme-engagement .eg-rush li::before{display:none}
.theme-engagement .eg-rush time{font:700 16px var(--hd);color:var(--eg-gold-l)}

.theme-engagement .faq summary::after{color:var(--eg-rose)}
.theme-engagement .share{box-shadow:inset 0 0 0 1px rgba(201,162,94,.6),var(--sh)}

@media (max-width:900px){
  .theme-engagement .phero{margin:12px 12px 4px;padding:28px 20px 30px;border-radius:28px}
  .theme-engagement .phero::before{inset:8px;border-radius:22px}
  .theme-engagement .eg-boxes{grid-template-columns:1fr;max-width:440px;margin-inline:auto}
}
@media (max-width:600px){
  .theme-engagement .body h2::before{flex-basis:26px;height:26px}
  .theme-engagement blockquote{font-size:20px;padding:42px 18px 24px}
  .theme-engagement .eg-rush{padding:22px 18px 16px}
  .theme-engagement .eg-rush li{grid-template-columns:1fr;gap:2px}
}
html.a11y-contrast .theme-engagement .phero,html.a11y-contrast .theme-engagement blockquote,html.a11y-contrast .theme-engagement .eg-boxes li,html.a11y-contrast .theme-engagement .eg-rush{background:#000!important;color:#fff!important}
