/* ==========================================================================
   Article (מדריך)
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.ahero__a1 { inset-inline-end: -10%; top: -30%; width: 60%; opacity: .55; }
.ahero__a2 { inset-inline-start: -12%; bottom: -40%; width: 56%; opacity: .45; }
.ahero__w { position: absolute; font-weight: 800; letter-spacing: -.06em; line-height: 1; font-size: 120px; opacity: .7; pointer-events: none; }
.ahero__w--1 { inset-inline-start: 4%; top: 6%; }
.ahero__w--2 { inset-inline-end: 3%; bottom: -6%; }
.ahero__in { padding-block: 24px 48px; display: flex; flex-direction: column; gap: 14px; }
.ahero h1 { font-size: clamp(44px, 11vw, 88px); line-height: .98; letter-spacing: -.05em; }

.awrap { padding-block: 24px 64px; display: grid; gap: 24px; }
.toc { display: flex; gap: 0; overflow-x: auto; border: var(--bw) solid var(--ink); background: var(--surface); scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc > span { display: none; }
.toc a { flex-shrink: 0; display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 0 16px; font-size: 14px; font-weight: 500; }
.toc a + a { border-inline-start: 1px solid var(--line); }
.toc a b { font-size: 12px; color: var(--ink-2); font-weight: 800; }
.toc a[aria-current="true"] { font-weight: 800; background: var(--accent); }

.prose { min-width: 0; max-width: 68ch; }
.prose__lead { font-size: 20px; line-height: 1.7; margin-bottom: 8px; }
.prose h2 { font-size: clamp(28px, 5vw, 36px); margin: 40px 0 12px; scroll-margin-top: 24px; }
.prose p { font-size: 17px; line-height: 1.85; color: #2b2b2b; margin-bottom: 14px; }
.prose p strong { color: var(--ink); }
.qtable { border: var(--bw) solid var(--ink); background: var(--surface); margin: 24px 0; }
.qrow { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border-top: 1px solid var(--line); font-size: 15px; }
.qrow:first-child { border-top: 0; background: var(--ink); color: #fff; font-weight: 800; letter-spacing: .1em; font-size: 13px; }
.qrow > * { padding: 12px 12px; }
.qrow > * + * { border-inline-start: 1px solid var(--line); }
.qrow:first-child > * + * { border-color: #333; }
.qrow .is-hit { background: #F4FBD8; font-weight: 700; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: var(--bw) solid var(--ink); margin: 28px 0; background: var(--surface); }
.pair > span { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.pair > span + span { border-inline-start: var(--bw) solid var(--ink); }
.pair img { width: 80%; }
.pair figcaption { grid-column: 1 / -1; padding: 10px 14px; font-size: 13px; color: var(--ink-2); border-top: var(--bw) solid var(--ink); }
.prose blockquote { margin: 32px 0; padding: 20px 20px; border-inline-start: 4px solid var(--ink); background: var(--accent); font-size: 22px; line-height: 1.5; font-weight: 700; }
.steps-list { list-style: none; margin: 16px 0; padding: 0; border-top: var(--bw) solid var(--ink); }
.steps-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.6; }
.steps-list strong { font-size: 14px; color: var(--ink-2); width: 28px; flex-shrink: 0; padding-top: 3px; }

.aprods { border: var(--bw) solid var(--ink); background: var(--surface); align-self: start; min-height: 420px; }
.aprods__h { padding: 14px 16px; border-bottom: var(--bw) solid var(--ink); }
.aprod { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.aprod__img { width: 88px; height: 88px; background: var(--stage); position: relative; display: block; }
.aprod__img img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.aprod__t { display: flex; flex-direction: column; gap: 8px; }
.aprod__t > span { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.aprod .btn { min-height: 42px; font-size: 14px; }
.aprod .btn.is-done { background: var(--accent); color: var(--ink); }
.aprods__q { display: block; padding: 14px 16px; font-weight: 700; border-top: 0; }
.aprods__q:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .ahero__w { font-size: 220px; }
  .ahero__in { padding-block: 32px 80px; }
  .qrow > * { padding: 16px 20px; }
  .pair img { width: 70%; }
}
@media (min-width: 1024px) {
  .ahero__w { font-size: 300px; }
  .awrap { grid-template-columns: 200px minmax(0, 1fr) 300px; gap: 48px; padding-block: 56px 96px; align-items: start; }
  .toc { flex-direction: column; border: 0; background: transparent; position: sticky; top: 24px; overflow: visible; }
  .toc > span { display: block; font-size: 12px; font-weight: 800; letter-spacing: .14em; padding-bottom: 10px; border-bottom: var(--bw) solid var(--ink); margin-bottom: 4px; }
  .toc a { min-height: 40px; padding: 0 12px 0 0; }
  .toc a + a { border-inline-start: 0; }
  .toc a[aria-current="true"] { background: transparent; box-shadow: inset -3px 0 0 var(--ink); }
  .aprods { position: sticky; top: 24px; }
}
