/* Generous Basket — site styles. Brand tokens first: change a color or font here and it changes everywhere.
   Layout uses logical properties (inline-start/end) so the Hebrew (RTL) pages mirror automatically. */
:root {
  --green: #2D6A4F;
  --green-dark: #1E4D38;
  --green-soft: #E7F0EB;
  --gold: #F5BC2F;
  --gold-hover: #FFCB4A;
  --gold-text: #8A5A00;
  --gold-light: #FFE08A;    /* small gold text on green (contrast ≥ 4.5) */      /* gold that passes contrast as text on white */
  --cream: #FFFDF5;
  --sand: #F4EFE3;
  --brown: #361A0C;
  --ink: #1A1A1A;
  --muted: #5A5650;
  --line: #E4DED0;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(54, 26, 12, .10);
  --font-head: "Bricolage Grotesque", "Onest", system-ui, sans-serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}
:root:lang(ru) { --font-head: "Onest", system-ui, sans-serif; }
:root:lang(he) { --font-head: "Heebo", system-ui, sans-serif; --font-body: "Heebo", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .55em; color: var(--green-dark); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
:lang(he) h1, :lang(he) h2, :lang(he) h3 { letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--green { background: var(--green); color: var(--white); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green a:not(.btn) { color: var(--white); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.center .lead { margin-inline: auto; }
.section--green .lead { color: rgba(255,255,255,.9); }
.eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
:lang(he) .eyebrow { letter-spacing: .02em; font-size: .9rem; }
.section--green .eyebrow, .hero .eyebrow, .basket-banner .eyebrow { color: var(--gold-light); }
.grid-2 { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.grid-3 { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Buttons: core actions are squarer (10px), campaign links are round pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 14px 26px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, color .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--pill { border-radius: 999px; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); color: var(--ink); }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--outline { border-color: currentColor; color: var(--green); background: transparent; }
.btn--outline-light { border-color: rgba(255,255,255,.85); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--green); color: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.site-header .bar { display: flex; align-items: center; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-family: "Bricolage Grotesque", var(--font-head); font-weight: 800; font-size: 1.05rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.logo:hover { color: var(--white); }
.logo img { width: 38px; height: 48px; }
.nav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; }
.nav a { white-space: nowrap; color: var(--white); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--white); }
.nav a.nav-basket { border: 2px solid var(--gold); border-radius: 999px; padding: 5px 14px; color: var(--gold-light); }
.nav a.nav-basket:hover, .nav a.nav-basket[aria-current="page"] { background: var(--gold); color: var(--ink); }
.header-donate { padding: 10px 18px; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
:lang(he) .header-donate { letter-spacing: 0; font-size: 1rem; }
.lang-switch { display: flex; gap: 2px; font-family: var(--font-head); font-size: .82rem; font-weight: 700; }
.lang-switch a { color: inherit; text-decoration: none; padding: 4px 7px; border-radius: 6px; opacity: .9; border: 0; }
.lang-switch a:hover { opacity: 1; background: rgba(255,255,255,.12); }
.lang-switch a[aria-current="true"] { opacity: 1; background: rgba(0,0,0,.28); }
.lang-switch--menu { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1240px) and (min-width: 1081px) { .nav { gap: 14px; } .nav a { font-size: .88rem; } .site-header .bar { gap: 14px; } }
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .lang-switch--bar { display: none; }
  .header-donate { margin-inline-start: auto; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--green-dark); padding: 8px 16px 22px; max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.05rem; }
  .nav a.nav-basket { margin-top: 14px; text-align: center; padding: 11px 14px; }
  .lang-switch--menu { display: flex; justify-content: center; gap: 8px; margin-top: 16px; font-size: 1rem; }
  .lang-switch--menu a { border-bottom: 0; padding: 8px 12px; }
  .nav-group { display: block; }
  .nav-top { display: block; text-align: start; background: none; border: 0; font-family: var(--font-head); font-weight: 700; width: 100%; padding: 18px 4px 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); border-bottom: 0; pointer-events: none; }
  :lang(he) .nav-top { letter-spacing: 0; font-size: .9rem; }
  .nav-top svg { display: none; }
  .nav-sub, .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { position: static; display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; background: none; box-shadow: none; }
  .nav-sub::before { display: none; }
  .nav .nav-sub a { color: var(--white); padding: 12px 4px; padding-inline-start: 14px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1.05rem; }
  .nav .nav-sub a:hover, .nav .nav-sub a[aria-current="page"] { background: rgba(255,255,255,.08); color: var(--white); }
}
@media (max-width: 400px) { .logo { font-size: .92rem; gap: 8px; } .logo img { width: 32px; height: 40px; } .header-donate { padding: 9px 13px; font-size: .82rem; } .site-header .bar { gap: 10px; } }

/* Hero */
.hero { position: relative; color: var(--white); min-height: min(82vh, 720px); display: flex; align-items: center; background: var(--green-dark) center/cover no-repeat; isolation: isolate; padding: 64px 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,40,30,.82) 0%, rgba(20,40,30,.5) 55%, rgba(20,40,30,.15) 100%); }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(20,40,30,.82) 0%, rgba(20,40,30,.5) 55%, rgba(20,40,30,.15) 100%); }
@media (max-width: 760px) { .hero::before, [dir="rtl"] .hero::before { background: rgba(20,40,30,.66); } }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero .lead { color: rgba(255,255,255,.92); }
.hero-inner { max-width: 640px; }
.hero--short { min-height: 46vh; }
.hero--short h1 { max-width: none; }
.hero--center { text-align: center; }
.hero--center .hero-inner { margin-inline: auto; }
.hero--center .lead { margin-inline: auto; }
.hero--center::before, [dir="rtl"] .hero--center::before { background: rgba(20,40,30,.62); }

