/* ═══════════════════════════════════════════════════════════════
   public.css — Blog + guides styling (columbusmbeconstruction.com)

   ROLE: Themes the CMS pages the CI4 conversion added (blog index,
         blog post, guides hub/show/sources) in the site's own design
         language — bright page, navy authority accent, teal as a
         secondary cue, Inter, purpose-named classes. Keeps the funnel
         template's class CONTRACT (the view markup is shared
         plumbing) but every rule here is authored against the MBE
         palette in assets/css/site.css, which the layout loads
         first and which owns the base tokens.
   Loaded by: app/Views/public/blog.php, blog_post.php,
              guides/index.php, guides/show.php, guides/sources.php
              (per-view "styles" section — after site.css)
   2026-08-10 design round: .page-hero-blog/-guides photo hero bands
        added and .article-panel added to flip single-article reading
        areas (guide body/sources/related, blog post body) to a light
        panel for long-form legibility against an otherwise-navy site.
   2026-08-10 later: Glossary page removed (owner call — glossary_
        terms table is empty). Every glossary-only rule in this
        file was removed. .glossary-term (the tooltip-span style near
        .article-panel) STAYS — GlossaryLinker.php still auto-wraps
        terms in blog post bodies and no-ops safely while
        glossary_terms is empty.
   2026-09-27 BRIGHT-THEME INVERSION (see site.css file header for the
        full token re-tune — --navy-mid/--navy-lt repointed from dark
        card fills to pale light-theme surfaces, --ink/--muted
        repointed to dark-on-light text, --ink-on-light/-muted-on-
        light/-border-on-light retired as redundant once every band
        is light). Effects in this file:
          - Every component that used to need light only inside
            .article-panel (guide/post body links, headings, tags,
            sources list, back-link) is now fixed at its BASE rule
            instead, since blog/guides hub pages are light now too —
            not just the reading panel. The .article-panel override
            block that duplicated those fixes is deleted (kept only
            what .article-panel still does uniquely: its own
            background + the blockquote/code/pre treatment, which
            have no non-panel equivalent to be redundant with).
          - Card/band fills (.blog-card, .sidebar-card, .guide-list-
            item, .guide-toolbar, .guide-section-nav, .form-input,
            .dark-band, .guide-hero) ride the --navy-lt/--navy-mid
            repoint from site.css and needed no edits here.
          - Headings and eyebrow-style labels (.guide-hero-title,
            .guide-hero-eyebrow, .guide-cat-heading, .guide-card-cat,
            #guide-body h2/h3, .guide-sources h2 a, card titles) flip
            from white/teal to navy — "headings... section labels...
            eyebrow text" are the navy-accent items per the bright-
            theme brief.
          - Real TEXT that was raw --teal (2.9:1 on white — fails)
            moves to --teal-on-light (>=4.5:1): post-category,
            #post-body/#guide-body inline links, tag-pill, sidebar
            active-link state, guide-toolbar labels/icons, the guide-
            section-nav "current" link. Non-text teal (hover borders,
            the reading-progress fill, the pagination active chip
            where the paired text is already navy) is left alone —
            it's decorative, not a contrast-bound text color.
   Last Modified: 2026-09-27
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero band (blog header) ─── */

.dark-band {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
    padding: 56px 24px 48px;
    text-align: center;
}
#blog-hero-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 600;
    margin-bottom: 8px;
}
#blog-hero-sub { color: var(--muted); font-size: 15px; margin: 0; }

/* ─── Content area ─── */

.content-light { padding: 56px 24px; }
.blog-empty { color: var(--muted); font-size: 15px; }

/* ─── Post cards ─── */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.blog-card {
    display: block;
    background: var(--navy-lt);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}
