@import url("./member-community-polish.css?v=20261124-812");
/* Shared community chrome. Design Card and member post colours remain content choices. */
:root{--community-blue:#1235FF;--community-rail:#FF00A8;--community-gold:#FFD700;--community-paper:#f5f2ed;--community-ink:#14254a}
/* #808 (24 Nov 2026, owner font standard): the 16px body base — this
   sheet loads on 20/24 pages and previously set no body font-size, so
   those pages inherited the browser's 16px default. The explicit rule
   pins the standard instead of relying on the default. */
body{font-size:16px}
html body.community-unified-theme{--blue:#1235FF;--wine:#FF00A8;--gold:#FFD700;--paper:#f5f2ed;--ink:#14254a;background:#f5f2ed!important;color:#14254a!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html body.community-unified-theme[data-page]{background:#f5f2ed!important;color:#14254a!important}
html body.community-unified-theme .top,html body.community-unified-theme>header:not(.stream-heading){background:#1235FF!important;color:#fff!important}
html body.community-unified-theme .top .brand .brand-name{color:#fff!important}
html body.community-unified-theme .social-rail{background:#061b57!important;border-color:#FF00A8!important;color:#fff!important;border-inline-start:4px solid #FF00A8!important}
html body.community-unified-theme .social-rail :is(.rail-link,.rail-ministry-link,.rail-brand,.muted){color:#fff!important}
html body.community-unified-theme .social-rail .rail-link[aria-current=page]{background:#FFD700!important;color:#10295b!important}
html body.community-unified-theme .social-sidebar{background:#061b57!important;border:2px solid #FF00A8!important;padding:10px!important;border-radius:12px!important}
html body.community-unified-theme .social-sidebar>:is(.card,.hk-ref-panel,.community-rules,.gc-online-members){background:#fff!important;color:#14254a!important;border-color:#e1e5ed!important}
html body.community-unified-theme :is(.hero,.card,.directory-card,.directory-content,.inbox-panel,.conversation-panel,.member-profile-hero,.member-profile-intro>.card){background:#fff!important;color:#14254a!important}
html body.community-unified-theme :is(.hero h1,.card h2,.directory-title,.member-profile-copy h1){color:#14254a!important}
html body.community-unified-theme :is(.btn.primary,.chat-form>.primary){background:#1235FF!important;color:#fff!important;border-color:#1235FF!important}
html body.community-unified-theme :is(.gc-composer-submit,.hk-ref-create,.btn.gold){background:#FFD700!important;color:#10295b!important;border:1px solid #061b57!important}
html body.community-unified-theme .member-profile-cover{background:radial-gradient(ellipse at 85% 15%,#FFD70044,transparent 50%),linear-gradient(120deg,#1235FF,#1235FF)!important}
html body.community-unified-theme :is(.org-hero,.entity-cover,.group-cover,.space-cover){background:linear-gradient(120deg,#061b57,#1235FF)!important;color:#fff!important}
html body.community-unified-theme .chat-header{background:#1235FF!important;color:#fff!important}
html body.community-unified-theme .chat-history{background-color:#f5f2ed!important;background-image:radial-gradient(#14254a12 1px,transparent 1px)!important}
html body.community-unified-theme .message-bubble.sent{background:#e5eeff!important;color:#14254a!important;border-color:#c9dafa!important}
html body.community-unified-theme .message-bubble.received{background:#fff!important;color:#14254a!important}
html body.community-unified-theme :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #FFD700!important;outline-offset:3px}
.community-search{display:flex;gap:6px;align-items:center;flex:1;min-width:210px;max-width:460px;margin:0 10px}
.community-search input{min-width:0;min-height:42px;border:1px solid #ffffff55!important;border-radius:24px!important;background:#fff!important;color:#14254a!important;padding:9px 15px!important;font-size: 16px}
.community-search button{min-height:42px;border:0;border-radius:22px;padding:8px 14px;background:#FFD700;color:#10295b;font-weight:750;cursor:pointer}
.community-search-dialog{width:min(680px,calc(100vw - 24px));max-height:85dvh;border:1px solid #dce3ef;border-radius:20px;background:#fff;color:#14254a;padding:24px;overflow:auto;box-shadow:0 24px 80px #10295b40}
.community-search-dialog::backdrop{background:#14254a99}
.community-search-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.community-search-heading h2{margin:0;font-size: 1.5625rem}
.community-search-close{min-width:44px;min-height:44px;border:1px solid #dce3ef;background:#f5f2ed;border-radius:50%;font-size:24px;color:#14254a;cursor:pointer}
.community-search-results{display:grid;gap:8px;margin-top:20px}.community-search-results h3{font-size: 1.25rem;text-transform:uppercase;letter-spacing:.08em;margin:18px 0 4px;color:#66738c}
.community-search-result{display:block;padding:13px;border:1px solid #e3e8f1;border-radius:12px;text-decoration:none;color:#14254a}.community-search-result:hover{background:#eef4ff}.community-search-result strong,.community-search-result small{display:block}.community-search-result small{color:#64738c;margin-top:4px;line-height:1.5}
.community-footer{box-sizing:border-box;max-width:1280px;margin:30px auto 0;padding:24px 20px max(30px,env(safe-area-inset-bottom));border-top:1px solid #d9dfe8;color:#64738c;font: 16px/1.65 system-ui,sans-serif;background:transparent}
.community-footer-inner{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;flex-wrap:wrap}.community-footer strong{display:block;font-size: 16px;color:#14254a}.community-footer p{margin:4px 0}.community-footer nav{display:flex;gap:8px 18px;flex-wrap:wrap}.community-footer a{color:#405577;text-decoration:none;min-height:36px;display:inline-flex;align-items:center}.community-footer a:hover{text-decoration:underline}
@media(max-width:900px){html body.community-unified-theme .social-rail{background:#fff!important;border-color:#e2e6ed!important}html body.community-unified-theme .social-rail :is(.rail-link,.rail-ministry-link,.rail-brand,.muted){color:#17315d!important}.community-search{order:8;flex-basis:100%;max-width:none;margin:4px 0;min-width:0}.community-footer{padding-bottom:100px}}
@media(prefers-reduced-motion:reduce){.community-search-dialog{scroll-behavior:auto}}

/* Accessibility and small-screen consistency; do not recolor user-created post cards. */
html body.community-unified-theme :is(a,button,input,textarea,select,[tabindex]):focus-visible{outline:3px solid #FFD700!important;outline-offset:3px!important}
html body.community-unified-theme :is(.card,.directory-card,.conversation-panel,.member-profile-hero){min-width:0;overflow-wrap:anywhere}
html body.community-unified-theme :is(.btn.primary,.chat-form>.primary){min-height:44px}
@media(prefers-reduced-motion:reduce){html body.community-unified-theme :is(a,button,.card){animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Restore the original independent light-green Fellowship Center and Prayer Room
   palette from clean-community.css and community-care.css. Never apply these
   colours to the main social homepage, navigation there, or member Design Cards. */
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]){
  --blue:#285b43;--wine:#285b43;--gold:#c6e4cf;--paper:#f3faf6;
  --ink:#183e35;--line:#d7e8dc;
  background:#f3faf6!important;color:#183e35!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) .top{
  background:#e5f3e9!important;color:#183e35!important;
  border-bottom:2px solid #a8cdb6!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) .top .brand .brand-name,
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) .navlinks a{color:#183e35!important}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) .navlinks a:is(:hover,[aria-current="page"]){
  background:#cfe8d6!important;color:#183e35!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(.hero,.card,.composer-card,.care-daily,.care-preferences,.care-admin,.care-prayer-item,.fc-panel,.fc-card){
  background:linear-gradient(145deg,#fff,#f3faf6)!important;
  color:#183e35!important;border-color:#d6e4da!important;
  box-shadow:0 5px 20px #1d513b09!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) .hero{
  border-top:4px solid #91bda0!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(.hero h1,.hero .eyebrow,.card h2,.card h3,.fc-heading,.fc-eyebrow,.care-daily h2,.care-eyebrow,.care-reading blockquote,.care-reading>strong,.care-preferences summary,.care-admin summary,.care-support-count){
  color:#285b43!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(.composer-prompt,.fc-input,.fc-textarea,.fc-select){
  background:#f8fcf9!important;color:#285b43!important;border-color:#c5dece!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(.btn.primary,.chat-form>.primary,.fc-submit){
  background:#285b43!important;color:#fff!important;border-color:#285b43!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(.btn.secondary,.composer-shortcut:hover,.care-update){
  background:#dcefe2!important;color:#183e35!important;border-color:#c5dece!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(.care-preferences input[type="checkbox"],.care-prayers input[type="checkbox"]){
  accent-color:#23674d!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(.care-journey,.care-motto,.composer-shortcuts){
  border-top-color:#cae0d1!important;
}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) :is(a,button,input,textarea,select,[tabindex]):focus-visible{
  outline:3px solid #23674d!important;outline-offset:3px!important;
}

/* #793 F6 — Fellowship/Prayer rail + aside headings (readable contrast).
   Two !important rules collide on these pages: community-shell.css paints
   the rail navy and forces every rail link white (above), while
   community-premium-navigation.css paints the links as white cards — white
   text on white cards, invisible except the gold active link. And the
   Fellowship palette paints .card h2 dark green (#285b43) while the
   premium-navigation pill paints the heading background bright blue —
   dark green on bright blue. These overrides restore the intended designs
   (dark text on white cards; white text on the blue pill) and win by higher
   specificity + !important, scoped to Fellowship/Prayer only. */
/* #795 H1c — ONE single menu, visual: the readable rail look is now the
   rule on EVERY page, not only Fellowship/Prayer. The shell forces every
   rail link white (!important, line 9) while the pill styles paint the
   links as white cards — white text on white cards, invisible on Groups
   and Purpose and Home. This de-scoped override restores the Fellowship
   look everywhere (dark text on white pills); it wins by higher
   specificity + !important over the forcing rule and the pill rules.
   The .card h2 rule below stays Fellowship/Prayer-scoped: on other
   pages the aside headings are dark text on white cards, not white
   text on the blue pill. */
html body.community-unified-theme .social-rail .rail-link:not([aria-current="page"]){color:#12317e!important;background:linear-gradient(180deg,#fff,#f5f8ff)!important;border:1px solid #d5e1fa!important;}
html body.community-unified-theme .social-rail .rail-link:not([aria-current="page"]):hover{background:linear-gradient(110deg,#eef4ff,#fff1fa)!important;border-color:#ffd43b!important;}
html body.community-unified-theme:is([data-page="fellowship"],[data-page="prayer"]) .social-sidebar .card h2{color:#fff!important;background:linear-gradient(100deg,#075bff,#0031b4)!important;border:2px solid #ffd43b!important;border-radius:20px!important;padding:8px 12px!important;}

/* #794 G2 — Ministry Website link contrast (all pages, not just Fellowship).
   The rail rule above forces every rail link white (!important), but the
   Ministry Website link is NOT a .rail-link: it keeps its own cream
   gradient pill (global-social-current.css) with that forced white text —
   pale grey on light cream, barely legible. This later rule, same
   specificity (0,3,2) as the forcing rule, restores the pill's own dark
   text #6b1730. The #793 F6 override covers .rail-link only, so it never
   reached this link — that is why only this one label still failed. */
html body.community-unified-theme .social-rail .rail-ministry-link{color:#6b1730!important;background:#fff!important;}

/* Release #801 (leftover #1, rendered-page diagnosis): the Ministry
   Website pill must be WHITE on every page. The base rule in
   global-social-current.css:480 is white, but styles.css:488 kept the
   pale-cream gradient (the #800 fix never touched it) and the
   dashboard-gated white rule only paints when the JS-added
   hk-reference-dashboard class is present — which the race leaves
   absent. This rule, in the shell sheet loaded on every page, wins
   over both: white background + the maroon text, on every page. */

/* Release #801 (leftover #3, rendered-page diagnosis): the Groups
   header benefits ("✦ Fellowship ◉ Membership ♡ Prayer & care") were
   joined because the space between symbol and label is a whitespace-only
   text node between two inline spans — dropped by text extraction and
   fragile in layout. A real flex gap separates them in every rendering,
   and the items themselves get a gap too (they were appended with no
   separator at all). */
.gc-entity-benefits{display:flex!important;flex-wrap:wrap!important;gap:6px 16px!important}
.gc-entity-benefit{display:inline-flex!important;align-items:center!important;gap:6px!important}
/* Release #801 (leftover #4): the Today With God verse text — the KJV
   verse the API serves — rendered as a blockquote so it reads as
   Scripture, not as devotional prose. */
.gc-today-verse{margin:10px 0;font: italic 600 16px/1.6 Georgia,serif;color:#173a69;border-left:3px solid #ffd43b;padding-left:12px}

/* #795 H1d — the Resources page carries the shared menu in a two-column
   layout (rail + stream, no aside: it is a wide search tool, and the
   three-column grid would cap the stream at 640px and leave a 270px
   empty third column). This beats the three-column rules in styles.css
   by higher specificity + !important. */
html body.community-unified-theme[data-page="resources"] .social-layout{grid-template-columns:230px minmax(0,1fr)!important;}
