.post-page .ds-container,
.ds-post,
.ds-related .ds-container {
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ds-post__header {
    text-align: center;
    margin: 3rem;
}

.ds-post__title {
    font-size: 2.875rem;
    line-height: 1.2;
    font-weight: 500;
    color: black;
}

.ds-post__figure {
    margin: 1rem auto 1.5rem;
}

.ds-post__image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover; /* crops instead of squishing */
    border-radius: 16px;
    display: block;
}

.ds-post__lead {
    max-width: 70rem;
    margin: 0 auto 1.125rem;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

.ds-post__content {
    max-width: 70rem;
    margin: 4rem auto;
    font-size: 1.25rem;
    line-height: 1.8;
    padding: 0 2rem;
    font-weight: 400;
}
.ds-post__content p {
    margin: 0 0 0.875rem;
}

.ds-post__content h2,
.ds-post__content h3 {
    margin: 1.75rem 0 0.75rem;
    line-height: 1.3;
}

.ds-post__content ul,
.ds-post__content ol {
    margin: 0 0 1rem 1.25rem;
}

.ds-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    margin: 1rem auto 2rem auto;
}

/* Related */
.ds-related {
    padding: 3.75rem 0 2.5rem;
}

.ds-related__title {
    font-size: 2.875rem;
    font-weight: 500;
    margin: 0 0 1.375rem 0;
}

.ds-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.125rem;
    /*padding: 0 2rem;*/
}


@media (min-width: 820px) {
    .ds-related__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.ds-card {
    background: var(--color-light-green-bg);
    border-radius: 1rem;
    padding: 1.375rem;
    display: flex;
    flex-direction: column;
    min-height: 13.125rem;
}
.ds-card__title {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
}

.ds-card__excerpt {
    margin: 0 0 1.125rem;
    line-height: 1.6;
    font-size: 1.25rem;
    font-weight: 400;
}

.ds-card__link {
    margin-top: auto;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    gap: 0.375rem;
    align-items: center;
    color: var(--color-green-dark);
    font-size: 1.25rem;
}

.ds-card__link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .post-page .ds-container,
    .ds-post
    {
        padding: 1rem;
    }

    .ds-related .ds-container {
        margin-bottom: 2rem;
        padding: 1rem;
    }


    .ds-post__figure {
        margin-top: 2rem;
    }

    .ds-post__header {
        margin: 0;
    }

    .ds-post__content {
        padding: 1rem;
        margin: 1rem auto;
    }

    .ds-post__title {
        font-size: 2rem;
        text-align: left;
    }

    .ds-related {
        padding: 0;
    }

    .ds-related__title {
        font-size: 2rem;
    }

    .ds-related__grid {
        padding: 0;
        display: flex;
        flex-direction: column;
        word-break: break-word;
    }
}