@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@300;400;600;700&display=swap');
/* Styles of the lectures page blocks (src/puck/lectures-config.tsx; /lectures renders them).
   Copied from components/pages-v2.css (the .pg2 / .lc2-* / form rules; the media-page rules stay
   there) so the editor canvas iframe gets them too: linked from inside each block. No next/font
   var (undefined in the canvas would invalidate the whole font stack) - literal family instead.
   Every block root carries .pg2. navy #15303E, cream #F7F2EE, terracotta #B76A50, teal #0F5568,
   gold #C9954F. */
.pg2 {
  --navy: #15303e;
  --glow: #25495c;
  --teal: #0f5568;
  --cream: #f7f2ee;
  --terra: #b76a50;
  --gold: #c9954f;
  --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;
}
.pg2 *, .pg2 *::before, .pg2 *::after { box-sizing: border-box; }
.pg2 h1, .pg2 h2, .pg2 h3, .pg2 p, .pg2 figure, .pg2 ul, .pg2 fieldset { margin: 0; }
.pg2 a { color: var(--navy); }
.pg2 :focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }

.pg2-line {
  display: inline-block; align-self: flex-start; padding-bottom: 18px;
  background: linear-gradient(var(--terra), var(--terra)) 100% 100% / 34% 3px no-repeat;
}
.pg2-h1 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.15; }
.pg2-h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.pg2-lead { font-size: var(--fs-h3); font-weight: 300; line-height: 1.3; }
.pg2-credit {
  position: absolute; left: 18px; bottom: 30px; z-index: 2;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 11px; letter-spacing: .04em; color: var(--cream); opacity: .75; pointer-events: none;
}

/* ── buttons ── */
.pg2-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: 0; border-radius: 30px;
  background: var(--terra); color: var(--cream); font: inherit; font-size: var(--fs-body); font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .3s;
}
.pg2 a.pg2-btn { color: var(--cream); }
.pg2-btn:hover { transform: translateY(-3px); }
.pg2-btn--ghost { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); transition: background .3s, color .3s; }
.pg2 a.pg2-btn--ghost, .pg2 button.pg2-btn--ghost { color: var(--navy); }
.pg2-btn--ghost:hover { transform: none; background: var(--navy); color: var(--cream) !important; }
.pg2-pill {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 24px;
  border: 1.5px solid var(--navy); border-radius: 30px; background: transparent; color: var(--navy);
  font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; transition: background .3s, color .3s;
}
.pg2-pill:hover { background: var(--navy); color: var(--cream); }
.pg2-textlink {
  display: inline-flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0;
  font: inherit; font-size: var(--fs-body); font-weight: 700; color: var(--terra); text-decoration: none; cursor: pointer;
}
.pg2 a.pg2-textlink { color: var(--terra); }

/* ── הרצאות · פתיח ── */
.lc2-hero { padding: 30px var(--gutter) 0; }
.lc2-hero-box {
  position: relative; overflow: hidden; background: var(--navy); color: var(--cream);
  display: flex; flex-wrap: wrap; align-items: stretch;
}
.lc2-hero-art { order: 2; position: relative; flex: 1 1 460px; min-height: min(80vh, 760px); }
.lc2-hero-art img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% 50%; filter: grayscale(1) brightness(.88);
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 38%), linear-gradient(to top, transparent 0, #000 18%, #000 85%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, transparent 0, #000 38%), linear-gradient(to top, transparent 0, #000 18%, #000 85%, transparent 100%);
  mask-composite: intersect;
}
.lc2-hero-text {
  position: relative; flex: 1 1 420px; display: flex; align-items: center;
  padding: clamp(72px, 7vw, 120px) clamp(24px, 5vw, 90px);
}
.lc2-hero-col { display: flex; flex-direction: column; align-items: flex-start; gap: 60px; max-width: 36em; }
.lc2-hero-intro { display: flex; flex-direction: column; gap: 30px; }
.lc2-hero-intro .pg2-lead { max-width: 22em; }
.lc2-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  font-weight: 700; color: var(--gold);
}
.lc2-tags span { flex: none; white-space: nowrap; }
.lc2-tags .sep { font-weight: 300; }
.lc2-topics {
  list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 60px;
}
.lc2-topics li { display: flex; gap: 14px; align-items: flex-start; }
.lc2-topics li::before { content: ''; width: .45em; height: .45em; background: var(--terra); flex: none; margin-top: .55em; }

/* ── bio row (הרצאות) ── */
.pg2-split {
  padding: clamp(72px, 7vw, 120px) var(--gutter);
  display: flex; flex-wrap: wrap; gap: 30px 90px; align-items: flex-start;
}
.pg2-split > h2 { flex: 0 1 auto; }
.pg2-split-body { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; flex: 2 1 min(100%, 480px); max-width: 40em; }

