/*
 * Pittsburgh Lodge - Shared Theme CSS
 * Author:   Steven J. Cook
 * Revision: 1.4.0 (2026-05-24)
 *           - Added --lodge-community (#3d8a8a, sage-teal) token for a new
 *             "community-news" post category. New .post-card-tag.community
 *             rule paints front-of-house card tags in sage-teal; same token
 *             is reused by editor pills and the post-page eyebrow.
 * Revision: 1.3.3 (2026-05-16)
 *           - Unify light-mode .section and .section.alt: --mm-content-bg
 *             now equals --mm-page-bg (#e8dab8 aged parchment). Pages that
 *             use either class render with the same backdrop, so news/index,
 *             albums/index, and about now look identical to each other.
 *             Dark mode keeps its 2-tier navy hierarchy unchanged.
 * Revision: 1.3.2 (2026-05-16)
 *           - Warm up the four neutral text tokens in light mode to match
 *             the parchment palette:
 *               --mm-text-body   #5b6359 sage-gray   -> #5a4830 warm brown
 *               --mm-text-strong #2a3128 sage-black  -> #2d2418 warm black
 *               --mm-rule        #ced0b7 light sage  -> #d4c098 warm tan
 *               --mm-copyright   #a6a88f muted sage  -> #9a8a6e muted brown
 *             Lightness preserved on body/strong (~30%) so contrast against
 *             parchment stays >=7:1 (WCAG AA). --mm-text-heading (teal) and
 *             --mm-link (sage-blue) stay cool on purpose for accent contrast.
 *             Dark mode unchanged - all these tokens are overridden in the
 *             html.dark-mode block.
 * Revision: 1.3.1 (2026-05-16)
 *           - Extend the Kingmaker-2e parchment palette to ALL light-mode
 *             surfaces: --mm-page-bg #e3e9dc (sage) -> #e8dab8 (aged
 *             parchment); --mm-content-bg #ffffff -> #efe5c8 (medium
 *             parchment). Combined with the 1.3.0 --card-bg cream, the
 *             three tiers form a coherent parchment hierarchy: deepest
 *             body, medium section, lightest card. Dark-mode unchanged.
 *           - --mm-sage-bg #c8d2bc -> #d4c39c (deeper parchment) and the
 *             paired hardcoded gradient endpoint on .post-card-image
 *             #aebca1 -> #b8a672, so the fallback hero-image gradient
 *             stays in the parchment family rather than clashing with
 *             sage on a cream page. Token name kept for compatibility.
 * Revision: 1.3.0 (2026-05-16)
 *           - Change --card-bg in light mode from #ffffff to #f4ecd6
 *             (Kingmaker 2e-style parchment cream). All card surfaces site-
 *             wide pick this up automatically (post tiles, venue cards,
 *             officer cards, admin form cards, etc.) because every card
 *             references var(--card-bg). Dark-mode --card-bg unchanged.
 *           - Inline header comment above the token documenting that card
 *             surfaces must reference var(--card-bg) rather than hardcode
 *             a hex color, to keep the theme cascade working.
 * Revision: 1.2.0
 *           - Mobile nav: hamburger replaced by brand-tap dropdown (<=980px)
 *             nav-links slides down below nav bar; chevron on brand indicates
 *             tap target; wired by lodge-nav.js
 * Revision: 1.1.0
 *           - Added --lodge-purple (#7059c8) and --lodge-pf-green (#4a8040) tokens
 *           - Post card tags: PF = Kingmaker green, SF = space purple
 *           - Dark mode: amber accents replaced with space purple throughout
 *             (nav-cta, btn-amber, footer border, theme-toggle active,
 *              hero wordmark background, editor-bar-tag, guide-hero)
 *           - Dark mode: --nav-accent overridden to lodge-purple
 * Revision: 1.0.0
 *           - Initial extraction from inline page CSS
 *           - Imported by every page on the site
 *           - Holds reset, typography, palette, grid, buttons, nav, footer,
 *             section scaffolding, and reusable components (post cards,
 *             venue cards, gallery slideshow)
 *           - Page-specific styles (homepage hero, coming-soon hero, etc.)
 *             remain inline on those pages
 *
 * Cache-bust by bumping the ?v= query string in <link> tags when this changes.
 */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&family=Ubuntu+Condensed&display=swap");

        /* ================================================================
           FONT AWESOME 6 - base64 embeds
           ================================================================ */
        @font-face {
            font-family: 'Font Awesome 6 Free';
            font-style: normal;
            font-weight: 900;
            font-display: block;
            src: url(data:font/woff2;base64,[FA_SOLID_WOFF2_B64]) format("woff2");
        }


/* ================================================================
   CSS CUSTOM PROPERTIES
   Site-wide design tokens (palette, spacing, radii, shadows). Override per-page if needed.
   ================================================================ */
