/*
 * GEI Passover — the wireframe's look, ported onto WordPress blocks.
 * Every section is plain Group/Paragraph/Heading blocks carrying pv-*
 * class names; this file lays them out. Colors and fonts are theme.json
 * presets (--wp--preset--color--*, --wp--preset--font-family--*).
 */

:root {
	--pv-paper: var(--wp--preset--color--paper);
	--pv-tint: var(--wp--preset--color--tint);
	--pv-ink: var(--wp--preset--color--ink);
	--pv-muted: var(--wp--preset--color--muted);
	--pv-warm: var(--wp--preset--color--warm);
	--pv-pop: var(--wp--preset--color--pop);
	--pv-sun: var(--wp--preset--color--sun);
	--pv-tag: var(--wp--preset--color--tag);
	--pv-deep: var(--wp--preset--color--deep);
	--pv-cool: var(--wp--preset--color--cool);
	--pv-photo: #D6CBBD;
	--pv-photo-dark: #5E2F48;
	--pv-photo-hero: #3A2E26;
	--pv-display: var(--wp--preset--font-family--display);
	--pv-line: rgba(26, 21, 18, 0.16);
}

html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > * + * { margin-block-start: 0; }
:where(.pv-main) h1, :where(.pv-main) h2, :where(.pv-main) h3, :where(.pv-main) p { margin: 0; }

/* ---------- Layout ---------- */
.pv-wrap { max-width: 1280px; margin: 0 auto; padding: 0 64px; box-sizing: border-box; }
.pv-sec { padding: 88px 0; box-sizing: border-box; }

.pv-row { display: flex; flex-wrap: wrap; gap: 56px; }
.pv-row-stretch { align-items: stretch; }
.pv-row-end { align-items: flex-end; }
.pv-row-center { align-items: center; }
.pv-c7 { flex: 7 1 520px; min-width: 0; }
.pv-c5 { flex: 5 1 360px; min-width: 0; }

.pv-gap-12 { gap: 12px; }
.pv-gap-48 { gap: 48px; }
.pv-m0 { margin: 0 !important; }
.pv-mt-0 { margin-top: 0 !important; }
.pv-mt-36 { margin-top: 36px !important; }
.pv-mb-8 { margin-bottom: 8px !important; }
.pv-mb-32 { margin-bottom: 32px !important; }
.pv-mb-44 { margin-bottom: 44px !important; }
.pv-pt-36 { padding-top: 36px; }

/* ---------- Color grounds ---------- */
.pv-bg-tint { background: var(--pv-tint); color: var(--pv-ink); }
.pv-bg-deep { background: var(--pv-deep); color: var(--pv-paper); }
.pv-bg-ink { background: var(--pv-ink); color: var(--pv-paper); }
.pv-bg-cool { background: var(--pv-cool); color: var(--wp--preset--color--on-cool); }
.pv-bg-sun { background: var(--pv-sun); color: var(--pv-ink); }
.pv-bg-warm { background: var(--pv-warm); color: var(--wp--preset--color--on-warm); }
.pv-bg-tag { background: var(--pv-tag); color: var(--wp--preset--color--on-tag); }
.pv-bg-warm .pv-blk-lbl, .pv-bg-warm .pv-blk-sub { opacity: 1; }

/* ---------- Type ---------- */
.pv-d1, .pv-d2, .pv-d3, .pv-blk-val, .pv-num, .pv-wordmark, .pv-price-big {
	font-family: var(--pv-display); font-weight: 800; text-transform: uppercase;
}
.pv-d1 { font-size: 132px; line-height: .88; margin: 0 0 26px !important; }
.pv-d2 { font-size: 76px; line-height: .92; margin: 0 0 24px; }
.pv-d3 { font-size: 40px; line-height: 1; margin: 0 0 12px; }
.pv-d3-48 { font-size: 48px; }
.pv-statement { font-size: 40px; line-height: 1.25; font-weight: 500; letter-spacing: -.01em; max-width: 1020px; }
.pv-lede { font-size: 20px; line-height: 1.55; color: var(--pv-muted); max-width: 540px; }
.pv-on-dark .pv-lede { color: rgba(250, 247, 242, .84); }
.pv-body { font-size: 17px; line-height: 1.65; color: var(--pv-muted); margin: 0 0 16px !important; }
.pv-h3 { font-size: 20px; font-weight: 700; line-height: 1.2; margin: 0 0 14px; }
.pv-note { font-size: 15px; line-height: 1.6; color: var(--pv-muted); margin-top: 24px !important; max-width: 860px; }

