/* ============================================================
   GetInvolved Page — Overrides for dark theme consistency
   ============================================================ */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Header overrides (handled by styles.css) */

.headline {
    text-align: center;
    margin: 0 0 20px;
}

/* Standardized content constraints for readable line lengths */
.message {
    max-width: 750px;
    margin: 0 auto 25px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.message h2, .message h3 {
    margin-bottom: 10px;
}

.message p {
    margin-top: 0;
    margin-bottom: 15px;
}

/* Custom Box/Card Layouts matching site semantics */
.card-item {
    border: 2px solid #475569;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: transparent;
}

.box {
    display: inline-block;
    background: #262626;
    color: #c0c0c0;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: monospace;
    word-break: break-all;
    margin-top: 10px;
    border: 1px solid #3a3a3a;
}

/* List layout tightening */
ul {
    margin-top: 5px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 700px) {
    .nav-toggle {
        display: flex;
        order: 2;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #000000;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #1a1a1a;
    }

    .site-nav.active {
        max-height: 400px;
    }

    .site-nav li {
        border-bottom: 1px solid #0a0a0a;
    }

    .site-nav a {
        display: block;
        padding: 1rem 1.5rem;
    }

    .site-header {
        flex-wrap: wrap;
        position: relative;
    }

    nav {
        width: 100%;
        order: 3;
    }
}