/* ================================================================
           CSS CUSTOM PROPERTIES
           ================================================================ */
        :root {
            /* Light-mode neutrals form a 3-tier Kingmaker-2e parchment palette:
                 --mm-page-bg     #e8dab8  deepest aged parchment (body, .section.alt)
                 --mm-content-bg  #efe5c8  medium parchment        (.section)
                 --card-bg        #f4ecd6  lightest fresh parchment (every card)
               Same hue family, ~5% lightness steps between tiers, so cards still
               lift off sections and sections off body without needing heavier
               shadows. Dark-mode neutrals are unchanged in the html.dark-mode
               block below (deep-space navy palette, not parchment). */
            --mm-page-bg:        #e8dab8;
            --mm-content-bg:     #e8dab8;  /* deliberately same as --mm-page-bg in light mode so .section and .section.alt render identically and pages stay uniform; dark mode keeps a 2-tier navy hierarchy via its own override block */
            --mm-text-body:      #5a4830;  /* warm brown; was #5b6359 sage-gray, shifted to match parchment hue */
            --mm-text-strong:    #2d2418;  /* warm near-black; was #2a3128 sage-tinted */
            --mm-text-heading:   #007897;  /* teal: intentionally cool accent against warm bg */
            --mm-text-subhead:   #283121;
            --mm-link:           #5d93a2;  /* sage-blue: intentionally cool accent against warm bg */
            --mm-rule:           #d4c098;  /* warm tan rule line; was #ced0b7 light sage */
            --mm-copyright:      #9a8a6e;  /* warm muted brown for footnotes; was #a6a88f muted sage */
            --mm-sage-bg:        #d4c39c;  /* deeper parchment; fallback gradient on .post-card-image when no hero image is set. Name kept for backwards compatibility with the dark-mode override block. */

            /* Dark nav (Paizo-style) */
            --nav-bg:            #1a1f1a;
            --nav-bg-hover:      #2a3328;
            --nav-text:          #e6e8e2;
            --nav-text-muted:    #9aa097;
            --nav-border:        #2d342b;
            --nav-accent:        #f5b800;

            /* Lodge brand layer */
            --lodge-blue:        #2563a8;
            --lodge-blue-deep:   #1a4d8a;
            --lodge-amber:       #f5b800;
            --lodge-amber-deep:  #d99e00;
            --lodge-silver:      #c0c0c0;
            --lodge-charcoal:    #1a1a1a;
            --lodge-crimson:     #b03030;
            --lodge-purple:      #7059c8;
            --lodge-pf-green:    #4a8040;
            --lodge-community:   #3d8a8a;

            /* Card chrome - light-mode cards use a Kingmaker-2e parchment
               cream so they read as "card" against both sage page bg and
               white .section bg without relying on a heavy shadow. Dark
               mode swaps --card-bg to a deep navy in the html.dark-mode
               block below; do NOT hardcode #fff or #ffffff for card
               surfaces - reference var(--card-bg) so the theme cascades. */
            --card-bg:           #f4ecd6;
            --card-shadow:       0 4px 14px rgba(0,0,0,0.08);
            --card-shadow-hover: 0 10px 30px rgba(0,0,0,0.15);
            --card-radius:       12px;
        }


/* ================================================================
   RESET + BASE TYPOGRAPHY
   Margin/padding/border zeroing, then Cinzel display + Inter body, mixed-case headings.
   ================================================================ */
/* ================================================================
           RESET
           ================================================================ */
        html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, ol, li,
        article, aside, figure, figcaption, footer, header, nav, section,
        button, input, label {
            margin: 0; padding: 0; border: 0;
            font-size: 100%; font: inherit; vertical-align: baseline;
        }
article, aside, figure, footer, header, nav, section { display: block; }
body { line-height: 1.5; }
ol, ul { list-style: none; }
html { box-sizing: border-box; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; height: auto; display: block; }
/* ================================================================
           BASE TYPOGRAPHY (mixed case, modern Inter + Cinzel display)
           ================================================================ */
        body {
            font-family: 'Inter', 'Ubuntu Condensed', sans-serif;
            font-size: 16px;
            line-height: 1.65;
            color: var(--mm-text-body);
            background: var(--mm-page-bg);
            -webkit-text-size-adjust: 100%;
        }
h1, h2, h3, h4 {
            font-family: 'Cinzel', 'Inter', serif;
            color: var(--mm-text-strong);
            font-weight: 700;
            line-height: 1.25;
            letter-spacing: 0.01em;
        }
h1 { font-size: 2.6em; }
h2 { font-size: 2em; margin-bottom: 0.6em; }
h3 { font-size: 1.35em; margin-bottom: 0.5em; }
h4 { font-size: 1.1em; margin-bottom: 0.4em; }
p  { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--mm-text-strong); font-weight: 700; }
a { color: var(--mm-link); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--lodge-blue); text-decoration: underline; }
body.drawer-open #navDrawer { transform: translateX(0); }
body.drawer-open #navScrim { opacity: 1; pointer-events: auto; }
body.drawer-open { overflow: hidden; }


/* ================================================================
   CONTAINER
   Centered max-width column with breakpoint-aware horizontal padding.
   ================================================================ */
/* ================================================================
           CONTAINER
           ================================================================ */
        .container { margin: 0 auto; max-width: 100%; width: 1200px; padding: 0 24px; }


/* ================================================================
   TWELVE-COLUMN GRID
   .row + .col-N with -medium and -small responsive variants. Preserved from Minimaxing.
   ================================================================ */
/* ================================================================
           ROW / COL GRID (preserved from Minimaxing)
           ================================================================ */
        .row { display: flex; flex-wrap: wrap; align-items: stretch; }
