@media all and (max-width:400px) {
    .categories-home-page a {
        width:calc(100% - 32px);
        margin-left:0;
        margin-top:35px;
    }

    .categories-home-page a .image {
        height:calc(var(--width-content) - 32px);
    }

    .categories-home-page a:nth-child(-n + 2) {
        margin-top:35px;
    }

    .categories-home-page a:nth-child(2n + 1) {
        margin-left:0;
    }

    .categories-home-page a:nth-child(3n + 1) {
        margin-left: 0;
    }

    .categories-home-page a:nth-child(-n + 3) {
        margin-top:35px;
    }

    .categories-home-page a:nth-child(-n + 6) {
        margin-top: 35px;
    }

    .categories-home-page a:first-child {
        margin-top:0;
    }

    .article-container .article-header .article-pictures .thumbnails .thumbnail {
        width: calc((100% - 10px) / 2.5 - 6px);
        height: calc((((var(--width-content)) - 10px) / 2.5 - 6px) * 11 / 16);
    }
}