/* ========================================================
   常享康 · 资讯中心 共享样式
   与首页保持一致的蓝金配色
   ======================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    color: #2c3e50;
    background: #f7fafd;
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root {
    --blue-50: #f0f7ff;
    --blue-100: #e3f1fd;
    --blue-500: #42a5f5;
    --blue-600: #1e88e5;
    --blue-700: #1976d2;
    --gold: #c9a96e;
    --gold-light: #f5ecd7;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --border: #e6eef7;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 26px rgba(30,136,229,0.10);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --maxw: 1080px;
}

/* ===== Header ===== */
.n-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}
.n-header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.n-logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; color: var(--blue-700); letter-spacing: 0.5px; }
.n-logo img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.n-nav { display: flex; gap: 26px; align-items: center; }
.n-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text); transition: var(--transition); }
.n-nav a:hover, .n-nav a.active { color: var(--blue-600); }
@media (max-width: 720px) {
    .n-nav { gap: 16px; }
    .n-nav a { font-size: 0.88rem; }
}

/* ===== Container ===== */
.n-container { max-width: var(--maxw); margin: 0 auto; padding: 32px 24px 64px; }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 0.85rem; color: var(--text-light); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb span { color: var(--text); }

/* ===== 列表页头部 ===== */
.n-hero {
    background: linear-gradient(160deg, var(--blue-50) 0%, var(--blue-100) 45%, #fff 100%);
    border-radius: var(--radius);
    padding: 48px 32px;
    margin-bottom: 36px;
    text-align: center;
    border: 1px solid var(--border);
}
.n-hero .n-tag { display: inline-block; font-size: 0.8rem; letter-spacing: 2px; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.n-hero h1 { font-size: 2rem; color: var(--blue-700); line-height: 1.4; margin-bottom: 12px; }
.n-hero p { color: var(--text-light); max-width: 680px; margin: 0 auto; }

/* ===== 文章卡片列表 ===== */
.n-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 780px) { .n-list { grid-template-columns: 1fr; } }
.n-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.n-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.n-card-img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--blue-50); }
.n-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.n-card-cat { font-size: 0.75rem; color: var(--blue-600); background: var(--blue-50); display: inline-block; padding: 3px 10px; border-radius: 20px; font-weight: 600; margin-bottom: 12px; width: fit-content; }
.n-card h2 { font-size: 1.15rem; line-height: 1.5; margin-bottom: 10px; color: var(--text); }
.n-card h2 a:hover { color: var(--blue-600); }
.n-card p { font-size: 0.92rem; color: var(--text-light); flex: 1; }
.n-card-meta { margin-top: 16px; font-size: 0.8rem; color: #9aa9b8; display: flex; gap: 12px; }

/* ===== 文章页 ===== */
.n-article { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 48px; box-shadow: var(--shadow-sm); }
@media (max-width: 720px) { .n-article { padding: 28px 22px; } }
.n-article h1 { font-size: 1.85rem; line-height: 1.45; color: var(--text); margin-bottom: 16px; }
.n-article .n-meta { font-size: 0.85rem; color: #9aa9b8; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px 16px; }
.n-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 28px; background: var(--blue-50); }
.n-article .n-lead { font-size: 1.05rem; color: var(--text); background: var(--blue-50); border-left: 3px solid var(--blue-500); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 28px; }
.n-article h2 { font-size: 1.35rem; color: var(--blue-700); margin: 36px 0 14px; padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.4; }
.n-article h3 { font-size: 1.1rem; color: var(--text); margin: 24px 0 10px; }
.n-article p { margin-bottom: 16px; color: #37474f; }
.n-article ul, .n-article ol { margin: 0 0 18px 22px; }
.n-article li { margin-bottom: 8px; color: #37474f; }
.n-article strong { color: var(--blue-700); }
.n-article a.inline { color: var(--blue-600); border-bottom: 1px solid var(--blue-100); }
.n-article a.inline:hover { border-bottom-color: var(--blue-500); }
.n-note { margin-top: 32px; font-size: 0.85rem; color: var(--text-light); background: #fafbfd; border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 14px 18px; }
.n-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 0.92rem; }
.n-table th, .n-table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.n-table th { background: var(--blue-50); color: var(--blue-700); font-weight: 600; }

/* ===== 相关阅读 ===== */
.n-related { margin-top: 40px; }
.n-related h2 { font-size: 1.3rem; color: var(--blue-700); margin-bottom: 18px; }
.n-related ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 780px) { .n-related ul { grid-template-columns: 1fr; } }
.n-related li a { display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 0.95rem; color: var(--text); transition: var(--transition); }
.n-related li a:hover { border-color: var(--blue-200, #bbdefb); color: var(--blue-600); box-shadow: var(--shadow-sm); }

/* ===== CTA ===== */
.n-cta {
    margin-top: 40px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    color: #fff;
    border-radius: var(--radius);
    padding: 40px 36px;
    text-align: center;
}
.n-cta h2 { font-size: 1.4rem; margin-bottom: 10px; color: #fff; }
.n-cta p { opacity: 0.92; max-width: 620px; margin: 0 auto 22px; font-size: 0.95rem; }
.n-btn { display: inline-block; background: #fff; color: var(--blue-700); font-weight: 600; padding: 12px 30px; border-radius: 30px; transition: var(--transition); }
.n-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.18); }

/* ===== Footer ===== */
.n-footer { background: #12233a; color: #c7d4e2; text-align: center; padding: 36px 24px; font-size: 0.88rem; }
.n-footer p { margin-bottom: 6px; }
.n-footer a { color: #9fc4e8; }
.n-footer a:hover { color: #fff; }
