div.sub-categories .list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 4rem;
    grid-row-gap: 2rem;
}

@media only screen and (max-width: 1100px) {
    div.sub-categories .list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 890px) {
    div.sub-categories .list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 500px) {
    div.sub-categories .list {
        grid-template-columns: 1fr;
        grid-row-gap: 0;
    }
}

div.sub-categories .list .link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid #e8e8e8;
}

@media only screen and (max-width: 500px) {
    div.sub-categories .list .link {
        padding: 1rem 0;
    }
}

div.sub-categories .list .link:hover .label {
    color: #005fef;
}

div.sub-categories .list .link:hover .label .badge {
    background-color: #223d5a;
    color: #fff;
}

div.sub-categories .list .link:hover .arrow-icon svg {
    fill: #005fef;
}

div.sub-categories .list .link .label {
    display: flex;
    /*font-size: 1.5rem;*/
    color: #223d5a;
    transition: all 0.2s;
}

@media only screen and (max-width: 500px) {
    div.sub-categories .list .link .label {
        /*font-size: 1.9rem;*/
    }
}

div.sub-categories .list .link .label .badge {
    /*font-size: 1.2rem;*/
    margin-left: 0.6rem;
    padding: 0.3rem 0.6rem;
    transition: all 0.2s;
}

@media only screen and (min-width: 501px) {
    div.sub-categories .list .link .category-icon {
        display: none;
    }
}

/* ========== */
section.list .custom-row {
    margin-right: 0;
    margin-left: 0;
}

section.list .item {
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.03);
    background-color: #fff;
    border-radius: 4px;
    padding: 1.7rem;
}

section.list .item .type {
    color: #223d5a;
}

section.list .item .type .links a {
    color: #EBA158;
    padding: 0 0.5rem 0 0.5rem;
}

section.list .item .type .links a:first-child {
    padding-left: 0 !important;
}

section.list .item .type .links a:last-child {
    padding-right: 0 !important;
}

section.list .item .upload-time {
    white-space: nowrap;
    color: #beb7b7;
    font-size: 0.9rem;
}

section.list .item .upload-time svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: #cfcdcd;
    margin-right: 0.5rem;
}

@media only screen and (max-width: 950px) {
    section.list .item .upload-time svg {
        margin-right: 1.2rem;
    }
}

section.list .item .title {
    text-overflow: ellipsis;
    overflow: hidden;
}

section.list .item .title a {
    max-height: calc(2.2rem * 2);
    color: #223d5a;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 2.2rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

@media only screen and (max-width: 470px) {
    section.list .item .title a {
        display: -webkit-box;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }
}

section.list .item .title a:hover {
    color: #005fef;
}

section.list .item .description {
color: #aaaaaa;
margin-top: auto;
font-size: 1rem;
display: -webkit-box;
line-height: 1rem;
-webkit-box-orient: vertical;
text-overflow: ellipsis;
overflow: hidden;
}

@media only screen and (max-width: 950px) {
    section.list .item .description {
        margin-top: 1rem;
    }
}

section.list .item .link-to-post {
    background-color: #f6f6f6;
    /*font-size: 1.4rem;*/
    /*padding: 1rem 3rem;*/
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    transition: all 0.2s;
    /*width: 16rem;*/
}

@media only screen and (max-width: 650px) {
    section.list .item .link-to-post {
        margin-top: 2rem;
    }
}

@media only screen and (max-width: 430px) {
    section.list .item .link-to-post {
        width: 100%;
    }
}

section.list .item .link-to-post svg {
    width: 0.8rem;
    height: 0.8rem;
    fill: #005fef;
    margin-right: 0.5rem;
    transition: all 0.2s;
}

section.list .item .link-to-post:hover {
    background-color: #223d5a;
    color: #fff;
}

section.list .item .link-to-post:hover svg {
    fill: #fff;
}

.page-item.active .page-link {
    border: 1px solid #dee2e6;
}