/* =============================================================================
   BORN WHOLE — STYLESHEET
   Sections:
     1.  Variables & Reset
     2.  Base / Body
     3.  Navigation
     4.  Footer
     5.  Home Page & Hero
     6.  Ask / AI Prompt
     7.  Organization Cards & Groups
     8.  Shared Components (TOC, Back to Top, Nav Buttons)
     9.  About Page
     10. Get Involved Page
     11. Events & News Pages
     12. FAQ Page
     13. Resources Page
     14. Disclaimers Page
   ============================================================================= */


/* =============================================================================
   1. Variables & Reset
   ============================================================================= */

:root {
    /* Change --page-bg to update the site background colour everywhere */
    --page-bg: #ede8f5;
    /* Change --brand-size to update the site name font size in both nav and footer */
    --brand-size: 1.1rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}


/* =============================================================================
   2. Base / Body
   ============================================================================= */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--page-bg);
    color: #1a1a1a;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
}
main h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 1.5rem;
}
main p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: #444;
    margin-bottom: 0.75rem;
    max-width: 720px;
}


/* =============================================================================
   3. Navigation
   ============================================================================= */

nav.site-nav {
    background-color: #0f1f3d;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    position: relative;
}
.brand-logo {
    height: 3.0rem;
    width: auto;
    vertical-align: middle;
    margin-right: 0.5rem;
}
nav.site-nav a.brand {
    text-decoration: none !important;
    cursor: pointer;
    flex: 1;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.brand-name {
    font-size: var(--brand-size);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
}
.brand-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.75);
    line-height: 1;
}
.brand-version {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.65);
    line-height: 1;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    margin: 0 1rem;
    flex: 1;
    justify-content: flex-end;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 0.4rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.nav-links a:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* Right arrow for non-dropdown nav links */
.nav-links li:not(.dropdown) a::after {
    content: '\2192';
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
    font-size: 0.9em;
}
.nav-links li:not(.dropdown) a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Dropdown submenu */
.nav-links .dropdown { position: relative; }
.nav-links .dropdown > a::after { content: ' \25BE'; font-size: 0.75em; opacity: 1; transform: none; transition: none; }
.dropdown-menu {
    display: none;
    opacity: 0;
    transform: translateY(-4px);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #fff;
    list-style: none;
    min-width: 180px;
    border-radius: 8px;
    border: 1px solid #e4e8f0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 200;
    padding: 0.5rem;
    margin: 0;
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    background: rgba(26,74,138,0.45);
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.dropdown-menu li a::after {
    content: '\2192';
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.15s, transform 0.15s;
    font-size: 0.85em;
    color: #1a4a8a;
}
.dropdown-menu li a:hover {
    background: rgba(26,74,138,0.65);
    color: #fff;
}
.dropdown-menu li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}
.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown .dropdown-menu.mobile-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}
@media (max-width: 480px) {
    nav.site-nav {
        flex-wrap: wrap;
        padding: 0.75rem 0.5rem 0;
        gap: 0;
    }
    nav.site-nav a.brand {
        flex: none;
        width: 100%;
        padding-bottom: 0.5rem;
    }
    .nav-links {
        width: 100%;
        flex: none;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.5rem;
        margin: 0;
        padding: 0.5rem 0;
        scrollbar-width: none;
    }
    .nav-links::-webkit-scrollbar { display: none; }
    .nav-links a {
        font-size: 0.78rem;
        padding: 0.35rem 0.65rem;
        white-space: nowrap;
    }
    /* Dropdowns on touch — tap to expand as a full-width sub-row */
    .nav-links .dropdown > a::after { display: none; }
    .nav-links .dropdown:hover .dropdown-menu { display: none; }
    .nav-links .dropdown .dropdown-menu.mobile-open { display: flex; }
    .dropdown-menu {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        border-top: 1px solid #e4e8f0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0.5rem;
        gap: 0.5rem;
        scrollbar-width: none;
        display: none;
    }
    .dropdown-menu::-webkit-scrollbar { display: none; }

    .dropdown-menu li a {
        white-space: nowrap;
        font-size: 0.78rem;
        padding: 0.35rem 0.65rem;
    }
}



/* =============================================================================
   4. Footer
   ============================================================================= */

