/* 页面标题 */

.page-header {

    max-width: 1000px;

    margin: 60px auto;

    padding: 0 20px;
}

.page-header h1 {

    font-size: 42px;

    margin-bottom: 12px;
}

.page-header p {

    color: var(--subtext-color);
}

/* 服务卡片 */

.service-grid {

    max-width: 1000px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));

    gap: 20px;

    padding: 20px;
}

.service-card {

    background: var(--card-color);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    padding: 24px;
}

/* 内容区域 */

.content-section {

    max-width: 1000px;

    margin: 60px auto;

    padding: 0 20px;
}

.content-section h2 {

    margin-bottom: 20px;
}

/* 返回按钮 */

.back-btn {

    text-decoration: none;

    color: var(--text-color);
}

/*///////////////////*/
/* 下载列表 */

.download-list {

    max-width: 1000px;

    margin: auto;

    padding: 20px;
}

.download-category {

    font-size: 22px;

    margin: 0 0 16px 0;

    color: var(--text-color);
}

/* 下载项 */

.download-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 24px;

    margin-bottom: 16px;

    border-radius: 20px;

    border: 1px solid var(--border-color);

    background: var(--card-color);
}

/* 下载按钮 */

.download-btn {

    border: none;

    padding: 10px 20px;

    border-radius: 12px;

    cursor: pointer;

    background: var(--text-color);

    color: var(--bg-color);
}

/* 通知列表 */

#notice-container {

    display: flex;

    flex-direction: column;

    gap: 16px;
}

/* 通知卡片 */

.notice-card {

    background: var(--card-color);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    padding: 20px;

    transition: all 0.3s;
}

.notice-card:hover {

    transform: translateY(-3px);
}

.notice-card h3 {

    margin: 0 0 8px 0;

    font-size: 18px;
}

.notice-card p {

    margin: 0;

    color: var(--subtext-color);
}

/* FAQ卡片 */

.faq-card {

    background: var(--card-color);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    padding: 24px;

    margin-bottom: 16px;
}

.faq-card h3 {

    margin-top: 0;
}

.faq-card p {

    color: var(--subtext-color);
}

/* ==========================
搜索联想框
========================== */

#search-suggestions {

    max-width: 650px;

    margin: 10px auto 0;

    background: var(--card-color);

    border: 1px solid var(--border-color);

    border-radius: 12px;

    overflow: hidden;

    box-shadow: 0 4px 20px rgba(0,0,0,0.1);

    display: none;

    max-height: 400px;

    overflow-y: auto;
}

/* 联想框滚动条 */
#search-suggestions::-webkit-scrollbar {
    width: 6px;
}

#search-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

#search-suggestions::-webkit-scrollbar-thumb {
    background: rgba(128, 128, 128, 0.3);
    border-radius: 3px;
}

/* 联想项 */

.suggestion-item {
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.15s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.suggestion-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.suggestion-title {
    font-size: 15px;
    color: var(--text-color);
}

.suggestion-category {
    font-size: 13px;
    color: var(--subtext-color);
}

/* Hover */
.suggestion-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* 键盘选中状态 */
.suggestion-item.suggestion-item-active {
    background: rgba(0, 0, 0, 0.06) !important;
}

/* 深色模式 */
[data-theme="dark"] .suggestion-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .suggestion-item.suggestion-item-active {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* 搜索没有结果时的提示文字 */

.suggestion-empty {

    padding: 16px 20px;

    color: var(--subtext-color);

    font-size: 14px;
}

/* 首页统一模块 */

.home-section {

    max-width: 1100px;

    margin: 80px auto;

    padding: 0 20px;
}

/* 标题栏 */

.section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 24px;
}

.section-header h2 {

    margin: 0;

    font-size: 28px;
}

.section-header a {

    text-decoration: none;

    color: var(--subtext-color);
}

/* 热门服务 */

.popular-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap: 20px;
}

.popular-card {

    padding: 24px;

    border-radius: 20px;

    border: 1px solid var(--border-color);

    background: var(--card-color);

    transition: all .3s;
}

.popular-card:hover {

    transform: translateY(-4px);
}

.hero-logo {

    width: 80px;

    height: 80px;

    margin: 0 auto 24px;

    border-radius: 24px;

    background: linear-gradient(
        135deg,
        #111827,
        #374151
    );

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: 2px;
}

.hero-mission {

    font-size: 22px;

    font-weight: 500;

    margin-top: 20px;

    margin-bottom: 12px;
}

.notice-content-box {

    max-width: 800px;

    margin: 30px auto;

    padding: 30px;

    border-radius: 20px;

    background: var(--card-color);

    border: 1px solid var(--border-color);

    line-height: 1.8;

    font-size: 16px;
}

/* Markdown 通知正文样式 */

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {

    margin-top: 28px;

    margin-bottom: 12px;

    line-height: 1.4;
}

.markdown-body h1:first-child,
.markdown-body h2:first-child,
.markdown-body h3:first-child {

    margin-top: 0;
}

.markdown-body p,
.markdown-body li {

    color: var(--text-color);

    line-height: 1.9;
}

.markdown-body ul {

    padding-left: 22px;
}

.markdown-body a {

    color: #2563eb;

    text-decoration: none;

    border-bottom: 1px solid rgba(37,99,235,0.25);
}

