/* ========================================
   排行榜页面样式
   ======================================== */

/* 标签切换 */
.tab-rank {
    display: flex;
    height: 48px;
    background: #EFEFEF;
    border-radius: 5px;
}

.tab-rank a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 158px;
    height: 48px;
    font-size: 16px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    color: #333333;
    margin-right: 62px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-rank a:hover {
    background: #e0e0e0;
}

.tab-rank a.active {
    width: 158px;
    height: 48px;
    background: linear-gradient(180deg, #FF6B35 0%, #FF8535 100%);
    opacity: 1;
    border-radius: 10px;
    color: #FFFFFF;
}

/* 排行榜轮播 */
.rankSwiper {
    box-sizing: border-box;
    margin: 0 14px;
    background: #FFFFFF;
    border-radius: 0 0 10px 10px;
    width: 1200px;
}

.swiper-slide {
    padding-top: 40px;
}

/* 文章项 */
.art-item {
    display: flex;
    margin-bottom: 31px;
    transition: transform 0.3s ease;
}

.art-item:hover {
    transform: translateX(5px);
}

/* 图片盒子 */
.img-box {
    display: flex;
    align-items: center;
    margin-right: 34px;
    position: relative;
}

.top {
    margin-bottom: 31px;
}

.img-box i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 31px;
    height: 31px;
    background: #D8D8D8;
    border-radius: 50%;
    font-size: 15px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    font-style: normal;
    margin-right: 15px;
}

.top:first-child i {
    background: #FF6B35;
}

.top:nth-child(2) i {
    background: #FF5A00;
}

.top:nth-child(3) i {
    background: #FF9B19;
}

.art-item img {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    object-fit: cover;
}

/* 文本盒子 */
.txt-box {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.txt-box h1 {
    display: flex;
    justify-content: flex-start;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.txt-box h2 p img {
    width: 90px;
    height: 12px;
    margin-right: 3px;
}

.txt-box h2 p {
    font-size: 14px;
    font-family: "PingFang SC", sans-serif;
    font-weight: bold;
    color: #333333;
    margin-right: 15px;
}

.txt-box .name {
    font-size: 12px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    color: #666666;
    margin-top: 12px;
    margin-bottom: 14px;
}

.txt-box .descp {
    width: 800px;
    font-size: 12px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
}

.txt-box button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 34px;
    border: 1px solid #999999;
    border-radius: 5px;
    font-size: 14px;
    font-family: "PingFang SC", sans-serif;
    font-weight: 400;
    color: #999;
    margin-left: 30px;
    background: url(../images/rank_default.png) no-repeat 10px center;
    transition: all linear .3s;
    text-indent: 15px;
    cursor: pointer;
}

.txt-box button:hover {
    border: 1px solid #FF6B35;
    color: #FF6B35;
    background: url(../images/download_default.png) no-repeat 10px center;
}
