.blog-posts {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: start;
    gap: var(--space-5);

    @media (min-width: 1024px) {
        display: flex;
        flex-direction: row;
    }
}

.blog-page {
    display: flex;
    flex-direction: row;

    .blog-page__content {
        max-width: var(--container);
        margin-inline: auto;
        margin: 1rem 1rem;
        flex: 2;

        @media (min-width: 1280px) {
            margin-inline: auto;
            margin: 1.2rem 1.22rem;
            flex: 2;
        }
    }
}

.blog-aside {
    display: none;
    border-right: 1px solid var(--color-brand);
    padding: 1rem 1rem;
    flex: 1;

    @media (min-width: 1024px) {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        flex: 1;
    }

    a {
        text-decoration: none;
    }

}

.blog-post {
    /* max-width: 24rem; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--color-gray-70);
    text-decoration: none;
    max-width: 1024px;

    &:hover {
        cursor: pointer;
        box-shadow: 0 10px 10px 12px var(--color-black-a);
        transition: box-shadow 0.15s ease;
    }

    p {
        color: var(--color-gray-blue);
    }

    .blog-post__content {
        padding: 0 2rem 2rem 2rem;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .blog-post__image {
        object-fit: cover;
    }

    .blog-post__title {
        font-size: 2rem;
        color: var(--color-brand-dark);
    }

    .blog-post__date {
        font-size: small;
        color: var(--color-gray-30);
    }

    .blog-post__link {
        font-size: small;
    }

}

.blog-image {
    border-radius: 8px;
    border: 1px solid white;
    margin: 1rem 0;
}

.benchmark {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: start;
    gap: var(--space-5);

    @media (min-width: 768px) {
        display: flex;
        flex-direction: row;
    }

    .benchmark__post {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        /* flex-wrap: wrap; */
        justify-content: space-between;
        /* align-items: center; */
        border: 1px solid var(--color-gray-92);
        text-decoration: none;
        /* color: var(--color-brand-dark); */

        &:hover {
            cursor: pointer;
            box-shadow: 0 6px 6px 6px var(--color-black-a);
            transition: box-shadow 0.15s ease;
        }

        @media (min-width: 768px) {
            display: flex;
            flex-direction: row;
            gap: var(--space-2);
            /* justify-content: space-between; */
            /* align-items: center; */
            /* border: 1px solid var(--color-gray-92); */
            text-decoration: none;

            &:hover {
                cursor: pointer;
                box-shadow: 0 8px 8px 8px var(--color-black-a);
                transition: box-shadow 0.15s ease;
            }
        }

    }

    .benchmark__image {
        /* max-width: 300px; */

        @media (min-width: 768px) {
            max-width: 300px;
        }

    }

    .benchmark__title {
        font-size: var(--fs-body);
        color: var(--color-brand-dark)
    }

    .benchmark__date {
        font-size: small;
        color: var(--color-gray-30);

    }

    .benchmark__content {
        padding: 1rem 1rem 1rem 1rem;
        display: flex;
        flex-direction: column;
        /* justify-content: space-between; */
        /* align-items: flex-start; */
        flex-wrap: wrap;
        gap: 0.4rem;

        @media (min-width: 768px) {
            display: flex;
            flex-direction: column;
            gap: var(--space-2);
            /* justify-content: space-between; */
            text-decoration: none;
        }
    }

    .benchmark__summary {
        color: var(--color-black);
        text-decoration: none;

    }
}