.landing-content { width: min(100%,520px); margin: 0 auto; padding-top: calc(70px + env(safe-area-inset-top)); }
.home-hero { justify-content: center; gap: 24px; }
.home-hero-intro { margin: 0; color: var(--white); font-size: 13px; font-weight: var(--weight-medium); }
.home-hero-description { margin: 14px 0 0; color: var(--white); font-size: 15px; line-height: 1.5; font-weight: 400; }
.landing-white-card { position: relative; isolation: isolate; margin-top: var(--section-gap); padding: 24px 12px; background: var(--white); border-radius: 10px; }
.landing-white-card::before { content: ''; position: absolute; z-index: -1; inset: 0 auto 0 50%; width: 100%; transform: translateX(-50%); border-radius: inherit; background: inherit; pointer-events: none; }
.landing-section-title { margin: 0 0 22px; text-align: center; }
.home-first-screen { height: 336.8px; display: grid; grid-template-rows: repeat(2,max-content) 44px; gap: 12px; align-content: space-evenly; }
.home-first-screen .home-access-card { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.home-first-screen .home-access-card .week-event-main { flex: 0 0 48px; padding: 7px 18px; }
.home-first-screen .home-access-card h3 { margin: 0; font-size: 19px; white-space: nowrap; }
.home-access-links { flex: 0 0 auto; }
.home-first-screen .home-access-hours { background: var(--soft-blue); }
.home-first-screen .home-access-contact { background: var(--soft-green); }
.home-first-screen .home-access-card h3 { color: var(--headline); }
.home-first-screen .home-access-links { padding: 6px; gap: 6px; border-top: 0; background: inherit; }
.home-first-screen .home-access-links > .week-time-tile { min-height: 44px; padding: 7px 6px; border: 1px solid var(--brand-border); border-radius: 10px; color: var(--white); background: var(--brand-gradient); box-shadow: var(--shadow-control); display: grid; grid-template-columns: 19px minmax(0,1fr) 19px; align-items: center; gap: 4px; font-size: 14px; line-height: var(--line-height); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.home-first-screen .home-access-contact .week-time-tile { background: var(--green); }
.home-access-links .menu-icon { flex: 0 0 19px; width: 19px; height: 19px; }
.home-access-links > a > span { min-width: 0; text-align: center; }
.home-access-links .home-access-arrow { justify-self: end; }
.home-first-screen .home-access-links > a:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.home-first-screen .home-access-links > a:active { transform: translateY(1px); box-shadow: none; }
.home-donate { min-height: 44px; padding: 10px 18px; border-radius: 10px; color: var(--white); background: var(--brand-gradient); display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 16px; }
.home-donate > span:last-child { margin-left: auto; }
.home-donate > .menu-icon { margin-right: auto; }
.home-first-screen a:focus-visible,
.community-banner:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.home-first-screen .home-access-links > a:focus-visible { outline-offset: -3px; }
.community-banner { display: block; overflow: hidden; color: var(--ink); border-radius: 10px; text-decoration: none; }
.community-banner > img { display: block; width: 100%; height: auto; object-fit: contain; }
.community-banner-link { display: grid; grid-template-columns: 19px minmax(0,1fr) 19px; align-items: center; gap: 8px; text-align: center; margin-top: 10px; padding: 11px 14px; border-radius: 10px; color: var(--white); background: var(--brand-gradient); box-shadow: var(--shadow-control); font-size: 14px; }
.home-video-card .landing-section-title,
.home-leaflet-card .landing-section-title { margin-bottom: 7px; }
.home-section-subtitle { margin: 0 0 22px; text-align: center; }
.home-video-player { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border: 0; border-radius: 10px; background: var(--headline); }
.home-video-caption { margin-top: 12px; padding: 15px 12px; border-radius: 10px; background: var(--soft-green); }
.home-video-title { margin: 0 0 8px; color: var(--headline); font-size: 18px; line-height: 1.35; text-align: center; }
.home-video-date { margin: 0; color: var(--secondary); font-size: 12px; font-weight: 400; text-align: center; }
.home-weekly-summary { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--separator); }
.home-weekly-summary .home-video-caption { background: var(--soft-blue); }
.weekly-pdf-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.weekly-pdf-controls > div { display: flex; align-items: center; gap: 4px; }
.weekly-pdf-controls button { display: grid; place-items: center; width: 32px; height: 36px; padding: 0; border: 0; border-radius: 10px; color: var(--blue-strong); background: var(--soft-blue); font: inherit; font-size: 21px; cursor: pointer; }
.weekly-pdf-controls button:disabled { color: var(--secondary); background: var(--badge); cursor: default; }
.weekly-pdf-controls span { min-width: 48px; color: var(--secondary); text-align: center; font-size: 12px; }
.weekly-pdf-scroll { position: relative; width: 100%; min-height: 180px; max-height: none; overflow: auto; scrollbar-gutter: stable; border: 1px solid var(--separator); border-radius: 10px; background: var(--badge); overscroll-behavior: contain; }
.weekly-pdf-scroll canvas { display: block; margin: 0 auto; background: var(--white); }
.weekly-pdf-scroll canvas[hidden] { display: none; }
.weekly-pdf-status { margin: 0; padding: 24px 12px; color: var(--secondary); text-align: center; font-size: 13px; font-weight: 400; }
.weekly-pdf-status[role="status"] { position: absolute; top: 0; left: 0; right: 0; z-index: 1; background: var(--badge); pointer-events: none; }
.weekly-pdf-status a { color: var(--blue-strong); }
.weekly-pdf-source { margin: 14px 0 0; text-align: center; font-size: 11px; font-weight: 400; }
.weekly-pdf-source a { color: var(--secondary); text-decoration: none; }
.weekly-pdf-controls button:focus-visible,
.weekly-pdf-scroll:focus-visible,
.weekly-pdf-source a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (width > 1440px) {
  .landing-content { width: calc((100% - var(--section-gap)) / 2); max-width: 714px; }
  .landing-white-card::before { width: calc(200% + var(--section-gap)); }
}
@media (max-width: 1440px) {
  .landing-white-card { border-radius: 0; }
  .landing-white-card::before { width: 100vw; }
  .home-first-screen { height: 324.8px; }
  .home-first-screen .home-access-card h3 { font-size: 18px; }
}

.home-back-to-top { display: grid; place-items: center; width: 42px; height: 42px; margin: 20px auto 0; border: 1px solid var(--brand-border); border-radius: 10px; color: var(--white); background: var(--brand-gradient); box-shadow: var(--shadow-control); text-decoration: none; }
.home-back-to-top svg { width: 22px; height: 22px; }
.home-back-to-top:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.community-banner:hover .community-banner-link { box-shadow: var(--shadow); }

.community-banner-link::before { content: ""; }
.community-banner-link > span:last-child { justify-self: end; }