/* Quote band */
.quote-band { background: var(--white); padding: 44px 0; border-bottom: 1px solid var(--line); text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 860px; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 3vw, 2rem); color: var(--brown); line-height: 1.3; }
.quote-band p { color: var(--muted); margin: 10px 0 0; }

/* Cards */
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 22px 24px 26px; }
.card > img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.photo { border-radius: var(--radius); width: 100%; object-fit: cover; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.photo--tall { aspect-ratio: 4/5; }
.founder-photo { max-width: 460px; justify-self: center; object-position: 50% 20%; }
.icon-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px; border-top: 4px solid var(--gold); }
.icon-card h3 { margin-bottom: 6px; }
.icon-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.ic { width: 58px; height: 58px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.ic svg { width: 28px; height: 28px; }
.center .ic { margin-inline: auto; }

/* Stats */
.stats { display: grid; gap: 16px; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin-top: 36px; }
.stat { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green); line-height: 1.05; }
.stat span { display: block; margin-top: 6px; color: var(--ink); font-weight: 600; }
.stat small { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; }
.section--green .stat { background: rgba(255,255,255,.08); box-shadow: none; border: 1px solid rgba(255,255,255,.25); }
.section--green .stat b { color: var(--gold); }
.section--green .stat span { color: var(--white); }
.section--green .stat small { color: rgba(255,255,255,.8); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats .stat:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Two doors (help / get help) */
.doors .door { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.door img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.door .card-body { display: flex; flex-direction: column; flex: 1; }
.door .btn { margin-top: auto; align-self: flex-start; }
.door p { margin-bottom: 18px; }

/* Campaign banner on home */
.basket-banner { background: var(--green); color: var(--white); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.basket-banner .bb-text { padding: clamp(28px, 5vw, 56px); }
.basket-banner h2 { color: var(--white); }
.basket-banner p { color: rgba(255,255,255,.9); }
.basket-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
@media (max-width: 900px) { .basket-banner { grid-template-columns: 1fr; } .basket-banner img { min-height: 220px; max-height: 300px; } }
.price-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0 18px; }
.price-chips a { text-decoration: none; text-align: center; background: var(--white); color: var(--ink); border: 2px solid transparent; border-radius: 14px; padding: 12px 6px; transition: transform .15s, border-color .15s; }
.price-chips a:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--ink); }
.price-chips a.is-star { background: var(--gold); }
.price-chips b { display: block; font: 800 1.55rem/1.1 var(--font-head); color: var(--green-dark); }
.price-chips span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; margin-top: 4px; }
.price-chips a.is-star span { color: var(--ink); }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-inline-start: 30px; }
.checks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.steps { counter-reset: step; }
.step-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; position: relative; }
.step-card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 1.2rem var(--font-head); margin-bottom: 14px; }
.step-card h3 { margin-bottom: 6px; }
.step-card p { margin: 0; color: var(--muted); }

