.container-flex {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

#left-column {
    width: 100%;
    padding: 0 15px;
}

.container-flex #content-wrapper {
    width: 100%;
}

.block-categories .block_content p, .block-categories .block_content p a {
    font-family: 'OutfitRegular', sans-serif;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px dotted #CCCCCC;
    width: 100%;
    display: inline-block;
}

.block-categories .block_content p a {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #3b3b3b;
}

#prestablog_lastliste .btn-primary.btn_link {
    display: none;
}

#prestablogfont h2 {
    overflow: hidden;
    margin: 40px 20px 40px 20px;
    padding: 15px 0;
    color: #000000;
    font-family: OutfitSemiBold, sans-serif;
    font-size: 30px;
}

.block-categories .block_content p a img {
    float: left;
    margin-right: 7px;
    margin-bottom: 7px;
    margin-top: 5px;
}

#prestablogfront {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    margin-bottom: 20px;
    display: block;
    padding: 15px;
}

time.date, .info_blog {
    color: #7F7F7F;
    display: block;
    font-size: 12px;
    position: relative;
    text-align: center;
    z-index: 1;
    margin: 0 20px 0 20px;
    overflow: hidden;
}

#prestablogfront h1 {
    overflow: hidden;
    margin: 15px 20px 15px 20px;
    text-align: center;
    border: 0;
    padding: 0;
    font-size: 28px;
    font-family: OutfitSemiBold, sans-serif;
}

.info_blog {
    font-size: 11px;
    color: #8B8B8B;
    text-align: center;
    margin-bottom: 10px;
}

#prestablogfont a, #prestablogfont h2, #prestablogfont h2 span, #prestablogfont h3, #prestablogfont h3 span, #prestablogfont h4, #prestablogfont h4 span {
    color: #FE9544;
}

#prestablogfont p, #prestablogfont span {
    font-family: 'OutfitRegular', sans-serif;
    line-height: 150%;
    font-size: 16px;
    padding: 0;
    text-align: left;
}

#prestablogfont p, #prestablogfont ul, #prestablogfont ol {
    margin: 0 0 15px;
}

#prestablogfont p, #prestablogfont ul, #prestablogfont li {
    color: #3b3b3b;
}

.info_blog a, .date_blog-cat, ul#blog_list_1-7 li .date_blog-cat a {
    color: #ACACAC;
}

#prestablogfont img {
    max-width: 100%;
    height: auto;
}

#blog_list_1-7 {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: center;
}

.blog-grid {
    width: 100%;
    margin: 10px;
    list-style: none;
    position: relative;
    max-width: 378px;
}

.block_cont--background {
    background-color: #ffda77;
    border-radius: 32px;
    height: 100%;
    left: -10px;
    opacity: .2;
    position: absolute;
    top: 8px;
    width: calc(100% + 20px);
    z-index: -1;
}

.block_cont {
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 40px 50px -30px #f3ebd6, 0 4px 6px -2px rgba(255, 164, 92, .161), 0 0 0 1px rgba(255, 200, 157, .322);
    display: flex;
    flex-direction: column;
    max-width: 378px;
    padding: 8px 8px 24px;
    position: relative;
}

.block_top {
    display: flex;
}

.block_top img {
    border-radius: 16px;
    height: auto;
    width: 100%;
}

.block_title {
    color: #111236;
    font-family: 'OutfitSemiBold', sans-serif;
    font-size: 18px;
    font-weight: 700;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-height: 26px;
    margin-top: 16px;
    overflow: hidden;
    padding: 0 16px;
    text-decoration: none;
    text-overflow: ellipsis;
    height: 78px;
}

.prestablog_desc {
    display: none;
}

.blog_link {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -2px rgba(133, 79, 37, .161), 0 0 0 .6px #ffa45c;
    color: #111236;
    font-family: OutfitSemiBold, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-top: 16px;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.pagination {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
}

.pagination__page {
    font-family: OutfitSemiBold, sans-serif;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #ffa45c;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all .3s;
    color: #fff;
}

.pagination__page:not([data-index="..."]):hover, .pagination__page.selected {
    box-shadow: 0 0 2px 4px rgba(255, 164, 92, .3);
}

.pagination__page + .pagination__page {
    margin-left: 15px;
}

@media (min-width: 768px) {
    .container-flex {
        flex-direction: row;
        align-items: normal;
    }

    .container-flex #content-wrapper {
        width: 75%;
    }

    #left-column {
        width: 25%;
    }

    #prestablogfront h1 {
        font-size: 48px;
    }

    #blog_list_1-7 {
        justify-content: normal;
    }

    .blog-grid {
        margin: 20px;
        width: 43%;
    }

    .block_cont--background {
        border-radius: 20px 20px 40px 40px;
        height: calc(100% - 94px);
        left: -10px;
        max-width: 378px;
        top: 104px;
        width: 100%;
    }

    .block_cont {
        box-shadow: 0 40px 50px -30px #f3ebd6, 0 4px 6px -2px rgba(255, 164, 92, .161), 0 0 0 1px rgba(255, 200, 157, .322);
    }

    .block_title. {
        font-size: 24px;
        line-height: 32px;
        margin-top: 24px;
        padding: 0 14px;
    }

    .prestablog_desc {
        color: #111236;
        font-family: 'OutfitRegular', sans-serif;
        font-size: 16px;
        font-weight: 400;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-height: 24px;
        margin: 16px 0 0;
        max-width: 400px;
        overflow: hidden;
        padding: 0 14px;
        text-overflow: ellipsis;
    }

    .blog_link {
        margin-top: 24px;
        padding: 16px 0;
    }
}


@media (min-width: 960px) {
    .blog-grid {
        width: 29.3%;
    }
}