.blog-card:hover {
    border-color: var(--teal);
    transform: translateY(-2px);
    text-decoration: none;
}
.blog-card-img img { width: 100%; height: 160px; object-fit: cover; display: block; }
.blog-card-body { padding: 18px; }
.blog-card-title { color: var(--navy); font-size: 1.05rem; margin-bottom: 8px; }
.blog-card-excerpt { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.blog-card-meta {
    display: flex;
    gap: 12px;
    color: var(--muted-deep);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Bootstrap pager emitted by $pager->links() */
#blog-pagination { margin-top: 28px; }
#blog-pagination .pagination { justify-content: center; }
#blog-pagination .page-link {
    background: var(--navy-lt);
    border-color: var(--border);
    color: var(--ink);
}
/* Active page chip — solid teal fill with navy text already clears
   8.38:1, so it needed no change for the bright-theme inversion. */
#blog-pagination .active > .page-link {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--navy);
}

/* ─── Sidebar ─── */

#blog-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
    background: var(--navy-lt);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
}
.sidebar-title {
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}
.form-input {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--ink);
    padding: 8px 12px;
    font-size: 14px;
    min-width: 0;
}
.form-input:focus { outline: none; border-color: var(--teal); }
.sidebar-list { list-style: none; margin: 0; padding: 0; }
.sidebar-list li { margin-bottom: 8px; }
.sidebar-list a { color: var(--muted); font-size: 14px; }
.sidebar-list a:hover,
.sidebar-list a.active { color: var(--teal-on-light); }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
/* Tag chip — teal-on-light text/border so it clears 4.5:1 as real
   text on the now-light card (2026-09-27, was raw --teal at 2.9:1). */
.tag-pill {
    display: inline-block;
    background: var(--teal-lt);
    border: 1px solid var(--teal-on-light);
    border-radius: 999px;
    color: var(--teal-on-light);
    font-size: 12px;
    padding: 3px 12px;
}
.tag-pill:hover { background: var(--teal); color: var(--navy); text-decoration: none; }
.sidebar-cta-text { color: var(--muted); font-size: 13.5px; }

/* CTA buttons (blog sidebar) — navy background/white text, mirrors
   .header-cta (2026-09-27, was teal — see site.css primary-button
   note). */
.btn-cta {
    display: inline-block;
    background: var(--navy);
    border-radius: 6px;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
}
.btn-cta:hover { background: var(--navy-mid); color: var(--white); text-decoration: none; }
.btn-cta-sm { padding: 7px 16px; font-size: 13px; }

/* ─── Single post ─── */

