/* ==========================================================
   מועצת העיתונאים והעיתונאיות החרדית — עיצוב משותף לכל האתר
   צבעים: שנו כאן ויתעדכן בכל העמודים
   ========================================================== */
:root{
  --red:#d2232a;        /* האדום של הלוגו */
  --red-dark:#a8171d;
  --ink:#1c1c1c;        /* טקסט ראשי */
  --charcoal:#474747;   /* האפור של הלוגו */
  --muted:#6b6b6b;
  --paper:#faf8f4;      /* רקע "נייר" */
  --white:#ffffff;
  --line:#dcd7cd;       /* קווי הפרדה */
  --line-strong:#1c1c1c;
  --display:'Karantina', 'Frank Ruhl Libre', sans-serif; /* כותרות ענק — בהשראת הלוגו */
  --serif:'Frank Ruhl Libre', 'David Libre', Georgia, serif;  /* כותרות משנה */
  --sans:'Assistant', 'Heebo', Arial, sans-serif;            /* טקסט רץ */
  --night:#0e0e0f;      /* רקע כהה יוקרתי */
  --gold:#c8a96a;       /* נגיעת זהב עדינה */
  --ease:cubic-bezier(.2,.7,.2,1);
  --wrap:1180px;
}

/* מעבר חלק בין עמודים (דפדפנים חדשים) */
@view-transition{ navigation:auto; }
::selection{ background:var(--red); color:#fff; }

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:var(--sans); font-size:17px; line-height:1.75;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; }
.wrap{ width:min(var(--wrap), 100% - 32px); margin-inline:auto; }