.site-footer {
    background-color: #1a2e50;
    padding: 0.6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}
.footer-brand {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    text-decoration: none;
}
.footer-brand:hover { color: #fff; }

.footer-disclaimers {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-disclaimers:hover { color: #fff; }
.footer-github {
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.footer-github:hover { color: #fff; }
.footer-github-logo {
    width: 2.4rem;
    height: 2.4rem;
    display: block;
}
@media (max-width: 480px) {
    .site-footer {
        justify-content: space-around;
        padding: 1rem;
    }
}


/* =============================================================================
   5. Home Page & Hero
   ============================================================================= */

.home-layout {
    display: grid;
    grid-template-columns: 3fr 4fr 3fr;
    flex: 1;
    overflow: hidden;
}
.home-left {
    background-color: var(--page-bg);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 2.5rem;
    overflow-y: auto;
}
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #0f1f3d;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.hero-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    max-width: 480px;
}
.hero-text .tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f1f3d;
    border-left: 4px solid #5ba3f5;
    padding-left: 1rem;
    margin-top: 2rem;
}
.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.home-middle {
    background-color: #0f1f3d;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem 3rem;
    overflow-y: auto;
}
.home-events {
    background-color: #162640;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 2rem 3rem;
    overflow-y: auto;
}
.home-events-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
}
.home-events-heading {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.home-events-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.home-event-org-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.home-event-org-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.home-event-org-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.03em;
}
.home-event-org-img {
    height: 1.8rem;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}
.home-event-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-left: 0.25rem;
}
.home-event-date {
    font-size: 0.75rem;
    font-weight: 700;
    color: #5ba3f5;
    letter-spacing: 0.04em;
}
.home-event-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
}
.home-event-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #5ba3f5;
    text-decoration: none;
    margin-top: 0.2rem;
}
.home-event-link:hover { text-decoration: underline; }
.event--archived {
    opacity: 0.6;
}
.archived-label {
    font-style: italic;
    font-weight: 400;
    font-size: 0.95em;
}
.home-events-empty {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
}
.home-events-empty a {
    color: #5ba3f5;
    text-decoration: none;
}
.home-events-more {
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    padding-top: 0.5rem;
}
.home-events-more:hover { color: #fff; }
.ask-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}
@media (max-width: 768px) {
    .home-layout { grid-template-columns: 1fr; height: auto; }
    .home-left   { padding: 2rem 1.5rem; order: 1; }
    .home-middle { padding: 2rem 1.5rem; order: 2; }
    .home-events { padding: 2rem 1.5rem; order: 3; }
    .hero-image  { display: none; }
}


/* =============================================================================
   6. Ask / AI Prompt
   ============================================================================= */

