/* ערכת עיצוב: שולחן עבודה — עץ, קרש חיתוך ונייר אפייה. נטענת עם "theme": "board" */
.theme-board{
  --bd-wood:#B9844F; --bd-wood-d:#8A5A2E; --bd-wood-l:#E9CFA7; --bd-ink:#2D2219; --bd-green:#5E9B3C; --bd-paper:#FBF7EF;
  --link:#B4501E;
  /* סיבי עץ עדינים */
  --grain:repeating-linear-gradient(92deg,rgba(255,255,255,.07) 0 3px,rgba(0,0,0,.035) 3px 7px,rgba(255,255,255,0) 7px 13px);
  background:var(--bd-paper);
}
.theme-board .progress span{background:linear-gradient(90deg,var(--bd-wood),var(--bd-green))}

/* --- כותרת: קרש חיתוך --- */
.theme-board .phero{position:relative;max-width:1232px;margin:20px auto 8px;padding:48px 44px 40px;border-radius:40px;
  background:var(--grain),linear-gradient(160deg,#D9AE79,#C48F58 55%,#B07A45);color:var(--bd-ink);
  box-shadow:inset 0 -10px 0 rgba(0,0,0,.08),0 26px 50px -28px rgba(80,50,20,.6)}
.theme-board .phero::before{ /* חור תלייה של קרש */
  content:"";position:absolute;top:22px;inset-inline-end:28px;width:30px;height:30px;border-radius:50%;background:var(--bd-paper);box-shadow:inset 0 3px 6px rgba(0,0,0,.25)}
.theme-board .phero h1{color:#2D1A0C}
.theme-board .phero .lead{color:#3D2A18}
.theme-board .phero .crumbs,.theme-board .phero .crumbs a,.theme-board .phero .ameta{color:#5A3C20}
.theme-board .phero .chip{background:rgba(255,255,255,.55);color:#4B2E12}
.theme-board .phero-img{transform:rotate(-1deg);border-radius:24px;box-shadow:0 0 0 6px #fff,0 22px 44px -20px rgba(60,30,10,.7)}

/* --- כותרות משנה: קו "סכין" --- */
.theme-board .body h2{color:var(--bd-ink);display:flex;align-items:center;gap:12px}
.theme-board .body h2::before{content:"";flex:0 0 34px;height:8px;border-radius:2px 8px 8px 2px;background:linear-gradient(90deg,#9AA3AB 0 70%,#2D2219 70%)}

/* --- רכיבים כלליים --- */
.theme-board .toc{border-inline-start-color:var(--bd-wood)}
.theme-board .ticks li::before{background:var(--bd-green);border-radius:3px;transform:rotate(45deg);width:11px;height:11px;top:.6em}
.theme-board .steps li::before{background:var(--bd-wood-d)}
.theme-board th{background:var(--bd-wood-d);color:#FFF4E2}
.theme-board tbody tr:nth-child(even){background:#FBF2E4}
.theme-board .tip{background:#F3EAD9;border-color:var(--bd-wood)}
.theme-board .body figure{border-radius:22px;box-shadow:0 0 0 6px #fff,0 0 0 7px #E6D6BC,0 20px 40px -24px rgba(60,30,10,.55)}
.theme-board .body figure img{aspect-ratio:4/3}
.theme-board blockquote{border:0;text-align:center;padding:30px 26px;border-radius:28px;color:#2D1A0C;
  background:var(--grain),linear-gradient(160deg,#E2BC8A,#C9965F);font-size:22px}

/* --- רכיב: כלל 60/30/10 --- */
.bd-ratio{display:flex;gap:6px;margin:16px 0 14px;height:130px}
.bd-ratio>div{flex:var(--w) 1 0;min-width:0;border-radius:18px;padding:14px 14px 10px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;position:relative;overflow:hidden}
.bd-ratio>div:nth-child(1){background:linear-gradient(160deg,#F07C5C,#E2574C)}
.bd-ratio>div:nth-child(2){background:linear-gradient(160deg,#8BCB6B,#5E9B3C)}
.bd-ratio>div:nth-child(3){background:linear-gradient(160deg,#B66FD3,#7B3FA0)}
.bd-ratio b{font:700 30px/1 var(--hd)}
.bd-ratio span{font:600 16px var(--hd)}
.bd-ratio em{font-style:normal;font-size:13.5px;opacity:.92;line-height:1.35}

/* --- רכיב חתימה 1: 4 תבניות סידור --- */
.bd-patterns{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:16px 0 18px}
.theme-board .body .bd-patterns figure{margin:0;padding:18px 14px 6px;background:#fff;border-radius:22px;box-shadow:inset 0 0 0 1px #EADCC4,0 10px 22px -16px rgba(60,30,10,.45);text-align:center}
.bd-patterns svg{width:100%;max-width:120px;height:auto;margin:0 auto;display:block;filter:drop-shadow(0 6px 8px rgba(0,0,0,.12))}
.theme-board .body .bd-patterns figcaption{padding:10px 0 8px;font-size:14px;line-height:1.45;color:#5A4632}
.bd-patterns figcaption b{display:block;font:700 18px var(--hd);color:var(--bd-ink);margin-bottom:2px}

/* --- רכיב חתימה 2: לוח הזמנים --- */
.bd-clock{list-style:none;padding:0!important;margin:14px 0 18px!important;border-radius:22px;overflow:hidden;box-shadow:0 12px 26px -18px rgba(60,30,10,.5)}
.bd-clock li{display:grid;grid-template-columns:112px 1fr;align-items:center;background:#fff;border-top:1px solid #F0E4D0}
.bd-clock li:first-child{border-top:0}
.bd-clock time{align-self:stretch;display:grid;place-items:center;font:700 18px var(--hd);color:#fff;background:var(--bd-wood-d);padding:12px 6px}
.bd-clock li:nth-child(even) time{background:var(--bd-wood)}
.bd-clock li:first-child time{background:var(--bd-green);font-size:15px}
.bd-clock span{padding:12px 16px;font-size:16.5px}

@media (max-width:900px){.theme-board .phero{padding:42px 22px 30px;border-radius:30px}}
@media (max-width:700px){
  .bd-patterns{grid-template-columns:1fr 1fr}
  .bd-ratio{height:auto;flex-direction:column}
  .bd-ratio>div{flex:none;min-height:70px}
  .bd-clock li{grid-template-columns:84px 1fr}
}
