:root {
    --button-register-bgcolor: #1847f9;
}
[data-joy-color-scheme="dark"] {
    --button-register-bgcolor: #0B6BCB;
}
.topic{
    padding: 1px 15px;
}
.topic h1{
    margin-bottom: 13px;
    color: var(--footer-color);
    font-weight: 600;
    font-size: 22px;
}
.topic h2{
    margin-top: 18px;
}
.topic{
    margin-top:25px;
}
.topic .duration{
    transition-property: all;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    transition-duration: .3s;
    overflow: hidden;
    gap: 8px;
    flex-wrap: wrap;
    display: flex;
}
.topic .duration.maxHeigth{
    max-height: 56px;
}
.topic .duration .secondary{
    line-height: 140%;
    font-weight: 400;
    font-size: 12px;
    padding: 2px 8px 2px 8px;
    background: var(--search-bgcolor);
    color: var(--item-p-color);
    border-radius: 4px;
    align-items: center;
    cursor: pointer;
    height: 24px;
    display: flex;
}
.topic .more{
    color:#8e8e92;
    font-size: 14px;
    justify-content: center;
    cursor: pointer;
    margin-top: 15px;
    display: none;
}
.topic .icon-caret-down{
    margin-left: 5px;
    margin-top: 2px;
}
.topic .list-content{
    padding-top: 32px;
    min-height: 300px;
    position: relative;
}
.topic .list-content .content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 16px;
    margin-bottom: 0;
}
.topic .list-content .content .list{
    padding-bottom: 12px;
}
.topic .list-content .content .list a{
    overflow: hidden;
    width: 100%;
    border-radius: 8px;
    display: block;
    position: relative;
}
.topic .list-content .content .list a .list-img{
    overflow: hidden;
    width: 100%;
    display: block;
    position: relative;
}
.topic .list-content .content .list a .list-img img{
    cursor: pointer;
    min-height: 100%;
    width: 100%;
    border-radius: 8px;
    display: inline-block;
    border: none;
    vertical-align: middle;
    height: 180px;
}
.topic .list-type{
    gap: 8px;
    flex-wrap: wrap;
    display: flex;
    top: 12px;
    left: 12px;
    position: absolute;
}
.topic .list-type span{
    color: #57585c;
    line-height: 140%;
    font-size: 12px;
    padding: 2px 8px 2px 8px;
    background-color: #f4f5f7;
    border-radius: 4px;
    align-items: center;
    height: 24px;
    display: flex;
}
.topic .content .title{
    margin-top: 10px;
}
.topic .content .title h3{
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: var(--footer-color);
    margin-bottom: 16px;
    line-height: 28px;
    letter-spacing: 0;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.topic .content .title .button{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #999;
}
.topic .content .list{
    border: 1px solid var(--border-bottom-color);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.topic .content .list:hover {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);
}
.dark .topic .content .list:hover{
    box-shadow: rgba(20, 21, 26, 0.1) 0px 0px 1px, rgba(71, 77, 87, 0.16) 0px 16px 32px, rgba(20, 21, 26, 0.16) 0px 8px 16px;
}
.topic .rotate-180{
    transform: translate(0, 0) rotate(var(--tw-rotate)) skewX(180deg) skewY(0) scaleX(1) scaleY(1);
    --tw-rotate: 180deg;
    margin-top: -3px;
    padding-top: 3px;
}
.more-loading {
    color: var(--footer-color);
    width: 100%;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 1.5rem;
    padding-top: 20px;
    padding-bottom: 20px;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
    cursor: pointer;
    display: none;
}
.more-loading:hover{
    color: var(--news-hover-color);
}
.topic .duration .secondary.active{
    background: var(--button-register-bgcolor);
    color: #FFFFFF;
}
@media (max-width: 1280px) {
    .topic .list-content .content{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .topic .list-content .content .list a .list-img img{
        height: 200px;
    }
}
@media (max-width: 1100px) {
    .topic .list-content .content .list a .list-img img{
        height: 180px;
    }
}
@media (max-width: 960px) {
    .topic .list-content .content{
        grid-template-columns: 1fr 1fr;
    }
    .topic .list-content .content .list a .list-img img{
        height: 200px;
    }
}
@media (max-width: 760px) {
    .topic .list-content .content .list a .list-img img{
        height: 180px;
    }
}
@media (max-width: 730px) {
    .topic .list-content .content{
        grid-template-columns: 1fr;
    }
    .topic .list-content .content .list a .list-img img{
        height: 30rem;
    }
    .topic {
        padding: 1px 0px;
    }
}
