/* עמוד מאמר במגזין */

/* פס התקדמות קריאה — רק בדפדפנים שתומכים בגלילה כציר זמן, בלי סקריפט */
.read-progress{display:none}
@supports (animation-timeline: scroll()){
  .read-progress{display:block;position:fixed;top:0;inset-inline:0;height:3px;z-index:101;background:var(--blue);transform-origin:100% 50%;transform:scaleX(0);animation:read-progress linear both;animation-timeline:scroll(root block);pointer-events:none}
  @keyframes read-progress{to{transform:scaleX(1)}}
}
@media (prefers-reduced-motion:reduce){.read-progress{display:none}}

/* כותרת קומפקטית */
.article-hero{padding:clamp(124px,16vh,168px) 0 clamp(48px,7vh,72px)}
.article-hero h1{font-size:clamp(2rem,4.2vw,3.5rem);max-width:24ch;line-height:1.12;letter-spacing:-.03em}
.article-meta{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 0;font-size:15px;color:rgba(255,255,255,.6)}
.article-hero .lead{max-width:62ch;margin-top:16px}

/* גוף המאמר + תיבת צד */
.article-body{padding:clamp(56px,8vh,96px) 0 clamp(72px,10vh,120px)}
.article-grid{display:grid;grid-template-columns:minmax(0,70ch) minmax(240px,300px);justify-content:space-between;gap:clamp(40px,6vw,96px);align-items:start}
.article-body .prose{min-width:0}
.article-body .prose > :first-child{margin-top:0}
.prose h2{scroll-margin-top:110px}
.prose h3{line-height:1.3}
.prose .callout{border-inline-start:4px solid var(--blue)}
.prose .callout > :last-child{margin-bottom:0}
.prose .callout strong:first-child{display:block;margin-bottom:.3em}
.prose .table-wrap{overflow-x:auto;margin:1.4em 0;-webkit-overflow-scrolling:touch}
.prose .table-wrap table{margin:0;min-width:520px}
.prose td.num,.prose th.num{text-align:left;white-space:nowrap}
.prose tfoot td,.prose tfoot th{font-weight:700;color:var(--ink);border-bottom:0}
.prose .table-note{font-size:.85em;color:var(--ink-soft);margin-top:-.4em}
.prose ol.checklist{list-style:none;padding:0;counter-reset:c}
.prose ol.checklist li{counter-increment:c;position:relative;padding-inline-start:2.2em}
.prose ol.checklist li::before{content:counter(c);position:absolute;inset-inline-start:0;top:.15em;width:1.6em;height:1.6em;border-radius:50%;background:var(--blue-soft);color:var(--blue-deep);font-size:.8em;font-weight:700;display:grid;place-items:center;line-height:1}

.article-aside{position:sticky;top:110px}
.aside-card{padding:26px;border-radius:var(--r-card);background:var(--canvas);display:grid;gap:14px}
.aside-kicker{margin:0;font-size:13px;font-weight:700;color:var(--blue-deep)}
.aside-title{margin:0;font-size:1.15rem;font-weight:700;line-height:1.35;color:var(--ink)}
.aside-facts{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:15px;color:var(--ink-soft)}
.aside-facts li{position:relative;padding-inline-start:18px}
.aside-facts li::before{content:"";position:absolute;inset-inline-start:0;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--blue)}
.aside-card .btn{justify-self:start;margin-top:4px}

/* עוד במגזין */
.more-head{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px;margin-bottom:32px}
.more-head h2{font-size:clamp(1.8rem,3vw,2.6rem)}

@media (max-width:1000px){
  .article-grid{grid-template-columns:minmax(0,1fr)}
  .article-body .prose{max-width:70ch}
  .article-aside{position:static;max-width:70ch}
}
@media (max-width:520px){
  .article-hero{padding-top:112px}
  .prose .callout{padding:18px}
}
