﻿.module-gray {
    background: #eee;
    border-radius: 10px;
    font-size: 16px;
    padding: 1rem 4rem 3rem;
    width: fit-content;
}

.module-gray .h4 {
    font-size: 1.6rem;
}

.pagination-top {
    margin-bottom: 2rem;
}

.pager .btn-group {
    margin-left: 0;
}

.flair-ew {
    border-radius: 3px;
    display: inline-block;
    line-height: 1;
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
}

.article-list .item .flair-ew a,
.article-list .item .flair-ew a:visited {
    align-items: center;
    background-color: #ea232c;
    border: 1px solid #ea232c;
    border-radius: 3px;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    height: 28px;
    padding: 5px 20px 5px 20px;
    position: relative;
    transition: all 100ms ease-in-out;
    z-index: 2;
}

.article-list .item .flair-ew a:hover,
.article-list .item .flair-ew a:visited:hover {
            
    background-color: #fff;
    color: #ea232c;
}

@media(min-width: 768px) {
    .article-list {
        display: flex;
        margin-left: -15px;
        margin-right: -15px;
        flex-wrap: wrap;
        width: auto;
    }

    .article-list .item {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        margin-bottom: 4rem;
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
        width: 33.333%;
    }

    .article-list .item h3 {
        line-height: 1.2;
    }

    .article-list .item h4 {
        margin-bottom: 2rem;
    }

    .article-list .item .content {
        width: 100%;
    }

    .article-list .item .preview-image {
        float: unset;
        margin: 0 0 1rem;
        width: 100%;
    }

    .article-list .item .excerpt {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .article-list .pager {
        width: 100%;
    }
}