/*
Posts: Marfino
Version: 1.0
*/

/** 
 * 
 * 
 * Marfino Posts
 * Uso: Estilo dos cards de Post / Blog.
 */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
}

.posts-grid .post-card {
    position: relative;
    background-color: #FFFFFF;
}

.posts-border .posts-grid .post-card {
    border: 1px solid #EEEEEE;
}

.posts-grid .post-card > a {
    display: flex;
}

.post-card .date {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0.625rem 2rem;
    background-color: #5E6B77;
    text-align: center;
}

.post-card .date .day {
    font-family: "Schibsted Grotesk", Sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1;
}

.post-card .date .month {
    font-family: "Schibsted Grotesk", Sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: #FFFFFF;
}

.post-card .info {
    padding: 1.875rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.post-card .info .title {
    margin: 0;
    font-family: "Schibsted Grotesk", Sans-serif;
    font-size: 1.375rem;
    font-weight: 400;
    color: #5E6B77;
}

.post-card .info .title a {
    color: inherit;
}

.post-card .info .excerpt {
    text-align: start;
    font-family: "Schibsted Grotesk", Sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #818181;
}

.post-card .info .read-more {
    font-family: "Schibsted Grotesk", Sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    color: #2B71E2;
}

@media (min-width: 768px) and (max-width: 1024px) {
    /*.posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }*/

    .post-card .info .title{
        font-size: 1.1rem;
    }

    .post-card .date{
        padding: 0.875rem 1.5rem;
    }

    .post-card .date .day{
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .post-card .date{
        padding: 0.875rem 2rem;
    }

    .post-card .date .day{
        font-size: 1.1rem;
    }

    .post-card .info{
        gap: 0.875rem;
    }

    .post-card .info .title{
        font-size: 1.1rem;
    }
}