/* 移动端资讯页样式 */

/* 年份标签 - 横向滚动胶囊样式 */
#module_62982552 .zixun-year-tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0 25px;
    padding: 0 16px;
    list-style: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

#module_62982552 .zixun-year-tabs::-webkit-scrollbar {
    display: none;
}

#module_62982552 .zixun-year-tabs li {
    flex-shrink: 0;
    margin: 0;
}

#module_62982552 .zixun-year-tabs a {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 500;
    background: #f5f5f5;
    color: #666;
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
}

#module_62982552 .zixun-year-tabs a:hover {
    background: #e8e8e8;
}

/* 激活态：深色背景白字 */
#module_62982552 .zixun-year-tabs li.active a {
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
}

#module_62982552 .zixun-year-tabs li.active a::after {
    display: none;
}

/* 新闻列表 */
#module_62982552 .zixun-news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
    background: #f8f8f8;
}

/* 新闻卡片 - 卡片样式 */
#module_62982552 .zixun-news-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease;
}

#module_62982552 .zixun-news-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* 上半部分：左图右文 */
#module_62982552 .zixun-news-top {
    display: flex;
    gap: 12px;
}

/* 左侧图片 - 矩形 */
#module_62982552 .zixun-news-left {
    flex: 0 0 110px;
    max-width: 110px;
}

#module_62982552 .zixun-news-left a {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 比例 */
    position: relative;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 6px;
}

#module_62982552 .zixun-news-left img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右侧内容 */
#module_62982552 .zixun-news-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 标题 - 大字加粗 */
#module_62982552 .zixun-news-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0;
    letter-spacing: -0.2px;
}

#module_62982552 .zixun-news-title a {
    color: inherit;
    text-decoration: none;
}

#module_62982552 .zixun-news-title a:hover {
    color: #007bff;
}

/* 内容摘要 - 灰色小字 */
#module_62982552 .zixun-news-content {
    font-size: 12px;
    line-height: 1.6;
    color: #999;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}

/* 底部容器：发布时间 + Read More - 带虚线分隔，横跨整个卡片 */
#module_62982552 .zixun-news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px dashed #e0e0e0;
    width: 100%;
}

#module_62982552 .zixun-news-meta {
    font-size: 11px;
    color: #aaa;
    line-height: 1.4;
}

#module_62982552 .zixun-news-more {
    flex-shrink: 0;
}

#module_62982552 .zixun-news-more a {
    font-size: 12px;
    color: #aaa;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

#module_62982552 .zixun-news-more a:hover {
    color: #007bff;
}

/* 分页 */
#module_62982552 .zixun-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 16px 30px;
}

#module_62982552 .zixun-pagination button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 80px;
}

#module_62982552 .zixun-pagination button:hover:not(:disabled) {
    border-color: #007bff;
    color: #007bff;
}

#module_62982552 .zixun-pagination button.active {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

#module_62982552 .zixun-pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    color: #ccc;
}

/* 加载和空状态 */
#module_62982552 .zixun-loading,
#module_62982552 .zixun-empty {
    text-align: center;
    color: #999;
    font-size: 14px;
    padding: 50px 16px;
}

#module_62982552 .zixun-empty {
    border: 1px dashed #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
    margin: 0 16px;
}

