@font-face{font-family:"Graphik HLAR";font-style:normal;font-weight:400 600;font-display:swap;src:url(assets/fonts/graphikhlar-regular.woff2) format("woff2")}
@font-face{font-family:"Graphik HLAR";font-style:normal;font-weight:700 800;font-display:swap;src:url(assets/fonts/graphikhlar-semibold.woff2) format("woff2")}

/* נדלניישן #5 — בסיס משותף לשתי האופציות */
:root{
  --orange:#FF4809;   /* הכתום של יד2 */
  --plum:#470435;     /* סגול־חציל כהה */
  --powder:#FFEFEB;   /* רקע פודרה */
  --white:#fff;
  --lilac:#DDB0EA;
  --ink-soft:rgba(71,4,53,.72);
}
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:"Graphik HLAR",Arial,sans-serif;
  background:var(--powder);color:var(--plum);
  direction:rtl;line-height:1.35;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%}
a{color:inherit}
.cond{font-stretch:75%}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:focus-visible{outline:3px solid var(--plum);outline-offset:3px;border-radius:6px}

/* ---------- טופס ליד (על רקע כתום) ---------- */
.lead{display:flex;flex-direction:column;gap:12px;width:100%}
.lead h2{
  font-stretch:75%;font-weight:800;color:var(--white);
  font-size:clamp(28px,2.3vw,36px);line-height:1.08;text-align:center;text-wrap:balance;
}
.lead .req-note{font-size:13px;font-weight:600;text-align:center;color:var(--plum);margin-top:-4px}

.field{position:relative}
.field input{
  width:100%;height:52px;border-radius:999px;border:2px solid transparent;
  background:var(--white);color:var(--plum);
  font:600 17px/1 "Graphik HLAR",Arial,sans-serif;
  padding:16px 24px 0;text-align:right;
  transition:border-color .15s, box-shadow .15s;
}
.field input:focus{outline:none;border-color:var(--plum);box-shadow:0 0 0 4px rgba(71,4,53,.18)}
.field label{
  position:absolute;inset-inline-start:24px;top:50%;transform:translateY(-50%);
  font-size:17px;font-weight:600;color:var(--ink-soft);pointer-events:none;
  transition:top .15s, font-size .15s, transform .15s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label{top:13px;font-size:11.5px;transform:none}
.field.bad input{border-color:var(--plum)}
.err{
  display:none;font-size:12.5px;font-weight:700;color:var(--plum);
  padding:4px 24px 0;
}
.bad > .err, .bad + .err{display:block}

.check{
  display:grid;grid-template-columns:20px 1fr;gap:10px;align-items:start;
  font-size:11px;line-height:1.45;color:var(--plum);font-weight:600;cursor:pointer;
}
.check input{position:absolute;opacity:0;width:22px;height:22px;margin:0;cursor:pointer}
.check .box{
  width:20px;height:20px;border-radius:6px;background:var(--white);
  border:2px solid var(--white);display:grid;place-items:center;margin-top:1px;
  transition:background .15s,border-color .15s;
}
.check .box::after{
  content:"";width:11px;height:6px;border:solid var(--white);border-width:0 0 3px 3px;
  transform:rotate(-45deg) translate(1px,-1px);opacity:0;
}
.check input:checked + .box{background:var(--plum);border-color:var(--plum)}
.check input:checked + .box::after{opacity:1}
.check input:focus-visible + .box{outline:3px solid var(--plum);outline-offset:2px}
.check.bad .box{border-color:var(--plum);box-shadow:0 0 0 3px rgba(71,4,53,.25)}
.lead .disclaimer{font-size:11px;line-height:1.45;font-weight:600;color:#fff;text-align:center;margin:clamp(64px,14vh,130px) 0 0}
.check a{font-weight:inherit;text-underline-offset:2px}

.lead button.submit{
  height:56px;border:0;border-radius:999px;cursor:pointer;margin-top:4px;
  background:var(--plum);color:var(--white);
  font:800 22px/1 "Graphik HLAR",Arial,sans-serif;font-stretch:75%;letter-spacing:.01em;
  transition:transform .15s, box-shadow .15s, background .15s;
  box-shadow:0 6px 0 rgba(71,4,53,.28);
}
.lead button.submit:hover{transform:translateY(-2px);box-shadow:0 8px 0 rgba(71,4,53,.28)}
.lead button.submit:active{transform:translateY(3px);box-shadow:0 2px 0 rgba(71,4,53,.28)}

.thanks{display:none;text-align:center;color:var(--white);padding:32px 0}
.thanks h2{font-stretch:75%;font-weight:800;font-size:38px;line-height:1.1}
.thanks p{color:var(--plum);font-weight:700;font-size:17px;margin-top:10px}
.sent .lead{display:none}
.sent .thanks{display:block}

/* ---------- לוגואים רצים ---------- */
.logos{background:var(--white);overflow:hidden;direction:ltr}
.logos .track{display:flex;width:max-content;animation:run 55s linear infinite}
.logos:hover .track{animation-play-state:paused}
.logos .set{display:flex;align-items:center}
.logos .set img{height:calc(32px * var(--s,1));width:auto;margin:0 26px;object-fit:contain}
.logos .set i{width:1px;height:24px;background:rgba(71,4,53,.18)}
@keyframes run{to{transform:translateX(-50%)}}

/* ---------- כפתור צף למובייל ---------- */
.sticky-cta{
  display:none;position:fixed;inset-inline:12px;bottom:12px;z-index:50;
  height:54px;border-radius:999px;background:var(--orange);color:var(--white);
  font:800 20px/54px "Graphik HLAR",Arial,sans-serif;font-stretch:75%;text-align:center;text-decoration:none;
  box-shadow:0 10px 24px rgba(71,4,53,.3);
  transition:transform .25s, opacity .25s;
}
.sticky-cta.hide{transform:translateY(90px);opacity:0;pointer-events:none}
@media (max-width:900px){.sticky-cta{display:block}}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  html{scroll-behavior:auto}
}



/* ===== אופציה א' — לפי ההיררכיה בבריף ===== */
.page{display:grid;grid-template-columns:minmax(0,1fr) clamp(380px,29vw,460px);min-height:100vh}

/* --- חלק ימני --- */
.content{display:flex;flex-direction:column;min-width:0}
.hero{flex:1;display:flex;flex-direction:column;justify-content:center;gap:clamp(14px,2.2vh,26px);
  padding:clamp(20px,3.4vh,40px) clamp(24px,4vw,64px) clamp(16px,2.6vh,30px)}
.top{display:flex;align-items:center;justify-content:center}
.wordmark{height:clamp(98px,15.5vh,162px);width:auto}
.headline{text-align:center}
h1{font-stretch:75%;font-weight:800;font-size:clamp(28px,3.1vw,54px);line-height:1.12;letter-spacing:-.005em;text-wrap:balance}
h1 .l1,h1 .l2{display:block}
@media (min-width:901px){h1 .l1,h1 .l2{white-space:nowrap}}
/* "מגיע עד אליכם": מודגש בכתום, גדול יותר, עם קו מכחול שנמתח פנימה */
h1 .hl{position:relative;display:inline-block;white-space:nowrap;color:var(--orange);
  animation:hl-pop .6s ease-in-out 1.5s 2}
h1 .hl::after{display:none;content:"";position:absolute;z-index:-1;inset-inline:-.04em;bottom:.04em;height:.22em;border-radius:.3em;
  background:var(--orange);transform-origin:right center;transform:scaleX(0) skewX(-12deg);animation:hl-line .8s cubic-bezier(.6,0,.2,1) .75s forwards}
h1 .hl{isolation:isolate}
@keyframes hl-pop{0%{transform:scale(1)}45%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes hl-line{to{transform:scaleX(1) skewX(-12deg)}}
@media (prefers-reduced-motion:reduce){h1 .hl{animation:none}h1 .hl::after{animation:none;transform:skewX(-12deg)}}

.sub{font-stretch:75%;font-weight:800;color:var(--orange);font-size:clamp(30px,3.3vw,52px);line-height:1.05;margin-top:10px}

.intro{display:flex;flex-direction:column;gap:clamp(14px,2.2vh,26px)}
.fairs{position:relative;z-index:1}

/* --- 3 הדמיות בשורה --- */
/* הכרטיס הראשון רחב יותר כדי ששם היריד הארוך ייכנס בשורה אחת, וכל העיגולים יישבו באותו גובה */
.fairs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,1.1vw,18px)}
.fair{position:relative;overflow:hidden;border-radius:20px;height:clamp(230px,20vw,44vh);width:100%;
  background:var(--bg,var(--plum));color:var(--white);cursor:pointer;isolation:isolate}
