/* ==========================================================================
   Guide: איך מייבשים פילמנט. מובייל קודם. מ-1024px: תוכן עניינים | מאמר | מוצרים.
   ========================================================================== */
.gd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--ink-2); }
.gd-crumbs a:hover { text-decoration: underline; }
.gd-crumbs span:last-child { color: var(--ink); }

/* ---------- פתיחה ---------- */
.gdh__gyroid { inset-inline-end: 0; top: 0; width: 46%; height: 100%; object-fit: cover; opacity: .18; }
.gdh__in { display: flex; flex-direction: column; }
.gdh__copy { display: flex; flex-direction: column; gap: 16px; padding-block: 20px 28px; position: relative; }
.gdh__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; }
.gdh__cat { padding: 2px 9px; background: var(--accent); box-shadow: inset 0 0 0 1px var(--ink); letter-spacing: .12em; font-weight: 800; }
.gdh__by { font-weight: 400; flex-basis: 100%; font-size: 13px; }
.gdh__sep { display: none; }
.gdh h1 { font-size: clamp(42px, 12.5vw, 84px); line-height: .98; letter-spacing: -.045em; }
.gdh__dek { font-size: 18px; line-height: 1.6; font-weight: 300; max-width: 640px; }
.gdh__stage { height: 300px; margin-inline: calc(var(--gutter) * -1); border-top: var(--bw) solid var(--ink); }
.gdh__strands { left: -14%; bottom: -10%; width: 130%; opacity: .35; }
.gdh__vase { position: absolute; left: 50%; bottom: 0; width: min(56%, 320px); height: auto; transform: translateX(-50%); }

