/* ===== .section-title ===== */
/* ===== custom-news.css — 新闻资讯列表页专属样式 ===== */
/* ============================================
   页面标题区
   ============================================ */
.section-title-custom {
    position: relative;
}
/*
.section-title-custom::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    margin-bottom: 16px;
}
*/
.section-title-custom h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--title-color);
    line-height: 1.2;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.section-title-custom .section-subtitle {
    font-size: 0.95rem;
    color: var(--paragraph-color);
    line-height: 1.6;
    margin: 0;
}

/* ===== .news-category ===== */
/* ============================================
   新闻卡片增强
   ============================================ */
/* 分类角标 — 覆盖在图片左上角 */
.news-category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-family: var(--font-inter), "Microsoft YaHei", sans-serif;
    color: #fff;
    background: var(--gradient);
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(4px);
}
.news-category-badge.industry {
    background: rgba(54, 54, 54, 0.82);
    backdrop-filter: blur(4px);
}

/* ===== .blog-card ===== */
/* 内容区 */
.blog-card .blog-content {
    padding-top: 22px;
}
/* 标题 — 中文优化 */
.blog-card .blog-content h4 a {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}
/* meta 信息 — 去掉 uppercase */
.blog-card .blog-content .blog-meta ul li span {
    text-transform: none;
    font-size: 0.875rem;
}
.blog-card .blog-content .blog-meta ul {
    gap: 16px;
}
/* 隐藏 meta 分隔竖线（中文不需要 uppercase 间隔） */
.blog-card .blog-content .blog-meta ul li::before {
    right: -8px;
}
.blog-card .blog-content .blog-meta ul li a.blog-date {
    text-decoration: none;
}

/* ===== .news-excerpt ===== */
/* 摘要文字 */
.news-excerpt {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--paragraph-color);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== .blog-details ===== */
/* 详情页标题下方 meta：日期 + 分类 */
.blog-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 18px;
    font-family: var(--font-inter), "Microsoft YaHei", sans-serif;
    font-size: 0.9rem;
    color: var(--paragraph-color);
}
.blog-details-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.blog-details-meta i {
    font-size: 1.05rem;
    color: var(--paragraph-color);
}
.blog-details-meta .meta-category {
    color: var(--paragraph-color);
    font-weight: 400;
}
.blog-details-page .blog-details-top-area h2 {
    font-size: 2.5rem;
    text-align: left;
    font-weight: 500;
    line-height: 1.35;
    color: var(--title-color);
    margin-bottom: 0;
}
.blog-details-page .details-navigation .navigation-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
}
/* 详情页上一篇/下一篇导航 */
.blog-details-page .details-navigation .nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 48%;
}
.blog-details-page .details-navigation .nav-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}
.blog-details-page .details-navigation .nav-text.text-end {
    text-align: right;
    align-items: flex-end;
}
.blog-details-page .details-navigation .nav-label {
    font-family: var(--font-inter), "Microsoft YaHei", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--blue);
}
.blog-details-page .details-navigation .nav-title {
    font-family: var(--font-kanit), "Microsoft YaHei", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--title-color);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-details-page .details-navigation .nav-title:hover {
    color: var(--blue);
}
@media (max-width: 575px) {
    .blog-details-page .details-navigation .nav-item {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .blog-details-page .details-navigation .nav-title {
        font-size: 0.9rem;
    }
    .blog-details-page .blog-details-top-area h2 {
        font-size: 1.75rem;
    }
}

/* ===== .news-featured ===== */
/* ============================================
   头条 Featured 卡（打破等宽网格的均匀感）
   ============================================ */
.news-featured {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(54, 54, 54, 0.06);
}
.news-featured .blog-img {
    position: relative;
    flex: 0 0 52%;
    min-height: 340px;
    overflow: hidden;
}
.news-featured .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.news-featured:hover .blog-img img {
    transform: scale(1.04);
}
.news-featured .blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 48px;
}
.news-featured-title {
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.4;
    margin: 14px 0 0;
    letter-spacing: -0.01em;
}
.news-featured-title a {
    color: var(--title-color);
    text-decoration: none;
}
.news-featured-title a:hover {
    color: var(--blue);
}
.news-featured-excerpt {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.8;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.news-featured-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-weight: 600;
    font-family: var(--font-inter), "Microsoft YaHei", sans-serif;
    color: var(--blue);
    text-decoration: none;
}
.news-featured-link i {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.news-featured-link:hover i {
    transform: translateX(4px);
}


@media (max-width: 767px) {
    .news-featured {
        flex-direction: column;
    }
    .news-featured .blog-img {
        flex: none;
        min-height: 220px;
    }
    .news-featured .blog-content {
        padding: 28px 24px;
    }
    .news-featured-title {
        font-size: 1.4rem;
    }
}
/* ===== .details-content ===== */
.details-content-wrapper p {
    color: var(--title-color);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* ===== .blog-sidebar ===== */
.blog-sidebar-area .single-widget .tag-list li a {
    font-size: 12px;
}
.blog-sidebar-area .single-widget .category-list li a {
    color: var(--title-color);
}
.blog-sidebar-area .widget-title {
    border-bottom: none;
}
.blog-sidebar-area .single-widget .recent-post-widget .recent-post-img img {
    height: auto;
}
.blog-sidebar-area .single-widget .recent-post-widget {
    align-items: flex-start;
}

/* ===== 全局响应式（跨组件整合） ===== */
/* ============================================
   响应式
   ============================================ */

@media (max-width: 991px) {
    .section-title-custom h2 {
        font-size: 2.1rem;
    }
    .news-type {
        justify-content: flex-start;
        margin-top: 16px;
    }
}

@media (max-width: 767px) {
    .section-title-custom h2 {
        font-size: 1.85rem;
    }
    .news-type {
        gap: 8px;
    }
    .news-type a {
        padding: 8px 18px;
        font-size: 0.875rem;
    }
    .blog-card .blog-content h4 a {
        font-size: 1.25rem;
    }
}