.row.gtr-50  { margin: -10px 0 0 -10px; }
.row.gtr-50  > * { padding: 10px 0 0 10px; }
.row.gtr-100 { margin: -20px 0 0 -20px; }
.row.gtr-100 > * { padding: 20px 0 0 20px; }
.row.gtr-150 { margin: -30px 0 0 -30px; }
.row.gtr-150 > * { padding: 30px 0 0 30px; }
.row > .col-1 { width: 8.33333%; }
.row > .col-2 { width: 16.66667%; }
.row > .col-3 { width: 25%; }
.row > .col-4 { width: 33.33333%; }
.row > .col-5 { width: 41.66667%; }
.row > .col-6 { width: 50%; }
.row > .col-7 { width: 58.33333%; }
.row > .col-8 { width: 66.66667%; }
.row > .col-9 { width: 75%; }
.row > .col-10 { width: 83.33333%; }
.row > .col-11 { width: 91.66667%; }
.row > .col-12 { width: 100%; }
@media screen and (max-width: 980px) {
            .row > .col-1-medium  { width: 8.33333%; }  .row > .col-2-medium  { width: 16.66667%; }
            .row > .col-3-medium  { width: 25%; }       .row > .col-4-medium  { width: 33.33333%; }
            .row > .col-5-medium  { width: 41.66667%; } .row > .col-6-medium  { width: 50%; }
            .row > .col-7-medium  { width: 58.33333%; } .row > .col-8-medium  { width: 66.66667%; }
            .row > .col-9-medium  { width: 75%; }       .row > .col-10-medium { width: 83.33333%; }
            .row > .col-11-medium { width: 91.66667%; } .row > .col-12-medium { width: 100%; }
            .row > .imp-medium    { order: -1; }
        }
@media screen and (max-width: 736px) {
            .row > .col-1-small  { width: 8.33333%; }   .row > .col-2-small  { width: 16.66667%; }
            .row > .col-3-small  { width: 25%; }        .row > .col-4-small  { width: 33.33333%; }
            .row > .col-5-small  { width: 41.66667%; }  .row > .col-6-small  { width: 50%; }
            .row > .col-7-small  { width: 58.33333%; }  .row > .col-8-small  { width: 66.66667%; }
            .row > .col-9-small  { width: 75%; }        .row > .col-10-small { width: 83.33333%; }
            .row > .col-11-small { width: 91.66667%; }  .row > .col-12-small { width: 100%; }
        }


/* ================================================================
   BUTTONS
   btn, btn-primary, btn-amber, btn-outline, btn-ghost. Cinzel-typed pills with hover lift.
   ================================================================ */
/* ================================================================
           BUTTONS
           ================================================================ */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5em;
            padding: 0.85em 1.6em;
            font-family: 'Cinzel', serif;
            font-weight: 600;
            font-size: 0.95em;
            letter-spacing: 0.04em;
            border-radius: 6px;
            transition: all 0.2s ease;
            cursor: pointer;
            border: none;
            text-decoration: none;
        }
.btn-primary {
            background: var(--lodge-blue);
            color: #fff;
            box-shadow: 0 2px 8px rgba(37,99,168,0.3);
        }
.btn-primary:hover {
            background: var(--lodge-blue-deep);
            color: #fff;
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(37,99,168,0.45);
        }
.btn-amber {
            background: var(--lodge-amber);
            color: var(--lodge-charcoal);
            box-shadow: 0 2px 8px rgba(245,184,0,0.3);
        }
.btn-amber:hover {
            background: var(--lodge-amber-deep);
            color: var(--lodge-charcoal);
            text-decoration: none;
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(245,184,0,0.45);
        }
.btn-outline {
            background: transparent;
            color: var(--mm-text-strong);
            border: 2px solid var(--mm-text-strong);
        }
.btn-outline:hover {
            background: var(--mm-text-strong);
            color: #fff;
            text-decoration: none;
        }
.btn-ghost {
            background: rgba(255,255,255,0.1);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.3);
            backdrop-filter: blur(4px);
        }
.btn-ghost:hover {
            background: rgba(255,255,255,0.2);
            color: #fff;
            text-decoration: none;
            border-color: rgba(255,255,255,0.5);
        }


/* ================================================================
   STICKY TOP NAV + MOBILE DROPDOWN
   Dark Paizo-style nav bar at the top. At <=980px the nav-links
   collapse and tapping "Pittsburgh Lodge" slides them down as a
   full-width dropdown (handled by lodge-nav.js).
   ================================================================ */
/* ================================================================
           STICKY TOP NAV (Paizo-style dark bar)
           ================================================================ */
        #topnav {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: var(--nav-bg);
            border-bottom: 1px solid var(--nav-border);
            box-shadow: 0 1px 0 rgba(0,0,0,0.4);
        }
.nav-inner {
            display: flex;
            align-items: center;
            height: 64px;
            gap: 1.5em;
        }
.nav-brand {
            display: flex;
            align-items: center;
            gap: 0.7em;
            color: #fff;
            text-decoration: none;
            font-family: 'Cinzel', serif;
            font-weight: 700;
            font-size: 1.15em;
            letter-spacing: 0.05em;
            white-space: nowrap;
        }
