/* home-talks.css — „הרצאות ומופעים" (#lectures) after the approved changes (30.11.2026). Loaded after home-lectures.css.
   1. the show banner: the light button becomes a text link; on phones the three photos beside it are hidden
   2. the two enrichment talks: two horizontal strips under the banner (replace the old list + collage + booking line);
      each opens in place (home-talks.js); the booking details only inside the open state
   3. the "הרצאה" / "Talk" tag above each talk's name
   Tokens from home-lectures.css (.hl): --hot, --cream, --r; from b.css: --ease. */

/* ── the show banner (approved): the light button becomes a text link; phones: no photos beside it ── */
.hl .hl-cta{min-height:0;padding:6px 0;gap:14px;background:none;border-radius:0;color:var(--cream);font-size:clamp(17px,1.25vw,20px);font-weight:700}
.hl .hl-cta i{color:var(--hot);font-size:1.1em;line-height:1}
.hl .hl-cta:hover,.hl .hl-stage:hover .hl-cta{background:none;color:#fff}
@media (max-width:900px),(max-aspect-ratio:1/1){
 .hl .hl-cta{width:auto;justify-content:flex-start}
 .hl-moments{display:none}
}

/* ── the strips ── */
/* the card: the black-grey of the section, a step lighter, with a hairline — separated, not a different colour */
.hlt{--card:#17181b;--fg:var(--cream);--txt:#d4ccc0;--acc:var(--hot);--btn:rgba(248,237,223,.42);--line:rgba(244,239,231,.1);
  list-style:none;margin:clamp(24px,2.2vw,32px) 0 0;padding:0;display:grid;gap:clamp(16px,1.5vw,22px)}
.hlt-i{position:relative;overflow:hidden;border-radius:var(--r);background:var(--card);color:var(--fg);box-shadow:inset 0 0 0 1px rgba(244,239,231,.07)}
.hlt-head{position:relative;cursor:pointer}
/* the name in orange, the short description under it */
.hlt-t{margin:0;font-size:clamp(28px,2.4vw,38px);line-height:1.15;font-weight:700;letter-spacing:-.015em;color:var(--acc)}
.hlt-sum{margin:12px 0 0;max-width:46ch;font-size:clamp(16px,1.2vw,18.5px);line-height:1.6;color:var(--txt)}
.hlt-fig{margin:0;overflow:hidden}
.hlt-fig img{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--ox,50%) var(--oy,50%);transform:scale(var(--z,1));transform-origin:var(--ox,50%) var(--oy,50%);filter:saturate(.9) contrast(1.04) brightness(.92)}
/* the arrow: the same quiet circle in both states; only its direction changes */
.hlt-btn{flex:none;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;border:1.5px solid var(--btn);color:var(--fg);transition:background-color .25s,border-color .25s}
.hlt-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease)}
.hlt-i.is-open .hlt-btn svg{transform:rotate(180deg)}
@media (hover:hover) and (pointer:fine){.hlt-head:hover .hlt-btn{border-color:rgba(248,237,223,.8);background:rgba(248,237,223,.06)}}
.hlt-btn:focus-visible{outline:3px solid var(--acc);outline-offset:3px}

/* the open state: one column of text at a comfortable measure, the booking line under it */
.hlt-fold{display:grid;grid-template-rows:0fr;opacity:0}
.hlt-anim .hlt-fold{transition:grid-template-rows .45s var(--ease),opacity .35s}
.hlt-fold>div{overflow:hidden;min-height:0}
.hlt-i.is-open .hlt-fold{grid-template-rows:1fr;opacity:1}
.hlt-more{position:relative}
.hlt-full p{margin:0;font-size:clamp(16px,1.15vw,18px);line-height:1.75;color:var(--txt)}
.hlt-full p+p{margin-top:14px}
.hlt-book{display:flex;flex-wrap:wrap;align-items:center;gap:6px 0;margin-top:clamp(20px,1.8vw,26px);padding-top:clamp(14px,1.3vw,18px);border-top:1px solid var(--line)}
.hlt-book p{margin:0;margin-inline-end:28px;font-size:clamp(15px,1.05vw,17px);font-weight:700;color:var(--fg)}
.hlt-book ul{display:flex;flex-wrap:wrap;align-items:center;margin:0;padding:0;list-style:none}
.hlt-book li{display:flex;align-items:center}
.hlt-book li+li::before{content:'';width:1px;height:16px;margin:0 18px;background:rgba(248,237,223,.22)}
.hlt-book a{display:inline-flex;align-items:center;gap:9px;min-height:40px;font-size:clamp(15px,1.05vw,17px);font-weight:500;color:var(--fg);text-decoration:none;transition:color .25s}
.hlt-book a>i{font-size:17px;color:var(--acc)}
.hlt-book .b-val{direction:ltr;unicode-bidi:isolate}
@media (hover:hover) and (pointer:fine){.hlt-book a:hover{color:var(--acc)}}
.hlt-book a:focus-visible{outline:3px solid var(--acc);outline-offset:2px}