#blog-post { padding-bottom: 56px; }
#post-hero-img img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
#post-header { padding: 48px 0 8px; }
#post-title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 12px; }
#post-meta {
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.post-meta-sep { margin: 0 8px; }
.post-category { color: var(--teal-on-light); }
#post-body { padding: 20px 0; font-size: 16px; }
#post-body h2, #post-body h3 { margin-top: 28px; }
#post-body img { max-width: 100%; height: auto; border-radius: 8px; }
#post-body a { color: var(--teal-on-light); }
#post-tags { margin: 20px 0; display: flex; flex-wrap: wrap; gap: 8px; }
#post-back { margin-top: 24px; }
.back-link { color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--teal-on-light); }
#related-posts { margin-top: 48px; }
.section-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.blog-grid--related { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ═══════════════════════════════════════════════════════════════
   Guides (pillar articles) — GuideController / guides/index.php,
   show.php, sources.php. Flat-band hero (not photo) and a card
   treatment to match the rest of this site. Every rule below is
   namespaced .guide-* / #guide-* so it can't bleed into blog rules
   above.
   Added: 2026-08-10
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero band (hub + show + sources) ─── */
.guide-hero {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
    padding: 56px 24px 48px;
    text-align: center;
}
/* Eyebrow reads navy — same "eyebrow text is navy" rule as
   .hero-eyebrow in site.css (2026-09-27, was teal). */
.guide-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.guide-hero-title {
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}
.guide-hero-sub {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

/* ─── Empty state (hub / sources before any guide is published) ─── */
.guide-empty { color: var(--muted); font-size: 15px; text-align: center; padding: 24px 0; }

/* ─── Hub: guide cards (flat uniform grid — 2026-08-11: category
       group headings dropped from the hub; the category now rides on
       each card as a .guide-card-cat eyebrow. .guide-cat-heading
       stays: guides/show.php still uses it for "More … guides".) ─── */
.guide-cat-heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.guide-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 700px) {
    .guide-list { grid-template-columns: 1fr 1fr; }
}
.guide-list-item {
    display: block;
    padding: 18px 20px;
    background: var(--navy-lt);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}
.guide-list-item:hover { border-color: var(--teal); transform: translateY(-2px); text-decoration: none; }
/* Card category eyebrow — navy, same treatment as every other
   eyebrow/label in the bright-theme inversion (2026-09-27, was
   teal). */
.guide-list-item .guide-card-cat {
    font-size: 11px;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 8px;
}
.guide-list-item h2 { font-size: 1.05rem; margin: 0 0 6px; color: var(--navy); }
.guide-list-item p { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.guide-list-meta { font-size: 12px; font-weight: 600; color: var(--teal-on-light); text-transform: uppercase; letter-spacing: 0.04em; }
.guide-hub-foot { margin-top: 24px; font-size: 14px; color: var(--muted); }
.guide-hub-foot a, .guide-back a { color: var(--teal-on-light); }

/* ─── Sources (aggregated + per-guide "Sources" block on show.php) ─── */
.guide-sources { margin: 0 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.guide-sources:last-of-type { border-bottom: none; margin-bottom: 0; }
.guide-sources h2 { font-size: 1.15rem; margin-bottom: 10px; }
.guide-sources h2 a { color: var(--navy); text-decoration: none; }
.guide-sources h2 a:hover { color: var(--teal-on-light); }
.guide-sources ul { margin: 0 0 8px 18px; padding-left: 16px; }
.guide-sources li { margin-bottom: 8px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.guide-sources li a { color: var(--teal-on-light); }
.guide-sources-foot, .guide-back { margin-top: 16px; font-size: 13.5px; }

/* ─── Related guides ─── */
.guide-related { margin: 32px 0 24px; }
.guide-related ul { margin: 10px 0 0 18px; padding-left: 16px; }
.guide-related li { margin-bottom: 8px; }
.guide-related li a { color: var(--teal-on-light); }

/* ─── Show page body ─── */
#guide-body { padding: 20px 0; font-size: 16px; line-height: 1.7; color: var(--ink); }
#guide-body h2, #guide-body h3 { margin-top: 28px; color: var(--navy); }
#guide-body p { margin-bottom: 16px; }
#guide-body img { max-width: 100%; height: auto; border-radius: 8px; }
#guide-body a { color: var(--teal-on-light); }
#guide-body ul, #guide-body ol { margin: 0 0 16px 20px; padding-left: 16px; }

/* ─── Reader toolbar (sticky prev / sections / next) ───────────────
   Lives at the end of the article column so it spans the article
   width and never overlaps the footer; position:sticky floats it at
   the bottom of the viewport while there is article left to read,
   then it comes to rest riding the top edge of the footer. */
body.guide-nav-open { overflow: hidden; }

.guide-toolbar {
    position: sticky;
    bottom: 0;
    z-index: 1030;
    margin-top: 32px;
    padding: 3px 10px 0;   /* top padding leaves room for the progress strip */
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 8px;
    background: var(--navy-lt);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 14px rgba(10, 22, 40, 0.12);
    min-height: 56px;
}
.guide-toolbar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
    background: none;
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    padding: 8px 10px;
    cursor: pointer;
    min-width: 0;
}
.guide-toolbar-btn:hover { color: var(--teal-on-light); text-decoration: none; }
.guide-toolbar-prev { justify-content: flex-start; flex: 1 1 0; }
.guide-toolbar-next { justify-content: flex-end; flex: 1 1 0; text-align: right; }
.guide-toolbar-prev .guide-toolbar-txt { align-items: flex-start; }
.guide-toolbar-next .guide-toolbar-txt { align-items: flex-end; }
.guide-toolbar-ico { font-size: 1.1rem; line-height: 1; color: var(--teal-on-light); flex: 0 0 auto; }
.guide-toolbar-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
    overflow: hidden;
}
.guide-toolbar-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-deep); }
.guide-toolbar-lbl {
    font-weight: 600;
    font-size: 13.5px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.guide-toolbar-sections {
    flex: 0 0 auto;
    align-self: center;
    margin: 0 4px;
    padding: 8px 16px;
    border: 1.5px solid var(--teal-on-light);
    border-radius: 999px;
    background: var(--teal-lt);
    color: var(--teal-on-light);
    font-weight: 600;
}
.guide-toolbar-sections:hover { background: rgba(87, 193, 182, 0.16); color: var(--teal-on-light); }
.guide-toolbar-sections .guide-toolbar-ico { color: var(--teal-on-light); }
.guide-toolbar-sections .guide-toolbar-txt { align-items: center; line-height: 1.15; }
.guide-toolbar-sections .guide-toolbar-kicker { color: var(--teal-on-light); opacity: 0.85; }
@media (max-width: 560px) {
    .guide-toolbar-prev .guide-toolbar-lbl,
    .guide-toolbar-next .guide-toolbar-lbl { display: none; }
    .guide-toolbar-sections { padding: 8px 12px; }
}
/* Tablet/desktop: round the corners + float off the screen edge so it
   reads as a floating pill instead of a stuck-to-the-edge mobile bar. */
@media (min-width: 768px) {
    .guide-toolbar {
        bottom: 16px;
        margin-bottom: 16px;
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 8px 26px rgba(10, 22, 40, 0.16);
        overflow: hidden;
    }
}
.guide-toolbar-progress {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--border);
}
/* Reading-progress fill — decorative graphic indicator, not text; the
   brand teal reads fine against the pale --border track on the now-
   light toolbar and keeps a brand-color moment in the reader UI. */
