/* Donation page */

main.page-donation {
    font-size: 15px;
    line-height: 1.55;
}

main.page-donation > section:first-of-type {
    max-width: 42rem;
}

.donate-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0;
}

.donate-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: min(256px, 100%);
    max-width: 100%;
    height: 50px;
    padding: 0 1.25rem;
    border-radius: 25px;
    border: none;
    background-color: var(--color-accent);
    color: #fff;
    font-size: 1.125rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
}

.donate-button:hover {
    background-color: #0357d4;
    color: #fff;
    text-decoration: none;
}

.donate-button.yellow {
    background-color: #ffdd00;
    color: #000;
    overflow: hidden;
}

.donate-button.yellow:hover {
    background-color: #e6c700;
    color: #000;
}

.bmc-btn-container {
    height: 50px;
}

.bmc-btn {
    text-align: left !important;
    height: 50px !important;
    padding: 0 12px !important;
}

#donors {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid #ccc;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

#donors .title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.125rem, 4vw, 1.5625rem);
    font-weight: 400;
    color: var(--color-text);
}

#donors .list {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@media (prefers-color-scheme: dark) {
    #donors {
        border-top-color: #555;
    }
}

@media (max-width: 600px) {
    .donate-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .donate-button {
        width: 100%;
        min-width: 0;
    }

    #donors .list {
        font-size: 13px;
    }
}
