@media (min-width:1600px) {
    .wp-list-topics-page 
    .container {
        max-width: 1510px !important;
    }
}
.item-topic {
    background: rgba(240, 243, 245, 1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.top-item-topic {
    padding: 20px;
    position: relative;
}

.top-item-topic .flex-title-item {
    display: flex;
    align-items: flex-start;
    gap: 0 8px;
    margin-bottom: 6px;
}

.top-item-topic .flex-title-item .number {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(58, 84, 97, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-item-topic .flex-title-item .number p {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
}

.top-item-topic .flex-title-item .name {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 39px;
    padding-right:10px;
}

.top-item-topic .flex-title-item .name a {
    color: rgba(28, 43, 51, 1);
    transition: all .3s;
}

.top-item-topic .flex-title-item .name a:hover {
    color: #218d20;
}
.flex-action-item-topic {
    display: flex;
    align-items: flex-start;
    gap: 0 4px;
}

.flex-action-item-topic .list-item-info-topic {
    flex: 1;
}

.btn-text-gd a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0 4px;
}

.btn-text-gd a .text {
    color: #2387CE;
    font-size: 13px;
    font-weight: 300;
    transition: all .3s;
}

.btn-text-gd a .icon {
    transform: translateX(0);
    transition: all .3s;
}

.btn-text-gd a:hover .text {
    text-decoration: underline;
}

.btn-text-gd a:hover .icon {
    transform: translateX(4px);
}
.list-item-info-topic {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
}

.item-info-topic {
    position: relative;
    padding-left: 15px;
    margin-right: 15px;
}

.item-info-topic:before {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    width: 5px;
    height: 5px;
    background: rgba(133, 141, 154, 1);
    border-radius: 50%;
}

.item-info-topic:first-child {
    padding: 0;
}
.item-info-topic:last-child {
    margin-right: 0;
}
.item-info-topic:first-child:before {
    display: none;
}

.main-item-topic {
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F3F5 100%);
    border: 1px solid rgba(237, 237, 237, 1);
    border-radius: 8px;
    padding: 16px;
}

.category-topic {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.item-cateogory-topic {
    border: 1px solid #218d20;
    background: #fff;
    height: 22px;
    padding: 0 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.item-cateogory-topic .text {
    color: #218d20;
    font-size: 13px;
    font-weight: 400;
}

.main-item-topic .picture {
    height: 180px;
    border: 1px solid rgba(224, 227, 233, 1);
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.main-item-topic .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: 3s all ease;
}

.main-item-topic .picture a {display: block;width: 100%;height: 100%;}
.main-item-topic .picture:hover img {
    object-position: bottom;
}
.flex-action-topic {
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.list-info-action-item {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    gap: 0 16px;
}

.btn-bg-gray-text {
    background: rgba(218, 226, 234, 1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
}

.btn-bg-gray-text .text {
    color: rgba(28, 43, 51, 1);
    font-size: 13px;
    font-weight: 400;
}
@media (min-width:1400px) and (max-width:1599px) {
    .list-info-action-item {
        gap: 0 6px;
    }
    .top-item-topic {
        padding: 14px;
    }
}
@media (min-width:1200px) and (max-width:1399px) {}
@media (min-width:992px) and (max-width:1199px) {
    .main-item-topic .picture {
        height: 220px;
    }
}
@media (min-width:576px) and (max-width:767px) {
    .main-item-topic .picture {
        height: 135px;
    }
    .top-item-topic {
        padding: 12px;
    }
    .main-item-topic {
        padding: 12px;
    }
    .flex-action-topic {
        display: block;
    }
    .list-info-action-item {
        justify-content: flex-start;
        margin-top: 4px;
    }
}
@media (max-width:326px) {
    .top-item-topic {
        padding: 12px;
    }
    .main-item-topic {
        padding: 12px;
    }
    .flex-action-topic {
        display: block;
    }
    .list-info-action-item {
        justify-content: flex-start;
        margin-top: 4px;
    }
}