.fair > img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:var(--pos,50% 50%);
  transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.fair::after{content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(to top,rgba(40,2,30,.82) 0%,rgba(40,2,30,.25) 42%,rgba(40,2,30,0) 60%);transition:background .3s}
.fair .name{position:absolute;inset:auto 0 0 0;z-index:2;padding:16px;transition:opacity .25s, transform .25s}
/* תג תאריך עגול, בהשראת מצגת נדלניישן #5 */
/* תאריך: שורת טקסט עם פס כתום, בלי תג עגול */
.fair .date{display:flex;align-items:baseline;gap:6px;margin-bottom:2px;padding-inline-start:10px;border-inline-start:4px solid var(--orange);line-height:1}
.fair .date b{font-stretch:75%;font-weight:800;font-size:clamp(26px,2.1vw,32px);color:var(--white)}
.fair .date small{font-weight:700;font-size:14px;color:var(--white)}
.fair h3{font-stretch:75%;font-weight:800;font-size:clamp(20px,1.75vw,28px);line-height:1.05;text-wrap:balance}
.fair .name h3{display:block}
.fair .info{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:center;gap:10px;
  padding:18px;opacity:0;transform:translateY(10px);transition:opacity .25s, transform .25s}
.fair .info ul{list-style:none;padding:0;display:grid;gap:8px;font-size:clamp(13px,1.05vw,15.5px);font-weight:600;line-height:1.3}
.fair .info li{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start}
.fair .info svg{width:18px;height:18px;margin-top:1px;stroke:var(--orange);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fair .info b{font-weight:800;margin-inline-end:6px}
.fair .info li:first-child b{display:block;margin:0}
.fair:hover::after,.fair:focus-within::after,.fair.open::after{background:rgba(71,4,53,.9)}
.fair:hover > img,.fair:focus-within > img,.fair.open > img{transform:scale(1.05)}
.fair:hover .name,.fair:focus-within .name,.fair.open .name{opacity:0;transform:translateY(8px)}
.fair:hover .info,.fair:focus-within .info,.fair.open .info{opacity:1;transform:none}
.sim-note{font-size:11.5px;font-weight:600;opacity:.6;margin-top:-6px}

.logos{padding:clamp(8px,1.3vh,12px) 0}

/* --- טופס ליד (משמאל) --- */
.panel{background:var(--orange);position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:flex-start;
  padding:clamp(12px,2.2vh,24px) clamp(22px,2.2vw,36px);overflow:auto}
.form-wrap{display:flex;flex-direction:column;justify-content:center}
/* ראש הטופס: מאיה גדולה, ולצידה לוגו יד2 וכותרת ההרשמה */
.ph-logo{display:flex;justify-content:center;margin:0 0 clamp(6px,1.4vh,14px)}
.panel-head{position:relative;display:flex;align-items:center;justify-content:center;gap:12px;
  margin:0 0 14px;padding:4px 0 14px;border-bottom:3px solid var(--white)}
.ph-text{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;position:relative;z-index:1}
.yad2{height:clamp(34px,4.6vh,46px);width:auto;filter:brightness(0) invert(1)}
.ph-title{font-stretch:75%;font-weight:800;color:var(--white);font-size:clamp(23px,1.8vw,29px);line-height:1.08}
.maya{position:absolute;inset-inline-end:0;bottom:0;height:100%;width:42%;pointer-events:none}
.maya::before{content:"";position:absolute;inset:auto 2% 0;aspect-ratio:1;border-radius:50%;background:var(--white);opacity:.22}
.maya img{position:relative;width:100%;height:100%;object-fit:cover;object-position:50% 0;filter:drop-shadow(0 10px 16px rgba(71,4,53,.28))}
.sent .ph-title{display:none}
/* בחירת יריד בטופס: שדה נפתח עם סימון וי */
.fair-pick{position:relative}
.fp-toggle{width:100%;min-height:52px;border-radius:26px;border:2px solid transparent;background:var(--white);color:var(--ink-soft);
  font:600 17px/1.2 "Graphik HLAR",Arial,sans-serif;padding:8px 24px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  text-align:right;cursor:pointer;transition:border-color .15s, box-shadow .15s}
.fp-toggle:focus-visible,.fair-pick.open .fp-toggle{outline:none;border-color:var(--plum);box-shadow:0 0 0 4px rgba(71,4,53,.18)}
.fp-toggle .chev{flex:none;width:20px;height:20px;stroke:var(--plum);fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.fair-pick.open .chev{transform:rotate(180deg)}
.fp-value{display:flex;flex-direction:column;gap:1px;min-width:0}
.fp-value small{font-size:11.5px;font-weight:600;color:var(--ink-soft)}
.fair-pick.has-value .fp-value b{color:var(--plum);font-weight:800;font-size:16px;line-height:1.25}
.fp-list{position:absolute;inset-inline:0;top:100%;z-index:20;margin-top:6px;background:var(--white);border-radius:18px;padding:6px;display:grid;gap:2px;box-shadow:0 10px 24px rgba(71,4,53,.22)}
.fp-list[hidden]{display:none}
.fp-list label{position:relative;display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:center;padding:9px 12px;border-radius:12px;
  cursor:pointer;color:var(--plum);font-weight:700;font-size:15.5px;line-height:1.2}
.fp-list label:hover{background:var(--powder)}
.fp-list input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.fp-list small{display:block;font-size:12px;font-weight:600;color:var(--ink-soft)}
.fp-box{width:26px;height:26px;border-radius:8px;border:2px solid rgba(71,4,53,.45);display:grid;place-items:center;transition:background .15s,border-color .15s}
.fp-box svg{width:16px;height:16px;stroke:var(--white);fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.fp-list input:checked + .fp-box{background:var(--orange);border-color:var(--orange)}
.fp-list input:checked + .fp-box svg{opacity:1}
.fp-list label:has(input:checked){background:var(--powder);font-weight:800}
.fp-list input:focus-visible + .fp-box{outline:3px solid var(--plum);outline-offset:2px}
.fair-pick.bad .fp-toggle{border-color:var(--plum)}
/* מירכוז הטקסטים בשדות */
.lead .field input{text-align:center;padding:14px 44px 0}
.lead .field label{inset-inline:24px;text-align:center}
.lead .field input:focus + label,.lead .field input:not(:placeholder-shown) + label{top:9px}
.lead .err{text-align:center;padding-inline:12px}
.fp-toggle{position:relative;justify-content:center;padding-inline:48px;text-align:center}
.fp-toggle .chev{position:absolute;inset-inline-end:20px;top:50%;margin-top:-10px}
.fair-pick.open .chev{transform:rotate(180deg)}
.fp-value{align-items:center;text-align:center}
.lead .req-note{text-align:center}
/* שגיאות לא מזיזות את הטופס: ההודעה צפה ברווח שמתחת לשדה, והתווית נשארת במרכז השדה */
.lead{gap:18px}
.lead .field label{top:26px}
.lead .field,.lead .fair-pick,.lead .check{position:relative}
.lead .err{position:absolute;inset-inline:0;top:100%;padding:1px 12px 0;font-size:11.5px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.lead .check .err{padding-inline:32px 0;text-align:start}
.lead button.submit{margin-top:10px}


/* --- מובייל / טאבלט --- */
@media (max-width:900px){
  .page{display:block}
  .hero{padding:22px 18px 20px;gap:16px}
  .wordmark{height:88px}
  h1{font-size:clamp(24px,7vw,36px)}
  .fairs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .fair{height:auto;aspect-ratio:4/5;min-height:215px;border-radius:16px}
  .fair h3{font-size:20px}
  .fair .info{padding:12px;gap:8px}
  .fair .info ul{font-size:12.5px;gap:6px}
  .logos .set img{height:calc(26px * var(--s,1));margin:0 18px}
  .panel{position:static;height:auto;padding:30px 20px 34px}
  .intro{gap:14px}
  .ph-title{font-size:clamp(22px,6.2vw,28px)}
  body{padding-bottom:0}
}

/* --- תפריט נגישות --- */
.a11y{position:fixed;inset-block-end:16px;inset-inline-start:16px;z-index:150;font-size:15px}
.a11y-btn{width:48px;height:48px;border-radius:50%;border:2px solid var(--white);background:var(--plum);color:var(--white);cursor:pointer;
  display:grid;place-items:center;box-shadow:0 6px 18px rgba(71,4,53,.28)}
.a11y-btn svg{width:26px;height:26px;fill:currentColor}
.a11y-menu{position:absolute;inset-block-end:58px;inset-inline-start:0;width:230px;background:var(--white);color:var(--plum);
  border-radius:16px;padding:12px;box-shadow:0 12px 34px rgba(71,4,53,.3);display:grid;gap:6px}
.a11y-menu[hidden]{display:none}
.a11y-menu h2{font-stretch:75%;font-weight:800;font-size:19px;padding:2px 6px 6px}
.a11y-menu button,.a11y-menu a{display:block;width:100%;text-align:start;font:700 15px/1.2 "Graphik HLAR",Arial,sans-serif;color:var(--plum);
  background:var(--powder);border:2px solid transparent;border-radius:10px;padding:10px 12px;cursor:pointer;text-decoration:none}
.a11y-menu button[aria-pressed="true"]{background:var(--plum);color:var(--white)}
.a11y-menu .reset{background:transparent;border-color:rgba(71,4,53,.3)}
html.a11y-contrast{filter:contrast(1.3)}
html.a11y-links a{text-decoration:underline !important;text-decoration-thickness:2px !important}
html.a11y-still *,html.a11y-still *::before,html.a11y-still *::after{animation-play-state:paused !important;transition:none !important;scroll-behavior:auto !important}
@media (max-width:900px){.a11y{inset-block-end:84px}}
/* the platform's privacy button stays visible; the accessibility button is FOS's own (the page's menu was removed) */

/* --- כפתור ופופאפ ערים משתתפות --- */
.fair .info{padding-bottom:56px}
.cities-btn{position:absolute;inset-inline:16px;bottom:16px;z-index:4;height:34px;border-radius:999px;border:0;
  background:var(--white);color:var(--plum);font:700 13px/1 "Graphik HLAR",Arial,sans-serif;cursor:pointer;
  opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .25s,transform .25s,background .15s,color .15s}
.fair:hover .cities-btn,.fair:focus-within .cities-btn,.fair.open .cities-btn{opacity:1;transform:none;pointer-events:auto}
.cities-btn:hover,.cities-btn:focus-visible{background:var(--orange);color:var(--white)}
.cities{position:fixed;margin:0;inset:auto;border:0;border-radius:22px;padding:26px 22px 22px;width:min(340px,calc(100vw - 24px));background:var(--white);color:var(--plum);
  box-shadow:0 20px 50px rgba(71,4,53,.35);text-align:center}
.cities::backdrop{background:rgba(71,4,53,.35)}
.cities-kicker{font-size:13px;font-weight:700;color:var(--orange)}
.cities h2{font-stretch:75%;font-weight:800;font-size:28px;line-height:1.1;margin:2px 0 16px}
.cities ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.cities ul[hidden]{display:none}
.cities li{background:var(--powder);border-radius:999px;padding:8px 16px;font-weight:700;font-size:16px}
.cities-x{position:absolute;inset-block-start:10px;inset-inline-end:12px;width:36px;height:36px;border:0;border-radius:50%;
  background:var(--powder);color:var(--plum);font:700 24px/1 Arial,sans-serif;cursor:pointer}
@media (max-width:900px){.cities-btn{font-size:11.5px;line-height:1.15;height:auto;min-height:32px;padding:5px 8px;inset-inline:8px;bottom:8px}.fair .info{padding-bottom:48px}}
/* --- לוגו יד2 בראש הדף: מובייל בלבד, בכתום המקורי --- */
.yad2-top{display:none}
@media (max-width:900px){
  .top{flex-direction:column;gap:14px}
  .yad2-top{display:block;height:34px;width:auto}
  .ph-logo{display:none}
  .fairs .fair:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:16/9;min-height:0}
}
/* --- דסקטופ: קנבס קבוע ברוחב 1440 שמוגדל/מוקטן כיחידה אחת, כך שהפרופורציות זהות בכל מסך --- */
@media (min-width:901px){
  .page{width:1440px;min-height:var(--fh,100vh);grid-template-columns:minmax(0,1fr) 418px}
  .panel{height:var(--fh,100vh);padding:20px 32px}
  .hero{gap:20px;padding:31px 58px 23px}
  .intro{gap:20px}
  .wordmark{height:140px}
  h1{font-size:42px}
  h1 .l2{font-size:.8em;margin-top:4px}
  .fairs{gap:16px}
  .fair{height:340px}
  .fair .date b{font-size:30px}
  .fair h3{font-size:25px}
  .fair .info ul{font-size:15px}
  .logos{padding:12px 0}
  .lead h2{font-size:33px}
  .lead .disclaimer{margin-top:56px}
  .ph-logo{margin-bottom:13px}
  .yad2{height:41px}
  .ph-title{font-size:26px}
}
/* --- חלון מסמך נותני החסות (נראה כמו מציג PDF) --- */
.docv{position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;border:0;padding:0;background:#525659;color:#222;overflow:hidden}
.docv::backdrop{background:#525659}
.docv-bar{display:flex;align-items:center;gap:12px;height:48px;padding:0 14px;background:#323639;color:#f1f1f1;font:400 14px/1 Arial,sans-serif}
.docv-bar span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.docv-bar a,.docv-bar button{color:#f1f1f1;background:none;border:1px solid rgba(255,255,255,.35);border-radius:4px;padding:7px 12px;font:inherit;cursor:pointer;text-decoration:none}
.docv-scroll{height:calc(100% - 48px);overflow:auto;padding:24px 12px}
.docv-paper{max-width:794px;margin:0 auto;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.4);padding:80px 76px;font-family:"Graphik HLAR",Arial,sans-serif;font-weight:400;font-size:12px;line-height:1.35;text-align:justify;direction:rtl}
.docv-paper h2{font-family:inherit;font-stretch:100%;font-size:14px;font-weight:700;margin:0 0 8px}
.docv-paper p{margin:0 0 10px}
@media (max-width:600px){.docv-paper{padding:32px 22px}.docv-scroll{padding:12px 8px}

}

/* ===== עדכון: עידון התמונות, זום אאוט לת"א ולשרון, ריווח כותרת במובייל ===== */
.fair > img{filter:saturate(.84) contrast(.92) brightness(.97)}
/* זום אאוט: התמונה ברוחב --zw מהכרטיס, צמודה למעלה; התחתית נמסה לרקע החציל שמתחת לטקסט */
.fair.zoom > img{inset:var(--zy,0) auto auto var(--zx,0);width:var(--zw,200%);height:auto;
  -webkit-mask-image:linear-gradient(to bottom,#000 78%,transparent 100%);mask-image:linear-gradient(to bottom,#000 78%,transparent 100%)}
@media (max-width:900px){
  h1 .l2{margin-top:14px;font-size:.8em;line-height:1.2}
  h1 .l2a,h1 .l2b{display:block}
  /* כרטיס רחב (16:9) — אין צורך בזום אאוט */
  .fairs .fair.zoom:last-child:nth-child(odd) > img{inset:0;width:100%;height:100%;-webkit-mask-image:none;mask-image:none}
}

/* ===== טופס מחובר ל-FOS: הודעות השגיאה וההצלחה של FOS בעיצוב הדף ===== */
:root{--fos-error-color:var(--plum);--fos-error-bg:var(--white);--fos-error-radius:14px}
.lead .fos-field-error{position:absolute;inset-inline:0;top:100%;margin:0;padding:1px 12px 0;font-size:11.5px;line-height:14px;font-weight:700;
  color:var(--plum);text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
.lead .fos-field-error[hidden]{display:none}
.lead .check .fos-field-error{padding-inline:30px 0;text-align:start}
.check:has(input.fos-invalid) .box{border-color:var(--plum);box-shadow:0 0 0 3px rgba(71,4,53,.25)}
.lead .field input.fos-invalid{border-color:var(--plum);box-shadow:0 0 0 4px rgba(71,4,53,.18)}
.fair-pick:has(.fos-invalid) .fp-toggle{border-color:var(--plum)}
.fos-form-error{margin:0;padding:10px 14px;border-radius:var(--fos-error-radius);background:var(--white);color:var(--plum);font-weight:700;font-size:14px;text-align:center}
.fos-form-error[hidden]{display:none}
.lead[aria-busy="true"] button.submit{opacity:.7;cursor:progress}
.thanks{display:block}
.thanks[hidden]{display:none}
.form-wrap:has(.thanks:not([hidden])) .lead,.form-wrap:has(.thanks:not([hidden])) .ph-title{display:none}

/* ===== בלי סגול על התמונות: שכבה כהה ניטרלית לקריאות הטקסט ===== */
.fair{background:#141414}
.fair::after{background:linear-gradient(to top,rgba(0,0,0,.72) 0%,rgba(0,0,0,.22) 42%,rgba(0,0,0,0) 60%)}
.fair:hover::after,.fair:focus-within::after,.fair.open::after{background:rgba(0,0,0,.72)}

/* ===== בלי החשכה על התמונות: הטקסט קריא בעזרת צל טקסט, והפרטים בריחוף על כרטיס לבן ===== */
.fair{background:var(--bg,#ddd)}
.fair::after,.fair:hover::after,.fair:focus-within::after,.fair.open::after{background:none}
.fair > img{filter:saturate(.84) contrast(.92)}
.fair .name{text-shadow:0 1px 2px rgba(0,0,0,.6)}
.fair .date{border-inline-start-color:var(--orange)}
/* זום אאוט: התמונה צמודה לתחתית, ומעליה צבע השמיים של התמונה עם מעבר רך */
.fair.zoom > img{inset:auto auto 0 var(--zx,0);
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 14%);mask-image:linear-gradient(to bottom,transparent 0,#000 14%)}
.fair .info{inset:auto 10px 58px;justify-content:flex-start;background:rgba(255,255,255,.95);color:var(--plum);border-radius:14px;padding:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.18)}
.fair .info h3{color:var(--plum)}
@media (max-width:900px){.fair .info{inset:auto 6px 46px;padding:10px}}

/* תמונות נקיות: בלי שום שכבה מעל התמונה */
.fair::before{content:none}
.fair > img{opacity:1}

/* ===== מובייל: הטופס תמיד מוצג בתוך הדף, והכפתור הצף רק גולל אליו ונעלם כשהטופס בתצוגה ===== */
.panel:focus{outline:none}
/* שדה ההגנה הנסתר של FOS ממוקם הרחק מחוץ למסך; הפאנל תוחם אותו כדי שלא ייווצר גלילה אופקית */
.panel{overflow-x:hidden}
/* הכפתור הצף משאיר מקום לכפתור הנגישות של FOS בפינה הימנית התחתונה */
@media (max-width:900px){.panel{position:relative}.sticky-cta{inset-inline:72px 12px}}

/* ===== שמות הירידים תמיד בשורה אחת: בלי שבירת שורה, והכתב מוקטן כך שהשם הארוך ביותר נכנס ברוחב הכרטיס ===== */
.fair h3{white-space:nowrap}
@media (min-width:901px){.fair .name h3{font-size:20px}.fair .info h3{font-size:18px}}
@media (max-width:900px){.fair h3{font-size:min(20px,calc((50vw - 55px) / 9.1))}}

/* =====================================================================
   T-06285 — נדלניישן דצמבר 26: חלק ימני בשפה של מקאן, 3 ירידים, טופס בשני מסכים
   ===================================================================== */
.skip-link{position:absolute;inset-inline-start:12px;top:-70px;z-index:200;background:var(--plum);color:var(--white);padding:10px 16px;border-radius:10px;font-weight:700}
.skip-link:focus{top:12px}

/* --- הקומפוזיציה של מקאן: לוגו, מאיה, הבניין ופס סגול עם ההבטחה --- */
.hero{justify-content:flex-start}
.mc{position:relative;height:430px;isolation:isolate}
.mc-art{position:absolute;inset:0}
.mc-brand{position:absolute;top:8px;left:300px;right:310px;z-index:1;display:flex;flex-direction:column;align-items:center;gap:14px}
.mc-yad2{height:50px;width:auto}
.mc-wordmark{width:100%;max-width:290px;height:auto}
.mc-maya{position:absolute;right:56px;bottom:150px;height:290px;width:auto;max-width:none;z-index:1}
.mc-panel{position:absolute;left:0;right:0;bottom:0;height:196px;z-index:2;background:var(--plum);border-radius:36px;
  display:flex;align-items:center;padding:0 44px 0 276px}
.mc-panel h1{font-size:44px;line-height:1.06;text-align:start;text-wrap:initial;letter-spacing:0}
.mc-panel .t1,.mc-panel .t2{display:block;white-space:nowrap}
.mc-panel .t1{color:var(--orange);font-weight:800}
.mc-panel .t2{color:var(--white);font-weight:400;font-size:48px;margin-top:6px}
.mc{margin-bottom:8px}
.mc-building{position:absolute;left:22px;bottom:-20px;height:404px;width:auto;max-width:none;z-index:3;filter:drop-shadow(0 14px 14px rgba(40,2,30,.28))}

.mc-when{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-inline:10px}
.mc-when p{color:var(--orange);line-height:1.1;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.mc-when b{font-weight:800;font-size:32px}
.mc-when span{font-weight:400;font-size:25px}
.mc-cta{flex:none;display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 30px;border-radius:999px;
  background:var(--plum);color:var(--white);font-weight:700;font-size:19px;text-decoration:none;transition:background .15s}
.mc-cta:hover,.mc-cta:focus-visible{background:var(--orange)}

/* --- 3 ירידים: כרטיס לבן קומפקטי, תמונה קטנה, הפרטים תמיד גלויים --- */
.fairs3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.fcard{position:relative;display:flex;flex-direction:column;gap:10px;background:var(--white);border-radius:22px;padding:14px 16px 14px;color:var(--plum)}
.fcard > img{position:absolute;inset-inline-end:14px;top:14px;width:60px;height:60px;border-radius:14px;object-fit:cover}
.fair-head{padding-inline-end:68px;min-height:60px;display:flex;flex-direction:column;justify-content:center;gap:3px}
.fair-head .date{font-weight:800;font-size:30px;line-height:1;color:var(--orange)}
.fair-head h2{font-weight:800;font-size:20px;line-height:1.1;white-space:nowrap}
.fcard ul{list-style:none;padding:0;display:grid;gap:5px;font-size:14.5px;font-weight:600;line-height:1.3}
.fcard li{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start}
.fcard svg{width:18px;height:18px;margin-top:1px;stroke:var(--orange);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fcard li b{font-weight:800}
.fcities{margin-top:auto;height:36px;border-radius:999px;border:2px solid var(--plum);background:transparent;color:var(--plum);
  font:700 13.5px/1 "Graphik HLAR",Arial,sans-serif;cursor:pointer;transition:background .15s,color .15s}
.fcities:hover,.fcities:focus-visible{background:var(--plum);color:var(--white)}

/* --- טופס בשני מסכים --- */
.step{display:flex;flex-direction:column;gap:18px}
.form-wrap[data-step="1"] .only-2,.form-wrap[data-step="2"] .only-1{display:none}
.js .form-wrap[data-step="1"] .step[data-step="2"],.js .form-wrap[data-step="2"] .step[data-step="1"]{display:none}
html:not(.js) [data-next],html:not(.js) [data-back]{display:none}
.q-intro{color:var(--white);font-weight:800;font-size:19px;line-height:1.25;text-align:center;text-wrap:balance}
.q-intro small{display:block;margin-top:4px;font-size:12.5px;font-weight:600;color:var(--plum)}
.chips{position:relative;border:0;padding:0;min-width:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.chips legend{width:100%;padding:0;margin-bottom:8px;text-align:center;color:var(--white);font-weight:800;font-size:17px}
.chips legend small{font-weight:600;font-size:12px;color:var(--plum);margin-inline-start:4px}
.chips label{position:relative;cursor:pointer}
.chips input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.chips label span{display:block;background:var(--white);color:var(--plum);border:2px solid var(--white);border-radius:999px;
  padding:8px 14px;font-weight:700;font-size:14.5px;line-height:1.15;transition:background .15s,color .15s,border-color .15s}
.chips input:checked + span{background:var(--plum);border-color:var(--plum);color:var(--white)}
.chips input:focus-visible + span{outline:3px solid var(--plum);outline-offset:2px}
.chips .fos-field-error{position:static;width:100%}
.lead .back{align-self:center;background:none;border:0;padding:4px 8px;color:var(--white);cursor:pointer;
  font:700 14px/1.2 "Graphik HLAR",Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}
.form-wrap[data-step="2"] .lead .disclaimer{margin-top:14px}
.thanks p{font-size:19px}
.thanks .thanks-note{font-size:14px;font-weight:600}

@media (min-width:901px){
  .hero{gap:16px;padding:28px 58px 16px}
  .sim-note{margin-top:-8px}
}

@media (max-width:900px){
  .hero{padding:18px 16px 20px;gap:16px}
  .mc{height:auto}
  .mc-brand{position:static;gap:10px}
  .mc-yad2{height:34px}
  .mc-wordmark{max-width:230px}
  .mc-art{position:relative;inset:auto;height:300px;margin-top:6px}
  .mc-maya{right:8%;bottom:118px;height:184px}
  .mc-panel{height:150px;border-radius:26px;padding:0 18px 0 39%}
  .mc-panel h1{font-size:clamp(19px,5.6vw,26px)}
  .mc-panel .t1,.mc-panel .t2{white-space:normal}
  .mc-panel .t2{font-size:1.08em;margin-top:4px}
  .mc-building{left:2%;bottom:-12px;height:236px}
  .mc-when{flex-direction:column;gap:12px;text-align:center}
  .mc-when p{justify-content:center;gap:4px 10px}
  .mc-when b{font-size:26px}
  .mc-when span{font-size:20px}
  .fairs3{grid-template-columns:1fr;gap:12px}
  .fair-head h2{font-size:21px}
  .fcard ul{font-size:15px}
  .fcities{height:42px;font-size:14.5px}
  .chips label span{padding:10px 16px;font-size:15px}
}

/* ===== דסקטופ בלי גלילה: החלק הימני נכנס בגובה המסך, והקומפוזיציה של מקאן מתכווצת/גדלה לפי הגובה שנשאר ===== */
@media (min-width:901px){
  .content{height:var(--fh,100vh);min-height:640px}
  .hero{flex:1 1 0;min-height:0;justify-content:center;gap:14px;padding:20px 58px 10px}
  .mc{flex:1 1 0;height:auto;min-height:230px;max-height:470px;margin-bottom:6px}
  .logos{flex:none}
  @supports (container-type:size){
    .mc{container-type:size}
    .mc-brand{top:2cqh;gap:3cqh}
    .mc-yad2{height:11.6cqh}
    .mc-wordmark{width:auto;max-width:none;height:22.5cqh}
    .mc-maya{bottom:35cqh;height:67.5cqh}
    .mc-panel{height:45.6cqh;border-radius:min(36px,8.4cqh);padding-left:calc(54.2cqh + 44px)}
    .mc-panel h1{font-size:min(10.2cqh,46px)}
    .mc-panel .t2{font-size:1.09em;margin-top:1.4cqh}
    .mc-building{height:94cqh;bottom:-4.6cqh}
  }
}

/* מסכים רחבים ונמוכים (גובה קנבס מתחת ל-800): הטופס מצטופף כדי להיכנס בלי גלילה */
@media (min-width:901px) and (min-aspect-ratio:9/5){
  .panel{padding:12px 32px}
  .ph-logo{margin-bottom:6px}
  .yad2{height:34px}
  .panel-head{margin-bottom:8px;padding-bottom:8px}
  .ph-title{font-size:23px}
  .lead,.step{gap:14px}
  .lead .req-note{font-size:12px;margin-top:-2px}
  .field input{height:46px}
  .lead .field label{top:23px}
  .lead .field input:focus + label,.lead .field input:not(:placeholder-shown) + label{top:8px}
  .fp-toggle{min-height:46px}
  .lead button.submit{height:50px;margin-top:6px}
  .lead .disclaimer,.form-wrap[data-step="2"] .lead .disclaimer{margin-top:10px}
  .q-intro{font-size:17px}
  .chips{gap:6px}
  .chips legend{margin-bottom:6px;font-size:16px}
  .chips label span{padding:6px 12px;font-size:14px}
}

/* ===== קומפוזיציה לפי הפוסט של מקאן (CLALI_2): לוגו Yad[בניינים]2 למעלה, פס סגול עם מאיה והמפתחות ===== */
.lock{display:flex;align-items:flex-end;justify-content:center;direction:ltr}
.lock img{height:100%;width:auto;max-width:none}
.lock-bld{position:relative;z-index:1;height:112%!important;margin:0 -3.2% -1.5% -4.2%}
.pn{position:absolute;left:0;right:0;bottom:0;background:var(--plum);display:flex;align-items:center}
.pn h1{text-align:start;text-wrap:initial;letter-spacing:0;line-height:1.04}
.pn .t1{display:block;color:var(--white);font-weight:800}
.pn .t2{display:block;color:var(--orange);font-weight:400;line-height:1.12;text-wrap:balance}
.mk{position:absolute;bottom:0;width:auto;max-width:none;z-index:2}
.when-mark{flex:none;height:40px;width:auto}
.mc-when p{flex:1}

@media (min-width:901px){
  .lock{position:absolute;top:0;left:0;right:0;height:160px}
  .pn{height:206px;border-radius:36px;padding:0 44px 0 300px}
  .pn h1{font-size:48px}
  .pn .t2{font-size:.76em;margin-top:8px}
  .mk{left:14px;height:258px}
  @supports (container-type:size){
    .lock{height:37cqh}
    .pn{height:48cqh;border-radius:min(36px,8.4cqh);padding-left:calc(56cqh + 56px)}
    .pn h1{font-size:min(11.2cqh,52px)}
    .pn .t2{margin-top:1.6cqh}
    .mk{height:60cqh}
  }
}
@media (max-width:900px){
  .lock{height:clamp(74px,24vw,110px)}
  .mc-art{height:214px;margin-top:10px}
  .pn{height:176px;border-radius:26px;padding:0 16px 0 46%}
  .pn h1{font-size:clamp(20px,5.9vw,27px)}
  .pn .t2{font-size:.8em;margin-top:6px}
  .mk{left:3%;height:210px}
  .when-mark{height:34px}
}

/* הטופס ממורכז לגובה בפאנל הכתום (margin:auto שומר על גלילה תקינה אם התוכן גבוה מהמסך) */
@media (min-width:901px){
  .panel .form-wrap{margin-block:auto}
  .lead .disclaimer,.form-wrap[data-step="2"] .lead .disclaimer{margin-top:18px}
}
@media (min-width:901px){
  .lock{top:22px}
  @supports (container-type:size){.lock{top:5.5cqh;height:34.5cqh}.mk{height:58cqh}}
}
@media (min-width:901px) and (min-aspect-ratio:9/5){
  .lead .disclaimer,.form-wrap[data-step="2"] .lead .disclaimer{margin-top:6px}
}

/* מובייל: הכפתור הצף מקצה לקצה בתחתית המסך, וכפתור הנגישות של FOS מורם מעליו */
@media (max-width:900px){
  .sticky-cta{inset-inline:0;bottom:0;height:auto;border-radius:0;line-height:58px;padding-bottom:env(safe-area-inset-bottom,0px);box-shadow:0 -6px 18px rgba(71,4,53,.22)}
  .sticky-cta.hide{transform:translateY(110%)}
  #fos-a11y{bottom:calc(70px + env(safe-area-inset-bottom,0px))!important}
}

/* ===== סבב תיקונים 26.11 ===== */
/* הבניין יושב בין Yad ל-2 כמו בחומרים של מקאן: נוגע רק בקצה האותיות. רוחב הלוגו לפי התוכן, כך שהחפיפה יחסית לגובה בכל מסך */
.lock{width:max-content;max-width:none}
.lock-bld{height:104%!important;margin:0 -0.9% -0.5% -1.7%}
/* הלוגו והבניין כתמונה אחת של מקאן: האותיות בגובה המסגרת, והבניין חורג מעט מעלה ומטה */
.lock .lock-full{height:112%;margin-bottom:-2.7%}
@media (min-width:901px){.lock{left:50%;right:auto;transform:translateX(-50%)}}
@media (max-width:900px){.lock{margin-inline:auto}}
/* "3 ירידים מצפון ועד דרום" בבולד */
.mc-when{justify-content:flex-start}
.mc-when p{display:block;flex:none;font-weight:800;font-size:30px}
/* כרטיסי היריד בלי תמונה */
.fair-head{padding-inline-end:0;min-height:0}
/* נדלניישן והתאריכים בראש הטופס, אחד מתחת לשני */
.ph-event{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;line-height:1.05;margin:0 0 12px}
.ph-event strong{font-weight:800;font-size:40px;color:var(--white)}
.ph-event span{font-weight:700;font-size:24px;color:var(--plum)}
@media (max-width:900px){.mc-when p{font-size:24px}.ph-event strong{font-size:36px}.ph-event span{font-size:22px}}
/* מסכי 16:9 ורחבים מזה: הטופס מצטופף מעט כדי שהתוספת בראשו לא תיצור גלילה */
@media (min-width:901px) and (min-aspect-ratio:5/3){.ph-event{gap:2px;margin-bottom:6px}.ph-event strong{font-size:32px}.ph-event span{font-size:20px}
  .ph-logo{margin-bottom:6px}.lead,.step{gap:14px}.lead .disclaimer,.form-wrap[data-step="2"] .lead .disclaimer{margin-top:8px}}

/* ===== סבב הערות הלקוח 26.11 ===== */
/* לוגו נדלניישן במקום Yad2 */
/* נדלניישן כטקסט, באותו גופן של שאר הדף */
.lock .lock-txt{font-family:"Graphik HLAR",Arial,sans-serif;font-weight:800;color:var(--orange);line-height:.95;white-space:nowrap;direction:rtl;font-size:124px;letter-spacing:-.01em}
@media (min-width:901px){@supports (container-type:size){.lock .lock-txt{font-size:28cqh}}}
@media (max-width:900px){.lock .lock-txt{font-size:clamp(50px,15vw,74px)}}
/* "יריד הדירות החדשות של יד2" בשורה אחת */
@media (min-width:901px){.pn .t1{white-space:nowrap}}
/* מאיה: מעט פנימה, מעט גדולה יותר, והפוכה כך שהמפתח פונה לטקסט */
.mk{transform:scaleX(-1)}
@media (min-width:901px){
  .mk{left:40px;height:270px}
  .pn{padding-right:32px}
  .pn h1{font-size:38px}
  .pn .t2{font-size:.82em}
  @supports (container-type:size){.mk{height:64cqh}.pn{padding-left:calc(54cqh + 58px)}.pn h1{font-size:min(8.4cqh,38px)}}
}
/* מובייל: אין מקום למפתח שפונה לטקסט, לכן מאיה נשארת בכיוון המקורי ומעט גדולה יותר */
@media (max-width:900px){.mk{transform:none;left:2%;height:198px}.pn{padding-left:52%;padding-right:14px}.pn h1{font-size:clamp(18px,5.2vw,26px)}.pn .t1{text-wrap:balance}.lock{height:clamp(60px,18vw,88px)}}

/* כרטיסי הירידים: שם היריד גדול במקום התאריך, יום ותאריך באותה שורה, וחץ קטן לערים המשתתפות */
.fcard{gap:8px;padding:14px 16px 8px}
.fair-head h2{font-size:26px;line-height:1.05;color:var(--orange)}
.fcities{align-self:center;width:44px;height:30px;margin-top:0;border:0;border-radius:999px;background:transparent;display:grid;place-items:center;padding:0}
.fcities svg{width:24px;height:24px;margin:0;stroke:var(--plum);fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.fcities:hover,.fcities:focus-visible{background:var(--powder)}
.fcities:hover svg,.fcities:focus-visible svg{stroke:var(--plum)}
@media (max-width:900px){.fair-head h2{font-size:24px}.fcities{height:32px;width:48px}}

/* טופס: הדיסקליימר באותו עיצוב כמו שאר הטקסטים המשפטיים */
.lead .disclaimer{color:var(--plum);font-size:11px;font-weight:600}
/* שורת מדיניות הפרטיות של FOS: באותו גופן וגודל כמו שאר הטקסטים המשפטיים, בלי הדגשה */
.form-wrap > :not(.ph-logo):not(.ph-event):not(.panel-head):not(.lead):not(.thanks),
.lead > :not(.step):not(.disclaimer):not(input):not(.fos-form-error),
.step > p:not(.req-note):not(.q-intro):not(.fos-form-error){
  font-family:"Graphik HLAR",Arial,sans-serif;font-size:11px;line-height:1.45;font-weight:600;color:var(--plum);text-align:center}
.form-wrap > :not(.ph-logo):not(.ph-event):not(.panel-head):not(.lead):not(.thanks) :is(a,b,strong),
.lead > :not(.step):not(.disclaimer):not(input):not(.fos-form-error) :is(a,b,strong),
.step > p:not(.req-note):not(.q-intro):not(.fos-form-error) :is(a,b,strong){
  font:inherit;color:inherit;text-decoration:underline;text-underline-offset:2px}

/* שאלון: שדות נפתחים במקום כפתורי בחירה */
.fair-pick[data-compact].has-value .fp-value b{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fp-list{max-height:min(330px,52vh);overflow:auto}
.multi-pick .fos-field-error{position:static}

/* בלי הקו הלבן במסך השאלון ובדף התודה */
.form-wrap[data-step="2"] .panel-head{border-bottom:0;padding-bottom:0}
.form-wrap:has(.thanks:not([hidden])) .panel-head{display:none}
/* מאיה מעל הפס הסגול (מימין), והפס חותך אותה במותניים; הצד השמאלי שמור לבניין */
.pn{z-index:1}
.mk{z-index:0;transform:none;left:auto}
@media (min-width:901px){
  .mk{right:40px;height:376px;bottom:94px}
  .lock{left:calc((100% - 330px) / 2)}
  @supports (container-type:size){.mk{height:80cqh;bottom:20cqh}.lock{left:calc((100% - 67cqh - 40px) / 2)}}
}
@media (max-width:900px){
  .mc-art{height:332px}
  .mk{right:3%;height:240px;bottom:92px}
  .pn{padding-left:34%}
}

/* הדמיית הבניין במקום של מאיה: בצד שמאל, יוצאת מעל הפס הסגול וגולשת מעט מתחתיו, עם הצל שלה */
.bld{position:absolute;z-index:2;width:auto;max-width:none;pointer-events:none}
@media (min-width:901px){
  .bld{left:10px;bottom:-14px;height:338px}
  .pn{padding-left:330px}
  .pn h1{font-size:36px}
  .lock{left:calc(330px + (100% - 330px - 355px) / 2)}
  .lock .lock-txt{font-size:100px}
  @supports (container-type:size){
    .bld{height:72cqh;bottom:-3cqh}
    .pn{padding-left:calc(64cqh + 26px)}
    .pn h1{font-size:min(8cqh,36px)}
    .lock{left:calc(64cqh + 20px + (100% - 64cqh - 20px - 67cqh - 40px) / 2)}
    .lock .lock-txt{font-size:22cqh}
  }
}
@media (max-width:900px){
  .bld{left:1%;bottom:-8px;height:200px}
  .pn{padding-left:53%}
}
/* מובייל: הבניין גדול יותר וצמוד לשמאל (הצל שלו נחתך בקצה המסך, בלי גלילה אופקית) */
@media (max-width:900px){
  .hero{overflow-x:clip}
  .bld{left:-66px;height:230px;bottom:-10px}
  /* מאיה תמיד בתוך רוחב הפס הסגול, לא יוצאת מימין לו */
  .mk{right:8px;height:224px}
  .pn{padding-left:47%}
}
/* בניין גדול יותר, ונדלניישן למעלה בין הבניין למאיה בלי לגעת בבניין */
@media (min-width:901px){
  .bld{left:0;height:400px;bottom:-14px}
  .pn{padding-left:374px}
  .pn h1{font-size:33px}
  .lock{top:18px;align-items:flex-start;left:510px}
  .lock .lock-txt{font-size:85px}
  @supports (container-type:size){
    .bld{height:85cqh;bottom:-3cqh}
    .pn{padding-left:calc(75cqh + 20px)}
    .pn h1{font-size:min(7cqh,34px)}
    .lock{top:4cqh;left:calc(105.6cqh + 16px)}
    .lock .lock-txt{font-size:18cqh}
  }
}

/* דף תודה: הטקסטים למעלה ולוגו יד2 מתחת */
.form-wrap:has(.thanks:not([hidden])) .thanks{order:1;padding-bottom:0}
.form-wrap:has(.thanks:not([hidden])) .ph-logo{order:2;display:flex;margin:22px 0 0}

/* ===== סבב הערות 29.11 ===== */
/* שורת מדיניות הפרטיות שמוסיפה FOS מוסתרת בבקשת הסטודיו (חריג): הקישור למדיניות הפרטיות מופיע כבר בתיבת ההסכמה */
.lead [data-fos-legal]{display:none!important}

/* "נדלניישן" בתוך הפס הסגול, והטקסט גדול כך שהפס מלא */
.pn{flex-direction:column;align-items:flex-start;justify-content:center;gap:0}
.pn-brand{font-weight:800;color:var(--orange);line-height:.92;white-space:nowrap;letter-spacing:-.01em}
.pn .t1{color:var(--white)}
.pn .t2{color:var(--orange)}
.quiz[hidden]{display:none}
.fdate{display:none}

@media (min-width:901px){
  .bld{left:6px;height:400px;bottom:-18px}
  .pn{padding:0 40px 0 300px}
  .pn-brand{font-size:78px;margin-bottom:10px}
  .pn h1{font-size:38px}
  .pn .t2{font-size:.8em;margin-top:6px}
  .mc-when p{font-size:24px}
  @supports (container-type:size){
    .bld{height:92cqh;bottom:-4cqh}
    .pn{padding-left:calc(63cqh + 30px);padding-right:clamp(28px,4cqh,44px)}
    .pn-brand{font-size:min(17cqh,92px);margin-bottom:2cqh}
    .pn h1{font-size:min(8.6cqh,44px)}
    .pn .t2{margin-top:1.4cqh}
  }
}

@media (max-width:900px){
  .mc-art{height:300px}
  .bld{left:-8px;height:262px;bottom:-12px}
  .pn{height:auto;min-height:184px;padding:18px 14px 18px 0;padding-left:47%}
  .pn-brand{font-size:clamp(36px,10.4vw,52px);margin-bottom:6px}
  .pn h1{font-size:clamp(19px,5.4vw,27px)}
  .pn .t2{font-size:.84em;margin-top:4px}
  .mk{height:206px;bottom:150px}
  /* "3 ירידים מצפון ועד דרום" קטן מהכותרת שבפס */
  .mc-when p{font-size:18px}

  /* כרטיס יריד: התאריך מימין, השאר משמאל, וחץ לרשימת הערים */
  .fcard{display:grid;grid-template-columns:auto 1fr;column-gap:14px;row-gap:4px;align-items:center;padding:12px 14px}
  .fdate{display:flex;grid-column:1;grid-row:1 / span 3;flex-direction:column;align-items:center;justify-content:center;align-self:stretch;
    min-width:82px;padding:10px 8px;border-radius:16px;background:var(--powder);line-height:1;text-align:center}
  .fdate b{font-weight:800;font-size:30px;color:var(--orange)}
  .fdate span{font-weight:700;font-size:13px;color:var(--plum);margin-top:5px}
  .fcard .fair-head,.fcard ul,.fcard .fcities{grid-column:2}
  .fcard li:nth-child(2){display:none}
  .fair-head h2{font-size:22px}
  .fcard ul{font-size:14px;gap:3px}
  .fcities{justify-self:end;height:28px;width:44px}
}
@media (max-width:900px){.mc-art{height:362px}.mk{height:196px;bottom:160px}}
/* הבניין לפי הפוסט של מקאן: כ-1.6 מגובה הפס, כשליש ממנו מעל הפס, והבסיס יורד מעט מתחת לפס */
@media (min-width:901px){
  .bld{left:44px;height:340px;bottom:-16px}
  @supports (container-type:size){.bld{left:10cqh;height:78cqh;bottom:-3.6cqh}}
}
@media (max-width:900px){.bld{bottom:-20px}}
/* שדות שלב 1 עטופים (כדי שיעברו לשאלון אחרי השליחה): אותו ריווח כמו בשאר הטופס */
.s1-fields{display:flex;flex-direction:column;gap:inherit}
/* הבניין יורד עוד מעט מתחת לפס */
@media (min-width:901px){
  .bld{bottom:-34px}
  @supports (container-type:size){.bld{bottom:-7.5cqh}}
}
/* ערים משתתפות: קבוצת חו"ל נפרדת ביריד המרכז והשרון */
.cities-sub{margin:16px 0 8px;font-weight:800;font-size:16px;color:var(--orange)}
.cities-sub[hidden]{display:none}
.cities{max-height:calc(100vh - 24px);overflow:auto}
/* טופס שנשלח (FOS מסמן אותו hidden) נעלם לגמרי, כולל הדיסקליימר שבו: בשלב 2 מוצג רק השאלון */
.lead[hidden]{display:none!important}

/* ===== סבב תיקונים 29.11 (2) ===== */
/* מאיה ליד הבניין משמאל, הפס הסגול חותך אותה למטה; "נדלניישן" מעל הפס מימין והטקסט בפס גדול יותר */
.top-brand{position:absolute;top:0;right:0;z-index:1;margin:0}
.pn{z-index:1}.bld{z-index:2}.mk{z-index:3;transform:none;right:auto}
.pn .t1{white-space:normal;text-wrap:balance}
/* יום בשבוע לא בבולד, התאריך בבולד */
.fcard li:nth-child(2) span{font-weight:400}
.fcard li:nth-child(2) b{font-weight:800}
@media (min-width:901px){
  .hero{justify-content:center;gap:22px;padding:22px 58px 20px}
  .mc{max-height:500px;margin-bottom:0}
  .top-brand{font-size:96px}
  .mk{left:120px;height:380px;bottom:0}
  .bld{left:0}
  .pn{padding:0 40px 0 460px}
  @supports (container-type:size){
    .top-brand{top:0;font-size:min(27cqh,13cqw)}
    .bld{left:0;height:76cqh;bottom:-7.5cqh}
    .mk{left:24cqh;height:78cqh}
    .pn{height:56cqh;padding-left:calc(90cqh + 26px);padding-right:clamp(28px,5cqh,48px)}
    .pn h1{font-size:min(9.4cqh,4.9cqw,50px)}
    .pn .t2{font-size:.84em;margin-top:2cqh}
  }
  /* שמות הירידים קטנים מ"3 ירידים מצפון ועד דרום" */
  .mc-when p{font-size:28px}
  .fair-head h2{font-size:24px}
  .fairs3{gap:18px}
  .fcard{padding:16px 18px 10px;gap:10px}
}
@media (max-width:900px){
  .mc-art{height:318px}
  .top-brand{top:0;font-size:clamp(44px,13.4vw,64px)}
  .bld{left:-74px;height:236px;bottom:-14px}
  .mk{left:4px;height:200px;bottom:0}
  .pn{min-height:196px;padding:18px 14px 18px 0;padding-left:49%}
  .pn h1{font-size:clamp(20px,5.9vw,28px)}
  .mc-when p{font-size:24px}
  .fair-head h2{font-size:21px}
  .fdate span{font-weight:400}
}
/* תמונה חדשה של מאיה (יד על הלחי): ליד הבניין, נחתכת בתחתית הפס הסגול */
@media (min-width:901px){@supports (container-type:size){
  .mk{left:36cqh;height:82cqh}
  .pn{padding-left:calc(102cqh + 22px)}
  .pn h1{font-size:min(9.2cqh,4.7cqw,50px)}
}}
@media (max-width:900px){.mk{left:6px;height:204px}.pn{padding-left:50%}}
/* "נדלניישן" יורד וקרוב יותר לפס הסגול: מעוגן לקצה העליון של הפס במקום לראש הקומפוזיציה */
@media (min-width:901px){
  .top-brand{top:auto;bottom:226px}
  @supports (container-type:size){.top-brand{top:auto;bottom:63cqh}}
}
@media (max-width:900px){.top-brand{top:auto;bottom:214px}}
/* פרופורציות לפי הפוסט של מקאן: הבניין גבוה ממאיה (בולט כ-45% מגובה הפס מעליו), והראש של מאיה מסתיים מעט מעל הפס; הפס חותך אותה למטה */
@media (min-width:901px){@supports (container-type:size){
  .bld{left:-2cqh;height:92.6cqh;bottom:-10.3cqh}
  .mk{left:37.4cqh;height:77cqh;bottom:-9.8cqh;clip-path:inset(0 0 12.7% 0)}
}}
@media (max-width:900px){
  .bld{left:-77px;height:316px;bottom:-28px}
  .mk{left:0;height:222px;bottom:0}
  .pn{padding-left:51%}
}
/* מאיה מאחורי הבניין: הבניין בשכבה העליונה, מאיה מאחוריו, ושניהם מעל הפס הסגול */
.bld{z-index:3}.mk{z-index:2}
/* מובייל: הבניין קטן מעט כדי שלא יסתיר את מאיה שמאחוריו */
@media (max-width:900px){.bld{left:-76px;height:252px;bottom:-22px}
  /* מאיה מעט ימינה; הכותרת זזה וקטנה מעט כדי שלא תיגע בה ותישאר בשתי שורות */
  .mk{left:12px;height:min(222px,57vw)}.pn{padding-left:53%}.pn h1{font-size:clamp(19px,5.5vw,27px)}}
/* מובייל: הבניין ומאיה ימינה כך שהבניין נראה בשלמותו (לא נחתך בקצה המסך); מאיה והכותרת קטנות מעט כדי שלא ייגעו זו בזו */
@media (max-width:900px){.bld{left:-43px}.mk{left:min(40px,10.3vw);height:min(210px,54vw)}.pn{padding-left:54%}.pn h1{font-size:clamp(18px,5.3vw,26px)}}

/* ===== סבב הערות הלקוח 29.11 (3) ===== */
/* "נדלניישן" כתמונה, באות של הדף משנה שעברה (אלמוני צר) */
img.top-brand{display:block;height:auto;max-width:none}
.pn .t2 span{white-space:nowrap}

/* דסקטופ: הבניין משמאל ומאיה מימין באותו גובה (הראש שלה בקו גג הבניין, והיא נחתכת בתחתית הפס);
   המרחק של מאיה מקצה הפס מימין שווה למרחק של הבניין מקצה הפס משמאל; הכותרות ממורכזות ביניהם; הפס דק יותר */
@media (min-width:901px){
  .mk{left:auto;right:42px;height:374px;bottom:0;clip-path:none}
  .pn{height:212px;padding:0 357px 0 224px;align-items:center}
  .pn h1{text-align:center;font-size:35px;line-height:1.06}
  .pn .t1{text-wrap:balance}
  .pn .t2{font-size:22px;white-space:nowrap;margin-top:8px}
  .top-brand{top:auto;bottom:226px;left:210px;right:257px;margin-inline:auto;width:364px}
  @supports (container-type:size){
    /* --bh = גובה הבניין: לפי גובה הקומפוזיציה, עם תקרה לפי הרוחב כדי שבמסכים גבוהים יישאר מקום לכותרות */
    .mc-art{--bh:min(92.6cqh,46.5cqw)}
    .bld{left:calc(-.0216 * var(--bh));height:var(--bh);bottom:calc(-.1112 * var(--bh))}
    .mk{left:auto;right:calc(.0972 * var(--bh));height:calc(.8888 * var(--bh));bottom:0;clip-path:none}
    .pn{height:47cqh;padding-left:calc(.4978 * var(--bh) + 12px);padding-right:calc(.8143 * var(--bh) + 12px)}
    .pn h1{font-size:min(8.2cqh,calc((100cqw - 1.312 * var(--bh) - 24px) / 7.6))}
    .pn .t2{font-size:min(5.6cqh,calc((100cqw - 1.312 * var(--bh) - 24px) / 14.6));margin-top:1.8cqh}
    .top-brand{bottom:50cqh;left:calc(.4978 * var(--bh));right:calc(.6102 * var(--bh));width:min(.9 * var(--bh),calc(100cqw - 1.108 * var(--bh) - 24px))}
  }
}

/* מובייל: לוגו יד2 בראש העמוד, הפס צר יותר, הבניין מאחורי מאיה ויושב על הקו התחתון של הפס, מאיה קטנה מעט */
@media (max-width:900px){
  .yad2-top{display:block;height:38px;width:auto;margin:0 auto -2px}
  .mc-art{--u:min(1.5px,.2667vw);height:calc(324 * var(--u))}
  .top-brand{top:0;bottom:auto;right:0;left:0;margin:0 auto;width:calc(196 * var(--u))}
  .pn{min-height:0;height:calc(158 * var(--u));padding:0 calc(12 * var(--u)) 0 0;padding-left:calc(188 * var(--u));justify-content:center}
  .pn h1{font-size:calc(19.5 * var(--u));text-align:start}
  .pn .t2{font-size:.86em;margin-top:5px;white-space:normal;text-wrap:initial}
  .pn .t2 span{display:block}
  .bld{z-index:2;left:calc(-32 * var(--u));height:calc(262 * var(--u));bottom:calc(-19.7 * var(--u));clip-path:inset(0 0 7.5% 0);filter:none}
  .mk{z-index:3;left:calc(34 * var(--u));right:auto;height:calc(188 * var(--u));bottom:0;clip-path:none}
}

/* שאלון: שדה העיר. מקלידים שם עיר, הרשימה מציגה רק ערים מתאימות, ואפשר לבחור כמה ערים (כל עיר שנבחרה מופיעה ככפתור להסרה) */
.city-pick{display:flex;flex-direction:column;gap:8px}
.city-box{position:relative}
.city-opts{max-height:min(236px,40vh)}
.city-opts[hidden],.city-opts label[hidden],.city-none[hidden]{display:none}
.city-none{padding:10px 12px;font-size:14px;font-weight:600;color:var(--ink-soft)}
.city-hint{font-size:12px;font-weight:600;line-height:1.3;color:var(--plum);text-align:center}
.city-pick.has-value .city-hint{display:none}
.city-chips{display:flex;flex-wrap:wrap;gap:6px}
.city-chips:empty{display:none}
.city-chip{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 12px;border:0;border-radius:999px;background:var(--plum);color:var(--white);
  font:700 14px/1.2 "Graphik HLAR",Arial,sans-serif;cursor:pointer}
.city-chip::after{content:"×";font-size:18px;line-height:1;font-weight:400}
.city-chip:focus-visible{outline:3px solid var(--white);outline-offset:2px}
.city-pick .fos-field-error{position:static}

/* ===== סבב 30.11: דסקטופ — הקומפוזיציה בגובה האמנות בלבד (בלי ריק מעליה), ריווח שווה מעל ומתחת, כותרות גדולות יותר ===== */
@media (min-width:901px){
  .content{min-height:0}
  .hero{justify-content:center;gap:20px;padding:18px 58px 18px}
  .mc{flex:0 1 auto;width:100%;aspect-ratio:906/374;height:auto;min-height:0;max-height:none;margin:0}
  @supports (container-type:size){
    /* --bh = גובה הבניין: ממלא את גובה הקומפוזיציה (ראש הבניין בקצה העליון), עם תקרה לפי הרוחב */
    .mc-art{--bh:min(112.5cqh,46.5cqw)}
    .pn{height:calc(.52 * var(--bh))}
    .pn h1{font-size:min(calc(.112 * var(--bh)),calc((100cqw - 1.312 * var(--bh) - 16px) / 7))}
    .pn .t2{white-space:normal;font-size:min(calc(.07 * var(--bh)),calc((100cqw - 1.312 * var(--bh) - 16px) / 8));margin-top:calc(.02 * var(--bh))}
    .top-brand{bottom:calc(.555 * var(--bh))}
  }
}

/* ===== סבב 30.11: מובייל — נדלניישן מימין, צמוד מעל הפס הסגול (בלי שטח ריק בראש), בניין קטן מעט ===== */
@media (max-width:900px){
  .mc-art{height:calc(258 * var(--u));margin-top:4px}
  .top-brand{top:auto;bottom:calc(194 * var(--u));left:auto;right:calc(4 * var(--u));margin:0;width:calc(180 * var(--u))}
  .bld{left:calc(-22 * var(--u));height:calc(228 * var(--u));bottom:calc(-17 * var(--u))}
}

/* ===== סבב 30.11 ב: מובייל — לוגו יד2 עובר לטופס (בין שורת הלוגואים ל"הירשמו עכשיו"); נדלניישן מימין, צמוד מעל הפס הסגול ===== */
@media (max-width:900px){
  .ph-logo{display:flex}
  .mc-art{height:calc(226 * var(--u))}
  .top-brand{bottom:calc(166 * var(--u));right:calc(20 * var(--u));width:calc(150 * var(--u))}
}

/* ===== סבב 30.11 ג ===== */
/* מובייל: לוגו יד2 מעל הבניין (במקום בטופס); הקומפוזיציה גבוהה מעט כדי לפנות לו מקום מלמעלה */
.yad2-hero{display:none}
@media (max-width:900px){
  .ph-logo{display:none}
  .mc-art{height:calc(256 * var(--u))}
  .yad2-hero{display:block;position:absolute;z-index:3;left:calc(27 * var(--u));bottom:calc(221 * var(--u));height:calc(32 * var(--u));width:auto;max-width:none;margin:0}
}
/* דסקטופ: הכותרות בפס הסגול גדולות יותר ומנצלות את גובה הפס (שורת הכותרת נשארת בשתי שורות, בין הבניין למאיה) */
@media (min-width:901px){@supports (container-type:size){
  .pn{padding-left:calc(.4978 * var(--bh) + 4px);padding-right:calc(.8143 * var(--bh) + 2px)}
  .pn h1{font-size:min(calc(.12 * var(--bh)),calc((100cqw - 1.312 * var(--bh) - 6px) / 7.05))}
  .pn .t2{font-size:min(calc(.082 * var(--bh)),calc((100cqw - 1.312 * var(--bh) - 6px) / 8.2))}
}}
/* דסקטופ: לוגו יד2 באמצע הרווח שבין ראש הפאנל ל"הירשמו עכשיו" (רווח שווה מעליו ומתחתיו); הטופס עצמו נשאר במקומו */
@media (min-width:901px){
  .panel{padding-top:0}
  .panel .form-wrap:not(:has(.thanks:not([hidden]))){flex:1 0 auto;margin-block:0;justify-content:flex-start}
  .form-wrap:not(:has(.thanks:not([hidden])))::after{content:"";flex:1 1 0;margin-top:-26px;pointer-events:none}
  .form-wrap:not(:has(.thanks:not([hidden]))) .ph-logo{flex:1 1 auto;align-items:center;margin:0}
}
