/* 4Shalom - the phase-2 pages: About, Membership, Watch & Listen, Donate (layouts with placeholders, 20 Oct 2026). */
.page-head { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); color: #fff; text-align: center; padding: 3rem 1.25rem 2.5rem; }
.page-head h1 { font-size: 2.4rem; font-weight: normal; margin: 0 0 .4rem; line-height: 1.2; }
.page-head p { font-size: 1.15rem; opacity: .92; margin: 0 auto; max-width: 780px; }
.wrap { max-width: 1100px; margin: 0 auto; }

/* placeholders: what is still missing */
.ph-box { border: 2px dashed #c9d1d5; border-radius: 10px; display: flex; align-items: center; justify-content: center; text-align: center;
          color: #7c8a91; font: 14px "Segoe UI", Arial, sans-serif; padding: 12px;
          background: repeating-linear-gradient(45deg, #f1f3f4 0 10px, #fafafa 10px 20px); }
.ph-note { display: inline-block; font: 600 12px "Segoe UI", Arial, sans-serif; background: var(--mark); color: #5a4500;
           border-radius: 8px; padding: 2px 9px; margin: .2rem 0 .6rem; line-height: 1.5; }
.btn.disabled { background: #dcdcdc; border-color: #dcdcdc; color: #666; pointer-events: none; }

/* About */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.about-grid > .ph-box { aspect-ratio: 3 / 4; }
@media (max-width: 760px) { .about-grid { grid-template-columns: minmax(0, 1fr); } .about-grid > .ph-box { max-width: 280px; width: 100%; margin: 0 auto; } }
.about-text h2 { color: var(--navy); font-weight: normal; font-size: 1.8rem; margin: 0 0 .2rem; }
.about-text .credentials { color: var(--soft); font-style: italic; margin: 0 0 1.2rem; }
.about-text p { font-size: 1.03rem; margin: 0 0 1rem; }
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.book { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem; display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; }
.book .ph-box { aspect-ratio: 2 / 3; padding: 4px; font-size: 12px; }
.book { grid-template-columns: 110px 1fr; }
/* book cover graphics (Simcha 22 Oct 2026) */
.cover { aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center;
         text-align: center; color: #fff; background: linear-gradient(160deg, #1a3a4a, #0f2430); box-shadow: inset 6px 0 0 rgba(0,0,0,.25), 0 6px 14px rgba(0,0,0,.25);
         font-family: Georgia, "Times New Roman", serif; }
.cover.teal { background: linear-gradient(160deg, #1f5f66, #123b40); }
.cover .c-top { font-size: 11px; line-height: 1.25; font-weight: bold; letter-spacing: .3px; margin-top: 6px; }
.cover .c-band { width: 70%; height: 3px; background: var(--gold); margin: 9px 0; border-radius: 2px; }
.cover .c-sub { font-size: 10px; line-height: 1.25; color: #f3d48a; font-style: italic; }
.cover .c-author { margin-top: auto; font-size: 9px; letter-spacing: .5px; text-transform: uppercase; opacity: .9; }
.book h3 { margin: 0 0 .3rem; color: var(--navy); font-size: 1.1rem; }
.book p { margin: 0 0 .4rem; font-size: .95rem; }

/* Membership */
.m-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
@media (max-width: 960px) { .m-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } }
.m-card { background: #fff; border: 2px solid var(--gold); border-radius: 14px; padding: 1.5rem 1.3rem; display: flex; flex-direction: column; }
.m-card .tag { font: 700 12px "Segoe UI", Arial, sans-serif; letter-spacing: .8px; text-transform: uppercase; color: var(--gold-dark); margin: 0 0 .3rem; }
.m-card h2 { margin: 0 0 .8rem; font-weight: normal; color: var(--navy); font-size: 1.6rem; line-height: 1.25; }
.m-card ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.m-card li { margin: .3rem 0; }
.m-card p { margin: 0 0 1rem; }
.m-card .levels { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0 0 1rem; }
.m-card .level { background: var(--bg-sky); border-radius: 10px; padding: .7rem .8rem; font-size: .95rem; line-height: 1.5; }
.m-card .level b { display: block; color: var(--navy); }
.m-card .actions { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; }
.m-card .actions .btn { margin: 0; text-align: center; line-height: 1.4; }
.m-card.amuta { border-color: #b9c2c7; }
.small-note { font-size: .92rem; color: var(--soft); text-align: center; margin: 1.5rem auto 0; max-width: 780px; }

/* Watch & Listen */
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.video-ph { aspect-ratio: 16 / 9; background: #0f1c24; color: #cfe0ea; border-radius: 10px; display: flex; flex-direction: column;
            align-items: center; justify-content: center; text-align: center; font: 14px "Segoe UI", Arial, sans-serif; padding: 10px; }
.video-ph .play { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center;
                  justify-content: center; font-size: 24px; margin-bottom: 8px; }
.v-item h3 { font-size: 1.05rem; color: var(--navy); margin: .6rem 0 .2rem; font-weight: normal; }
.v-item p { margin: 0; font-size: .9rem; color: var(--soft); }
a.v-item { display: block; text-decoration: none; background: #fff; border-radius: 12px; padding: .7rem .7rem 1rem;
           box-shadow: 0 4px 14px rgba(0,0,0,.08); }
a.v-item:hover, a.v-item:focus-visible { box-shadow: 0 8px 24px rgba(0,0,0,.16); outline: 3px solid #ffbf00; }
a.v-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }

/* YouTube section: cards that point to YouTube, and the channel button */
.btn.youtube { background: #c4302b; border-color: #c4302b; color: #fff; }
.btn.youtube:hover, .btn.youtube:focus-visible { background: #9e2420; border-color: #9e2420; }
.btn.youtube.disabled { background: #dcdcdc; border-color: #dcdcdc; color: #666; }   /* until the channel address is known */
.video-ph.yt { background: #2a1414; }
.yt-tag { display: inline-block; margin-top: .4rem; font: 600 13px "Segoe UI", Arial, sans-serif; color: #c4302b; }
div.v-item.yt-card { background: #fff; border-radius: 12px; padding: .7rem .7rem 1rem; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.yt-play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 8px;
           overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; }
.yt-play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.yt-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 46px; border-radius: 12px;
          background: rgba(196, 48, 43, .92); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.yt-play:hover .yt-btn, .yt-play:focus-visible .yt-btn { background: #c4302b; transform: translate(-50%, -50%) scale(1.08); }
.yt-play:focus-visible { outline: 3px solid #ffbf00; outline-offset: 2px; }
.yt-card .player { border-radius: 8px; box-shadow: none; }

/* one video's own page (Cloudflare Stream player + sharing) */
.video-page { max-width: 960px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 8px 28px rgba(0,0,0,.25); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.2rem 0 2rem; }
.share .btn { margin: 0; }
.share .copied { color: var(--navy); font: 600 14px "Segoe UI", Arial, sans-serif; }
.more-videos { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.more-videos li { margin: .35rem 0; }
.pods { display: grid; gap: 1rem; max-width: 760px; margin: 0 auto; }
.pod { background: #fff; border: 1px dashed #b9c2c7; border-radius: 10px; padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; }
.pod .ph-box { width: 72px; height: 72px; flex: none; padding: 4px; font-size: 11px; }

/* Lectures & Workshops */
.crumbs { max-width: 1100px; margin: 14px auto 0; padding: 0 16px; font-size: 14px; color: var(--soft); }
.crumbs a { color: var(--soft); }
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 1.5rem; }
@media (max-width: 760px) { .audiences { grid-template-columns: minmax(0, 1fr); } }
.audiences div { background: #fff; border-radius: 12px; padding: 1rem 1.1rem; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.audiences.one { grid-template-columns: minmax(0, 360px); justify-content: center; }
.ws-list { display: grid; gap: 1.2rem; }
.audiences b { display: block; font-size: 1.15rem; color: var(--navy); font-weight: normal; }
.audiences span { display: block; margin-top: .3rem; color: var(--soft); }
.created { margin: 0; font-size: 1.05rem; }
.created small { color: #5a4a20; }
.prose h3 { color: var(--navy); font-weight: normal; font-size: 1.25rem; margin: 1.4rem 0 .4rem; }
section.dark .prose h3 { color: #fff; }
ol.nice { padding-left: 1.6rem; margin: 0 0 1rem; }
ol.nice > li { margin: .45rem 0; font-size: 1.02rem; }
ol.nice ol { margin: .4rem 0 .2rem; padding-left: 1.4rem; }
ol.nice ol li { margin: .2rem 0; }
.prose ul, .prose ol[type="a"] { margin: 0 0 1rem; padding-left: 1.6rem; }
.prose ul li, .prose ol[type="a"] li { margin: .35rem 0; }
.ws-list { max-width: 900px; }
.ws-card { display: grid; grid-template-columns: 90px 1fr; gap: 1.2rem; align-items: center; background: #fff; border-radius: 14px;
           padding: 1.4rem; text-decoration: none; color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.ws-card:hover, .ws-card:focus-visible { box-shadow: 0 8px 24px rgba(0,0,0,.16); outline: 3px solid #ffbf00; }
.ws-icon { font-size: 3rem; text-align: center; }
.ws-card h2 { margin: .1rem 0 .3rem; color: var(--navy); font-weight: normal; font-size: 1.45rem; line-height: 1.3; }
.ws-card p { margin: 0 0 .5rem; }
.ws-for { color: var(--gold-dark); font: 600 13px "Segoe UI", Arial, sans-serif; letter-spacing: .5px; text-transform: uppercase; }
.ws-more { color: var(--link); font-weight: 600; }
@media (max-width: 560px) { .ws-card { grid-template-columns: minmax(0, 1fr); } .ws-icon { text-align: left; } }

/* Lectures & Workshops by audience, the workshop pages, and their shared end block (Simcha 21 Oct 2026) */
[hidden] { display: none !important; }
.page-head .avail { margin: .9rem auto 0; font-size: 1rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.2rem auto 0; max-width: 940px; }
.jump a { background: #fff; color: var(--navy); border-radius: 999px; padding: .35rem .9rem; text-decoration: none;
          font: 600 14px "Segoe UI", Arial, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.jump .break { flex-basis: 100%; height: 0; }   /* the jump buttons in two lines (Simcha 21 Oct 2026) */
@media (min-width: 641px) { .jump .break.phone-only { display: none; } }   /* this break only on phones (23 Oct 2026) */
.ws-section { padding: 2.4rem 1.25rem; scroll-margin-top: 70px; }
.ws-section > h2 { color: var(--navy); font-weight: normal; font-size: 1.75rem; margin: 0 0 .2rem; text-align: center; line-height: 1.3; }
.ws-section > .for { text-align: center; color: var(--soft); margin: 0 auto 1.3rem; max-width: 760px; }
.ws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; max-width: 1000px; margin: 0 auto; }
.ws-grid .ws-card { grid-template-columns: 56px 1fr; padding: 1.1rem 1.2rem; align-items: start; }  /* headings in a row start at the same height (Simcha 21 Oct) */
.ws-grid .ws-icon { font-size: 2.2rem; }
.ws-grid.ws-top { grid-template-columns: minmax(0, 420px); justify-content: center; margin-bottom: 1.1rem; }   /* one card, centered on top (23 Oct 2026) */
.ws-card h3 { margin: .1rem 0 .3rem; color: var(--navy); font-weight: normal; font-size: 1.25rem; line-height: 1.3; }
.quote { background: #fff; border-left: 5px solid var(--gold); border-radius: 10px; margin: 1.2rem auto 0; padding: 1rem 1.2rem;
         max-width: 760px; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.quote p { margin: 0 0 .4rem; font-size: 1.08rem; font-style: italic; }
.quote cite { font-style: normal; color: var(--soft); font-size: .92rem; }
.quotes { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1000px; margin: 0 auto; }
.quotes .quote { margin: 0; }
ul.ticks { list-style: none; padding-left: 0; }
ul.ticks li { padding-left: 1.7rem; position: relative; margin: .5rem 0; font-size: 1.03rem; }
ul.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold-dark); font-weight: 700; }
.v-grid.one { grid-template-columns: minmax(0, 560px); justify-content: center; }
.ws-end { background: var(--bg-sky); }
.ws-end .wrap { max-width: 900px; display: grid; gap: 1.4rem; }
.end-note { background: #fff; border-radius: 12px; padding: 1rem 1.2rem; }
.end-note p { margin: .3rem 0; }
.end-note .avail { margin-top: .7rem; font-weight: 600; color: var(--navy); }
.end-about { display: grid; grid-template-columns: 112px 1fr; gap: 1.1rem; align-items: start; }
.end-about img { width: 112px; height: auto; border-radius: 50%; }
.end-about h2 { margin: 0 0 .3rem; color: var(--navy); font-weight: normal; font-size: 1.4rem; }
.creds { list-style: none; padding: 0; margin: 0 0 .6rem; }
.creds li { margin: .15rem 0; }
.cv-links { font-weight: 600; }
.cv-links a { white-space: nowrap; }
.page-head .cv-links a { color: #fff; }
.end-contact { text-align: center; }
.end-contact .copy { font-size: .85rem; color: var(--soft); margin-top: 1rem; }
@media (max-width: 560px) { .end-about { grid-template-columns: minmax(0, 1fr); } .end-about img { margin: 0 auto; } }
.about-photo { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.welcome { font-size: 1.1rem; }
@media print { .site-header, .contact-bar, footer.site, .skip, .no-print, .end-contact .btn { display: none !important; } }

/* an event page with its poster, and video language tags (21 Oct 2026) */
.ev-one { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 2rem; align-items: start; max-width: 1000px; }
@media (max-width: 760px) { .ev-one { grid-template-columns: minmax(0, 1fr); } }
.ev-poster { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.ev-text .lines { font-size: 1.3rem; color: var(--navy); line-height: 1.6; margin-top: 0; }
.free-note { background: #fff8e1; border: 2px solid var(--gold); border-radius: 12px; padding: 1rem 1.2rem; margin: 1rem 0 1.4rem; }
.free-note p { margin: .25rem 0; }
.ev-text .lines-he { font: 1.2rem/1.6 Arial, "Segoe UI", sans-serif; color: var(--navy); text-align: right; margin-top: -.4rem; }   /* 23 Oct 2026 */
.ev-text .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.ev-text .actions .btn { margin: 0; }
.lang-tag { display: inline-block; margin: .2rem 0 .3rem; font: 600 12px "Segoe UI", Arial, sans-serif; color: var(--navy);
            background: var(--bg-sky); border-radius: 999px; padding: 1px 9px; }
/* the YouTube channel card on Watch & Listen (Simcha 22 Oct 2026) */
.yt-channel { display: flex; align-items: center; gap: 1.4rem; max-width: 760px; margin: 1rem auto 1.5rem; padding: 1rem 1.4rem;
              background: #fff; border-radius: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.08); color: var(--navy); text-decoration: none; }
.yt-channel:hover, .yt-channel:focus-visible { box-shadow: 0 6px 20px rgba(0,0,0,.16); }
.yt-channel .yt-channel-pic { flex: none; align-self: flex-start; }
.yt-sections { display: flex; flex-direction: column; gap: .15rem; margin-top: .9rem; padding-top: .7rem; border-top: 1px solid #e6eaed; font-size: .98rem; }
.yt-sections b { margin-top: .4rem; color: var(--gold-dark); font: 600 .8rem "Segoe UI", Arial, sans-serif; text-transform: uppercase; letter-spacing: .5px; }
.yt-sections a { color: var(--navy); }
.v-group { scroll-margin-top: 80px; }
/* the WARM channel card (Simcha's choice, 23 Oct 2026) */
.yt-click { flex-basis: 100%; margin: 0 0 .2rem; font-weight: 600; color: #7a3e0c; font-size: .98rem; }
.yt-click .he-label { display: block; font-weight: 600; }
.warm-only { display: none; }
.yt-channel.warm .warm-only { display: inline; }
.yt-channel.warm .yt-welcome { display: block; }
.yt-channel.warm { background: linear-gradient(135deg, #fff6e5 0%, #ffe9cc 55%, #fbdcb8 100%); border: 2px solid var(--gold);
                   box-shadow: 0 10px 28px rgba(201, 132, 30, .25); border-radius: 20px; padding: 1.4rem 1.6rem; }
.yt-channel.warm img { width: 150px; height: 150px; border-color: #fff; box-shadow: 0 0 0 4px var(--gold), 0 8px 22px rgba(160, 90, 20, .35); }
.yt-channel.warm .yt-channel-title { color: #7a3e0c; }
.yt-welcome { margin: .5rem 0 .2rem; font: italic 1.15rem/1.45 Georgia, serif; color: #8a4b12; }
.yt-welcome .he-label { display: block; font-style: normal; font-size: 1.05rem; margin-top: .2rem; }
.yt-channel.warm .yt-sections { border-top-color: rgba(201, 132, 30, .35); flex-direction: row; flex-wrap: wrap; gap: .45rem; }
.yt-channel.warm .yt-sections b { flex-basis: 100%; color: #a3550f; }
.yt-channel.warm .yt-sections a { background: #fff; border: 1px solid #f0c98a; border-radius: 999px; padding: .3rem .8rem; text-decoration: none;
                                   color: #6b3a0d; font-size: .92rem; box-shadow: 0 2px 6px rgba(160, 90, 20, .12); }
.yt-channel.warm .yt-sections a:hover { background: #fff3df; }
.yt-channel img { width: 130px; height: 130px; flex: none; object-fit: cover; border-radius: 50%; border: 4px solid var(--gold); }
.yt-channel-text { display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.yt-channel-title { font-size: 1.5rem; line-height: 1.25; }
.yt-channel-title.he-label { text-align: left; }
.yt-channel-url { color: var(--soft); font-size: .95rem; }
.yt-channel .btn { align-self: flex-start; margin: .5rem 0 0; }
@media (max-width: 560px) { .yt-channel { flex-direction: column; text-align: center; } .yt-channel .btn, .yt-channel-title.he-label { align-self: center; text-align: center; } }
/* music videos: group headings and the Hebrew label under the English one (Simcha 22 Oct 2026: both languages) */
.v-group { text-align: center; color: var(--navy); font-weight: normal; font-size: 1.35rem; margin: 2.2rem 0 1rem; line-height: 1.35; }
.v-group .he-label { display: block; font-size: 1.2rem; }
.he-label { direction: rtl; text-align: right; font-family: Arial, "Segoe UI", sans-serif; }
.v-group .he-label { text-align: center; }
h2.title .he-label, p.intro .he-label { display: block; text-align: center; }
h2.title .he-label { font-size: .85em; margin-top: .2rem; }
h2.title .ws-sub { display: block; font-size: .6em; margin-top: .3rem; }
.yt-card .he-label { margin-top: .5rem; padding-top: .4rem; border-top: 1px solid #e6eaed; }
.yt-card .he-label h3 { margin-top: 0; }

/* Donate */
.d-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 800px) { .d-grid { grid-template-columns: minmax(0, 1fr); } }
.d-card { background: #fff; border: 2px solid var(--gold); border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; }
.d-card.placeholder { border: 2px dashed #b9c2c7; background: #fafafa; }
.d-card h2 { margin: 0 0 .6rem; color: var(--navy); font-weight: normal; font-size: 1.5rem; }
.d-card p { margin: 0 0 1rem; }
.d-card .actions { margin-top: auto; display: flex; flex-direction: column; gap: .5rem; }
.d-card .actions .btn { margin: 0; text-align: center; }
.d-grid.single { grid-template-columns: minmax(0, 620px); justify-content: center; margin-top: 1.5rem; }
.dev-inline { display: inline-block; background: #ffd23f; color: #3a2a00; font: 600 15px "Segoe UI", Arial, sans-serif;
              padding: 6px 16px; border-radius: 999px; margin: 0 0 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.btn.big { font-size: 1.3rem; padding: .8rem 2.6rem; }
.org-box { background: #fff8e1; border: 1px solid var(--gold); border-radius: 10px; padding: .7rem 1rem; margin-top: .8rem; }
.org-box p { margin: .3rem 0; }
.org-box p[dir="rtl"] { text-align: right; }
