.blog__header{
    padding: 40px 0;
    background: #F5F3EE;
}

.blog-header__title{
    color: #0C0C0E;
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    line-height: 34px;
    margin-bottom: 8px;
}

.blog-header__text{
    margin: 0 auto 20px;
    max-width: 70%;
    color: #47566B;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.blog-header__list{
    flex-wrap: wrap;
    gap: 4px;
}

.blog-header__item{
    height: 29px;
    padding: 4px 8px;
    gap: 8px 4px;
    border-radius: 99px;
    border: 0.667px solid #DEDEDE;
    background: #FFF;
    min-width: 60px;
    cursor: pointer;
}

.blog-header__item.is-active{
    border-color: #1955E6;
    background: #1955E6;
}

.blog-header__item-text{
    color: #6B6B7A;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0.5px;
}

.blog-header__item-text:first-child{
    color: #1955E6;
    font-size: 10px;
    line-height: 20px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.blog-header__item.is-active .blog-header__item-text,
.blog-header__item.is-active .blog-header__item-text:first-child{
    color: #FFF;
}

.blog__body{
    padding: 40px 0;
    background: #FFF;
}

.blog-body__inner{
    flex-direction: column;
}

.blog-body__list{
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.blog-body__item{
    padding: 4px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.06);
    flex-direction: column;
}

.blog-body-item__img-wrapper{
    position: relative;
}

.blog-body-item__img-badge{
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 2px 8px;
    border-radius: 99px;
    background: #fff;
    color: #1955E6;
    font-size: 10px;
    font-weight: 600;
    line-height: 15px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.blog-body-item__img{
    display: block;
    width: 100%;
    aspect-ratio: 350 / 169;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
}

.blog-body-item__content-wrapper{
    height: stretch;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
}

.blog-body-item__date{
    gap: 6px;
}

.blog-body-item__date span{
    color: #6B6B7A;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
}

.blog-body-item__content{
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

.blog-body-item__content-title{
    color: #0C0C0E;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
}

.blog-body-item__content-text{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #6B6B7A;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.blog-body-item__button{
    margin-top: auto;
    padding: 3px 5px 3px 0;
    gap: 5px;
}

.blog-body-item__button span{
    color: #1955E6;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.blog-body__button{
    margin-top: 24px;
    padding: 8px 20px;
    gap: 8px;
    border-radius: 99px;
    border: 1px solid #C1CADD;
}

.blog-body__button-text{
    color: #47566B;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

.blog-body__button-badge{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1955E6;
}

.blog-body__load-trigger {
    width: 100%;
    height: 1px;
}

.blog-body__pagination {
    display: none;
}

.blog-pagination__button--prev svg {
    transform: rotate(180deg);
}

@media (min-width: 768px){
    .blog-body__list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px){
    .blog__header{
        padding: 70px 0;
    }
    .blog-header__title{
        font-size: 42px;
        line-height: normal;
        margin-bottom: 14px;
    }
    .blog-header__text{
        font-size: 16px;
        line-height: 27px;
        margin: 0 auto 40px;
    }
    .blog-header__list{
        gap: 8px;
    }
    .blog-header__item{
        height: 41px;
        padding: 10px 14px;
        gap: 4px;
        min-width: 65px;
    }
    .blog-header__item-text{
        font-size: 14px;
        line-height: 20px;
        letter-spacing: 0.5px;
    }
    .blog-header__item-text:first-child{
        font-size: 16px;
        line-height: 16px;
    }
    .blog-body__list{
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .blog-body__item{
        padding: 16px;
        gap: 22px;
    }
    .blog-body-item__img {
        width: 100%;
        height: 270px;
        object-fit: cover;
        object-position: center;
    }
    .blog-body-item__img-badge{
        border-radius: 10px;
        background: #F5F3EE;
        padding: 2px 4px;
        font-size: 12px;
        line-height: normal;
        text-transform: uppercase;
    }
    .blog-body-item__content-wrapper{
        padding: 0;
        gap: 8px;
    }
    .blog-body-item__date span{
        font-size: 14px;
        line-height: normal;
    }
    .blog-body-item__content{
        gap: 6px;
    }
    .blog-body-item__content-title{
        font-size: 24px;
        line-height: normal;
    }
    .blog-body-item__content-text{
        font-size: 14px;
        line-height: 20px;
    }
    .blog-body-item__button{
        gap: 8px;
    }
    .blog-body__item--featured {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: stretch;
        margin-bottom: 20px;
        gap: 0;
        padding: 0;
    }
    .blog-body__item--featured .blog-body-item__img-wrapper {
        width: 50%;
        max-width: 640px;
        flex-shrink: 0;
        padding: 8px;

    }
    .blog-body__item--featured .blog-body-item__img {
        width: 100%;
        height: 337px;
        object-fit: cover;
        border-radius: 8px;
        border: 2.667px solid #DEDCD6;
    }
    .blog-body__item--featured .blog-body-item__img-badge{
        display: none;
    }
    .blog-body__item--featured .blog-body-item__content-wrapper {
        flex: 1;
        padding: 40px;
        gap: 24px;
    }
    .blog-body__item--featured .blog-body-item__date span{
        font-size: 16px;
        line-height: 27px;
    }
    .blog-body__item--featured .blog-body-item__content{
        gap: 16px;
    }
    .blog-body__item--featured .blog-body-item__content-title{
        font-size: 32px;
        line-height: normal;
    }
    .blog-body__item--featured .blog-body-item__content-text{
        font-size: 16px;
        line-height: 22px;
    }
    .blog-body__item--featured .blog-body-item__button{
        border-radius: 20px;
        background: #1955E6;
        height: 44px;
        gap: 8px;
        padding: 0 8px 0 24px ;
    }
    .blog-body__item--featured .blog-body-item__button span{
        color: #FFF;
        font-size: 14px;
        line-height: 20px;
    }
    .blog-body__item--featured .blog-body-item__button svg{
        width: 26px;
        height: 26px;
        padding: 5px;
        border-radius: 50%;
        background: #FFF;
    }
    .blog-body__button,
    .blog-body__load-trigger {
        display: none;
    }
    .blog-body__pagination {
        display: flex;
        gap: 8px;
        margin-top: 40px;
    }
    .blog-pagination__button {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 0.667px solid #DEDEDE;
        background: #FFF;
        color: #6B6B7A;
        font-size: 14px;
        font-weight: 600;
        line-height: 20px;
    }
    .blog-pagination__button.is-active {
        border-color: #1955E6;
        background: #1955E6;
        color: #FFF;
    }
    .blog-pagination__button:disabled {
        opacity: .3;
        cursor: default;
    }
    .blog-pagination__dots {
        color: #6B6B7A;
    }
}

@media (min-width: 1440px){
    .blog__header {
        padding: calc(8.3333vw - 50px) 0 calc(4.1667vw + 10px);;
    }
    .blog-header__title {
        font-size: calc(3.3333vw - 6px);
    }
    .blog-header__text {
        font-size: calc(.4167vw + 10px);
        margin: 0 auto calc(1.6667vw + 16px);
    }
    .blog-header__item {
        padding: 10px calc(1.25vw - 4px);
    }
    .blog__body{
        padding: calc(8.3333vw - 80px) 0;
    }
    .blog-body__list{
        gap: calc(2.5vw - 16px);
    }
    .blog-body-item__img-badge {
        padding: 2px calc(.4167vw - 2px);
        line-height: calc(2.25vw - 14.4px);
    }
    .blog-body-item__date span{
        font-size: calc(.8333vw + 2px);
    }
    .blog-body-item__content-title {
        font-size: calc(.4167vw + 18px);
    }
    .blog-body-item__content-text {
        font-size: calc(.8333vw + 2px);
        line-height: calc(1.8333vw - 6.4px);
    }
    .blog-body-item__button span {
        font-size: calc(22px - .4167vw);
    }
    .blog-body__item--featured{
        margin-bottom: calc(32px - .8333vw);
    }
    .blog-body__item--featured .blog-body-item__img-wrapper{
        padding: calc(1.6667vw - 16px);
    }
    .blog-body__item--featured .blog-body-item__content-wrapper{
        padding: calc(1.6667vw + 16px) calc(4.1667vw - 20px);
    }
    .blog-body__item--featured .blog-body-item__date span {
        font-size: calc(.4167vw + 10px);
    }
    .blog-body__item--featured .blog-body-item__content-title {
        font-size: calc(1.6667vw + 8px);
    }
    .blog-body__item--featured .blog-body-item__content-text {
        font-size: calc(.4167vw + 10px);
        line-height: calc(1.7917vw - 3.8px);
        margin-bottom: 0;
    }
}

@media (min-width: 1920px){
    .blog__header {
        padding: 5.7292vw 0 4.6875vw;
    }
    .blog-header__title {
        font-size: 3.0208vw;
        margin-bottom: .7292vw;
    }
    .blog-header__text {
        font-size: .9375vw;
        line-height: 1.40625vw;
        margin-bottom: 2.5vw;
    }
    .blog-header__list {
        gap: .4167vw;
    }
    .blog-header__item {
        height: 2.1354vw;
        padding: .5208vw 1.0417vw;
        gap: .2083vw;
        min-width: 3.3854vw;
        border-radius: 5.15625vw;
        border-width: .0347vw;
        box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.06);
    }
    .blog-header__item-text {
        font-size: .7292vw;
        line-height: 1.0417vw;
        letter-spacing: .026vw;
    }
    .blog__body{
        padding: 4.1667vw 0;
    }
    .blog-body__list{
        gap: 1.6667vw;
    }
    .blog-body__item {
        box-shadow: 0 .2083vw 1.0417vw 0 rgba(0, 0, 0, 0.06);
        padding: .8333vw;
        gap: 1.1458vw;
    }
    .blog-body-item__img{
        border-radius: .3125vw;
        border: .1389vw solid #DEDCD6;
        height: 14.0625vw;
    }
    .blog-body-item__img-badge {
        border-radius: .5208vw;
        padding: .1042vw .3125vw;
        font-size: .625vw;
        line-height: .9375vw;
    }
    .blog-body-item__content-wrapper {
        gap: .4167vw;
    }
    .blog-body-item__date{
        gap: .3125vw;
    }
    .blog-body-item__date svg{
        width: .5729vw;
        height: .5729vw;
    }
    .blog-body-item__date span{
        font-size: .9375vw;
        line-height: 1.40625vw;
    }
    .blog-body-item__content {
        gap: .3125vw;
    }
    .blog-body-item__content-title {
        font-size: 1.3542vw;
        line-height: 1.625vw;
    }
    .blog-body-item__content-text {
        font-size: .9375vw;
        line-height: 1.5vw;
        margin-bottom: .5208vw;
    }
    .blog-body-item__button{
        gap: .4167vw;
        padding: 0;
    }
    .blog-body-item__button span {
        font-size: .7292vw;
        line-height: 1.0417vw;
    }
    .blog-body-item__button svg {
        width: 1.40625vw;
        height: 1.40625vw;
        padding: .2604vw;
        border-radius: 50%;
        border: .0347vw solid #E8E8E8;
        background: #FFF;
    }
    .blog-body__item--featured{
        margin-bottom: .8333vw;
        padding: 0;
        gap: 0;
    }
    .blog-body__item--featured .blog-body-item__img-wrapper{
        padding: .8333vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .blog-body__item--featured .blog-body-item__content-wrapper{
        padding: 2.5vw 3.125vw;
        gap: 1.25vw;
    }
    .blog-body__item--featured .blog-body-item__date span {
        font-size: .9375vw;
        line-height: 1.40625vw;
    }
    .blog-body__item--featured .blog-body-item__content {
        gap: .8333vw
    }
    .blog-body__item--featured .blog-body-item__content-title {
        font-size: 2.0833vw;
        line-height: 2.3958vw;
    }
    .blog-body__item--featured .blog-body-item__content-text {
        font-size: .9375vw;
        line-height: 1.59375vw;
    }
    .blog-body__item--featured .blog-body-item__button {
        border-radius: 1.0417vw;
        height: 2.2917vw;
        gap: .4167vw;
        padding: 0 .4167vw 0 1.25vw
    }
    .blog-body__item--featured .blog-body-item__button span {
        font-size: .7292vw;
        line-height: 1.0417vw;
    }
    .blog-body__item--featured .blog-body-item__button svg {
        width: 1.3542vw;
        height: 1.3542vw;
        padding: .2604vw;
    }


    .blog-pagination__button {
        width: 2.2917vw;
        height: 2.2917vw;
        border-radius: 50%;
        border-width: .0347vw;
        font-size: .7292vw;
        line-height: 1.0417vw;
    }
    .blog-pagination__button svg{
        width: .8333vw;
        height: .8333vw;
    }

}