

.head__blog {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.head__blog.head__blog__interior {
    margin-top: 120px;
}

.inner__head__blog {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
.head__blog__title {
    font-size: 2.5rem;
    text-transform: uppercase;
}
.head__blog__subtitle {
    font-size: 1.25rem;
    color: var(--color-primary);
    text-transform: uppercase;
}
.head__blog__text{
    font-size: 1.125rem;
    font-family: 'avenir_regular', sans-serif;
    
    margin-bottom: 0;
    margin-top: 0;
}

.inner__blog {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.list__posts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.list__posts__item {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 32%;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 3rem;
}
.list__posts__item .wrap__image  {
    position: relative;
    overflow: hidden;
    height: 200px;
    margin-bottom: 1rem;
}
.list__posts__item img {
    max-width: 100%;
    margin-bottom: 1rem;
    -webkit-transition: all linear 0.25s;
    -o-transition: all linear 0.25s;
    transition: all linear 0.25s;
    -webkit-transform: scale(1,1);
        -ms-transform: scale(1,1);
            transform: scale(1,1);
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center top;
       object-position: center top;
}

.list__posts__item:hover img {
    -webkit-transform: scale(1.1,1.1);
        -ms-transform: scale(1.1,1.1);
            transform: scale(1.1,1.1);
}


.list__posts__item .list__posts__title{
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-black);
    font-family: "avenir_regular", sans-serif;
    min-height: 64px;
}
.list__posts__item .list__posts__date{
     font-size: 1rem;
    font-weight: 400;
    color: var(--color-gray);
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: "avenir_regular", sans-serif;
}

.list__posts__item:hover .btn__site.btn__outline {
    border: 1px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

.wrap__content__post {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}
.wrap__content__post .image__post img{
    width: 100%;
}

.content__post {
    display: inline-block;
    width: 100%;
    text-align: justify;
}

.content__post h2,
.content__post h3,
.content__post h4{
    font-family: "engravers_gothicregular", sans-serif;
}

.content__post p,
.content__post li{
    font-family: "avenir_regular", sans-serif;
    font-size: 1.125rem;
}
.content__post p a{
    color: var(--color-black);
}
.content__post  img {
    height: auto;
}

.title__related {
    font-size: 2rem;
    font-family: "engravers_gothicregular", sans-serif;
    color: var(--color-black);
}

.list__related {
    padding-top: 2rem;
    border-top: 1px solid var(--color-gray);
}


.wrap__pagination {
    max-width: 1200px;
    padding-top: 2rem;
    padding-bottom: 4rem;
}
.wrap__pagination .pagination{
    text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.wrap__pagination .pagination .page-item {
    margin-right: .5rem
}

.wrap__pagination .pagination .page-link {
    border: 1px solid var(--color-black)!important;
    color: #4c5460;
    font-weight: 600;
    border-radius: 4px;
    min-width: 40px;
    text-align: center
}

.wrap__pagination .pagination .page-item.active,
.wrap__pagination .pagination .page-item.active>.page-link {
    background-color: var(--color-primary);
    color: var(--color-black);
    border: 1px solid var(--color-primary) !important;
    font-weight: 600;
    border-radius: 4px;

}


@media screen and (max-width: 960px) {
    .list__posts__item {
        width: 47%;
    }
}
@media screen and (max-width: 640px) {
    .list__posts__item {
        width: 100%;
    }
    .head__blog__title {
        font-size: 2rem;
    }
    .head__blog__subtitle {
        font-size: 1rem;
    }
    .head__blog.head__blog__interior {
        margin-top: 0;
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .list__related {
        padding-left: 0;
        padding-right: 0;
        font-size: 1.5rem;
    }

    .wrap__pagination .pagination .page-link {
        width: 24px;
        min-width: 24px;
        height: 24px;
        padding-left: 2px;
        padding-right: 2px;
        padding-top: 2px;
        padding-bottom: 2px;
        font-size: 0.875rem;
    }
    .wrap__pagination .pagination .page-item {
        margin-right: 5px;
    }

    .list__posts__item .wrap__image {
        height: auto;
    }
    .list__posts__item img {
        height: auto;
    }
    .list__posts__item .list__posts__title {
        min-height: auto;
    }

}