/**
 * RC Blog hub: the Blog Posts page, the post archives, and the single post's small text
 *
 * File: css/rc-blog-hub.css
 * Version: 1.1
 * Date: December 1, 2026
 * Generated by Claude, session RC-SITE-NEWS-S1 (release 2; 1.1 release 3)
 *
 * v1.1: RC-SITE-NEWS-S1 release 3, owner request 2026-12-01: section 10 (NEW): while js/rc-hub-nav.js loads a topic in place, the hub main carries
 *       aria-busy and the content under the bar dims after 0.3 s (at once after the pause, without the fade, under reduced motion; a11y round 1
 *       should-fix 1 and 2). Nothing else changed.
 * v1.0: NEW. Module rc-blog-hub (parts/blog-hub.php v1.0.0; the module loader in rc-starter.php v3.33). On a post listing (the posts page and the
 *       category, tag, date and author archives) it loads AFTER rc-home and every rule is scoped under .rc-bh. On a single post it loads after rc-blog
 *       and rc-sidebar, and section 9 restyles the post's labels, tags, author card, post links and its sidebar's small text, every rule scoped under
 *       body.single-post. Round 2 (2026-12-01) folds the a11y audit round 1: a cream focus ring on the dark sidebar cards (the global canopy ring
 *       measured 1.65:1 on forest), hover feedback on their two links, forced-colours marks for the current tag and year and an edge on the tag pills,
 *       3:1 underlines on the standalone links, the year cards at the 10px radius, one definition of the font and pill tokens for section 9, and the
 *       Tags label's margin that left an inline style in parts/unified-shortcodes.php (.rc-sb-label--spaced); a11y round 2, NIT 7: a tag label that wraps
 *       (the forms' labels run to 47 characters) is centred in its pill.
 *
 * WHAT IT BORROWS FROM css/rc-home.css, UNCHANGED (lesson 375): the news cards (.rch-ncard, --lead, --feature, __img, __ph, __body, __title, __ex), the
 *   stretched title link and its :has() ring (.rch-news__link), the chips (.rch-chip, --cm), the meta line (.rch-nmeta, __place, __sep), the features grid
 *   (.rch-nfeatures), the link (.rch-link), the pill buttons (.rch-btn, --ghost-dk), the share row (.rch-give__shop*), --rch-ff-ui and --rch-radius-pill.
 * TWINS: the bar's pills and the section labels repeat css/rc-events-hub.css v1.0 (.rc-evh__pill, .rc-evh__label) value for value, because each page loads
 *   only its own hub; and section 9 sets --rch-ff-ui and --rch-radius-pill on body.single-post with rc-home.css's :root values, because rc-home is not
 *   loaded on a single post. Moving both into shared files (a pill partial; the two properties into rc-core, finding F47) is in the RC-SITE-NEWS-S2
 *   handoff. Change the twins together until then.
 *
 * TOKENS AND CONTRAST (sRGB; the release's a11y audit re-derived every number): deep forest on white 15.15, on stone 12.97, on warm-white 14.48, on fog
 *   12.74; cream on deep forest 13.68 (current pill, current page number), cream on forest 9.53; --rc-on-pale-meta on white 6.72, on warm-white 6.42, on
 *   stone 5.75; canopy on white 6.39, on warm-white 6.11, on stone 5.47; lichen on forest 7.51; moss on forest 5.18; white at 0.82 on forest 7.70; pill,
 *   step and year border forest at 0.66 over the element's own white fill (#688677) 3.99 against white, 3.41 against the stone band (1.4.11). Focus rings:
 *   canopy 5.47 on stone, 6.39 on white; cream on the forest cards 9.53. Single post (section 9): canopy on fog 5.38 (author card label and link), on cream
 *   5.77 (post link labels), on warm-white 6.11 (tag label); --rc-on-pale-meta on warm-white 6.42 (share labels, were black at 0.2, 1.60:1); deep forest on
 *   fog 12.74 (tag pills); cream on forest 9.53 and white at 0.82 on forest 7.70 (the dark cards' labels and text, which were gold on forest, 3.75:1, at
 *   9px). Underlines: forest at 0.6 over fog 3.22 (author link), lichen at 0.6 over forest 3.80 (the dark cards' links).
 * #23: the #fff surfaces, the 14px and 10px radii and the display clamps, as in rc-events-hub.css; the 0.66 border has no token yet (the a11y audit
 *   proposes --rc-ui-border-light-strong; the existing --rc-ui-border-light measures 1.60 and cannot serve).
 */

