@charset "UTF-8";
/* ThriveX 风格：左图右文横向文章卡片（wang618 主题） */

.list-homes ul.tx-article-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.list-homes ul.tx-article-list > li.tx-article-card {
    position: relative;
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface, #ffffff);
    box-shadow: 0 2px 14px rgba(30, 41, 80, .07);
    transition: transform .3s cubic-bezier(.19, 1, .22, 1), box-shadow .3s ease;
}
.list-homes ul.tx-article-list > li.tx-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 41, 80, .14);
}
/* 偶数项左右互换，形成交错视觉 */
.list-homes ul.tx-article-list > li.tx-article-card:nth-child(even) {
    flex-direction: row-reverse;
}
.tx-card-cover {
    position: relative;
    display: block;
    flex: 0 0 43%;
    max-width: 43%;
    min-height: 184px;
    overflow: hidden;
    background: linear-gradient(135deg, #6f88ff, #a678e8);
}
.tx-card-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.19, 1, .22, 1);
}
.tx-article-card:hover .tx-card-cover img { transform: scale(1.07); }
.tx-card-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 28, 60, .10), rgba(20, 28, 60, 0));
    pointer-events: none;
}
.tx-card-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
.tx-card-title {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tx-card-title a {
    color: var(--ink, #1c1917);
    text-decoration: none;
    transition: color .2s ease;
}
.tx-card-title a:hover { color: #5b8ff9; }
.tx-card-excerpt {
    margin: 0;
    color: var(--muted, #6b7280);
    font-size: 13.5px;
    line-height: 1.78;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tx-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    font-size: 12px;
    color: var(--muted-2, #9aa3b2);
}
.tx-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: inherit;
    text-decoration: none !important;
    transition: color .2s ease;
}
.tx-meta-item i { font-size: 13px; line-height: 1; }
.tx-meta-item:hover { color: #5b8ff9; }
.tx-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(91, 143, 249, .94);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3px;
}
.tx-article-card:nth-child(even) .tx-card-badge { left: auto; right: 14px; }

/* 深色模式 */
.dark .list-homes ul.tx-article-list > li.tx-article-card {
    background: var(--dm-surface, #252a33);
    box-shadow: 0 2px 14px rgba(0, 0, 0, .22);
}
.dark .list-homes ul.tx-article-list > li.tx-article-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
}

/* 分页：蓝色胶囊数字按钮 */
.pagenavi-bottom .ux-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 28px 0 8px;
    padding: 0;
    list-style: none;
}
.pagenavi-bottom .ux-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 9px;
    background: var(--surface, #fff);
    color: var(--ink, #1c1917);
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 1px 5px rgba(30, 41, 80, .07);
    transition: all .2s ease;
}
.dark .pagenavi-bottom .ux-page-link { background: var(--dm-surface, #252a33); }
.pagenavi-bottom .ux-page-link:hover { color: #5b8ff9; }
.pagenavi-bottom .ux-page-link.is-current {
    background: #5b8ff9;
    color: #fff;
    font-weight: 600;
}
.pagenavi-bottom .ux-page-next .ux-page-icon { margin-left: 4px; }

/* 移动端：图片在上、文字在下 */
@media (max-width: 767px) {
    .list-homes ul.tx-article-list > li.tx-article-card,
    .list-homes ul.tx-article-list > li.tx-article-card:nth-child(even) {
        flex-direction: column;
    }
    .tx-card-cover {
        flex: none;
        max-width: 100%;
        width: 100%;
        min-height: 0;
        height: 190px;
    }
    .tx-card-body { padding: 16px 18px 18px; }
    .tx-card-title { font-size: 17px; }
    .tx-article-card:nth-child(even) .tx-card-badge { left: 14px; right: auto; }
}