.nav-brand:hover { color: #fff; text-decoration: none; }
.nav-brand-icon {
            width: 40px; height: 40px;
            background-image: url("../images/lodge-icon.png");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            flex-shrink: 0;
        }
.nav-links {
            display: flex;
            align-items: center;
            gap: 0.25em;
            margin-left: auto;
        }
.nav-links a {
            display: inline-flex;
            align-items: center;
            gap: 0.4em;
            color: var(--nav-text);
            font-family: 'Cinzel', serif;
            font-size: 0.85em;
            font-weight: 600;
            letter-spacing: 0.06em;
            padding: 0.7em 1em;
            border-radius: 4px;
            transition: all 0.2s ease;
        }
.nav-links a:hover {
            background: var(--nav-bg-hover);
            color: var(--nav-accent);
            text-decoration: none;
        }
.nav-links a.current {
            color: var(--nav-accent);
            position: relative;
        }
.nav-links a.current:after {
            content: '';
            position: absolute;
            left: 1em; right: 1em; bottom: 0.3em;
            height: 2px;
            background: var(--nav-accent);
            border-radius: 1px;
        }
.nav-cta {
            margin-left: 0.8em;
            background: var(--lodge-amber);
            color: var(--lodge-charcoal) !important;
            padding: 0.55em 1.1em !important;
        }
.nav-cta:hover {
            background: var(--lodge-amber-deep);
            color: var(--lodge-charcoal) !important;
        }
/* Mobile hamburger */
        .nav-toggle {
            display: none;
            margin-left: auto;
            background: transparent;
            border: 1px solid var(--nav-border);
            color: var(--nav-text);
            width: 42px; height: 42px;
            border-radius: 6px;
            font-size: 1.1em;
            cursor: pointer;
            align-items: center;
            justify-content: center;
        }
.nav-toggle:hover { background: var(--nav-bg-hover); color: var(--nav-accent); }


/* ================================================================
   SECTION SCAFFOLDING
   .section, .section.alt, .section.dark, .section-head, .eyebrow. Drop-in vertical rhythm.
   ================================================================ */
/* ================================================================
           SECTION SCAFFOLDING
           ================================================================ */
        .section { padding: 4em 0; background: var(--mm-content-bg); }
.section.alt { background: var(--mm-page-bg); }
.section.dark { background: var(--lodge-charcoal); color: #d8dad6; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark a { color: var(--lodge-amber); }
.section-head { text-align: center; margin-bottom: 2.5em; }
.section-head .eyebrow {
            display: inline-block;
            font-family: 'Cinzel', serif;
            font-size: 0.85em;
            font-weight: 600;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            color: var(--lodge-blue);
            margin-bottom: 0.6em;
        }
.section.dark .section-head .eyebrow { color: var(--lodge-amber); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head .lead {
            max-width: 680px;
            margin: 0 auto;
            font-size: 1.08em;
            color: var(--mm-text-body);
        }
.section.dark .section-head .lead { color: #b8bbb5; }


/* ================================================================
   POST CARDS
   Three-up blog/news card grid with image, tag chip, meta, body, readmore.
   ================================================================ */
/* ================================================================
           BLOG POST CARDS (Paizo "What's Happening" row)
           ================================================================ */
        .post-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.6em;
        }
.post-card {
            background: var(--card-bg);
            border-radius: var(--card-radius);
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: all 0.25s ease;
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
            border: 1px solid rgba(0,0,0,0.05);
        }
.post-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--card-shadow-hover);
            text-decoration: none;
            color: inherit;
        }
.post-card-image {
            position: relative;
            aspect-ratio: 16 / 10;
            background: linear-gradient(135deg, var(--mm-sage-bg), #b8a672);
            overflow: hidden;
        }
.post-card-image img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-tag {
            position: absolute;
            top: 0.9em; left: 0.9em;
            background: var(--lodge-pf-green);
            color: #fff;
            font-family: 'Cinzel', serif;
            font-size: 0.7em;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 0.4em 0.8em;
            border-radius: 4px;
        }
.post-card-tag.starfinder { background: var(--lodge-purple); color: #fff; }
.post-card-tag.special    { background: var(--lodge-crimson); }
.post-card-tag.community  { background: var(--lodge-community); color: #fff; }
.post-card-body { padding: 1.4em 1.5em 1.5em; flex: 1; display: flex; flex-direction: column; }
.post-card-meta {
            font-family: 'Inter', sans-serif;
            font-size: 0.82em;
            color: var(--mm-copyright);
            margin-bottom: 0.6em;
            display: flex;
            align-items: center;
            gap: 0.4em;
        }
.post-card-body h3 {
            font-size: 1.2em;
            margin-bottom: 0.5em;
            color: var(--mm-text-strong);
        }
.post-card-body p {
            color: var(--mm-text-body);
            font-size: 0.95em;
            margin-bottom: 1em;
            flex: 1;
        }
.post-card-readmore {
            font-family: 'Cinzel', serif;
            font-weight: 600;
            font-size: 0.85em;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            color: var(--lodge-blue);
            display: inline-flex;
            align-items: center;
            gap: 0.4em;
        }
.post-card:hover .post-card-readmore { color: var(--lodge-blue-deep); }


/* ================================================================
   VENUE CARDS
   Where We Play card variant with status pill (Active/Coming Soon) and outline action buttons.
   ================================================================ */
/* ================================================================
           VENUE CARDS (Where We Play section)
           ================================================================ */
        .venue-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.6em;
        }
.venue-card {
            background: var(--card-bg);
            border-radius: var(--card-radius);
            overflow: hidden;
            box-shadow: var(--card-shadow);
            border: 1px solid rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            transition: all 0.25s ease;
            position: relative;
        }
.venue-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--card-shadow-hover);
        }
.venue-card-image {
            position: relative;
            aspect-ratio: 16 / 10;
            background: linear-gradient(135deg, #2a3328, var(--lodge-charcoal));
            overflow: hidden;
        }
.venue-card-image img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
.venue-card:hover .venue-card-image img { transform: scale(1.04); }
.venue-card-status {
            position: absolute;
            top: 0.9em; right: 0.9em;
            background: rgba(0,0,0,0.75);
            color: #fff;
            font-family: 'Cinzel', serif;
            font-size: 0.7em;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 0.4em 0.8em;
            border-radius: 4px;
            backdrop-filter: blur(4px);
            display: inline-flex;
            align-items: center;
            gap: 0.4em;
        }
.venue-card-status .pulse {
            width: 7px; height: 7px;
            border-radius: 50%;
            background: var(--lodge-amber);
            box-shadow: 0 0 0 0 rgba(245,184,0,0.7);
            animation: cs-blink 1.6s ease-in-out infinite;
        }
.venue-card-status.active   .pulse { background: #6dd06d; box-shadow: 0 0 0 0 rgba(109,208,109,0.7); }
.venue-card-status.upcoming .pulse { background: var(--lodge-amber); }
@keyframes cs-blink {
            0%, 100% { box-shadow: 0 0 0 0 rgba(245,184,0,0.7); }
            50%      { box-shadow: 0 0 0 8px rgba(245,184,0,0); }
        }
.venue-card-body { padding: 1.4em 1.5em 1.5em; flex: 1; display: flex; flex-direction: column; }
.venue-card-body h3 {
            font-size: 1.2em;
            margin-bottom: 0.4em;
            color: var(--mm-text-strong);
        }
.venue-card-meta {
            font-family: 'Inter', sans-serif;
            font-size: 0.85em;
            color: var(--mm-copyright);
            margin-bottom: 0.8em;
            display: flex;
            flex-direction: column;
            gap: 0.25em;
        }
.venue-card-meta span {
            display: inline-flex;
            align-items: center;
            gap: 0.5em;
        }
.venue-card-meta i {
            color: var(--lodge-blue);
            width: 1em;
            text-align: center;
            flex-shrink: 0;
        }
.venue-card-body p {
            color: var(--mm-text-body);
            font-size: 0.93em;
            margin-bottom: 1em;
            flex: 1;
        }
.venue-card-actions {
            display: flex;
            gap: 0.6em;
            flex-wrap: wrap;
        }
.venue-card-actions a {
            font-family: 'Cinzel', serif;
            font-size: 0.78em;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            color: var(--lodge-blue);
            display: inline-flex;
            align-items: center;
            gap: 0.35em;
            padding: 0.5em 0.85em;
            border: 1px solid var(--lodge-blue);
            border-radius: 4px;
            transition: all 0.2s ease;
        }
.venue-card-actions a:hover {
            background: var(--lodge-blue);
            color: #fff;
            text-decoration: none;
        }
.venue-card-actions a.amber {
            color: var(--lodge-amber-deep);
            border-color: var(--lodge-amber-deep);
        }
.venue-card-actions a.amber:hover {
            background: var(--lodge-amber);
            color: var(--lodge-charcoal);
            border-color: var(--lodge-amber);
        }


/* ================================================================
   GALLERY SLIDESHOW
   Full-width hero slideshow with arrows, dots, captions, swipe support.
   ================================================================ */
/* ================================================================
           GALLERY SLIDESHOW (full image hero with arrows + dots + captions)
           ================================================================ */
        .gallery {
            position: relative;
            width: 100%;
            aspect-ratio: 21 / 9;
            background: var(--lodge-charcoal);
            border-radius: var(--card-radius);
            overflow: hidden;
            box-shadow: var(--card-shadow);
        }
.gallery-slide {
            position: absolute;
            inset: 0;
            opacity: 0;
            transition: opacity 0.7s ease-in-out;
            background-size: cover;
            background-position: center;
            background-color: #2a2f2a;
        }
.gallery-slide.active { opacity: 1; }
.gallery-slide:after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.75) 100%);
        }
