/* ערכת עיצוב: לוח עונות — ארבע עונות בפס צבע אחד (אביב ירוק, קיץ כתום, סתיו בורדו, חורף כחול). נטענת עם "theme": "seasons" */
.theme-seasons{
  --sz-spring:#5FA845; --sz-summer:#F08A24; --sz-autumn:#A8323E; --sz-winter:#2F6FA8; --sz-ink:#22303A; --sz-paper:#FFFDF8;
  --link:#B2462A;
  --sz-band:linear-gradient(90deg,var(--sz-winter) 0%,var(--sz-spring) 30%,var(--sz-summer) 60%,var(--sz-autumn) 100%);
  /* עלה קטן לתבליטים */
  --sz-leaf:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20C4 10 10 4 21 3c-1 11-7 17-17 17z' fill='%235FA845'/%3E%3Cpath d='M5 19L15 9' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background:var(--sz-paper);
}
.theme-seasons .progress span{background:var(--sz-band)}

/* --- כותרת: כרטיס עם פס העונות --- */
.theme-seasons .phero{position:relative;max-width:1232px;margin:20px auto 8px;padding:52px 44px 40px;border-radius:36px;background:#fff;
  box-shadow:0 24px 50px -30px rgba(34,48,58,.45),inset 0 0 0 1px #EFE6D6;overflow:hidden}
.theme-seasons .phero::before{content:"";position:absolute;inset-inline:0;top:0;height:10px;background:var(--sz-band)}
.theme-seasons .phero::after{ /* ארבעה עיגולי עונות ברקע */
  content:"";position:absolute;inset-inline-start:-40px;bottom:-60px;width:260px;height:260px;border-radius:50%;opacity:.13;pointer-events:none;
  background:conic-gradient(var(--sz-winter) 0 25%,var(--sz-spring) 0 50%,var(--sz-summer) 0 75%,var(--sz-autumn) 0)}
.theme-seasons .phero h1{color:var(--sz-ink)}
.theme-seasons .phero .chip{background:#EAF4E3;color:#2F6D1C}
.theme-seasons .phero-img{transform:rotate(1deg);box-shadow:0 0 0 6px #fff,0 0 0 8px #EFE6D6,0 24px 50px -22px rgba(34,48,58,.6)}

/* --- כותרות משנה: נקודה בצבע עונה מתחלף --- */
.theme-seasons .body h2{display:flex;align-items:center;gap:12px;color:var(--sz-ink)}
.theme-seasons .body h2::before{content:"";flex:0 0 14px;height:14px;border-radius:50%;background:var(--sz-summer);box-shadow:0 0 0 5px rgba(240,138,36,.18)}
.theme-seasons .body h2:nth-of-type(4n+1)::before{background:var(--sz-winter);box-shadow:0 0 0 5px rgba(47,111,168,.16)}
.theme-seasons .body h2:nth-of-type(4n+2)::before{background:var(--sz-spring);box-shadow:0 0 0 5px rgba(95,168,69,.18)}
.theme-seasons .body h2:nth-of-type(4n+3)::before{background:var(--sz-summer)}
.theme-seasons .body h2:nth-of-type(4n)::before{background:var(--sz-autumn);box-shadow:0 0 0 5px rgba(168,50,62,.16)}

/* --- רכיבים כלליים --- */
.theme-seasons .toc{border-inline-start:6px solid transparent;border-image:var(--sz-band) 1}
.theme-seasons .ticks li::before{width:16px;height:16px;top:.45em;border-radius:0;background:var(--sz-leaf) center/contain no-repeat}
.theme-seasons th{background:var(--sz-ink);color:#fff}
.theme-seasons .keybox div{border-top:5px solid var(--sz-summer)}
.theme-seasons .keybox div:nth-child(1){border-top-color:var(--sz-spring)}
.theme-seasons .keybox div:nth-child(3){border-top-color:var(--sz-autumn)}
.theme-seasons .tip{background:#FFF3E2;border-color:var(--sz-summer)}
.theme-seasons .body figure img{aspect-ratio:4/3}
.theme-seasons blockquote{border:0;text-align:center;padding:30px 24px;border-radius:24px;background:#fff;box-shadow:inset 0 0 0 1px #EFE6D6;position:relative;overflow:hidden}
.theme-seasons blockquote::before{content:"";position:absolute;inset-inline:0;top:0;height:6px;background:var(--sz-band)}

/* --- רכיב חתימה 1: מה בעונה עכשיו --- */
.sz-picker{background:#fff;border-radius:26px;padding:18px 18px 20px;margin:14px 0 10px;box-shadow:0 18px 40px -28px rgba(34,48,58,.55),inset 0 0 0 1px #EFE6D6}
.sz-months{display:grid;grid-template-columns:repeat(12,1fr);gap:4px;margin-bottom:16px}
.sz-months button{font:600 14px var(--hd);padding:10px 2px;border:0;border-radius:12px;cursor:pointer;color:var(--sz-ink);background:#F5EFE4;transition:all .15s}
.sz-months button:nth-child(-n+2),.sz-months button:nth-child(12){--c:var(--sz-winter)}
.sz-months button:nth-child(n+3):nth-child(-n+5){--c:var(--sz-spring)}
.sz-months button:nth-child(n+6):nth-child(-n+8){--c:var(--sz-summer)}
.sz-months button:nth-child(n+9):nth-child(-n+11){--c:var(--sz-autumn)}
.sz-months button:hover{box-shadow:inset 0 -3px 0 var(--c)}
.sz-months button[aria-selected="true"]{background:var(--c);color:#fff;transform:translateY(-2px);box-shadow:0 8px 16px -8px var(--c)}
.sz-panel{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px}
.sz-col{border-radius:18px;padding:14px 16px;background:#FBF8F2}
.sz-col b{display:block;font:600 16px var(--hd);margin-bottom:8px}
.sz-peak{background:#FFF1E0}.sz-peak b{color:#B4590E}
.sz-start{background:#EEF6E8}.sz-start b{color:#3E7A23}
.sz-end{background:#F8E9EA}.sz-end b{color:#952A35}
.sz-col ul{list-style:none;padding:0;margin:0!important;display:flex;flex-wrap:wrap;gap:6px}
.sz-col li{background:#fff;border-radius:99px;padding:4px 12px;font-size:15px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.sz-col li.none{background:none;box-shadow:none;color:#999}

/* --- רכיב חתימה 2: עונת המנגו לפי זנים --- */
.theme-seasons .body figure.sz-mango{background:#fff;padding:20px 20px 4px;border-radius:24px;box-shadow:inset 0 0 0 1px #EFE6D6}
.sz-mango .mg-head,.sz-mango .mg-row{display:grid;grid-template-columns:110px repeat(6,1fr);align-items:center}
.sz-mango .mg-head span{font:600 13px var(--hd);color:#7A7266;text-align:center;border-inline-start:1px dashed #E5DCCB;padding:4px 0}
.sz-mango .mg-head span:first-child{border:0}
.sz-mango .mg-row{position:relative;height:44px;border-top:1px solid #F3ECE0}
.sz-mango .mg-row b{font:600 15px var(--hd);color:var(--sz-ink)}
.sz-mango .mg-row i{position:absolute;height:22px;border-radius:99px;top:11px;
  inset-inline-start:calc(110px + (100% - 110px) / 6 * (var(--s) - 1));width:calc((100% - 110px) / 6 * (var(--e) - var(--s)));
  background:linear-gradient(90deg,#FFC94A,#F08A24 60%,#7DBE4A);box-shadow:0 4px 10px -4px rgba(240,138,36,.6)}
.sz-mango .mg-row:last-of-type i{background:linear-gradient(90deg,#7DBE4A,#4E9A35)}
.theme-seasons .body figure.sz-mango figcaption{padding:12px 0 10px}

@media (max-width:900px){.theme-seasons .phero{padding:44px 22px 28px;border-radius:28px}}
@media (max-width:600px){
  .sz-months{grid-template-columns:repeat(6,1fr)}
  .sz-panel{grid-template-columns:1fr}
  .sz-mango .mg-head,.sz-mango .mg-row{grid-template-columns:84px repeat(6,1fr)}
  .sz-mango .mg-row i{inset-inline-start:calc(84px + (100% - 84px) / 6 * (var(--s) - 1));width:calc((100% - 84px) / 6 * (var(--e) - var(--s)))}
  .sz-mango .mg-head span{font-size:11px}
}
