﻿.article {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    width: 100%;
}

a.article {
    text-decoration: none;
    color: black;
}

.article-body {
    display: contents;
    flex-direction: column;
}

.article-intro {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

h3.article-title {
    font-size: 1.3rem;
}

@media (min-width: 768px) {
    .article-intro {
        font-size: .9rem;
    }
}

.article-date {
    font-size: .9rem;
    font-weight: 400;
    background-color: #757575;
    color: white;
    border-radius: 1rem;
    padding: 0 1rem;
    margin-bottom: .5rem;
    align-self: start;
}

.article-image {
    width: 100%;
    height: 185px;
    object-fit: cover;
    margin-bottom: 1.25rem;
}

@media (min-width: 1200px) {
    .article {
        flex-direction: row;
        padding-left: 0;
    }

    .article-body {
        display: flex;
        flex-direction: column;
        height: 100%;
        align-items: start;
        padding-left: 1.75rem;
    }

    .article-image {
        width: 175px;
        margin-bottom: 0;
    }
}
