.ec-custom-post-listing {
    display: flex;
    justify-content: space-between;
    align-content: flex-start;
    flex-wrap: wrap;
    margin: -10px;
}

.ec-custom-post-listing article {
    position: relative;
    overflow: hidden;

    width: 30%;
    min-width: 310px;
    max-width: 45%;
    margin: 1em 10px;
    background-color: rgb(255,255,255);
    border: 1px solid #ebeaea;
    border-bottom-width: 3px;
    padding: 0;
    flex: 1 1 30%;

    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.ec-custom-post-listing.iniciativas article {
    width: 43%;
    min-width: 43%;
    max-width: 100%;
}

.ec-custom-post-listing article a {
    display: block;
    padding: 31px;
}

.ec-custom-post-listing h2 {
    font-size: 26px;
    color: #0154a0;
    margin-bottom: 7px;
}

.ec-custom-post-listing article.long-title h2 {
    font-size: 16px !important;
    color: #0154a0;
    margin-bottom: 7px;
    font-weight: normal !important;
}

.ec-custom-post-listing .meta {
    font-size: 16px;
    margin-bottom: 0;
}

.ec-custom-post-listing .pdf-description {
    position: absolute;
    top: 100%;
    left: 0;
    height: 100%;
    width: 100%;
    display: block;
    padding: 10px;
    color: #FFFFFF;
    background-color: #0154a0;
    transition: top .2s ease-out;

    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.ec-custom-post-listing article a:hover .pdf-description,
.ec-custom-post-listing article a:focus .pdf-description,
.ec-custom-post-listing article a:active .pdf-description {
    top: 0;
}

.ec-custom-post-listing .pdf-title {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
}

.ec-custom-post-listing article.long-title .pdf-title {
    font-size: 12px;
    font-weight: normal;
    display: none;
}

.ec-custom-post-listing .pdf-size {
    display: block;
}

@media screen and (max-width:720px) {
    .ec-custom-post-listing article,
    .ec-custom-post-listing.iniciativas article {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}