.prompt-form { flex-shrink: 0; }
.prompt-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}
.prompt-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    background: transparent;
}
.prompt-input::placeholder { color: #555; }
.prompt-submit {
    background: linear-gradient(135deg, #1a4a8a, #5ba3f5);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.prompt-submit:hover { opacity: 0.85; }
.ask-response {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}
.ask-question {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e4e8f0;
}
.ask-response:not(:empty) {
    margin-top: 1rem;
    background: var(--page-bg);
    border: 1px solid #e4e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
}
.ask-response p {
    color: #1a1a1a;
    font-size: 1.15rem;
    line-height: 1.8;
    font-weight: 500;
    margin-bottom: 0;
}
.ask-sources a {
    color: #5ba3f5;
    text-decoration: none;
}
.ask-sources a:hover { text-decoration: underline; }
.ask-sources {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}
.ask-disclaimer {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: #aaa;
    font-style: italic;
    border-top: 1px solid #e4e8f0;
    padding-top: 0.5rem;
}


/* =============================================================================
   7. Organization Cards & Groups
   ============================================================================= */

.org-group {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.org-group h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f1f3d;
    margin-bottom: 1rem;
}
.cards {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.organization-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.organization-card:hover {
    transform: translateY(-8px) scale(1.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #5ba3f5;
    background-color: #fffde7;
}
.organization-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid #e4e8f0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.org-thumbnail-link {
    display: block;
    width: 100%;
}
.org-thumbnail {
    border-radius: 8px;
    width: 100%;
    height: 102px;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s;
}
.org-thumbnail-link:hover .org-thumbnail { opacity: 0.8; }
.org-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.org-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}
.organization-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.5;
}
.organization-card p {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.6;
}
.org-link {
    display: block;
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a4a8a;
    text-decoration: none;
    padding: 0.3rem 0;
    border: 1.5px solid #c8dff7;
    border-radius: 50px;
    background: transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.org-link:hover {
    background-color: #1a4a8a;
    color: #fff;
    border-color: #1a4a8a;
}
.org-link--disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.organization-card .placeholder {
    font-size: 0.85rem;
    color: #aaa;
    font-style: italic;
}
.org-invite {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}
.org-invite a {
    color: #1a4a8a;
    font-weight: 600;
    text-decoration: none;
}
.org-invite a:hover { color: #5ba3f5; }


/* =============================================================================
   8. Shared Components (TOC, Back to Top, Nav Buttons)
   ============================================================================= */

/* Used on organizations and resources pages */
.toc {
    background: #fff;
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.toc-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 0.5rem;
}
.toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.toc a {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a4a8a;
    text-decoration: none;
}
.toc a:hover { color: #5ba3f5; }

.back-to-top {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.6rem 1.25rem;
    background-color: #0f1f3d;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background-color 0.2s;
}
.back-to-top:hover { background-color: #1a4a8a; }

/* Gradient pill nav buttons — used on organizations, resources, and get-involved pages */
.get-involved-nav {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}
.get-involved-nav-link {
    flex: 1;
    text-align: center;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, #1a4a8a, #5ba3f5);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 50px;
    transition: opacity 0.2s;
}
.get-involved-nav-link:hover { opacity: 0.85; }



/* =============================================================================
   9. About Page
   ============================================================================= */

.mission-page {
    max-width: 720px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.mission-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 1.5rem;
}
.mission-page h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f1f3d;
    margin: 2rem 0 0.75rem;
}
.mission-page p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.2rem;
}
.mission-page .tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f1f3d;
    border-left: 4px solid #5ba3f5;
    padding-left: 1rem;
    margin-top: 2rem;
}
.mission-page pre {
    background: var(--page-bg);
    border: 1px solid #e4e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1rem 0;
}
.mission-page code {
    font-family: monospace;
    font-size: 0.9rem;
    color: #0f1f3d;
}
.mission-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}
.mission-page th {
    background: #0f1f3d;
    color: #fff;
    padding: 0.5rem 1rem;
    text-align: left;
    font-weight: 700;
}
.mission-page td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e4e8f0;
    color: #444;
}
.mission-page tr:nth-child(even) td { background: #f9f8fc; }
.about-mission {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: #fff;
    border-radius: 12px;
    border-left: 4px solid #5ba3f5;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.about-tagline {
    margin-top: 2.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f1f3d;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    padding: 1.5rem 2rem;
    border-top: 2px solid #5ba3f5;
    border-bottom: 2px solid #5ba3f5;
}

.about-mission-statement {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: #0f1f3d !important;
    line-height: 1.7;
    margin-bottom: 0 !important;
}


/* =============================================================================
   10. Get Involved Page
   ============================================================================= */

.tech-scale {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: -1.5rem 2rem 2.5rem;
}
.tech-scale-bar {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #5ba3f5, #0f1f3d);
}
.tech-scale-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    white-space: nowrap;
}
.tech-scale-arrow {
    font-size: 1.6rem;
    line-height: 1;
    vertical-align: middle;
    color: #5ba3f5;
}
.get-involved-page {
    max-width: 760px;
    margin: 4rem auto;
    padding: 0 2rem;
    scroll-behavior: smooth;
}
.get-involved-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.get-involved-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 0;
}
.github-link {
    color: #1a1a1a;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.github-link:hover { opacity: 0.6; }
.github-logo {
    width: 2rem;
    height: 2rem;
    fill: #1a1a1a;
    display: block;
}
.get-involved-page > p {
    color: #444;
    margin-bottom: 2.5rem;
}
.get-involved-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e4e8f0;
}
.get-involved-section:last-child { border-bottom: none; }
.get-involved-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 0.75rem;
}
.get-involved-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 1.25rem 0 0.5rem;
}
.get-involved-section p, .get-involved-section li {
    color: #444;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.get-involved-section ul, .get-involved-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.get-involved-section pre {
    background: #0f1f3d;
    color: #e4e8f0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    font-size: 0.85rem;
    line-height: 1.7;
    overflow-x: auto;
    margin: 1rem 0;
}
.get-involved-btn {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, #1a4a8a, #5ba3f5);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: opacity 0.2s;
}
.get-involved-btn:hover { opacity: 0.85; }
.get-involved-btn--secondary {
    background: transparent;
    color: #1a4a8a;
    border: 2px solid #1a4a8a;
    margin-left: 0.75rem;
}
.get-involved-btn--secondary:hover {
    background: #1a4a8a;
    color: #fff;
    opacity: 1;
}
.get-involved-audience {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.get-involved-community {
    margin-top: 3rem;
    border-top: 1px solid #e4e8f0;
    padding-top: 2rem;
}
.community-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(135deg, #1a4a8a, #5ba3f5);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.2s;
}
.community-link:hover { opacity: 0.9; }
.community-github-logo {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
}
.community-link span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.community-link strong { font-size: 1.1rem; }
.community-link small {
    font-size: 0.85rem;
    opacity: 0.85;
}


/* =============================================================================
   11. Events & News Pages
   ============================================================================= */

.events-page {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.events-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 0.75rem;
}
.events-page > p {
    color: #444;
    margin-bottom: 2rem;
}
.events-section-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f1f3d;
    margin: 2rem 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #5ba3f5;
}
p.events-section-note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin: 0;
}
.events-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.events-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    background-color: #0f1f3d;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.events-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e4e8f0;
    vertical-align: top;
}
.events-table tr:hover td { background-color: #f5f7fc; }
.events-date {
    white-space: nowrap;
    color: #555;
    font-weight: 600;
}
.events-org { text-align: center; }
.events-org-thumbnail {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}
.events-org-thumbnail:hover { opacity: 0.75; }
.events-link {
    display: inline-block;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a4a8a;
    text-decoration: none;
    padding: 0.3rem 0.75rem;
    border: 1.5px solid #c8dff7;
    border-radius: 50px;
    background: transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.events-link:hover {
    background-color: #1a4a8a;
    color: #fff;
    border-color: #1a4a8a;
}


/* =============================================================================
   12. FAQ Page
   ============================================================================= */

.faq-page {
    max-width: 720px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.faq-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 0.75rem;
}
.faq-page > p {
    color: #444;
    margin-bottom: 2rem;
}
.faq-section-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f1f3d;
    margin: 2rem 0 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #5ba3f5;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid #e4e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #0f1f3d;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: #5ba3f5;
    transition: transform 0.2s;
}
details[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
    padding: 1rem 1.5rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #444;
    border-top: 1px solid #e4e8f0;
}
.faq-action-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a4a8a;
    text-decoration: none;
}
.faq-action-link:hover { text-decoration: underline; }


