:root {
    --detail-hero-bg: linear-gradient(135deg, rgba(0, 40, 120, 0.08), rgba(0, 102, 204, 0.12));
    --detail-border: #e5eaf4;
    --detail-text: rgba(16, 24, 40, 0.84);
    --detail-muted: rgba(16, 24, 40, 0.64);
    --detail-light: rgba(16, 24, 40, 0.08);
}

body {
    color: var(--detail-text);
}

.news-detail-page {
    padding-top: 0;
    background-color: #fff;
}

.news-detail-page .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 100px;
}

/* 页面头部横幅 */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/public/static/img/building.jpg');
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 40, 120, 0.82), rgba(0, 102, 204, 0.72));
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.page-title {
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--detail-muted);
    margin-bottom: 28px;
}

.article-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.news-title {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-color);
    max-width: 960px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--detail-muted);
}

.meta-item i {
    color: var(--accent-color);
}

.breadcrumb a {
    color: var(--detail-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb .divider {
    color: rgba(16, 24, 40, 0.36);
}

.breadcrumb .current {
    color: var(--primary-color);
}

.feature-card {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(0, 26, 77, 0.12);
    background: #fff;
}

.article-header .feature-card {
    margin-top: 8px;
}

.feature-card img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.feature-caption {
    padding: 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: rgba(0, 40, 120, 0.04);
}

.caption-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.caption-label::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 0;
}

.feature-caption p {
    color: var(--detail-text);
    line-height: 1.7;
}

.news-body {
    padding: 80px 0 120px;
}

.content-layout {
    display: grid;
    grid-template-columns: 3fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.article-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.article-content p {
    color: var(--detail-text);
}

.article-body span{
    font-family: 'Microsoft YaHei', '微软雅黑' !important;
}

.article-body img {
    display: block;
    margin: auto;
    max-width: 800px;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--detail-muted);
    padding: 28px 32px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0;
    background: rgba(0, 102, 204, 0.06);
    margin-bottom: 12px;
}

.article-content h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 12px;
}

.article-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.highlight-card {
    display: grid;
    grid-template-columns: 72px auto;
    gap: 24px;
    padding: 32px;
    border-radius: 0;
    background: white;
    border: 1px solid var(--detail-border);
    box-shadow: 0 18px 40px rgba(0, 40, 120, 0.08);
}

.highlight-icon {
    width: 72px;
    height: 72px;
    border-radius: 0;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
}

.highlight-content h3 {
    margin-bottom: 10px;
}

.highlight-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.highlight-content li {
    position: relative;
    padding-left: 18px;
}

.highlight-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 0;
}

.quote-block {
    position: relative;
    padding: 36px 40px 32px 40px;
    border-radius: 0;
    background: rgba(0, 102, 204, 0.08);
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 12px 0;
}

.quote-block i {
    font-size: 2rem;
    color: var(--accent-color);
}

.quote-block p {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--primary-color);
}

.quote-author {
    font-size: 0.95rem;
    color: var(--detail-muted);
}

.ordered-list {
    list-style: none;
    counter-reset: ordered;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ordered-list li {
    padding: 18px 20px 18px 56px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 0;
    position: relative;
    color: var(--detail-text);
}

.ordered-list li::before {
    counter-increment: ordered;
    content: counter(ordered, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 0;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.image-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.image-item {
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 40, 120, 0.08);
}

.image-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.image-item p {
    padding: 18px 22px;
    font-size: 0.95rem;
    color: var(--detail-muted);
    background: rgba(0, 40, 120, 0.04);
}

.article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 26px 0 0;
    border-top: 1px solid var(--detail-border);
}

.article-tags .tag-title {
    font-weight: 600;
    color: var(--detail-muted);
}

.article-tags a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.9rem;
    color: var(--accent-color);
    background: rgba(0, 102, 204, 0.08);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.article-tags a:hover {
    background: rgba(0, 102, 204, 0.16);
    transform: translateY(-2px);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
}

.share-icons {
    display: inline-flex;
    gap: 12px;
}

.share-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.08);
    color: var(--accent-color);
    transition: background 0.3s ease, transform 0.3s ease;
}

.share-icons a:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
}

.article-aside {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.aside-card {
    border-radius: 0;
    border: 1px solid var(--detail-border);
    padding: 28px 26px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 26, 77, 0.08);
}

.aside-card h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
    color: var(--primary-color);
    position: relative;
}

.aside-card h4::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    border-radius: 0;
    background: var(--accent-color);
    margin-top: 10px;
}

.aside-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--detail-text);
}

.related-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 40, 120, 0.08);
}

.related-item:last-of-type {
    border-bottom: none;
}

.related-date {
    font-size: 0.85rem;
    color: var(--detail-muted);
}

.related-item a {
    color: var(--detail-text);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.related-item a:hover {
    color: var(--accent-color);
}

.article-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 80px;
}

.nav-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 32px;
    border-radius: 0;
    border: 1px solid var(--detail-border);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.04), rgba(0, 40, 120, 0.08));
    text-decoration: none;
    color: var(--detail-text);
    box-shadow: 0 22px 46px rgba(0, 26, 77, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 26, 77, 0.12);
}

.nav-card .label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 600;
}

.nav-card p {
    font-size: 1.05rem;
    color: var(--primary-color);
    line-height: 1.6;
}

.nav-card.prev {
    align-items: flex-start;
}

.nav-card.next {
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 1280px) {
    .news-detail-page .container {
        padding: 0 60px;
    }

    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.25rem;
    }

    .content-layout {
        gap: 40px;
        grid-template-columns: 1fr 0.9fr;
    }

    .feature-card img {
        height: 400px;
    }

    .news-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 1024px) {
    .news-detail-page .container {
        padding: 0 40px;
    }

    .page-title {
        font-size: 2.6rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .article-aside {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .aside-card {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }

    .feature-card img {
        height: 360px;
    }

    .news-title {
        font-size: 2.1rem;
    }

    .article-nav {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .nav-card.next {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .news-detail-page .container {
        padding: 0 20px;
    }

    .page-hero {
        height: 40vh;
        min-height: 300px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1.05rem;
    }

    .news-title {
        font-size: 1.9rem;
    }

    .news-meta {
        flex-direction: column;
        gap: 12px;
    }

    .feature-card img {
        height: 260px;
    }

    .highlight-card {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .highlight-icon {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }

    .image-group {
        grid-template-columns: 1fr;
    }

    .article-aside {
        flex-direction: column;
    }

    .aside-card {
        flex: 1 1 auto;
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-hero {
        height: 34vh;
        min-height: 240px;
    }

    .page-title {
        font-size: 1.9rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.08em;
    }

    .feature-caption {
        padding: 20px;
    }

    .lead {
        padding: 20px 22px;
    }

    .article-content {
        font-size: 1rem;
    }

    .quote-block {
        padding: 28px;
    }

    .article-nav {
        gap: 16px;
    }

    .nav-card {
        padding: 22px;
    }
}
