@import url('/css/prayer-fonts-v1.css');
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; position: relative; isolation: isolate; background: #1E1810; color: #ead9b5; font: 400 20px/1.9 'Say Prayer Serif', 'Noto Serif SC', serif; }
body::before { content: ''; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: url('/images/ui/card-damask-tile.webp') center / 360px; opacity: .1; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid #C9A84C; outline-offset: 4px; }
.site-header { width: 100%; min-height: 72px; margin: 0; padding: 8px max(24px, calc((100% - 1120px) / 2)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; background: #1E1810; border-bottom: 1px solid #C9A84C38; color: #E8D194; }
.site-header > a { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; text-decoration: none; }
.site-header > a:first-child { flex: 0 0 auto; }
.site-header img { display: block; width: 170px; max-width: 100%; height: auto; }
.site-header > a:last-child { border: 0; padding: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.site-header > a:last-child:hover { color: #E8D194; }
.prayer-directory { width: min(960px, calc(100% - 64px)); min-height: 0; margin: 32px auto; padding: 32px; background: #1E1810; border: 1px solid #A07C3038; border-radius: 4px; }
.directory-hero { margin: 0 0 24px; padding: 0; background: none; }
.directory-kicker { margin: 0 0 12px; color: #C9A84C; font-size: 13px; line-height: 1.7; letter-spacing: .1em; text-indent: 0; }
.directory-hero h1 { margin: 0; color: #E8D194; font-size: 34px; font-weight: 700; line-height: 1.5; text-align: left; overflow-wrap: anywhere; }
.directory-intro { margin: 12px 0 0; color: #C9A84C; font-size: 16px; line-height: 1.8; text-indent: 0; }
.directory-divider { display: flex; align-items: center; gap: 12px; margin-top: 20px; color: #A07C30; }
.directory-divider span { height: 1px; background: #A07C3038; flex: 1; }
.directory-divider b { font-size: 16px; font-weight: 400; }
.directory-list { padding: 0; margin: 0; }
.directory-list ul { list-style: none; padding: 0; margin: 0; }
.directory-list li + li { border-top: 1px solid #A07C3033; }
.directory-list li > a { display: grid; grid-template-columns: 20px minmax(0, 1fr) 24px; align-items: center; gap: 16px; min-height: 72px; padding: 16px 0; color: #E8D194; font-size: 20px; line-height: 1.6; text-decoration: none; }
.directory-entry__title { min-width: 0; overflow-wrap: anywhere; }
.directory-entry__mark { color: #C9A84C; font-size: 18px; }
.directory-entry__arrow { justify-self: end; color: #C9A84C; }
.directory-list li > a:hover { color: #F3EAD8; }
.directory-more, .directory-empty a { display: inline-flex; min-height: 44px; align-items: center; margin-top: 16px; font-size: 16px; }
.directory-empty { padding: 16px 0; color: #E8D194; }
.directory-empty > span { color: #C9A84C; }
.directory-empty p { margin: 12px 0 0; font-size: 18px; }
.prayer-sheet { position: relative; width: min(920px, calc(100% - 48px)); margin: 32px auto; padding: 32px 56px 28px; background: #F3EAD8; color: #493019; border-radius: 3px; }
.prayer-sheet::before { content: ''; position: absolute; pointer-events: none; inset: 8px; background: none; border-image: none; opacity: 1; border: 1px solid #C9A84C70; border-radius: 2px; }
.prayer-sheet::after { content: ''; position: absolute; pointer-events: none; inset: -3px; border: 32px solid transparent; border-image: url('/images/ui/ornate-frame.svg') 80 / 32px / 0 stretch; opacity: .7; }
.prayer-sheet > :is(.request, .scriptures, .sheet-motto, article, .sheet-footer, h1) { position: relative; max-width: 740px; margin-inline: auto; }
.sheet-cross { color: #A07C30; font-size: 30px; line-height: 1.2; text-align: center; margin: 0 0 20px; }
.prayer-sheet h1 { margin: 20px auto 24px; color: #3B200C; font-size: 30px; line-height: 1.55; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.prayer-sheet h2 { color: #A07C30; font-size: 19px; line-height: 1.6; font-weight: 700; text-align: center; margin: 20px 0 12px; }
.prayer-sheet p { margin: 0 0 20px; font-size: 20px; line-height: 1.9; font-weight: 400; text-indent: 2em; white-space: pre-wrap; overflow-wrap: anywhere; }
.prayer-sheet .request h2 { margin-top: 0; }
.prayer-sheet .request p { color: #74561C; }
.prayer-sheet blockquote { margin: 12px 0; padding: 14px 18px; background: #F3EAD855; border: 1px solid #C9A84C44; border-left: 2px solid #A07C30; }
.prayer-sheet blockquote p { margin: 0; text-indent: 0; }
.prayer-sheet cite { display: block; color: #A07C30; font-size: 15px; line-height: 1.8; text-align: right; font-style: normal; overflow-wrap: anywhere; }
.prayer-sheet .sheet-motto { margin-top: 20px; margin-bottom: 20px; font-size: 14px; line-height: 1.8; text-align: center; text-indent: 0; color: #A07C30; }
.prayer-sheet .amen { margin: 24px 0; text-align: center; text-indent: 0; font-size: 36px; line-height: 1.5; font-weight: 700; color: #8a642f; }
.sheet-footer { display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: center; gap: 12px 20px; margin-top: 24px; color: #A07C30; }
.footer-ornament { grid-column: 1 / -1; width: 100%; height: 28px; object-fit: contain; }
.footer-copy { min-width: 0; }
.prayer-sheet .footer-copy h2 { margin: 0 0 8px; font-size: 25px; letter-spacing: .08em; }
.prayer-sheet .footer-copy p { margin: 0; font-size: 13px; line-height: 1.8; text-indent: 0; text-align: center; }
.footer-copy small { display: block; text-align: center; font-size: 12px; }
.prayer-qr { width: 96px; height: 96px; max-width: 100%; }
.domain { grid-column: 1 / -1; font-size: 12px; letter-spacing: .15em; text-align: center; overflow-wrap: anywhere; }
.site-footer { width: min(920px, calc(100% - 48px)); margin: 0 auto 32px; padding: 16px 0 0; font-size: 14px; color: #C9A84C; text-align: center; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
@media (max-width: 600px) {
  .site-header { min-height: 60px; padding: 6px 16px; gap: 4px 16px; }
  .site-header img { width: 145px; }
  .site-header > a:last-child { font-size: 14px; }
  .prayer-directory { width: calc(100% - 32px); margin: 16px auto; padding: 20px; }
  .directory-hero { margin-bottom: 16px; }
  .directory-hero h1 { font-size: 28px; }
  .directory-kicker { font-size: 12px; letter-spacing: .04em; }
  .directory-list li > a { gap: 10px; font-size: 18px; }
  .prayer-sheet { width: calc(100% - 24px); margin: 20px auto; padding: 28px 20px 24px; }
  .prayer-sheet::before { inset: 6px; }
  .prayer-sheet::after { border-width: 26px; border-image-width: 26px; }
  .prayer-sheet p { font-size: 18px; line-height: 1.85; }
  .prayer-sheet h1 { font-size: 26px; margin-top: 20px; }
  .prayer-sheet h2 { font-size: 18px; }
  .prayer-sheet blockquote { padding: 12px; }
  .sheet-footer { grid-template-columns: minmax(0, 1fr) 80px; gap: 10px 12px; }
  .prayer-qr { width: 80px; height: 80px; }
  .prayer-sheet .footer-copy h2 { font-size: 23px; }
  .prayer-sheet .footer-copy p { font-size: 12px; }
  .site-footer { width: calc(100% - 40px); margin-bottom: 24px; }
}

/* Preserve the whole vertical cross: only the blurred horizontal margins may crop. */
.directory-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 28px; align-items: center; }
.directory-kicker, .directory-hero h1, .directory-intro { grid-column: 1; }
.directory-photo { position: relative; grid-column: 2; grid-row: 1 / 4; width: 100%; height: clamp(200px, 21vw, 240px); margin: 0; overflow: hidden; border: 1px solid #C9A84C38; border-radius: 4px; }
.directory-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 80% 0%; filter: brightness(.83) saturate(.8); }
.directory-photo::after { content: ''; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(180deg, #1E181008, transparent 20%, transparent 87%, #1E181066); }
.directory-divider { grid-column: 1 / -1; }
@media (max-width: 760px) { .directory-hero { display: block; } .directory-photo { height: 180px; margin-top: 20px; } }

.directory-hero__copy { grid-column: 1; grid-row: 1; align-self: center; min-width: 0; }
.directory-hero__copy .directory-kicker { margin-bottom: 16px; }
.directory-hero__copy .directory-intro { margin-top: 16px; }
.directory-photo { grid-row: 1; }
.directory-divider { grid-row: 2; }

/* Reuse the existing prayer-card raster frame and parchment, not the simplified SVG. */
body:has(.prayer-sheet) { background: #1E1810 url('/images/ui/card-damask-tile.webp') center / 360px; }
body:has(.prayer-sheet)::before { content: none; }
.prayer-sheet { --fb: 96px; width: min(880px, calc(100% - 64px)); margin: 84px auto 76px; padding: 68px 64px 54px; background: #F3EAD8; color: #74561C; border-radius: 0; }
.prayer-sheet::after { content: none; }
.prayer-sheet::before { inset: calc(var(--fb) * -.544) calc(var(--fb) * -.24) calc(var(--fb) * -.419); border-radius: 0; border-style: solid; border-color: transparent; border-width: calc(var(--fb) * 1.111) var(--fb) calc(var(--fb) * 1.105); border-image: url('/images/ui/frame-9.webp?v=2') 180 162 179 162 / calc(var(--fb) * 1.111) var(--fb) calc(var(--fb) * 1.105) stretch; background: url('/images/ui/fleur-top.webp') center top / calc(var(--fb) * 1.578) auto no-repeat, url('/images/ui/fleur-bottom.webp') center bottom / calc(var(--fb) * 1.578) auto no-repeat; background-origin: border-box; background-clip: border-box; opacity: 1; }
.prayer-sheet .sheet-cross { font-size: 44px; color: #A07C30; margin: 0 0 24px; }
.prayer-sheet h2 { display: flex; align-items: center; justify-content: center; gap: 18px; color: #74561C; margin: 32px 0 22px; }
.prayer-sheet :is(.request,.scriptures) > h2::before,.prayer-sheet :is(.request,.scriptures) > h2::after { content: ''; height: 1px; flex: 1 1 80px; max-width: 140px; background: linear-gradient(90deg,transparent,#A07C3066); }
.prayer-sheet :is(.request,.scriptures) > h2::after { transform: rotate(180deg); }
.prayer-sheet .request h2 { margin-top: 0; }
.prayer-sheet blockquote { padding: 18px 20px; margin: 16px 0; background: #E8D19447; border: 1px solid #A07C3073; border-left: 2px solid #A07C30; }
.prayer-sheet .request p { color: #74561C; }
.prayer-sheet .sheet-motto { color: #74561C; margin-block: 32px; }
.prayer-sheet h1 { color: #3B200C; margin-bottom: 30px; }
.prayer-sheet h1::after { content: '— · ◆ · —'; display: block; color: #A07C30; font-size: 18px; font-weight: 400; line-height: 1.2; margin-top: 14px; letter-spacing: .12em; }
.prayer-sheet .amen { font-size: 48px; color: #765019; letter-spacing: .2em; padding-left: .2em; margin: 32px 0; }
.sheet-footer { grid-template-columns: minmax(0,1fr) 130px; gap: 10px 12px; margin-top: 38px; }
.footer-ornament { height: auto; }
.prayer-qr { width: 130px; height: 130px; padding: 22px; background: url('/images/ui/card-footer-oval.webp') center / contain no-repeat; object-fit: contain; }
.prayer-sheet .footer-copy h2 { display: block; color: #74561C; font-size: 28px; letter-spacing: .18em; }
@media(max-width:600px) {
 .prayer-sheet { --fb: 64px; width: calc(100% - 44px); margin: 58px auto 54px; padding: 42px 26px 36px; }
 .prayer-sheet .sheet-cross { font-size: 36px; }
 .prayer-sheet h2 { gap: 12px; margin-block: 26px 18px; }
 .prayer-sheet .amen { font-size: 42px; }
 .sheet-footer { grid-template-columns: minmax(0,1fr) 86px; gap: 8px; }
 .prayer-qr { width: 86px; height: 86px; padding: 14px; }
 .prayer-sheet .footer-copy h2 { font-size: 23px; letter-spacing: .06em; }
}

.prayer-sheet h1 .prayer-title-ending { white-space: nowrap; }
.prayer-qr { padding: 42px; }
@media(max-width:600px) { .sheet-footer { grid-template-columns: minmax(0,1fr) 104px; } .prayer-qr { width: 104px; height: 104px; padding: 33px; } }
/* Same tile scale and 70% opacity as prayer-card.js's 1080px canvas. */
body:has(.prayer-sheet) { background-image: linear-gradient(#1E18104d,#1E18104d), url('/images/ui/card-damask-tile.webp'); background-size: auto, min(212px,24vw); }
.prayer-sheet blockquote { background: #F3EAD8; }
.prayer-sheet :is(.request,.scriptures) > h2::before,
.prayer-sheet :is(.request,.scriptures) > h2::after { background: #A07C3066; }
/* Original canvas INK for scripture/body; INK_SOFT remains request-only. */
.prayer-sheet article > p:not(.amen), .prayer-sheet blockquote p { color: #3B200C; }
/* Leave at least 60 CSS pixels for the QR matrix, including low-DPR phones. */
.sheet-footer { grid-template-columns: minmax(0,1fr) 160px; }
.prayer-qr { width: 160px; height: 160px; padding: 48px; image-rendering: pixelated; }
@media(max-width:600px) { .sheet-footer { grid-template-columns: minmax(0,1fr) 144px; } .prayer-qr { width: 144px; height: 144px; padding: 42px; } }
@media(max-width:380px) { .sheet-footer { grid-template-columns: minmax(0,1fr); } .prayer-qr { justify-self: center; } }

/* ── Directory (/prayer/) redesign: follows the home page — full-bleed hero, gold cards ── */
html:has(.prayer-directory) { overflow-x: clip; }
body:has(.prayer-directory) { background: linear-gradient(rgba(30, 24, 16, .9), rgba(30, 24, 16, .9)), #1E1810 url('/images/ui/card-damask-tile.webp') center top / 320px; }
body:has(.prayer-directory) .site-header { position: relative; z-index: 2; background: transparent; border-bottom: 0; }
body:has(.prayer-directory) .site-header > a:last-child { padding: 0 18px; min-height: 40px; border: 1px solid #C9A84C8c; border-radius: 999px; color: #E8D194; transition: background .2s ease, border-color .2s ease; }
body:has(.prayer-directory) .site-header > a:last-child:hover { background: #C9A84C18; border-color: #E8D194; }
.prayer-directory { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 clamp(48px, 6vw, 88px); background: none; border: 0; border-radius: 0; }
.prayer-directory .directory-hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); width: 100vw; margin: -72px 0 0 calc(50% - 50vw); min-height: clamp(460px, 54vw, 600px); padding: 120px max(24px, calc((100vw - 1120px) / 2)) clamp(90px, 9vw, 130px); background: linear-gradient(90deg, rgba(30, 24, 16, .97) 0%, rgba(30, 24, 16, .86) 36%, rgba(30, 24, 16, .35) 68%, rgba(30, 24, 16, .15) 100%), linear-gradient(180deg, rgba(30, 24, 16, .7) 0%, rgba(30, 24, 16, 0) 22%), url('/images/cross-wide.webp') 78% center / cover no-repeat; }
.prayer-directory .directory-photo { display: none; }
.prayer-directory .directory-hero__copy { align-self: flex-start; max-width: 640px; }
.prayer-directory .directory-kicker { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; color: #C9A84C; font-size: 15px; letter-spacing: .3em; }
.prayer-directory .directory-kicker::after { content: ''; width: clamp(80px, 18vw, 240px); height: 1px; background: linear-gradient(90deg, #C9A84Ccc, transparent); }
.prayer-directory .directory-kicker span { color: #E8D194; padding: 0; }
.prayer-directory .directory-hero h1 { color: #E8D194; font-size: clamp(38px, 4.4vw, 60px); line-height: 1.2; letter-spacing: .04em; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }
.prayer-directory .directory-intro { margin-top: 20px; color: #E8D194; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: .06em; }
.prayer-directory .directory-intro::after { content: '—— 一份祈求，一份同行'; display: block; margin-top: 6px; color: #C9A84C; font-size: .8em; letter-spacing: .1em; }
.prayer-directory .directory-divider { display: none; }
.prayer-directory .directory-list { margin-top: clamp(-40px, -3vw, -16px); position: relative; }
.prayer-directory .directory-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prayer-directory .directory-list li + li { border-top: 0; }
.prayer-directory .directory-list li > a { grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 16px; height: 100%; min-height: 96px; padding: 18px 22px; color: #E8D194; font-size: 19px; line-height: 1.65; background: linear-gradient(180deg, rgba(44, 26, 14, .82), rgba(30, 24, 16, .9)); border: 1px solid #C9A84C5c; border-radius: 16px; box-shadow: inset 0 1px 0 rgba(232, 209, 148, .06), 0 10px 30px rgba(0, 0, 0, .25); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.prayer-directory .directory-list li > a:hover { transform: translateY(-2px); color: #F3EAD8; border-color: #E8D194; background: linear-gradient(180deg, rgba(44, 26, 14, .9), rgba(30, 24, 16, .94)); box-shadow: inset 0 1px 0 rgba(232, 209, 148, .1), 0 14px 36px rgba(0, 0, 0, .35), 0 0 0 1px rgba(232, 209, 148, .15); }
.prayer-directory .directory-list li > a:focus-visible { outline: 2px solid #E8D194; outline-offset: 3px; }
.prayer-directory .directory-entry__mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #C9A84C99; border-radius: 50%; color: #E8D194; font-size: 18px; background: radial-gradient(circle, rgba(232, 209, 148, .14), transparent 70%); }
.prayer-directory .directory-entry__arrow { color: #C9A84C; transition: transform .25s ease, color .25s ease; }
.prayer-directory .directory-list li > a:hover .directory-entry__arrow { transform: translateX(3px); color: #E8D194; }
.prayer-directory :is(.directory-more, .directory-empty a) { padding: 0 26px; border: 1px solid #C9A84C8c; border-radius: 999px; color: #E8D194; text-decoration: none; }
.prayer-directory .directory-more { display: flex; width: fit-content; margin: 28px auto 0; }
.prayer-directory .directory-empty { padding: 48px 16px; text-align: center; border: 1px solid #C9A84C40; border-radius: 16px; }
body:has(.prayer-directory) .site-footer { border-top: 1px solid #C9A84C33; padding-top: 28px; }
body:has(.prayer-directory) .site-footer a { padding: 0 26px; border: 1px solid #C9A84C8c; border-radius: 999px; color: #E8D194; letter-spacing: .12em; transition: background .2s ease; }
body:has(.prayer-directory) .site-footer a:hover { background: #C9A84C18; }
@media (max-width: 760px) {
  .prayer-directory { width: calc(100% - 32px); margin: 0 auto; padding: 0 0 40px; }
  .prayer-directory .directory-hero { margin-top: -60px; min-height: 420px; padding: 96px 20px 84px; background: linear-gradient(90deg, rgba(30, 24, 16, .92) 0%, rgba(30, 24, 16, .6) 60%, rgba(30, 24, 16, .3) 100%), linear-gradient(180deg, rgba(30, 24, 16, .75) 0%, rgba(30, 24, 16, 0) 25%), url('/images/cross-wide.webp') 72% center / cover no-repeat; }
  .prayer-directory .directory-kicker { font-size: 12px; letter-spacing: .2em; gap: 12px; }
  .prayer-directory .directory-hero h1 { font-size: 34px; }
  .prayer-directory .directory-list ul { grid-template-columns: 1fr; gap: 12px; }
  .prayer-directory .directory-list li > a { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 12px; min-height: 80px; padding: 14px 16px; font-size: 17px; border-radius: 14px; }
  .prayer-directory .directory-entry__mark { width: 36px; height: 36px; font-size: 15px; }
}
.prayer-directory .directory-entry__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.prayer-directory .directory-entry__title { color: #E8D194; font-weight: 700; }
.prayer-directory .directory-entry__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: #E8D194; font-size: 15px; line-height: 1.7; }
.prayer-directory .directory-entry__date { color: #A07C30; font-size: 13px; letter-spacing: .08em; }
.prayer-directory .directory-list li > a { align-items: start; padding-top: 22px; padding-bottom: 22px; }
.prayer-directory :is(.directory-entry__mark, .directory-entry__arrow) { align-self: center; }
@media (max-width: 760px) { .prayer-directory .directory-entry__excerpt { font-size: 14px; } }

/* Homepage navigation and predictable directory cards (v363-plist). */
body.public-prayer-page { --ivory: #E8D194; --ivory-2: #E8D194; --ivory-soft: #E8D194; padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
.public-prayer-page .top-bar { position: relative; z-index: 2; background: linear-gradient(#1E1810b3,#1E18101a); border: 0; }
.public-prayer-page .top-bar-actions { display: flex; align-items: center; }
.public-prayer-page .auth-logged-in { display: none; text-align: center; }
.public-prayer-page .auth-avatar { width: 60px; height: 60px; border-radius: 50%; }
.public-prayer-page .auth-google-btn { display: flex; align-items: center; gap: 10px; }
.prayer-directory .directory-list ul { grid-auto-rows: 1fr; }
.prayer-directory .directory-list li { min-width: 0; }
.prayer-directory .directory-list li > a { height: 100%; min-height: 208px; align-items: center; }
.prayer-directory .directory-entry__body { display: grid; grid-template-rows: 60px 51px 23px; gap: 8px; align-content: start; }
.prayer-directory .directory-entry__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 700 20px/30px 'Say Prayer Serif', serif; letter-spacing: 0; white-space: normal; text-wrap: wrap; }
.prayer-directory .directory-entry__excerpt { grid-row: 2; font-size: 15px; line-height: 25.5px; }
.prayer-directory .directory-entry__date { grid-row: 3; align-self: end; font-size: 13px; line-height: 23px; }
@media(max-width:760px) {
 .prayer-directory .directory-list li > a { min-height: 192px; }
 .prayer-directory .directory-entry__body { grid-template-rows: 60px 51px 23px; }
}
@media(min-width:1024px) { body.public-prayer-page { padding-bottom: 0; } }
/* The shared long-heading helper must never resize directory card titles. */
.prayer-directory .directory-entry__title.is-long-title { font-size: 20px !important; line-height: 30px !important; }
.public-prayer-page :is(.top-bar,.bottom-nav) { font-family: var(--sans); font-size: 16px; line-height: 1.75; color: var(--ivory); }

/* Keep the existing cross clear of the fixed navigation and catalog copy. */
.prayer-directory .directory-hero{margin-top:0}
@media(max-width:760px){
 .prayer-directory .directory-hero{min-height:0;padding:270px 20px 64px;background-size:100% 100%,100% 100%,auto 250px;background-position:center,center,72% top;background-repeat:no-repeat}
}

/* Give generated titles the available space inside the decorative frame. */
.prayer-sheet > article {
  container-type: inline-size;
}

.prayer-sheet > article > h1 {
  font-size: clamp(20px, 3.4cqi, 30px);
}
