.article {
    flex-direction: row;
    display: flex;
}

.article .socials-and-content {
    flex-direction: row;
    display: flex;
    padding-bottom: 1rem;
}

.article .socials-and-content a,
.article .socials-and-content a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.article .social-button {
    height: 2rem;
    width: 2rem;
    margin-right: 1rem;
}

.article .social-bar {
    flex-direction: column;
    display: flex;
}

.article .social-bar img {
    margin-bottom: 1.25rem;
}

.article .social-bar img:hover {
    transform: scale(1.5);
}

.article img {
    width: -webkit-fill-available;
    width: 100%;
}

.article .content {
    padding-left: 1rem;
}

.article h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.article h3 {
    font-size: 1.25rem;
}

.article h1 {
    font-size: 2rem;
    line-height: 2.25rem;
    padding-bottom: 1rem;
}

.article h1,
.article h4 {
    color: var(--primary-color);
}

.article .image-credit {
    padding-bottom: 0.5rem;
    padding-top: 0.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.1rem;
    color: var(--dark-grey-color);
    font-size: 0.75rem;
}

.article .author-and-date {
    display: flex;
    border-top: solid 1px var(--light-grey-color);
    border-bottom: solid 1px var(--light-grey-color);
    font-size: 0.75rem;
    color: var(--dark-grey-color);
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.article .author-and-date .by {
    color: var(--primary-color);
}

.article .author-and-date .author {
    font-weight: bold;
}

.article .author-and-date .publish-date {
    align-content: end;
    text-align: right;
}

.article .quote::before {
    content: "- ";
}

.article .related-article {
    display: flex;
    flex-direction: row;
    margin-left: 2rem;
    margin-bottom: 0.5rem;
}

.article .related-article h4 {
    font-size: 1rem;
    padding-left: 0.5rem;
}

.article .related-article p {
    padding-left: 0.5rem;
}

.article .related-article img {
    height: 4rem;
    width: 4rem;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (max-width:991px) {
    .article {
        padding-top: 5rem;
    }
}

@media (max-width:767px) {
    .article {
        flex-direction: column;
        display: flex;
    }

    .article .content {
        padding-left: 0.5rem;
    }

    .article img {
        width: 100vw;
        margin: 0 -1rem 0 -1rem;
    }

    .article .image-credit {
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.1rem;
        color: var(--dark-grey-color);
        font-size: 0.75rem;
    }

    .article .author-and-date {
        flex-direction: column;
    }

    .article .author-and-date .publish-date {
        padding-top: 0.5rem;
        text-align: left;
    }

    .article h1 {
        padding-bottom: 0.5rem;
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    .article h2 {
       font-size: 1.15rem;
        font-weight: bold;
    }

    .article .social-button {
        height: 1.5rem;
        width: 1.5rem;
    }

    .article .social-bar {
        margin-top: 0.5rem;
    }

    .article .social-bar img {
        margin: 0 0 1rem 0;
    }

    .article .related-article {
        margin-left: 0rem;
        margin-bottom: 1rem;
    }

    .article .related-article img {
        height: 6rem;
        width: 6rem;
        margin: 0;
    }

    .article .related {
        padding-top: 2rem;
        border-top: 0.25rem solid var(--primary-color);
    }

    .article .related-article p {
        line-height: 1.25rem;
    }
}