* { box-sizing: border-box; }
:root { color-scheme: light; }
body {
    margin: 0;
    background: #f6f8fb;
    color: #26354a;
    font: 1rem/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.pr-site-header { background: #fff; border-bottom: 1px solid #e0e8f0; position: relative; z-index: 5; }
.pr-site-header-inner { max-width: 1200px; margin: auto; min-height: 84px; padding: 12px 24px; display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.pr-brand { display: inline-flex; gap: .75rem; align-items: center; color: #183a5d; text-decoration: none; flex-shrink: 0; }
.pr-brand-mark { display: grid; place-items: center; height: 44px; width: 44px; border-radius: 12px; background: #183a5d; color: #e1b877; font-size: 1.65rem; }
.pr-brand-image { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; }
.pr-brand strong { display: block; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.025em; }
.pr-brand small { display: block; font-size: .7rem; letter-spacing: .02em; color: #6d7d8c; }
.pr-site-nav { display: flex; gap: .15rem; align-items: center; }
.pr-site-nav a { color: #334e69; text-decoration: none; padding: .65rem .75rem; border-radius: 9px; font-size: .93rem; font-weight: 600; }
.pr-site-nav a:hover,.pr-site-nav a:focus-visible { background: #edf4fa; color: #143b63; }
.pr-mobile-menu { display: none; position: relative; }
.pr-mobile-menu summary { list-style: none; cursor: pointer; border: 1px solid #c6d4e1; border-radius: 10px; padding: .5rem .75rem; font-weight: 700; }
.pr-mobile-menu summary::-webkit-details-marker { display: none; }
.pr-mobile-menu nav { position: absolute; right: 0; top: calc(100% + 7px); width: min(85vw,280px); display: grid; gap: .2rem; padding: .65rem; border: 1px solid #dce3eb; background: white; box-shadow: 0 12px 28px rgba(20,46,70,.12); border-radius: 12px; }
.pr-mobile-menu nav a { display: block; border-radius: 8px; padding: .6rem .8rem; text-decoration: none; color: #254560; }
.pr-mobile-menu nav a:hover { background: #edf4fa; }
.pr-site-footer { background: #17344f; color: #f1f5f9; margin-top: 3.5rem; }
.pr-donation { background: #edf3f8; border-top: 1px solid #dae5ef; margin-top: 3rem; }
.pr-donation-inner { max-width: 1200px; margin: auto; padding: clamp(24px,4vw,48px); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.pr-donation h2 { color: #173456; font-size: clamp(1.35rem,2.5vw,1.9rem); margin: .3rem 0 .6rem; }
.pr-donation p { max-width: 65ch; color: #526678; margin: 0; }
.pr-donation .pr-donation-link { background: #1b4d7d; color: white; white-space: nowrap; }
.pr-site-footer-inner { max-width: 1200px; margin: auto; padding: 2.5rem 24px; display: flex; justify-content: space-between; gap: 2rem; }
.pr-site-footer strong { font-size: 1.2rem; }
.pr-site-footer p { font-size: .9rem; color: #c7d3de; margin: .4rem 0; }
.pr-footer-links { display: grid; gap: .35rem; align-content: start; }
.pr-footer-links a { color: #e2eef8; font-size: .9rem; }
.pr-public { overflow-wrap: anywhere; }
.pr-public > header { border-block-end: 1px solid #c7c4b8; }
.project { font-weight: 700; color: #375c42; }
.pr-public h1,.pr-public h2 { line-height: 1.2; }
.pr-public nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.25rem; }
.pr-public nav a {
    padding: .4rem .85rem;
    border: 1px solid #375c42;
    border-radius: .35rem;
    color: #264834;
}
.pr-public nav a[aria-current] { background: #375c42; color: white; }
a:focus-visible { outline: 3px solid #946320; outline-offset: 3px; }
.pr-public ol,.pr-public ul { padding-inline-start: 1.5rem; }
.pr-public li + li { margin-block-start: .65rem; }
.note { margin-block: .25rem .75rem; color: #454c45; }
.print-notes { display: none; }
.course-cover { display: block; max-width: 100%; height: auto; }
@media print {
    @page { size: A4; margin: 15mm; }
    body { background: white; color: black; font-size: 11pt; }
    .pr-public { padding: 0; }
    .pr-public nav { display: none; }
    .print-notes { display: block; break-inside: avoid; }
    .writing-lines { height: 3rem; border-block-end: 1px solid #777; }
    .pr-public h2 { break-after: avoid; }
    .pr-public li { break-inside: avoid; }
}
.pr-public { overflow-wrap: anywhere; }
/* Public reading experience. Scoped so the site's shared header keeps its styles. */
.pr-public { max-width: 1120px; margin-inline: auto; padding: clamp(20px,4vw,48px); color: #26354a; font: 1rem/1.7 system-ui,-apple-system,sans-serif; }
.pr-public h1,.pr-public h2,.pr-public h3 { font-family: system-ui,-apple-system,sans-serif; letter-spacing: -.025em; color: #173456; }
.pr-public h1 { font-size: clamp(2rem,4.3vw,3rem); margin: .4rem 0 .7rem; }
.pr-public h2 { font-size: clamp(1.35rem,2.5vw,1.8rem); margin: 1.8rem 0 .9rem; }
.pr-public h3 { font-size: 1.13rem; margin: .3rem 0 .65rem; }
.pr-public p { max-width: 75ch; }
.pr-public a { color: #215b9d; text-underline-offset: .16em; }
.pr-public nav { gap: .5rem; border-bottom: 1px solid #dce3eb; padding-bottom: .85rem; }
.pr-public nav a { color: #234b75; border-color: #dce3eb; border-radius: 99px; padding: .45rem .95rem; font-weight: 600; text-decoration: none; }
.pr-public nav a:hover,.pr-public nav a:focus-visible { background: #eef4fa; }
.pr-public nav a[aria-current] { background: #173b65; border-color: #173b65; color: white; }
.pr-public > header { padding: 0 0 1.3rem; border-bottom: 1px solid #dce3eb; }
.pr-public > header .project { letter-spacing: .07em; text-transform: uppercase; font-size: .78rem; }
.pr-public > ol,.pr-public > ul { background: #fff; border: 1px solid #e0e7ef; padding: 1.35rem 1.5rem 1.35rem 3rem; border-radius: 16px; }
.pr-public > ol li { padding: .2rem .35rem; }
.pr-public > p { line-height: 1.8; }
.pr-public form { display: flex; align-items: end; flex-wrap: wrap; gap: .9rem; background: #fff; border: 1px solid #e0e7ef; padding: 1rem; border-radius: 16px; }
.pr-public form label { display: grid; gap: .3rem; font-weight: 600; }
.pr-public input,.pr-public select { border-radius: 9px; border: 1px solid #bbcadd; min-height: 42px; padding: .5rem .7rem; background: #fff; color: #26354a; font: inherit; }
.pr-public button,.pr-public .text-button { border-radius: 9px; border: 1px solid #215b9d; background: #215b9d; color: #fff; font: inherit; padding: .55rem 1rem; cursor: pointer; text-decoration: none; }
.pr-public .pr-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .45rem; }
.pr-public .pr-calendar a,.pr-public .pr-calendar span { text-align: center; border-radius: 9px; border: 1px solid #dce3eb; padding: .55rem .2rem; }
.pr-public .pr-panel { background: #fff; padding: 1.1rem 1.4rem; margin: 1rem 0; border: 1px solid #e0e7ef; border-radius: 16px; }
.pr-home { max-width: 1200px; }
.pr-hero { color: #fff; background-color: #132c4d; background-image: linear-gradient(90deg,rgba(13,36,68,.26),rgba(13,36,68,0)),url('images/bible-study-hero.png'); background-size: cover; background-position: center center; border-radius: 24px; padding: clamp(24px,5vw,64px); }
.pr-hero h1 { color: #fff; }
.pr-hero p { font-size: clamp(1.06rem,2vw,1.3rem); max-width: 58ch; margin: 0 0 1.5rem; }
.pr-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; color: #59728d; }
.pr-hero .pr-eyebrow { color: #c4d8e7; }
.pr-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.pr-button { display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1.15rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.pr-hero .pr-button-primary { background: #fff; color: #143b63; }
.pr-hero .pr-button-light { color: #fff; border: 1px solid #98b5cd; }
.pr-section { margin-top: 2.25rem; }
.pr-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.pr-card-grid-four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.pr-card,.pr-feature,.pr-empty { background: #fff; border: 1px solid #dfe7ee; border-radius: 17px; padding: 1.35rem; box-shadow: 0 3px 12px rgba(22,46,70,.035); }
.pr-card { display: flex; flex-direction: column; }
.pr-card p { color: #556575; font-size: .93rem; flex: 1; }
.pr-card-link { font-weight: 700; margin-top: .5rem; }
.pr-feature { display: flex; flex-direction: column; gap: .4rem; color: #173456!important; text-decoration: none; }
.pr-feature span:last-child { color: #596b7a; font-size: .87rem; }
.pr-feature-icon { color: #386b9c; font-size: 1.65rem; }
.pr-feature:hover,.pr-card:hover { border-color: #9bbbd4; }
.pr-empty { background: #f3f7fb; }
.pr-reading-note { color: #536b80; font-size: .91rem; background: #eff5fa; border-left: 3px solid #93b2cb; padding: .65rem .9rem; border-radius: 6px; }
.pr-breadcrumb { font-size: .87rem; margin: 0 0 1rem; }
.pr-catalog-grid { list-style: none; padding: 0!important; border: 0!important; background: transparent!important; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.pr-catalog-grid li { background: #fff; border: 1px solid #dfe7ee; border-radius: 15px; padding: 1.2rem; margin: 0; }
.pr-catalog-grid li a { font-weight: 700; font-size: 1.08rem; }
.pr-catalog-grid li p { color: #566879; font-size: .9rem; }
@media (max-width: 800px) { .pr-card-grid,.pr-card-grid-four { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 980px) { .pr-site-nav { display: none; } .pr-mobile-menu { display: block; } }
@media (max-width: 520px) { .pr-card-grid,.pr-card-grid-four,.pr-catalog-grid { grid-template-columns: 1fr; } .pr-public { padding: 16px; } .pr-hero { border-radius: 16px; } }
@media (max-width: 720px) { .pr-hero { background-image: linear-gradient(90deg,rgba(13,36,68,.96),rgba(13,36,68,.77)),url('images/bible-study-hero.png'); background-position: 65% center; } }
@media (max-width: 520px) { .pr-site-header-inner { padding: 10px 16px; min-height: 72px; } .pr-brand strong { font-size: 1.04rem; } .pr-brand small { font-size: .59rem; } .pr-brand-mark { height: 38px; width: 38px; } .pr-site-footer-inner { flex-direction: column; } }
@media (max-width: 720px) { .pr-donation-inner { flex-direction: column; align-items: stretch; } .pr-donation-link { text-align: center; justify-content: center; } }
@media print { .pr-hero,.pr-actions,.pr-section { background: transparent; color: #000; } .pr-public nav,.pr-home .pr-feature { display: none; } .pr-public { padding: 0; } .pr-public h1,.pr-public h2 { color: #000; } }
@media print { .pr-site-header,.pr-site-footer { display: none; } }
@media print { .pr-donation { display: none; } }
@media (max-width: 840px) {
    .site-header #site-navigation.pr-menu-open { display: flex; flex-wrap: wrap; }
}

/* Course library — intentionally scoped to the catalog. */
.pr-home-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.pr-home-section-heading h2 { margin: .15rem 0 0; }
.pr-home-section-heading > a { font-size: .87rem; font-weight: 700; white-space: nowrap; }
.pr-catalog-page { max-width: 1200px; }
.pr-catalog-page .pr-path { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; border: 0; padding: 0; margin: .15rem 0 2rem; color: #75859a; font-size: .86rem; }
.pr-catalog-page .pr-path a { padding: 0; border: 0; font-size: inherit; font-weight: 500; }
.pr-catalog-page .pr-path span[aria-current] { color: #4c6075; }
.pr-catalog-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; border: 0!important; padding: 0!important; margin: 0 0 1.85rem; }
.pr-catalog-intro h1 { margin: .42rem 0 .65rem; font-size: clamp(2.15rem,5vw,3.55rem); }
.pr-catalog-intro p { margin: 0; color: #52677d; font-size: 1.04rem; max-width: 64ch; }
.pr-catalog-page .pr-catalog-tabs { flex: none; display: inline-flex; gap: .28rem; border: 1px solid #dae4ee; background: #edf2f7; border-radius: 999px; padding: .26rem; margin: 0 0 .15rem; }
.pr-catalog-page .pr-catalog-tabs a { border: 0; padding: .52rem 1.05rem; color: #435a74; font-size: .88rem; background: transparent; }
.pr-catalog-page .pr-catalog-tabs a[aria-current] { background: #fff; color: #17436b; box-shadow: 0 2px 9px rgba(25,55,86,.08); }
.pr-course-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; }
.pr-course-card { background: white; display: flex; flex-direction: column; min-width: 0; border: 1px solid #dce5ef; border-radius: 21px; overflow: hidden; box-shadow: 0 6px 22px rgba(20,51,78,.05); text-decoration: none!important; color: #193a5b!important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.pr-course-card:hover { transform: translateY(-4px); border-color: #a8c3d5; box-shadow: 0 15px 30px rgba(20,51,78,.12); }
.pr-course-card-image { display: block; height: clamp(170px,21vw,245px); position: relative; background: #376c83; overflow: hidden; }
.pr-course-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.pr-course-card:hover .pr-course-card-image img { transform: scale(1.045); }
.pr-course-image-label { position: absolute; bottom: 16px; left: 20px; border-radius: 999px; background: rgba(12,36,59,.8); color: white; padding: .36rem .8rem; font-size: .74rem; font-weight: 700; letter-spacing: .035em; backdrop-filter: blur(8px); }
.pr-course-card-body { padding: clamp(1.15rem,2.5vw,1.65rem); display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.pr-course-card-title { display: block; font-size: clamp(1.35rem,2.5vw,1.7rem); font-weight: 780; line-height: 1.25; letter-spacing: -.035em; }
.pr-course-card-description { display: block; color: #5a6c7e; font-size: .95rem; line-height: 1.6; flex: 1; margin: .15rem 0 .85rem; }
.pr-course-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #e7edf3; padding-top: 1rem; color: #5a6c7e; font-size: .85rem; font-weight: 600; }
.pr-course-card-arrow { color: white; background: #1c547f; width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; font-size: 1.2rem; flex: none; }
.pr-topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.pr-topic-card { display: flex; flex-direction: column; min-height: 205px; padding: 1.35rem; background: white; border: 1px solid #dce5ef; border-radius: 17px; text-decoration: none!important; color: #173456!important; transition: transform .18s ease,border-color .18s ease; }
.pr-topic-card:hover { transform: translateY(-3px); border-color: #9ab7d0; }
.pr-topic-symbol { display: grid; place-items: center; width: 38px; height: 38px; background: #edf4f9; color: #346d97; border-radius: 12px; margin-bottom: .75rem; font-size: 1.45rem; }
.pr-topic-title { font-size: 1.15rem; font-weight: 750; line-height: 1.3; }
.pr-topic-description { color: #607185; font-size: .9rem; line-height: 1.6; margin: .35rem 0 .9rem; flex: 1; }
.pr-topic-bottom { display: flex; justify-content: space-between; border-top: 1px solid #e9eef3; padding-top: .7rem; color: #37668d; font-size: .85rem; font-weight: 650; }
.pr-course-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); border-radius: 25px; background: #fff; border: 1px solid #dfe8ef; box-shadow: 0 8px 22px rgba(21,51,73,.045); overflow: hidden; margin-bottom: 2.3rem; }
.pr-course-hero-content { padding: clamp(1.5rem,4vw,3rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.pr-course-hero h1 { font-size: clamp(2rem,4.2vw,3.25rem); margin: .6rem 0 .9rem; }
.pr-course-lead { color: #526779; margin: 0 0 1.55rem; font-size: 1.08rem; line-height: 1.75; }
.pr-course-facts { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.pr-course-facts span { color: #355575; background: #f0f5f9; padding: .38rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 650; }
.pr-course-start { display: inline-flex; gap: 1.3rem; align-items: center; justify-content: space-between; padding: .72rem 1.1rem; background: #184a73; color: #fff!important; border-radius: 10px; text-decoration: none!important; font-weight: 700; }
.pr-course-start:hover { background: #103e65; }
.pr-course-hero-cover { min-height: 340px; background: #214960; }
.pr-course-hero-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-topic-hero { border: 0!important; padding: 0 0 1.3rem!important; }
.pr-topic-hero p { color: #5b6c7e; font-size: 1.08rem; }
.pr-course-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 1.45rem; align-items: start; }
.pr-course-content-grid h2 { margin: .35rem 0 1rem; }
.pr-section-heading { display: flex; align-items: end; justify-content: space-between; gap: .7rem; margin-bottom: 1rem; }
.pr-section-heading h2 { margin: .25rem 0 0; }
.pr-program-count { border: 1px solid #d8e5ee; color: #59738b; border-radius: 999px; padding: .3rem .75rem; font-size: .83rem; white-space: nowrap; }
.pr-course-lesson-list { list-style: none; padding: 0!important; margin: 0; background: transparent!important; border: 0!important; display: grid; gap: .7rem; }
.pr-course-lesson-list li { margin: 0!important; }
.pr-course-lesson-list a { display: flex; gap: 1rem; align-items: center; padding: 1.1rem; border: 1px solid #dfe7ee; border-radius: 15px; background: #fff; color: #173456; text-decoration: none; transition: border-color .18s ease,box-shadow .18s ease; }
.pr-course-lesson-list a:hover { border-color: #8fb2d2; box-shadow: 0 7px 15px rgba(21,50,78,.06); }
.pr-lesson-number { display: grid; place-items: center; flex: none; width: 46px; height: 46px; background: #e8f0f7; color: #2d5c80; border-radius: 13px; font-size: .98rem; font-weight: 750; }
.pr-lesson-list-text { display: grid; min-width: 0; gap: .17rem; flex: 1; }
.pr-lesson-list-text strong { font-size: 1.02rem; line-height: 1.35; }
.pr-lesson-list-text small { font-size: .83rem; color: #718093; }
.pr-lesson-list-arrow { color: #2d668f; font-size: 1.4rem; margin-left: auto; }
.pr-course-info-card { background: #fff; padding: 1.45rem; border: 1px solid #dee8ee; border-radius: 17px; }
.pr-course-info-card h2 { margin: 0 0 1.15rem; font-size: 1.22rem; }
.pr-course-info-card > div { border-bottom: 1px solid #e9eef4; padding: .6rem 0 .75rem; }
.pr-course-info-card > div p { margin: .27rem 0 0; color: #4b5e70; font-size: .88rem; line-height: 1.62; }
.pr-info-label { font-size: .75rem; font-weight: 780; text-transform: uppercase; letter-spacing: .04em; color: #74879a; }
.pr-info-hint { color: #687b8a; font-size: .85rem; padding: .6rem 0; }
.pr-course-info-card > a { font-weight: 700; font-size: .87rem; }

/* Lesson reading view. */
.pr-lesson-page { max-width: 1200px; }
.pr-public > .pr-lesson-hero { position: relative; overflow: hidden; padding: clamp(1.4rem,4vw,3rem); border: 1px solid #dfe8f0; border-radius: 23px; background: linear-gradient(115deg,#fff 0%,#f4f8fb 76%,#e4eff3 100%); }
.pr-lesson-hero::after { content: '✧'; position: absolute; font-size: 13rem; line-height: 1; right: 2%; top: -2rem; color: #d0e0e9; opacity: .65; pointer-events: none; }
.pr-lesson-hero > * { position: relative; z-index: 1; }
.pr-lesson-hero .pr-lesson-crumb { font-size: .85rem; display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; color: #758599; margin: 0 0 1.65rem; }
.pr-lesson-kicker { margin: 0!important; font-size: .77rem; text-transform: uppercase; letter-spacing: .11em; color: #457595; font-weight: 750; }
.pr-lesson-hero h1 { max-width: 18ch; margin: .42rem 0 1.05rem; font-size: clamp(2rem,4.5vw,3.5rem); }
.pr-lesson-facts { display: flex; flex-wrap: wrap; gap: .55rem; }
.pr-lesson-facts span { font-size: .85rem; font-weight: 650; padding: .32rem .7rem; color: #315977; border-radius: 999px; border: 1px solid #c9dce8; background: rgba(255,255,255,.72); }
.pr-lesson-tags { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.pr-lesson-tag { display: inline-flex; align-items: center; border-radius: 999px; padding: .28rem .67rem; border: 1px solid #bed8d1; background: #eaf5f0; color: #225d4d; font-size: .8rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
a.pr-lesson-tag:hover,a.pr-lesson-tag[aria-current] { background: #d5eee4; border-color: #8fbca8; color: #164536; }
.pr-lesson-lead { max-width: 65ch; margin: 1.35rem 0 0; font-size: 1.02rem; color: #4d6276; line-height: 1.75; }
.pr-public .pr-lesson-tabs { display: flex; align-items: center; gap: .4rem; border-bottom: 1px solid #d8e3eb; margin: 1.4rem 0 1.5rem; padding: 0 0 .7rem; }
.pr-lesson-tabs a { font-size: .85rem; white-space: normal; padding: .45rem .8rem; }
.pr-lesson-tabs button { margin-left: auto; font-size: .84rem; padding: .43rem .8rem; border-color: #d3e1eb; color: #355773; background: #fff; }
.pr-lesson-tabs button:hover { background: #e8f1f8; }
.pr-lesson-tabs button[hidden] { display: none; }
.pr-lesson-columns { display: grid; grid-template-columns: minmax(0,1fr) 268px; align-items: start; gap: 1.25rem; }
.pr-lesson-article { display: grid; gap: 1rem; min-width: 0; }
.pr-lesson-section { background: #fff; border: 1px solid #e0e8f0; border-radius: 17px; padding: clamp(1.1rem,2.5vw,1.7rem); }
.pr-lesson-section h2,.pr-lesson-verse h2,.pr-lesson-practice h2,.pr-lesson-prayer h2 { font-size: clamp(1.25rem,2.3vw,1.6rem); margin: .12rem 0 .8rem; }
.pr-lesson-section p { margin: .55rem 0; }
.pr-lesson-section > p:last-child { margin-bottom: 0; }
.pr-lesson-article li + li { margin-top: .65rem; }
.pr-lesson-article ol,.pr-lesson-article ul { padding-left: 1.25rem; }
.pr-lesson-article .pr-questions-list { counter-reset: questions; list-style: none; padding: 0; display: grid; gap: .65rem; margin: .75rem 0 0; }
.pr-questions-list li { display: grid; grid-template-columns: 38px minmax(0,1fr); column-gap: .85rem; align-items: start; padding: .8rem .2rem; border-bottom: 1px solid #edf1f6; font-weight: 580; margin: 0!important; }
.pr-questions-list li::before { counter-increment: questions; content: counter(questions); background: #eaf3f8; color: #2d5b80; font-weight: 750; font-size: .94rem; border-radius: 11px; min-height: 34px; display: grid; place-items: center; }
.pr-questions-list li:last-child { border-bottom: 0; }
.pr-questions-list .note { grid-column: 2; font-weight: 400; margin: .4rem 0 0; font-size: .9rem; }
.pr-lesson-verse { padding: clamp(1.2rem,3vw,1.9rem); border-radius: 18px; background: #eaf1f4; border-left: 4px solid #d4b77c; }
.pr-lesson-verse p { margin: 0; font-size: 1.06rem; color: #354f5f; }
.pr-lesson-practice,.pr-lesson-prayer { padding: clamp(1.15rem,3vw,1.9rem); border-radius: 18px; }
.pr-lesson-practice { background: #eaf3ef; border: 1px solid #cbded4; }
.pr-lesson-practice h2 { color: #245c48; }
.pr-lesson-practice p,.pr-lesson-prayer p { margin: .4rem 0 0; line-height: 1.75; }
.pr-lesson-prayer { background: #163c5d; color: #fff; }
.pr-lesson-prayer h2 { color: #fff; }
.pr-lesson-prayer .pr-eyebrow { color: #c8d9e5; }
.pr-lesson-prayer p { font-size: 1.06rem; color: #eaf2f8; }
.pr-pastoral-note { padding: 1rem 1.2rem; border-radius: 13px; background: #fff9e8; color: #615033; margin: 0; }
.pr-lesson-aside-card { position: sticky; top: 1.5rem; border: 1px solid #dfe7ef; background: #fff; border-radius: 16px; padding: 1.25rem; }
.pr-lesson-aside-card h2 { margin: .35rem 0 .7rem; font-size: 1.23rem; }
.pr-lesson-aside-card p,.pr-lesson-aside-card li { color: #5c6e7f; font-size: .88rem; line-height: 1.65; }
.pr-lesson-aside-card ul { padding-left: 1.1rem; margin: 1rem 0; }
.pr-lesson-aside-card a { display: inline-block; margin-top: .2rem; font-size: .85rem; font-weight: 700; }
.pr-lesson-article .pr-source-files { background: #fff; padding: 1.25rem; border: 1px solid #dce6ee; border-radius: 17px; }
.pr-lesson-article .pr-source-files h2 { margin-top: 0; }

@media (max-width: 900px) {
    .pr-course-content-grid { grid-template-columns: minmax(0,1fr) 245px; }
    .pr-lesson-columns { grid-template-columns: minmax(0,1fr) 225px; }
    .pr-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
    .pr-catalog-intro { display: block; }
    .pr-catalog-page .pr-catalog-tabs { margin-top: 1.2rem; }
    .pr-course-hero { grid-template-columns: 1fr; }
    .pr-course-hero-cover { min-height: 0; aspect-ratio: 16/9; grid-row: 1; }
    .pr-course-content-grid,.pr-lesson-columns { grid-template-columns: 1fr; }
    .pr-lesson-aside { display: none; }
}
@media (max-width: 560px) {
    .pr-course-grid,.pr-topic-grid { grid-template-columns: 1fr; }
    .pr-course-card-image { height: 190px; }
    .pr-course-card-body { padding: 1.15rem; }
    .pr-course-hero-content { padding: 1.35rem; }
    .pr-course-hero h1 { font-size: 2.05rem; }
    .pr-course-lesson-list a { gap: .75rem; padding: .8rem; }
    .pr-lesson-number { width: 40px; height: 40px; }
    .pr-program-count { font-size: .75rem; }
    .pr-lesson-hero::after { font-size: 8rem; top: 1rem; }
    .pr-lesson-tabs { gap: .3rem; }
    .pr-lesson-tabs a { padding: .36rem .6rem; }
    .pr-lesson-tabs button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .pr-course-card,.pr-course-card-image img,.pr-course-lesson-list a,.pr-topic-card { transition: none; }
}
@media print {
    .pr-catalog-page .pr-path,.pr-catalog-tabs,.pr-course-start,.pr-course-info-card,.pr-lesson-tabs,.pr-lesson-aside { display: none!important; }
    .pr-lesson-page .pr-lesson-hero,.pr-lesson-section,.pr-lesson-verse,.pr-lesson-practice,.pr-lesson-prayer { background: white; color: black; border: 0; box-shadow: none; padding: .3rem 0; break-inside: avoid; }
    .pr-lesson-hero::after { display: none; }
    .pr-lesson-article { display: block; }
    .pr-lesson-article > section { margin-bottom: 1rem; }
    .pr-lesson-prayer h2,.pr-lesson-prayer p { color: black; }
}

/* Biblical groups: clear discovery, one highlighted next meeting, no repeated itinerary. */
.pr-groups-page { max-width: 1200px; }
.pr-public .pr-group-path { border: 0; padding: 0; margin: .2rem 0 2rem; display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; color: #74869a; font-size: .87rem; }
.pr-group-path a { border: 0!important; background: none!important; padding: 0!important; font-size: inherit; font-weight: 550; }
.pr-group-path [aria-current] { color: #47627b; }
.pr-group-intro { border: 0!important; padding: 0!important; margin: 0 0 2rem; }
.pr-group-intro h1 { font-size: clamp(2.3rem,5vw,3.7rem); margin: .45rem 0 .65rem; }
.pr-group-intro p { color: #5b6e81; font-size: 1.04rem; max-width: 70ch; margin: 0; }
.pr-group-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.pr-group-card { display: flex; flex-direction: column; gap: .55rem; min-width: 0; padding: clamp(1.25rem,3vw,1.85rem); background: #fff; border: 1px solid #dde7f0; border-radius: 21px; box-shadow: 0 5px 16px rgba(17,51,81,.045); color: #173a5e!important; text-decoration: none!important; transition: box-shadow .18s ease,border-color .18s ease,transform .18s ease; }
.pr-group-card:hover { border-color: #91b9d0; transform: translateY(-3px); box-shadow: 0 13px 28px rgba(19,57,83,.1); }
.pr-group-card-head { display: flex; align-items: start; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.pr-group-format-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #e6f0f5; color: #246489; font-size: 2.05rem; font-weight: 500; }
.pr-group-format-home { background: #f6eede; color: #95723a; }
.pr-group-format-online { background: #eeeafb; color: #6553a6; }
.pr-group-card-image { width: 84px; height: 68px; flex: none; border-radius: 14px; object-fit: cover; background: #e6f0f5; }
.pr-group-open-badge { border-radius: 999px; background: #e7f4ed; color: #286c49; font-size: .75rem; font-weight: 750; padding: .35rem .75rem; }
.pr-group-type { font-size: .76rem; letter-spacing: .055em; text-transform: uppercase; font-weight: 760; color: #65829b; }
.pr-group-card-title { font-size: clamp(1.4rem,2.6vw,1.8rem); line-height: 1.27; font-weight: 790; letter-spacing: -.025em; }
.pr-group-card-description { color: #647487; line-height: 1.6; font-size: .92rem; margin: .18rem 0 .65rem; flex: 1; }
.pr-group-card-details { display: grid; gap: .2rem; color: #4c6680; font-size: .87rem; margin-bottom: 1rem; }
.pr-group-card-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e7edf3; padding-top: 1rem; font-size: .9rem; font-weight: 760; color: #1b527f; }
.pr-group-round-arrow { display: grid; place-items: center; width: 39px; height: 39px; background: #1b547f; color: #fff; border-radius: 50%; font-size: 1.3rem; }
.pr-group-empty { padding: 3rem clamp(1.3rem,4vw,3rem); background: #fff; border: 1px dashed #c7d9e7; border-radius: 22px; text-align: center; }
.pr-group-empty-icon { display: grid; place-items: center; margin: 0 auto .9rem; width: 64px; height: 64px; border-radius: 18px; background: #eaf3f8; color: #2b658b; font-size: 2.2rem; }
.pr-group-empty h2 { margin: .5rem 0; }
.pr-group-empty p { margin: 0 auto 1rem; color: #64798b; }
.pr-group-empty a { font-weight: 700; }
.pr-public > .pr-group-hero { display: grid; grid-template-columns: minmax(0,1fr) 235px; gap: 1rem; align-items: center; overflow: hidden; border: 0!important; background: linear-gradient(120deg,#163a5a,#245f78 70%,#377786); border-radius: 24px; color: #fff; padding: clamp(1.5rem,4vw,3rem); margin-bottom: 2.1rem; }
.pr-group-hero .pr-eyebrow { color: #bbdce2; }
.pr-group-hero h1 { color: #fff; font-size: clamp(2rem,4.5vw,3.45rem); margin: .45rem 0 1rem; }
.pr-group-hero p { color: #e0eaf0; font-size: 1.02rem; line-height: 1.75; max-width: 63ch; margin: 0 0 1.25rem; }
.pr-group-hero-badges { display: flex; flex-wrap: wrap; gap: .55rem; }
.pr-group-hero-badges span { font-size: .83rem; font-weight: 660; padding: .34rem .72rem; color: #f4f8fa; border-radius: 999px; border: 1px solid #88acbd; background: #ffffff13; }
.pr-group-hero-art { position: relative; display: grid; place-items: center; height: 230px; border-radius: 50%; color: #f3d9a7; font-size: 8rem; background: radial-gradient(circle,#396b7e 0%,#1d4e69 55%,transparent 65%); }
.pr-group-art-orbit { position: absolute; inset: 20px; border: 1px solid #e4eccc55; border-radius: 50%; }
.pr-group-hero-art.is-photo { height: 265px; padding: 0; overflow: hidden; border: 2px solid #ffffff40; border-radius: 20px; background: #2e6075; box-shadow: 0 14px 35px #0a2b3f45; }
.pr-group-hero-art.is-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pr-group-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 298px; align-items: start; gap: 1.4rem; }
.pr-group-detail-main { display: grid; gap: 2rem; min-width: 0; }
.pr-group-detail-main h2 { margin: .35rem 0 1rem; font-size: clamp(1.45rem,2.8vw,1.85rem); }
.pr-group-meeting-card { display: flex; gap: 1.35rem; padding: clamp(1.1rem,3vw,1.7rem); align-items: start; background: #fff; border: 1px solid #dce7ef; border-radius: 19px; box-shadow: 0 7px 18px rgba(20,54,78,.045); }
.pr-group-date { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; width: 90px; min-height: 100px; border-radius: 15px; background: #e8f2f8; color: #285c81; }
.pr-group-date strong { font-size: 2.25rem; line-height: 1.12; font-weight: 780; }
.pr-group-date span { font-size: .78rem; font-weight: 680; margin-top: .3rem; }
.pr-group-meeting-body { min-width: 0; flex: 1; }
.pr-group-meeting-category { font-size: .79rem; color: #6d8599; font-weight: 750; }
.pr-group-meeting-body h3 { font-size: clamp(1.24rem,2.1vw,1.55rem); margin: .35rem 0 .65rem; }
.pr-group-meeting-body h3 a { text-decoration: none; color: #173d65; }
.pr-group-meeting-body p { font-size: .89rem; margin: .3rem 0; color: #5b7084; }
.pr-group-meeting-button { display: inline-flex; gap: 1.5rem; justify-content: space-between; align-items: center; background: #1b527e; color: #fff!important; border-radius: 10px; padding: .58rem .95rem; margin-top: 1rem; font-weight: 740; font-size: .88rem; text-decoration: none!important; }
.pr-group-meeting-button:hover { background: #103e66; }
.pr-group-no-meetings { background: #fff; border: 1px dashed #cfdae4; border-radius: 16px; padding: 1rem 1.4rem; color: #5d7183; }
.pr-group-no-meetings p { margin: .1rem 0; }
.pr-group-meeting-list { display: grid; gap: .65rem; }
.pr-group-meeting-row { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: 14px; background: #fff; border: 1px solid #e0e7ee; text-decoration: none!important; color: #193e62!important; }
.pr-group-meeting-row:hover { border-color: #a0c0d7; background: #fbfdff; }
.pr-group-row-date { display: grid; place-items: center; flex: none; width: 66px; padding: .45rem; border-radius: 10px; background: #eef4f8; font-size: 1.04rem; font-weight: 750; }
.pr-group-row-date small { font-size: .76rem; color: #74869a; }
.pr-group-row-main { display: grid; gap: .15rem; min-width: 0; flex: 1; }
.pr-group-row-main strong { font-size: .96rem; line-height: 1.4; }
.pr-group-row-main small { font-size: .81rem; color: #718397; }
.pr-group-row-arrow { margin-left: auto; color: #346f9a; font-size: 1.25rem; }
.pr-group-about-card { background: #fff; border: 1px solid #dce7ef; border-radius: 18px; padding: 1.5rem; position: sticky; top: 1.2rem; }
.pr-group-about-card h2 { font-size: 1.3rem; margin: .3rem 0 1.1rem; }
.pr-group-about-card dl { margin: 0; }
.pr-group-about-card dl > div { padding: .75rem 0; border-bottom: 1px solid #edf1f5; }
.pr-group-about-card dt { color: #7a8a99; font-size: .75rem; font-weight: 760; text-transform: uppercase; letter-spacing: .035em; }
.pr-group-about-card dd { margin: .23rem 0 0; font-size: .92rem; line-height: 1.5; color: #344f67; }
.pr-group-video-link { display: block; background: #e7f1f8; border-radius: 9px; padding: .7rem; margin-top: 1rem; text-decoration: none!important; text-align: center; font-weight: 750; }
.pr-group-all-link { display: inline-block; margin-top: 1.2rem; font-size: .86rem; font-weight: 700; }
@media(max-width:850px) { .pr-group-detail-layout { grid-template-columns: minmax(0,1fr) 245px; } .pr-public > .pr-group-hero { grid-template-columns: 1fr 155px; } .pr-group-hero-art { height: 160px; font-size: 6rem; } }
@media(max-width:700px) { .pr-group-grid,.pr-group-detail-layout { grid-template-columns: 1fr; } .pr-group-about-card { position: static; } .pr-public > .pr-group-hero { grid-template-columns: 1fr; } .pr-group-hero-art { display: none; } .pr-group-hero-art.is-photo { display: block; width: 100%; height: 220px; } }
@media(max-width:460px) { .pr-group-meeting-card { flex-direction: column; gap: .9rem; } .pr-group-date { width: auto; min-height: 0; flex-direction: row; gap: .65rem; align-self: flex-start; padding: .5rem 1rem; } .pr-group-date strong { font-size: 1.4rem; } .pr-group-card { padding: 1.2rem; } }
@media(prefers-reduced-motion:reduce) { .pr-group-card { transition: none; } }
@media print { .pr-groups-page .pr-group-path,.pr-group-about-card,.pr-group-meeting-button { display: none!important; } .pr-public > .pr-group-hero { background: #fff; color: #000; padding: 0; } .pr-group-hero h1,.pr-group-hero p { color: #000; } .pr-group-hero-art { display: none; } }

/* Group accounts and the leader's workspace. */
.pr-group-auth-wrap { max-width: 660px; margin: 2.3rem auto 4rem; }
.pr-group-auth-wrap h1 { margin: .55rem 0 .85rem; }
.pr-group-auth-wrap > p { color: #5e7183; }
.pr-group-auth-card { background: #fff; border: 1px solid #d8e5ee; border-radius: 22px; padding: clamp(1.25rem,4vw,2.2rem); margin: 1.35rem 0 1.1rem; box-shadow: 0 12px 35px rgba(23,55,82,.065); }
.pr-group-auth-card h2 { margin: 0 0 .6rem; }
.pr-group-auth-card > p { color: #607489; }
.pr-public form.pr-group-auth-form { display: grid; gap: 1.2rem; border: none; padding: .5rem 0 0; margin: 0; box-shadow: none; }
.pr-group-auth-form label { width: 100%; font-size: .9rem; color: #284965; }
.pr-group-auth-form input { width: 100%; min-height: 48px; }
.pr-group-auth-form button { min-height: 49px; font-weight: 760; background: #1b527e; border-color: #1b527e; }
.pr-group-auth-footnote { font-size: .86rem; margin: 1rem 0 0; }
.pr-group-auth-back { display: inline-block; font-size: .89rem; font-weight: 700; }
.pr-group-auth-error { border-left: 4px solid #b84736; background: #fff0ee; border-radius: 8px; padding: .75rem 1rem; color: #882f21!important; }
.pr-group-my-card { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; background: #e6f1f7; border: 1px solid #b9d5e7; border-radius: 15px; margin: 1rem 0 1.5rem; text-decoration: none!important; color: #19476e!important; }
.pr-group-my-card strong,.pr-group-my-card small { display: block; }
.pr-group-my-card small { color: #627f90; }
.pr-group-member-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #edf4f8; border: 1px solid #dce8ef; border-radius: 15px; padding: .8rem 1.2rem; margin: 0 0 1.3rem; }
.pr-group-member-bar strong,.pr-group-member-bar span { display: block; }
.pr-group-member-bar span { font-size: .87rem; color: #58728b; }
.pr-group-member-bar p { margin: 0; font-size: .9rem; }
.pr-group-member-bar a { font-weight: 740; font-size: .88rem; white-space: nowrap; }
.pr-public .pr-group-member-bar form { padding: 0; border: 0; background: none; }
.pr-group-member-bar button { padding: .4rem .8rem!important; background: #fff!important; color: #24577a!important; border-color: #bbd3e3!important; font-size: .85rem!important; }
.pr-group-leader-dashboard { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0 1.5rem; align-items: center; border-radius: 20px; border: 1px solid #d2e5e0; padding: 1.4rem 1.7rem; margin: 1.1rem 0 2rem; background: linear-gradient(115deg,#f0f7f4,#e7f3f4); }
.pr-group-leader-dashboard h2 { margin: .3rem 0 .7rem; font-size: 1.5rem; }
.pr-group-leader-dashboard p { margin: 0; font-size: .91rem; color: #4a6670; }
.pr-group-leader-dashboard ol { margin: 0; padding-left: 1.3rem; font-size: .89rem; color: #365565; }
.pr-group-leader-dashboard li + li { margin-top: .35rem; }
.pr-group-leader-button { grid-column: 1 / -1; display: inline-flex; justify-self: start; background: #1d5a74; color: white!important; border-radius: 10px; text-decoration: none!important; font-size: .88rem; font-weight: 740; padding: .55rem 1rem; margin-top: 1rem; }
.pr-group-leader-link { display: inline-block; font-size: .85rem; margin: .5rem 0 0 1rem; font-weight: 750; }
@media(max-width:750px) { .pr-group-leader-dashboard { grid-template-columns: 1fr; gap: 1rem; } .pr-group-member-bar { align-items: flex-start; flex-direction: column; } }
@media print { .pr-group-member-bar,.pr-group-auth-wrap,.pr-group-leader-button { display: none!important; } }

/* Scripture calendar: compact, readable date picker and publication-aware cards. */
.pr-daily-page { max-width: 1160px; }
.pr-daily-page .pr-daily-breadcrumb { margin-bottom: 1.15rem; color: #667e93; }
.pr-daily-page .pr-daily-breadcrumb a { color: #335e80; font-weight: 720; text-decoration: none; }
.pr-daily-page .pr-daily-breadcrumb span { padding: 0 .45rem; color: #9caebd; }
.pr-daily-page > .pr-daily-page-header {
    position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 23px;
    background: linear-gradient(112deg,#133758 6%,#205875 76%,#337c85);
    padding: clamp(1.65rem,5vw,3.1rem); margin-bottom: 1.3rem;
    color: #fff; box-shadow: 0 12px 28px rgba(20,64,92,.1);
}
.pr-daily-page > .pr-daily-page-header::after {
    content: '✦'; position: absolute; right: 3.7%; top: 50%; transform: translateY(-50%);
    display: grid; place-items: center; width: clamp(95px,15vw,180px); aspect-ratio: 1;
    border: 1px solid rgba(242,216,156,.36); border-radius: 50%;
    font-size: clamp(3rem,8vw,6.5rem); color: rgba(247,218,158,.68);
    box-shadow: inset 0 0 0 15px rgba(255,255,255,.035); z-index: -1;
}
.pr-daily-page-header .pr-eyebrow { margin: 0 0 .45rem; color: #bcdbe5; }
.pr-daily-page-header h1 { margin: 0 0 .65rem; max-width: 18ch; color: #fff; font-size: clamp(1.95rem,4vw,3.15rem); }
.pr-daily-page-header p:last-child { max-width: 57ch; margin: 0; color: #e1edf3; font-size: 1rem; }
.pr-daily-page .pr-daily-filter {
    display: flex; gap: 1rem; align-items: end; justify-content: flex-start;
    margin: 0 0 1.6rem; padding: 1.15rem 1.4rem;
    background: #fff; border: 1px solid #e0e8ef; border-radius: 16px;
}
.pr-daily-page .pr-daily-filter label { color: #3d586e; font-size: .86rem; min-width: 150px; }
.pr-daily-page .pr-daily-filter input,.pr-daily-page .pr-daily-filter select { width: 100%; }
.pr-daily-page .pr-daily-filter button { min-height: 43px; font-weight: 730; padding-inline: 1.5rem; }
.pr-daily-month-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 1.3rem 0 .6rem; }
.pr-daily-month-heading h2 { font-size: 1.35rem; margin: 0; }
.pr-daily-month-heading span { color: #718293; font-size: .88rem; }
.pr-daily-page .pr-daily-calendar {
    display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: .4rem;
    border: 1px solid #dfe8f0; padding: .8rem; margin: 0 0 1.7rem;
    border-radius: 17px; background: #fff;
}
.pr-daily-page .pr-daily-calendar > a,.pr-daily-page .pr-daily-calendar > span {
    display: grid; place-items: center; min-height: 43px; padding: .25rem .2rem;
    border: 1px solid transparent; border-radius: 11px; text-align: center;
    font-size: .94rem; line-height: 1.2; margin: 0;
}
.pr-daily-page .pr-daily-calendar > a { color: #2b5577; background: #f5f8fb; text-decoration: none; font-weight: 700; }
.pr-daily-page .pr-daily-calendar > a:hover { color: #174b75; border-color: #bed7e8; background: #e9f3fa; }
.pr-daily-page .pr-daily-calendar > a[aria-current="date"] { background: #174c77; border-color: #174c77; color: #fff; box-shadow: 0 4px 9px rgba(23,76,119,.18); }
.pr-daily-page .pr-daily-calendar > a.pr-daily-today:not([aria-current="date"]) { border-color: #c5a46f; background: #fff8ec; }
.pr-daily-page .pr-daily-calendar > .pr-daily-weekday { min-height: 29px; background: transparent; color: #8193a5; font-size: .76rem; font-weight: 780; }
.pr-daily-page .pr-daily-calendar > .pr-daily-padding { min-height: 43px; }
.pr-daily-page .pr-daily-calendar > .pr-daily-unavailable { color: #b4c0c9; background: #f8f9fb; }
.pr-daily-selected {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem 1.5rem;
    margin: 1.7rem 0 1.2rem; padding: 1.3rem 1.5rem;
    border-radius: 17px; border-left: 4px solid #c69e63; background: #ecf3f8;
}
.pr-daily-selected .pr-daily-selected-date { color: #47708c; font-size: .88rem; font-weight: 760; margin: 0 0 .35rem; }
.pr-daily-selected h2 { font-size: clamp(1.3rem,2.4vw,1.75rem); margin: 0; }
.pr-daily-observance { display: inline-flex; align-items: center; border: 1px solid #d5e2e8; border-radius: 999px; background: white; padding: .35rem .75rem; color: #56708a; font-size: .78rem; font-weight: 650; }
.pr-daily-readings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; align-items: stretch; }
.pr-reading-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #dce6ee; border-radius: 20px; overflow: hidden; background: white; box-shadow: 0 7px 22px rgba(25,57,84,.045); }
.pr-reading-card-top { display: flex; align-items: flex-start; gap: .95rem; min-width: 0; padding: 1.5rem 1.3rem; background: linear-gradient(145deg,#edf6f6,#f7fbfa); border-bottom: 1px solid #dce7e9; }
.pr-reading-card--apostle .pr-reading-card-top { background: linear-gradient(145deg,#f1f3f9,#f9f9fc); border-bottom-color: #e3e6ef; }
.pr-reading-symbol { flex: none; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; background: #d7edeb; color: #327c7d; font-size: 1.65rem; line-height: 1; }
.pr-reading-card--apostle .pr-reading-symbol { background: #e6e9f8; color: #586f9f; }
.pr-reading-card-title { flex: 1; min-width: 0; }
.pr-reading-kind { color: #547e84; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .065em; margin: 0 0 .25rem; }
.pr-reading-card--apostle .pr-reading-kind { color: #6578a3; }
.pr-daily-page .pr-reading-card h3 { font-size: clamp(1.25rem,2.2vw,1.6rem); line-height: 1.3; margin: 0; }
.pr-reading-caption { font-size: .86rem; color: #617789; margin: .42rem 0 0; }
.pr-reading-state { flex: none; font-size: .69rem; line-height: 1.1; font-weight: 800; padding: .42rem .58rem; border-radius: 999px; white-space: nowrap; }
.pr-reading-state--ready { background: #d7f0e6; color: #25684f; }
.pr-reading-state--pending { background: #f2eee2; color: #876f38; }
.pr-reading-card-content { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; gap: 1rem; }
.pr-reading-lesson-list { display: grid; gap: .7rem; }
.pr-daily-page .pr-reading-lesson-link {
    display: grid; gap: .35rem; text-decoration: none; color: #16456b; background: #f0f6fa;
    border: 1px solid #d8e6ef; border-radius: 13px; padding: 1rem 1.05rem;
    transition: border-color .15s ease,background .15s ease,transform .15s ease;
}
.pr-daily-page .pr-reading-lesson-link:hover { background: #e9f3f9; border-color: #a9cadc; transform: translateY(-1px); }
.pr-reading-lesson-meta { color: #5d7a90; font-size: .75rem; font-weight: 720; }
.pr-reading-lesson-link strong { display: block; font-size: 1.07rem; line-height: 1.42; letter-spacing: -.012em; }
.pr-reading-lesson-action { color: #28628d; font-weight: 780; font-size: .87rem; margin-top: .3rem; }
.pr-reading-awaiting { display: flex; align-items: flex-start; gap: .75rem; background: #f7f8f9; border: 1px dashed #dce3e9; border-radius: 12px; padding: .9rem 1rem; color: #6d7d89; }
.pr-reading-awaiting > span { font-size: 1.25rem; line-height: 1.2; color: #9aabb9; }
.pr-reading-awaiting p { margin: 0; font-size: .87rem; }
.pr-daily-page .pr-reading-scripture-link { display: inline-flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding: .6rem 0 .15rem; border-top: 1px solid #e6edf2; font-size: .86rem; font-weight: 740; color: #245d84; text-decoration: none; }
.pr-daily-page .pr-reading-scripture-link:hover { text-decoration: underline; }
@media (max-width: 800px) { .pr-daily-readings { grid-template-columns: 1fr; } }
@media (max-width: 650px) {
    .pr-daily-page > .pr-daily-page-header { padding: 1.6rem; border-radius: 17px; }
    .pr-daily-page > .pr-daily-page-header::after { display: none; }
    .pr-daily-page .pr-daily-filter { padding: 1rem; gap: .75rem; }
    .pr-daily-page .pr-daily-filter label { min-width: 0; flex: 1 1 135px; }
    .pr-daily-page .pr-daily-filter button { flex: 1 1 100%; }
    .pr-daily-month-heading { align-items: start; flex-direction: column; gap: .1rem; }
    .pr-daily-page .pr-daily-calendar { padding: .5rem; gap: .2rem; }
    .pr-daily-page .pr-daily-calendar > a,.pr-daily-page .pr-daily-calendar > span { min-height: 39px; border-radius: 8px; font-size: .85rem; }
    .pr-daily-selected { padding: 1.05rem 1.15rem; }
    .pr-reading-card-top { flex-wrap: wrap; padding: 1.2rem; }
    .pr-reading-state { margin-left: 55px; }
    .pr-reading-card-content { padding: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { .pr-daily-page .pr-reading-lesson-link { transition: none; } }
@media print {
    .pr-daily-page > .pr-daily-page-header { color: #000; background: white; padding: 0; box-shadow: none; }
    .pr-daily-page-header h1,.pr-daily-page-header p { color: #000!important; }
    .pr-daily-filter,.pr-daily-month-heading,.pr-daily-calendar { display: none!important; }
    .pr-daily-readings { display: block; }
    .pr-reading-card { border: 1px solid #aaa; margin-bottom: 1rem; break-inside: avoid; box-shadow: none; }
    .pr-reading-card-top,.pr-daily-selected { background: white; }
}

/* Internal Ukrainian source notes: reading on the left, bibliography on the right. */
.pr-source-uk-page { max-width: 1210px; }
.pr-source-uk-page .pr-source-uk-breadcrumb { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; border: 0; padding: 0; margin: .2rem 0 1.5rem; font-size: .85rem; color: #778a9a; }
.pr-source-uk-breadcrumb a { border: 0!important; padding: 0!important; font-size: inherit; text-decoration: none!important; }
.pr-source-uk-breadcrumb a:hover { text-decoration: underline!important; }
.pr-source-uk-header { border: 0!important; border-radius: 22px; padding: clamp(1.6rem,4vw,2.7rem)!important; background: radial-gradient(circle at 88% 20%,rgba(224,194,129,.18),transparent 27%),linear-gradient(112deg,#133859,#246978); color: white; }
.pr-source-uk-header .pr-eyebrow { margin: 0 0 .5rem; color: #c0dbe3; }
.pr-source-uk-header h1 { color: white; max-width: 31ch; margin: 0 0 .8rem; font-size: clamp(1.8rem,4vw,2.7rem); }
.pr-source-uk-header > p:not(.pr-eyebrow) { margin: 0 0 1.1rem; color: #e4f0f5; }
.pr-source-uk-badge { display: inline-flex; padding: .35rem .75rem; border-radius: 999px; color: #fff2ca; border: 1px solid rgba(255,225,169,.43); background: rgba(255,255,255,.1); font-size: .78rem; font-weight: 720; }
.pr-source-uk-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,320px); gap: clamp(1rem,2.5vw,1.8rem); align-items: start; margin-top: 1.35rem; }
.pr-source-uk-body { min-width: 0; }
.pr-source-uk-translation,.pr-source-uk-reference { padding: clamp(1.35rem,3vw,2.1rem); border: 1px solid #dce7ef; border-radius: 20px; background: #fff; box-shadow: 0 6px 22px rgba(23,55,82,.05); }
.pr-source-uk-translation { border-top: 4px solid #d3b37d; }
.pr-source-uk-section-heading { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.35rem; }
.pr-source-uk-section-symbol { flex: 0 0 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: #f2e9d9; color: #936e32; font-size: 1.3rem; }
.pr-source-uk-section-heading .pr-eyebrow { margin: 0 0 .1rem; }
.pr-source-uk-section-heading h2 { margin: 0; font-size: clamp(1.3rem,2.8vw,1.72rem); }
.pr-source-uk-excerpt { border-left: 3px solid #d3b37d; margin: 0 0 1.25rem; padding: .3rem 0 .3rem 1.25rem; }
.pr-source-uk-excerpt p { margin: 0; font-size: 1.09rem; line-height: 1.95; color: #2c4355; }
.pr-source-uk-paraphrase { border-color: #91b7c7; }
.pr-source-uk-commentary { border-top: 1px solid #e6edf2; margin-top: 1.65rem; padding-top: 1.6rem; }
.pr-source-uk-commentary h3 { margin: 0 0 .75rem; color: #194b6b; font-size: 1.22rem; }
.pr-source-uk-commentary p { margin: 0; color: #40556a; font-size: 1.02rem; line-height: 1.85; }
.pr-source-uk-editorial-note { padding: .9rem 1rem; border-left: 3px solid #c5ad7e; border-radius: 9px; background: #fff9ec; color: #735e3c; font-size: .85rem; line-height: 1.65; }
.pr-source-uk-translation > .pr-source-uk-editorial-note { margin: 1.25rem 0 0; }
.pr-source-uk-sidebar { position: sticky; top: 22px; min-width: 0; }
.pr-source-uk-reference { padding: 1.4rem; border-color: #d4e3ec; }
.pr-source-uk-reference > .pr-eyebrow { margin: 0 0 .3rem; color: #567c8a; }
.pr-source-uk-reference h2 { margin: 0 0 1.1rem; font-size: 1.46rem; }
.pr-source-uk-reference dl { margin: 0 0 1.35rem; }
.pr-source-uk-reference dl > div { padding: .8rem 0; border-bottom: 1px solid #e8eef2; }
.pr-source-uk-reference dt { margin-bottom: .25rem; font-size: .74rem; letter-spacing: .035em; text-transform: uppercase; font-weight: 760; color: #72869a; }
.pr-source-uk-reference dd { margin: 0; color: #233f57; font-size: .95rem; line-height: 1.55; }
.pr-source-uk-original { display: flex; justify-content: space-between; gap: .7rem; align-items: center; background: #235b82; color: #fff!important; padding: .85rem 1rem; border-radius: 11px; text-decoration: none!important; font-size: .88rem; font-weight: 740; line-height: 1.35; }
.pr-source-uk-original:hover { background: #184b70; }
.pr-source-uk-original > span { font-size: 1.18rem; }
.pr-source-uk-disclaimer { margin-top: 1.25rem; border-radius: 11px; padding: 1rem; background: #f0f5f8; border: 1px solid #dde9ef; }
.pr-source-uk-disclaimer strong { display: block; margin-bottom: .3rem; color: #25516c; font-size: .85rem; }
.pr-source-uk-disclaimer p { margin: 0; color: #5e7486; font-size: .8rem; line-height: 1.65; }
.pr-source-uk-back { margin: 1.35rem 0 0; font-weight: 750; font-size: .92rem; }
.pr-source-uk-back a { text-decoration: none; }
.pr-source-uk-back a:hover { text-decoration: underline; }
.pr-source-uk-reference a:focus-visible,.pr-source-uk-page a:focus-visible { outline-offset: 4px; }
.pr-ukrainian-patristic .pr-source-uk-inline-link { margin: .5rem 0 0; font-size: .86rem; font-weight: 710; }
@media(max-width:800px) { .pr-source-uk-layout { grid-template-columns: minmax(0,1fr); } .pr-source-uk-sidebar { position: static; } }
@media(max-width:550px) { .pr-source-uk-header { border-radius: 16px; } .pr-source-uk-translation,.pr-source-uk-reference { padding: 1.25rem; } .pr-source-uk-excerpt { padding-left: .85rem; } }
@media print { .pr-source-uk-header { background: white; color: black; padding: 0!important; } .pr-source-uk-header h1,.pr-source-uk-header p { color: black!important; } .pr-source-uk-layout { display: block; } .pr-source-uk-sidebar { position: static; } .pr-source-uk-translation,.pr-source-uk-reference { border: 0; padding: .6rem 0; box-shadow: none; } .pr-source-uk-disclaimer { background: white; border: 1px solid #bbb; } .pr-source-uk-back { display: none; } }
