/* ===================== Category Hero ===================== */
.category-hero {
    padding: 32px 0 24px;
}

.category-hero h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.category-hero p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ===================== Hot Posts Section ===================== */
.hot-posts {
    margin-top: 0;
    margin-bottom: 32px;
}

.hot-posts h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.hot-posts-inner {
    display: flex;
    gap: 20px;
}

.hot-posts-featured {
    flex: 1.5;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.hot-posts-featured img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
}

.hot-posts-featured .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 20px;
    border-radius: 0 0 16px 16px;
}

.hot-posts-featured .overlay p {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 25px;
}
.hot-posts-featured .overlay p:hover {
    text-decoration: underline;
}
.hot-posts-featured a:hover img {
    transition: all 0.2s linear;
    transform: scale(1.06);
}

.hot-posts-featured .overlay .meta {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.hot-posts-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hot-posts-list .hot-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hot-posts-list .hot-item img {
    width: 90px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.hot-posts-list .hot-item .info p {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-posts-list .hot-item .info p a:hover {
    color: var(--primary-dark);
}

.hot-posts-list .hot-item .info .meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===================== Article List Section ===================== */
.list-section {
    flex: 1;
    margin-top: 0;
}

.list-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.list-items {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.list-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin: 0 20px;
    display: flow-root;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item .list-item_img {
    width: 280px;
    height: 190px;
    border-radius: 16px;
    float: left;
    margin-right: 20px;
    overflow: hidden;
}

.list-item .list-item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.25s;
}

.list-item .list-item_img img:hover {
    transform: scale(1.06);
}

.list-item .list-item_conts {
    overflow: hidden;
}

.list-item .tit {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: bold;
}

.list-item .tit a {
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.list-item .tit a:hover,
.list-item .tit a:focus {
    color: var(--primary-dark);
}

.list-item .meta {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.list-item .meta .time {
    color: #888;
}

.list-item .tags {
    font-size: 12px;
    margin-bottom: 8px;
}

.list-item .tags .tag {
    display: inline-block;
    background-color: var(--primary-dark);
    color: #fff;
    padding: 3px 6px;
    border-radius: 5px;
    margin: 2px 10px 2px 0;
}

.list-item .excerpt {
    color: #666;
    font-size: 14px;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 10px 0;
    height: 72px;
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
    .hot-posts-inner {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .list-item .list-item_img {
        float: none;
        margin-right: 0;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .list-item .excerpt {
        height: auto;
    }
}
.widget{
    border: 1px solid #f8aa8f;
}
.hot_list .item:nth-of-type(1) .item_num, .hot_list .item:nth-of-type(2) .item_num, .hot_list .item:nth-of-type(3) .item_num{
    background: linear-gradient(135deg, #f0bdac 0%, #e85a2a 100%);
}