.section-header {
    padding-bottom: 20px !important;
}

.bg-light-gray,
.bg-light-gray-blog {
    background-color: #f5f5f5;
}

.blog-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -18px 0 -18px;
}

.blog-col {
    width: 50%;
    padding-right: 18px;
    padding-left: 18px;
}

.blog-summary-col {
    width: 100%;
    margin-bottom: 30px;
    padding: 0 18px;
}

ul.blog-pager {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    /*align-items: center;
    justify-content: flex-start;*/
    width: 100%;
    padding: 0 18px;
    margin: 10px 0 0 0;
}

ul.blog-pager li {
    width: 35px;
    height: 35px;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 18px;
    color: #002e5a;
    background-color: transparent;
    display: inline-block;
}

ul.blog-pager li.active {
    color: #ffffff;
    background-color: #002e5a;
    border-radius: 5px;
}

ul.blog-pager li.active a {
    color: #ffffff;
}

ul.blog-pager li a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #002e5a;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.blog-post-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.blog-post-col {
    width: 50%;
}

.blog-post {
    padding: 25px 18px 25px 31px;
    background-color: #ffffff;
    border-radius: 5px;
    margin-bottom: 65px;
}

.blog-post-title {
    font-style: normal;
    font-weight: bold;
    font-size: 21px;
    line-height: 100%;
    color: #1A1A1A;
    margin-bottom: 12px;
}

.blog-post-sub-title {
    margin-bottom: 12px;
    color: #9C9C9C;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.01em;
}

.blog-post-sub-title a {
    color: #9C9C9C;
    text-decoration: none;
}

.blog-post-preview {
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 140%;
    color: #000000;
}

.blog-post-link {
    /*margin-top: -22px;*/
}

.blog-post-link a {
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 140%;
    color: #002E5A;
    text-decoration: none;
}

.blog-post-img {
    width: 100%;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

/* Blog post with categories */
.blog-categories {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid rgba(117, 127, 136, 0.5);
    margin-bottom: 40px;
}

.blog-categories-items {
    display: flex;
    flex-direction: row;
}

.blog-categories-item {
    padding-bottom: 15px;
    margin-right: 50px;
}

.blog-categories-item:last-child {
    margin-right: 0;
}

a.blog-categories-item {
    display: block;
    text-decoration: none;
    font-weight: 500;
    font-size: 24px;
    line-height: 31px;
    letter-spacing: -0.03em;
    color: #2F2F30;
}

.category-count {
    display: inline-block;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.03em;
    margin-left: 2px;
}

a.blog-categories-item.active {
    color: #002E5A;
    border-bottom: 3px solid #002E5A;
}

.blog-categories-sort {
    display: flex;
    flex-direction: row;
}

.blog-categories-sort-item {
    margin-right: 10px;
}

.blog-categories-sort-item:last-child {
    margin-right: 0;
}

.blog-categories-sort .sort-item {
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: -0.03em;
    color: #757F88;
    cursor: pointer;
}

.blog-categories-sort .sort-item.active {
    color: #002E5A;
    font-weight: 500;
}

.blog-post-col-text {
    width: calc(100% - 130px);
}

.blog-post-col-date {
    width: 130px;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    color: #A29EA2;
    padding-left: 50px;
    text-align: right;
}

.blog-post-with-category .blog-post-link {
    margin: 0;
}

.blog-post-with-category .blog-post-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 23px;
    color: #2F2F30;
    margin-bottom: 15px;
}

.blog-post-with-category .blog-post-preview {
    font-size: 16px;
    line-height: 21px;
    color: #2F2F30;
    margin-bottom: 15px;
}