/* ---------- כותרת עליונה (מאסטהד) ---------- */
.topbar{
  background:var(--ink); color:#e9e6df; font-size:.82rem;
}
.topbar .wrap{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:6px 0; }
.topbar a{ text-decoration:none; color:#e9e6df; }
.topbar a:hover{ color:#fff; }
.topbar .contact{ display:flex; gap:18px; }
.topbar i{ margin-left:6px; color:var(--red); }

.masthead{ background:var(--white); border-bottom:1px solid var(--line); }
.masthead .wrap{ display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:14px; text-decoration:none; }
.brand img{ height:72px; width:auto; }
.brand .brand-text{ line-height:1.2; }
.brand .brand-text b{ display:block; font-family:var(--serif); font-size:1.15rem; font-weight:900; }
.brand .brand-text span{ font-size:.82rem; color:var(--muted); }

.nav{ display:flex; align-items:center; gap:4px; }
.nav a{
  text-decoration:none; font-weight:600; font-size:.95rem; padding:8px 11px;
  border-bottom:2px solid transparent; transition:border-color .15s, color .15s;
}
.nav a:hover{ color:var(--red); }
.nav a.active{ border-bottom-color:var(--red); color:var(--red); }
.nav .btn{ margin-right:10px; }
.nav-toggle{ display:none; background:none; border:1px solid var(--line); border-radius:6px; font-size:1.3rem; padding:6px 12px; cursor:pointer; color:var(--ink); }

.site-header{ position:sticky; top:0; z-index:100; }
.site-header.scrolled .masthead{ box-shadow:0 6px 18px rgba(0,0,0,.06); }
.site-header.scrolled .brand img{ height:52px; }
.brand img{ transition:height .2s; }

/* ---------- כפתורים ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; justify-content:center;
  font-family:var(--sans); font-weight:700; font-size:.95rem;
  padding:11px 22px; border-radius:4px; border:2px solid transparent;
  text-decoration:none; cursor:pointer; transition:background .15s, color .15s, transform .15s;
}
.btn-red{ background:var(--red); color:#fff !important; border-color:var(--red); }
.btn-red:hover{ background:var(--red-dark); border-color:var(--red-dark); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:#fff; }
.btn-white{ background:#fff; color:var(--red); border-color:#fff; }
.btn-white:hover{ background:transparent; color:#fff; }
.btn-lg{ padding:15px 30px; font-size:1.05rem; }

/* ---------- טיפוגרפיה ---------- */
h1,h2,h3,h4{ font-family:var(--serif); font-weight:900; line-height:1.2; margin:0 0 .5em; color:var(--ink); }
h1{ font-size:clamp(2.2rem, 5vw, 3.8rem); }
h2{ font-size:clamp(1.7rem, 3.2vw, 2.4rem); }
h3{ font-size:1.35rem; }
p{ margin:0 0 1em; }
.kicker{
  display:inline-block; font-family:var(--sans); font-weight:800; font-size:.8rem;
  letter-spacing:.04em; color:var(--red); text-transform:uppercase; margin-bottom:10px;
}
.kicker::before{ content:''; display:inline-block; width:22px; height:3px; background:var(--red); vertical-align:middle; margin-left:8px; }
.lead{ font-size:1.18rem; color:#333; }

/* כותרת מדור בסגנון עיתון: קו עבה מעל, קו דק מתחת */
.section-head{
  border-top:4px solid var(--line-strong); border-bottom:1px solid var(--line);
  padding:10px 0 8px; margin-bottom:28px;
  display:flex; justify-content:space-between; align-items:baseline; gap:12px; flex-wrap:wrap;
}
.section-head h2{ margin:0; font-size:1.6rem; }
.section-head a{ font-weight:700; font-size:.92rem; color:var(--red); text-decoration:none; }
.section-head a:hover{ text-decoration:underline; }

section.block{ padding:64px 0; }
section.block.alt{ background:var(--white); border-block:1px solid var(--line); }

/* ---------- פתיח עמוד הבית ---------- */
.hero{ background:var(--white); border-bottom:1px solid var(--line); }
.hero .wrap{ display:grid; grid-template-columns:1.35fr 1fr; gap:48px; align-items:center; padding:64px 0; }
.hero h1 .accent{ color:var(--red); }
.hero .lead{ max-width:560px; }
.hero .actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:26px; }
.hero-card{
  border:1px solid var(--line); background:var(--paper); padding:28px; position:relative;
}
.hero-card::before{ content:''; position:absolute; top:-1px; right:-1px; left:-1px; height:5px; background:var(--red); }
.hero-card img{ width:78%; margin:0 auto 16px; }
.hero-card blockquote{
  margin:0; font-family:var(--serif); font-size:1.2rem; line-height:1.55; font-weight:700;
  border-right:3px solid var(--red); padding-right:14px;
}

/* פס הודעות רץ */
.ticker{ background:var(--red); color:#fff; overflow:hidden; white-space:nowrap; font-weight:700; font-size:.92rem; }
.ticker .wrap{ display:flex; align-items:center; gap:16px; padding:0; }
.ticker .label{ background:var(--ink); padding:9px 16px; flex-shrink:0; position:relative; z-index:2; }
.ticker .track-wrap{ overflow:hidden; flex:1; }
.ticker .track{ display:inline-block; padding:9px 0; animation:ticker 45s linear infinite; }
.ticker .track span{ margin-left:46px; }
.ticker .track span::before{ content:'◆'; font-size:.6rem; margin-left:10px; opacity:.7; vertical-align:middle; }
@keyframes ticker{ from{ transform:translateX(0); } to{ transform:translateX(50%); } }
.ticker:hover .track{ animation-play-state:paused; }

/* ---------- רשתות כרטיסים ---------- */
.grid{ display:grid; gap:28px; }
.grid-2{ grid-template-columns:repeat(2, 1fr); }
.grid-3{ grid-template-columns:repeat(3, 1fr); }
.grid-4{ grid-template-columns:repeat(4, 1fr); }

.card{ background:var(--white); border:1px solid var(--line); padding:26px; position:relative; transition:transform .2s, box-shadow .2s; }
.card:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(0,0,0,.07); }
.card .icon{
  width:50px; height:50px; display:grid; place-items:center; background:var(--red); color:#fff;
  font-size:1.3rem; margin-bottom:16px;
}
.card h3{ margin-bottom:8px; }
.card p{ color:#444; margin:0; font-size:.98rem; }
.card a.more{ display:inline-block; margin-top:14px; color:var(--red); font-weight:700; text-decoration:none; font-size:.92rem; }

/* מדור "עיתון": טור ראשי וטור צד */
.paper-cols{ display:grid; grid-template-columns:2fr 1fr; gap:44px; }
.paper-cols > aside{ border-right:1px solid var(--line); padding-right:32px; }

/* ---------- עדכונים / כתבות ---------- */
.news-list{ display:grid; gap:0; }
.news-item{ display:grid; grid-template-columns:160px 1fr; gap:20px; padding:20px 0; border-bottom:1px solid var(--line); }
.news-item:first-child{ padding-top:0; }
.news-item.no-img{ grid-template-columns:1fr; }
.news-thumb a{ display:block; width:160px; height:120px; background:#f1efea; border:1px solid var(--line); overflow:hidden; cursor:zoom-in; }
.news-thumb img{ width:100%; height:100%; object-fit:contain; }
.news-item .date{ font-size:.82rem; color:var(--red); font-weight:700; }
.news-item h3{ font-size:1.2rem; margin:4px 0 6px; }
.news-item p{ color:#444; margin:0 0 .6em; font-size:.97rem; }
.news-item p:last-child{ margin-bottom:0; }

.news-featured{ border-bottom:1px solid var(--line); padding-bottom:26px; margin-bottom:6px; }
.news-featured.secondary{ padding-top:26px; }
.news-featured.secondary h3{ font-size:1.45rem; }
.news-featured .date{ font-size:.85rem; color:var(--red); font-weight:700; }

/* גוף הודעה + "להמשך קריאה" */
.news-body p{ margin:0 0 .8em; }
.news-body.big p{ font-size:1.05rem; color:#333; }
.news-body.clamped{ max-height:7.4em; overflow:hidden; position:relative; }
.news-body.big.clamped{ max-height:13.5em; }
.news-body.clamped::after{ content:''; position:absolute; inset:auto 0 0 0; height:3em; background:linear-gradient(transparent, var(--paper)); }
.alt .news-body.clamped::after{ background:linear-gradient(transparent, var(--white)); }
.read-more{ display:inline-block; margin-top:6px; background:none; border:none; padding:0; font:inherit; font-weight:700; font-size:.92rem; color:var(--red); cursor:pointer; text-decoration:none; }
.read-more:hover{ text-decoration:underline; }
.read-more[hidden]{ display:none; }
/* תמונה / מסמך מצורף להודעה — מתחת לטקסט, מוקטן */
.news-media{ margin:16px 0 0; display:inline-block; max-width:100%; }
.news-media a{ display:block; border:1px solid var(--line); background:#f1efea; padding:8px; cursor:zoom-in; transition:border-color .2s, box-shadow .2s; }
.news-media a:hover{ border-color:var(--ink); box-shadow:0 8px 20px rgba(0,0,0,.08); }
.news-media img{ display:block; max-width:100%; max-height:280px; width:auto; height:auto; }
.news-media figcaption{ font-size:.82rem; color:var(--muted); margin-top:6px; }
.news-media figcaption i{ color:var(--red); }

/* הגדלת תמונה */
.lightbox{ position:fixed; inset:0; z-index:500; background:rgba(10,10,10,.9); display:flex; align-items:center; justify-content:center; padding:56px 16px 64px; cursor:zoom-out; animation:lbIn .2s ease; }
.lightbox img{ max-width:100%; max-height:100%; object-fit:contain; background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-close{ position:absolute; top:12px; left:16px; width:44px; height:44px; border-radius:50%; border:none; background:#fff; font-size:1.3rem; cursor:pointer; }
.lightbox .lb-open{ position:absolute; bottom:18px; color:#fff; font-weight:700; text-decoration:none; font-size:.92rem; }
@keyframes lbIn{ from{ opacity:0; } to{ opacity:1; } }
.news-featured h3{ font-size:1.8rem; }

.mini-news .news-item{ grid-template-columns:1fr; padding:14px 0; }
.mini-news .news-item h3{ font-size:1.05rem; }

.state{ padding:30px; text-align:center; color:var(--muted); border:1px dashed var(--line); background:var(--white); }
.state i{ display:block; font-size:1.8rem; margin-bottom:8px; color:var(--line); }

/* ---------- הנהלה ---------- */
.person{ background:var(--white); border:1px solid var(--line); text-align:center; }
.person .photo{ aspect-ratio:1/1; background:#e9e5dc; display:grid; place-items:center; overflow:hidden; }
.person .photo img{ width:100%; height:100%; object-fit:cover; filter:grayscale(15%); }
.person .photo i{ font-size:3.5rem; color:#c8c1b2; }
.person .info{ padding:16px 14px 20px; border-top:4px solid var(--red); }
.person h3{ font-size:1.15rem; margin:0 0 4px; }
.person .role{ color:var(--red); font-weight:700; font-size:.9rem; }
.person .outlet{ color:var(--muted); font-size:.88rem; }

/* ---------- אירועים ---------- */
.event{ display:grid; grid-template-columns:90px 1fr; gap:20px; background:var(--white); border:1px solid var(--line); padding:20px; }
.event .when{ text-align:center; border-left:1px solid var(--line); padding-left:16px; }
.event .when b{ display:block; font-family:var(--serif); font-size:2.2rem; line-height:1; color:var(--red); }
.event .when span{ font-size:.85rem; font-weight:700; }
.event h3{ margin-bottom:4px; }
.event .meta{ color:var(--muted); font-size:.9rem; margin-bottom:8px; }
.event .meta i{ color:var(--red); margin-left:4px; }
.event.has-img{ grid-template-columns:90px 1fr minmax(170px, 300px); }
.event .event-img{ display:block; align-self:start; border:1px solid var(--line); background:#f1efea; cursor:zoom-in; overflow:hidden; }
.event .event-img img{ width:100%; height:auto; display:block; }
.grid-2 .event.has-img{ grid-template-columns:70px 1fr 150px; }
.event.past{ opacity:.75; }

/* ---------- עמודים פנימיים ---------- */
.page-head{ background:var(--white); border-bottom:1px solid var(--line); padding:54px 0 40px; }
.page-head .lead{ max-width:720px; margin:0; }
.breadcrumbs{ font-size:.85rem; color:var(--muted); margin-bottom:10px; }
.breadcrumbs a{ text-decoration:none; }
.breadcrumbs a:hover{ color:var(--red); }

.prose{ max-width:760px; }
.prose p{ font-size:1.08rem; }
.prose h2{ margin-top:1.4em; }
.prose h3{ margin-top:1.3em; }
.dropcap::first-letter{
  font-family:var(--serif); font-weight:900; float:right; font-size:4.2rem; line-height:.85;
  padding:6px 0 0 10px; color:var(--red);
}
.pull{
  font-family:var(--serif); font-size:1.5rem; font-weight:700; line-height:1.45;
  border-top:4px solid var(--ink); border-bottom:1px solid var(--line); padding:18px 0; margin:30px 0;
}
.pull .src{ display:block; font-family:var(--sans); font-size:.85rem; font-weight:600; color:var(--muted); margin-top:8px; }

.notice{ border-right:4px solid var(--red); background:#fff3f2; padding:16px 20px; margin:20px 0; font-weight:600; }
.notice.gray{ border-color:var(--charcoal); background:#f1efea; }

/* קוד אתי — סעיפים ממוספרים */
.rules{ counter-reset:rule; list-style:none; padding:0; margin:0; }
.rules > li{ counter-increment:rule; position:relative; padding:22px 64px 22px 0; border-bottom:1px solid var(--line); }
.rules > li::before{
  content:counter(rule); position:absolute; right:0; top:20px; width:44px; height:44px;
  display:grid; place-items:center; font-family:var(--serif); font-weight:900; font-size:1.3rem;
  border:2px solid var(--ink);
}
.rules h3{ margin-bottom:6px; }
.rules p{ margin:0; color:#333; }
.toc{ position:sticky; top:120px; background:var(--white); border:1px solid var(--line); padding:20px; }
.toc h4{ font-size:1rem; margin-bottom:10px; }
.toc ol{ margin:0; padding-right:20px; font-size:.92rem; }
.toc a{ text-decoration:none; }
.toc a:hover{ color:var(--red); }

/* שלבים */
.steps{ display:grid; grid-template-columns:repeat(4, 1fr); gap:0; border:1px solid var(--line); background:var(--white); }
.step{ padding:26px 22px; border-left:1px solid var(--line); }
.step:last-child{ border-left:none; }
.step .n{ font-family:var(--serif); font-weight:900; font-size:2.6rem; color:var(--red); line-height:1; }
.step h3{ font-size:1.1rem; margin:10px 0 6px; }
.step p{ font-size:.93rem; color:#444; margin:0; }

/* שאלות נפוצות */
.faq details{ border-bottom:1px solid var(--line); padding:16px 0; }
.faq summary{ cursor:pointer; font-weight:800; font-size:1.05rem; list-style:none; display:flex; justify-content:space-between; gap:12px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:'+'; font-size:1.4rem; color:var(--red); line-height:1; }
.faq details[open] summary::after{ content:'−'; }
.faq details p{ margin:10px 0 0; color:#444; }

/* ---------- טפסים ---------- */
.form-box{ background:var(--white); border:1px solid var(--line); border-top:5px solid var(--red); padding:34px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:4px 20px; }
.form-grid .full{ grid-column:1 / -1; }
.form-box label{ display:block; font-weight:700; font-size:.93rem; margin-top:14px; }
.form-box input[type=text], .form-box input[type=email], .form-box input[type=tel],
.form-box input[type=date], .form-box input[type=file], .form-box select, .form-box textarea{
  width:100%; padding:12px; border:1px solid #cfc9bd; background:var(--paper); font-family:inherit; font-size:1rem;
  margin-top:6px; border-radius:3px;
}
.form-box input:focus, .form-box textarea:focus, .form-box select:focus{ outline:2px solid var(--red); outline-offset:1px; background:#fff; }
.form-box textarea{ min-height:140px; resize:vertical; }
.form-box .req{ color:var(--red); }
.form-box .hint{ display:inline; font-size:.83rem; color:var(--muted); font-weight:400; margin-right:6px; }
.form-box .hint::before{ content:'· '; }
.form-box .check{ display:flex; gap:10px; align-items:flex-start; margin-top:20px; font-weight:600; }
.form-box .check input{ width:18px; height:18px; margin-top:5px; flex-shrink:0; }
.form-box .privacy{ margin-top:16px; font-size:.88rem; background:#f1efea; padding:12px 14px; color:#333; }
.form-box .submit{ width:100%; margin-top:22px; }
.form-box .submit:disabled{ opacity:.6; cursor:wait; }
.form-sub{ color:var(--red); font-weight:800; margin:26px 0 0; padding-top:20px; border-top:1px solid var(--line); }

.success{ display:none; text-align:center; padding:40px 20px; }
.success i{ font-size:3.4rem; color:#1f9d55; margin-bottom:14px; }

/* ---------- רצועת קריאה לפעולה ---------- */
.cta-band{ background:var(--ink); color:#fff; padding:56px 0; position:relative; overflow:hidden; }
.cta-band::before{ content:''; position:absolute; inset:0 auto 0 0; width:8px; background:var(--red); }
.cta-band .wrap{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; margin:0 0 6px; }
.cta-band p{ margin:0; color:#cfcac0; }
.cta-band.red{ background:var(--red); }
.cta-band.red::before{ background:var(--ink); }
.cta-band.red p{ color:#ffe1e1; }

/* פס "פנייה חסויה" */
.shield{ display:grid; grid-template-columns:auto 1fr auto; gap:26px; align-items:center; background:var(--white); border:2px solid var(--ink); padding:28px 32px; }
.shield .big-icon{ width:74px; height:74px; display:grid; place-items:center; background:var(--ink); color:#fff; font-size:2rem; }
.shield h3{ margin:0 0 4px; font-size:1.5rem; }
.shield p{ margin:0; color:#444; }

/* ---------- פוטר ---------- */
.site-footer{ background:#141414; color:#bdb8ae; padding:54px 0 0; font-size:.94rem; }
.site-footer .cols{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; }
.site-footer h4{ color:#fff; font-size:1.05rem; margin-bottom:14px; }
.site-footer a{ text-decoration:none; color:#bdb8ae; }
.site-footer a:hover{ color:#fff; }
.site-footer ul{ list-style:none; margin:0; padding:0; }
.site-footer li{ margin-bottom:8px; }
.site-footer li i{ color:var(--red); width:20px; }
.site-footer .logo-box{ background:#fff; display:inline-block; padding:10px 14px; margin-bottom:14px; }
.site-footer .logo-box img{ height:64px; }
.site-footer .bottom{ border-top:1px solid #2c2c2c; margin-top:40px; padding:16px 0; font-size:.83rem; display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }

/* כפתור ווטסאפ צף */
.wa-float{
  position:fixed; bottom:20px; left:20px; z-index:90; width:56px; height:56px; border-radius:50%;
  background:#25d366; color:#fff; display:grid; place-items:center; font-size:1.8rem;
  box-shadow:0 8px 20px rgba(0,0,0,.25); text-decoration:none;
}

/* ==========================================================
   שכבת "דור חדש": טיפוגרפיה יוקרתית, פתיח כהה, אנימציות
   ========================================================== */
h1{ font-family:var(--display); font-weight:700; font-size:clamp(3.2rem, 8vw, 6.6rem); line-height:.95; letter-spacing:-.01em; }
h2{ letter-spacing:-.01em; }
.section-head h2{ font-family:var(--display); font-weight:700; font-size:2.3rem; line-height:1; }

/* פס התקדמות גלילה */
.progress{ position:fixed; top:0; right:0; height:3px; width:100%; background:var(--red); transform-origin:right; transform:scaleX(0); z-index:200; pointer-events:none; }

/* כותרת עליונה בזכוכית */
.masthead{ background:rgba(255,255,255,.82); backdrop-filter:saturate(1.6) blur(14px); -webkit-backdrop-filter:saturate(1.6) blur(14px); }
.nav a{ position:relative; border-bottom:none; }
.nav a:not(.btn)::after{
  content:''; position:absolute; right:11px; left:11px; bottom:2px; height:2px; background:var(--red);
  transform:scaleX(0); transform-origin:right; transition:transform .35s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after{ transform:scaleX(1); }

/* פתיח כהה — עמוד הבית */
.hero{
  position:relative; overflow:hidden; color:#f3efe7; border-bottom:none;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(210,35,42,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(200,169,106,.12), transparent 60%),
    var(--night);
}
.hero::after{ /* גרעיניות עדינה של נייר עיתון */
  content:''; position:absolute; inset:0; pointer-events:none; opacity:.08; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero .wrap{ position:relative; z-index:1; min-height:min(78vh, 720px); padding:80px 0; }
.hero h1{ color:#fff; }
.hero h1 .accent{ color:var(--red); position:relative; display:inline-block; }
.hero h1 .accent::after{ content:''; position:absolute; right:0; left:0; bottom:.08em; height:.08em; background:var(--red); transform:scaleX(0); transform-origin:right; animation:underline 1s .9s var(--ease) forwards; }
@keyframes underline{ to{ transform:scaleX(1); } }
.hero .lead{ color:#cfc9be; font-size:1.25rem; font-weight:300; }
.hero .kicker{ color:var(--gold); }
.hero .kicker::before{ background:var(--gold); }
.hero .btn-outline{ color:#fff; border-color:rgba(255,255,255,.4); }
.hero .btn-outline:hover{ background:#fff; color:var(--ink); border-color:#fff; }
.hero-card{
  background:#fff; border:none; box-shadow:0 40px 80px rgba(0,0,0,.5);
  transform:perspective(1200px) rotateY(-6deg) rotateX(2deg); transition:transform .8s var(--ease);
}
.hero-card:hover{ transform:perspective(1200px) rotateY(0) rotateX(0); }
.hero-card blockquote{ color:var(--ink); }

/* הלוגו על רקע כהה (הצביעה מחדש נעשית ב-site.js) */
.logo-dark:not([data-dark]){ visibility:hidden; }

.hero-emblem{ position:relative; text-align:center; }
.hero-emblem img{
  position:relative; z-index:1; width:min(100%, 440px); margin:0 auto;
  animation:emblemIn 1.4s .2s var(--ease) both;
}
.hero-emblem .glow{
  position:absolute; z-index:0; width:min(90%, 420px); aspect-ratio:1; top:46%; left:50%; translate:-50% -50%;
  border-radius:50%; background:radial-gradient(circle, rgba(210,35,42,.45), transparent 65%); filter:blur(30px);
  animation:breathe 6s ease-in-out infinite;
}
.hero-emblem blockquote{
  position:relative; z-index:1; margin:30px auto 0; max-width:440px; text-align:right;
  font-family:var(--serif); font-size:1.15rem; line-height:1.6; color:#e9e4da;
  border-right:2px solid var(--gold); padding-right:16px;
  animation:emblemIn 1.2s .7s var(--ease) both;
}
@keyframes emblemIn{ from{ opacity:0; transform:translateY(20px) scale(.97); } to{ opacity:1; transform:none; } }
@keyframes breathe{ 0%,100%{ opacity:.7; scale:1; } 50%{ opacity:1; scale:1.08; } }

.footer-logo{ display:inline-block; margin-bottom:16px; }
.footer-logo img{ height:96px; width:auto; }

/* כותרת אנימטיבית: מילים עולות אחת אחת */
.split .w{ display:inline-block; overflow:hidden; vertical-align:bottom; padding-bottom:.06em; }
.split .w > span{ display:inline-block; transform:translateY(105%); animation:wordUp .9s var(--ease) forwards; }
@keyframes wordUp{ to{ transform:translateY(0); } }

/* כותרת עמודים פנימיים — כהה */
.page-head{
  position:relative; overflow:hidden; color:#f3efe7; border-bottom:none; padding:80px 0 60px;
  background:radial-gradient(800px 400px at 90% 0%, rgba(210,35,42,.3), transparent 60%), var(--night);
}
.page-head h1{ color:#fff; margin-bottom:.25em; }
.page-head .lead{ color:#cfc9be; font-weight:300; font-size:1.2rem; }
.page-head .kicker{ color:var(--gold); }
.page-head .kicker::before{ background:var(--gold); }
.breadcrumbs{ color:#8e887d; }
.breadcrumbs a:hover{ color:#fff; }

/* כרטיסים: קו אדום שנמתח בריחוף */
.card{ overflow:hidden; }
.card::after{ content:''; position:absolute; right:0; bottom:0; height:3px; width:100%; background:var(--red); transform:scaleX(0); transform-origin:right; transition:transform .5s var(--ease); }
.card:hover::after{ transform:scaleX(1); }
.card .icon{ transition:transform .5s var(--ease); }
.card:hover .icon{ transform:rotate(-8deg) scale(1.08); }

/* כפתור עם הבזק אור */
.btn-red{ position:relative; overflow:hidden; }
.btn-red::before{ content:''; position:absolute; top:0; bottom:0; width:40%; right:-60%; background:linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform:skewX(-20deg); transition:right .6s var(--ease); }
.btn-red:hover::before{ right:120%; }
.btn .fa-arrow-left{ transition:transform .3s var(--ease); }
.btn:hover .fa-arrow-left{ transform:translateX(-4px); }

/* הופעה בגלילה */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease), transform .9s var(--ease); transition-delay:var(--d, 0s); }
.reveal.in{ opacity:1; transform:none; }

/* תמונות בכתבות — זום עדין */
.event img, .person .photo img{ transition:transform .8s var(--ease); }
.person:hover .photo img{ transform:scale(1.05); }
.news-item, .news-featured, .event, .person{ overflow:hidden; }

.cta-band h2, .shield h3{ font-family:var(--display); font-weight:700; font-size:clamp(2.2rem, 4vw, 3rem); line-height:1; }
.step .n, .event .when b{ font-family:var(--display); font-size:3.4rem; }

/* פרטי העמותה */
.org-box{ border:1px solid var(--line); background:var(--white); padding:18px 20px; margin-top:28px; }
.org-box h4{ font-family:var(--sans); font-weight:800; font-size:1rem; margin:0 0 10px; padding-bottom:8px; border-bottom:2px solid var(--ink); }
.org-box dl{ margin:0; display:grid; grid-template-columns:auto 1fr; gap:6px 14px; font-size:.95rem; }
.org-box dt{ color:var(--muted); }
.org-box dd{ margin:0; font-weight:700; }

/* היועץ המשפטי */
.advisor{ display:grid; grid-template-columns:120px 1fr; gap:20px; align-items:start; background:var(--white); border:1px solid var(--line); border-top:4px solid var(--ink); padding:20px; margin-bottom:28px; }
.advisor-photo{ aspect-ratio:1; overflow:hidden; background:#e9e5dc; }
.advisor-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 20%; filter:grayscale(10%); }
.advisor .kicker{ margin-bottom:4px; }
.advisor h3{ font-family:var(--display); font-size:2rem; line-height:1; margin:0 0 4px; }
.advisor .firm{ color:var(--muted); font-weight:700; font-size:.92rem; margin-bottom:8px; }
.advisor p{ font-size:.95rem; color:#333; margin:0 0 8px; }
.advisor .more{ color:var(--red); font-weight:700; text-decoration:none; font-size:.9rem; }
.advisor .more:hover{ text-decoration:underline; }
aside .advisor{ grid-template-columns:90px 1fr; }

/* כניסת מנהל */
.site-footer .admin-link{ color:#7d776d; font-size:.82rem; }
.site-footer .admin-link:hover{ color:#fff; }
.admin-preview-bar{
  position:sticky; top:0; z-index:150; background:#fff3cd; color:#5c4400; border-bottom:2px solid #e0b100;
  padding:10px 16px; text-align:center; font-weight:700; font-size:.92rem;
}
.admin-preview-bar a{ color:var(--red); margin-right:8px; }

/* מצב עריכה (העמוד פתוח בתוך עורך העמודים בשטח הניהול) */
.edit-mode .reveal{ opacity:1 !important; transform:none !important; }
.edit-mode .wa-float, .edit-mode .progress, .edit-mode .admin-preview-bar{ display:none !important; }
.edit-mode [data-ek]{ outline:1px dashed rgba(210,35,42,.35); outline-offset:4px; cursor:text; border-radius:2px; transition:outline-color .15s, background .15s; }
.edit-mode [data-ek]:hover{ outline:2px dashed var(--red); }
.edit-mode [data-ek]:focus{ outline:2px solid var(--red); background:rgba(255,255,255,.9); color:var(--ink); }
.edit-mode .hero [data-ek]:focus, .edit-mode .page-head [data-ek]:focus{ background:rgba(0,0,0,.4); color:#fff; }
.edit-mode [data-ek].ek-changed{ outline:2px solid #e0b100; background:rgba(255,236,150,.25); }

/* עמוד מוסתר */
.is-hidden-page{ display:none !important; }
[hidden]{ display:none !important; }

/* הרשמה לאירוע */
.event-reg{ display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-top:14px; padding-top:14px; border-top:1px dashed var(--line); font-weight:600; }
.event-reg.closed span{ color:var(--muted); }
.reg-event{ border-top:5px solid var(--red); background:var(--white); border-inline:1px solid var(--line); border-bottom:1px solid var(--line); padding:28px; }
.reg-event h2{ font-family:var(--display); font-size:2.6rem; line-height:1; margin-bottom:8px; }
.reg-event .meta{ color:var(--red); font-weight:700; margin-bottom:12px; }
.total{ font-family:var(--display); font-size:2rem; color:var(--red); margin-top:18px; }
.pay-summary{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; background:var(--paper); border:1px solid var(--line); padding:14px 18px; margin-bottom:16px; font-weight:700; }
#NedarimFrame{ width:100%; height:0; border:none; display:block; }
.pay-error{ color:var(--red); font-weight:700; min-height:1.5em; margin:10px 0; }
.secure-note{ font-size:.85rem; color:var(--muted); text-align:center; margin-top:10px; }
.secure-note i{ color:#1f9d55; }

@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .reveal{ opacity:1; transform:none; }
  .split .w > span{ transform:none; }
}

/* ---------- התאמה למסכים ---------- */
@media (max-width:1050px){
  .nav a{ padding:8px 7px; font-size:.9rem; }
  .brand .brand-text{ display:none; }
}
@media (max-width:900px){
  .nav-toggle{ display:block; }
  .nav{
    display:none; position:absolute; top:100%; right:0; left:0; flex-direction:column; align-items:stretch;
    background:var(--white); border-bottom:1px solid var(--line); padding:8px 16px 16px; box-shadow:0 12px 20px rgba(0,0,0,.08);
  }
  .nav.open{ display:flex; }
  .nav a{ padding:12px 4px; border-bottom:1px solid var(--line); font-size:1rem; }
  .nav a.active{ border-bottom-color:var(--line); }
  .nav .btn{ margin:12px 0 0; }
  .masthead{ position:relative; }
  .brand .brand-text{ display:block; }
  .hero .wrap{ grid-template-columns:1fr; padding:56px 0; gap:36px; min-height:0; }
  .hero-emblem img{ width:min(70%, 300px); }
  .page-head{ padding:56px 0 44px; }
  .grid-3, .grid-4{ grid-template-columns:repeat(2, 1fr); }
  .paper-cols{ grid-template-columns:1fr; }
  .paper-cols > aside{ border-right:none; padding-right:0; border-top:4px solid var(--ink); padding-top:20px; }
  .steps{ grid-template-columns:1fr 1fr; }
  .step:nth-child(2){ border-left:none; }
  .step:nth-child(-n+2){ border-bottom:1px solid var(--line); }
  .site-footer .cols{ grid-template-columns:1fr 1fr; }
  .toc{ position:static; }
}
@media (max-width:600px){
  body{ font-size:16px; }
  .topbar .hide-sm{ display:none; }
  .brand img{ height:48px; }
  .brand .brand-text b{ font-size:1rem; }
  .brand .brand-text span{ display:none; }
  section.block{ padding:44px 0; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .news-item{ grid-template-columns:100px 1fr; gap:14px; }
  .news-thumb a{ width:100px; height:90px; }
  .steps{ grid-template-columns:1fr; }
  .step{ border-left:none; border-bottom:1px solid var(--line); }
  .form-grid{ grid-template-columns:1fr; }
  .form-box{ padding:22px 16px; }
  .shield{ grid-template-columns:1fr; text-align:center; }
  .shield .big-icon{ margin:0 auto; }
  .site-footer .cols{ grid-template-columns:1fr; }
  .event, .event.has-img, .grid-2 .event.has-img{ grid-template-columns:70px 1fr; padding:16px; gap:14px; }
  .event .event-img{ grid-column:1 / -1; }
  .rules > li{ padding-right:56px; }
  .ticker .label{ display:none; }
}