.hl:not(.hlt-ready) .hlt-fold{grid-template-rows:1fr;opacity:1}
.hl:not(.hlt-ready) .hlt-btn{display:none}

/* ── desktop (landscape, from 901px): one strip under the other ── */
@media (min-width:901px) and (min-aspect-ratio:1/1){
 .hlt-head{display:flex;align-items:center;min-height:clamp(236px,18.6vw,280px)}
 .hlt{--fig-w:46%}
 .hlt-fig{position:absolute;top:0;bottom:0;inset-inline-end:0;width:var(--fig-w);
   -webkit-mask-image:linear-gradient(to right,#000 52%,transparent 100%);mask-image:linear-gradient(to right,#000 52%,transparent 100%)}
 :lang(en) .hlt-fig{-webkit-mask-image:linear-gradient(to left,#000 52%,transparent 100%);mask-image:linear-gradient(to left,#000 52%,transparent 100%)}
 .hlt-txt{position:relative;z-index:1;flex:0 1 620px;padding:clamp(30px,2.8vw,42px) clamp(36px,3.9vw,56px);
   /* the words and the arrow always stay beside the photo, never on it (on 1440px and wider this limit is not reached) */
   max-width:calc(100% - var(--fig-w) - 68px)}
 .hlt-btn{position:relative;z-index:1;margin-inline-start:clamp(8px,1vw,16px)}
 /* open: the text continues straight under the name, on the same start line, in one column */
 .hlt-more{padding:clamp(24px,2.2vw,32px) clamp(36px,3.9vw,56px) clamp(26px,2.4vw,34px);border-top:1px solid var(--line)}
 /* the text and the booking line share one column: up to 76 characters of the body text, the line under it exactly as wide */
 .hlt-more{display:grid;grid-template-columns:minmax(0,76ch);font-size:clamp(16px,1.15vw,18px)}
}
@media (min-width:901px) and (max-width:1199px) and (min-aspect-ratio:1/1){.hlt{--fig-w:42%}}

/* ── phones & portrait: one unit under the other ── */
@media (max-width:900px),(max-aspect-ratio:1/1){
 .hlt{margin-top:18px;gap:18px}
 .hlt-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:14px;grid-template-areas:"fig fig" "lbl lbl" "t btn" "sum sum"}
 .hlt-fig{grid-area:fig;aspect-ratio:2.1/1;-webkit-mask-image:linear-gradient(to bottom,#000 58%,transparent 100%);mask-image:linear-gradient(to bottom,#000 58%,transparent 100%)}
 .hlt-txt{display:contents}
 .hlt-txt .hlt-tag{grid-area:lbl;margin-inline:20px}
 .hlt-t{grid-area:t;align-self:center;margin-inline-start:20px;font-size:27px}
 .hlt-sum{grid-area:sum;margin:8px 20px 24px;font-size:16.5px;line-height:1.6}
 .hlt-btn{grid-area:btn;align-self:center;margin-inline-end:20px;width:46px;height:46px}
 .hlt-btn svg{width:18px;height:18px}
 .hlt-more{padding:20px;border-top:1px solid var(--line)}
 .hlt-full p{font-size:16.5px;line-height:1.7}
 .hlt-book{display:block;margin-top:20px;padding-top:16px}
 .hlt-book p{margin:0 0 4px}
 .hlt-book ul{gap:2px 22px}
 .hlt-book li+li::before{display:none}
 .hlt-book a{min-height:44px;font-size:16px}
}
@media (prefers-reduced-motion:reduce){.hlt-fold,.hlt-btn,.hlt-btn svg{transition:none!important}}

/* ── the "הרצאה" / "Talk" tag above the name: a short amber line and the word, small, spaced, muted cream ── */
.hlt-tag{display:flex;align-items:center;gap:10px;margin:0 0 clamp(8px,.7vw,10px);font-size:clamp(13.5px,.98vw,14.5px);line-height:1.2;font-weight:500;letter-spacing:.1em;color:#b8b0a4}
.hlt-tag:lang(he){letter-spacing:.04em}
.hlt-tag::before{content:'';flex:none;width:22px;height:2px;background:var(--hot,#f0923a)}
@media (max-width:900px),(max-aspect-ratio:1/1){
 /* phones: the tag belongs to the text — 16px clear of the photo, close to the name */
 .hlt-txt>.hlt-tag{margin:16px 20px 6px;font-size:13.5px}
}
