/* ==========================================================
   PUBLIC SITE STYLESHEET (mykcfc.org marketing pages)
   ----------------------------------------------------------
   Loaded ONLY by the public-facing pages (index.php, about.php,
   core-values.php, leadership.php, thematic-areas.php, projects.php,
   news.php, membership.php, contact.php) via includes/public_header.php.
   It is deliberately a SEPARATE file from includes/style.css (the
   member-portal stylesheet) so nothing here can ever break the
   dashboard/sidebar layout, and vice versa. The two files duplicate
   the same brand color tokens on purpose -- that's the only overlap.
   ========================================================== */

:root {
    --paper: #FAF6EC;
    --paper-dim: #F0E9D8;
    --ink: #26221D;
    --ink-soft: #5C5548;
    --forest: #2F4B3C;
    --forest-deep: #1D3129;
    --marigold: #E8A33D;
    --marigold-deep: #C6811F;
    --clay: #B24C3D;
    --line: #DCD3BC;
}

* { box-sizing: border-box; }

body.pub {
    font-family: Arial, -apple-system, sans-serif;
    background: var(--paper);
    color: var(--ink);
    margin: 0;
    line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; }

/* ---------- Header / nav ---------- */

.pub-header { background: var(--forest); width: 100%; position: relative; z-index: 50; }
.pub-header-inner {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.pub-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; font-weight: bold; font-size: 21px; flex-shrink: 0; }
.pub-logo img { width: 46px; height: 46px; object-fit: contain; }

.pub-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.pub-nav a {
    display: inline-block;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 7px;
}
.pub-nav a:hover, .pub-nav a.active { background: rgba(255,255,255,.14); color: white; }

.pub-dropdown { position: relative; }
.pub-dropdown summary {
    list-style: none;
    cursor: pointer;
    color: rgba(255,255,255,.88);
    font-weight: bold;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 7px;
}
.pub-dropdown summary::-webkit-details-marker { display: none; }
.pub-dropdown summary:after {
    content: ' \25BE';
    font-size: 11px;
    display: inline-block;
    transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.pub-dropdown summary:hover, .pub-dropdown summary.active { background: rgba(255,255,255,.14); color: white; }
.pub-dropdown[open] summary { background: rgba(255,255,255,.14); color: white; }
.pub-dropdown[open] summary:after { transform: rotate(180deg); }

/* The panel stays in the render tree at all times (overriding the
   browser's default details:not([open]) > * { display:none }) so we
   can animate it in/out with opacity + a little rise-and-settle
   motion, instead of the old instant show/hide snap. */
.pub-dropdown-panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px;
    min-width: 210px;
    box-shadow: 0 14px 32px rgba(29,49,41,.18);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top left;
    transition: opacity .2s ease, transform .22s cubic-bezier(.2,.9,.3,1.2), visibility .2s;
}
.pub-dropdown[open] > .pub-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.pub-dropdown-panel a {
    color: var(--ink);
    font-weight: bold;
    font-size: 14px;
    padding: 9px 12px;
    border-radius: 7px;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.pub-dropdown-panel a:hover, .pub-dropdown-panel a.active { background: var(--paper-dim); color: var(--forest); padding-left: 16px; }

/* Dropdowns are opened/closed by JS (hover with a grace period, plus
   click for touch/keyboard) in public_header.php, so only one is ever
   open at a time and moving the mouse away actually closes them. */

.pub-user-link { display: flex; align-items: center; gap: 8px; text-decoration: none; color: white; font-weight: bold; font-size: 14px; }
.pub-user-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--marigold); }
.pub-user-avatar.placeholder { background: rgba(255,255,255,.25); }

.pub-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pub-btn {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    font-size: 13.5px;
    padding: 9px 16px;
    border-radius: 8px;
    white-space: nowrap;
}
.pub-btn-primary { background: var(--marigold); color: var(--forest-deep); }
.pub-btn-primary:hover { background: var(--marigold-deep); color: white; }
.pub-btn-ghost { color: white; border: 1.5px solid rgba(255,255,255,.5); }
.pub-btn-ghost:hover { background: rgba(255,255,255,.12); }