/* Who we help (detailed rows) */
.who-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.who-row:last-child { border-bottom: 0; }
.who-row:nth-child(even) .who-media { order: 2; }
.who-media { background: var(--green-soft); border-radius: var(--radius); aspect-ratio: 4/3; display: grid; place-items: center; color: var(--green); overflow: hidden; }
.who-media svg { width: 34%; height: auto; }
.who-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .who-row { grid-template-columns: 1fr; } .who-row:nth-child(even) .who-media { order: 0; } .who-media { aspect-ratio: 16/9; } }

/* FAQ */
.faq { max-width: 820px; margin: 28px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 0 22px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Info box (address / hours) */
.info-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.info-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.info-line:last-child { margin-bottom: 0; }
.info-line svg { flex: none; width: 24px; height: 24px; color: var(--green); margin-top: 2px; }
.info-line b { display: block; font-family: var(--font-head); }

/* Partners */
.partner-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 32px; }
.partner-item { background: var(--white); border-radius: 14px; padding: 20px 22px; box-shadow: var(--shadow); border-inline-start: 4px solid var(--gold); }
.partner-item b { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--green-dark); }
.partner-item span { color: var(--muted); font-size: .94rem; }
.partner-item a { text-decoration: none; }

/* Values */
.values .icon-card { text-align: center; }

/* Forms */
.wform { display: grid; gap: 14px; }
.wform .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .wform .row { grid-template-columns: 1fr; } }
.wform label { display: grid; gap: 6px; font-size: .95rem; font-weight: 600; }
.wform input[type=text], .wform input[type=email], .wform input[type=tel], .wform textarea { width: 100%; padding: 12px 14px; border: 2px solid #C9C2B2; border-radius: 10px; font: inherit; background: var(--white); color: var(--ink); }
.wform input:focus, .wform textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(45,106,79,.25); }
.wform textarea { min-height: 140px; resize: vertical; }
.wform .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.wform label > span:first-child [aria-hidden] { color: #A3221A; }
.wform .err { color: #A3221A; font-size: .88rem; font-weight: 500; }
.wform .done { background: var(--green-soft); color: var(--green-dark); padding: 16px 18px; border-radius: 10px; font-weight: 600; }
.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 36px); }

