/* ── Donate page ── */
.donate-widget-wrap {
    padding-top: 15px;
    display: flex;
    justify-content: center;
}

dbox-widget {
    display: block;
    margin: 0 auto;
}

/* ── Donate nav active state ── */
.nav-donate.active-donate {
    background: #991b1b;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.15);
}

/* ── Page header ── */
.page-header {
    background: #fff;
    padding: 2.25rem 2rem 1.75rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.page-header-sub {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ── About content area ── */
.about-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

/* ── Section ── */
.about-section {
    padding-top: 3rem;
    margin-bottom: 0;
}

.about-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-label {
    background: #000;
    color: #fff;
    padding: 5px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: nowrap;
    border-radius: 3px;
    flex-shrink: 0;
}

.section-rule {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* ── Mission text ── */
.mission-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.mission-text p + p {
    margin-top: 1rem;
}

/* ── Board grid ── */
.board-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.board-name {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.board-name:nth-last-child(-n+3):nth-child(3n+1),
.board-name:nth-last-child(-n+3):nth-child(3n+1) ~ .board-name {
    border-bottom: none;
}

/* ── Page footer ── */
.page-footer {
    border-top: 1px solid #e0e0e0;
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
    color: #777;
    line-height: 1.8;
    margin-top: 2rem;
}

.page-footer strong { color: #000; }
.page-footer a      { color: #000; text-underline-offset: 2px; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .page-header {
        padding: 2rem 1.25rem 1.5rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .about-content {
        padding: 0 1.25rem 3rem;
    }

    .board-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .board-name:nth-last-child(-n+3):nth-child(3n+1),
    .board-name:nth-last-child(-n+3):nth-child(3n+1) ~ .board-name {
        border-bottom: 1px solid #e0e0e0;
    }

    .board-name:nth-last-child(-n+2):nth-child(2n+1),
    .board-name:nth-last-child(-n+2):nth-child(2n+1) ~ .board-name {
        border-bottom: none;
    }
}

@media (max-width: 400px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-name {
        border-bottom: 1px solid #e0e0e0;
    }

    .board-name:last-child {
        border-bottom: none;
    }
}