/* 1. The band */
.rc-bh { background:var(--rc-surface-stone); padding:40px 6% 72px; overflow-wrap:anywhere; }
.rc-bh__inner { max-width:1100px; margin:0 auto; }
.rc-bh a:not(.rch-news__link):focus-visible { outline:2px solid var(--rc-canopy); outline-offset:3px; }

/* 2. The bar: topic pills (the twin of .rc-evh__pill) */
.rc-bh__bar { margin:0 0 36px; }
.rc-bh__pills { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.rc-bh__pills li { margin:0; }
.rc-bh .rc-bh__pill { display:inline-flex; align-items:center; min-height:40px; padding:8px 16px; box-sizing:border-box; background:#fff; border:1.5px solid rgba(var(--rc-forest-rgb),0.66); border-radius:var(--rch-radius-pill); font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:600; line-height:1.2; color:var(--rc-deep-forest); text-decoration:none; transition:background-color .2s, border-color .2s, color .2s; }
.rc-bh .rc-bh__pill:hover { border-color:var(--rc-deep-forest); color:var(--rc-deep-forest); }
.rc-bh .rc-bh__pill[aria-current="page"] { background:var(--rc-deep-forest); border-color:var(--rc-deep-forest); color:var(--rc-cream); }

/* 3. Section labels (the twin of .rc-evh__label) */
.rc-bh .rc-bh__label { display:flex; align-items:center; gap:14px; margin:0 0 14px; font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:700; font-style:normal; line-height:1.3; letter-spacing:.02em; color:var(--rc-canopy); }
.rc-bh__label::after { content:''; flex:1; height:1px; background:rgba(var(--rc-forest-rgb),0.14); }
.rc-bh__top { margin:0 0 48px; }

/* 4. The lead story: the front page's lead card, laid across on wide screens */
.rc-bh .rc-bh__lead .rch-ncard__title { font-size:clamp(1.75rem,1.2rem + 1.8vw,2.5rem); line-height:1.08; }
@media (min-width:901px) {
    .rc-bh .rc-bh__lead { flex-direction:row; }
    .rc-bh .rc-bh__lead .rch-ncard__img { flex:0 0 56%; aspect-ratio:auto; min-height:360px; }
    .rc-bh .rc-bh__lead .rch-ncard__body { justify-content:center; padding:36px 40px 38px; }
}
.rc-bh__features { margin-top:24px; }

/* 5. The grid: three across, two on a tablet, one on a phone. The title is the front page's card title one step smaller. */
.rc-bh__grid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.rc-bh__grid > li { display:flex; margin:0; }
.rc-bh .rc-bh__card { width:100%; }
.rc-bh .rc-bh__card .rch-ncard__img { aspect-ratio:16/10; }
.rc-bh .rc-bh__card .rch-ncard__title { font-size:var(--fs-1000); line-height:1.15; }
.rc-bh .rc-bh__card .rch-ncard__ex { font-size:var(--fs-500); }

/* 6. Pagination: Newer and Older as pill buttons, the numbers as round buttons, the current one filled */
.rc-bh__pager { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin:44px 0 0; }
.rc-bh .rc-bh__step { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:0 20px; border:2px solid rgba(var(--rc-forest-rgb),0.66); border-radius:var(--rch-radius-pill); background:#fff; font-family:var(--rch-ff-ui); font-size:var(--fs-600); font-weight:600; color:var(--rc-deep-forest); text-decoration:none; }
.rc-bh a.rc-bh__step:hover { border-color:var(--rc-deep-forest); }
.rc-bh .rc-bh__step--off { visibility:hidden; }
.rc-bh__nums { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.rc-bh__nums li { margin:0; }
.rc-bh .rc-bh__num { display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:44px; padding:0 8px; box-sizing:border-box; border-radius:var(--rch-radius-pill); font-family:var(--rch-ff-ui); font-size:var(--fs-600); font-weight:600; color:var(--rc-deep-forest); text-decoration:none; }
.rc-bh a.rc-bh__num:hover { background:rgba(var(--rc-forest-rgb),0.08); }
.rc-bh .rc-bh__num[aria-current="page"] { background:var(--rc-deep-forest); color:var(--rc-cream); }
.rc-bh__gap { font-family:var(--rch-ff-ui); font-size:var(--fs-600); color:var(--rc-on-pale-meta); padding:0 4px; }

/* 7. Browse the archive: white panels, Topics and Years side by side, Tags across the full width below. The years and the tags are readable links, not
   9px labels. */
.rc-bh__browse { margin-top:64px; }
.rc-bh .rc-bh__browse-title { display:flex; align-items:center; gap:16px; margin:0 0 18px; font-family:var(--ff-display); font-size:clamp(var(--fs-1000),1.2rem + 1vw,2rem); font-style:italic; font-weight:700; line-height:1.15; color:var(--rc-deep-forest); }
.rc-bh__browse-title::after { content:''; flex:1; height:1px; background:rgba(var(--rc-forest-rgb),0.16); }
.rc-bh__browse-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.rc-bh__panel--tags { grid-column:1 / -1; }
.rc-bh__panel { padding:22px 22px 20px; background:#fff; border:1px solid rgba(var(--rc-forest-rgb),0.14); border-radius:14px; min-width:0; }
.rc-bh .rc-bh__panel-head { margin:0 0 12px; font-family:var(--rch-ff-ui); font-size:var(--fs-700); font-weight:700; font-style:normal; line-height:1.3; color:var(--rc-deep-forest); }
.rc-bh__topics { list-style:none; margin:0; padding:0; }
.rc-bh__topics li { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin:0; padding:9px 0; border-bottom:1px solid rgba(var(--rc-forest-rgb),0.1); }
.rc-bh__topics li:last-child { border-bottom:0; }
.rc-bh .rc-bh__topics a { font-family:var(--rch-ff-ui); font-size:var(--fs-600); font-weight:600; color:var(--rc-deep-forest); text-decoration:none; }
.rc-bh .rc-bh__topics a:hover, .rc-bh .rc-bh__topics a[aria-current="page"] { text-decoration:underline; text-underline-offset:3px; }
.rc-bh__count { font-family:var(--rch-ff-ui); font-size:var(--fs-500); color:var(--rc-on-pale-meta); }
.rc-bh__tags, .rc-bh__years { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.rc-bh__tags li, .rc-bh__years li { margin:0; }
.rc-bh .rc-bh__tag { display:inline-flex; align-items:center; min-height:32px; padding:5px 13px; box-sizing:border-box; border-radius:var(--rch-radius-pill); background:var(--rc-fog); font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:600; line-height:1.25; text-align:center; color:var(--rc-deep-forest); text-decoration:none; }
.rc-bh .rc-bh__tag:hover, .rc-bh .rc-bh__tag[aria-current="page"] { background:var(--rc-forest); color:var(--rc-cream); }
.rc-bh .rc-bh__years { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.rc-bh .rc-bh__years li { display:flex; }
.rc-bh .rc-bh__year { display:flex; flex-direction:column; justify-content:center; width:100%; min-height:72px; padding:12px 16px; box-sizing:border-box; border:1.5px solid rgba(var(--rc-forest-rgb),0.66); border-radius:10px; background:#fff; text-decoration:none; }
.rc-bh .rc-bh__year:hover, .rc-bh .rc-bh__year[aria-current="page"] { border-color:var(--rc-deep-forest); background:rgba(var(--rc-forest-rgb),0.05); }
.rc-bh__year-num { font-family:var(--rch-ff-ui); font-size:var(--fs-1000); font-weight:700; line-height:1.15; color:var(--rc-deep-forest); }
.rc-bh__year-count { font-family:var(--rch-ff-ui); font-size:var(--fs-500); line-height:1.3; color:var(--rc-on-pale-meta); }

/* 8. The share row and the empty state */
.rc-bh .rc-bh__share { margin-top:24px; background:#fff; }
.rc-bh .rc-bh__share .rch-give__shop-title { font-style:normal; }
.rc-bh .rc-bh__share .rch-give__shop-text { font-weight:400; }
.rc-bh__empty { padding:28px; background:#fff; border:1px solid rgba(var(--rc-forest-rgb),0.14); border-radius:14px; }
.rc-bh .rc-bh__empty p { margin:0 0 10px; font-family:var(--ff-body); font-size:var(--fs-700); font-weight:400; color:var(--rc-text); }
.rc-bh .rc-bh__empty p:last-child { margin-bottom:0; }

/* Narrow screens */
@media (max-width:900px) {
    .rc-bh__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .rc-bh__browse-grid { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:768px) {
    .rc-bh { padding:28px 16px 56px; }
}
@media (max-width:600px) {
    .rc-bh__grid { grid-template-columns:minmax(0,1fr); }
    .rc-bh__pager { justify-content:center; }
    .rc-bh .rc-bh__step--off { display:none; }
}

/* 9. The single post: its labels, tags, author card, post links and its sidebar's small text (8 to 11px monospace capitals until now) in the front page's
   faces and sizes, and the post's text at weight 400 (the theme's body is 300). rc-home is not loaded here, so its two properties are set on the body
   (the twin of rc-home.css :root, see the header). Every rule is scoped under body.single-post and out-ranks its rule in css/rc-blog.css or
   css/rc-sidebar.css. Surfaces: the post on warm-white, the author card on fog, the post links on cream, the sidebar's dark cards on forest. */
body.single-post { --rch-ff-ui:'Segoe UI',Roboto,-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif; --rch-radius-pill:999px; }
body.single-post .rc-post-content-area .entry-content { font-weight:400; }
body.single-post .rc-share-float .rc-share-float-label { font-family:var(--rch-ff-ui); font-size:var(--fs-300); font-weight:700; letter-spacing:.04em; text-transform:none; color:var(--rc-on-pale-meta); }
body.single-post .rc-share-bar-inline .rc-share-bar-inline-label { font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:700; letter-spacing:.01em; text-transform:none; color:var(--rc-on-pale-meta); }
body.single-post .rc-author-card { border-radius:14px; }
body.single-post .rc-author-card .rc-author-card-label { font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:700; letter-spacing:.01em; text-transform:none; color:var(--rc-canopy); }
body.single-post .rc-author-card .rc-author-card-bio { font-weight:400; }
body.single-post .rc-author-card .rc-author-card-link { font-family:var(--rch-ff-ui); font-size:var(--fs-600); font-weight:600; letter-spacing:normal; text-transform:none; color:var(--rc-canopy); border-bottom:1.5px solid rgba(var(--rc-forest-rgb),0.6); }
body.single-post .rc-author-card .rc-author-card-link:hover { border-bottom-color:var(--rc-canopy); }
body.single-post .rc-post-nav { gap:12px; }
body.single-post .rc-post-nav a { border-radius:14px; }
body.single-post .rc-post-nav .rc-nav-label { font-family:var(--rch-ff-ui); font-size:var(--fs-400); font-weight:700; letter-spacing:.01em; text-transform:none; color:var(--rc-canopy); }
body.single-post .rc-post-tags .rc-post-tags-label { font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:700; letter-spacing:.01em; text-transform:none; color:var(--rc-canopy); margin-bottom:12px; }
body.single-post .rc-post-tags .rc-post-tags-list { gap:8px; }
body.single-post .rc-post-tags .rc-post-tags-list a { display:inline-flex; align-items:center; min-height:32px; padding:5px 13px; box-sizing:border-box; border-radius:var(--rch-radius-pill); background:var(--rc-fog); font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:600; letter-spacing:normal; text-transform:none; line-height:1.25; text-align:center; color:var(--rc-deep-forest); }
body.single-post .rc-post-tags .rc-post-tags-list a:hover { background:var(--rc-forest); color:var(--rc-cream); }
body.single-post .rc-sidebar-stack .rc-sb-cream { background:var(--rc-warm-white); border:1px solid rgba(var(--rc-forest-rgb),0.18); border-radius:14px; }
body.single-post .rc-sidebar-stack .rc-sb-dark { border-radius:14px; }
body.single-post .rc-sidebar-stack .rc-sb-label { font-family:var(--rch-ff-ui); font-size:var(--fs-600); font-weight:700; letter-spacing:.01em; text-transform:none; margin-bottom:12px; }
body.single-post .rc-sidebar-stack .rc-sb-label--spaced { margin-top:20px; }
body.single-post .rc-sidebar-stack .rc-sb-cream .rc-sb-label { color:var(--rc-deep-forest); }
body.single-post .rc-sidebar-stack .rc-sb-dark .rc-sb-label { color:var(--rc-cream); }
body.single-post .rc-sidebar-stack .rc-sb-recent-title { font-family:var(--rch-ff-ui); font-size:var(--fs-600); font-weight:600; color:var(--rc-deep-forest); }
body.single-post .rc-sidebar-stack .rc-sb-recent-date { font-family:var(--rch-ff-ui); font-size:var(--fs-400); letter-spacing:normal; color:var(--rc-on-pale-meta); }
body.single-post .rc-sidebar-stack .rc-sb-cat-list a { font-family:var(--rch-ff-ui); font-size:var(--fs-600); font-weight:600; color:var(--rc-deep-forest); }
body.single-post .rc-sidebar-stack .rc-sb-cat-list a:hover { text-decoration:underline; text-underline-offset:3px; }
body.single-post .rc-sidebar-stack .rc-sb-cat-count { font-family:var(--rch-ff-ui); font-size:var(--fs-500); color:var(--rc-on-pale-meta); }
body.single-post .rc-sidebar-stack .rc-sb-tag-cloud { gap:8px; }
body.single-post .rc-sidebar-stack .rc-sb-tag-cloud a { display:inline-flex; align-items:center; min-height:30px; padding:4px 12px; box-sizing:border-box; border-radius:var(--rch-radius-pill); background:var(--rc-fog); font-family:var(--rch-ff-ui); font-size:var(--fs-400); font-weight:600; letter-spacing:normal; text-transform:none; line-height:1.25; text-align:center; color:var(--rc-deep-forest); }
body.single-post .rc-sidebar-stack .rc-sb-tag-cloud a:hover { background:var(--rc-forest); color:var(--rc-cream); }
body.single-post .rc-sidebar-stack .rc-sb-about-text { font-size:var(--fs-600); font-weight:400; color:var(--rc-on-dark-primary); }
body.single-post .rc-sidebar-stack .rc-sb-about-link, body.single-post .rc-sidebar-stack .rc-sb-events-more { font-family:var(--rch-ff-ui); font-size:var(--fs-500); font-weight:600; letter-spacing:normal; text-transform:none; color:var(--rc-on-dark-link); border-bottom-color:rgba(var(--rc-lichen-rgb),0.6); }
body.single-post .rc-sidebar-stack .rc-sb-about-link:hover, body.single-post .rc-sidebar-stack .rc-sb-events-more:hover { border-bottom-color:var(--rc-lichen); }
body.single-post .rc-sidebar-stack .rc-sb-dark a:focus-visible { outline-color:var(--rc-cream); }
body.single-post .rc-sidebar-stack .rc-sb-event-date { font-family:var(--rch-ff-ui); min-width:40px; }
body.single-post .rc-sidebar-stack .rc-sb-event-month { font-size:var(--fs-300); font-weight:700; letter-spacing:.02em; text-transform:none; color:var(--rc-moss); }
body.single-post .rc-sidebar-stack .rc-sb-event-day { font-size:var(--fs-800); font-weight:700; color:var(--rc-cream); }
body.single-post .rc-sidebar-stack .rc-sb-event-title { font-family:var(--rch-ff-ui); font-size:var(--fs-500); color:var(--rc-on-dark-primary); }

@media (forced-colors:active) {
    .rc-bh .rc-bh__pill[aria-current="page"], .rc-bh .rc-bh__num[aria-current="page"], .rc-bh .rc-bh__tag[aria-current="page"], .rc-bh .rc-bh__year[aria-current="page"] { outline:2px solid CanvasText; outline-offset:-4px; }
    .rc-bh .rc-bh__pill[aria-current="page"], .rc-bh .rc-bh__num[aria-current="page"], .rc-bh .rc-bh__tag[aria-current="page"], .rc-bh .rc-bh__year[aria-current="page"] .rc-bh__year-num { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
    .rc-bh .rc-bh__tag, body.single-post .rc-post-tags .rc-post-tags-list a, body.single-post .rc-sidebar-stack .rc-sb-tag-cloud a { border:1px solid transparent; }
}
@media (prefers-reduced-motion:reduce) {
    .rc-bh .rc-bh__pill { transition:none; }
}

/* 10. Loading in place (v1.1): while js/rc-hub-nav.js fetches a topic's page, the hub main carries aria-busy and the content under the bar dims, only
   after 0.3 s, so a quick load never flickers (the script gives up after 10 s and loads the page normally). Under reduced motion the dim comes at once
   after the same pause, without the fade; that rule is the last for the selector, because a media query adds no specificity. */
#rc-bh-main[aria-busy="true"] .rc-bh__inner > :not(.rc-bh__bar) { opacity:.55; transition:opacity .15s .3s; }
@media (prefers-reduced-motion:reduce) {
    #rc-bh-main[aria-busy="true"] .rc-bh__inner > :not(.rc-bh__bar) { transition-duration:0s; }
}
