/* ========== 第三套 新闻内页主页面 ========== */

/* 头图 - PC: 1920*436, Mobile: 402*118 */
.v3-header-img {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    line-height: 0;
    overflow: hidden;
    aspect-ratio: 1920 / 436;
}
.v3-header-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* 标题切片 */
.v3-title-img {
    text-align: center;
    padding: 20px 0;
}
.v3-title-img img {
    height: auto;
    display: inline-block;
}

/* 新闻内容区域 */
.v3-news-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 0px;
}

/* 分类TAB */
.v3-tab-wrap {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.v3-tab {
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
    color: var(--v3-tab-not-color, #999);
    text-decoration: none;
    position: relative;
    transition: color 0.2s;
}
.v3-tab:hover,
.v3-tab.active {
    color: var(--v3-tab-color, #333);
}
.v3-tab.active::after {
    content: '';
    display: block;
    width: calc(100% - 16px);
    height: 3px;
    background-color: var(--v3-tab-color, #333);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* 新闻列表 */
.v3-news-list {
    min-height: 200px;
}
.v3-news-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: background-color 0.2s;
}
.v3-news-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}
.v3-news-list > .v3-news-item:last-child {
    border-bottom: none;
}

/* 新闻缩略图 */
.v3-news-thumb {
    width: 200px;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
    margin-right: 20px;
}

/* 新闻信息 */
.v3-news-info {
    flex: 1;
    min-width: 0;
    display: flex;
    min-height: 90px;
    align-items: flex-start;
}
.v3-news-title {
    font-size: 16px;
    line-height: 1.5;
    color: var(--v3-title-color, #333);
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.v3-news-resume {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.v3-news-meta {
    flex-shrink: 0;
    margin-left: 20px;
    text-align: right;
    white-space: nowrap;
}
.v3-news-date {
    color: var(--v3-date-color, #999);
    font-size: 13px;
}

/* 查看更多按钮 */
.v3-btn-more {
    margin: 30px auto 0;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    color: var(--v3-more-color, #666);
    background-color: var(--v3-more-bg-color, rgba(0,0,0,0.05));
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
}
.v3-btn-more::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    position: relative;
    top: 2px;
    background:
        linear-gradient(currentColor, currentColor) no-repeat center / 100% 2px,
        linear-gradient(currentColor, currentColor) no-repeat center / 2px 100%;
}
.v3-btn-more:hover {
    opacity: 0.8;
}

/* ========== 移动端适配 ========== */
@media screen and (max-width: 750px) {
    .v3-news-item {
        position: relative;
        align-items: flex-start;
        padding: 16px 0;
    }
    .v3-header-img {
        aspect-ratio: 402 / 118;
    }
    .v3-news-content {
        padding: 15px;
    }
    .v3-tab {
        padding: 8px 12px;
        font-size: 16px;
    }
    .v3-news-thumb {
        width: 120px;
        height: 90px;
        object-fit: contain;
        margin-right: 12px;
        align-self: flex-start;
    }
    .v3-news-info {
        flex: 1;
        min-width: 0;
    }
    .v3-news-title {
        font-size: 14px;
        margin-bottom: 0;
        padding: 0;
    }
    .v3-news-meta {
        position: absolute;
        right: 0.3rem;
        bottom: 0.5rem;
        margin-left: 0;
        font-size: 12px;
        text-align: right;
        z-index: 1;
    }
    .v3-news-category {
        font-size: 11px;
    }
    .v3-title-img img {
        max-width: 80%;
    }
    .v3-btn-more {
        height: 27px;
        width: 100%;
    }
}
