/* 公告/新闻详情 /notice/<id>/ —— 对应原 NoticeDetail.vue scoped 样式 1:1 */
.notice-detail-page { min-height: 100vh; background: #f5f7fa; }

/* 页面头部（原 padding-top:100px 由 common/base.html 的 sticky 导航 + main 9px 承担） */
.notice-detail-page .page-header { padding: 20px 0 50px; background: #f5f7fa; color: #333; }
.header-inner { max-width: 1000px; margin: 0 auto; padding: 0 40px; text-align: center; }
.header-tag {
    display: inline-block; padding: 6px 20px; background: var(--gold-100);
    border-radius: 30px; font-size: 14px; margin-bottom: 20px; color: var(--gold-600);
}
.header-title { font-size: 36px; font-weight: 600; line-height: 1.4; margin-bottom: 20px; color: #333; }
.header-meta { font-size: 15px; color: #999; }
.header-meta .divider { margin: 0 15px; }

/* 双栏主体 */
.main-container {
    max-width: 1200px; margin: 0 auto; padding: 50px 40px;
    display: grid; grid-template-columns: 1fr 320px; gap: 40px;
}
.content-wrapper {
    min-width: 0; background: #fff; border-radius: 16px; padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

/* 摘要卡 */
.summary-card {
    display: flex; gap: 20px; padding: 28px; background: var(--gold-100);
    border-left: 2px solid var(--gold-500); border-radius: 0 12px 12px 0; margin-bottom: 40px;
}
.summary-icon {
    flex-shrink: 0; width: 48px; height: 48px; display: flex;
    align-items: center; justify-content: center;
    background: var(--navy-600); border-radius: 12px;
}
.summary-icon svg { width: 24px; height: 24px; color: #fff; }
.summary-content h4 { font-size: 16px; color: var(--gold-600); margin-bottom: 10px; font-weight: 600; }
.summary-content p { font-size: 16px; line-height: 1.8; color: #666; }

/* 正文 */
.article-content { font-size: 17px; line-height: 2; color: #333; }
.article-content p { margin-bottom: 20px; text-align: justify; }
.article-content img {
    max-width: 100%; height: auto; border-radius: 10px;
    margin: 30px 0; box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}
.article-content h2, .article-content h3, .article-content h4 {
    color: #333; margin: 30px 0 15px; font-weight: 600;
}
.article-content blockquote {
    padding: 20px 24px; margin: 24px 0; background: #f8f9fa;
    border-left: 4px solid var(--navy-600); border-radius: 0 8px 8px 0; font-style: italic;
}
.article-content a { color: var(--navy-600); text-decoration: none; }
.article-content a:hover { text-decoration: underline; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; }

/* 底部返回 */
.article-footer {
    margin-top: 50px; padding-top: 30px; border-top: 1px solid #eee;
    display: flex; justify-content: space-between; align-items: center;
}
.back-home {
    display: flex; align-items: center; gap: 8px; padding: 12px 24px;
    background: var(--navy-600); border-radius: 30px; color: #fff;
    font-size: 15px; transition: all .3s;
}
.back-home:hover { background: var(--navy-500); transform: translateX(-5px); }
.back-icon { font-size: 18px; }

/* 右侧相关推荐 */
.sidebar { position: sticky; top: 100px; height: fit-content; }
.sidebar-card { background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.sidebar-title {
    font-size: 18px; color: #333; margin-bottom: 20px;
    padding-bottom: 16px; border-bottom: 2px solid var(--gold-500);
}
.related-list { display: flex; flex-direction: column; gap: 16px; }
.related-item {
    display: flex; gap: 14px; cursor: pointer; padding: 12px;
    border-radius: 10px; transition: background .3s;
}
.related-item:hover { background: #f5f7fa; }
.related-img { flex-shrink: 0; width: 70px; height: 70px; border-radius: 8px; overflow: hidden; }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-info { flex: 1; min-width: 0; }
.related-info h4 {
    font-size: 14px; color: #333; font-weight: 500; margin-bottom: 8px;
    overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.related-info span { font-size: 12px; color: #999; }
.no-related { text-align: center; color: #999; padding: 20px; }

/* 推荐下方快捷按钮：顶部 / 底部 / 返回列表 */
.quick-actions {
    display: flex; gap: 8px; margin-top: 20px;
    padding-top: 16px; border-top: 1px solid #eee;
}
.quick-actions button, .quick-actions a {
    flex: 1; text-align: center; min-height: 44px; padding: 10px 8px;
    font-size: 12px; line-height: 1.4; white-space: nowrap;
    border: 1px solid var(--line); border-radius: 6px;
    background: #fff; color: var(--navy-600);
    text-decoration: none; cursor: pointer;
    transition: all .2s ease;
}
.quick-actions button:hover, .quick-actions a:hover {
    background: #fff; border-color: var(--gold-500); color: var(--navy-600);
}

@media (max-width: 1024px) {
    .main-container { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .header-title { font-size: 28px; }
}
@media (max-width: 768px) {
    .notice-detail-page .page-header { padding-bottom: 40px; }
    .header-inner { padding: 0 20px; }
    .header-title { font-size: 24px; }
    .main-container { padding: 30px 20px; }
    .content-wrapper { padding: 30px; }
    .article-footer { flex-direction: column; gap: 20px; }
}
