.clp-category{
    margin: 10px 0 40px;
    color: #666;
}
.clp-category .clp-category-header{
    display: flex;
    align-items: baseline;
    color: rgb(139 173 0 / .9);
    padding: 15px 11px;
    margin: 0 0 10px;
    border-radius: 5px;
    padding-left: 20px;
}

.clp-category .clp-category-header h2{
    margin: 0 10px 0 0;
    font-size: 1.2em;
    font-weight: bold;
    display: list-item;
    list-style: circle;
}

.clp-category .clp-category-header p{
    font-size: 0.9em;
    color: #999;
    margin: 0;
}

.clp-category ul{
    display: flex;
    padding: 0;
    flex-wrap: wrap;
}

.clp-category ul li{
    flex: 0 0 calc(25% - 0.75%);
    margin: 0 10px 10px 0;
    list-style: none;
    background: rgb(139 173 0 / .1);
    padding: 1em;
    border-radius: 5px;
    transition: linear 0.1s;
    position: relative;
}

.clp-category ul li:nth-child(4n){
    margin-right: 0;
}

.clp-category ul li:hover{
    box-shadow: 3px 4px 5px #ccc;
    -webkit-transform: translateY(-4px);
    -ms-transform: translateY(-4px);
    transform: translateY(-4px);
}

.clp-category ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    text-decoration: none;
    /*color: rgba(139, 173, 0, 1);*/
    color: #000!important;
    font-size: 1em;
}

.clp-category ul li a:hover{
    font-weight: bold;
}

.clp-category ul li a .logo-wrapper{
    height: 64px;
    width: 100%;;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 0 10px;
}

.clp-category ul li a img{
    max-height: 64px;
    max-width: 100%;
    width: auto;
    border-radius: 5px;
}

.clp-category ul li p{
    font-size: 0.8em;
    color: #18191C80;
    margin-bottom: 0;
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
}

.clp-link-attributes{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    padding: 5px;
    font-size: 12px;
    flex-wrap: wrap;
}

.clp-link-attributes span{
    padding: 1px 3px;
    border: 1px solid #be9a7550;
    display: block;
    border-radius: 4px;
    color: #999;
    margin: 0 0px 2px 2px;
    background: #f9f1e780;
    padding: 0 0.2em;
    color: #be9a75;
}


.clp-category:nth-child(2) .clp-category-header{
    color: rgba(245, 93, 11, 0.9);
}

.clp-category:nth-child(2) li{
    background: rgba(245, 93, 11, 0.1);
}

.clp-category:nth-child(2) li a{
    color: rgba(245, 93, 11, 1);
}

.clp-category:nth-child(3) .clp-category-header{
    color: rgba(123, 95, 236, 0.9);
}

.clp-category:nth-child(3) li{
    background: rgba(123, 95, 236, 0.1);
}

.clp-category:nth-child(3) li a{
    color: rgba(123, 95, 236, 1);
}


.clp-category:nth-child(4) .clp-category-header{
    color: rgba(20, 173, 0, 0.9);
}

.clp-category:nth-child(4) li{
    background: rgba(20, 173, 0, 0.1);
}

.clp-category:nth-child(4) li a{
    color: rgba(20, 173, 0, 1);
}

.clp-category:nth-child(5) .clp-category-header{
    color: rgba(234, 62, 139, 0.9);
}

.clp-category:nth-child(5) li{
    background: rgba(234, 62, 139, 0.1);
}

.clp-category:nth-child(5) li a{
    color: rgba(234, 62, 139, 1);
}

.clp-button-container {
    display: flex;
    gap: 10px; 
    justify-content: center;
    margin-top: 8px;
}

.clp-category ul li a.clp-button {
    padding: 4px 6px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0;
    font-size: 0.8rem;
}

.clp-button:hover {
    
}



/*小于 1024px*/
@media (max-width: 1024px) {
     .clp-category ul li{
        flex: 0 0 calc(50% - 5px);
        list-style: none;
        background: rgba(139, 173, 0, 0.1);
        padding: 1em;
        border-radius: 5px;
        transition: linear 0.1s;
    }
    .clp-category ul li:nth-child(2n){
        margin-right: 0;
    }
}



/*小于 468px*/
@media (max-width: 468px) {
     .clp-category ul li{
        flex: 0 0 calc(50% - 5px);
        list-style: none;
        background: rgba(139, 173, 0, 0.1);
        padding: 1em;
        border-radius: 5px;
        transition: linear 0.1s;
    } 
    .clp-category ul li p{
        -webkit-line-clamp: 4;
    }
}