.blog-hero {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.blog-hero__opacity {
    background-color: rgba(0,0,0,0.4);
}

.blog-hero__wrapper {
    min-height: 330px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.blog-hero .breadcrumbs {
    text-align: center;
}

@media (max-width: 575.99px) {
    .blog-hero__wrapper {
        min-height: 33vh;
    }
    .blog-hero .breadcrumbs {
        font-size: 10px;
    }
}

.blog-hero .blog-hero__title {
    margin: 0;
    font-family: 'Mulish', sans-serif;
    font-weight: 900;
    font-size: 50px;
    line-height: 1.4;
    text-transform: uppercase;
    color: #fff;
}
@media (max-width: 1439.99px) {
    .blog-hero .blog-hero__title {
        font-size: calc((100vw - 320px) / (1440 - 320) * (50 - 32) + 32px);
    }
}

.blog-hero .blog-hero__breadcrumbs * {
    color: #fff;
}

.blog-hero .blog-hero__breadcrumbs a {
    color: #fff;
}

.blog-section {
    background: #fff;
    padding: 100px 0;
}
.blog__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
}
.blog-section .blog__item {
    background: #FFFFFF;
    width: calc(100%/3 - 30px);
    margin: 15px;
    box-shadow: 0 5px 25px #EDEDED;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all .3s;
    position: relative;
}

.blog-section .blog__item .blog__item-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.blog-section .blog__item .blog__item-img {
    height: 265px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.blog-section .blog__item .blog__item-img-opacity {
    background-color: rgba(0,0,0,.4);
    width: 100%;
    height: 100%;
    transition: all .3s;
}

.blog-section .blog__item:hover {
    transform: translateY(-3px);
}

.blog-section .blog__item:hover .blog__item-img-opacity {
    background-color: rgba(0,0,0,0);
}

.blog-section .blog__item .blog__item-content {
    padding: 50px;
    position: relative;
    z-index: 2;
}

.blog-section .blog__item .blog__date {
    font: 400 13px/30px 'Red Hat Text', sans-serif ;
    color: #979797;
}

.blog-section .blog__item .blog__item-title h4 {
    font: 400 20px/1.18 'Mulish', sans-serif ;
    color: #000;
    margin: 0 0 26px;
}

.blog-section .blog__item .blog__excerpt {
    font: 400 14px/30px 'Red Hat Text', sans-serif;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical;
    margin: 0;
}

.blog-section .blog__item:nth-child(4) {
    width: calc(100%/3*2 - 30px);
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.blog-section .blog__item:nth-child(4) .blog__item-content {
    width: 50%;
}

.blog-section .blog__item:nth-child(4) .blog__item-img {
    height: 100%;
    width: 50%;
}

.blog-section .blog__item:nth-child(4) .blog__excerpt {
    -webkit-line-clamp: 5; /* number of lines to show */
}

.blog-section .blog__item:nth-child(6) {
    background: linear-gradient(140.07deg, #FF0A0A 13.48%, #FE7200 101.66%);
}

.blog-section .blog__item:nth-child(6) * {
    color: #fff !important;
}

.blog-section .blog__item:nth-child(6), .blog-section .blog__item:nth-child(7) {
    justify-content: center;
    min-height: 560px;
}

.blog-section .blog__item:nth-child(6) .blog__item-img, .blog-section .blog__item:nth-child(7) .blog__item-img {
    display: none;
}

.blog-section .blog__item:nth-child(6) .blog__excerpt, .blog-section .blog__item:nth-child(7) .blog__excerpt, .blog-section .blog__item:nth-child(8) .blog__excerpt {
    -webkit-line-clamp: 5; /* number of lines to show */
}

.blog-section .blog__item:nth-child(8) {
    justify-content: center;
    min-height: 560px;
}

.blog-section .blog__item:nth-child(8) * {
    color: #fff !important;
}

.blog-section .blog__item:nth-child(8) .blog__item-img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

@media (max-width: 991.99px) {
    .blog-section .blog__item {
        width: calc(100%/2 - 30px) !important;
        max-width: 400px;
    }
    .blog-section .blog__item:nth-child(4) {
        flex-direction: column;
    }
    .blog-section .blog__item:nth-child(4) .blog__item-content {
        width: 100%;
    }

    .blog-section .blog__item:nth-child(4) .blog__item-img {
        height: 265px;
        width: 100%;
    }

    .blog-section .blog__item:nth-child(4) .blog__excerpt {
        -webkit-line-clamp: 3; /* number of lines to show */
    }
}

@media (max-width: 767.99px) {
    .blog-section {
        background: #fff;
        padding: 50px 0 100px;
    }
    .blog-section .blog__item .blog__item-content {
       padding: 25px;
    }
    .blog-section .blog__item:nth-child(6),.blog-section .blog__item:nth-child(7),.blog-section .blog__item:nth-child(8) {
        justify-content: center;
        min-height: 360px;
    }
}

@media (max-width: 575.99px) {
    .blog-section .blog__item {
        width: 100% !important;
        max-width: 400px;
    }
}

.blog-pagination {
    display: flex;
    margin-top: 40px;
    justify-content: center;
}
.blog-pagination a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
}

.blog-pagination a.active {
    background: #000;
    color: #fff;
}