/* Blog */
.post-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.post-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.post-card .card-body { display: flex; flex-direction: column; flex: 1; }
.post-card h3 { color: var(--green-dark); }
.post-card time { color: var(--muted); font-size: .86rem; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card:hover h3 { text-decoration: underline; }
.article { max-width: 760px; margin-inline: auto; }
.article .body img { border-radius: 10px; margin: 18px 0; height: auto; }
.article .body h2, .article .body h3 { margin-top: 1.4em; }
.article .meta { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }
.article .cover { border-radius: var(--radius); margin-bottom: 28px; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.skeleton { color: var(--muted); text-align: center; padding: 40px 0; grid-column: 1 / -1; }
.lang-note { background: var(--green-soft); color: var(--green-dark); border-radius: 10px; padding: 10px 16px; display: inline-block; font-size: .95rem; }

/* Prose (legal pages) */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.45rem; margin-top: 1.7em; }
.prose ul { padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
.prose .muted, .muted { color: var(--muted); }
.notice { background: #FFF4D6; border-inline-start: 4px solid var(--gold); padding: 12px 16px; border-radius: 8px; }

/* ---------- Donate: Fill a Basket ---------- */
.cur-switch { display: inline-flex; background: var(--white); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); margin-top: 8px; }
.cur-switch button { font: 700 1rem var(--font-head); border: 0; background: transparent; color: var(--ink); padding: 9px 20px; border-radius: 999px; cursor: pointer; min-width: 64px; }
.cur-switch button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.gift-cards { margin-top: 30px; gap: 22px; text-align: center; align-items: stretch; }
.gift-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .2s, box-shadow .2s; cursor: pointer; border: 0; margin: 0; }
.gift-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gift-body { padding: 20px 22px 24px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.gift-body p { color: var(--muted); margin-bottom: 14px; }
.gift-label { margin: 0 !important; font-family: var(--font-head); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--gold-text) !important; }
:lang(he) .gift-label { letter-spacing: 0; font-size: .95rem; }
.gift-amt { margin: 4px 0 8px !important; font-family: var(--font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--green-dark) !important; }
.gift-hint { font-size: .85rem; color: var(--muted); margin: -6px 0 12px !important; min-height: 1.3em; }
.gift-body .btn { margin-top: auto; width: 100%; }
.gift-card--star { outline: 3px solid var(--gold); outline-offset: -3px; }
.gift-badge { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; background: var(--gold); color: var(--ink); font: 700 .82rem var(--font-head); padding: 6px 12px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.gift-card.is-picked { transform: translateY(-4px); box-shadow: 0 0 0 4px var(--green), 0 18px 40px rgba(45,106,79,.3); }
.custom-gift { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 26px; text-align: start; }
.custom-gift h3 { margin: 0 0 4px; }
.custom-gift p { margin: 0; color: var(--muted); }
.basket-meter { max-width: 760px; margin: 18px auto 0; }
.bk-count { font-family: var(--font-head); font-size: 1.2rem; color: var(--green-dark); }
.bk-count b { font-size: 1.6rem; }
.bk-grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 6px; direction: ltr; }
[dir="rtl"] .bk-grid { direction: rtl; }
.bk { aspect-ratio: 1; background: #CFC8B8; -webkit-mask: var(--bk) center / contain no-repeat; mask: var(--bk) center / contain no-repeat;
  --bk: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 10h20v1.6h-1.1l-1.6 7.7A2.2 2.2 0 0 1 17.1 21H6.9a2.2 2.2 0 0 1-2.2-1.7L3.1 11.6H2z'/%3E%3Cpath d='M6.3 10 9.6 3.4l1.6.8L8.3 10zM17.7 10l-3.3-6.6-1.6.8 2.9 5.8z'/%3E%3C/svg%3E"); }
.bk.on { background: var(--gold); }
@media (max-width: 600px) { .bk-grid { grid-template-columns: repeat(10, 1fr); gap: 5px; max-width: 340px; margin: 0 auto; } }
.inside-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
@media (max-width: 900px) { .inside-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.goods-box { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; text-align: start; margin-top: 30px; background: var(--green-soft); border-radius: var(--radius); padding: 24px 28px; }
.goods-box h3 { margin-bottom: 6px; }
.goods-box p { margin: 0; }
.trust .icon-card { text-align: start; }
.us-donors { margin-top: 28px; background: var(--white); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.us-donors p { margin: 0; max-width: 640px; }
.basket-bar { display: none; }
@media (max-width: 760px) {
  .basket-bar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--green-dark); color: var(--white); font-size: .92rem; line-height: 1.3; box-shadow: 0 -6px 20px rgba(0,0,0,.2); }
  .basket-bar b { color: var(--gold); }
  .basket-bar .btn { flex: none; padding: 10px 16px; }
}

/* Footer */
.site-footer { background: var(--brown); color: rgba(255,255,255,.86); padding: 60px 0 28px; font-size: .96rem; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.foot-h { color: var(--gold); font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
:lang(he) .foot-h { letter-spacing: 0; font-size: 1.05rem; }
.foot-h + p { margin-bottom: 22px; }
.site-footer .cols { display: grid; gap: 36px; grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .tagline { font-family: var(--font-head); color: var(--white); font-size: 1.1rem; margin-top: 16px; }
.logo--footer { margin-bottom: 4px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.socials a:hover { background: var(--green); }
.socials svg { width: 20px; height: 20px; fill: var(--white); }
.lang-switch--foot { font-size: .95rem; gap: 6px; }
.lang-switch--foot a { border: 1px solid rgba(255,255,255,.3); padding: 6px 12px; }
.legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .88rem; }
.legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
body.has-bar .site-footer { padding-bottom: 90px; }

/* Giving form (donate page) */
.give-form { margin-top: 8px; }
.give-toggles { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 6px 0 4px; }
.seg { display: inline-flex; background: var(--white); border-radius: 999px; padding: 4px; box-shadow: var(--shadow); }
.seg button { font: 700 1rem var(--font-head); border: 0; background: transparent; color: var(--ink); padding: 10px 18px; border-radius: 999px; cursor: pointer; min-width: 52px; min-height: 44px; }
.seg button[aria-pressed="true"] { background: var(--green); color: var(--white); }
.gift-cards { border: 0; padding: 0; min-width: 0; }
.gift-body > span { display: block; }
.gift-line { color: var(--muted); margin-bottom: 12px; }
.gift-amt small { font-size: 1.1rem; font-weight: 700; margin-inline-start: 2px; }
.gift-check { margin-top: auto; font: 700 .95rem var(--font-head); color: var(--white); background: var(--green); border-radius: 10px; padding: 9px 16px; visibility: hidden; }
.gift-card.is-picked .gift-check { visibility: visible; }
.gift-card.is-picked { transform: translateY(-4px); box-shadow: 0 0 0 4px var(--green), 0 18px 40px rgba(45,106,79,.3); }
.gift-card:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.gift-card:hover { transform: translateY(-2px); }
.gift-other { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; justify-content: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 22px; cursor: pointer; border: 2px solid transparent; }
.gift-other.is-picked { border-color: var(--green); box-shadow: 0 0 0 2px var(--green), var(--shadow); }
.gift-other:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.gift-other.is-disabled { opacity: .55; cursor: not-allowed; }
.gift-other-note { color: var(--muted); font-size: .9rem; width: 100%; }
.give-go { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.btn--big { font-size: 1.2rem; padding: 18px 40px; min-width: min(420px, 100%); box-shadow: 0 10px 24px rgba(245,188,47,.45); }
.give-note { font-size: .92rem; max-width: 560px; margin: 0; }
@media (max-width: 600px) { .seg button { padding: 10px 14px; } .give-toggles { gap: 10px; } }

/* News: stories from Instagram */
.ig-block { margin-top: 40px; }
.ig-title { display: flex; align-items: center; justify-content: center; gap: 10px; }
.ig-title svg { width: 28px; height: 28px; color: var(--green); }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 18px; margin-top: 24px; }
.ig-card { display: flex; flex-direction: column; text-align: start; background: var(--white); border: 0; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; padding: 0; cursor: pointer; font: inherit; color: inherit; transition: transform .15s; }
.ig-card:hover { transform: translateY(-3px); }
.ig-thumb { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--sand); }
.ig-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ig-play { position: absolute; inset: 0; display: grid; place-items: center; }
.ig-play svg { width: 64px; height: 64px; padding: 16px; border-radius: 50%; background: rgba(20,40,30,.6); fill: var(--white); box-sizing: border-box; }
.ig-meta { display: block; padding: 14px 16px 18px; }
.ig-meta time { display: block; color: var(--muted); font-size: .85rem; margin-bottom: 4px; }
.ig-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .95rem; }
@media (max-width: 600px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .ig-meta { padding: 10px 12px 14px; } .ig-excerpt { font-size: .88rem; } }
.ig-modal { border: 0; padding: 0; border-radius: 18px; width: min(940px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; background: var(--white); color: var(--ink); }
.ig-modal[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ig-modal::backdrop { background: rgba(10,20,15,.75); }
.ig-media { background: #000; display: grid; place-items: center; max-height: calc(100vh - 32px); }
.ig-media video, .ig-media img { width: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
.ig-novideo { color: var(--white); padding: 10px 16px; margin: 0; font-size: .9rem; }
.ig-text { padding: 28px 26px; overflow-y: auto; max-height: calc(100vh - 32px); }
.ig-date { color: var(--muted); font-size: .9rem; }
.ig-body p { margin: 0 0 .9em; }
.ig-orig { margin-top: 18px; font-size: .9rem; }
.ig-close { position: absolute; top: 10px; inset-inline-end: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
@media (max-width: 760px) {
  .ig-modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .ig-modal[open] { grid-template-columns: 1fr; grid-template-rows: auto 1fr; overflow-y: auto; }
  .ig-media { max-height: 62dvh; }
  .ig-media video, .ig-media img { max-height: 62dvh; }
  .ig-text { max-height: none; overflow: visible; }
}

/* Partners page (for companies & organizations) */
.biz-ways a.icon-card { color: inherit; text-decoration: none; text-align: start; transition: transform .15s, box-shadow .15s; }
.biz-ways a.icon-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(45,106,79,.16); }
.biz-ways a.icon-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.biz-lists { margin-top: 32px; align-items: stretch; }
.biz-list { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; border-top: 4px solid var(--green); }
.biz-list--no { border-top-color: #b4533a; }
.ticks { list-style: none; padding: 0; margin: 12px 0 0; }
.ticks li { position: relative; padding-inline-start: 30px; margin: 10px 0; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D6A4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks--no li::before { background: #fbe9e4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4533a' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center/12px no-repeat; }
#team .ticks { margin-bottom: 8px; }
.biz-band { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: space-between; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; border-inline-start: 6px solid var(--gold); }
.biz-band > div { flex: 1 1 420px; }
.biz-band p { margin: 0; }
[id] { scroll-margin-top: 90px; }

/* Header dropdowns (desktop): open on hover, keyboard focus or click; on phones they are plain lists in the menu */
@media (min-width: 1081px) {
  .nav-group { position: relative; }
  .nav-top { display: flex; align-items: center; gap: 5px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .95rem; padding: 6px 0; cursor: pointer; white-space: nowrap; }
  .nav-top svg { width: 15px; height: 15px; transition: transform .15s; }
  .nav-top:hover, .nav-group.is-active .nav-top { border-bottom-color: var(--gold); }
  .nav-top:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
  .nav-sub { display: none; position: absolute; top: 100%; inset-inline-start: -18px; margin-top: 12px; min-width: 230px; flex-direction: column; background: var(--white); border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.18); padding: 8px; z-index: 60; }
  .nav-sub::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
  .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub, .nav-group.open .nav-sub { display: flex; }
  .nav-group:hover .nav-top svg, .nav-group.open .nav-top svg { transform: rotate(180deg); }
  .nav .nav-sub a { color: var(--ink); padding: 10px 14px; border-radius: 9px; border-bottom: 0; font-size: .95rem; }
  .nav .nav-sub a:hover, .nav .nav-sub a[aria-current="page"] { background: var(--green-soft); color: var(--green); }
}

.btn-wa { display: inline-flex; align-items: center; gap: 8px; }
.btn-wa .wa-ic { width: 20px; height: 20px; flex: none; }
.amuta-no { color: var(--green); }
.btn--wa { background: #1f7a4d; color: #fff; }
.btn--wa:hover { background: #17633e; color: #fff; }
.door .btn-row .btn { margin-top: 0; }