.gallery-caption {
            position: absolute;
            left: 0; right: 0; bottom: 0;
            padding: 1.5em 2em;
            color: #fff;
            z-index: 2;
        }
.gallery-caption h3 {
            color: #fff;
            font-size: 1.35em;
            margin-bottom: 0.3em;
            text-shadow: 0 2px 6px rgba(0,0,0,0.5);
        }
.gallery-caption p {
            color: rgba(255,255,255,0.88);
            font-size: 0.95em;
            margin: 0;
            text-shadow: 0 1px 4px rgba(0,0,0,0.5);
        }
.gallery-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 48px; height: 48px;
            background: rgba(0,0,0,0.45);
            border: 1px solid rgba(255,255,255,0.25);
            color: #fff;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1em;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(4px);
            transition: all 0.2s ease;
            z-index: 3;
        }
.gallery-arrow:hover {
            background: rgba(0,0,0,0.7);
            border-color: var(--lodge-amber);
            color: var(--lodge-amber);
        }
.gallery-arrow.prev { left: 1em; }
.gallery-arrow.next { right: 1em; }
.gallery-dots {
            position: absolute;
            top: 1em; right: 1em;
            display: flex;
            gap: 0.4em;
            z-index: 3;
        }
.gallery-dots button {
            width: 9px; height: 9px;
            border-radius: 50%;
            background: rgba(255,255,255,0.4);
            border: none;
            cursor: pointer;
            padding: 0;
            transition: all 0.2s ease;
        }
.gallery-dots button:hover { background: rgba(255,255,255,0.7); }
.gallery-dots button.active {
            background: var(--lodge-amber);
            transform: scale(1.3);
        }


/* ================================================================
   FOOTER + COMMUNITY USE
   Dark footer with brand block, link columns, social pills, Paizo Community Use notice.
   ================================================================ */
/* ================================================================
           FOOTER
           ================================================================ */
        #footer {
            background: var(--lodge-charcoal);
            color: #b8bbb5;
            padding: 4em 0 1.5em;
            border-top: 4px solid var(--lodge-amber);
        }
.footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 2.5em;
            margin-bottom: 3em;
        }
.footer-brand { display: flex; align-items: flex-start; gap: 1em; }
.footer-brand-icon {
            width: 56px; height: 56px;
            background-image: url("../images/lodge-icon.png");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            flex-shrink: 0;
        }
.footer-brand h3 {
            color: #fff;
            font-size: 1.2em;
            margin-bottom: 0.4em;
        }
.footer-brand p {
            color: #9aa097;
            font-size: 0.9em;
            margin-bottom: 1em;
        }
.footer-social { display: flex; gap: 0.6em; }
.footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px; height: 36px;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.1);
            border-radius: 50%;
            color: #d8dad6;
            transition: all 0.2s ease;
        }
.footer-social a:hover {
            background: var(--lodge-amber);
            color: var(--lodge-charcoal);
            border-color: var(--lodge-amber);
            text-decoration: none;
            transform: translateY(-2px);
        }
.footer-col h4 {
            color: #fff;
            font-family: 'Cinzel', serif;
            font-size: 0.9em;
            font-weight: 700;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            margin-bottom: 1em;
        }
.footer-col ul li { margin-bottom: 0.6em; }
.footer-col ul li a {
            color: #9aa097;
            font-size: 0.92em;
            transition: color 0.2s ease;
        }
.footer-col ul li a:hover { color: var(--lodge-amber); text-decoration: none; }
.footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding-top: 1.5em;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1em;
            font-size: 0.85em;
            color: #6f7470;
        }
.footer-bottom a { color: #9aa097; }
.footer-bottom a:hover { color: var(--lodge-amber); text-decoration: none; }
.community-use {
            border-top: 1px solid rgba(255,255,255,0.08);
            padding: 1.5em 0;
            font-size: 0.78em;
            line-height: 1.65;
            color: #8a8f88;
        }
.community-use h5 {
            color: #b8bbb5;
            font-family: 'Cinzel', serif;
            font-size: 0.95em;
            font-weight: 700;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            margin-bottom: 0.6em;
        }
.community-use p { margin-bottom: 0; }
.community-use a { color: var(--lodge-amber); text-decoration: underline; }
.community-use a:hover { color: #ffd84d; text-decoration: none; }
.community-use strong { color: #d8dad6; font-weight: 600; }


/* ================================================================
   RESPONSIVE TYPOGRAPHY
   Page-wide type/size adjustments at 980 and 736 breakpoints.
   ================================================================ */
@media screen and (max-width: 1280px) { .container { width: 100%; padding: 0 32px; } }
@media screen and (max-width: 980px)  { .container { padding: 0 28px; } }
@media screen and (max-width: 736px)  { .container { padding: 0 18px; } }
@media screen and (max-width: 980px) {
    /* Hamburger no longer needed; brand is the toggle */
    .nav-toggle { display: none; }

    /* Dropdown: sits absolutely below the sticky nav bar */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        background: var(--nav-bg);
        border-top: 1px solid var(--nav-border);
        box-shadow: 0 6px 24px rgba(0,0,0,0.45);
        z-index: 1000;
        gap: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0.4,0,0.2,1);
    }
    .nav-links.nav-open { max-height: 480px; }

    /* Full-width rows with dividers */
    .nav-links a {
        padding: 1em 1.5em;
        border-radius: 0;
        border-bottom: 1px solid var(--nav-border);
        font-size: 0.95em;
    }
    .nav-links a.current:after { display: none; }

    /* CTA button becomes a centered pill row */
    .nav-cta {
        margin: 0.75em 1.25em !important;
        padding: 0.7em 1.1em !important;
        text-align: center;
        display: block;
        border-bottom: none !important;
    }

    /* Downward chevron on the brand to hint it is tappable */
    .nav-brand::after {
        content: '▾';
        font-size: 0.9em;
        margin-left: 0.45em;
        opacity: 0.55;
        display: inline-block;
        transition: transform 0.2s ease;
        vertical-align: middle;
    }
    #topnav.nav-brand-open .nav-brand::after { transform: rotate(180deg); }
}
@media screen and (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
@media screen and (max-width: 980px) { .venue-grid { grid-template-columns: 1fr; gap: 1.4em; } }
@media screen and (max-width: 736px) { .gallery { aspect-ratio: 4 / 3; } }
@media screen and (max-width: 736px) {
            .gallery-caption { padding: 1em 1.2em; }
            .gallery-caption h3 { font-size: 1.1em; }
            .gallery-caption p  { font-size: 0.85em; }
        }
@media screen and (max-width: 980px) {
            .about-icon-wrap { min-height: 220px; }
            .about-icon-wrap .lodge-mark { width: 200px; height: 200px; }
        }
@media screen and (max-width: 600px) {
            .about-content .stats { grid-template-columns: 1fr; }
        }
@media screen and (max-width: 980px) {
            .footer-grid { grid-template-columns: 1fr 1fr; gap: 2em; }
        }
@media screen and (max-width: 600px) {
            .footer-grid { grid-template-columns: 1fr; gap: 1.8em; }
        }
/* ================================================================
           RESPONSIVE TYPOGRAPHY ADJUSTMENTS
           ================================================================ */
        @media screen and (max-width: 980px) {
            h1 { font-size: 2.2em; }
            h2 { font-size: 1.7em; }
            .section { padding: 3em 0; }
            .hero-wordmark .container { padding-top: 3em; padding-bottom: 3em; }
        }
@media screen and (max-width: 736px) {
            body { font-size: 15px; }
            h1 { font-size: 1.85em; }
            h2 { font-size: 1.45em; }
            .section { padding: 2.5em 0; }
            .hero-wordmark .container { padding-top: 2.5em; padding-bottom: 2.5em; }
            .nav-inner { height: 56px; }
            .nav-brand { font-size: 1em; }
            .nav-brand-icon { width: 34px; height: 34px; }
            .gallery-arrow { width: 40px; height: 40px; }
            .gallery-arrow.prev { left: 0.6em; }
            .gallery-arrow.next { right: 0.6em; }
        }
/* Mobile slide-in drawer */
        #navDrawer {
            position: fixed;
            top: 0; right: 0;
            width: 320px;
            max-width: 85vw;
            height: 100vh;
            background: var(--nav-bg);
            border-left: 1px solid var(--nav-border);
            z-index: 1100;
            transform: translateX(100%);
            transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
            box-shadow: -10px 0 40px rgba(0,0,0,0.4);
            overflow-y: auto;
        }
#navScrim {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.35s ease;
            z-index: 1050;
        }
