.general-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 1rem;
}

.general-section .container .links {

    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.general-section h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.general-section p {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
}

.remove-vertical-margin {
    margin-top: 0;
    margin-bottom: 0;
}

.add-margin {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.general-section .container.remove-vertical-margin p {
    margin-bottom: 1.5rem;
}

.general-section a,
.general-section a:visited {
    margin: 0 auto;
    display: inline-block;
    padding: 0.50rem 1.00rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    border: 1px solid transparent;
    font-size: 1.25rem;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        border-radius 150ms ease;
}

.color-2 {
    background-color: var(--secondary-color);
}

.general-section a:hover {
    border-radius: 16px;
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.general-section p a,
.general-section p a:visited {
    display: inline;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--primary-color);
    font-size: inherit;
    font-weight: 600;
}

.general-section p a:hover {
    background: none;
    border: 0;
    color: var(--accent-color);
}

/* override general-section for specific home page cases */
.mission-container p {
    margin: 0 auto 3rem;
    text-align: left;
}

.support-our-work p {
    margin: 0 auto 3rem;
    text-align: left;
}

.support-our-work .links a,
.support-our-work .links a:visited {
    min-width: 12.5rem;
    text-align: center;
}

.education-overview.content-section .container {
    align-items: center;
}

.education-overview.content-section p {
    margin: 0 auto 1.5rem;
    text-align: left;
}

.education-overview.content-section .links {
    width: 100%;
    justify-content: center;
}

.content-section .container {
    align-items: stretch;
}

.content-section h2 {
    font-size: 1.8rem;
    text-align: center;
}

.content-section p {
    max-width: 900px;
    margin: 0 0 1.5rem;
    text-align: left;
}

.content-section ul {
    max-width: 900px;
    padding-left: 1.25rem;
    margin: 0 0 2rem;
}

.content-section .links {
    justify-content: flex-start;
}

#grief-education-workshop .container {
    align-items: center;
}

#grief-education-workshop p {
    margin: 0 auto 1.5rem;
    text-align: left;
}

#grief-education-workshop ul {
    margin: 0 auto 2rem;
}

#grief-education-workshop .links {
    width: 100%;
    justify-content: center;
}

@media (max-width: 1023px) {
    .support-our-work .links {
        flex-direction: column;
        align-items: center;
    }

    .support-our-work .links a,
    .support-our-work .links a:visited {
        width: min(100%, 20rem);
    }

    .content-section h2 {
        text-align: center;
    }

    .content-section .links {
        justify-content: center;
    }
}