/* ---------- Photo placeholders ---------- */
.pv-ph { position: relative; background: var(--pv-photo); min-width: 0; box-sizing: border-box; }
.wp-block-image.pv-photo { margin: 0; overflow: hidden; }
.pv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pv-row-stretch > .pv-photo img { position: absolute; inset: 0; }
.pv-hero-photo.pv-photo::after { content: ""; position: absolute; inset: 0; background: rgba(26, 21, 18, .45); }
.pv-hero-photo.pv-photo img { position: absolute; inset: 0; }
.pv-ph-dark { background: var(--pv-photo-dark); }
.pv-cap {
	position: absolute; left: 16px; bottom: 16px;
	background: rgba(26, 21, 18, .8); color: #fff;
	font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	padding: 7px 11px;
}
.pv-ph-320 { height: 320px; }
.pv-ph-360 { height: 360px; }
.pv-ph-440 { height: 440px; }
.pv-ph-450 { min-height: 450px; }
.pv-ph-560 { height: 560px; }
.pv-ph-620 { min-height: 620px; }

/* ---------- Buttons ---------- */
.pv-main .wp-block-buttons, .pv-header .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.pv-btn .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 18px 30px; border-radius: 0;
	font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	text-decoration: none; box-sizing: border-box; min-height: 44px;
}
.pv-btn-sun .wp-block-button__link { background: var(--pv-sun); color: var(--pv-ink); }
.pv-btn-sun .wp-block-button__link:hover { background: #FFE94D; color: var(--pv-ink); }
.pv-btn-ghost .wp-block-button__link { background: transparent; border: 2px solid rgba(255, 255, 255, .85); color: #fff; }
.pv-btn-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.pv-btn-ink .wp-block-button__link { background: var(--pv-ink); color: var(--pv-paper); }
.pv-btn-ink .wp-block-button__link:hover { background: #3A302A; color: var(--pv-paper); }
.pv-btn-sm .wp-block-button__link { padding: 14px 22px; font-size: 13px; }

/* ---------- Header ---------- */
.pv-header { background: var(--pv-paper); }
.pv-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.pv-wordmark { font-size: 24px; line-height: 1; }
.pv-wordmark a { text-decoration: none; color: inherit; }
.pv-wordmark-sm { font-size: 20px; }
.pv-logo-link { display: inline-flex; align-items: center; }
.pv-logo-img { height: clamp(66px, 10px + 5.3vw, 86px); width: auto; display: block; }
.pv-header-right { display: flex; align-items: center; gap: 40px; }
.pv-bh { font-size: 18px; font-weight: 700; margin: 0 !important; display: flex; align-items: center; direction: rtl; }
.pv-nav { font-size: 18px; font-weight: 600; gap: 28px; }
.pv-nav .wp-block-navigation__container { gap: 28px; }
.pv-nav a { text-decoration: none; }
.pv-nav a:hover { color: var(--pv-deep); }

/* ---------- Hero ---------- */
.pv-hero { position: relative; height: 720px; }
.pv-hero-photo { position: absolute; inset: 0; background: var(--pv-photo-hero); }
.pv-hero-photo .pv-cap { left: auto; right: 24px; top: 24px; bottom: auto; }
.pv-hero-content { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 96px; color: #fff; }
.pv-hero-sub { font-size: 24px; line-height: 1.4; font-weight: 500; max-width: 620px; margin: 0 0 32px !important; }

/* ---------- Colored blocks ---------- */
.pv-block { padding: 28px 30px; box-sizing: border-box; }
.pv-blk-lbl { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px !important; opacity: .85; }
.pv-lbl-deep { color: var(--pv-deep); opacity: 1; }
.pv-lbl-sun { color: var(--pv-sun); opacity: 1; }
.pv-blk-val { font-size: 32px; line-height: 1; margin: 0 0 8px !important; }
.pv-blk-val-40 { font-size: 40px; }
.pv-blk-val-sm { font-size: 18px; line-height: 1.3; }
.pv-blk-sub { font-size: 15px; line-height: 1.45; opacity: .92; }
.pv-blk-val a, .pv-rep-phone a { color: inherit; text-decoration: none; }

/* ---------- Facts list ---------- */
.pv-facts { margin-top: 28px; border-top: 1px solid var(--pv-line); }
.pv-fact { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--pv-line); font-size: 16px; }
.pv-fact-k { color: var(--pv-muted); }
.pv-fact-v { font-weight: 700; text-align: right; }

/* ---------- Rooms ---------- */
.pv-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pv-rooms-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pv-room { background: var(--pv-paper); color: var(--pv-ink); display: flex; flex-direction: column; }
.pv-room-photo { height: 220px; }
.pv-room-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.pv-room-desc { font-size: 16px; line-height: 1.6; color: var(--pv-muted); margin-bottom: 24px !important; }
.pv-room .wp-block-buttons { margin-top: auto; }
.pv-room .pv-btn .wp-block-button__link { padding: 15px 22px; font-size: 13px; }

/* ---------- Spiritual ---------- */
.pv-num-item { display: flex; gap: 24px; padding: 20px 0; border-top: 1px solid rgba(250, 247, 242, .2); }
.pv-num-item:last-child { border-bottom: 1px solid rgba(250, 247, 242, .2); }
.pv-num { font-size: 28px; line-height: 1; color: var(--pv-pop); min-width: 40px; }
.pv-num-t { font-size: 20px; font-weight: 700; margin: 0 0 4px !important; }
.pv-num-d { font-size: 16px; line-height: 1.5; color: rgba(250, 247, 242, .8); }
.pv-team { display: flex; gap: 40px; flex-wrap: wrap; }
.pv-person { display: flex; align-items: center; gap: 16px; }
.pv-avatar { width: 60px; height: 60px; border-radius: 50%; flex: none; }
.pv-person-name { font-weight: 700; }
.pv-person-role { font-size: 15px; color: rgba(250, 247, 242, .75); }

/* ---------- Dining ---------- */
.pv-tea-col { display: flex; justify-content: flex-end; }
.pv-tea { margin-top: -120px; max-width: 560px; padding: 36px 40px; position: relative; }
.pv-tea .pv-blk-sub { font-size: 15px; }
.pv-tea .pv-tea-text { font-size: 17px; line-height: 1.55; margin-bottom: 16px !important; }

/* ---------- Entertainment ---------- */
.pv-nights { display: flex; flex-direction: column; gap: 12px; }
.pv-nights .pv-block { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; }
.pv-mimouna { margin-top: 12px; padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: center; }
.pv-mimouna-title { flex: 4 1 280px; }
.pv-mimouna-text { flex: 7 1 360px; font-size: 17px; line-height: 1.6; }

/* ---------- Kids ---------- */
.pv-kids-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
.pv-kids-t { font-weight: 700; margin-bottom: 4px !important; }
.pv-kids-d { font-size: 15px; line-height: 1.5; color: var(--pv-muted); }
.pv-kids-item:last-child:nth-child(odd) { grid-column: span 2; }

/* ---------- Excursions ---------- */
.pv-exc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pv-exc-body { padding-top: 26px; }
.pv-price { display: inline-flex; align-items: baseline; gap: 14px; padding: 14px 20px; margin: 20px 0 12px !important; background: var(--pv-tag); color: var(--wp--preset--color--on-tag); }
.pv-price-big { font-size: 44px; line-height: 1; }
.pv-price-sm { font-size: 15px; font-weight: 600; }

/* ---------- Photo strip ---------- */
.pv-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Contact ---------- */
.pv-body a { color: inherit; }
.pv-reps { display: flex; flex-direction: column; gap: 12px; }
.pv-rep { padding: 32px 36px; }
.pv-rep-phone { font-size: 20px; font-weight: 700; margin-bottom: 4px !important; }
.pv-rep-via { font-weight: 500; font-size: 15px; opacity: .85; }

/* ---------- Footer ---------- */
.pv-footer { background: var(--pv-ink); color: var(--pv-paper); border-top: 1px solid rgba(250, 247, 242, .14); }
.pv-footer-inner { padding-top: 28px; padding-bottom: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.pv-footer p { margin: 0; }
.pv-footer-tag { font-size: 14px; color: rgba(250, 247, 242, .7); }

/* ---------- Other pages ---------- */
.pv-prose { max-width: 860px; }
.pv-prose .wp-block-post-content > * + * { margin-top: 1em; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.pv-rooms, .pv-rooms-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pv-d1 { font-size: 104px; }
}

/* ---------- Phone ---------- */
@media (max-width: 820px) {
	.pv-wrap { padding-left: 20px; padding-right: 20px; }
	.pv-header-inner { flex-wrap: nowrap; gap: 14px; }
	.pv-header .pv-wordmark { font-size: 18px; flex: 1 1 auto; }
	.pv-header .pv-logo-link { flex: 1 1 auto; }
	.pv-logo-img { height: 65px; }
	.pv-header-right { gap: 10px; }
	.pv-bh { font-size: 15px; }
	.pv-header .wp-block-buttons { order: 1; flex: none; }
	.pv-header .wp-block-button__link { white-space: nowrap; }
	.pv-nav { order: 2; }
	.pv-header-right .pv-bh { order: 3; }
	.pv-sec { padding: 64px 0; }
	.pv-d1 { font-size: 64px; }
	.pv-d2 { font-size: 46px; }
	.pv-statement { font-size: 28px; }
	.pv-hero { height: 640px; }
	.pv-hero-content { padding-bottom: 64px; }
	.pv-hero-sub { font-size: 20px; }
	.pv-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pv-blk-val { font-size: 26px; }
	.pv-exc { grid-template-columns: 1fr; }
	.pv-row { gap: 36px; }
	.pv-ph-620 { min-height: 420px; }
	.pv-ph-450 { min-height: 300px; }
	.pv-ph-440 { height: 280px; }
	.pv-ph-560 { height: 320px; }
	.pv-tea { margin-top: 0; padding: 28px; }
	.pv-strip .pv-ph-320 { height: 200px; }
	.pv-rep { padding: 26px 24px; }
	.pv-blk-val-40 { font-size: 32px; }
}

@media (max-width: 560px) {
	.pv-rooms, .pv-rooms-3, .pv-kids-list { grid-template-columns: 1fr; }
	.pv-kids-item:last-child:nth-child(odd) { grid-column: auto; }
	.pv-d1 { font-size: 56px; }
	.pv-mimouna { padding: 28px; }
}

/* =========================================================================
 * Compact layout (v2): page template page-v2. Colors are set on the body
 * class (so the header and footer pick them up too); everything else is
 * scoped to .pv-v2, so v1 never changes.
 * Order: hero, intro, rabbi, amenities, activities, rooms, event spaces,
 * day trips, FAQ, reserve.
 * ====================================================================== */

/* ---------- v2 colors: Colors_3 ----------
 * Moroccan jewel tones around v1's plum: Majorelle blue, rose, emerald
 * zellige green, turquoise, saffron. White text reads on every colored
 * block (4.5:1+). v1 uses Colors_1 from theme.json. Values match
 * styles/colors-3.json (Colors_2 is kept in styles/colors-2.json). */
body.pv-v2-site {
	--wp--preset--color--deep: #7A3D5D;
	--wp--preset--color--cool: #1D4ED8;
	--wp--preset--color--warm: #D6246E;
	--wp--preset--color--sun: #00875A;
	--wp--preset--color--tag: #00828C;
	--wp--preset--color--pop: #FFC20E;
	--wp--preset--color--on-warm: #FFFFFF;
	--wp--preset--color--on-cool: #FFFFFF;
	--wp--preset--color--on-tag: #FFFFFF;
	/* Re-read the presets here: the --pv-* copies on :root are already resolved. */
	--pv-deep: var(--wp--preset--color--deep);
	--pv-cool: var(--wp--preset--color--cool);
	--pv-warm: var(--wp--preset--color--warm);
	--pv-sun: var(--wp--preset--color--sun);
	--pv-tag: var(--wp--preset--color--tag);
	--pv-pop: var(--wp--preset--color--pop);
	--pv-photo-dark: color-mix(in srgb, var(--pv-deep) 72%, #000);
}
body.pv-v2-site .pv-bg-sun,
body.pv-v2-site .pv-btn-sun .wp-block-button__link,
body.pv-v2-site .pv-btn-sun .wp-block-button__link:hover { color: #fff; }
body.pv-v2-site .pv-btn-sun .wp-block-button__link:hover { background: var(--pv-sun); filter: brightness(1.12); }

/* ---------- v2 shared sizing ---------- */
.pv-v2 .pv-sec { padding: 56px 0; }
.pv-v2 h2.wp-block-heading { text-align: center; }
.pv-v2 .pv-d2 { font-size: 52px; margin-bottom: 20px; }
.pv-v2 .pv-d3 { font-size: 30px; margin-bottom: 8px; }
.pv-v2 .pv-mb-44 { margin-bottom: 24px !important; }
.pv-v2-center { text-align: center; }
.pv-v2 .pv-d2, .pv-v2 .pv-d3, .pv-v2 .pv-hero-sub { text-wrap: balance; }
.pv-v2 .pv-statement, .pv-v2-trip-text, .pv-v2 .pv-room-desc, .pv-v2-amenity-text { text-wrap: pretty; }

/* ---------- v2 hero: centered, darker overlay ---------- */
.pv-v2 .pv-hero { height: 560px; }
.pv-v2 .pv-hero-photo.pv-photo::after { background: rgba(15, 12, 10, .62); }
.pv-v2 .pv-hero-content { align-items: center; justify-content: center; text-align: center; padding-bottom: 0; }
.pv-v2 .pv-d1 { font-size: 104px; margin-bottom: 20px !important; }
.pv-v2 .pv-hero-sub { font-size: 22px; max-width: 620px; margin-bottom: 26px !important; }
.pv-v2 .pv-hero .wp-block-buttons { justify-content: center; }
.pv-v2-hero-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pv-v2-play { display: block; padding: 0; background: none; border: 0; cursor: pointer; }
.pv-v2-play-icon { display: block; position: relative; width: 58px; height: 58px; box-sizing: border-box; border: 2px solid #fff; border-radius: 50%; transition: background .2s; }
.pv-v2-play-icon::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -9px 0 0 -5px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff; }
.pv-v2-play:hover .pv-v2-play-icon, .pv-v2-play:focus-visible .pv-v2-play-icon { background: rgba(255, 255, 255, .2); }
dialog.pv-v2-video { width: min(960px, 92vw); margin: auto; padding: 0; border: 0; background: #000; overflow: visible; }
.pv-v2-video::backdrop { background: rgba(15, 12, 10, .85); }
.pv-v2-video-frame { aspect-ratio: 16 / 9; }
.pv-v2-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.pv-v2-video-close { position: absolute; top: -46px; right: -6px; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }

/* ---------- v2 intro ---------- */
.pv-v2 .pv-v2-intro-sec { padding: 52px 0; }
.pv-v2 .pv-statement { font-size: 21px; line-height: 1.5; font-weight: 300; letter-spacing: 0; max-width: 780px; margin: 0 auto; }

/* ---------- v2 rabbi ---------- */
.pv-v2-rabbi { text-align: center; }
.pv-v2 .pv-v2-rabbi-title { margin-bottom: 8px; }
.pv-v2-creds { font-size: 20px; color: rgba(250, 247, 242, .84); }
.pv-v2-people { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 100px; margin: 36px 0 44px; }
.pv-v2-person { display: flex; flex-direction: column; align-items: center; }
.pv-v2-face { width: 150px; height: 150px; border-radius: 50%; margin-bottom: 14px; overflow: hidden; }
.pv-v2-program { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 10px; border-top: 1px solid rgba(250, 247, 242, .2); padding-top: 30px; }
.pv-v2-program-item { font-size: 20px; font-weight: 700; }
.pv-v2-program-item + .pv-v2-program-item::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pv-pop); margin: 0 22px; vertical-align: middle; }

/* ---------- v2 cards: amenities, rooms, event spaces ---------- */
.pv-v2 .pv-room-photo { height: 160px; }
.pv-v2 .pv-room-body { padding: 18px 20px 20px; }
.pv-v2 .pv-room-desc { font-size: 15px; line-height: 1.55; margin-bottom: 16px !important; }
.pv-v2-amenity { display: flex; flex-direction: column; height: 100%; }
.pv-v2-amenity .pv-d3 { font-size: 28px; margin-bottom: 4px; }
.pv-v2-amenity .pv-blk-lbl { opacity: 1; }
.pv-v2-amenity-text { font-size: 17px; line-height: 1.6; }
.pv-v2 #spaces { background: var(--pv-warm); }
a.pv-v2-amenity-link { text-decoration: none; }
.pv-v2-amenity .pv-room-body { display: flex; flex-direction: column; flex: 1; }
.pv-v2-amenity-cue { font-size: 14px; font-weight: 700; margin-top: auto !important; padding-top: 14px; }

/* ---------- v2 activities tiles ---------- */
.pv-v2 #activities { background: var(--pv-tag); }
.pv-v2 #activities > .pv-wrap > .pv-d2 { color: #fff; }
.pv-v2 #activities > .pv-wrap > .pv-v2-sub-lede { color: rgba(255, 255, 255, .85); margin-bottom: 32px !important; }
.pv-v2-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv-v2-act { display: grid; grid-template-columns: 120px minmax(0, 1fr); background: var(--pv-paper); }
.pv-v2-act-thumb { min-height: 180px; }
.pv-v2-act-thumb.pv-photo img { position: absolute; inset: 0; }
/* Default center crop clips the subject on several tiles; reposition per photo
   (order: Quad, Camels, Balloon, Golf, Guided tours, Classes). These thumbs
   only crop horizontally (image is wider-than-tall relative to the 2:3 box),
   so object-position's y value is a no-op unless paired with a transform. */
.pv-v2-acts .pv-v2-act:nth-child(1) .pv-v2-act-thumb img { object-position: 100% 50%; }
.pv-v2-acts .pv-v2-act:nth-child(3) .pv-v2-act-thumb img { object-position: 100% 50%; }
.pv-v2-acts .pv-v2-act:nth-child(4) .pv-v2-act-thumb img { object-position: 60% 58%; }
/* Guided tours: the top ~20% of the source photo is flat sky; zoom in and
   shift the crop down so the thumb fills with rooftops/minaret instead. */
.pv-v2-acts .pv-v2-act:nth-child(5) .pv-v2-act-thumb img { transform: scale(1.2); transform-origin: 50% 65%; }
.pv-v2-acts .pv-v2-act:nth-child(6) .pv-v2-act-thumb img { object-position: 25% 45%; }
.pv-v2-act-body { padding: 16px 18px; }
.pv-v2-acts-cta .wp-block-buttons { justify-content: center; margin-top: 28px; }
.pv-v2-act .pv-num-t { font-size: 18px; margin-bottom: 4px !important; color: var(--pv-deep); }

/* ---------- v2 day trips ---------- */
.pv-v2-trips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pv-v2-trip-body { display: flex; flex-direction: column; }
.pv-v2-trip-body .pv-v2-trip-text { margin-bottom: 14px !important; }
.pv-v2-trip { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
.pv-v2-trip-photo { min-height: 190px; }
.pv-v2-trip-photo.pv-photo img { position: absolute; inset: 0; }
.pv-v2-trip-text { font-size: 15px; line-height: 1.55; color: var(--pv-muted); }
.pv-v2 .pv-price { padding: 8px 14px; margin: auto 0 0 !important; align-self: flex-start; }
.pv-v2 .pv-price-big { font-size: 28px; }
a.pv-v2-trip-link { text-decoration: none; color: inherit; }
.pv-v2-trips-highlight { background: var(--pv-sun); color: #fff; padding: 22px 26px; margin-top: 28px !important; }
.pv-v2-trips-highlight-text { font-size: 17px; line-height: 1.5; font-weight: 600; margin: 0 !important; }
.pv-v2-daytime { margin-top: 28px !important; font-size: 17px; text-align: center; }
.pv-v2 .pv-note { margin-top: 20px !important; text-align: center; max-width: none; }

/* ---------- v2 FAQ ---------- */
.pv-v2-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; align-items: start; }
.pv-faq { border-bottom: 1px solid var(--pv-line); }
.pv-faq:nth-child(-n+2) { border-top: 1px solid var(--pv-line); }
.pv-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; min-height: 44px; font-size: 19px; font-weight: 700; }
.pv-faq summary::-webkit-details-marker { display: none; }
.pv-faq summary::after { content: "+"; flex: none; font-family: var(--pv-display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--pv-deep); transition: transform .15s ease; }
.pv-faq[open] summary::after { transform: rotate(45deg); }
.pv-faq-a { margin: -4px 0 20px !important; font-size: 17px; line-height: 1.6; color: var(--pv-muted); }
.pv-faq-a a { color: var(--pv-deep); font-weight: 700; }

/* ---------- v2 contact ---------- */
.pv-v2 #contact .pv-row { flex-direction: column; align-items: stretch; gap: 32px; }
.pv-v2 #contact .pv-c5, .pv-v2 #contact .pv-c7 { flex: none; }
.pv-v2 #contact .pv-c5 { text-align: center; }
.pv-v2 #contact .pv-lede { max-width: 680px; margin-left: auto; margin-right: auto; }
.pv-v2 #contact .pv-reps { flex-direction: row; justify-content: center; }
.pv-v2 #contact .pv-rep { flex: 0 1 auto; min-width: 0; padding: 26px; }
.pv-v2 .pv-blk-val-40 { font-size: 32px; }

/* ---------- v2 header: switch to the menu button below 1130px instead of
 * WordPress's default 600px. A few px wider than the content breakpoint
 * below, since the logo + nav + Reserve + בס"ד run out of room first. ---------- */
@media (max-width: 1130px) {
	body.pv-v2-site .pv-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	body.pv-v2-site .pv-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	body.pv-v2-site .pv-header-inner { flex-wrap: nowrap; }
	body.pv-v2-site .pv-header .pv-wordmark { flex: 1 1 auto; }
	body.pv-v2-site .pv-header .pv-logo-link { flex: 1 1 auto; }
	body.pv-v2-site .pv-header .wp-block-buttons { order: 1; flex: none; }
	body.pv-v2-site .pv-nav { order: 2; }
	body.pv-v2-site .pv-header-right .pv-bh { order: 3; }
}

/* ---------- v2 tablet ---------- */
@media (max-width: 1100px) {
	.pv-v2 .pv-rooms-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pv-v2-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pv-v2-trip { grid-template-columns: 1fr; grid-template-rows: 180px 1fr; gap: 12px; }
}

/* ---------- v2 phone ---------- */
@media (max-width: 820px) {
	.pv-v2 .pv-sec { padding: 44px 0; }
	.pv-v2 .pv-v2-intro-sec { padding: 36px 0; }
	.pv-v2 .pv-d1 { font-size: 52px; }
	.pv-v2 .pv-d2 { font-size: 36px; }
	.pv-v2 .pv-d3 { font-size: 26px; }
	.pv-v2 .pv-hero { height: 480px; }
	.pv-v2 .pv-hero-sub { font-size: 17px; }
	.pv-v2 .pv-hero-sub br { display: none; }
	.pv-v2 .pv-statement { font-size: 16px; }
	.pv-v2-creds { font-size: 17px; }
	.pv-v2-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 32px; }
	.pv-v2-face { width: 88px; height: 88px; margin-bottom: 10px; }
	.pv-v2-person .pv-person-name { font-size: 14px; line-height: 1.3; }
	.pv-v2-person .pv-person-role { font-size: 13px; }
	.pv-v2-program { flex-direction: column; padding-top: 24px; }
	.pv-v2-program-item { font-size: 18px; }
	.pv-v2-program-item + .pv-v2-program-item::before { display: block; margin: 0 auto 10px; }
	.pv-v2 .pv-room-photo { height: 180px; }
	.pv-v2-acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.pv-v2-act { grid-template-columns: 96px minmax(0, 1fr); }
	.pv-v2-act-thumb { min-height: 144px; }
	.pv-v2-act-body { padding: 12px 14px; }
	.pv-v2-act .pv-num-t { font-size: 16px; }
	.pv-v2-act .pv-v2-trip-text { font-size: 14px; line-height: 1.45; }
	.pv-v2-trips { gap: 28px 16px; }
	.pv-v2 .pv-rooms-3 { grid-template-columns: 1fr; }
	.pv-v2-faq-list { grid-template-columns: 1fr; }
	.pv-faq:nth-child(2) { border-top: 0; }
	.pv-faq summary { font-size: 17px; padding: 16px 0; }
	.pv-faq-a { font-size: 16px; }
}

@media (max-width: 560px) {
	.pv-v2-trips { grid-template-columns: 1fr; }
	.pv-v2 #contact .pv-reps { flex-direction: column; }
	.pv-v2-acts { grid-template-columns: 1fr; }
}

/* ---------- v2 sub-pages (Kids' Zone, Catering, etc.) ---------- */
/* Centered title + one sentence, like the Catering heading, at hero size. */
.pv-v2-sub-hero { padding: 64px 0 0; text-align: center; }
.pv-v2-sub-title { margin-bottom: 0 !important; }
.pv-v2-sub-lede { max-width: 760px; margin: 16px auto 0 !important; font-size: 25px; line-height: 1.5; color: var(--pv-muted); }
/* Day trips intro matches the Catering intro's size (.pv-lede, 20px). */
#excursions .pv-v2-sub-lede { font-size: 20px; line-height: 1.55; }

/* A sub-page's tiles reuse the real .pv-v2-act / .pv-v2-acts classes from
   the main page's Activities section — same grid, same plain tile style.
   The section band around them can take the page's card color (see
   gei_pv_sub_tiles' $color param), same as Event Spaces' teal band with
   plain tan cards. */

/* Plain text tiles for sub-page lists (no photo): same type scale as
   the Activities tiles, just without the thumbnail column. */
.pv-v2-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pv-v2-tile { background: var(--pv-tint); padding: 20px 22px; }
.pv-v2-tile .pv-num-t { color: var(--pv-deep); }

/* Longer-form body copy for a sub-page story (Catering, Tea Room). */
.pv-v2-body { font-size: 18px; line-height: 1.65; color: var(--pv-ink); max-width: 720px; margin: 0 auto 18px; }
.pv-v2-body-wrap { max-width: 720px; margin: 0 auto; }
.pv-spa-h3 { margin-top: 48px !important; text-transform: uppercase; }
.pv-spa-h3:first-of-type { margin-top: 0 !important; }
.pv-villa-sub { font-size: 20px; }
.pv-villa-photo { flex: 7 1 468px; min-width: 0; } /* pv-c7's 520px basis, 10% narrower */
.pv-villa-text { flex: 5 1 420px; }
.pv-v2 .pv-text-left.wp-block-heading { text-align: left; }
.pv-v2-checklist { list-style: none; margin: 0; padding: 0; }
.pv-v2-checklist li { position: relative; padding-left: 30px; margin-bottom: 14px; font-size: 17px; line-height: 1.5; }
.pv-v2-checklist li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--pv-check, var(--pv-deep)); }
.pv-check-deep { --pv-check: var(--pv-deep); }
.pv-check-cool { --pv-check: var(--pv-cool); }
.pv-check-warm { --pv-check: var(--pv-warm); }
.pv-check-sun { --pv-check: var(--pv-sun); }
.pv-check-tag { --pv-check: var(--pv-tag); }
.pv-v2-two-photos { display: flex; gap: 50px; }
.pv-v2-two-photo { flex: 1 1 0; height: 420px; margin: 0; }
.pv-v2-body-lg { font-size: 21px; }
.pv-night-sub { font-size: 17px; }

/* ---------- v2 Kashrut banner (placeholder, above Catering) ---------- */
.pv-kashrut-banner { padding-bottom: 36px; }
.pv-kashrut-banner .pv-d2 { text-align: center; }
.pv-kashrut-sub { text-align: center; max-width: 620px; margin: 0 auto 16px !important; }
.pv-kashrut-link { text-align: center; font-weight: 700; }
.pv-kashrut-link a { text-decoration: none; }
.pv-kashrut-link a:hover { text-decoration: underline; }

/* ---------- v2 catering banner (above Amenities) ---------- */
.pv-cater-banner { padding-bottom: 36px; }
.pv-cater-banner .pv-d2 { text-align: center; }
.pv-cater-sub { text-align: center; max-width: 620px; margin: 0 auto 16px !important; }
.pv-cater-link { text-align: center; font-weight: 700; margin-bottom: 28px !important; }
.pv-cater-link a { text-decoration: none; }
.pv-cater-link a:hover { text-decoration: underline; }
.pv-cater-gal-wrap { overflow: hidden; width: 100%; }
.pv-cater-gal { display: flex; width: max-content; gap: 0; animation: pv-cater-scroll 40.8s linear infinite; }
.pv-cater-gal img { height: var(--pv-gal-h, 190px); width: auto; display: block; }
@keyframes pv-cater-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.pv-cater-gal { animation: none; }
}
.pv-cater-page-kashrut { text-align: center; margin-top: 28px; }
.pv-cater-page-kashrut .wp-block-buttons { justify-content: center; }

@media (max-width: 1100px) {
	.pv-v2-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
	.pv-v2-tiles { grid-template-columns: 1fr; }
	.pv-v2-sub-hero { padding-top: 40px; }
	.pv-v2-sub-lede { font-size: 18px; }
	.pv-v2-two-photos { flex-direction: column; gap: 20px; }
	.pv-v2-two-photo { height: 280px; }
}
