/* ערכת עיצוב: קלמנטינה — כתום חורפי, עלה ירוק כהה ופלחים. נטענת רק בעמודים עם "theme": "clementine" */
.theme-clementine{
  --cl-orange:#F07A12; --cl-deep:#C7520A; --cl-peel:#FFB347; --cl-pith:#FFF1DC; --cl-leaf:#2F6B2A; --cl-leaf-l:#E4F0D9; --cl-ink:#3B2410;
  --link:#B4470A;
  --grad:linear-gradient(100deg,#F07A12,#FFB347);
  /* פלח קלמנטינה: חצי עיגול עם קווי שקיקים */
  --seg:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='34' r='24' fill='%23F07A12'/%3E%3Ccircle cx='32' cy='34' r='20' fill='%23FFB347'/%3E%3Cg stroke='%23FFF1DC' stroke-width='2.2'%3E%3Cpath d='M32 34V14M32 34l14-14M32 34h20M32 34l14 14M32 34v20M32 34L18 48M32 34H12M32 34L18 20'/%3E%3C/g%3E%3Ccircle cx='32' cy='34' r='3' fill='%23FFF1DC'/%3E%3Cpath d='M33 10c2-6 9-8 14-6-2 5-8 8-14 6z' fill='%232F6B2A'/%3E%3C/svg%3E");
  --leaf:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 26C6 12 16 5 28 4c0 13-8 22-24 22z' fill='%232F6B2A'/%3E%3Cpath d='M6 24C12 18 18 12 25 7' stroke='%23E4F0D9' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  --dots:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='6' cy='6' r='1.6' fill='%23C7520A' fill-opacity='.18'/%3E%3Ccircle cx='19' cy='17' r='1.2' fill='%23C7520A' fill-opacity='.14'/%3E%3C/svg%3E");
  background:#FFFAF3;
}
.theme-clementine .progress span{background:linear-gradient(90deg,var(--cl-leaf),var(--cl-orange))}

/* --- כותרת: כמו קליפה מבריקה עם נקבוביות --- */
.theme-clementine .phero{
  position:relative;isolation:isolate;margin:20px auto 8px;max-width:1232px;padding:48px 44px;border-radius:40px;color:#fff;
  background:var(--dots),radial-gradient(130% 120% at 80% 0%,#FFB347 0%,#F07A12 45%,#C7520A 100%);
  box-shadow:0 30px 60px -32px rgba(199,82,10,.75),inset 0 2px 0 rgba(255,255,255,.35);
}
.theme-clementine .phero::after{ /* עלה גדול בפינה */
  content:"";position:absolute;width:170px;height:170px;inset-inline-start:-18px;top:-26px;background:var(--leaf) center/contain no-repeat;
  opacity:.9;transform:rotate(-30deg);z-index:-1;pointer-events:none;
}
.theme-clementine .phero h1{color:#fff;text-shadow:0 2px 0 rgba(120,40,0,.25)}
.theme-clementine .phero .lead{color:#FFF4E6}
.theme-clementine .phero .crumbs,.theme-clementine .phero .crumbs a,.theme-clementine .phero .ameta{color:#FFE3C2}
.theme-clementine .phero .chip{background:var(--cl-leaf);color:#fff}
.theme-clementine .phero .chip::before{content:"";display:inline-block;width:14px;height:14px;margin-inline-end:6px;vertical-align:-2px;background:var(--leaf) center/contain no-repeat;filter:brightness(2.4)}
.theme-clementine .phero-img{border-radius:50%;aspect-ratio:1;overflow:hidden;box-shadow:0 0 0 8px var(--cl-pith),0 0 0 10px rgba(255,255,255,.6),0 24px 50px -22px rgba(90,30,0,.7)}
.theme-clementine .phero-img img{border-radius:50%;aspect-ratio:1;object-fit:cover;height:100%}

/* --- כותרות משנה: פלח --- */
.theme-clementine .body h2{display:flex;align-items:center;gap:12px;color:var(--cl-ink)}
.theme-clementine .body h2::before{content:"";flex:0 0 32px;height:32px;background:var(--seg) center/contain no-repeat}

/* --- רכיבים --- */
.theme-clementine .toc{border-inline-start-color:var(--cl-orange)}
.theme-clementine .toc li::before{color:var(--cl-leaf)}
.theme-clementine .ticks li::before{width:16px;height:16px;top:.42em;border-radius:0;background:var(--leaf) center/contain no-repeat}
.theme-clementine .steps li::before{background:var(--cl-orange);color:#fff;box-shadow:0 0 0 3px var(--cl-pith)}
.theme-clementine th{background:var(--cl-leaf);color:#fff}
.theme-clementine tbody tr:nth-child(even) td{background:#FFF4E6}
.theme-clementine .tbl{box-shadow:0 0 0 1px rgba(240,122,18,.35),var(--sh)}
.theme-clementine .tip{background:#FFEEDB;border-color:var(--cl-orange)}
.theme-clementine .tip.fact{background:var(--cl-leaf-l);border-color:var(--cl-leaf)}
.theme-clementine .tip.fact::before{content:"🍊 מאחורי הקליפה";color:var(--cl-leaf)}
.theme-clementine .keybox div{background:#fff;border-top:5px solid var(--cl-orange)}
.theme-clementine .keybox div:nth-child(even){border-top-color:var(--cl-leaf)}
.theme-clementine .body figure{border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 0 0 6px var(--cl-pith),0 18px 40px -24px rgba(199,82,10,.6)}
.theme-clementine .body figure img{aspect-ratio:4/3}
.theme-clementine .body figcaption{color:#7A4416;padding:10px 16px 14px}

.theme-clementine blockquote{
  position:relative;border:0;margin:44px 0 24px;padding:30px;padding-inline-start:96px;border-radius:40px 999px 999px 40px;
  background:linear-gradient(100deg,#FFB347,#F07A12);color:#fff;font-size:22px;box-shadow:0 18px 36px -22px rgba(199,82,10,.8)
}
.theme-clementine blockquote::before{content:"";position:absolute;inset-inline-start:22px;top:calc(50% - 30px);width:60px;height:60px;background:var(--seg) center/contain no-repeat;filter:drop-shadow(0 2px 3px rgba(0,0,0,.2))}

/* --- רכיב חתימה: לוח עונה של הדרים קטנים --- */
.theme-clementine .cl-season{margin:28px 0 32px;padding:22px 22px 16px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px rgba(240,122,18,.3),0 16px 34px -24px rgba(199,82,10,.6)}
.theme-clementine .cl-season h3{margin:0 0 2px;font-size:20px;color:var(--cl-ink)}
.theme-clementine .cl-season .sub{margin:0 0 14px;font-size:14px;color:#8A5A30}
.theme-clementine .cl-grid{display:grid;grid-template-columns:110px repeat(7,1fr);gap:6px 0;align-items:center;font-size:14px}
.theme-clementine .cl-grid .m{text-align:center;font-weight:700;color:#8A5A30;font-size:13px;padding-bottom:4px;border-bottom:1px solid #F3DCC2}
.theme-clementine .cl-grid .v{font-weight:700;color:var(--cl-ink);padding-inline-end:8px}
.theme-clementine .cl-grid .bar{height:22px;border-radius:99px;background:linear-gradient(90deg,var(--cl-peel),var(--cl-orange));box-shadow:inset 0 -2px 0 rgba(0,0,0,.08)}
.theme-clementine .cl-grid .bar.edge{opacity:.45}
.theme-clementine .cl-season .note{margin:12px 0 0;font-size:13px;color:#8A5A30}

/* --- סרגל בחירה בדוכן: כבד/קל --- */
.theme-clementine .cl-scale{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:26px 0}
.theme-clementine .cl-scale div{padding:18px 18px 14px;border-radius:22px;background:#fff;box-shadow:0 10px 24px -18px rgba(0,0,0,.4)}
.theme-clementine .cl-scale div:first-child{box-shadow:inset 0 0 0 2px var(--cl-leaf),0 10px 24px -18px rgba(0,0,0,.4)}
.theme-clementine .cl-scale div:last-child{box-shadow:inset 0 0 0 2px #D9A27A,0 10px 24px -18px rgba(0,0,0,.4);background:#FFF8F2}
.theme-clementine .cl-scale h3{margin:0 0 8px;font-size:18px}
.theme-clementine .cl-scale div:first-child h3{color:var(--cl-leaf)}
.theme-clementine .cl-scale div:last-child h3{color:#9A5A2A}
.theme-clementine .cl-scale ul{margin:0;padding:0;list-style:none;font-size:15px}
.theme-clementine .cl-scale li{padding:5px 0;border-bottom:1px dashed #F0D9C0}
.theme-clementine .cl-scale li:last-child{border:0}

.theme-clementine .faq summary::after{color:var(--cl-orange)}
.theme-clementine .share{box-shadow:inset 0 0 0 1px rgba(240,122,18,.35),var(--sh)}

@media (max-width:900px){
  .theme-clementine .phero{margin:12px 12px 4px;padding:28px 20px 30px;border-radius:30px}
  .theme-clementine .phero::after{width:110px;height:110px}
}
@media (max-width:600px){
  .theme-clementine .body h2::before{flex-basis:26px;height:26px}
  .theme-clementine .cl-grid{grid-template-columns:74px repeat(7,1fr);font-size:12px}
  .theme-clementine .cl-grid .m{font-size:11px}
  .theme-clementine .cl-grid .bar{height:16px}
  .theme-clementine .cl-season{padding:18px 12px 12px}
  .theme-clementine .cl-scale{grid-template-columns:1fr}
  .theme-clementine blockquote{font-size:19px;padding:84px 22px 24px;border-radius:32px;text-align:center}
  .theme-clementine blockquote::before{inset-inline-start:calc(50% - 26px);top:18px;width:52px;height:52px}
}
html.a11y-contrast .theme-clementine .phero,html.a11y-contrast .theme-clementine blockquote,html.a11y-contrast .theme-clementine .cl-season,html.a11y-contrast .theme-clementine .cl-scale div{background:#000!important;color:#fff!important}
