/* 4Shalom - shared look of every page (colors and fonts of the 2026 www.4shalom.co.il). */
:root {
  --navy: #1a3a4a; --navy-dark: #0f2a38; --navy-light: #2a6080; --gold: #e8a020; --gold-dark: #c8881a;
  --ink: #222; --soft: #5d6b73; --grey-bg: #f8f8f6; --cream: #fffbf0; --line: #ddd; --link: #1a6b9a;
  --pill-bg: #fff; --pill-line: #b0d4e4; --mark: #fff4c4;
  /* soft section backgrounds - each home-page section its own color, warm and cool in turn (Simcha 20 Oct) */
  --bg-sky: #e8f1f8; --bg-gold: #fbf2d9; --bg-sage: #e9f3e8; --bg-blush: #f9ebe8; --bg-lavender: #efeafa;
  --bg-peach: #fdeedd; --bg-aqua: #e3f3f1;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 70px; }
body { margin: 0; font-family: Georgia, serif; color: var(--ink); background: #fff; line-height: 1.7; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 6px 10px; border-radius: 6px; }

/* marks for the pilot only - removed before going live */
.draft { display: inline-block; font: 600 11px "Segoe UI", Arial, sans-serif; background: var(--mark); color: #5a4500;
         border-radius: 8px; padding: 1px 8px; vertical-align: middle; margin-left: 6px; letter-spacing: .3px; }

/* ---- header and menu ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hdr { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 8px 16px; position: relative; min-height: 58px; }
.logo { font-weight: 700; font-size: 1.4rem; letter-spacing: 1px; color: #fff; text-decoration: none; white-space: nowrap; }
.navwrap { display: flex; align-items: center; gap: 12px; flex: 1; }
.menu { display: flex; gap: 2px; list-style: none; margin: 0 auto 0 8px; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button { color: #fff; background: none; border: 0; font: 15px Georgia, serif; padding: 8px 10px; cursor: pointer;
                        text-decoration: none; display: block; border-radius: 6px; white-space: nowrap; }
.menu a:hover, .menu button:hover, .menu a:focus-visible, .menu button:focus-visible { background: rgba(255,255,255,.14); outline: none; }
.menu [aria-current="page"], .menu .here { box-shadow: inset 0 -2px 0 var(--gold); }
.sub { display: none; position: absolute; left: 0; top: 100%; background: #fff; min-width: 270px; border-radius: 8px;
       box-shadow: 0 10px 30px rgba(0,0,0,.22); padding: 6px; list-style: none; margin: 0; }
.sub a { color: var(--navy); white-space: normal; }
.sub a:hover, .sub a:focus-visible { background: #eef4f7; }
.sub .soon { color: #8a979e; font-size: 14px; padding: 6px 10px; display: block; }
.menu li.open > .sub { display: block; }
/* end-of-page buttons on event and workshop pages (23 Oct 2026) */
.end-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; padding: 1.6rem 1rem 2rem; }
.end-nav .btn { margin: 0; }
.end-nav.small { padding: 1.2rem 0 0; }
.end-nav.small .btn { font-size: .9rem; padding: .45rem 1rem; }
/* a group label inside a submenu, with its items indented (Lectures, 23 Oct 2026) */
.sub .grp { padding: 8px 10px 2px; font: 600 13px "Segoe UI", Arial, sans-serif; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .5px; }
.sub .in a { padding-left: 24px; }
.donate { background: var(--gold); color: #fff; font-weight: 700; border-radius: 20px; padding: 6px 18px; text-decoration: none; white-space: nowrap; }
.donate:hover, .donate:focus-visible { background: var(--gold-dark); outline: none; }
.langs { display: flex; gap: 5px; }
.langs button { font: 12px Georgia, serif; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff;
                border-radius: 20px; padding: 3px 10px; }
.langs button.on { background: var(--gold); border-color: var(--gold); }
.langs button:disabled { opacity: .55; }
/* wide screens: only the language buttons smaller and stacked, so all three fit next to the menu (Simcha 23 Oct 2026) */
@media (min-width: 1251px) {
  .langs { flex-direction: column; gap: 2px; flex: none; }
  .langs button { font-size: 10.5px; padding: 1px 7px; line-height: 1.3; }
}
.burger { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 6px;
          padding: 2px 11px; font-size: 22px; cursor: pointer; }
/* the "Book an Event" button in the contact line (Simcha 23 Oct 2026) */
.contact-bar a.cb-book { display: inline-block; margin: 0 .3rem; padding: 1px 12px; border-radius: 999px; background: var(--gold); color: #222;
                         font-weight: 600; text-decoration: none; white-space: nowrap; }
.contact-bar a.cb-book:hover, .contact-bar a.cb-book:focus-visible { background: #ffd27a; outline: none; }
.contact-bar { background: var(--navy-dark); color: #cde; text-align: center; padding: .45rem 1rem; font-size: .85rem; }
.contact-bar a { color: #7fc9e8; }
@media (max-width: 1250px) {   /* was 1150 - the menu has more items now (23 Oct 2026) */
  .burger { display: block; }
  .navwrap { display: none; }
  .site-header.open .navwrap { display: flex; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0;
                               top: 100%; background: var(--navy); padding: 8px 16px 16px; gap: 10px; box-shadow: 0 8px 16px rgba(0,0,0,.3); }
  .site-header.open .menu { flex-direction: column; margin: 0; }
  .sub { position: static; box-shadow: none; background: transparent; padding: 0 0 0 14px; }
  .sub a { color: #fff; }
  .sub a:hover, .sub a:focus-visible { background: rgba(255,255,255,.14); }
  .sub .soon { color: #9fb3bd; }
  .sub .grp { color: #ffd27a; }
  .donate { align-self: flex-start; }
}

/* ---- common blocks ---- */
.section { padding: 4rem 1.25rem; }
.section.grey { background: var(--grey-bg); }
.section.cream { background: var(--cream); border-top: 3px solid var(--gold); }
.bg-sky { background: var(--bg-sky); }        .bg-gold { background: var(--bg-gold); }
.bg-sage { background: var(--bg-sage); }      .bg-blush { background: var(--bg-blush); }
.bg-lavender { background: var(--bg-lavender); } .bg-peach { background: var(--bg-peach); }
.bg-aqua { background: var(--bg-aqua); }      .gold-top { border-top: 3px solid var(--gold); }
.inner { max-width: 900px; margin: 0 auto; }
.center { text-align: center; }
h2.title { font-size: 1.8rem; font-weight: normal; color: var(--navy); margin: 0 0 .5rem; line-height: 1.3; }
.intro { font-size: 1rem; color: #555; max-width: 640px; margin: 0 auto 2.2rem; }
.btn { display: inline-block; background: var(--gold); color: #fff; padding: .75rem 1.8rem; border-radius: 4px; font-size: 1rem;
       text-decoration: none; margin: .3rem; border: 2px solid var(--gold); }
.btn:hover, .btn:focus-visible { background: var(--gold-dark); border-color: var(--gold-dark); outline: none; }
.btn.light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn.light:hover, .btn.light:focus-visible { background: rgba(255,255,255,.12); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn.outline:hover, .btn.outline:focus-visible { background: var(--navy); color: #fff; }
.btn.whatsapp { background: #1f9d55; border-color: #1f9d55; }
.btn.whatsapp:hover, .btn.whatsapp:focus-visible { background: #17803f; border-color: #17803f; }

/* ---- home page ---- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; text-align: center; padding: 4.5rem 1.25rem 4rem; }
.hero h1, .hero .hero-title { font-size: 2.8rem; margin: 0 0 .4rem; font-weight: normal; line-height: 1.2; }
.hero.short { padding: 3.5rem 1.25rem 3rem; }
.hero .subtitle.big { font-size: 1.25rem; margin-bottom: 0; }
.hero .tagline { font-size: 1.3rem; opacity: .9; margin: 0 0 1.6rem; }
.hero .subtitle { font-size: 1.05rem; opacity: .9; max-width: 680px; margin: 0 auto 2.2rem; line-height: 1.8; }
/* "This site is still in development" - top right of the first panel (Simcha 21 Oct 2026); remove when the site is finished */
.hero.short { position: relative; }
.dev-note { position: absolute; top: 14px; right: 16px; margin: 0; background: #ffd23f; color: #3a2a00;
            font: 600 14px "Segoe UI", Arial, sans-serif; padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
@media (max-width: 520px) { .dev-note { position: static; display: inline-block; margin: -1.5rem 0 1rem; } }

/* three cards near the top: Human Jukebox, Events, Lectures & Workshops */
.features { padding: 3rem 1.25rem; }
.feature-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: minmax(0, 1fr); } }
.feature { background: var(--cream); border: 2px solid var(--gold); border-radius: 14px; padding: 1.4rem 1.2rem; display: flex;
           flex-direction: column; text-align: center; }
.feature .pic, .feature .ph-pic { display: block; width: 62%; max-width: 220px; margin: 0 auto 1.1rem; }
.feature img { display: block; width: 100%; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.feature .eyebrow { margin: 0 0 .3rem; color: var(--gold-dark); font: italic 600 1rem Georgia, serif; line-height: 1.4; }
.feature h2 { margin: 0 0 .7rem; font-size: 1.55rem; font-weight: normal; color: var(--navy); line-height: 1.25; }
.feature p { font-size: 1.02rem; margin: 0 0 1rem; line-height: 1.6; }
.feature .actions { margin-top: auto; display: flex; flex-direction: column; gap: .55rem; }
.feature .actions .btn { margin: 0; line-height: 1.4; }
.feature.placeholder { background: #fafafa; border: 2px dashed #b9c2c7; }
/* the Events card: Dr. Simcha's photo in a gold circle; the event kinds as steps, each a little more indented (Simcha 21 Oct 2026) */
.feature .circle-photo { width: 170px; height: 170px; object-fit: cover; object-position: 50% 25%; border-radius: 50%;
                         border: 5px solid var(--gold); margin: 0 auto 1rem; }
/* NEW HOME PAGE parts (Simcha 23 Oct 2026): quick tiles, poster row, "Read more" */
.quick-sec { padding-top: 2rem; padding-bottom: 2rem; }
.quick { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .7rem; }
@media (max-width: 960px) { .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 480px) { .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
                            .quick a.book { grid-column: 1 / -1; } }   /* phone: Book an Event across the last row */
.quick a.book { background: var(--gold); color: #222; }
.quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; min-height: 96px; padding: .8rem .5rem;
           background: #fff; border: 2px solid var(--gold); border-radius: 14px; color: var(--navy); text-decoration: none; text-align: center;
           font-size: 1rem; line-height: 1.25; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.quick a span { font-size: 1.8rem; line-height: 1; }
.quick a:hover, .quick a:focus-visible { background: #fff8e6; outline: 3px solid #ffbf00; }
.poster-row { max-width: 1000px; margin: 0 auto 1.2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 760px) { .poster-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.poster-row a { display: flex; flex-direction: column; gap: .4rem; text-decoration: none; color: var(--navy); text-align: center; font-size: .95rem; line-height: 1.3; }
.poster-row img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.poster-row a:hover img, .poster-row a:focus-visible img { outline: 3px solid #ffbf00; }
details.more-text summary { cursor: pointer; display: inline-block; margin: .3rem 0 1rem; padding: .45rem 1.2rem; border-radius: 999px;
                            background: var(--gold); color: #222; font-weight: 600; list-style: none; }
details.more-text summary::-webkit-details-marker { display: none; }
details.more-text[open] summary { display: none; }
/* home cards (Simcha 23 Oct 2026): larger Jukebox poster; square photo and calm background; centered Lectures card */
.feature .pic.big { width: 92%; max-width: 340px; }
.feature.calm { background: linear-gradient(180deg, #eaf5f1, #dceee9); border-color: #8fc4b3; }
.feature .square-photo { width: 200px; height: 200px; object-fit: cover; object-position: 50% 25%; border-radius: 10px;
                         margin: 0 auto 1rem; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.feature h2.name-gap { margin-bottom: 1.3rem; }
/* middle card: dark blue text, even spacing, a musical picture (23 Oct 2026) */
.feature.calm, .feature.calm p, .feature.calm li, .feature.calm h2 { color: var(--navy); }
.feature.calm .music-pic { width: 100%; max-width: 320px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin: 0 auto 1.1rem; }
.feature.calm .music-pic.portrait { width: 70%; max-width: 230px; aspect-ratio: 3 / 4; object-position: 50% 15%; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.feature.calm h2 { margin-bottom: .2rem; }
.feature.calm .sub-line { font-size: 1.15rem; font-style: italic; margin-bottom: 1.2rem; }
.feature.calm p { margin-bottom: 1.1rem; }
.feature.calm .stair { margin-bottom: 1.2rem; }
.feature.calm .goal { margin-bottom: 1.4rem; }
section.dark .feature.calm p, section.dark .feature.calm h2 { color: var(--navy); }
.feature .sub-line { font-size: 1.15rem; color: var(--navy); margin-bottom: .6rem; }
.feature.centered .gap-small { margin-top: .4rem; }
.feature.centered .gap-after { margin-bottom: 1.6rem; font-style: italic; }
.feature .stair { list-style: none; padding: 0; margin: 0 0 1rem; font-size: 1.02rem; line-height: 1.6; align-self: center; text-align: left; }
.feature .stair li:nth-child(2) { padding-left: 1.2rem; }
.feature .stair li:nth-child(3) { padding-left: 2.4rem; }
.feature .stair li:nth-child(4) { padding-left: 3.6rem; }
.feature .goal { font-style: italic; }
.feature.placeholder .eyebrow { color: #8a979e; }
.ph-pic { aspect-ratio: 2 / 3; border: 2px dashed #c9d1d5; border-radius: 8px; display: flex !important; align-items: center;
          justify-content: center; color: #8a979e; font: 14px "Segoe UI", Arial, sans-serif;
          background: repeating-linear-gradient(45deg, #f1f3f4 0 10px, #fafafa 10px 20px); }

/* each item on its own line, no bullets (Simcha 23 Oct 2026) */
.parts { list-style: none; padding: 0; margin: 1.2rem auto 1.4rem; display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.parts li { font-size: 1.35rem; color: var(--navy); }
.lead { font-size: 1.15rem; max-width: 720px; margin: 0 auto 1rem; }

/* Uniquely Created Experiences: all 9 cards in one row on wide screens (Simcha 20 Oct), fewer per row on smaller ones */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; max-width: 1400px; margin: 0 auto; }
.card { flex: 0 0 calc((100% - 6rem) / 9); min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px;
        padding: 1rem .55rem; text-align: center; }
@media (max-width: 1300px) { .card { flex-basis: calc((100% - 3rem) / 5); } }
@media (max-width: 900px)  { .card { flex-basis: calc((100% - 1.5rem) / 3); } }
@media (max-width: 600px)  { .card { flex-basis: calc((100% - .75rem) / 2); } }
.card .icon { font-size: 1.9rem; margin-bottom: .4rem; }
.card h3 { font-size: .95rem; color: var(--navy); margin: 0 0 .4rem; line-height: 1.3; }
.card h3 a { color: var(--navy); }
.card p { font-size: .82rem; color: #666; line-height: 1.45; margin: 0; }

.prose { max-width: 760px; margin: 0 auto; }
.prose p { font-size: 1.02rem; margin: 0 0 1rem; }
h2.title.big { font-size: 2.1rem; margin-bottom: .2rem; }
h2.title .or-line { font-size: .7em; font-style: italic; }    /* a smaller middle line in a title, e.g. "or as part of" */
.prose p.byline { font-size: 1.15rem; font-style: italic; color: var(--gold-dark); margin: 0 0 2rem; }
.subtitle-h { font-size: 1.35rem; font-weight: normal; color: var(--navy); margin: 0 0 1rem; }

.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.pill { background: var(--pill-bg); border: 1px solid var(--pill-line); border-radius: 30px; padding: .5rem 1.2rem; font-size: .95rem; color: var(--navy); }

.about { background: #1d4a35; color: #e8f2ec; }   /* deep green (the poster's dark green family) - differs from the dark-blue block above it */
.about h2 { font-size: 1.8rem; font-weight: normal; margin: 0 0 .3rem; }
.about .credentials { font-size: .9rem; opacity: .75; margin: 0 0 1.5rem; font-style: italic; }
.about p { font-size: 1rem; line-height: 1.8; opacity: .92; margin: 0 0 1rem; }
.about a { color: #ffd27a; }

.counts { max-width: 820px; margin: 1.5rem auto; }
.total { font-size: 3rem; color: var(--gold-dark); line-height: 1.1; margin: .4rem 0 0; }
.count-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: 1.2rem; }  /* 4 over 4 (Simcha 21 Oct) */
@media (max-width: 600px) { .count-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.count-grid div { background: #fff; border: 1px solid #eadfc6; border-radius: 10px; padding: .6rem .5rem; }
.count-grid b { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.2; }
.count-grid span { font-size: .9rem; color: #555; }

.contact-details { font-size: 1.1rem; line-height: 2; }

/* a section with a DARK background: light text (cards inside keep their own dark text) */
section.dark { color: #f3f6f8; }
section.dark h2.title, section.dark .subtitle-h, section.dark .parts li, section.dark h2 { color: #fff; }
section.dark .intro, section.dark .lead, section.dark .prose p, section.dark .counts p, section.dark .contact-details, section.dark > p,
section.dark .inner > p { color: #eef2f5; }
section.dark .byline, section.dark .total { color: #ffd27a !important; }
section.dark a:not(.btn) { color: #ffd27a; }
section.dark .card, section.dark .feature, section.dark .count-grid div { color: var(--ink); }
section.dark .card h3, section.dark .card h3 a, section.dark .feature h2, section.dark .count-grid b { color: var(--navy); }
section.dark .card p { color: #666; }
section.dark .feature p { color: var(--ink); }
section.dark .feature .eyebrow { color: var(--gold-dark); }
section.dark .feature.placeholder .eyebrow { color: #8a979e; }
section.dark .count-grid span { color: #555; }

/* ---- THE SITE'S COLORS (Simcha 21 Oct 2026): "try 2" = set A with his changes. The other sets stay in the preview
        color box for changing later. 'section.' wins over .hero ---- */
section.c-hero      { background: linear-gradient(135deg, #1a3a4a 0%, #0e3dc7 100%); }   /* opening + Get in Touch (A's blues, reversed) */
section.c-gold      { background: #f6d77f; }   /* Uniquely Created Experiences, Event Themes */
section.c-royal     { background: #0e3dc7; }   /* Joy, Inspirational - the lighter blue of the opening */
section.c-sky       { background: #cfdcff; }   /* the 3 cards - as in A */
section.c-orange    { background: #ffa726; }   /* Music & Singing - a happier, brighter orange */
section.c-bordeaux  { background: linear-gradient(135deg, #76162e 0%, #4a0f1e 100%); }   /* the opening copy (as in A) */
/* About keeps its deep green (.about) */
/* when the preview box puts ORANGE behind Music & Singing: dark button and numbers (gold would vanish on orange) */
section.on-orange .btn { background: var(--navy); border-color: var(--navy); color: #fff; }
section.on-orange .btn:hover, section.on-orange .btn:focus-visible { background: #0f2a38; border-color: #0f2a38; }
section.on-orange .total { color: var(--navy); }
section.on-orange .intro, section.on-orange .counts p { color: #2b2118; }
section.on-orange .count-grid div { background: #dbe5ff; border-color: #9fb6ff; }   /* blue boxes, blue numbers and text */
section.on-orange .count-grid b { color: #0e3dc7; }
section.on-orange .count-grid span { color: #12357e; }

footer.site { background: var(--navy-dark); color: #aaa; text-align: center; padding: 1.5rem 1rem; font-size: .9rem; }
footer.site a { color: #cfe6f1; }

@media (max-width: 680px) { .hero h1, .hero .hero-title { font-size: 2rem; } .section { padding: 3rem 1rem; } }
