/* Account 3 compact navigation: the approved artwork is the sole logo and flag display. */
/* #796 J2/J3 (23 Nov 2026): Home used a DIFFERENT header and layout from
   every other page — this file forced a block header (brand/flagbar/menu
   hidden), a 44px square Create button that clipped the "Create" label,
   a display:none on the whole right rail, and a 2-column layout that
   stranded the aside. All four are deleted: Home now uses the SAME shared
   header (approved-community-launch-layout.css grid + premium-global-
   header.css) and the SAME 3-column layout as Fellowship, Purpose and
   Groups. The Create button falls back to the labelled inline-flex pill
   in mobile-community-navigation.css. What stays in this file: the
   hamburger button rule (pinned by #794 G1f — no display in it), the
   desktop search rule (pinned by #795 H1b), the mobile blocks, the
   banner rules, and the Home feed (composer/post) rules. */
body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button{position:static!important;place-items:center!important;flex:0 0 46px!important;width:46px!important;height:46px!important;min-height:46px!important;margin:0!important;padding:0!important;border:1px solid #ffffff55!important;border-radius:12px!important;background:#ffffff16!important;color:white!important;box-shadow:none!important}
body[data-page="home"] .gcc-reference-banner{display:block!important;margin:0!important;max-width:100%!important}
body[data-page="home"] .gcc-reference-banner::before,body[data-page="home"] .gcc-reference-banner::after{content:none!important;display:none!important}
body[data-page="home"] .gcc-reference-banner img{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
body[data-page="home"] .gcc-nations-strip,body[data-page="home"] .gcc-flagbar{display:none!important}
@media(max-width:900px){body.community-unified-theme .gcc-premium-header .gcc-toolbar{flex-wrap:nowrap!important;gap:7px!important;padding:7px 10px!important}body[data-page="home"] .social-layout{display:block!important}html body.community-unified-theme[data-page="home"] .social-rail{display:none!important}body[data-page="home"] .social-stream{width:100%!important;max-width:720px!important;margin:auto!important}html body.community-unified-theme[data-page="home"] .gcc-premium-header .gcc-search{position:absolute!important;top:calc(100% + 4px)!important;left:8px!important;right:8px!important;width:calc(100% - 16px)!important;max-width:none!important;z-index:1200!important;box-shadow:0 8px 22px #0003!important}body.community-unified-theme .gcc-premium-header .gcc-search-toggle{margin-left:auto!important}}
@media(min-width:901px){body.community-unified-theme .gcc-premium-header .gcc-search{display:flex!important}}
/* #812 (24 Nov 2026, Fix A follow-up): at 901-980px the toolbar is only the
   stream column (~600px at 980px) — the inline search starves the brand,
   which collapses to a vertical letter stack (rendered at 980px, 24 Nov).
   The search sits below the bar here exactly as it does at <=900px, shut
   by default and opened by the magnifier (already visible; its click
   toggles .gcc-search-open at any width), and the toolbar compacts so
   brand + hamburger + magnifier + Create + bell + chats fit in one row.
   Rendered 24 Nov: even with the search below, the row needs 600px but
   the toolbar is only 539px at 901px (chats button ends at x=947, 46px
   past the viewport) — so Create is icon-only here (46px, as at <=760px;
   its aria-label/title stay, the menu is unchanged) and the gap/padding
   tighten to 4px/8px. Row then needs ~527px: 12px spare at 901px, more
   above. Home only, matching the <=900px rule's scope. */
@media(min-width:901px) and (max-width:980px){
 html body.community-unified-theme[data-page="home"] .gcc-premium-header .gcc-toolbar{flex-wrap:nowrap!important;gap:4px!important;padding:7px 8px!important}
 html body.community-unified-theme[data-page="home"] .gcc-premium-header .gcc-search{display:none!important;position:absolute!important;top:calc(100% + 4px)!important;left:8px!important;right:8px!important;width:calc(100% - 16px)!important;max-width:none!important;z-index:1200!important;box-shadow:0 8px 22px #0003!important}
 html body.community-unified-theme[data-page="home"] .gcc-premium-header.gcc-search-open .gcc-search{display:flex!important}
 html body.community-unified-theme[data-page="home"] .gcc-premium-header .gcc-toolbar .gcc-create-button{width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;min-height:46px!important;padding:8px!important}
 html body.community-unified-theme[data-page="home"] .gcc-premium-header .gcc-toolbar .gcc-create-text{display:none!important}
}
@media(max-width:380px){body.community-unified-theme .gcc-premium-header .gcc-mobile-menu-button,body.community-unified-theme .gcc-premium-header .gcc-create-button,body.community-unified-theme .gcc-premium-header .gcc-header-notifications,body.community-unified-theme .gcc-premium-header .gcc-search-toggle{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;flex-basis:40px!important}}

/* Match the approved social-feed sample using real community controls and names. */
body.community-unified-theme .gcc-premium-header .gcc-header-messages{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;border-radius:50%!important;color:white!important;background:#ffffff1a!important;text-decoration:none!important}
body[data-page="home"] .composer-card{max-width:100%!important;background:#fff!important;border:1px solid #d8e2f7!important;border-radius:18px!important;padding:16px!important;box-shadow:0 3px 12px #102f7b15!important}
body[data-page="home"] .composer-top{display:flex!important;align-items:center!important;gap:12px!important}
body[data-page="home"] .composer-prompt{flex:1!important;text-align:left!important;border-radius:28px!important;background:#f0f4fc!important;color:#394967!important;padding:14px 18px!important;border:1px solid #d5e0f5!important}
body[data-page="home"] .composer-shortcuts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:14px!important;padding-top:12px!important;border-top:1px solid #e3e9f5!important}
body[data-page="home"] .composer-shortcut{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important;padding:8px 6px!important;background:#f7f9fd!important;color:#18315e!important;border:1px solid #d5e0f5!important;border-radius:10px!important;font-weight:750!important;white-space:normal!important}
body[data-page="home"] .composer-shortcut img.shortcut-icon{width:30px!important;height:22px!important;object-fit:cover!important;border-radius:6px!important;flex:0 0 auto!important}
body[data-page="home"] .post{background:white!important;border:1px solid #dce4f4!important;border-radius:17px!important;margin-block:14px!important;padding:14px!important;box-shadow:0 2px 9px #1b397010!important}
@media(max-width:760px){body.community-unified-theme .gcc-premium-header .gcc-header-messages{flex-basis:42px!important;width:42px!important;height:42px!important}body[data-page="home"] .composer-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-page="home"] .composer-card{padding:12px!important}body[data-page="home"] .composer-shortcut{font-size: 16px !important}}
@media(max-width:380px){body.community-unified-theme .gcc-premium-header .gcc-header-messages{flex-basis:36px!important;width:36px!important;height:40px!important}body.community-unified-theme .gcc-premium-header .gcc-toolbar{gap:4px!important}}

/* #797 K3 (23 Nov 2026): Home right-rail headings. The blue-pill .card h2s
   are the ONLY aside headings with display:flex + a ::after "•" bullet —
   "Purpose & Destiny" (a plain h2, no flex, no bullet) renders fully while
   the four .card h2s render blank or with text displaced ~20px down, so the
   flex/bullet pair is the prime suspect: restore block layout and drop the
   bullet. The pill look (blue gradient, gold border, padding) is set by
   approved-production-theme.css and is untouched. The #796 full-width
   Bible card (.gc-bible-title, not an h2) is untouched. */
/* #797 K3a: pill headings back to block layout, no bullet. */
body[data-page="home"] .social-sidebar .card h2{display:block!important}
body[data-page="home"] .social-sidebar .card h2::after{display:none!important}
/* #797 K3b (defensive): the Community search, Living Word and People online
   panels render as ~2px lines though their input exists in the DOM — no
   collapsing rule was found in the snapshot CSS or in the live files, so
   this block asserts the intended box at the highest cascade position on
   Home (this file loads last). If the collapse is a missed CSS rule it is
   overridden here; if the children are empty at runtime the card still
   renders its heading/form. Browser measurement is still required to pin
   the true cause — see FIX-797-COMPLETION-REPORT-2026-11-23.md. */
body[data-page="home"] .social-sidebar .gc-friends-search-widget,body[data-page="home"] .social-sidebar .gcc-panel{display:block!important;min-width:0!important}
body[data-page="home"] .social-sidebar .gc-friends-search-widget>h2,body[data-page="home"] .social-sidebar .gcc-panel>h2{display:block!important;min-height:38px!important}
body[data-page="home"] .social-sidebar .gc-friends-search-widget>form{display:flex!important}
body[data-page="home"] .social-sidebar .gc-friends-search-widget input{min-height:40px!important}
body[data-page="home"] .social-sidebar .gcc-panel .gcc-panel-content{display:block!important;min-height:40px!important}
/* #797 K3c (minor): "Times shown in your local time" was light grey on
   pale blue — readable dark grey unless the gc-composed-dashboard rule
   already whitens it on the red rail background. */
body[data-page="home"] .social-sidebar .gc-local-timezone{color:#526881!important}
/* #798 K3: Home right rail — the aside is a column flex container capped at
   calc(100dvh - 102px) (global-social-current.css:1446); its content is far
   taller, so flex-shrink:1 crushes every overflow:hidden panel to ~0 and the
   #797 child min-heights cannot stop it (they target the wrong box — the
   children, not the flex items). Purpose & Destiny is the only panel with
   overflow:visible, so it cannot shrink and renders fully. Stop the shrink
   on the panels themselves; the rail then scrolls at natural height, as its
   overflow-y:auto design intends. Do NOT remove the cap (the aside would
   grow ~2,800px and destroy the sticky bounded rail) and do NOT re-apply
   the #797 h2 fix — the h2s were never the cause. */
body[data-page="home"] .social-sidebar>*{flex-shrink:0!important}
/* Release #800 (R5a): single-column feed on phone widths. The new
   layout HAS BOTH SIDES — the menu rail and the info rail stack BELOW
   the feed (present and reachable by scrolling), never squeezed
   alongside it. This block is authoritative: this file loads last on
   Home, after the ≤900px block above that hides both rails. */
/* Release #811 (24 Nov 2026, owner direct order — decisions 111/115):
   the #800 stack-below design is REVERSED. The owner's phone screenshot
   (24 Nov ~16:26 WAT) shows the re-shown rails rendering as a tall
   sidebar with items cut mid-word, starving the composer column — the
   hide at ≤900px above is now the single source of truth (raised to
   (0,3,2) so it beats the (0,3,1) dashboard show-rule outright, in
   both dashboard-class states), and the rail/sidebar re-show lines
   below are DELETED. The stream and overflow guards in this block
   stay: they are what keep the post cards and the action row inside
   a phone width. */
@media(max-width:760px){
 body[data-page="home"] .social-layout{display:flex!important;flex-direction:column!important}
 body[data-page="home"] .social-stream{order:1!important;width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important}
 body[data-page="home"] .social-stream>*,body[data-page="home"] .post-card,body[data-page="home"] .gc-post-wrap{min-width:0!important;max-width:100%!important}
 body[data-page="home"] .social-stream img,body[data-page="home"] .social-stream video{max-width:100%!important;height:auto!important}
}

/* #811 bend (24 Nov 2026, owner orders 18:22 + 18:33 WAT): the layout must
   bend like Facebook's at EVERY width from 360px to 980px — the rail must
   not squeeze the feed or the Bible panel at 980px either (Desktop-site
   width), and the Bible panel must read in full lines on the phone. The
   width sweep proved the gap: at 768px the stream was 245px and at 980px
   304px with the Bible panel 146px wide, because the (0,5,2) reference
   columns rule and the (0,3,1)!important dashboard grid rules beat this
   file's (0,2,1) display:block. This block raises the single-column rule
   to (0,3,2) so it beats every competing grid rule at <=980px and hides
   the rail to 980px. (The #811 bend also RESTORED the #800 stack-below
   shape for the SIDEBAR ONLY — that half is REVERSED by #812b, see below.) One more trap, found by a proper brace-matching scan after the
   first 980px render still showed a 3-column grid: approved-community-
   launch-layout.css has a (min-width:901px) rule at (0,4,1) —
   body.community-unified-theme[data-page="home"].gc-facebook-sidebars
   .social-layout{display:grid!important} — which beats (0,3,2), so the
   layout rule is ALSO written at (0,4,2) with .gc-facebook-sidebars;
   the (0,3,2) line stays as the fallback if that class is ever dropped.
   The sidebar stacked BELOW the feed, full width, present and reachable
   by scrolling — REVERSED by #812b (owner order 24 Nov ~23:25 WAT, his
   phone screenshots): scrolling the feed must NEVER reach the sidebar
   panels (Bible, dictionary, groups, purpose, search, Living Word,
   people online, Discover believers, welcome).
   Facebook is infinite scrolling, so at <=980px the aside is now hidden
   outright (display:none, (0,4,2) so it beats the (0,3,1)!important
   dashboard show-rules). The panels are NOT deleted: on desktop
   (>980px) they stay in the right-sidebar column beside the feed, and
   each one stays reachable from the nav — Bible + dictionary word search
   on Resources, Groups via Groups, Purpose & Destiny via Purpose,
   Members/community search via Members. The rail stays hidden (the drawer takes over
   navigation); the <=760px block above is untouched. */
@media(max-width:980px){
 html body.community-unified-theme[data-page="home"] .social-layout{display:block!important}
 html body.community-unified-theme[data-page="home"].gc-facebook-sidebars .social-layout{display:block!important}
 html body.community-unified-theme[data-page="home"] .social-rail{display:none!important}
 /* #812b (owner order 24 Nov ~23:25 WAT): the home aside is HIDDEN at
    <=980px — it must never appear in or under the feed flow on mobile.
    (0,3,2) + (0,4,2) beat the (0,3,1)!important dashboard show-rules;
    this file loads last on Home. Above 980px the aside is untouched
    and stays in the right-sidebar column beside the feed. */
 html body.community-unified-theme[data-page="home"] .social-sidebar{display:none!important}
 html body.community-unified-theme[data-page="home"].gc-composed-dashboard .social-sidebar{display:none!important}
 body[data-page="home"] .social-stream{width:100%!important;max-width:720px!important;margin:auto!important}
 /* #812b: the resource-widgets re-show below is DELETED with the
    stack-below rule — the whole aside is hidden at <=980px, so no child
    may re-show itself into the feed flow. The #811 reasoning (the
    global-social-current.css <=760px :not(#discover) hide) is kept here
    for the record: it hid every home sidebar child except #discover,
    which is why the Bible + dictionary container
    (.gc-sidebar-resource-widgets, built by global-social-sidebar.js)
    rendered 0x0 on the phone even after the sidebar was unhidden. */
}