.blog-post.blog-post-with-category {
    padding: 22px 20px 21px 31px;
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* */

.blog-row-blog {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -18px 0 -18px;
}

.blog-col-blog {
    width: 33.3333333%;
    padding-right: 18px;
    padding-left: 18px;
    display: grid;
}

.blog-post-blog {
    background-color: #ffffff;
    border-radius: 5px;
    margin-bottom: 36px;
}

.blog-post-blog a {
    position: relative;
    display: block;
    text-decoration: none !important;
}

.blog-arrow-right {
    position: absolute;
    top: 22px;
    right: 20px;
    width: 39px;
    height: 36px;
    background: url(../images/arrow-right-blog.svg) no-repeat;
    z-index: 999;
    background-size: cover;
}

.blog-post-row-new {
    padding: 35px 25px;
}

.blog-post-date-new {
    font-size: 11px;
    line-height: 120%;
    font-weight: 700;
    color: rgba(47, 47, 48, 1);
    margin-bottom: 5px;
}

.blog-post-title-new {
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 24px;
    color: rgba(26, 26, 26, 1);
    font-weight: 700;
    height: 73px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-post-preview-new {
    color: rgba(0, 0, 0, 1);
    font-size: 15px;
    line-height: 21px;
    /*height: 127px;*/
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

/* */

@media screen and (max-width: 1024px) {
    .blog-post-with-category .blog-post-row {
        flex-direction: row;
    }

    .blog-post-col-date {
        width: 100%;
        padding: 0;
        order: 1;
        margin-bottom: 10px;
    }

    .blog-post-col-text {
        width: 100%;
        order: 2;
    }
}

@media screen and (max-width: 767px) {
    .section.section-blog-with-category {
        padding: 0 8px;
    }

    .blog-post.blog-post-with-category {
        padding: 24px 13px 25px 13px;
    }

    .blog-post-with-category .blog-post-row {
        flex-direction: row;
    }

    .blog-post-col-text {
        order: 2;
        width: 100%;
    }

    .blog-post-col-date {
        order: 1;
        width: 100%;
        font-weight: 700;
        font-size: 14px;
        line-height: 18px;
        color: #A29EA2;
        margin-bottom: 9px;
        padding-left: 0;
        text-align: left;
    }

    .blog-post-with-category .blog-post-title {
        font-weight: 700;
        font-size: 18px;
        line-height: 100%;
        color: #1A1A1A;
        margin-bottom: 20px;
    }

    .blog-post-with-category .blog-post-preview {
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        color: #000000;
        margin-bottom: 10px;
    }

    .section.section-blog-with-category .blog-pager {
        margin-bottom: 50px;
    }

    .blog-categories {
        border-bottom: none;
    }

    .blog-categories-items {
        margin-bottom: 0;
        flex-direction: column;
    }

    .blog-categories {
        margin-bottom: 20px;
        flex-direction: column;
    }

    a.blog-categories-item {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 18px;
        line-height: 24px;
    }

    .blog-categories-sort {
        flex-direction: column;
    }

    .blog-categories-sort-item {
        width: 100%;
        text-align: right;
    }
}

/* Blog post with categories */

@media screen and (max-width: 1439px) {
    .blog-post-preview {
        line-height: 110%;
    }
}

@media screen and (max-width: 1279px) {
    .blog-post-link {
        margin-top: 15px;
    }

    .blog-post-preview {
        margin-bottom: 12px;
    }

    .blog-post-col {
        width: 100%;
    }
}

@media screen and (max-width: 991px) {
    .section-header {
        min-height: auto;
    }
}

@media screen and (max-width: 767px) {
    .blog-col {
        width: 100%;
    }

    .blog-post-col {
        width: 100%;
    }

    .blog-post-link {
        margin-top: 20px;
    }

    .blog-post-preview {
        margin-bottom: 20px;
    }

    .blog-post-preview {
        font-size: 12px;
    }

    .blog-post-title {
        font-size: 18px;
    }

    .blog-post {
        padding: 30px 13px 25px 13px;
    }

    ul.blog-pager li {
        font-size: 24px;
        line-height: 31px;
        width: 54px;
        height: 54px;
    }

    .blog-col-blog {
        width: 100%;
        padding-right: 8px;
        padding-left: 8px;
    }

    .blog-row-blog {
        margin: 0 -8px 0 -8px;
    }

    .blog-post-blog {
        margin-bottom: 18px;
    }

    .blog-arrow-right {
        width: 31px;
        height: 28px;
    }

    .blog-post-row-new {
        padding: 20px 15px;
    }

    .blog-post-title-new {
        height: auto;
        font-size: 18px;
        line-height: 18px;
    }

    .blog-post-preview-new {
        height: auto;
        overflow: initial;
        -webkit-line-clamp: unset
    }

    .bg-light-gray-blog {
        padding-top: 0 !important;
    }

    .button.big {
        margin: 0 15px;
    }

    .section-header-link {
        margin-top: 30px;
    }
}