.markdown-body a:hover {

    border-bottom-color: #2563eb;
}

.markdown-body hr {

    border: none;

    border-top: 1px solid var(--border-color);

    margin: 28px 0;
}
/* =====================
热门排行
===================== */


.hot-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(240px,1fr));

    gap: 20px;
}

.hot-card {

    position: relative;

    padding: 24px;

    border-radius: 24px;

    background: var(--card-color);

    border: 1px solid var(--border-color);

    transition: all .3s ease;

    text-decoration: none;

    color: var(--text-color);

    display: block;
}

.hot-card:hover {

    transform: translateY(-5px);
}

.hot-rank {

    font-size: 48px;

    font-weight: 700;

    opacity: .12;

    margin-bottom: 10px;
}

.hot-card h3 {

    margin-bottom: 8px;
}

.ranking-item:hover {

    transform: translateY(-3px);
}

/* =====================
办事指南
===================== */

.guide-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap: 20px;
}

.guide-card {

    padding: 24px;

    border-radius: 20px;

    background: var(--card-color);

    border: 1px solid var(--border-color);

    transition: .3s;

    text-decoration: none;

    color: var(--text-color);

    display: block;
}

.guide-card:hover {

    transform: translateY(-4px);
}

.feedback-card {

    text-align: center;

    padding: 40px;

    border-radius: 24px;

    background: var(--card-color);

    border: 1px solid var(--border-color);
}

.feedback-btn {

    margin-top: 16px;

    padding: 12px 28px;

    border-radius: 999px;

    border: none;

    cursor: pointer;

    background: var(--text-color);

    color: var(--bg-color);

    font-size: 15px;
}

.feedback-btn:hover {

    opacity: 0.9;
}

/* =====================
时间线
===================== */

.timeline {

display:flex;

flex-direction:column;

gap:16px;

margin-top:20px;
}

.timeline-item {

padding:18px;

border-left:4px solid #888;

background:var(--card-color);

border-radius:12px;
}

/* 可点击服务卡片 */

a.service-card {

    text-decoration: none;

    color: var(--text-color);

    display: block;

    transition: all 0.3s;
}

a.service-card:hover {

    transform: translateY(-4px);

    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* 回到顶部 */

.back-to-top {

    position: fixed;

    right: 24px;

    bottom: 24px;

    z-index: 999;

    width: 48px;

    height: 48px;

    border: 1px solid var(--border-color);

    border-radius: 50%;

    background: var(--card-color);

    color: var(--text-color);

    font-size: 20px;

    cursor: pointer;

    box-shadow: 0 4px 16px rgba(0,0,0,0.1);

    transition: opacity 0.3s, transform 0.2s;
}

.back-to-top:hover {

    transform: translateY(-2px);
}

.back-to-top[hidden] {

    display: none;
}

/* ==========================
通知详情页样式
========================== */

.notice-detail-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.notice-detail-article {
    background: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
}

.notice-detail-header {
    padding: 32px 36px 24px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(0,122,255,0.03), rgba(0,122,255,0.01));
}

.notice-detail-header h1 {
    margin: 0 0 12px 0;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-color);
}

.notice-detail-header time {
    font-size: 14px;
    color: var(--subtext-color);
}

.notice-content-wrapper {
    padding: 32px 36px 40px;
}

.notice-content-wrapper .notice-content-box {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

/* 通知详情页 Markdown 样式优化 */
.notice-content-wrapper .markdown-body {
    font-size: 16px;
    line-height: 1.9;
}

.notice-content-wrapper .markdown-body p {
    margin: 0 0 20px 0;
    color: var(--text-color);
}

.notice-content-wrapper .markdown-body h2 {
    font-size: 20px;
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.notice-content-wrapper .markdown-body h3 {
    font-size: 17px;
    margin: 24px 0 12px;
}

.notice-content-wrapper .markdown-body ul,
.notice-content-wrapper .markdown-body ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.notice-content-wrapper .markdown-body li {
    margin-bottom: 8px;
}

.notice-content-wrapper .markdown-body a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37,99,235,0.3);
    transition: border-color 0.2s;
}

.notice-content-wrapper .markdown-body a:hover {
    border-bottom-color: #2563eb;
}

.notice-content-wrapper .markdown-body strong {
    color: var(--text-color);
    font-weight: 600;
}

.notice-content-wrapper .markdown-body hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 32px 0;
}

/* 深色模式通知详情页 */
[data-theme="dark"] .notice-detail-header {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
}

[data-theme="dark"] .notice-content-wrapper .markdown-body a {
    color: #60a5fa;
    border-bottom-color: rgba(96,165,250,0.3);
}

[data-theme="dark"] .notice-content-wrapper .markdown-body a:hover {
    border-bottom-color: #60a5fa;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .notice-detail-main {
        padding: 20px 14px 40px;
    }

    .notice-detail-header {
        padding: 24px 20px 20px;
    }

    .notice-detail-header h1 {
        font-size: 22px;
    }

    .notice-content-wrapper {
        padding: 24px 20px 32px;
    }

    .notice-content-wrapper .markdown-body {
        font-size: 15px;
    }

    .notice-content-wrapper .markdown-body h2 {
        font-size: 18px;
    }

    .notice-content-wrapper .markdown-body h3 {
        font-size: 16px;
    }
}

