/* Home content layout. The approved facade, header and payment UI stay separate. */
.personal-services{display:flex;justify-content:space-between;align-items:center;gap:28px;border-top:1px solid #d8c9b9;margin-top:32px;padding-top:28px}
.personal-services h3{font-size:23px;margin:0 0 7px}.personal-services p{font-size:14px;margin:0;color:#675550}
.personal-service-links{display:flex;flex-wrap:wrap;gap:10px}.personal-service-links .btn{font-size:13px;min-height:44px;padding:12px 16px}
.service-prayer-times{margin-top:22px}.service-prayer-times .utility-item{padding:20px;border:1px solid #d7c6b1;border-radius:8px;background:#fffaf1}.service-prayer-times h3{font-size:22px}.service-prayer-times .shabbat-values strong{font-size:30px}
.intent-photo-community img{object-position:center 45%}.intent-photo-koshering img{object-position:center 40%}.intent-photo-bar img{object-fit:contain;padding:28px;background:#f4eee4}
.home-gallery-section{padding:85px 0;background:#f7f3e9}.home-gallery{display:grid;grid-template-columns:1.35fr 1fr 1fr;grid-template-rows:235px 235px;gap:16px}
.home-gallery-item{padding:0;border:0;position:relative;overflow:hidden;border-radius:8px;text-align:right;background:#34252a;color:white;cursor:zoom-in;min-width:0}
.home-gallery-item:first-child{grid-row:span 2}.home-gallery-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .3s}
.home-gallery-item:first-child img{object-position:63% center}.home-gallery-item:nth-child(3) img{object-position:center top}.home-gallery-item:nth-child(5) img{object-position:center 25%}
.home-gallery-item:hover img{transform:scale(1.025)}
.gallery-caption{position:absolute;inset:auto 0 0;padding:38px 18px 17px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(transparent,#20151be6);font-size:14px;font-weight:600}
.gallery-caption>span{display:grid;place-items:center;border:1px solid #fff8;border-radius:50%;width:30px;height:30px;font-size:20px;flex-shrink:0}
.home-gallery-dialog{padding:22px;background:#231820;color:#fff8ec;border:1px solid #aa8d6a;border-radius:12px;width:min(1000px,94vw);max-width:94vw;max-height:94svh;overflow:auto}
.home-gallery-dialog::backdrop{background:#130e13e8}.gallery-close{display:grid;place-items:center;width:44px;height:44px;margin:0 0 12px auto;background:#ffffff12;color:white;border:1px solid #ffffff55;border-radius:50%}.gallery-close svg{width:22px;height:22px}
.home-gallery-dialog figure{margin:0}.home-gallery-dialog figure img{display:block;width:100%;height:min(65svh,650px);object-fit:contain}.home-gallery-dialog figcaption{text-align:center;font-size:16px;line-height:1.7;margin:12px 0}
.gallery-controls{display:flex;align-items:center;justify-content:center;gap:22px}.gallery-controls button{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;border:1px solid #b49d84;border-radius:30px;background:transparent;color:inherit;font-size:14px}.gallery-controls svg{width:18px;height:18px}.gallery-controls [data-gallery-prev] svg{transform:rotate(180deg)}
.home-about{background:#fffaf2}.home-about .story-visual{height:440px;overflow:visible;margin-inline:0 20px}.home-about .story-visual>img{width:100%;height:100%;object-fit:cover;object-position:63% center;border-radius:140px 12px 12px 12px}.home-about .story-date{left:-20px;bottom:-15px}.home-about .story-copy h2{margin:24px 0}.home-about .story-copy p{font-size:16px;line-height:1.9}.home-about .story-copy .story-lead{font-size:22px}
.home-updates{padding:70px 0;background:#ebe1ce;border-block:1px solid #d8c9b5}.home-updates-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:45px;align-items:center}.home-updates h2{font-size:52px;line-height:1.15;margin:22px 0;color:#351724}.home-updates h2 em{font-style:normal;color:#7c3447}.home-updates p{font-size:16px;line-height:1.9}.home-updates-action{text-align:center}.home-updates-action .btn{min-height:56px;font-size:16px;white-space:normal;text-align:center}.home-updates-action p{font-size:13px;color:#69594c;margin:14px 0 0}
.home-gallery-item:focus-visible,.gallery-controls button:focus-visible,.gallery-close:focus-visible{outline:3px solid #b78735;outline-offset:4px}
@media(max-width:950px){.personal-services{align-items:flex-start;flex-direction:column;gap:18px}.home-gallery{grid-template-rows:200px 200px}.home-updates-inner{gap:25px}.home-updates h2{font-size:44px}.home-about .story-grid{gap:35px}.home-about .story-visual{height:390px}}
@media(max-width:680px){
 .personal-services h3{font-size:21px}.personal-service-links{gap:8px}.personal-service-links .btn{font-size:14px;padding:11px 12px}.service-prayer-times .utility-item{display:block}.service-prayer-times .shabbat-values{margin-top:12px}
 .home-gallery-section{padding:55px 0}.home-gallery{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:4px 4px 18px;scrollbar-color:#9b7654 #e5d9c7;scrollbar-width:thin}.home-gallery-item{flex:0 0 90%;height:330px;scroll-snap-align:start}.home-gallery-item:first-child{grid-row:auto}.gallery-caption{font-size:14px}
 .home-gallery-dialog{padding:14px;max-width:96vw;width:96vw}.home-gallery-dialog figure img{height:58svh}.gallery-controls{gap:12px}.gallery-controls button{padding:9px 12px;font-size:13px}
 .home-about .story-grid{gap:25px}.home-about .story-visual{height:310px;margin:0 12px 20px}.home-about .story-copy p{font-size:15px}.home-about .story-copy .story-lead{font-size:20px}.home-about .story-copy h2{font-size:44px}
 .home-updates{padding:50px 0}.home-updates-inner{grid-template-columns:1fr;gap:16px}.home-updates h2{font-size:40px}.home-updates p{font-size:15px}.home-updates-action{text-align:right}.home-updates-action .btn{width:100%;font-size:14px;padding:15px 14px}.home-updates-action p{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.home-gallery-item img{transition:none}.home-gallery{scroll-behavior:auto}}

/* Keep service pictograms and navigation arrows upright. */
.intent-tabs button svg{transform:none;margin-inline-start:0;flex-shrink:0}
.intent-tabs button>svg{stroke-width:1.7}

/* Compact headings after removing redundant overlines. */
.discovery-section{padding-top:65px}
.home-about .story-copy h2,.home-updates h2,.arrival-finale h2{margin-top:0}
@media(max-width:680px){.discovery-section{padding-top:40px}}

/* Direct service navigation replaces the homepage tabs and inline panels. */
.home-service-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-service-links>a{display:flex;align-items:center;gap:16px;min-height:96px;padding:24px;border:1px solid #d5c5b1;border-radius:7px;background:#f2eadd;color:#361b2a;text-decoration:none;box-shadow:inset 0 3px 0 #ffffff5c;font-size:17px;font-weight:500;transition:background .18s,color .18s,border-color .18s}
.home-service-links>a>svg{width:28px;height:28px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;color:#8a654d}
.home-service-links .choice-arrow{margin-inline-start:auto;display:flex}
.home-service-links .choice-arrow svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.home-service-links>a:focus-visible{outline:3px solid #aa793d;outline-offset:4px;background:#68223d;color:#fff5e7;border-color:#68223d}
.home-service-links>a:focus-visible>svg{color:#efd09a}
.home-catalog-link,.home-gallery-more{display:flex;justify-content:flex-start;margin-top:25px}
@media(hover:hover){.home-service-links>a:hover{background:#68223d;color:#fff5e7;border-color:#68223d}.home-service-links>a:hover>svg{color:#efd09a}}
@media(max-width:680px){.home-service-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-service-links>a{min-height:90px;padding:18px 13px;gap:9px;font-size:14px}.home-service-links>a>svg{width:23px;height:23px}.home-service-links .choice-arrow svg{width:18px;height:18px}.home-catalog-link,.home-gallery-more{margin-top:22px}.home-catalog-link .editorial-link,.home-gallery-more .editorial-link{font-size:14px}}
@media(max-width:359px){.home-service-links>a{padding:15px 10px;gap:7px;font-size:13px}.home-service-links>a>svg{width:21px;height:21px}.home-service-links .choice-arrow svg{width:16px;height:16px}}
@media(prefers-reduced-motion:reduce){.home-service-links>a{transition:none}}

/* ---- Hero: two actions ---- */
.h2x-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:36px}
.h2x-actions .h2x-btn{margin-top:0}
.h2x-actions .h2x-btn.h2x-btn-light{background:rgba(255,255,255,.14);color:#fff;border:1.5px solid rgba(255,255,255,.75);box-shadow:none;padding-inline:26px;backdrop-filter:blur(6px)}
.h2x-actions .h2x-btn.h2x-btn-light:hover{background:rgba(255,255,255,.24)}
@media (max-width:560px){.h2x-actions{flex-direction:column;align-items:stretch}.h2x-actions .h2x-btn{justify-content:space-between}.h2x-actions .h2x-btn.h2x-btn-light{justify-content:center}}

/* ---- This week strip ---- */
.week-strip{padding:28px 0 6px;background:#fff}
.week-strip-card{display:grid;grid-template-columns:auto 1fr auto;gap:18px 34px;align-items:center;padding:22px 28px;border:1px solid #eadfcd;border-radius:24px;background:#fffdf9;box-shadow:0 12px 30px rgba(58,15,34,.07)}
.week-strip-kicker{display:block;color:#a0762e;font-weight:800;font-size:14px;letter-spacing:.02em}
.week-strip-head h2{margin:4px 0 2px;font-family:"Frank Ruhl Libre",Heebo,serif;font-weight:900;color:#70213f;font-size:clamp(1.45rem,3.6vw,1.9rem);line-height:1.2}
.week-strip-date{color:#685958;font-size:14px}
.week-strip-times{display:flex;flex-wrap:wrap;gap:10px 26px;align-items:center}
.week-strip-main,.week-strip-fixed{display:flex;gap:22px}
.week-strip-fixed{padding-inline-start:24px;border-inline-start:1px solid #eadfcd}
.week-strip-times strong{display:block;font-size:1.35rem;font-weight:800;color:#2b1520;line-height:1.1}
.week-strip-main strong{color:#70213f;font-size:1.6rem}
.week-strip-times small{display:block;color:#685958;font-size:13.5px;margin-top:3px}
.week-strip-link{font-weight:800;color:#70213f;white-space:nowrap}
.week-strip .no-data{margin:0}
@media (max-width:900px){.week-strip-card{grid-template-columns:1fr;gap:14px;padding:18px}.week-strip-fixed{padding-inline-start:0;border-inline-start:0;padding-top:12px;border-top:1px solid #eadfcd;width:100%}.week-strip-times{flex-direction:column;align-items:flex-start}}

/* ---- The four parts of the site ---- */
.home-paths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:26px}
.home-paths a{position:relative;display:flex;flex-direction:column;gap:4px;padding:18px 18px 18px 42px;border:1px solid #eadfcd;border-radius:18px;background:#fff;color:#2b1520;text-decoration:none;transition:border-color .2s,transform .2s}
.home-paths a:hover{border-color:#c9a25a;transform:translateY(-2px)}
.home-paths strong{font-size:1.08rem;color:#70213f}
.home-paths small{color:#685958;font-size:14px;line-height:1.5}
.home-paths .arw{position:absolute;left:16px;top:50%;margin-top:-.6em;color:#a0762e;font-size:1.1rem}
@media (max-width:900px){.home-paths{grid-template-columns:1fr 1fr}}
@media (max-width:359px){.home-paths{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.home-paths a{transition:none}.home-paths a:hover{transform:none}}
.week-strip-lesson{grid-column:1/-1;margin:0;padding-top:12px;border-top:1px solid #eadfcd;color:#5a4a50;font-size:15px}
.week-strip-lesson strong{color:#2b1520}
.week-strip-lesson a{margin-inline-start:8px;font-weight:700;color:#70213f}

.home-about .story-visual>img.home-family{object-position:50% 30%}
