/* ===========================================
   News Detail Page Styles
   =========================================== */

.news-detail {
    padding-top: 120px;
    padding-bottom: 3rem;
    min-height: 100vh;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #6a7a8a;
}

.breadcrumb a {
    color: #5d9cec;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #4a89dc;
}

.breadcrumb span {
    color: #aaa;
}

/* 新闻头部 */
.news-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.news-header .news-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #5d9cec 0%, #4a89dc 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.news-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.news-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    font-size: 0.9rem;
    color: #6a7a8a;
}

/* 新闻正文 */
.news-body {
    padding: 2.5rem;
    border-radius: 25px;
    margin-bottom: 2rem;
}

.news-cover {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 15px;
    overflow: hidden;
}

.news-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.news-paragraph {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-indent: 2em;
}

.news-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2.5rem 0 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid #5d9cec;
}

.news-subtitle-small {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1.5rem 0 1rem;
}

/* 图片画廊 */
.news-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.02);
}

.gallery-item figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: #6a7a8a;
    margin-top: 0.8rem;
    font-style: italic;
}

/* 引用块 */
.news-quote {
    background: linear-gradient(135deg, rgba(93, 156, 236, 0.1) 0%, rgba(74, 137, 220, 0.05) 100%);
    border-left: 4px solid #5d9cec;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #444;
    line-height: 1.8;
}

.news-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #5d9cec;
    font-style: normal;
    font-weight: 500;
}

/* 分隔线 */
.news-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
    margin: 2.5rem 0;
}

/* 结尾部分 */
.news-ending {
    background: linear-gradient(135deg, rgba(245, 248, 255, 0.8) 0%, rgba(235, 242, 255, 0.6) 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.ending-text {
    font-size: 1rem;
    line-height: 2;
    color: #444;
    margin-bottom: 1.5rem;
}

.ending-signature {
    color: #5d9cec;
    font-weight: 500;
}

.ending-signature p {
    margin: 0.3rem 0;
}

/* 返回按钮 */
.back-link {
    text-align: center;
    margin-top: 2rem;
}

.btn-back {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #5d9cec 0%, #4a89dc 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 156, 236, 0.3);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 156, 236, 0.4);
}

/* 响应式 */
@media (max-width: 768px) {
    .news-detail {
        padding-top: 100px;
    }

    .news-detail-title {
        font-size: 1.5rem;
    }

    .news-body {
        padding: 1.5rem;
    }

    .news-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 180px;
    }

    .news-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* ===========================================
   News List Page - 新闻列表页样式
   =========================================== */

/* 页面头部 */
.page-header {
    padding-top: 130px;
    padding-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.page-subtitle {
    font-size: 1rem;
    color: #6a7a8a;
    font-weight: 400;
}

/* 新闻列表区域 */
.news-list-section {
    padding: 1rem 0 4rem;
}

/* 新闻列表卡片 */
.news-list-card {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.news-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(31, 38, 135, 0.12);
}

.news-list-image {
    position: relative;
    width: 320px;
    min-width: 320px;
    height: 220px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-list-card:hover .news-list-image img {
    transform: scale(1.05);
}

.news-list-image .news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.news-list-content {
    flex: 1;
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.news-list-meta .news-date {
    font-size: 0.85rem;
    color: #888;
}

.news-category {
    font-size: 0.8rem;
    color: #5d9cec;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    background: rgba(93, 156, 236, 0.1);
    border-radius: 8px;
}

.news-list-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.news-list-card:hover .news-list-title {
    color: #5d9cec;
}

.news-list-excerpt {
    font-size: 0.9rem;
    color: #5a6a7a;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-more {
    font-size: 0.9rem;
    color: #5d9cec;
    font-weight: 600;
    margin-top: auto;
    transition: color 0.3s ease;
}

.news-list-card:hover .news-list-more {
    color: #4a89dc;
}

/* 空状态提示 */
.news-empty-tip {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    color: #8a9aaa;
    font-size: 1rem;
}

/* 响应式 */
@media (max-width: 768px) {
    .page-header {
        padding-top: 110px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .news-list-card {
        flex-direction: column;
    }

    .news-list-image {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }

    .news-list-content {
        padding: 1.2rem 1.5rem;
    }

    .news-list-title {
        font-size: 1.1rem;
    }
}


/* ===========================================
   News Page - 新闻页面新设计（参考设计图）
   =========================================== */

/* 页面头部 */
.news-page-header {
    padding-top: 120px;
    padding-bottom: 2rem;
    text-align: center;
    background: linear-gradient(180deg, #f8fafc 0%, #f0f4fa 100%);
}

.news-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 3px;
    margin-bottom: 0.3rem;
}

.news-page-subtitle {
    font-size: 0.85rem;
    color: #aab5c0;
    font-weight: 400;
    letter-spacing: 3px;
}

/* 新闻主体区域 */
.news-main-section {
    padding: 1.5rem 0 4rem;
    background: linear-gradient(180deg, #f0f4fa 0%, #e8eef8 100%);
}

.news-layout {
    display: flex;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* 左侧分类导航 */
.news-sidebar {
    width: 120px;
    flex-shrink: 0;
}

.news-category-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0.3rem;
    background: rgba(255, 255, 255, 0.5);
}

.category-item {
    display: block;
    padding: 0.7rem 0.8rem;
    text-decoration: none;
    color: #5a6a7a;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: rgba(93, 156, 236, 0.1);
    color: #5d9cec;
}

.category-item.active {
    background: linear-gradient(135deg, #5d9cec 0%, #4a89dc 100%);
    color: white;
}

/* 右侧新闻列表 */
.news-content-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* 新闻卡片 - 玻璃质感风格 */
.news-item-card {
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: visible;
    text-decoration: none;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.08);
}

.news-item-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 45px rgba(31, 38, 135, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.news-item-image {
    width: 240px;
    min-width: 240px;
    height: 180px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-item-card:hover .news-item-image img {
    transform: scale(1.05);
}

.news-item-info {
    flex: 1;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.news-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-desc {
    font-size: 0.9rem;
    color: #5a6a7a;
    line-height: 1.8;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-date {
    font-size: 0.85rem;
    color: #8a9aaa;
    margin-top: auto;
}

/* 响应式 */
@media (max-width: 768px) {
    .news-page-header {
        padding-top: 100px;
    }

    .news-page-title {
        font-size: 1.6rem;
    }

    .news-layout {
        flex-direction: column;
        padding: 0 1rem;
    }

    .news-sidebar {
        width: 100%;
    }

    .news-category-nav {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .category-item {
        padding: 0.5rem 1rem;
    }

    .news-item-card {
        flex-direction: column;
        padding: 1.2rem;
        align-items: stretch;
        border-radius: 20px;
    }

    .news-item-image {
        width: 100%;
        min-width: auto;
        height: 200px;
        margin-bottom: 1rem;
        border-radius: 15px;
    }

    .news-item-info {
        padding-left: 0;
        min-height: auto;
    }

    .news-item-title {
        font-size: 1.1rem;
    }

    .news-item-desc {
        font-size: 0.85rem;
    }
}