#navDrawer .drawer-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 1em 1.25em;
            border-bottom: 1px solid var(--nav-border);
        }
#navDrawer .drawer-close {
            background: transparent; border: none; color: var(--nav-text);
            font-size: 1.4em; cursor: pointer; padding: 0.25em 0.5em;
        }
#navDrawer .drawer-links { padding: 0.5em 0; }
#navDrawer .drawer-links a {
            display: flex;
            align-items: center;
            gap: 0.7em;
            padding: 1em 1.5em;
            color: var(--nav-text);
            font-family: 'Cinzel', serif;
            font-weight: 600;
            font-size: 1em;
            letter-spacing: 0.05em;
            border-bottom: 1px solid var(--nav-border);
            text-decoration: none;
        }
#navDrawer .drawer-links a:hover {
            background: var(--nav-bg-hover);
            color: var(--nav-accent);
        }


/* ================================================================
   THEME TOGGLE PILL
   Fixed top-right pill with sun/moon buttons. Injected by lodge-theme-toggle.js.
   ================================================================ */
.theme-toggle {
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    background: rgba(26,31,26,0.88);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 3px;
    gap: 0;
    cursor: default;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: border-color 0.2s;
}
.theme-toggle:hover { border-color: rgba(245,184,0,0.4); }
.theme-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 20px;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.38);
    font-size: 1.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    line-height: 1;
}
.theme-toggle-btn.active {
    background: var(--lodge-amber);
    color: var(--lodge-charcoal);
}
.theme-toggle-btn:hover:not(.active) { color: rgba(255,255,255,0.65); }


/* ================================================================
   DARK MODE OVERRIDES
   Applied when html.dark-mode is present. Overrides :root tokens and
   component rules that don't inherit from the token cascade.
   ================================================================ */
/* Starfinder 2e space aesthetic: deep navy-black, teal accent, lodge amber retained. */
html.dark-mode {
    --mm-page-bg:        #0c1018;
    --mm-content-bg:     #131c2a;
    --mm-text-body:      #7a96b8;
    --mm-text-strong:    #dce8f8;
    --mm-text-heading:   #0ac8dc;
    --mm-text-subhead:   #b8cad8;
    --mm-link:           #3dcad8;
    --mm-rule:           #1a2840;
    --mm-copyright:      #3a5878;
    --mm-sage-bg:        #0e1622;
    --card-bg:           #182233;
    --card-shadow:       0 4px 14px rgba(0,0,0,0.55);
    --card-shadow-hover: 0 10px 30px rgba(0,0,0,0.8);
    --nav-accent:        var(--lodge-purple);
}
html.dark-mode body {
    background: var(--mm-page-bg);
    color: var(--mm-text-body);
}
html.dark-mode .section     { background: var(--mm-content-bg); }
html.dark-mode .section.alt { background: var(--mm-page-bg); }
html.dark-mode .post-card,
html.dark-mode .venue-card  { border-color: rgba(255,255,255,0.05); }
html.dark-mode .post-card-body h3,
html.dark-mode .venue-card-body h3 { color: var(--mm-text-strong); }
html.dark-mode .btn-outline {
    color: var(--mm-text-strong);
    border-color: rgba(255,255,255,0.2);
}
html.dark-mode .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: var(--mm-text-strong);
    border-color: rgba(255,255,255,0.4);
}

