.main.custom-blog {
    padding-left: 0;
}


/* Custom-blog-section START */

.article.custom-blog-article {
    margin-bottom: 0 !important;
}

.custom-blog-section-title {
    margin-bottom: 2rem;
}

.article__image.custom-article-blog__image {
    margin-bottom: 0.7rem;
}

.article__title.custom-article-blog__title {
    font-weight: 500;
    font-size: 1.8rem;
    letter-spacing: -0.01em;
    line-height: 1;
}

.article.custom-blog-article:nth-child(1) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(3) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(4) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(6) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(7) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(9) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(10) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(12) .article__title.custom-article-blog__title {
    margin-bottom: 0.4rem;
}

.article.custom-blog-article:nth-child(2) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(5) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(8) .article__title.custom-article-blog__title,
.article.custom-blog-article:nth-child(11) .article__title.custom-article-blog__title {
    margin-bottom: 1rem;
}

.custom-blog-article__info-text {
    color: #bebebe;
    font-size: 12px;
    font-weight: 600;
    line-height: 183%;
    letter-spacing: -0.02em;
}

.custom-blog-article__info-wrapper {
    display: flex;
    align-items: center;
    column-gap: 0.7rem;
}

.custom-blog-article__info-wrapper:nth-child(2) {
    margin-left: 14.5rem;
}

.custom-blog-article__info-wrapper:last-child {
    column-gap: 0.5rem;

    margin-left: auto;
}

.custom-blog-article__descr {
    max-width: 40rem;
    width: 100%;

    font-weight: 500;
    font-size: 1.3rem;
    line-height: 140%;

    margin-bottom: 0;
}

.custom-blog-article__info {
    display: flex;
    align-items: center;

    margin-bottom: 1.3rem;
}

.blog-list.custom-blog-list {
    grid-gap: 3.9rem 2rem;

    margin-bottom: 11.5rem;
}

.tag__marker.custom-blog-article__marker {
    width: 12.6rem;
    height: 2.4rem;

    font-size: 1rem;

    border-radius: 5rem;
    background-color: #6cae5c;

    padding: 0 1.5rem;
}

.tag__marker.custom-blog-article__marker--mobile {
    display: none;
}

.custom-blog-section__button {
    display: block !important;

    width: 34.3rem;

    margin: 0 auto;
}

.pagination.custom-blog-section__pagination {
    margin: 3.2rem 0 10.7rem;
}

.custom-blog-section__search-wrapper {
    position: relative;
}

.custom-blog-section__search {
    width: 31.5rem;
    height: 3.6rem;

    border-radius: 3rem;
    border: 1px solid rgba(124, 124, 124, 0.6);

    padding: 1.2rem 2.2rem;

    outline: none;
}

.custom-blog-section__search::placeholder {
    color: #9c9c9c !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.custom-blog-section__search-button {
    position: absolute;
    top: 1.1rem;
    right: 1.0rem;

    color: #808080;

    background-color: transparent;
    transition: color 0.3s ease;

    border: none;
    outline: none;
}

.custom-blog-section__search-button:hover {
    color: #3F892C;
}

.tag-nav.custom-blog-section-nav {
    width: 90.6rem;

    flex-wrap: wrap;
    overflow: visible;
    gap: 2rem 0.7rem;

    margin: 0;
}

.tag-nav__link.custom-blog-section-nav__link {
    position: relative;
    overflow: visible;

    height: 3.6rem;

    font-size: 1.4rem;

    border-radius: 3rem;

    padding: 0 2rem;
    margin-right: 0;
}

.custom-blog-section-nav__link-count {
    position: absolute;
    top: -0.9rem;
    right: 0.8rem;

    padding: 0 0.3rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2rem;
    height: 1.4rem;

    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.02em;

    border-radius: 1rem;
    background-color: #7C7C7C;
}

.custom-blog-section__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 4rem;
}

.custom-blog-section__top-mobile {
    display: none;
}

/* Custom-blog-section END */


/* Custom-blog-subscription START */

.custom-blog-subscription {
    padding: 5.8rem 0 6.1rem;
}

.custom-blog-subscription__title {
    margin-bottom: 3.7rem;
}

.custom-blog-subscription__wrapper {
    flex-direction: column;
    align-items: flex-start;
}

.custom-blog-subscription__wrapper .subscription__text {
    max-width: 46.5rem;
    width: 100%;

    font-size: 1.4rem;
    font-weight: 400;
    text-align: left;
    line-height: 157%;

    margin-bottom: 3.8rem;
}

.custom-blog-subscription__wrapper .subscription__input {
    margin-right: 0;
    margin-bottom: 2.8rem;
}

.custom-blog-subscription__socials {
    margin-right: 0;
}

.custom-blog-subscription__socials.custom-blog-subscription__socials--mobile {
    display: none;
}

.custom-blog-subscription__socials-title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 138%;

    margin-bottom: 2.6rem;
}

.custom-blog-subscription__socials-link {
    width: 6rem !important;
    height: 5.7rem !important;
}

.custom-blog-subscription__socials-link .icon-vk {
    width: 2.2rem;
    height: 1.2rem;
}

.custom-blog-subscription__socials-link .icon-tg {
    width: 2.3rem;
    height: 1.7rem;
}

.custom-blog-subscription__socials-link .icon-youtube {
    width: 2.4rem;
    height: 1.6rem;
}

.custom-blog-subscription__socials-link .icon-zen {
    width: 1.9rem;
    height: 1.8rem;
}

