/* ==========================================================================
   Shezaf design system v1 (approved 2026-10-23)
   Tokens · base · layout · components · header/footer · templates · sections
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--paper: #FBF9F4;
	--cream: #F2EDDF;
	--line: #E2DCCB;
	--field: #BDB6A5;
	--ink: #1F201C;
	--ink2: #4D4F47;
	--muted: #686A61;
	--sun: #FFD500;
	--night: #161614;
	--error: #A3261B;

	/* World colours: deep / tint / text on tint */
	--vineyard: #4B5A23; --vineyard-t: #E4E8D2; --vineyard-x: #2E3815;
	--books: #1F5670; --books-t: #D6E7EF; --books-x: #133B4E;
	--journeys: #2E5B45; --journeys-t: #D9E8DF; --journeys-x: #1C3B2C;
	--lectures: #4A3F7A; --lectures-t: #E3DEF2; --lectures-x: #2F2752;

	/* Accent of the current world (overridden by body.world-*) */
	--accent: var(--ink);
	--accent-t: var(--cream);
	--accent-x: var(--ink);

	--display: 'IBM Plex Sans Hebrew', 'Assistant', system-ui, sans-serif;
	--body: 'Assistant', system-ui, sans-serif;
	--heavy: 700;

	--wrap: 1288px;
	--gutter: 24px;
	--band: 88px;
	--r-btn: 4px;
	--r-card: 8px;
}