.pub-nav-toggle {
    display: none;
    background: none;
    border: 1.5px solid rgba(255,255,255,.5);
    border-radius: 7px;
    color: white;
    font-size: 20px;
    padding: 4px 10px;
    cursor: pointer;
}

/* ---------- Page shell ---------- */

.pub-body { width: 90%; max-width: 1300px; margin: 0 auto; padding: 0 0 60px; }

.pub-hero {
    background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
    color: white;
    width: 100%;
}
.pub-hero-inner {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 64px 0 56px;
}
.pub-hero h1 { font-size: 40px; margin: 0 0 14px; max-width: 760px; line-height: 1.15; }
.pub-hero .tagline { color: var(--marigold); font-weight: bold; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin-bottom: 14px; }
.pub-hero p.lead { font-size: 17px; color: rgba(255,255,255,.88); max-width: 640px; margin: 0 0 26px; }
.pub-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pub-page-hero {
    background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
    color: white;
    width: 100%;
}
.pub-page-hero-inner { width: 90%; max-width: 1300px; margin: 0 auto; padding: 44px 0 40px; }
.pub-page-hero h1 { font-size: 30px; margin: 0 0 8px; }
.pub-page-hero p { color: rgba(255,255,255,.85); font-size: 15px; max-width: 620px; margin: 0; }
.pub-crumb { font-size: 12.5px; color: rgba(255,255,255,.65); margin-bottom: 10px; }
.pub-crumb a { color: rgba(255,255,255,.85); text-decoration: none; }

/* ---------- Sections ---------- */

.pub-section { padding: 56px 0; }
.pub-section.tight { padding: 40px 0; }
.pub-section.alt { background: var(--paper-dim); }
.pub-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.pub-section-head h2 { font-size: 27px; margin: 0 0 10px; color: var(--forest-deep); }
.pub-section-head p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.pub-eyebrow { color: var(--marigold-deep); font-weight: bold; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin-bottom: 8px; }

/* ---------- Cards / grids ---------- */

.pub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pub-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.pub-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.pub-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
}
.pub-card .icon { font-size: 28px; margin-bottom: 12px; }
.pub-card h3 { font-size: 17px; margin: 0 0 8px; color: var(--forest-deep); }
.pub-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.pub-card .quote { font-style: italic; color: var(--ink-soft); font-size: 13.5px; margin-top: 10px; }