/* ── forms (lecture booking / interview) ── */
.pg2-form-sec { padding: 0 var(--gutter) 120px; scroll-margin-top: 100px; }
.pg2-form-grid {
  border-top: 2px solid var(--navy); padding-top: 90px;
  display: flex; flex-wrap: wrap; gap: 60px 90px; align-items: flex-start;
}
.pg2-form-sec--plain { padding-top: 90px; }
.pg2-form-sec--plain .pg2-form-grid { border-top: 0; padding-top: 0; }
.pg2-form-side { flex: 1 1 260px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; position: sticky; top: 130px; }
.pg2-form-main { flex: 2 1 min(100%, 480px); min-width: 0; }
.pg2-form { display: flex; flex-direction: column; }
.pg2-fs { border: 0; padding: 60px 0; display: flex; flex-direction: column; gap: 30px; min-width: 0; }
.pg2-fs:first-child { padding-top: 0; }
.pg2-fs + .pg2-fs { border-top: 2px solid var(--navy); }
.pg2-fs > legend { float: right; width: 100%; padding: 0 0 30px; font-size: var(--fs-h3); font-weight: 700; line-height: 1.3; }
.pg2-fs--dark {
  margin: 0 0 60px; padding: 60px; color: var(--cream);
  background: radial-gradient(ellipse 70% 90% at 25% 40%, var(--glow) 0%, rgba(37, 73, 92, .5) 40%, rgba(21, 48, 62, 0) 75%), var(--navy);
}
.pg2-fs + .pg2-fs--dark { border-top: 0; }
.pg2-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 30px; }
.pg2-field { display: flex; flex-direction: column; gap: 10px; font-size: 17px; font-weight: 700; }
.pg2-req { color: var(--terra); }
.pg2-fs--dark .pg2-req { color: var(--gold); }
.pg2-hint { font-weight: 400; font-size: 14px; color: var(--teal); }
.pg2-fs--dark .pg2-hint { color: inherit; }
.pg2-input {
  min-height: 52px; padding: 0 18px; border: 1.5px solid rgba(21, 48, 62, .4); border-radius: 10px;
  background: transparent; font: inherit; font-size: 17px; font-weight: 400; color: var(--navy); outline: none;
}
.pg2-input:focus { border-color: var(--terra); }
.pg2-input[dir='ltr'] { text-align: right; }
textarea.pg2-input { padding: 14px 18px; line-height: 1.5; resize: vertical; }
.pg2-input--narrow { max-width: 240px; }
.pg2-input--date { align-self: flex-start; }
.pg2-fs--dark .pg2-input { border-color: rgba(247, 242, 238, .5); color: var(--cream); }
.pg2-fs--dark .pg2-input:focus { border-color: var(--gold); }
.pg2-fs--dark .pg2-input::placeholder { color: rgba(247, 242, 238, .6); }
.pg2-group { display: flex; flex-direction: column; gap: 12px; }
.pg2-group-label { font-size: 17px; font-weight: 700; }
.pg2-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.pg2-chip {
  min-height: 44px; padding: 0 18px; border: 1.5px solid var(--navy); border-radius: 10px;
  background: transparent; color: var(--navy); font: inherit; font-size: 17px; cursor: pointer; transition: background .2s;
}
.pg2-chip[aria-pressed='true'] { background: var(--navy); color: var(--cream); }
.pg2-fs--dark .pg2-chip { border-color: var(--cream); color: var(--cream); }
.pg2-fs--dark .pg2-chip[aria-pressed='true'] { background: var(--cream); color: var(--navy); }
.pg2-guest { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.pg2-submit { align-self: flex-start; }
.pg2-submit:disabled { opacity: .6; cursor: default; transform: none; }
.pg2-error { color: #a33; font-size: 17px; margin-top: 18px; }
.pg2-sent {
  padding: 60px; color: var(--cream); display: flex; flex-direction: column; gap: 18px;
  background: radial-gradient(ellipse 70% 90% at 25% 40%, var(--glow) 0%, rgba(37, 73, 92, .5) 40%, rgba(21, 48, 62, 0) 75%), var(--navy);
}
.pg2-sent::before { content: ''; width: 60px; height: 3px; border-radius: 2px; background: var(--terra); }


@media (max-width: 600px) {
  .lc2-topics { gap: 14px 24px; }
  .pg2-form-side { position: static; }
  .pg2-fs--dark, .pg2-sent { padding: 30px 20px; }
}

/* rich body of the bio block (paragraphs added in the editor) */
.lc2-rich p + p { margin-top: 18px; }
