/* 
* @Author: anchen
* @Date:   2026-10-10 18:24:16
* @Last Modified by:   anchen
* @Last Modified time: 2026-10-10 18:24:37
*/
/* W7Ghost 专题列表页 */
.w7topics-page,
.w7topics-page * {
    box-sizing: border-box;
}

.w7topics-page {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #29252a;
}

/* 面包屑 */
.w7topics-page .w7topics-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    width: 100%;
    min-height: 54px;
    margin: 0 0 16px;
    padding: 14px 18px;
    color: #6f6870;
    font-size: 14px;
    line-height: 24px;
    background: #ffffff;
    border: 1px solid #f6dce9;
    border-radius: 12px;
}

.w7topics-page .w7topics-breadcrumb i {
    color: #f25ca8;
    font-size: 16px;
}

.w7topics-page .w7topics-breadcrumb a {
    color: #f25ca8;
    text-decoration: none;
}

.w7topics-page .w7topics-breadcrumb a:hover {
    color: #dc3e91;
}

/* 标题和分类 */
.w7topics-page .w7topics-heading {
    width: 100%;
    margin-bottom: 16px;
    padding: 18px 20px 15px;
    background: #ffffff;
    border: 1px solid #f6dce9;
    border-radius: 14px;
}

.w7topics-page .w7topics-title {
    position: relative;
    margin-bottom: 17px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee6eb;
}

.w7topics-page .w7topics-title::after {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 3px;
    content: "";
    background: #f25ca8;
    border-radius: 10px;
}

.w7topics-page .w7topics-title h1 {
    margin: 0 !important;
    padding: 0 !important;
    color: #252125 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
}

/* 分类按钮 */
.w7topics-page .w7topics-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 160px));
    justify-content: center;
    gap: 18px;
}

.w7topics-page .w7topics-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 7px 20px;
    color: #6d6269 !important;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none !important;
    background: #f7edf3;
    border: 1px solid transparent;
    border-radius: 20px;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.w7topics-page .w7topics-tab:hover {
    color: #f25ca8 !important;
    background: #fff4fa;
    border-color: #f4bfda;
}

.w7topics-page .w7topics-tab.active {
    color: #ffffff !important;
    font-weight: 600;
    background: #f25ca8;
    box-shadow: 0 7px 16px rgba(242, 92, 168, 0.22);
}

/* 专题卡片列表 */
.w7topics-page .w7topics-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 卡片 */
.w7topics-page .w7topics-card {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    margin: 0 !important;
    padding: 6px !important;
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid #f4dce8 !important;
    border-radius: 14px !important;
    box-shadow: 0 3px 10px rgba(119, 53, 88, 0.08);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.w7topics-page .w7topics-card:hover {
    transform: translateY(-3px);
    border-color: #f2a9cd !important;
    box-shadow: 0 10px 24px rgba(173, 67, 123, 0.15);
}

/* 专题图 */
.w7topics-page .w7topics-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f8eef4;
    border-radius: 10px;
}

.w7topics-page .w7topics-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    border: 0;
    border-radius: 0 !important;
    transition: transform 0.35s ease;
}

.w7topics-page .w7topics-card:hover .w7topics-image img {
    transform: scale(1.04);
}

/* 卡片内容 */
.w7topics-page .w7topics-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 11px 5px 5px;
}

.w7topics-page .w7topics-card-title {
    min-width: 0;
    margin: 0 0 12px !important;
    padding: 0 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 23px !important;
}

.w7topics-page .w7topics-card-title a {
    display: -webkit-box;
    overflow: hidden;
    color: #2b272a !important;
    text-decoration: none !important;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.w7topics-page .w7topics-card-title a:hover {
    color: #f25ca8 !important;
}

.w7topics-page .w7topics-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 34px;
    margin-top: auto;
}

.w7topics-page .w7topics-card-footer time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8d858a;
    font-size: 13px;
    white-space: nowrap;
}

.w7topics-page .w7topics-card-footer time i {
    color: #f25ca8;
}

/* 查看详情 */
.w7topics-page .w7topics-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 12px;
    color: #ffffff !important;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    text-decoration: none !important;
    background: #f25ca8;
    border-radius: 16px;
    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.w7topics-page .w7topics-details:hover {
    color: #ffffff !important;
    background: #df438f;
    box-shadow: 0 5px 12px rgba(223, 67, 143, 0.25);
}

/* 分页 */
.w7topics-page .pagination-wrap {
    margin-top: 28px;
    padding: 5px 0 20px;
}

.w7topics-page .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.w7topics-page .pagination li {
    margin: 0;
    padding: 0;
}

.w7topics-page .pagination .page-numbers,
.w7topics-page .pagination .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    color: #6e656a;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #f2d7e5;
    border-radius: 19px;
}

.w7topics-page .pagination a.page-numbers:hover,
.w7topics-page .pagination .page-numbers.current {
    color: #ffffff;
    background: #f25ca8;
    border-color: #f25ca8;
}

/* 平板 */
@media (max-width: 1024px) {
    .w7topics-page .w7topics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .w7topics-page .w7topics-tabs {
        grid-template-columns: repeat(3, minmax(0, 145px));
        gap: 12px;
    }
}

/* 手机 */
@media (max-width: 700px) {
    .w7topics-page .w7topics-breadcrumb {
        min-height: auto;
        margin-bottom: 10px;
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 10px;
    }

    .w7topics-page .w7topics-heading {
        margin-bottom: 12px;
        padding: 12px 8px;
        border-radius: 10px;
    }

    .w7topics-page .w7topics-title {
        display: none;
    }

    .w7topics-page .w7topics-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .w7topics-page .w7topics-tab {
        min-height: 34px;
        padding: 5px 8px;
        font-size: 13px;
        border-radius: 8px;
    }

    .w7topics-page .w7topics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .w7topics-page .w7topics-card {
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 11px !important;
        box-shadow: none;
    }

    .w7topics-page .w7topics-card:hover {
        transform: none;
        box-shadow: none;
    }

    .w7topics-page .w7topics-image {
        border-radius: 11px;
    }

    .w7topics-page .w7topics-card-body {
        padding: 7px 2px 0;
        text-align: center;
    }

    .w7topics-page .w7topics-card-title {
        margin-bottom: 0 !important;
        font-size: 14px !important;
        line-height: 20px !important;
    }

    .w7topics-page .w7topics-card-title a {
        -webkit-line-clamp: 1;
    }

    /* 手机端按照参考图，只显示图片和标题 */
    .w7topics-page .w7topics-card-footer {
        display: none;
    }

    .w7topics-page .pagination-wrap {
        margin-top: 22px;
    }

    .w7topics-page .pagination .page-numbers,
    .w7topics-page .pagination .dots {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        border-radius: 17px;
    }
}