
/* Hero 区域 */
.nd-hero {
    position: relative;
    padding: calc(var(--nav-h) + 64px) 0 72px;
    background: linear-gradient(135deg, #020e2e 0%, #001a5c 45%, #0057b8 100%);
    overflow: hidden;
}

    .nd-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(0,153,212,0.2) 0%, transparent 70%), url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
    }

.nd-hero-bg-icon {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12rem;
    color: rgba(255,255,255,0.04);
    line-height: 1;
    pointer-events: none;
}

.nd-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 面包屑 */
.nd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
    flex-wrap: nowrap;
    overflow: hidden;
}

    .nd-breadcrumb a {
        color: rgba(255,255,255,0.5);
        text-decoration: none;
        transition: color 0.2s;
        flex-shrink: 0;
    }

        .nd-breadcrumb a:hover {
            color: rgba(255,255,255,0.85);
        }

    .nd-breadcrumb .sep {
        color: rgba(255,255,255,0.25);
        flex-shrink: 0;
    }

    .nd-breadcrumb .current {
        color: rgba(255,255,255,0.85);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        flex-shrink: 1;
    }

/* 分类标签 */
.nd-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 20px;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

    .nd-cat-badge i {
        font-size: 0.7rem;
    }

/* 标题 */
.nd-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.4;
    max-width: 100%;
    margin-bottom: 28px;
}

/* 元信息 */
.nd-meta-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.nd-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

    .nd-meta-item i {
        color: rgba(255,255,255,0.4);
        font-size: 0.75rem;
    }

/* ── 内容区 ── */
.nd-layout {
    max-width: 1600px;
    margin: 0 auto;
    padding: 64px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 50px;
    align-items: start;
}

/* 正文 */
.nd-article {
    /*min-width: 0;*/
    all: unset;
    display: block;
    margin: 0px;
    padding: 0px;
}

    .nd-article img {
        display: inline-block;
    }

/*.nd-article p {
  font-size: 1rem;
  color: #374151;
  line-height: 2;
  margin-bottom: 22px;
}*/
/*.nd-article p:last-child { margin-bottom: 0; }*/
/*.nd-article h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2540;
  margin: 32px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--primary, #1155cc);
}
.nd-article ul {
  padding-left: 22px;
  margin-bottom: 22px;
}
.nd-article ul li {
  margin-bottom: 10px;
  color: #4b5563;
  line-height: 1.75;
}*/
.nd-highlight-box {
    background: linear-gradient(to right, #eef4ff, #f5f8ff);
    border-left: 4px solid var(--primary, #1155cc);
    border-radius: 0 12px 12px 0;
    padding: 18px 22px;
    margin: 24px 0;
    font-size: 0.95rem;
    color: #2d3f6e;
    font-style: italic;
    line-height: 1.8;
}

/* 底部操作栏 */
.nd-action-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    margin-top: 40px;
    border-top: 1px solid #eef1f6;
    border-bottom: 1px solid #eef1f6;
    flex-wrap: wrap;
    gap: 16px;
}

.nd-share {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #8a98ae;
}

    .nd-share span {
        font-weight: 600;
        color: #6b7a99;
    }

.nd-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid #dde3ed;
    background: #fff;
    color: #6b7a99;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .nd-share-btn:hover {
        background: var(--primary, #1155cc);
        color: #fff;
        border-color: var(--primary, #1155cc);
    }

.nd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 8px;
    border: 1.5px solid var(--primary, #1155cc);
    color: var(--primary, #1155cc);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    text-decoration: none;
    transition: all 0.2s;
}

    .nd-back-btn:hover {
        background: var(--primary, #1155cc);
        color: #fff;
    }

/* 侧边栏 */
.nd-sidebar {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.nd-sidebar-card {
    background: #f8faff;
    border: 1px solid #e8edf8;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.nd-sidebar-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a2540;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary, #1155cc);
    display: inline-block;
}

/* 相关新闻列表 */
.nd-related-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f6;
    text-decoration: none;
    transition: opacity 0.2s;
}

    .nd-related-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .nd-related-item:hover {
        opacity: 0.75;
    }

.nd-related-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #001a5c, #0057b8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
}

.nd-related-text {
    min-width: 0;
}

.nd-related-text-title {
    font-size: 0.83rem;
    color: #1a2540;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nd-related-text-date {
    font-size: 0.75rem;
    color: #8a98ae;
}

/* 联系卡片 */
.nd-contact-card {
    background: linear-gradient(135deg, #001a5c, #0057b8);
    border-radius: 14px;
    padding: 24px;
    color: #fff;
    text-align: center;
}

    .nd-contact-card i {
        font-size: 2rem;
        margin-bottom: 12px;
        opacity: 0.85;
    }

    .nd-contact-card h4 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .nd-contact-card p {
        font-size: 0.82rem;
        opacity: 0.75;
        margin-bottom: 16px;
        line-height: 1.6;
    }

.nd-contact-btn {
    display: block;
    padding: 10px 0;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

    .nd-contact-btn:hover {
        background: rgba(255,255,255,0.28);
    }

/* 404 提示 */
.nd-not-found {
    text-align: center;
    padding: 80px 20px;
    color: #8a98ae;
}

    .nd-not-found i {
        font-size: 4rem;
        margin-bottom: 20px;
        opacity: 0.4;
    }

    .nd-not-found h2 {
        font-size: 1.4rem;
        color: #374151;
        margin-bottom: 12px;
    }

    .nd-not-found p {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

/* 响应式 */
@media (max-width: 768px) {
    .nd-layout {
        grid-template-columns: 1fr;
        padding: 40px 20px 60px;
        gap: 32px;
    }

    .nd-hero-inner {
        padding: 0 20px;
    }

    .nd-breadcrumb {
        font-size: 0.75rem;
        gap: 4px;
    }

    .nd-title {
        font-size: 1.3rem;
    }

    .nd-hero-bg-icon {
        font-size: 6rem;
        right: 4%;
    }

    .nd-sidebar {
        position: static;
    }

    .nd-action-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .nd-meta-bar {
        gap: 14px;
    }
}
