.loader-dots .dot1{
    animation: load 1s infinite;
}
.loader-dots .dot2{
    animation: load 1s infinite;
    animation-delay: 0.2s;
}
.loader-dots .dot3{
    animation: load 1s infinite;
    animation-delay: 0.4s;
}

@keyframes load{
    0%{
        opacity: 0;
    }
    50%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

@keyframes l8 {
    100% {background-position: top left}
}

.articles_body {}
.articles_list,
.articles_preinit {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.articles_list {
    display: none;
}
.articles_preinit_item {
    height: 20px;
    aspect-ratio: 1;
    border-radius: 3px;
    background:
            linear-gradient(to bottom right,#0000 calc(50% - 40px),#ccc 50%,#0000 calc(50% + 40px))
            bottom right/calc(200% + 80px) calc(200% + 80px)
            #f1f1f1;
    animation: l8 1s infinite ;
}
.articles_preinit_item.one {
    width: 35%;
}
.articles_preinit_item.two {
    width: 45%;
}
.articles_preinit_item.three {
    width: 55%;
}
.articles_preinit_item.four {
    width: 85%;
}
.articles_preinit_item.five {
    width: 95%;
}
.articles_item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    align-content: stretch;
    justify-content: flex-start;
    gap: 16px;
}
.articles_item svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.articles_item a {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}
.articles_item.bold a {
    font-weight: 700;
}
.articles_item a:hover {
    color: #357FFC;
}
.articles_item_ad {
    position: relative;
    font-size: 12px;
}
.articles_item_ad_label {
    border-radius: 8px;
    padding: 3px 8px;
    background: #F6F7F8;
    color: #000;
    cursor: pointer;
    display: block;
    line-height: 14px;
}
.articles_item_ad_modal {
    position: absolute;
    z-index: 100;
    bottom: 30px;
    width: 300px;
    left: 0;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #F1F1F1;
    background: #F6F7F8;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    gap: 20px;
    box-shadow: 1px 1px 3px #ccc;
}
.articles_item_ad_modal svg {
    flex: 0 0 20px;
    cursor: pointer;
}
.articles_footer {
    display: flex;
    align-items: flex-start;
}
.articles_more {
    text-decoration: none;
    color: #357FFC;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(53, 127, 252, 0.10);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.00) inset;
    display: flex;
    justify-content: center;
    align-items: center;
}

.articles.init .articles_list {
    display: flex;
}
.articles.init .articles_preinit {
    display: none;
}
.articles{
    border-radius: 24px;
    padding: 16px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
}

.articles__header{
    display: flex;
    align-items: center;
    gap: 12px;
}

.articles__header__icon{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F7F8;
    border-radius: 12px;
}

.articles__header__icon svg{
    width: 24px;
    height: 24px;
}

.articles__header__title{
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0px;
    color: #121315;
}

.articles__wrap{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 20px;
    column-gap: 12px;
}

.articles__wrap__item{
    text-decoration: none;
    position: relative;
}

.articles__wrap__item__img{
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 16px;
}

.articles__wrap__item__ad{
    position: absolute;
    top: 12px;
    left: 14px;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #FFFFFF;
    padding: 4px 6px;
    backdrop-filter: blur(32px);
    border-radius: 12px;
    background: #0000001F;
}

.articles__wrap__loader__img{
    width: 100%;
    height: 175px;
    border-radius: 16px;
    background: #F7F7F8;
    animation: loaderCart 0.5s infinite;
    animation-direction: alternate;
}

.articles__wrap__loader__txt{
    margin: 8px 0;
    border-radius: 16px;
    background: #F7F7F8;
    width: 60%;
    height: 20px;
    animation: loaderCart 0.5s infinite;
    animation-direction: alternate;
}

@keyframes loaderCart {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

.articles__wrap__item__txt{
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.articles__wrap__item__title{
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #121315;
    display: block;
    margin-bottom: 4px;
}
.articles__footer__btn{
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #357FFC;
    padding: 14px 20px;
    background: #EBF2FF;
    border-radius: 16px;
    text-decoration: none;
}

.articles__footer__pagination{
    display: flex;
    align-items: center;
    gap: 16px;
}

.articles__footer__pagination__arrow{
    background: none;
    border: none;
    cursor: pointer;    
}

.articles__footer__pagination__arrow.disabled{
    cursor: default;
    opacity: 0.5;
}

.articles__footer__pagination__wrap{
    display: flex;
    align-items: center;
    gap: 8px;
}

.articles__footer__pagination__wrap__item{
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    color: #111111;
    border-radius: 12px;
    background: none;
    border: none;
}

.articles__footer__pagination__wrap__item.active{
    background: #357FFC;
    color: #fff;
}

.articles__wrap__item__tags{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.articles__wrap__item__tags__item{
    color: #357FFC;
    font-size: 12px;
    line-height: 16px;
}

.articles__header__wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.articles__footer__btn__mobile__wrap{
    display: none;
}

@media (max-width: 1024px) {
    .articles__wrap{
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .articles__footer__btn{
        display: none;
    }

    .articles__footer__btn__mobile__wrap{
        display: flex;
        justify-content: center;
    }

    .articles__footer__btn__mobile{
        font-weight: 500;
        font-size: 14px;
        line-height: 20px;
        color: #357FFC;
        padding: 14px 20px;
        background: #EBF2FF;
        border-radius: 16px;
        text-decoration: none;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .articles__wrap{
        grid-template-columns: 1fr;
    }
    .articles__footer__btn__mobile{
        width: 100%;
    }
}