/* sezione list blogS */

.pagination {
    margin-top: 45px;
}

.pagination-wrapper,
.pagination-arrows__inner,
.pagination-numbers__inner {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
}
.pagination-arrows {
    margin-left: 25px;
}
.pagination-wrapper a {
    text-decoration: none;
}
.pagination-arrows__inner,
.pagination-numbers__inner {
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    padding: 10px;
    border-radius: 10px;
}
.pagination-arrows__inner .arrow-item a,
.pagination-numbers__inner .active span,
.pagination-numbers__inner .inactive a {
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    display: block;
    border-radius: 10px;

    background-color: #fff;
    color: var(--PrimaryBlue);

    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
}
.pagination-arrows__inner .arrow-item a:hover,
.pagination-numbers__inner .inactive a:hover,
.pagination-numbers__inner .active span {
    background-color: var(--PrimaryBlue);
    color: #fff;

    transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -webkit-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
}
.pagination-arrows__inner .arrow-item.prev,
.pagination-numbers__inner .page-item:not(:last-child){
    margin-right: 10px;
}


.single-related {
    margin-top: 60px;
}
.single-related .related-heading {
    padding: 15px;
}

.container-image-post {
    overflow: hidden;
    aspect-ratio: 16/9;
}

@media (min-width: 992px){
    body.single-post .single-related .card .card-body .post_heading,
    body.blog section#blog .card .card-body .post_heading {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    body.single-post .single-related .card,
    body.blog section#blog .card {
        height: 100% !important;
    }
    body.single-post .single-related .card .card-body,
    body.blog section#blog .card .card-body {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-align-content: flex-start;
        align-content: flex-start;
        -webkit-align-items: flex-start;
        align-items: flex-start;
    }
    body.single-post .single-related .card .card-body .btn-b,
    body.blog section#blog .card .card-body .btn-b {
        height: auto !important;
        margin-top: auto !important;
    }
}