/* ---------- תוכן עניינים ---------- */
.gd-toc { display: none; }
.gd-toc-bar { position: sticky; top: 0; z-index: var(--z-sticky); background: var(--surface); border-bottom: var(--bw) solid var(--ink); }
.gd-toc-bar a, .gd-toc a { display: flex; align-items: center; gap: 8px; }
.gd-toc-bar a { flex-shrink: 0; height: 52px; padding-inline: 16px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.gd-toc-bar a b, .gd-toc a b { font-size: 11px; font-weight: 800; color: var(--ink-2); }
.gd-toc-bar a[aria-current="true"] { font-weight: 800; box-shadow: inset 0 -3px 0 var(--ink); }

/* ---------- גוף המאמר ---------- */
.gdwrap { padding-block: 28px 48px; display: grid; gap: 32px; }
.gd-body { min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.8; }
.gd-body p { color: #2b2b2b; }
.gd-body p strong { color: var(--ink); }
.gd-lead { font-size: 19px !important; line-height: 1.65 !important; font-weight: 300; color: var(--ink) !important; }
.gd-body h2 { margin-top: 12px; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; scroll-margin-top: 72px; }
.gd-body h3 { font-size: inherit; letter-spacing: 0; line-height: inherit; font-weight: inherit; }

.gd-callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px; font-size: 15px; line-height: 1.65; }
.gd-callout--lime { background: var(--accent); border: 1px solid var(--ink); }
.gd-callout__sq { width: 12px; height: 12px; margin-top: 8px; background: var(--ink); flex-shrink: 0; }
.gd-callout--warn { background: #FBF2DF; color: #6B440B; }
.gd-callout--warn svg { flex-shrink: 0; margin-top: 3px; }

.gd-signs { border-top: var(--bw) solid var(--ink); }
.gd-signs li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.6; }
.gd-signs strong { width: 26px; flex-shrink: 0; font-size: 13px; padding-top: 3px; }

.gd-table { border: var(--bw) solid var(--ink); background: var(--surface); font-size: 13px; line-height: 1.45; }
.gd-table > div { display: grid; grid-template-columns: 1fr 1fr .9fr 1.1fr; border-top: 1px solid var(--line); }
.gd-table > div > * { padding: 10px 8px; min-width: 0; overflow-wrap: anywhere; }
.gd-table > div > * + * { border-inline-start: 1px solid var(--line); }
.gd-table__head { background: var(--ink); color: #fff; border-top: 0 !important; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.gd-table__head > * + * { border-inline-start-color: #333 !important; }
.gd-table strong { text-align: start; }
.gd-table .is-mid { background: #F4FBD8; }
.gd-table .is-high { background: #FBF2DF; }
.gd-todo { font-size: 14px !important; color: var(--ink-2) !important; margin-top: -8px; }

.gd-tools { border-top: var(--bw) solid var(--ink); }
.gd-tool { display: grid; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.gd-tool__h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.gd-tool__h strong { font-size: 18px; }
.gd-tool__d { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.gd-pill { font-size: 12px; font-weight: 800; letter-spacing: .1em; padding: 2px 9px; background: var(--stage); color: var(--ink); }
.gd-pill--rec { background: var(--ink); color: var(--accent); }
.gd-pill--no { background: #FBF2DF; color: #6B440B; }

.gd-quote { margin: 8px 0; padding: 22px 20px; background: var(--accent); border: 1px solid var(--ink); font-size: 22px; line-height: 1.4; font-weight: 300; letter-spacing: -.015em; }

.gd-faq { border-top: var(--bw) solid var(--ink); }
.gd-faq details { border-bottom: var(--bw) solid var(--ink); }
.gd-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding-block: 10px; }
.gd-faq summary h3 { font-size: 18px; line-height: 1.4; font-weight: 700; }
.gd-faq__i { width: 34px; height: 34px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.gd-faq__i::before { content: "+"; font-size: 22px; line-height: 1; }
.gd-faq details[open] .gd-faq__i { background: var(--accent); }
.gd-faq details[open] .gd-faq__i::before { content: "−"; }
.gd-faq details p { padding: 0 0 20px; font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 600px; }

/* ---------- מוצרים ---------- */
.gd-aside { display: flex; flex-direction: column; border: var(--bw) solid var(--ink); background: var(--surface); align-self: start; }
.gd-aside__h { padding: 14px 16px; border-bottom: var(--bw) solid var(--ink); font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--track-eyebrow); }
.gd-prod { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: var(--bw) solid var(--ink); }
.gd-prod__img { position: relative; display: block; height: 96px; background: var(--stage); }
.gd-prod__img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.gd-prod__t { display: flex; flex-direction: column; gap: 10px; }
.gd-prod__t > span { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; font-size: 16px; }
.gd-prod .btn { min-height: 44px; font-size: 14px; }
.gd-prod .btn.is-done { background: var(--accent); color: var(--ink); }
.gd-aside__all { padding: 16px; font-size: 15px; font-weight: 800; background: var(--accent); }
.gd-aside__all:hover { background: var(--ink); color: #fff; }

/* ---------- קריאה נוספת ---------- */
.gd-more__in { padding-block: 40px 48px; }
.gd-more h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.gd-more__grid { display: grid; border-top: var(--bw) solid var(--ink); border-inline-start: var(--bw) solid var(--ink); }
.gd-rel { display: grid; grid-template-columns: 112px 1fr; background: var(--surface); border-inline-end: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.gd-rel__img { position: relative; overflow: hidden; background: var(--stage); min-height: 132px; }
.gd-rel__img img { position: absolute; left: 50%; bottom: 0; width: 70%; transform: translateX(-50%); transition: transform .6s var(--ease); }
.gd-rel:hover .gd-rel__img img { transform: translateX(-50%) scale(1.05); }
.gd-rel__t { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-inline-start: var(--bw) solid var(--ink); }
.gd-rel__c { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--ink-2); }
.gd-rel__t strong { font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -.015em; }
.gd-rel__t > span:last-child { font-size: 14px; line-height: 22px; color: var(--ink-2); }

@media (min-width: 768px) {
  .gdh__copy { padding-block: 28px 56px; gap: 22px; }
  .gdh__meta { font-size: 13px; }
  .gdh__by { flex-basis: auto; }
  .gdh__sep { display: inline; }
  .gdh__dek { font-size: 22px; line-height: 1.55; }
  .gdh__stage { height: 380px; }
  .gd-body { font-size: 18px; gap: 26px; }
  .gd-lead { font-size: 23px !important; line-height: 1.65 !important; }
  .gd-body h2 { font-size: 36px; margin-top: 16px; }
  .gd-callout { padding: 22px 26px; gap: 18px; font-size: 17px; }
  .gd-table { font-size: 16px; }
    .gd-table > div > * { padding: 12px 16px; }
  .gd-tool { grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; align-items: start; }
  .gd-tool__h { flex-direction: column; align-items: flex-start; gap: 6px; }
  .gd-tool__d { font-size: 17px; line-height: 1.65; }
  .gd-quote { padding: 28px 32px; font-size: 28px; line-height: 1.35; }
  .gd-faq summary { min-height: 68px; }
  .gd-faq summary h3 { font-size: 19px; }
  .gd-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-rel { grid-template-columns: 1fr; }
  .gd-rel__img { height: 240px; min-height: 0; }
  .gd-rel__img img { width: 46%; }
  .gd-rel__t { border-inline-start: 0; border-top: var(--bw) solid var(--ink); padding: 18px 22px 24px; gap: 6px; }
  .gd-rel__t strong { font-size: 22px; line-height: 28px; }
  .gd-rel__t > span:last-child { font-size: 15px; line-height: 24px; }
  .gd-more__in { padding-block: 56px 72px; }
}

@media (min-width: 1024px) {
  .gdh__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: end; padding-top: 28px; }
  .gdh__copy { grid-column: span 7; padding-bottom: 64px; }
  .gdh h1 { font-size: 84px; line-height: .98; }
  .gdh__stage { grid-column: span 5; align-self: stretch; height: auto; min-height: 520px; margin-inline: 0; border: 0; border-inline: var(--bw) solid var(--ink); }
  .gdh__strands { left: -10%; bottom: -8%; width: 120%; }
  .gdh__vase { width: 66%; }

  .gd-toc-bar { display: none; }
  .gdwrap { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; padding-block: 56px 72px; align-items: start; }
  .gd-toc { display: block; grid-column: span 3; position: sticky; top: 24px; border-top: var(--bw) solid var(--ink); }
  .gd-toc > span { display: block; padding: 14px 0; font-size: var(--fs-xs); font-weight: 800; letter-spacing: var(--track-eyebrow); }
  .gd-toc a { gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 22px; font-weight: 500; }
  .gd-toc a b { width: 22px; font-size: 12px; }
  .gd-toc a[aria-current="true"] { font-weight: 800; box-shadow: inset -3px 0 0 var(--ink); }
  .gd-body { grid-column: span 6; }
  .gd-body h2 { scroll-margin-top: 24px; }
  .gd-aside { grid-column: span 3; position: sticky; top: 24px; }
  .gd-prod { grid-template-columns: 1fr; padding: 0; gap: 0; align-items: stretch; }
  .gd-prod__img { height: 190px; }
  .gd-prod__t { padding: 14px 18px; }
  .gd-prod__t > span { font-size: 17px; }
  .gd-prod__t strong:first-child { font-size: 18px; }
  .gd-prod .btn { min-height: 46px; font-size: 15px; }
  .gd-aside__h { padding: 14px 18px; }
  .gd-aside__all { padding: 16px 18px; }
}
