/* Content trim: keep the brand kit, readable type and existing controls. */
.home-page .section-heading { margin-bottom: 26px; }
.home-hero-grid { min-height: 540px; padding-block: 30px; }
.home-page .upcoming-section { padding-block: 24px 20px; }
.upcoming-card { grid-template-columns: 26% minmax(0,1fr); }
.upcoming-copy { padding: 16px; }
.upcoming-description { margin-block: 10px 16px; }
.upcoming-footer { margin-top: 20px; }
.event-row-time, .event-row-location { display: none; }

.home-page .connect-section { padding-block: 20px; }
.home-page .connect-heading { max-width: none; margin-bottom: 24px; }
.connect-heading > p:last-child { margin: 14px 0 0; }
.connect-grid { gap: 24px; }
.contact-card { padding: 24px; border: 1px solid var(--silver); border-radius: 8px; display: flex; flex-direction: column; align-items: flex-start; }
.events-contact { background: var(--navy); color: white; border-color: var(--navy); }
.trivia-contact { background: white; color: var(--ink); }
.contact-card h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; letter-spacing: .04em; }
.events-contact h3 { color: white; }
.contact-card svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.contact-number { display: block; font-size: 36px; line-height: 1.2; color: inherit; margin: 17px 0 0; }
.contact-number span { font-size: 18px; white-space: nowrap; margin-left: 8px; }
.contact-card > p { margin: 16px 0 22px; font-size: 18px; line-height: 1.6; }
.contact-card > .button { margin-top: auto; }
.contact-card small { display: block; font-size: 15px; margin-top: 16px; }
.text-status { display: block; font-size: 15px; margin-top: 10px; }
.text-status a { text-decoration: underline; text-underline-offset: 3px; }
.button.text-inactive:disabled { cursor: not-allowed; opacity: 1; background: var(--mist); color: #4e6176; border-color: var(--silver); }
.bots-explained { margin: 18px 0 24px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.connect-section .app-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 28px; }
.app-card > div:first-child { max-width: 650px; }
.app-card h3 { font-size: 28px; }
.app-card p { font-size: 18px; line-height: 1.6; margin: 10px 0 0; }
.app-downloads { flex-shrink: 0; }

.home-page .experiences { padding-block: 20px 24px; }
.program-grid { gap: 24px; }
.program-tile { display: grid; grid-template-columns: 37% minmax(0,1fr); gap: 20px; align-items: start; padding: 20px; border: 1px solid var(--line); border-radius: 8px; }
.program-tile .program-image { border-radius: 6px; }
.program-tile .program-image img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
.program-tile .program-copy { padding: 0; }
.program-tile h3 { font-size: 27px; line-height: 1.15; }
.program-tile .program-copy > p { margin: 12px 0 18px; line-height: 1.55; }
.program-tile .program-link { padding-top: 12px; display: block; line-height: 1.4; }
.program-tile .trip-detail-link { margin-top: 10px; line-height: 1.4; }
.program-details { margin-top: 12px; font-size: 16px; }
.program-details summary { color: var(--navy); font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.program-details summary::after { content: '+'; }
.program-details[open] summary::after { content: '−'; }
.program-details p { margin: 10px 0 0; line-height: 1.55; }
.jewishu-spotlight { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; align-items: center; padding: 30px; margin-bottom: 24px; background: var(--mist); border-radius: 8px; }
.jewishu-spotlight .eyebrow { font-size: 13px; margin-bottom: 8px; }
.jewishu-spotlight h3 { font-size: 50px; }
.jewishu-spotlight p { font-size: 20px; margin-bottom: 18px; }
.jewishu-spotlight .button { min-height: 46px; }
.home-page .about-photo img { height: auto; aspect-ratio: 4000 / 2668; }
/* Extra program and donation links need room before the mobile menu takes over. */
@media(min-width:1181px) and (max-width:1320px) {
  .menu-toggle { display: block; font-size: 17px; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 20px; border-bottom: 1px solid var(--line); box-shadow: 0 10px 20px #03285412; align-items: stretch; gap: 6px; font-size: 18px; }
  .site-header nav.is-open { display: flex; flex-direction: column; }
  .site-header nav a { padding: 12px; }
  .site-header nav .nav-cta { text-align: center; margin-top: 8px; }
}

.home-page .quiz-feature { padding-block: 24px 20px; }
.quiz-band-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: center; }
.home-page .quiz-band-top p { margin: 16px 0 0; }
.quiz-schedule { padding: 24px; }
.home-page .quiz-schedule p { font-size: 16px; margin: 0 0 8px; }
.quiz-schedule strong { font-size: 28px; }
.quiz-schedule > span { font-size: 19px; margin-top: 6px; }
.play-options { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--steel); }
.play-options h3 { color: white; font-size: 23px; margin-bottom: 14px; }
.text-play-option { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; }
.text-play-option h3 { grid-column: 1 / -1; margin-bottom: 0; }
.text-play-option > strong { font-size: 28px; line-height: 1.3; color: white; }
.text-play-option > strong span { display: block; font-size: 17px; font-weight: 400; }
.text-play-option .button { align-self: center; }
.text-play-option small { grid-column: 1 / -1; font-size: 15px; }
.home-page .quiz-feature .quiz-prize { max-width: none; font-size: 18px; margin: 26px 0 0; }
.quiz-prize a, .quiz-event-note a { text-decoration: underline; text-underline-offset: 4px; }
.home-page .quiz-feature .quiz-event-note { max-width: none; font-size: 15px; margin: 16px 0 0; }
.home-page .about-section { padding-block: 36px; }
.home-page .faq-section { padding-block: 8px 20px; }
.faqs details { padding-block: 18px; }

.slim-footer { padding-top: 28px; }
.footer-main { display: flex; align-items: center; gap: 55px; }
.footer-main .footer-logo { flex-shrink: 0; margin: 0; }
.footer-main p { margin-bottom: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.slim-footer a { color: white; text-decoration: underline; text-underline-offset: 4px; }
.slim-footer .footer-bottom { margin-top: 24px; padding-block: 18px; gap: 30px; align-items: center; }
.footer-numbers p { margin: 0; font-size: 15px; line-height: 1.8; }

/* Shared page presentation; authentication handlers and quiz behavior stay intact. */
.quiz-public-intro { background: white; border: 1px solid var(--silver); border-radius: 8px; padding: 22px 26px; margin-bottom: 24px; }
.quiz-public-intro > div { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--navy); }
.quiz-public-intro p { margin: 12px 0 0; font-size: 18px; }
.quiz-public-intro small { display: block; color: var(--muted); margin-top: 8px; font-size: 14px; }
.account-page:has(.account-topline) .quiz-public-intro { display: none; }
.signin-actions { display: flex; gap: 12px; margin-top: 18px; }
.signin-actions .button { flex: 1; margin: 0 !important; padding-inline: 16px; gap: 8px; }
.login-explainer .account-caption { margin-top: 24px; }
.rules-summary p { margin: 0 0 12px; }
.rules-summary p:last-child { margin: 0; }
.full-rules { border: 1px solid var(--silver); background: white; border-radius: 8px; margin-top: 24px; }
.full-rules > summary { font-size: 23px; font-weight: 700; color: var(--navy); padding: 22px 28px; display: flex; justify-content: space-between; }
.full-rules > summary::after { content: '+'; }
.full-rules[open] > summary::after { content: '−'; }
.full-rules .account-card { border: 0; margin: 0; padding-top: 0; }
.full-rules h2 { margin-top: 30px; }
.full-rules h2:first-child { margin-top: 0; }

@media (max-width:1100px) {
  .program-tile { grid-template-columns: 1fr; }
  .contact-number span { display: block; margin: 5px 0 0; }
  .connect-section .app-card { display: block; }
  .connect-section .app-downloads { margin-top: 20px; }
  .text-play-option { grid-template-columns: 1fr; }
  .text-play-option .button { justify-self: start; }
}
@media (max-width:760px) {
  .home-hero-grid { padding-block: 18px; gap: 24px; min-height: 0; }
  .home-page .upcoming-section { padding-block: 18px; }
  .upcoming-section .section-heading { margin-bottom: 18px; }
  .upcoming-intro { margin-top: 12px; }
  .upcoming-grid { gap: 0; }
  .upcoming-card { display: block; border: 0; border-radius: 0; border-bottom: 1px solid var(--silver); }
  .upcoming-card:first-child { border-top: 1px solid var(--silver); }
  .upcoming-image, .upcoming-description, .upcoming-meta { display: none; }
  .upcoming-copy { display: block; padding: 14px 0; }
  .upcoming-date { display: block; margin: 0 0 4px; font-size: 14px; line-height: 1.45; }
  .event-row-time { display: inline; font-weight: 400; }
  .upcoming-copy h3 { font-size: 22px; line-height: 1.2; }
  .event-row-location { display: block; font-size: 15px; color: var(--muted); margin: 4px 0 0; line-height: 1.4; }
  .upcoming-link { display: inline-block; font-size: 16px; border: 0; padding: 6px 0; margin: 0; min-height: 36px; }
  .home-page .connect-section { padding-block: 16px; }
  .connect-grid { grid-template-columns: 1fr; gap: 18px; }
  .contact-card { padding: 24px; }
  .contact-number { font-size: 32px; }
  .contact-number span { display: block; margin: 6px 0 0; }
  .contact-card > p { margin-block: 16px 20px; }
  .connect-section .app-card { padding: 24px; }
  .connect-section .app-downloads { flex-direction: row; gap: 10px; }
  .connect-section .app-downloads .button { min-width: 0; flex: 1; padding-inline: 9px; font-size: 16px; }
  .app-card h3 { font-size: 27px; }
  .home-page .experiences { padding-block: 12px 16px; }
  .jewishu-spotlight { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .jewishu-spotlight h3 { font-size: 42px; }
  .jewishu-spotlight p { font-size: 19px; }
  .program-grid { grid-template-columns: 1fr; gap: 20px; }
  .program-tile { padding: 0; gap: 0; overflow: hidden; }
  .program-tile .program-image { border-radius: 0; }
  .program-tile .program-copy { padding: 18px; }
  .program-tile .program-copy > p { margin-block: 10px 14px; }
  .program-tile h3 { font-size: 28px; }
  .home-page .quiz-feature { padding-block: 20px; }
  .quiz-band-top { grid-template-columns: 1fr; gap: 22px; }
  .quiz-schedule { padding: 22px; }
  .play-options { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; padding-top: 24px; }
  .play-options .button { width: 100%; }
  .text-play-option { grid-template-columns: 1fr; gap: 10px; }
  .text-play-option > strong { font-size: 30px; }
  .home-page .about-section { padding-block: 28px; }
  .home-page .faq-section { padding-block: 0 20px; }
  .footer-main { display: block; }
  .footer-main .footer-logo { margin: 0 0 24px; }
  .footer-links { gap: 12px 18px; }
  .slim-footer .footer-bottom { align-items: start; gap: 16px; }
  .quiz-public-intro { padding: 20px; }
  .signin-actions { flex-direction: column; }
  .full-rules > summary { padding: 20px; }
}
