@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;600;700&display=swap');
/* Styles of the ספרים page blocks (src/puck/books-config.tsx; /books renders them).
   Linked from inside each block so the editor canvas iframe gets it too. No next/font var
   (undefined in the canvas would invalidate the whole font stack). Moved from
   src/app/(frontend)/books/books-v2.css. */
/* ספרים (/books) — the books screen of artifact 58985a5f, translated 1:1 from its inline
   styles into classes, scoped under .bk2 (px/clamp; marketing.css makes rem follow the
   viewport). navy #15303E, cream #F7F2EE, terracotta #B76A50, teal #0F5568. */
.bk2 {
  --navy: #15303e;
  --glow: #25495c;
  --teal: #0f5568;
  --cream: #f7f2ee;
  --terra: #b76a50;
  --gutter: clamp(20px, 5vw, 72px);
  --fs-h2: clamp(28px, 3vw, 52px);
  --fs-h3: clamp(22px, 2.08vw, 36px);
  --fs-body: clamp(17px, 1.16vw, 20px);

  background: var(--cream);
  color: var(--navy);
  font-family: 'Noto Sans Hebrew', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
.bk2 *, .bk2 *::before, .bk2 *::after { box-sizing: border-box; }
.bk2 h1, .bk2 h2, .bk2 p, .bk2 figure, .bk2 blockquote, .bk2 ul { margin: 0; }
.bk2 a { color: var(--navy); }
.bk2 :focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.bk2 img { display: block; width: 100%; height: 100%; object-fit: cover; }

.bk2-line {
  display: inline-block; align-self: flex-start; padding-bottom: 18px;
  background: linear-gradient(var(--terra), var(--terra)) 100% 100% / 34% 3px no-repeat;
}
.bk2-h1, .bk2-h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.15; }

/* ── פתיח ── */
.bk2-hero {
  padding: clamp(72px, 7vw, 120px) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 90px; align-items: center;
}
.bk2-hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; }
.bk2-hero-quote { display: flex; flex-direction: column; gap: 30px; }
.bk2-hero-quote blockquote { font-size: var(--fs-h3); font-weight: 300; line-height: 1.3; }
.bk2-hero-quote figcaption { font-size: var(--fs-body); font-weight: 600; color: var(--teal); }
.bk2-hero-art { width: 100%; overflow: hidden; }
.bk2-hero-art img {
  max-width: 1680px; margin: 0 auto; aspect-ratio: 16 / 9; height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 55%, #000 55%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 80% at 50% 55%, #000 55%, transparent 100%);
}

/* ── ספר ── */
.bk2-wrap { padding: 0 var(--gutter); }
.bk2-book {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(30px, 6vw, 120px); padding: 90px 0; border-top: 2px solid var(--navy);
}
.bk2-book--plain { border-top: 0; }
.bk2-book-side { display: flex; flex-direction: column; gap: 30px; }
.bk2-cover { width: 100%; max-width: 360px; aspect-ratio: 2 / 3; overflow: hidden; }
.bk2-cover--crambel { aspect-ratio: 1897 / 2594; }

.bk2-trans { display: flex; flex-direction: column; gap: 12px; }
.bk2-trans-k { font-size: 14px; font-weight: 700; color: var(--teal); }
.bk2-trans-list { display: flex; gap: 30px; flex-wrap: wrap; }
.bk2-trans-item { display: flex; flex-direction: column; gap: 8px; width: 110px; text-decoration: none; color: var(--navy); }
.bk2-trans-cover { display: block; width: 110px; aspect-ratio: 2 / 3; overflow: hidden; }
.bk2-trans-title { font-size: 14px; font-weight: 600; }
.bk2-trans-lang { font-size: 14px; color: var(--teal); }

.bk2-ar { display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--navy); }
.bk2-ar-cover { display: block; width: 90px; aspect-ratio: 3 / 4; overflow: hidden; flex: none; }
.bk2-ar-label { font-size: 14px; font-weight: 700; color: var(--terra); }

.bk2-book-text { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; max-width: 40em; }
.bk2-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.bk2-chip { padding: 3px 12px; border: 1px solid var(--navy); border-radius: 10px; font-size: 14px; font-weight: 700; }
.bk2-chip--solid { background: var(--navy); color: var(--cream); }
.bk2-titles { display: flex; flex-direction: column; gap: 12px; }
.bk2-sub { margin-top: 12px !important; font-size: var(--fs-h3); font-weight: 300; line-height: 1.3; }
.bk2-body { font-size: var(--fs-body); line-height: 1.5; }
.bk2-credits { font-size: 14px; line-height: 1.5; color: var(--teal); }
.bk2-quote {
  padding: 30px 0; border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy);
  display: flex; flex-direction: column; gap: 18px; align-self: stretch;
}
.bk2-quote blockquote { font-size: var(--fs-body); line-height: 1.5; }
.bk2-quote figcaption { font-size: 14px; font-weight: 600; color: var(--teal); }
.bk2-formats { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bk2-formats-k { font-size: 14px; font-weight: 700; color: var(--teal); }
.bk2-fchip { padding: 3px 12px; border: 1px solid var(--navy); border-radius: 10px; font-size: 14px; }

.bk2-btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 30px;
  min-width: min(260px, 100%); min-height: 64px; padding: 0 30px; border-radius: 30px;
  background: var(--terra); color: var(--cream) !important; font-size: var(--fs-body); font-weight: 700; text-decoration: none;
  transition: transform 0.3s;
}
.bk2-btn:hover { transform: translateY(-3px); }

/* ── שורת מעבר ── */
.bk2-band {
  background: radial-gradient(ellipse 70% 90% at 25% 40%, var(--glow) 0%, rgba(37, 73, 92, 0.5) 40%, rgba(21, 48, 62, 0) 75%), var(--navy);
  color: var(--cream);
}
.bk2-band-inner { padding: clamp(72px, 7vw, 120px) var(--gutter); }
.bk2-band p { max-width: 20em; font-size: var(--fs-h2); font-weight: 300; line-height: 1.15; }
.bk2-band strong { font-weight: 700; }

/* ── פרסומים מקצועיים ── */
.bk2-pubs { padding: 90px 0 120px; border-top: 2px solid var(--navy); }
.bk2-pubs-h { margin: 0 0 60px !important; font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.bk2-pubs ul { list-style: none; padding: 0; display: flex; flex-direction: column; }
.bk2-pubs li {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid rgba(21, 48, 62, 0.25);
}
.bk2-dot { width: 0.45em; height: 0.45em; border-radius: 50%; background: var(--terra); align-self: start; margin-top: 0.6em; }
.bk2-pub-text { display: flex; flex-direction: column; gap: 6px; }
.bk2-pub-title { font-size: var(--fs-body); font-weight: 600; line-height: 1.5; text-align: right; }
.bk2-pub-source { font-size: 14px; line-height: 1.5; color: var(--teal); text-align: right; }
.bk2-pubs li a { font-size: 14px; font-weight: 700; color: var(--terra); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .bk2-btn { transition: none; } }

/* rich-text body (one field for several paragraphs): same 30px rhythm as the flex gap */
.bk2-rich p + p { margin-top: 30px; }