.custom-blog-subscription__socials-link:hover .icons-max {
    background-image: url(../../img/custom-img/icons/trigger-emails-max-inversion.svg);
}

.custom-blog-subscription__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    column-gap: 12.4rem;
}

/* Custom-blog-subscription END */


/* Adaptiv */

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .custom-blog-subscription__title {
        margin-bottom: 2rem;
    }

    .custom-blog-subscription__wrapper .subscription__text {
        text-align: center;

        margin-bottom: 3.5rem;
    }

    .custom-blog-subscription__wrapper .subscription__input {
        margin-bottom: 2.8rem;
    }

    .tag__marker.custom-blog-article__marker:not(.custom-blog-article__marker--mobile) {
        display: none;
    }

    .tag__marker.custom-blog-article__marker--mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        border-radius: 0.4rem;
        background-color: #3F892C;

        padding: 0.4rem 0.8rem;
    }

    .custom-blog-section-title {
        margin-bottom: 2.7rem;
    }

    .custom-blog-section__search-button svg {
        width: 2.1rem;
        height: 2.1rem;
    }

    .custom-blog-section__search-button {
        top: 1.5rem;
        right: 1.8rem;
    }

    .custom-blog-section__search {
        height: 5rem;

        border-color: rgba(0, 0, 0, 0.5);
    }

    .blog-list .article.custom-blog-article:nth-child(5n+4) {
        grid-column: span 3;
    }

    .blog-list .article:nth-child(5n+1), .blog-list .article:nth-child(5n+4), .blog-list .article:nth-child(5n+5) {
        grid-column: span 3 !important;
    }

    .blog-list.custom-blog-list {
        row-gap: 3.4rem !important;
    }

    .tag-nav.custom-blog-section-nav {
        margin-bottom: 3.2rem;
    }

    .custom-blog-section__top-mobile {
        margin-bottom: 4.5rem;
    }

    .breadcrumb.breadcrumb--custom-blog {
        margin: 2.7rem 0 0.5rem;
    }
}

@media only screen and (min-width: 360px) and (max-width: 991px) {
    .custom-blog-subscription__socials-title {
        display: none;
    }

    .custom-blog-subscription__wrapper {
        row-gap: 0;
        align-items: center;
    }

    .custom-blog-subscription__content {
        flex-direction: column;
        align-items: center;
    }

    .custom-blog-subscription__wrapper .subscription__text {
        font-weight: 300;
    }

    .custom-blog-subscription__wrapper .subscription__input,
    .custom-blog-subscription__wrapper .subscription__button {
        width: 35.3rem;
    }

    .custom-blog-subscription__socials.custom-blog-subscription__socials--mobile {
        display: flex;
    }

    .custom-blog-subscription__socials.custom-blog-subscription__socials--mobile {
        margin-bottom: 3.2rem;
    }

    .custom-blog-subscription__socials {
        column-gap: 1rem;
        margin-bottom: 3.8rem;
    }

    .custom-blog-section__top {
        display: none;
    }

    .custom-blog-section__top-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .tag-nav.custom-blog-section-nav {
        width: 100%;
    }

    .custom-blog-section__search-wrapper {
        max-width: 100%;
    }

    .custom-blog-section__search {
        width: 100%;
        border-radius: 10.4rem;
    }

    .tag-nav__link.custom-blog-section-nav__link {
        padding: 0.6rem 1.6rem;
    }

    .blog-list .article.custom-blog-article:nth-child(5n+1) {
        grid-column: span 3;
    }

    .blog-list .article:nth-child(5n+1) img {
        min-height: auto !important;
    }

    .custom-blog-article__descr {
        display: none;
    }

    .custom-article-sidebar {
        display: none;
    }
}

@media only screen and (min-width: 360px) and (max-width: 767px) {
    .custom-blog-subscription {
        padding: 3.5rem 0 4.2rem;
    }

    .custom-blog-subscription__title {
        font-size: 2rem;

        margin-bottom: 2rem;
    }

    .custom-blog-subscription__wrapper .subscription__text {
        text-align: left;

        margin-bottom: 2.9rem;
    }

    .custom-blog-subscription__wrapper .subscription__input {
        margin-bottom: 3.3rem;
    }

    .custom-blog-section__top-mobile .custom-blog-section__search-wrapper {
        margin-bottom: 2.6rem;
    }

    .custom-blog-section-title {
        margin-bottom: 1.6rem;
    }

    .custom-blog-section__search {
        height: 3.6rem;

        padding: 1.3rem 1.6rem;
    }

    .custom-blog-article__info:not(.blog-list .article.custom-blog-article:nth-child(5n+1) .custom-blog-article__info) {
        display: none;
    }

    .article .tag__marker.custom-blog-article__marker {
        left: 1.5rem;
        bottom: 23.5rem;
    }

    .article .tag__marker.custom-blog-article__marker:not(.blog-list .article.custom-blog-article:nth-child(5n+1) .tag__marker.custom-blog-article__marker) {
        display: none;
    }

    .blog-list.custom-blog-list {
        grid-gap: 0 2rem;
    }

    .blog-list.custom-blog-list {
        margin-bottom: 3.6rem;
    }

    .pagination.custom-blog-section__pagination {
        margin: 3.2rem 0 3.8rem;
    }

    .blog-list.custom-blog-list {
        row-gap: 2.4rem !important;
    }

    .tag-nav.custom-blog-section-nav {
        margin-bottom: 2.8rem;
    }
}

@media only screen and (min-width: 992px) {
    .blog-list.custom-blog-list .article {
        grid-column: span 2 !important;
    }
}