.guide-toolbar-progress-fill {
    display: block;
    height: 100%;
    width: 0;
    background: var(--teal);
    transition: width 0.2s ease;
}

/* ─── Section drawer (slides in from the right) ─── */
.guide-section-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1035;
    background: rgba(10, 22, 40, 0.45);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.guide-section-nav-backdrop.is-open { opacity: 1; }
.guide-section-nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 1040;
    width: min(360px, 86vw);
    background: var(--white);
    border-left: 1px solid var(--border);
    box-shadow: -4px 0 22px rgba(10, 22, 40, 0.16);
    transform: translateX(100%);
    transition: transform 0.22s ease;
    display: flex;
    flex-direction: column;
}
.guide-section-nav.is-open { transform: translateX(0); }
.guide-section-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
}
.guide-section-nav-title { font-weight: 700; color: var(--navy); }
.guide-section-nav-close {
    border: none;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: 2px 6px;
}
.guide-section-nav-close:hover { color: var(--navy); }
.guide-section-nav-list { overflow-y: auto; padding: 10px 12px 24px; flex: 1 1 auto; }
.guide-section-link {
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.35;
    border-left: 3px solid transparent;
}
.guide-section-link:hover { background: var(--navy-lt); color: var(--navy); text-decoration: none; }
.guide-section-link.is-current {
    background: var(--teal-lt);
    color: var(--teal-on-light);
    border-left-color: var(--teal-on-light);
    font-weight: 600;
}
.guide-section-link--top { font-weight: 700; color: var(--navy); margin-bottom: 4px; }

/* ─── Paginated "reader" pages (one <h2> section per page) ─── */
.guide-page { margin-bottom: 8px; }
.guide-page[hidden],
.guide-section-nav[hidden],
.guide-section-nav-backdrop[hidden] { display: none !important; }
@media (min-width: 700px) {
    .guide-page { min-height: 42vh; }   /* keep short sections from looking sparse */
}
.guide-page--wrapup { min-height: 0; }

/* ═══════════════════════════════════════════════════════════════
   Page-family hero photo bands — 2026-08-10 design round

   ROLE: Photo band applied as a modifier alongside the existing
         .dark-band/.blog-hero and .guide-hero band classes, which
         still own padding/text-align/border. The photo runs at full
         contrast — no ::before wash — and the hero content sits in a
         .page-hero-panel opaque card instead, so the photo reads
         clean around the card.
   2026-09-27: the outer band's --navy fallback/letterbox color is
         unchanged (matches .hero in site.css); the opaque
         .page-hero-panel/.guide-hub-panel cards flip from navy to
         white, same as every other opaque photo-panel in this site
         (see site.css HERO/LEAD FORM notes), with the same soft
         shadow for definition against the photo.
   USED BY: blog.php, blog_post.php (.page-hero-blog),
            guides/index.php, guides/show.php, guides/sources.php
            (.page-hero-guides)
   ═══════════════════════════════════════════════════════════════ */
