/* Donate page sections. All donate rules live here only; keep them out of responsiveness-style.css.
   Colours: CBCI purple (#4c07cd) and the dark navy used in the footer. */

.donations-section,
.product-center {
    box-sizing: border-box;
}

.donations-section *,
.product-center * {
    box-sizing: inherit;
}

.donations-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.donations-section > header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.donations-section > header h1 {
    margin: 0;
    color: #1a0057;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.donations-section > section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.donations-section article {
    background: #ffffff;
    border: 1px solid #e4dcf7;
    border-top: 4px solid #4c07cd;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(26, 0, 87, 0.08);
}

.donations-section article header h3 {
    margin: 0 0 1rem;
    color: #4c07cd;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.donations-section article p {
    margin: 0;
    color: #2b2b2b;
    line-height: 1.7;
}

.donations-section article span {
    color: #4c07cd;
    font-weight: 700;
}

.product-center {
    background: #1a0057;
    color: #ffffff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.product-center article {
    max-width: 760px;
    margin: 0 auto;
}

.product-center h3 {
    margin: 0 0 0.75rem;
    color: #2fe6b0;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-center h1 {
    margin: 0 0 1.25rem;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    line-height: 1.25;
}

.product-center p {
    margin: 0 0 2rem;
    line-height: 1.7;
}

.product-center h2 {
    margin: 0 0 1.25rem;
    font-size: 1.2rem;
}

.email-CTA {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.6rem;
    background: #6600d6;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.email-CTA:hover {
    background: #7d1ff0;
}

.email-CTA:focus-visible {
    outline: 3px solid #2fe6b0;
    outline-offset: 3px;
}

.email-CTA:active {
    background: #5200b3;
}

@media (max-width: 600px) {
    .donations-section {
        padding: 2.5rem 1rem;
    }

    .donations-section article {
        padding: 1.5rem;
    }

    .product-center {
        padding: 2.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .email-CTA {
        display: flex;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
    }
}
