/* The guide pages: /shealot/ (FAQ), /maasikim/ (employer guide), /gimla/ (funding guide). */
.guide { max-width: 920px; }
.guide-head { padding-block: 56px 8px; display: flex; flex-direction: column; gap: 16px; }
.guide-meta { color: var(--muted); }
.guide-toc { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.guide-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--control-line); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.guide-toc a:hover { border-color: var(--ink); color: var(--ink); }
.guide-toc a.is-carer { background: var(--mint); border-color: var(--green); color: var(--green); }

/* "בקצרה" summary box (/gimla/) */
.guide-brief { margin-top: 24px; background: var(--mint); border-radius: var(--radius); padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.guide-brief h2 { font: 700 18px/1.3 var(--font); color: var(--green); }
.guide-brief p { font-size: 17px; line-height: 1.65; color: var(--ink); text-wrap: pretty; }

.guide-sec { padding-top: 48px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.guide-sec > p { max-width: 720px; color: var(--muted); }
.guide-sec a, .qa-a a, .guide-foot a { font-weight: 600; }
.src { font-size: 15px; color: var(--faint); }
.guide-foot { padding-top: 48px; max-width: 720px; }

/* ---- questions (same look as the short FAQ on the home page) ---- */
.qa { border-bottom: 1px solid var(--line); }
.qa details { border-top: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-size: 19px; font-weight: 700; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: '+'; flex: none; font: 400 28px/1 var(--font-display); color: var(--green); }
.qa details[open] summary::after { content: '−'; }
.qa-a { padding: 0 4px 22px; max-width: 720px; display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.qa-list { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); max-width: 720px; }
.qa-list strong { color: var(--ink); }

/* ---- employer steps ---- */
.guide-steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.guide-steps li { counter-increment: step; position: relative; padding-block: 20px; padding-inline-start: 52px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.guide-steps li:last-child { border-bottom: 1px solid var(--line); }
.guide-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 18px; width: 36px; font: 400 32px/1 var(--font-display); color: var(--green); }
.guide-steps h3 { font-size: 20px; }
.guide-steps p { max-width: 680px; color: var(--muted); }

/* ---- benefit figures ---- */
.facts { margin: 0; background: var(--sand); border-radius: var(--radius); padding: 8px 26px; }
.facts div { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 6px 24px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }

/* ---- benefit levels table (/gimla/) ---- */
.guide-table-wrap { max-width: 720px; overflow-x: auto; }
.guide-table { width: 100%; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.guide-table th, .guide-table td { padding: 12px 10px; text-align: start; border-bottom: 1px solid var(--line); }
.guide-table thead th { font-size: 15px; font-weight: 700; color: var(--ink); border-bottom: 1.5px solid var(--line-strong); vertical-align: bottom; }
.guide-table tbody th { font-weight: 700; }
.guide-table td { color: var(--muted); }

@media (max-width: 720px) {
  .guide-head { padding-top: 28px; }
  .guide-sec { padding-top: 36px; }
  .qa summary { font-size: 17px; padding: 16px 2px; }
  .qa-a { font-size: 17px; }
  .guide-steps li { padding-inline-start: 40px; }
  .guide-steps li::before { font-size: 26px; }
  .guide-steps h3 { font-size: 18px; }
  .guide-brief { padding: 18px 20px; }
  .guide-brief p { font-size: 16px; }
  .facts { padding: 4px 18px; }
  .facts div { grid-template-columns: 1fr; }
  .guide-table { font-size: 15px; }
  .guide-table th, .guide-table td { padding: 10px 6px; }
  .guide-table thead th { font-size: 14px; }
  .guide-table td:nth-child(2) { white-space: nowrap; padding-inline: 4px; }
}