/* Login / reset-password form inputs (lodge-theme .form-input, .cp-input) */
html.dark-mode .form-input,
html.dark-mode .cp-input {
    background: #0e1622;
    color: var(--mm-text-strong);
    border-color: rgba(255,255,255,0.1);
}
html.dark-mode .form-input:focus,
html.dark-mode .cp-input:focus { background: #0c1420; }

/* ----------------------------------------------------------------
   Editor-specific dark mode overrides.
   The editor uses many hardcoded #fff / #f*f*f* backgrounds that
   don't pick up the CSS variable cascade. Each class below is
   targeted individually so only editor pages are affected.
   ---------------------------------------------------------------- */
html.dark-mode .status-bar {
    background: #182233;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
html.dark-mode .status-pill.draft     { background: #1e2a3a; color: #7a96b8; }
html.dark-mode .status-pill.published { background: #0c2418; color: #40c87a; }
html.dark-mode .status-pill.saving    { background: #1e1800; color: var(--lodge-amber); }
html.dark-mode .status-pill.error     { background: #2a0a0a; color: #e06060; }

html.dark-mode .form-card {
    background: #182233;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
html.dark-mode .form-card h3 { border-bottom-color: rgba(255,255,255,0.06); }

html.dark-mode .form-input,
html.dark-mode .form-textarea,
html.dark-mode .form-select {
    background: #0e1622;
    color: var(--mm-text-strong);
    border-color: rgba(255,255,255,0.1);
}
html.dark-mode .form-input:focus,
html.dark-mode .form-textarea:focus,
html.dark-mode .form-select:focus { background: #0c1420; }

html.dark-mode .cat-option {
    background: #0e1622;
    border-color: rgba(255,255,255,0.1);
    color: var(--mm-text-body);
}

html.dark-mode .body-preview {
    background: #0e1622;
    border-color: rgba(255,255,255,0.08);
}
html.dark-mode .body-preview code { background: #1a2840; }

html.dark-mode .md-cheatsheet { background: #101c2e; }
html.dark-mode .md-cheatsheet code { background: rgba(255,255,255,0.06); }

html.dark-mode .body-mode-switch {
    background: #0e1622;
    border-color: rgba(255,255,255,0.08);
}
html.dark-mode .markdown-mode-actions { background: #1a1800; }

html.dark-mode .block-list-empty {
    background: #0e1622;
    border-color: rgba(255,255,255,0.08);
}
html.dark-mode .block-card {
    background: #162030;
    border-color: rgba(255,255,255,0.07);
}
html.dark-mode .block-card:focus-within {
    border-color: var(--lodge-blue);
    box-shadow: 0 0 0 3px rgba(37,99,168,0.2);
}
html.dark-mode .block-head {
    background: #0e1828;
    border-bottom-color: rgba(255,255,255,0.06);
}
html.dark-mode .block-handle { color: rgba(255,255,255,0.25); }
html.dark-mode .block-handle:hover {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.5);
}
html.dark-mode .block-action-btn { color: rgba(255,255,255,0.3); }
html.dark-mode .block-action-btn:hover {
    background: rgba(255,255,255,0.07);
    color: var(--mm-text-strong);
}
html.dark-mode .block-action-btn.delete:hover { background: rgba(176,48,48,0.25); }
html.dark-mode .block-list-remove:hover { background: rgba(176,48,48,0.2); }

html.dark-mode .block-input,
html.dark-mode .block-textarea {
    background: #0e1622;
    color: var(--mm-text-strong);
    border-color: rgba(255,255,255,0.1);
}
html.dark-mode .block-image-preview,
html.dark-mode .block-embed-preview { background: #0e1828; }

html.dark-mode .slideshow-slide-row {
    background: #162030;
    border-color: rgba(255,255,255,0.07);
}
html.dark-mode .slideshow-slide-thumb { background: #0e1828; }

html.dark-mode .block-add {
    background: #101c2e;
    border-color: rgba(255,255,255,0.1);
}
html.dark-mode .block-add-btn {
    background: #162030;
    color: var(--mm-text-strong);
    border-color: rgba(255,255,255,0.12);
}
html.dark-mode .block-add-btn:hover {
    border-color: var(--lodge-blue);
    color: var(--lodge-blue);
}

html.dark-mode .album-placeholder { background: #182233; }

html.dark-mode .post-row {
    background: #131e2e;
    border-color: rgba(255,255,255,0.06);
}
html.dark-mode .post-row:hover {
    background: #182840;
    border-color: var(--lodge-blue);
}
html.dark-mode .post-row.editing {
    background: #1a1800;
    border-color: var(--lodge-amber);
}
html.dark-mode .post-row-meta .pill.draft     { background: #1e2a3a; color: #7a96b8; }
html.dark-mode .post-row-meta .pill.published { background: #0c2418; color: #40c87a; }

html.dark-mode .cp-card { background: #182233; }
html.dark-mode .body-card-head { border-bottom-color: rgba(255,255,255,0.06); }

/* ----------------------------------------------------------------
   Dark mode: amber accents replaced with space purple (#7059c8).
   Applies to nav CTA, buttons, footer bar, theme toggle, editor tag,
   help page hero, and post-list status pills.
   ---------------------------------------------------------------- */
html.dark-mode .nav-cta {
    background: var(--lodge-purple) !important;
    color: #fff !important;
}
html.dark-mode .nav-cta:hover {
    background: #5a47b0 !important;
    color: #fff !important;
}
html.dark-mode .btn-amber {
    background: var(--lodge-purple);
    color: #fff;
}
html.dark-mode .btn-amber:hover {
    background: #5a47b0;
    color: #fff;
}
html.dark-mode #footer { border-top-color: var(--lodge-purple); }
html.dark-mode .footer-col ul li a:hover,
html.dark-mode .footer-bottom a:hover,
html.dark-mode .community-use a { color: var(--lodge-purple); }
html.dark-mode .theme-toggle-btn.active {
    background: var(--lodge-purple);
    color: #fff;
}
html.dark-mode .hero-wordmark {
    background-image: url('https://unblast.com/wp-content/uploads/2021/01/Space-Background-Image-6-1536x1024.jpg');
    background-size: cover;
    background-position: center;
}
html.dark-mode .editor-bar-tag {
    background: var(--lodge-purple);
    color: #fff;
}
html.dark-mode .guide-hero { border-bottom-color: var(--lodge-purple); }
html.dark-mode .guide-hero .nav-hint {
    background: rgba(112,89,200,0.12);
    border-color: rgba(112,89,200,0.3);
    color: var(--lodge-purple);
}
