.c-press-article-list {
    list-style: none;
    margin: 0;
    padding: 0;

    li:not(:last-child) {
        border-bottom: 1px solid theme('colors.gray.200');
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

.c-press-article-list__heading {
    color: theme('colors.primary.500');
    margin-bottom: 2rem;
    text-align: center;
}

.c-press-article-listitem {
    display: inline-block;
    vertical-align: top;
}

.c-press-article-listitem__time {
    color: theme('colors.gray.600');
}

.c-press-article-listitem__title {
    color: theme('colors.primary.500');
    text-decoration: none;
    font-size: theme('fontSize.2xl');
    line-height: inherit;

    a {
        color: theme('colors.primary.500');
        text-decoration: none;

        &:hover,
        &:focus {
            color: theme('colors.primary.600');
        }
    }
}

.c-press-article-listitem__time + .c-press-article-listitem__title {
    margin-top: .25rem;
}

.c-press-article-listitem__subtitle {
    color: theme('colors.gray.900');
}

.c-press-article-listitem__title + .c-press-article-listitem__subtitle {
    margin-top: .5rem;
}

.c-press-article-listitem__image-link,
.c-press-article-listitem__image-placeholder {
    display: block;
    position: relative;
    width: 100%;
    margin-bottom: 1rem;
}

.c-press-article-listitem__image-link {
    &:focus {
        color: theme('colors.primary.600');
    }
}

.c-press-article-listitem__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 13rem;
    width: 100%;
    background: theme('colors.gray.100');

    .c-icon {
        font-size: 3.5rem;
        top: 0;
        color: theme('colors.gray.500');
        transition: color .2s;
    }

    &:hover,
    &:focus {
        .c-icon {
            color: theme('colors.gray.600');
        }
    }
}

.c-press-article-listitem__header,
.c-press-article-listitem__body {
    overflow: hidden;
}

.c-press-article-listitem__header {
    margin-bottom: .5rem;
}

.c-press-article-listitem__excerpt {
    margin-bottom: .5rem;
    color: theme('colors.gray.900');
}

.c-press-article-listitem__read-more {
    text-decoration: none;
    color: theme('colors.primary.500');

    &:hover,
    &:focus {
        color: theme('colors.primary.900');;
    }
}

.c-press-article__show-all-link {
    text-align: center;
    margin: 2.5rem 0;
}

@media screen and (min-width: 40rem) {
    .c-press-article-listitem {
        display: flex;
        align-items: flex-start;
    }

    .c-press-article-listitem__image-link,
    .c-press-article-listitem__image-placeholder {
        margin-right: 1.5rem;
        width: 38.2%;
        margin-bottom: 0;
    }

    .c-press-article-listitem__content {
        width: 61.8%;
    }
}
