/* 排名页面专用样式 */

/* Blog悬停效果 */
.single-blog:hover h2 {
    color: #EC1C23 !important;
}
.single-blog:hover .blog-bottom span {
    color: #2C2B5E !important;
}
.single-blog:hover .blog-date div {
    color: #EC1C23 !important;
}

/* Blog整体链接样式 */
.blog-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Blog项目容器样式 */
.blog-item {
    display: flex;
    align-items: flex-start;
    transition: all 0.5s ease;
    cursor: pointer;
    min-height: 80px;
    padding: 15px;
}

/* 日期卡片样式 */
.blog-date-card {
    flex: 0 0 140px;
    margin-right: 25px;
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
}

/* 日期文字样式 */
.date-year {
    font-size: 34px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}
.date-day {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.date-month {
    font-size: 12px;
    color: #666;
}

/* 内容区域样式 */
.blog-content-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* 标题样式 */
.blog-title {
    margin: 0 0 10px 0;
    color: #303030;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* 查看详情样式 */
.blog-read-more {
    color: #EC1C23;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.5s ease;
    margin-top: auto;
    align-self: flex-start;
}

/* 悬停效果 */
.blog-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.blog-item:not(:hover) {
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.15);
}

/* 分页控制器样式 */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pagination li {
    margin: 0;
}

.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    color: #666;
    background: #fff;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
    min-width: 45px;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 1;
}

.pagination li:first-child a {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination li:last-child a {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.pagination li a:hover {
    background: #f8f9fa;
    color: #EC1C23;
    border-color: #EC1C23;
}

.pagination li.active a {
    background: #EC1C23;
    color: #fff;
    border-color: #EC1C23;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(236, 28, 35, 0.3);
}

.pagination li.disabled a {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
    border-color: #e9ecef;
}

.pagination li.disabled a:hover {
    background: #f8f9fa;
    color: #ccc;
    border-color: #e9ecef;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .blog-item {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .blog-date-card {
        flex: none;
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
    }
    
    .date-day {
        font-size: 20px;
    }
    
    .blog-title {
        font-size: 17px;
    }
    
    .pagination li a {
        padding: 0;
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