.page-hero-blog,
.page-hero-guides {
    position: relative;
    overflow: hidden;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.page-hero-blog { background-image: url("../assets/images/blog-hero.jpg"); }
.page-hero-guides { background-image: url("../assets/images/guides-hero.jpg"); }

.page-hero-blog .page-hero-panel,
.page-hero-guides .page-hero-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 56px 48px;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.12);
}
@media (max-width: 640px) {
    .page-hero-blog .page-hero-panel,
    .page-hero-guides .page-hero-panel { padding: 32px 24px; }
}

/* Guides hub card panel — 2026-08-11: the hub's card list moved from
   its own .content-light section into a second opaque container
   inside .page-hero-guides (see guides/index.php), so the hero photo
   frames both panels and shows on their sides. text-align resets the
   band's center alignment; cards inside keep their --navy-lt shade
   (now a pale tint) against this white panel. */
.page-hero-guides .guide-hub-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 40px 48px;
    margin-top: 20px;
    text-align: left;
    box-shadow: 0 12px 32px rgba(10, 22, 40, 0.12);
}
@media (max-width: 640px) {
    .page-hero-guides .guide-hub-panel { padding: 28px 20px; }
}
/* blog_post.php reuses .page-hero-blog directly on #post-header
   (no .dark-band wrapper there — see blog_post.php) when the post
   has no featured_image of its own; a post's real photo already
   serves as its hero, so the two never stack. The padding/radius
   below is the outer photo frame — .page-hero-panel (added around
   the title/meta inside it) is the opaque card that sits inside
   that frame. */
#post-header.page-hero-blog {
    padding: 56px 24px 40px;
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   Article reading panel — 2026-08-10 design round

   ROLE: Single-article reading areas (guide show: body/sources/
         related; blog post: header/body/tags/back) sit in a light
         panel for long-form legibility — a slightly different
         near-white shade (--off-white) than the surrounding hub
         pages, which is still meaningful now that the whole site is
         light (a subtle "reading room" cue, not a light/dark flip).
   2026-09-27: every component color override this block used to
         carry (headings, #guide-body/#post-body links, .guide-
         sources, .post-category, .back-link, .tag-pill) is now
         handled directly at each component's BASE rule above, since
         those components need the same light-safe colors whether
         they're inside .article-panel or on an already-light hub
         page (guides/sources.php's .guide-sources/.guide-back, for
         instance, were never inside .article-panel to begin with).
         Duplicating the fix here would just be dead CSS, so this
         block now only carries what's unique to the panel itself:
         its background/base text color, and the blockquote/code/pre
         treatment (rich-text elements with no non-panel equivalent).
   USED BY: guides/show.php (added onto the existing
            .content-light section) and a wrapping section in
            blog_post.php around the post header/body/tags/back.
   ═══════════════════════════════════════════════════════════════ */
.article-panel {
    background: var(--off-white);
    color: var(--ink);
}

/* Rich-text article content (guide/post body, sourced from the
   CMS) can carry blockquotes and code. */
.article-panel blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: var(--white);
    border-left: 4px solid var(--teal-on-light);
    border-radius: 0 6px 6px 0;
    color: var(--ink);
}
.article-panel blockquote p:last-child { margin-bottom: 0; }
.article-panel code {
    background: rgba(10, 22, 40, 0.06);
    color: var(--ink);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.article-panel pre {
    background: rgba(10, 22, 40, 0.06);
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}
.article-panel pre code { background: none; padding: 0; }

/* Glossary tooltip spans (GlossaryLinker.php) render inside both
   the article panel and hub pages — currentColor means one rule
   works everywhere instead of needing a light/dark pair. */
.glossary-term {
    border-bottom: 1px dotted currentColor;
    cursor: help;
}