/* =============================================================================
   13. Resources Page
   ============================================================================= */

.resources-page {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.resources-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 0.75rem;
}
.resources-page > p {
    color: #444;
    margin-bottom: 2rem;
}
.resource-section { margin-top: 2.5rem; }
.resource-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e4e8f0;
}
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}
.resource-card {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e4e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #5ba3f5;
}
.resource-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.resource-info {
    padding: 1rem;
    background: #fff;
    flex: 1;
}
.resource-info h3 {
    font-size: 0.71rem;
    font-weight: 700;
    color: #0f1f3d;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}
.resource-count {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
}
.resource-link-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, #1a4a8a, #5ba3f5);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: opacity 0.2s;
}
.resource-link-btn:hover { opacity: 0.85; }
.resource-empty {
    color: #888;
    font-style: italic;
}
.resource-empty code {
    font-family: monospace;
    background: var(--page-bg);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}


/* =============================================================================
   14. Disclaimers Page
   ============================================================================= */

.disclaimers-page {
    max-width: 760px;
    margin: 4rem auto;
    padding: 0 2rem;
}
.disclaimers-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 0.75rem;
}
.disclaimers-page > p {
    color: #444;
    margin-bottom: 2.5rem;
}
.disclaimer-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid #e4e8f0;
}
.disclaimer-section:last-child { border-bottom: none; }
.disclaimer-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f1f3d;
    margin-bottom: 0.75rem;
}
.disclaimer-section p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