.pub-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; text-align: center; }
.pub-stat .num { font-size: 34px; font-weight: bold; color: var(--marigold-deep); }
.pub-stat .label { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* Dark variant -- opt in with .pub-stat-grid.on-dark if a stats band
   ever sits on a forest/forest-deep background again. */
.pub-stat-grid.on-dark .pub-stat .num { color: var(--marigold); }
.pub-stat-grid.on-dark .pub-stat .label { color: rgba(255,255,255,.8); }

/* ---------- Project cards ---------- */

.pub-project {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pub-project .banner { background: var(--forest); color: white; padding: 20px 24px; }
.pub-project .banner h3 { margin: 0; font-size: 19px; }
.pub-project .banner .tagline { color: var(--marigold); font-size: 12px; font-weight: bold; letter-spacing: .04em; margin-top: 4px; }
.pub-project .content { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.pub-project .content p { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; flex: 1; }
.pub-project .support {
    background: var(--paper-dim);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--ink);
}
.pub-project .support strong { color: var(--forest-deep); }
.pub-project .hashtags { margin-top: 10px; font-size: 12.5px; color: var(--marigold-deep); font-weight: bold; }

/* ---------- CTA band ---------- */

.pub-cta {
    background: var(--marigold);
    border-radius: 18px;
    padding: 40px 36px;
    text-align: center;
}
.pub-cta h2 { margin: 0 0 10px; font-size: 25px; color: var(--forest-deep); }
.pub-cta p { margin: 0 0 22px; color: #6B4A16; font-size: 15px; }

/* ---------- Timeline / leadership tiers ---------- */

.pub-tier {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 18px;
}
.pub-tier h3 { margin: 0 0 4px; font-size: 18px; color: var(--forest-deep); }
.pub-tier .tier-label { font-size: 12px; font-weight: bold; text-transform: uppercase; letter-spacing: .05em; color: var(--marigold-deep); margin-bottom: 10px; }
.pub-tier p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Accordion (membership dos/donts, benefits) ---------- */

.pub-acc { background: white; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.pub-acc summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: bold; font-size: 15.5px; color: var(--forest-deep); display: flex; justify-content: space-between; align-items: center; }
.pub-acc summary::-webkit-details-marker { display: none; }
.pub-acc summary:after { content: '+'; font-size: 20px; color: var(--marigold-deep); }
.pub-acc[open] summary:after { content: '–'; }
.pub-acc .acc-content { padding: 0 20px 18px; font-size: 14.5px; color: var(--ink-soft); }
.pub-acc .acc-content ul { margin: 0; padding-left: 20px; }
.pub-acc .acc-content li { margin-bottom: 8px; }

/* ---------- Table-ish rows (benefits list) ---------- */

.pub-benefit { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pub-benefit:last-child { border-bottom: none; }
.pub-benefit .letter {
    flex-shrink: 0;
    width: 34px; height: 34px;
    background: var(--forest);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; font-size: 14px;
}
.pub-benefit h4 { margin: 0 0 4px; font-size: 15px; color: var(--forest-deep); }
.pub-benefit p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- Weekly schedule ---------- */

.pub-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.pub-week .day { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; }
.pub-week .day .name { font-weight: bold; color: var(--forest-deep); font-size: 13px; margin-bottom: 4px; }
.pub-week .day .what { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Contact ---------- */

.pub-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.pub-contact-card { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.pub-contact-card h3 { margin: 0 0 12px; font-size: 16px; color: var(--forest-deep); }
.pub-contact-card p { margin: 0 0 6px; font-size: 14.5px; color: var(--ink-soft); }
.pub-contact-card a { color: var(--forest); font-weight: bold; text-decoration: none; }

.pub-form label { display: block; font-size: 13.5px; font-weight: bold; color: var(--ink); margin: 14px 0 6px; }
.pub-form input, .pub-form textarea {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    padding: 11px 13px;
    font-size: 14.5px;
    font-family: inherit;
    background: white;
}
.pub-form textarea { resize: vertical; min-height: 120px; }
.pub-form .submit-row { margin-top: 20px; }
.pub-form button.pub-btn { border: none; cursor: pointer; }
.pub-alert { padding: 13px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.pub-alert.ok { background: #EEF4EE; color: var(--forest-deep); border: 1px solid var(--forest); }
.pub-alert.err { background: #FCEDEA; color: #8A2F22; border: 1px solid var(--clay); }

/* ---------- Constitution (constitution.php) ---------- */

.pub-const-layout { display: flex; gap: 32px; align-items: flex-start; }
.pub-const-toc {
    flex: 0 0 240px;
    position: sticky;
    top: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px;
    max-height: 80vh;
    overflow-y: auto;
}
.pub-const-toc .toc-heading { font-size: 12px; font-weight: bold; color: var(--marigold-deep); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.pub-const-toc a { display: block; font-size: 13px; color: var(--ink-soft); text-decoration: none; padding: 5px 0; }
.pub-const-toc a:hover { color: var(--forest); }
.pub-const-content { flex: 1; min-width: 0; }
.pub-const-article {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 20px;
    scroll-margin-top: 100px;
}
.pub-const-article h2 { font-size: 19px; color: var(--forest-deep); margin: 0 0 12px; }
.pub-const-article ol, .pub-const-article ul { padding-left: 22px; margin: 0; }
.pub-const-article ol ol, .pub-const-article ul ul { margin-top: 6px; }
.pub-const-article p, .pub-const-article li { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.pub-const-article li { margin-bottom: 8px; }

@media (max-width: 900px) {
    .pub-const-layout { flex-direction: column; }
    .pub-const-toc { position: static; width: 100%; max-height: none; }
}

/* ---------- Single news post (news_post.php) ---------- */

.pub-post-hero-cover { width: 100%; max-height: 340px; object-fit: cover; border-radius: 14px; margin-bottom: 22px; }
.pub-post-body { font-size: 15.5px; color: var(--ink); line-height: 1.75; }
.pub-post-body p { margin: 0 0 14px; }
.pub-post-body h2 { font-size: 21px; color: var(--forest-deep); margin: 22px 0 10px; }
.pub-post-body h3 { font-size: 18px; color: var(--forest); margin: 18px 0 8px; }
.pub-post-body blockquote { border-left: 3px solid var(--forest); margin: 14px 0; padding: 4px 16px; color: var(--ink-soft); font-style: italic; }
.pub-post-body ul, .pub-post-body ol { padding-left: 24px; margin: 0 0 14px; }
.pub-post-meta { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }

/* ---------- News / post cards (mirrors member-portal convention) ---------- */

.pub-post-card { background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pub-post-card .cover { width: 100%; height: 160px; object-fit: cover; display: block; background: var(--paper-dim); }
.pub-post-card .content { padding: 16px 18px; }
.pub-post-card .tag { display: inline-block; font-size: 11.5px; font-weight: bold; padding: 4px 10px; border-radius: 12px; background: #EEF4EE; color: var(--forest-deep); border: 1px solid var(--forest); margin-bottom: 8px; }
.pub-post-card .title { font-size: 16px; font-weight: bold; color: #1D3129; margin: 0 0 6px; }
.pub-post-card .meta { font-size: 11.5px; color: var(--ink-soft); }

/* ---------- Footer ---------- */

.pub-footer { background: var(--forest-deep); color: rgba(255,255,255,.85); width: 100%; margin-top: 0; }
.pub-footer-inner {
    width: 90%; max-width: 1300px; margin: 0 auto; padding: 44px 0 26px;
    display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between;
}
.pub-footer-col { flex: 1; min-width: 190px; font-size: 14px; line-height: 1.9; }
.pub-footer-col a { display: block; color: rgba(255,255,255,.85); text-decoration: none; padding: 2px 0; }
.pub-footer-col a:hover { color: var(--marigold); }
.pub-footer-title { font-size: 12px; color: var(--marigold); text-transform: uppercase; letter-spacing: .05em; font-weight: bold; margin-bottom: 10px; }
.pub-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); text-align: center; padding: 16px 0; font-size: 12.5px; color: rgba(255,255,255,.6); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .pub-nav { display: none; }
    .pub-nav.open { display: flex; flex-direction: column; align-items: stretch; width: 100%; background: var(--forest-deep); padding: 8px 0; }
    .pub-nav.open a { padding: 12px 16px; border-radius: 0; }
    .pub-nav-toggle { display: inline-block; }
    .pub-header-inner { flex-wrap: wrap; }
    .pub-actions { margin-left: auto; }

    .pub-dropdown summary { padding: 12px 16px; }
    .pub-dropdown-panel {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0 0 4px 14px;
        /* On mobile the panel sits inline in the stacked menu, so a
           hidden-but-still-visible box (opacity/visibility) would
           leave a blank gap under every collapsed item -- collapse
           it out of the flow instead, with a quick height animation. */
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: none;
        transform: none;
        transition: max-height .22s ease;
    }
    .pub-dropdown[open] > .pub-dropdown-panel {
        max-height: 400px;
        pointer-events: auto;
    }
    .pub-dropdown-panel a { color: rgba(255,255,255,.85); padding: 10px 16px; }
    .pub-dropdown-panel a:hover, .pub-dropdown-panel a.active { background: rgba(255,255,255,.12); color: white; }
}

@media (max-width: 700px) {
    .pub-body, .pub-hero-inner, .pub-page-hero-inner, .pub-header-inner, .pub-footer-inner { width: 94%; }
    .pub-hero h1 { font-size: 30px; }
    .pub-hero-actions { flex-direction: column; }
    .pub-hero-actions .pub-btn { text-align: center; }
    .pub-cta { padding: 30px 20px; }
}

/* ---------- Hero slider (hero_slides.php / index.php) ---------- */

.pub-hero-slider { position: relative; width: 100%; height: 480px; overflow: hidden; background: var(--forest-deep); }
.pub-hero-slides { position: relative; width: 100%; height: 100%; }
.pub-hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.9s ease;
}
.pub-hero-slide.is-active { opacity: 1; visibility: visible; }

/* The overlay used to be a full-width dark gradient tinting the whole
   photo. Now it's just a positioning layer (no background of its
   own) -- the dark color lives only on .pub-hero-slide-textbox, a
   bounded panel sized to the text, so the rest of the photo stays
   bright and visible. */
.pub-hero-slide-overlay {
    width: 100%; height: 100%;
    display: flex; align-items: center;
}
.pub-hero-slide-inner { width: 90%; max-width: 1300px; margin: 0 auto; color: white; }
.pub-hero-slide-textbox {
    display: inline-block;
    max-width: 600px;
    background: rgba(29,49,41,.82);
    padding: 26px 32px;
    border-radius: 16px;
}
.pub-hero-slide-inner h1 { font-size: 34px; margin: 0 0 12px; line-height: 1.15; }
.pub-hero-slide-inner p { font-size: 15.5px; color: rgba(255,255,255,.92); margin: 0 0 20px; }
.pub-hero-slide-inner .pub-hero-slide-textbox > p:last-child,
.pub-hero-slide-inner .pub-hero-slide-textbox > a:last-child { margin-bottom: 0; }
.pub-hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.pub-hero-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.pub-hero-dot.is-active { background: var(--marigold); width: 24px; border-radius: 5px; }

.pub-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(29,49,41,.45);
    color: white;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    transition: background .2s ease, transform .2s ease;
}
.pub-hero-arrow:hover { background: rgba(29,49,41,.75); transform: translateY(-50%) scale(1.08); }
.pub-hero-arrow.prev { left: 16px; }
.pub-hero-arrow.next { right: 16px; }

@media (max-width: 700px) {
    .pub-hero-slider { height: 380px; }
    .pub-hero-slide-overlay { align-items: flex-end; padding-bottom: 26px; }
    .pub-hero-slide-textbox { max-width: 100%; padding: 20px 22px; border-radius: 14px; }
    .pub-hero-slide-inner h1 { font-size: 24px; }
    .pub-hero-arrow { width: 34px; height: 34px; font-size: 13px; }
    .pub-hero-arrow.prev { left: 8px; }
    .pub-hero-arrow.next { right: 8px; }
}

/* ---------- Birthday celebrants row (homepage) ---------- */

.pub-birthday-row { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; }
.pub-birthday-card { flex: 0 0 auto; width: 116px; text-align: center; }
.pub-birthday-card img, .pub-birthday-card .ph {
    width: 100px; height: 124px; border-radius: 16px; object-fit: cover;
    border: 3px solid var(--marigold); margin: 0 auto 8px; display: block;
}
.pub-birthday-card img { cursor: zoom-in; transition: transform .15s ease; }
.pub-birthday-card img:hover { transform: scale(1.04); }
.pub-birthday-card .ph {
    background: var(--paper-dim); display: flex; align-items: center; justify-content: center;
    color: var(--forest-deep); font-weight: bold; font-size: 30px;
}
.pub-birthday-card .name { font-weight: bold; font-size: 13.5px; color: var(--forest-deep); }
.pub-birthday-card .sector { font-size: 11.5px; color: var(--ink-soft); }

/* ---------- Public Members grid (members.php) ---------- */

.pub-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 24px;
}
.pub-member-card { text-align: center; }
.pub-member-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid var(--marigold);
    display: block;
    margin: 0 auto 10px;
    background: var(--paper-dim);
    transition: transform .15s ease;
}
img.pub-member-photo { cursor: zoom-in; }
img.pub-member-photo:hover { transform: scale(1.03); }
.pub-member-initials {
    display: flex; align-items: center; justify-content: center;
    color: var(--forest-deep); font-weight: bold; font-size: 30px;
}
.pub-member-name { font-weight: bold; font-size: 14px; color: var(--forest-deep); }
.pub-member-sector { font-size: 12px; color: var(--ink-soft); }
@media (max-width: 480px) {
    .pub-member-grid { grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); gap: 14px; }
    .pub-member-photo { border-radius: 14px; }
}