body.world-vineyard { --accent: var(--vineyard); --accent-t: var(--vineyard-t); --accent-x: var(--vineyard-x); }
body.world-books    { --accent: var(--books); --accent-t: var(--books-t); --accent-x: var(--books-x); }
body.world-journeys { --accent: var(--journeys); --accent-t: var(--journeys-t); --accent-x: var(--journeys-x); }
body.world-lectures { --accent: var(--lectures); --accent-t: var(--lectures-t); --accent-x: var(--lectures-x); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); direction: rtl; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; margin: 0; line-height: 1.2; letter-spacing: 0; }
p { margin: 0; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--vineyard); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; }
figure { margin: 0; }
.sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -100px; right: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-btn); font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }
.hp { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--band) 0; }
.band-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.band-h h2 { font-size: 38px; line-height: 1.15; }
.band-h .sub { font-size: 17px; color: var(--ink2); margin-top: 8px; }
.more { font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; color: inherit; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
/* Rails: one row of cards that scrolls sideways when a section has more items than columns. Arrows come from main.js.
   position: relative keeps absolutely positioned bits (screen-reader price text) inside the scroller, so the page itself never scrolls sideways. */
.rail { --cols: 3; --g: 24px; position: relative; min-width: 0; display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); gap: var(--g); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.grid4.rail { --cols: 4; }
.grid5.rail { --cols: 5; }
.vgrid.rail { --cols: 2; }
/* The grids redefine their columns later and in the breakpoints; a rail keeps only its auto columns. */
.grid3.rail, .grid4.rail, .grid5.rail, .vgrid.rail { grid-template-columns: none; }
.band-x { display: flex; align-items: center; gap: 16px; }
.rail.is-drag { cursor: grabbing; user-select: none; }
.rail.is-drag * { cursor: grabbing; }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.rail-btn:disabled { opacity: .3; cursor: default; }
.band-intro { max-width: 820px; margin: -12px 0 36px; font-size: 18px; line-height: 1.75; color: var(--ink2); }
.site-main { min-height: 50vh; }

/* ---------- Tones (section backgrounds) ---------- */
.tone-plain { background: var(--paper); }
.tone-white { background: #fff; }
.tone-cream { background: var(--cream); }
.tone-sun { background: var(--sun); --muted: var(--ink); }
.tone-ink { background: var(--ink); color: #fff; --ink2: #D9D6CC; --muted: #CFCBC0; }
.tone-ink a:not(.btn):not(.card) { color: #fff; }
.tone-ink .more { color: var(--sun); }
.tone-vineyard { background: var(--vineyard); color: #fff; --ink2: #EEF1E2; --muted: #E4E8D2; }
.tone-vineyard a:not(.btn):not(.card) { color: #fff; }
.tone-books { background: var(--books-t); color: var(--books-x); --ink2: var(--books-x); --muted: var(--books-x); }
.tone-books a:not(.btn):not(.card) { color: var(--books-x); }
.tone-journeys { background: var(--journeys-t); color: var(--journeys-x); --ink2: var(--journeys-x); --muted: var(--journeys-x); }
.tone-lectures { background: var(--lectures-t); color: var(--lectures-x); --ink2: var(--lectures-x); --muted: var(--lectures-x); }

/* Small coloured things (tiles, promo boxes) use .t-* */
.t-plain { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.t-white { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.t-cream { background: var(--cream); color: var(--ink); }
.t-sun { background: var(--sun); color: var(--ink); }
.t-ink { background: var(--ink); color: #fff; }
.t-vineyard { background: var(--vineyard); color: #fff; }
.t-books { background: var(--books-t); color: var(--books-x); }
.t-journeys { background: var(--journeys); color: #fff; }
.t-lectures { background: var(--lectures-t); color: var(--lectures-x); }

/* ---------- Type helpers ---------- */
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); }
.lead { font-size: 19px; line-height: 1.75; color: var(--ink2); }
.price { font-size: 18px; font-weight: 700; }
.price del { font-weight: 400; color: var(--muted); margin-inline-start: 6px; }
.price ins { text-decoration: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); font-family: var(--body); font-size: 17px; font-weight: 700; line-height: 1.2; border: 2px solid transparent; cursor: pointer; text-decoration: none; background: var(--ink); color: #fff; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { color: #fff; background: #000; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #F2C800; color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tone-ink .btn-line:hover, .tone-vineyard .btn-line:hover, .hero .btn-line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-x); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--cream); color: var(--ink); }
.btn-link { min-height: 44px; padding: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn.added::after { content: "✓"; }
.added_to_cart { display: none; }
.ico { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: inherit; border-radius: var(--r-btn); padding: 0; cursor: pointer; position: relative; text-decoration: none; }
.ico:hover { background: rgba(31, 32, 28, .06); color: inherit; }
.badge { position: absolute; top: 4px; left: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; line-height: 1; }

/* ---------- Tags, crumbs, pager ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--cream); color: var(--ink); text-decoration: none; }
.tag:hover { background: var(--line); color: var(--ink); }
.tag.on { background: var(--ink); color: #fff; }
.tag small { font-size: 13px; opacity: .75; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .6); font-size: 15px; font-weight: 600; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; }
.crumbs a { color: var(--ink2); }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 48px; }
.pager .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-btn); text-decoration: none; font-weight: 700; background: #fff; color: var(--ink); }
.pager .page-numbers.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .dots { border: 0; background: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field select, .field textarea, .input { min-height: 48px; width: 100%; border: 1px solid var(--field); border-radius: var(--r-btn); background: #fff; padding: 0 12px; font-family: var(--body); font-size: 16px; color: var(--ink); }
.field textarea { min-height: 120px; padding: 12px; resize: vertical; }
.field small { font-size: 14px; color: var(--muted); }
.req { color: var(--error); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-fields .field-textarea { grid-column: 1 / -1; }
.form-h { font-size: 26px; }
.form-note { font-size: 14px; line-height: 1.5; }
/* Newsletter consent: a required checkbox beside the consent text and the privacy policy link */
.form-consent label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.form-consent input { width: 20px; height: 20px; flex-shrink: 0; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.form-consent a { color: inherit; text-decoration: underline; }
.form-ok { background: var(--journeys-t); color: var(--journeys-x); padding: 12px 16px; border-radius: var(--r-btn); font-weight: 600; }
.form-err { background: #F7E1DE; color: var(--error); padding: 12px 16px; border-radius: var(--r-btn); font-weight: 600; }
.form .btn { align-self: flex-start; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
a.card:hover { color: var(--ink); border-color: var(--field); }
a.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.card-b { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 21px; line-height: 1.3; }
.card h3 a { text-decoration: none; color: inherit; }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink2); }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--cream); }
.ph-empty { width: 100%; aspect-ratio: 3 / 2; background: var(--cream); }
.pimg { height: 260px; display: flex; align-items: center; justify-content: center; background: var(--cream); overflow: hidden; }
.pimg img { max-height: 220px; max-width: 86%; width: auto; height: auto; object-fit: contain; }
.pimg-ph { color: var(--line); }
.vthumb { position: relative; border-radius: var(--r-card); overflow: hidden; }
.vthumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card .vthumb { border-radius: 0; }
.card .vthumb img { aspect-ratio: 3 / 2; }
.play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play span { width: 64px; height: 64px; border-radius: 50%; background: var(--sun); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.book { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.book img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 0 rgba(0, 0, 0, .18), 0 10px 24px -12px rgba(19, 59, 78, .45); background: #fff; }
.book h3 { font-size: 19px; line-height: 1.3; }
.book:hover { color: inherit; }
.book:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Top bar & header ---------- */
.top { background: var(--sun); font-size: 14px; font-weight: 600; }
.top .wrap { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top a.top-txt { color: var(--ink); text-decoration: none; }
.top a.top-txt:hover { text-decoration: underline; }
.top-s { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.top-s .ico { width: 36px; height: 36px; }
.hdr { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.hdr .wrap { height: 84px; display: flex; align-items: center; gap: 36px; }
.logo { font-family: var(--display); font-weight: var(--heavy); font-size: 32px; color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1; }
.logo:hover { color: var(--ink); }
.nav { display: flex; gap: 22px; font-size: 16px; font-weight: 600; flex: 1; align-items: center; justify-content: center; }
.ni { position: relative; display: flex; align-items: center; }
.nl { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; white-space: nowrap; }
.ni.on > .nl, .ni:hover > .nl, .nl[aria-current] { border-bottom-color: var(--ink); color: var(--ink); }
.dd-t { width: 22px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); }
.dd-t[aria-expanded="true"] svg { transform: rotate(180deg); }
.dd { display: none; position: absolute; top: 100%; right: -14px; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px; box-shadow: 0 18px 40px -20px rgba(31, 32, 28, .35); z-index: 50; flex-direction: column; }
.ni.has:hover .dd, .ni.has:focus-within .dd, .ni.open .dd { display: flex; }
.dd a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-btn); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; }
.dd a:hover, .dd a[aria-current] { background: var(--cream); color: var(--ink); }
.hdr-tools { display: flex; gap: 4px; align-items: center; margin-inline-start: auto; }
.lang { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); margin-inline-end: 8px; }
.lang:hover { background: var(--ink); color: #fff; }
.lang-s { display: none; }
.burger { display: none; }

/* Search overlay */
.search-pop { position: absolute; inset: 100% 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 20px 0; box-shadow: 0 18px 40px -24px rgba(31, 32, 28, .35); }
.search-form { display: flex; gap: 8px; align-items: stretch; max-width: 720px; }
.search-form input[type="search"] { flex: 1; min-width: 0; min-height: 48px; border: 1px solid var(--field); border-radius: var(--r-btn); padding: 0 14px; font-size: 17px; background: #fff; }

/* Mobile menu panel */
.mm { position: fixed; inset: 0; z-index: 90; background: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.mm-h { height: 64px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.mm-h .logo { font-size: 26px; flex: 1; }
.mm .search-form { margin: 16px; }
.mm-list { padding: 0 16px; }
.mm-it, .mm-list summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; color: var(--ink); cursor: pointer; list-style: none; }
.mm-list summary::-webkit-details-marker { display: none; }
.mm-list details[open] summary svg { transform: rotate(180deg); }
.mm-sub { display: flex; flex-direction: column; padding: 4px 0 12px; border-bottom: 1px solid var(--line); }
.mm-sub a { display: flex; align-items: center; min-height: 44px; padding-inline-start: 16px; font-size: 17px; font-weight: 600; text-decoration: none; color: var(--ink); }
.mm-foot { margin-top: 24px; padding: 0 16px 24px; display: flex; flex-direction: column; gap: 20px; }
.mm-foot .lang { height: 44px; align-self: flex-start; }
.soc { display: flex; gap: 4px; }
body.mm-open { overflow: hidden; }

/* ---------- Footer ---------- */
.ftr { background: var(--night); color: #E9E6DD; padding: 72px 0 32px; margin-top: 0; }
.ftr .logo { color: #fff; }
.f-top { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; padding-bottom: 48px; border-bottom: 1px solid #34352F; }
.f-intro { font-size: 17px; line-height: 1.6; color: #CFCBC0; margin-top: 16px; max-width: 420px; }
.news { display: flex; margin-top: 20px; max-width: 480px; }
.news .field { flex: 1; }
.news .form-fields { display: flex; flex: 1; }
.news label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.news input[type="email"] { height: 52px; border: 0; border-radius: 0 4px 4px 0; background: var(--sun); color: var(--ink); padding: 0 16px; font-weight: 600; }
.news input::placeholder { color: #3B3A2A; }
.news .btn { min-height: 52px; border: 0; border-radius: 4px 0 0 4px; background: #fff; color: var(--ink); align-self: auto; }
.news.form { flex-direction: row; flex-wrap: wrap; gap: 0; }
.news .form-ok, .news .form-err { flex-basis: 100%; margin-bottom: 8px; }
.news .form-consent { flex-basis: 100%; margin-top: 14px; }
.news .form-consent label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
.ftr .form-consent input { accent-color: var(--sun); }
.fcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fcol-h { font-family: var(--body); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.fcols a { display: flex; align-items: center; min-height: 36px; color: #CFCBC0; text-decoration: none; font-size: 16px; }
.fcols a:hover { color: #fff; text-decoration: underline; }
.fcols .btn { min-height: 44px; display: inline-flex; margin-top: 12px; color: var(--ink); }
.f-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 14px; color: #A9A598; flex-wrap: wrap; }
.f-bot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.f-bot a { color: #CFCBC0; }
.f-slim { padding: 48px 0 32px; }
.f-slim .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ==========================================================================
   Sections (page builder) and home bands
   ========================================================================== */

/* Hero */
.hero { display: grid; grid-template-columns: 5fr 7fr; min-height: 620px; }
.hero-txt { padding: 72px 64px 56px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.hero .kicker { color: inherit; opacity: .85; font-size: 18px; }
@media (min-width: 1101px) { .hero .kicker { font-size: 26px; } .hero .kicker + h1, .hero .kicker + h2 { margin-top: -22px; } }
.hero h1 { font-size: 64px; line-height: 1.08; font-weight: var(--heavy); }
.hero-p { font-size: 19px; line-height: 1.7; max-width: 460px; opacity: .92; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 20px; border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 12px; }
.hero-links a { color: inherit; text-decoration: none; font-weight: 600; font-size: 16px; min-height: 44px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.hero-links a:hover { text-decoration: underline; }
.hero-img { background-size: cover; background-position: center; min-height: 320px; background-color: rgba(0, 0, 0, .1); }
.tone-plain.hero .hero-links, .tone-cream.hero .hero-links, .tone-sun.hero .hero-links { border-color: rgba(31, 32, 28, .25); }
.tone-plain.hero .hero-links a, .tone-cream.hero .hero-links a, .tone-sun.hero .hero-links a { border-color: rgba(31, 32, 28, .14); }

/* Gateway tiles */
.worlds { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.hero + .sec-gateway_cards .worlds { margin-top: -56px; }
.sec-gateway_cards.is-tiles { padding: 0; }
.hero + .sec-gateway_cards.is-tiles { padding-bottom: 0; }
.hero:has(+ .sec-gateway_cards.is-tiles) .hero-txt { padding-bottom: 112px; }
.sec-product_grid + .sec-gateway_cards.is-wide, .band.tone-plain + .band.tone-plain { padding-top: 0; }
.wt { border-radius: var(--r-card); padding: 20px 18px; min-height: 132px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; font-weight: 700; font-size: 14px; }
.wt b { font-family: var(--display); font-size: 24px; line-height: 1.2; }
.wt:hover { color: inherit; filter: brightness(.97); }
.wt.t-ink:hover, .wt.t-vineyard:hover, .wt.t-journeys:hover { color: #fff; }
.exp { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exp .card { flex-direction: row; }
.exp .card > img { width: 46%; object-fit: cover; }
.exp .card-b { padding: 24px; }
.exp h3 { font-size: 26px; }
.overlay-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; }
.oc { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; color: #fff; text-decoration: none; background: var(--ink); }
.oc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.oc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 12, 10, .82), rgba(10, 12, 10, .1) 60%); }
.oc-b { position: relative; z-index: 1; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.oc h3 { font-size: 26px; }
.oc p { font-size: 15px; line-height: 1.55; color: #F1F0EA; }
.oc .btn { align-self: flex-start; }
.oc:hover { color: #fff; }
.oc:hover img { transform: scale(1.03); }
.sec-title { font-size: 38px; margin-bottom: 32px; }

/* Text and image */
.ti { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ti.img-start .ti-img { order: -1; }
.ti-txt { display: flex; flex-direction: column; gap: 20px; }
.ti-txt h2 { font-size: 48px; line-height: 1.1; }
.ti-txt .rich { font-size: 19px; line-height: 1.75; max-width: 600px; color: var(--ink2); }
.ti-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hbox { border-radius: var(--r-card); padding: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 8px; }
.hbox h3 { font-size: 24px; margin-top: 4px; }
.hbox .kicker { color: inherit; }
.hbox.t-lectures .btn { background: var(--lectures); color: #fff; }

/* Press band */
.press { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; }
.lead-post { text-decoration: none; color: inherit; display: block; }
.lead-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card); }
.lead-post .kicker { display: block; margin-top: 18px; }
.lead-post h3 { font-size: 34px; line-height: 1.2; margin-top: 6px; }
.lead-post p { font-size: 17px; line-height: 1.7; color: var(--ink2); margin-top: 10px; max-width: 620px; }
.lead-post .meta { display: block; margin-top: 10px; }
.lead-post:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.plist { display: flex; flex-direction: column; }
.pitem { display: grid; grid-template-columns: 1fr 132px; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; }
.pitem:first-child { padding-top: 0; }
.pitem:last-child { border-bottom: 0; }
.pitem img { width: 132px; height: 96px; object-fit: cover; border-radius: 6px; }
.pitem h3 { font-size: 21px; line-height: 1.3; margin: 6px 0; }
.pex { display: block; font-size: 15px; line-height: 1.55; color: var(--ink2); margin-bottom: 6px; }
.pitem:hover h3 { text-decoration: underline; text-underline-offset: 3px; }

/* Video band */
.vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vcard { display: block; text-decoration: none; color: inherit; }
.vcard h3 { font-size: 24px; margin-top: 16px; }
.vcard:hover { color: inherit; }
.vcard .play span { width: 72px; height: 72px; }
/* Every video card has the same 16:9 box; without any image it stays a dark box under the play button. */
.vcard .vthumb { display: block; aspect-ratio: 16 / 9; background: rgba(255, 255, 255, .1); }
.vcard .vthumb img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Dropbox video and sound files: the browser's own player */
.embed video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.dbx-media { margin: 0; }
.dbx-media.is-audio audio { display: block; width: 100%; }
.dbx-media figcaption { text-align: center; }

/* Quotes */

/* Gallery */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-grid a { display: block; border-radius: 6px; overflow: hidden; }
.gal-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .3s; }
.gal-grid a:hover img { transform: scale(1.03); }
/* Single gallery page: breadcrumbs, title and text in one column, the photos beside them on desktop (3 a row, 2 on smaller screens); phones stack with the square grid below. */
.g-layout { display: grid; grid-template-columns: 460px minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 96px; }
.g-layout > * { min-width: 0; }
.g-layout .s-head h1 { font-size: 44px; }
.g-photos { padding-top: 48px; }
@media (max-width: 760px) { .g-layout .s-head h1 { font-size: 40px; } .g-photos { padding-top: 0; } }
@media (min-width: 761px) { .gal-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; } .gal-3 img { aspect-ratio: 3 / 2; } }
@media (min-width: 761px) and (max-width: 1280px) { .gal-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1100px) { .g-layout { grid-template-columns: 360px minmax(0, 1fr); gap: 32px; } }
@media (max-width: 760px) { .g-layout { grid-template-columns: 1fr; gap: 0; } }
/* Lightbox: a native <dialog> (main.js), for gallery grids and images in content. */
dialog.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 56px 16px 24px; background: #0b0b0a; color: #fff; }
dialog.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
dialog.lightbox::backdrop { background: #0b0b0a; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; max-height: 100%; }
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; width: auto; height: auto; border-radius: 4px; touch-action: pan-y; }
.lightbox figcaption { font-size: 15px; color: rgba(255, 255, 255, .85); text-align: center; max-width: 720px; }
.lightbox .lb-count { font-size: 13px; color: rgba(255, 255, 255, .65); }
.lightbox .ico { position: absolute; color: #fff; }
.lightbox .lb-close { top: 12px; left: 12px; }
.lightbox .lb-prev { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-prev, .lightbox .lb-next { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); font-size: 28px; line-height: 1; }
body.lb-open { overflow: hidden; }

/* Directions */
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--r-card); background: #fff; display: block; }

/* CTA with form */
.cta { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.cta h2 { font-size: 44px; line-height: 1.1; }
.cta .lead { margin-top: 16px; }
.cta .form { background: #fff; border-radius: var(--r-card); padding: 28px; color: var(--ink); }

/* Rich text from the editor */
.rich > * + * { margin-top: 1em; }
.rich ul, .rich ol { padding-inline-start: 1.3em; }
.rich a { text-underline-offset: 3px; }

/* ==========================================================================
   Templates
   ========================================================================== */

/* Archive head */
.head { padding: 48px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.head h1 { font-size: 56px; line-height: 1.1; }
.head p, .head .rich { font-size: 19px; line-height: 1.7; color: var(--ink2); max-width: 720px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding-top: 40px; padding-bottom: 96px; }
.layout.no-side { grid-template-columns: 1fr; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { grid-column: 1 / -1; display: grid; grid-template-columns: 3fr 2fr; }
.feat img, .feat .ph { aspect-ratio: auto; height: 100%; min-height: 320px; }
.feat .card-b { padding: 32px; justify-content: center; gap: 12px; }
.feat h3 { font-size: 34px; line-height: 1.2; }
.empty { padding: 48px 0; font-size: 19px; color: var(--ink2); }

/* Sidebar */
.side { display: flex; flex-direction: column; gap: 24px; }

/* Press article: the whole article (titles, cover, text) in one column across the container, the "more on the site"
   picture tiles beside it from the title line; the text itself keeps a readable 720px. Also used at the end of the press archive sidebar. */
.mx { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.mx > * { min-width: 0; }
.mx-main > .ph-head { max-width: none; margin: 0; padding-top: 8px; }
.mx-main .ph-head h1 { font-size: 52px; }
.mx-main > .cover { max-width: none; margin: 0; }
.mx-main > .cover img { max-height: 70vh; }
.mx-main > .body { max-width: 720px; margin: 40px 0 0; }
.mx-main > .body figure, .mx-main > .body .wp-block-image, .mx-main > .body .wp-block-embed { margin-inline: 0; }
.mx > .ms-aside { padding-top: 8px; }
.mx-main > .nextprev, .mx-main > .cmts { max-width: 720px; margin-inline: 0; }
/* The related book in an article: the shop's product card as a row (cream frame beside the title, price and button) */
.product-card.is-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); margin-top: 40px; }
/* Inside the article text a link around a picture is made a fit-content block: here the frame stays a box that centres the picture. */
.product-card.is-row .pimg { display: flex; align-items: center; justify-content: center; height: auto; min-height: 240px; width: auto; margin: 0; cursor: pointer; }
.product-card.is-row .pimg img { max-height: 200px; max-width: 76%; margin: auto; object-fit: contain; border-radius: 2px; }
.product-card.is-row .card-b { padding: 24px; justify-content: center; gap: 10px; }
.body .product-card.is-row h3 { margin: 0; font-size: 24px; line-height: 1.25; }
.body .product-card.is-row h3 a { color: var(--ink); text-decoration: none; }
.body .product-card.is-row .card-row { margin-top: 6px; }
.crumbs-post { padding-top: 32px; }
.crumbs-post + article > .ph-head { padding-top: 24px; }
.ms-h { font-size: 15px; font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.ms-col { display: flex; flex-direction: column; gap: 12px; }
.pt { display: block; border-radius: var(--r-card); overflow: hidden; text-decoration: none; }
.pt img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.pt-b { display: flex; flex-direction: column; gap: 2px; padding: 12px 16px 14px; }
.pt b { font-family: var(--display); font-size: 20px; line-height: 1.2; }
.pt-b > span { font-size: 14px; line-height: 1.4; }
.pt em { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; }
.pt:hover b, .pt:focus-visible b { text-decoration: underline; }
.pt.t-journeys { background: var(--journeys-t); color: var(--journeys-x); }
@media (max-width: 1100px) { .mx { grid-template-columns: minmax(0, 1fr) 260px; gap: 36px; } .mx-main .ph-head h1 { font-size: 44px; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; }
.box h2 { font-size: 20px; margin-bottom: 8px; }
.cats a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; }
.cats a:last-child { border-bottom: 0; }
.cats a[aria-current] { text-decoration: underline; }
.cats span { font-size: 14px; color: var(--muted); font-weight: 400; }
.promo { border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.promo h2 { font-size: 24px; }
/* The promoted book in an archive sidebar: the product card, price above the button in the narrow column */
.product-card.is-side .card-row { flex-direction: column; align-items: stretch; }
.product-card.is-side .card-row .btn { justify-content: center; }
.promo .kicker { color: inherit; }
.promo .btn { align-self: flex-start; }
.promo .form-fields { grid-template-columns: 1fr; }
.promo .field input { border-color: var(--ink); }
.promo .form .btn { align-self: stretch; }

/* Single post */
.ph-head { max-width: 880px; margin: 0 auto; padding: 48px 0 32px; display: flex; flex-direction: column; gap: 16px; }
.ph-head h1 { font-size: 60px; line-height: 1.08; }
.dek { font-size: 22px; line-height: 1.6; color: var(--ink2); }
.byline { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.who { display: flex; align-items: center; gap: 12px; }
.who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.who b { display: block; }
.share { display: flex; gap: 4px; }
.share .ico { border: 1px solid var(--line); background: #fff; }
.cover { margin: 0 auto; max-width: 1240px; }
/* The featured image whole: its own proportions, centred, no wider than the container and no taller than most of the screen */
.cover img { display: block; width: auto; height: auto; max-width: 100%; max-height: 75vh; margin-inline: auto; border-radius: var(--r-card); }
.cover .embed { max-width: 1040px; margin: 0 auto; }
.cap, figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.body { max-width: 720px; margin: 48px auto 0; font-size: 19px; line-height: 1.85; color: var(--ink); }
.body > * + * { margin-top: 24px; }
.body h2 { font-size: 32px; line-height: 1.25; margin-top: 40px; }
.body h3 { font-size: 24px; line-height: 1.3; margin-top: 32px; }
.body figure, .body .wp-block-image, .body .wp-block-embed { margin-inline: -80px; }
/* Content images: never stretched past their own width, centred when narrower than the column. */
.body figure img, .body .wp-block-image img { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--r-card); }
/* Media images wherever they sit (paragraph, old div or styling spans, a link): own line, centred. Small inline images such as emoji stay inline. */
.body img[class*="wp-image-"], .body p > img, .body div > img, .body a > img { display: block; margin-inline: auto; }
.body figure figcaption, .body .wp-caption-text, .cover figcaption, .wp-block-gallery figcaption { text-align: center; }
/* Captions sit right under the image and are as wide as the image (not the column): the column of the grid follows the image, the caption adds no width of its own. */
.body figure.wp-block-image:not(.alignleft):not(.alignright), .body .wp-caption:not(.alignleft):not(.alignright), .cover:has(> img) { display: grid; grid-template-columns: fit-content(100%); justify-content: center; }
.body figure.wp-block-image > figcaption, .body .wp-caption > .wp-caption-text, .cover > figcaption { width: 0; min-width: 100%; }
/* A link around an image (WordPress makes it inline-block) is a centred block as wide as the image; old caption figures with a fixed width (style="width:1034px") fit the column. */
.body a:has(> img) { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.body figure[style*="width"] { width: auto !important; max-width: none; }
.body .wp-block-gallery img { width: 100%; height: 100%; object-fit: cover; }
.body a:has(> img) { cursor: zoom-in; }
.body .alignleft, .body .alignright { margin-inline: 0; max-width: 50%; }
.body .alignleft { float: left; margin: 8px 24px 16px 0; }
.body .alignright { float: right; margin: 8px 0 16px 24px; }
.body img, .body video { max-width: 100%; height: auto; }
/* Preformatted text, code and verse: long lines wrap instead of pushing the page sideways. */
.body pre, .body code, .body .wp-block-code, .body .wp-block-preformatted, .body .wp-block-verse, .rich pre, .rich code { white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; max-width: 100%; overflow-x: hidden; }
.body pre, .rich pre { font-family: inherit; font-size: inherit; line-height: inherit; background: var(--cream); border-radius: var(--r-card); padding: 16px 20px; }
.body pre code, .rich pre code { background: none; padding: 0; }
/* Old layout tables (often a photo and its caption): centred, scroll sideways when too wide. */
.body table { display: block; width: fit-content; max-width: 100%; overflow-x: auto; margin-inline: auto; }
/* Video players 16:9; other iframes get aspect-ratio from their own size (setup.php); post embeds size themselves. */
.body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-card); }
.body iframe.wp-embedded-content { aspect-ratio: auto; height: revert-layer; border-radius: 0; }
/* A WordPress post embed (link to another article): a small link card, not a pull quote. */
.body .wp-block-embed.is-type-wp-embed { margin-inline: 0; }
.body blockquote.wp-embedded-content { margin: 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; font-family: var(--body); font-size: 18px; line-height: 1.5; font-weight: 700; }
.body blockquote.wp-embedded-content a { text-decoration: none; color: var(--ink); }
.body blockquote.wp-embedded-content a::after { content: " ←"; }
.lang-en .body blockquote.wp-embedded-content a::after { content: " →"; }
.body blockquote, .body .wp-block-pullquote { margin: 8px 0; padding: 8px 0; border: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 28px; line-height: 1.4; font-weight: 700; }
.body blockquote p { margin: 0; }
.body blockquote cite { display: block; font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); font-style: normal; margin-top: 8px; }
.body a { text-underline-offset: 3px; }
.body ul, .body ol { padding-inline-start: 1.3em; }
.body .wp-block-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-inline: -80px; }
.body::after { content: ""; display: table; clear: both; }
.source { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags .tag { min-height: 36px; font-size: 14px; padding: 0 14px; }
.nextprev { max-width: 720px; margin: 48px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nextprev a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; text-decoration: none; color: var(--ink); }
.nextprev .np-next { text-align: left; grid-column: 2; }
.nextprev b { font-family: var(--display); font-size: 19px; }
.related { max-width: 1240px; margin: 80px auto 0; padding-bottom: 96px; }
.related .band-h { margin-bottom: 28px; }
.related h2 { font-size: 34px; }

/* Comments */
.cmts { max-width: 720px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 16px; }
.cmts > h2 { font-size: 30px; }
.cmts > h2 .meta { font-family: var(--body); font-size: 18px; font-weight: 600; }
.c-list, .c-list .children { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.c-list .children { margin-top: 16px; margin-inline-start: 24px; }
.c-in { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.c-sub > .c-in { background: var(--paper); }
.c-body { font-size: 17px; line-height: 1.7; color: var(--ink2); }
.c-body p + p { margin-top: .8em; }
.c-h { display: flex; align-items: center; gap: 12px; }
.c-h > div { display: flex; flex-direction: column; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.c-author .av { background: var(--sun); }
.author { display: inline-block; font-size: 12px; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 8px; margin-top: 2px; align-self: flex-start; }
.reply a { font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.c-form, .comment-respond { background: var(--cream); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.comment-respond .comment-form { display: flex; flex-direction: column; gap: 16px; }
.comment-reply-title { font-size: 22px; }
.comment-reply-title small { font-family: var(--body); font-size: 15px; margin-inline-start: 12px; }
.c-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comment-form-comment { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.comment-form-comment label { font-size: 15px; font-weight: 600; }
.comment-form-comment textarea { min-height: 120px; width: 100%; border: 1px solid var(--field); border-radius: var(--r-btn); background: #fff; padding: 12px; font-size: 16px; resize: vertical; }
.comment-form .form-submit { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 0; }
.comment-form .comment-notes, .comment-form .logged-in-as { font-size: 14px; color: var(--muted); margin: 0; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 0; }

/* Journey */
.jhero { position: relative; min-height: 560px; display: flex; align-items: flex-end; background-size: cover; background-position: center; background-color: var(--journeys); color: #fff; }
.jhero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14, 20, 16, .82), rgba(14, 20, 16, .1) 60%); }
.jhero .wrap { position: relative; width: 100%; padding-bottom: 48px; display: flex; flex-direction: column; gap: 14px; }
.jhero .crumbs ol, .jhero .crumbs a { color: #E9EDE6; }
.jhero h1 { font-size: 64px; line-height: 1.05; font-weight: var(--heavy); }
/* Journey dates: a line may break between the two dates, never inside one */
.jdates time { white-space: nowrap; }
.jhero .sub { font-size: 22px; line-height: 1.5; max-width: 720px; color: #F1F3EE; }
.facts-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.fact { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-weight: 600; font-size: 15px; color: #fff; }
.jlayout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.sec { display: flex; flex-direction: column; gap: 18px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.sec > h2 { font-size: 32px; }
.sec .rich { font-size: 19px; line-height: 1.85; }
.note-box { font-size: 16px; line-height: 1.7; color: var(--ink2); background: var(--accent-t); border-radius: var(--r-card); padding: 14px 18px; }
.days { display: flex; flex-direction: column; list-style: none; padding: 0; }
.day { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.day:first-child { border-top: 0; }
.dn { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-t); color: var(--accent-x); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; line-height: 1; }
.dn small { font-size: 11px; font-weight: 600; }
.dn b { font-size: 20px; }
.day h3 { font-size: 20px; line-height: 1.35; }
.day p { font-size: 16px; line-height: 1.7; color: var(--ink2); margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lst { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.lst h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.lst .rich { font-size: 16px; line-height: 1.7; color: var(--ink2); }
.lst .i-yes { color: var(--journeys); }
.lst .i-no { color: var(--error); }
.eq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; padding: 0; margin: 0; list-style: none; }
.eq li { display: flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid var(--line); font-size: 16px; }
.eq li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.jgal { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 200px; gap: 12px; }
.jgal a { display: block; border-radius: var(--r-card); overflow: hidden; }
.jgal a:first-child { grid-row: span 2; }
.jgal img { width: 100%; height: 100%; object-fit: cover; }
.aside { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.pbox { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.pbox .kicker { color: var(--accent); }
.pbox .price { font-size: 32px; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.row:last-child { border-bottom: 0; }
.pbox .row > span { min-width: 50px; flex-shrink: 0; }
.row b { text-align: left; }
.reg { background: var(--sun); border-radius: var(--r-card); padding: 24px; }
.reg .form-fields { grid-template-columns: 1fr; }
.reg .field input, .reg .field select { border-color: var(--ink); }
.reg .btn { align-self: stretch; }
.ask { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ask h3 { font-size: 20px; }
.ask .btn { flex-shrink: 0; }
.wdg-consult { background: var(--journeys); color: #fff; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.wdg-consult .kicker { color: var(--journeys-t); }
.wdg-consult h3 { font-size: 24px; line-height: 1.25; }
.wdg-sub { font-size: 16px; line-height: 1.6; color: #E6EFE9; font-weight: 600; }
.wdg-consult ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: #F1F5F2; }
.wdg-consult li { display: flex; gap: 8px; }
.wdg-consult li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); flex-shrink: 0; margin-top: 8px; }
.wdg-consult .btn { align-self: flex-start; }
.wdg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wdg { border-radius: var(--r-card); padding: 16px; min-height: 128px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; border: 0; }
.wdg b { font-family: var(--display); font-size: 19px; line-height: 1.2; }
.wdg span { font-size: 14px; line-height: 1.4; }
.wdg em { font-style: normal; font-weight: 700; font-size: 14px; margin-top: auto; text-decoration: underline; text-underline-offset: 3px; }
.wdg.t-journeys { background: var(--journeys-t); color: var(--journeys-x); }
.wdg:hover { filter: brightness(.97); color: inherit; }

/* Simple single (lecture, event, gallery, room, page) */
.s-head { padding: 48px 0 32px; display: flex; flex-direction: column; gap: 14px; max-width: 880px; }
.s-head h1 { font-size: 52px; line-height: 1.1; }
.s-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; padding-bottom: 96px; }
.s-layout .body { margin: 0; max-width: none; }
.s-layout .body figure, .s-layout .body .wp-block-image, .s-layout .body .wp-block-embed, .s-layout .body .wp-block-gallery { margin-inline: 0; }
.s-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); }
.page-body { max-width: 800px; padding-bottom: 96px; }
.page-body .body { margin-top: 0; max-width: none; }
.page-body .body figure, .page-body .body .wp-block-image, .page-body .body .wp-block-embed, .page-body .body .wp-block-gallery { margin-inline: 0; }
/* About page: text column and the portrait beside it */
/* About page: opening (name, facts, contact, portrait), the manifesto with a quote, the life story with its milestones (they stay on screen), books, worlds, "write to me" */
.ab-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 16px 0 64px; }
.ab-hero h1 { font-size: 64px; line-height: 1.05; margin: 8px 0 10px; }
.ab-id { font-size: 22px; color: var(--ink2); margin: 0 0 24px; }
.ab-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 28px; border-block: 1px solid var(--line); }
.ab-facts div { padding: 14px 0; }
.ab-facts dt { font-family: var(--display); font-size: 28px; font-weight: 700; }
.ab-facts dd { margin: 0; color: var(--muted); font-size: 14px; }
.ab-contact { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-portrait { margin: 0; background: var(--cream); border-radius: var(--r-card); overflow: hidden; }
.ab-portrait img { display: block; width: 100%; height: auto; }
.ab-sec { padding: 56px 0; border-top: 1px solid var(--line); }
.ab-sec > h2, .ab-worlds .ms-h { font-size: 40px; color: var(--ink); margin: 0 0 28px; }
.ab-cols { display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 56px; align-items: start; }
.ab-text p { font-size: 19px; line-height: 1.85; margin: 0 0 18px; }
.ab-text h3 { font-size: 24px; margin: 28px 0 12px; }
.ab-quote { margin: 0; padding-top: 28px; border-top: 4px solid var(--sun); font-family: var(--display); font-size: 32px; line-height: 1.3; }
.ab-side { position: sticky; top: 24px; }
.ab-side h3 { font-size: 18px; margin: 0 0 14px; }
.ab-tl { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.ab-tl li { position: relative; padding: 0 18px 16px; display: flex; flex-direction: column; }
.ab-tl li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); box-sizing: border-box; }
.ab-tl b { font-family: var(--display); font-size: 17px; }
.ab-tl span { font-size: 15px; color: var(--ink2); line-height: 1.5; }
.ab-books-sec .band-h { margin-bottom: 28px; }
.ab-books-sec .band-h h2 { font-size: 40px; color: var(--ink); margin: 0; }
.ab-books.grid5 { gap: 20px; }
.ab-books.rail { --g: 20px; }
.ab-book { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.ab-book img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px; box-shadow: 0 10px 24px -12px rgba(19, 59, 78, .45); }
.ab-worlds .ms-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ab-worlds .pt img { aspect-ratio: 16 / 9; }
.ab-cta { border-radius: var(--r-card); padding: 40px; margin: 8px 0 72px; text-align: center; }
.ab-cta h2 { font-size: 40px; margin: 0; }
.ab-cta .ab-contact { justify-content: center; margin-top: 16px; }
.amen { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.amen li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--accent-t); color: var(--accent-x); font-weight: 600; font-size: 15px; }
.event-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--r-card); background: var(--accent-t); color: var(--accent-x); font-weight: 700; line-height: 1.1; flex-shrink: 0; }
.event-date b { font-size: 26px; }
.event-date small { font-size: 13px; }
.elist { display: flex; flex-direction: column; gap: 16px; }
.erow { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; text-decoration: none; color: var(--ink); }
.erow h3 { font-size: 21px; }
.erow:hover h3 { text-decoration: underline; }
.lecture-card .card-b { gap: 10px; }
.err404 { padding: 96px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.err404 h1 { font-size: 56px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.nav { gap: 16px; font-size: 15px; }
	.hdr .wrap { gap: 20px; }
	.lang-t { display: none; }
	.lang-s { display: inline; }
	.lang { padding: 0 10px; }
	.worlds { grid-template-columns: repeat(3, 1fr); }
	.overlay-grid { grid-template-columns: repeat(2, 1fr); }
	.layout, .jlayout, .s-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.body figure, .body .wp-block-image, .body .wp-block-embed, .body .wp-block-gallery { margin-inline: 0; }
}

@media (max-width: 900px) {
	/* Tiles under the article (or the archive), as a row that scrolls sideways */
	.mx { grid-template-columns: 1fr; gap: 40px; }
	.mx-main .ph-head h1 { font-size: 38px; }
	.mx-main > .body { margin-top: 28px; }
	/* Phones keep their order: the article, the tiles, then previous / next and the comments */
	.mx { gap: 0; }
	.mx-main { display: contents; }
	.mx > .ms-aside { order: 1; margin-top: 40px; }
	.mx-main > .nextprev, .mx-main > .cmts { order: 2; }
	.product-card.is-row { grid-template-columns: 112px minmax(0, 1fr); }
	.product-card.is-row .pimg { min-height: 170px; }
	.product-card.is-row .pimg img { max-height: 140px; max-width: 80%; }
	.product-card.is-row .card-b { padding: 14px 16px; }
	.body .product-card.is-row h3 { font-size: 19px; }
	.ms-aside, .mx > .ms-aside { border-top: 1px solid var(--line); padding-top: 28px; }
	.ms-h { font-size: 22px; color: var(--ink); }
	.ms-col { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
	.ms-col .pt { flex: 0 0 62%; scroll-snap-align: start; }
	.ab-hero, .ab-cols { grid-template-columns: 1fr; gap: 28px; }
	.ab-hero { padding-bottom: 40px; }
	.ab-portrait { order: -1; }
	.ab-hero h1 { font-size: 44px; }
	.ab-facts { grid-template-columns: 1fr 1fr; }
	.ab-sec { padding: 40px 0; }
	.ab-sec > h2, .ab-worlds .ms-h { font-size: 30px; }
	.ab-quote { font-size: 24px; }
	/* Phones: the milestones before the text, not sticky */
	.ab-side { position: static; order: -1; }
	.ab-books-sec .band-h h2 { font-size: 30px; }
	.ab-worlds .ms-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; margin: 0; padding: 0; }
	.ab-cta { padding: 28px 20px; }
	.nav { display: none; }
	.burger { display: inline-flex; }
	.hdr .wrap { height: 64px; gap: 8px; }
	.logo { font-size: 26px; }
	.layout, .jlayout, .s-layout { grid-template-columns: 1fr; }
	.aside { position: static; }
	/* Journey on mobile: price box and registration first, then the details, the promo tiles last */
	.jlayout { row-gap: 16px; }
	.jlayout .aside { display: contents; }
	.jlayout .aside > * { order: -1; }
	.jlayout .aside > .wdg-grid { order: 1; margin-top: 32px; }
	.jlayout > div:first-child { margin-top: 16px; }
	.grid4 { grid-template-columns: repeat(2, 1fr); }
	.grid5 { grid-template-columns: repeat(3, 1fr); }
	.grid4.rail { --cols: 2.5; }
	.grid5.rail { --cols: 3.5; }
	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero-img { order: -1; min-height: 300px; }
	.hero-txt { padding: 40px 24px 80px; }
	.ti, .press, .cta, .f-top, .about { grid-template-columns: 1fr; gap: 32px; }
	.ti.img-start .ti-img { order: 0; }
}

@media (max-width: 760px) {
	:root { --gutter: 16px; --band: 56px; }
	body { font-size: 16px; }
	.band-h { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 24px; }
	.band-h h2, .sec-title { font-size: 30px; }
	.top .wrap { min-height: 36px; }
	.top-s { display: none; }
	.top-txt { font-size: 13px; }
	.hero-txt { padding: 32px 16px 72px; gap: 16px; }
	.hero h1 { font-size: 40px; }
	.hero-p { font-size: 17px; }
	.hero-img { min-height: 260px; }
	.hero-links { grid-template-columns: 1fr; }
	.worlds { grid-template-columns: 1fr 1fr; gap: 12px; }
	.hero + .sec-gateway_cards .worlds { margin-top: -44px; }
	.wt { min-height: 104px; padding: 16px; }
	.wt b { font-size: 21px; }
	.grid2, .grid3, .post-grid, .vgrid, .two, .eq, .c-row, .form-fields, .nextprev { grid-template-columns: 1fr; }
	.nextprev .np-next { grid-column: auto; }
	.grid4 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.grid5 { grid-template-columns: repeat(5, 148px); overflow-x: auto; gap: 16px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
	.grid5 > * { scroll-snap-align: start; }
	.pimg { height: 200px; }
	.pimg img { max-height: 170px; }
	.card-b { padding: 12px 12px 16px; }
	.card h3 { font-size: 18px; }
	.grid4 .card-row { flex-direction: column; align-items: stretch; }
	.exp { grid-template-columns: 1fr; gap: 12px; }
	.exp .card { flex-direction: column; }
	.exp .card > img { width: 100%; aspect-ratio: 16 / 9; }
	.overlay-grid { grid-template-columns: 1fr; }
	.oc { aspect-ratio: 4 / 3; }
	.ti-txt h2 { font-size: 36px; }
	.lead-post h3 { font-size: 26px; }
	.pitem { grid-template-columns: 1fr 96px; gap: 12px; }
	.pitem img { width: 96px; height: 72px; }
	.pitem h3 { font-size: 18px; }
	.rail { --g: 16px; }
	.grid3.rail, .vgrid.rail { --cols: 1.15; }
	.grid4.rail { --cols: 1.7; --g: 12px; }
	.grid5.rail { --cols: 2.4; overflow-x: auto; }
	.rail-nav { display: none; }
	.band-intro { margin: 0 0 24px; font-size: 17px; }
	.pex { font-size: 14px; }
	.hbox { flex-direction: column; align-items: flex-start; }
	.gal-grid { grid-template-columns: repeat(2, 1fr); }
	.fcols { grid-template-columns: 1fr 1fr; }
	.head h1, .s-head h1, .err404 h1 { font-size: 40px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; }
	.filters .tag { flex-shrink: 0; }
	.feat { grid-template-columns: 1fr; }
	.feat img, .feat .ph { aspect-ratio: 3 / 2; min-height: 0; }
	.feat .card-b { padding: 18px; }
	.feat h3 { font-size: 26px; }
	.ph-head { padding: 28px 0 24px; }
	.ph-head h1 { font-size: 38px; }
	.dek { font-size: 19px; }
	.cover img { max-height: 70vh; }
	.body { margin-top: 32px; font-size: 18px; }
	.body blockquote { font-size: 23px; }
	.body .alignleft, .body .alignright { float: none; margin: 0; max-width: 100%; }
	.c-list .children { margin-inline-start: 12px; }
	.jhero { min-height: 460px; }
	.jhero h1 { font-size: 40px; }
	.jhero .sub { font-size: 18px; }
	.jlayout { padding-top: 32px; }
	.jgal { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
	.jgal a:first-child { grid-row: auto; grid-column: 1 / 3; height: 200px; }
	.erow { grid-template-columns: 64px 1fr; }
	.erow .btn { grid-column: 1 / -1; }
	.cta h2 { font-size: 34px; }
	.cta .form { padding: 20px; }
}
.s-layout.no-side { grid-template-columns: 1fr; max-width: 880px; }
.s-layout > *, .jlayout > *, .layout > * { min-width: 0; }

/* ---------- English site (/en/): left to right ---------- */
body.lang-en { direction: ltr; }
/* The English menu is wider than the Hebrew one: below 1200px it would push the search and cart off the screen, so the menu button takes over. */
@media (max-width: 1200px) { .lang-en .nav { display: none; } .lang-en .burger { display: inline-flex; } }
.lang-en .skip { right: auto; left: 16px; }
.lang-en .hp { right: auto; left: -9999px; }
.lang-en .badge { left: auto; right: 2px; }
.lang-en .dd { right: auto; left: -14px; }
.lang-en .lightbox .lb-close { left: auto; right: 12px; }
.lang-en .lightbox .lb-prev { right: auto; left: 12px; }
.lang-en .lightbox .lb-next { left: auto; right: 12px; }
.lang-en .nextprev .np-next { text-align: right; }
.lang-en .row b { text-align: right; }
