/* 独立公告详情样式，不依赖首页样式与移动端跳转脚本。 */
:root {
    --notice-ink: #18354b;
    --notice-red: #a42127;
    --notice-body: #343b41;
    --notice-muted: #697781;
    --notice-line: #e2e7eb;
}

* {
    box-sizing: border-box;
}

html {
    background: #f2f4f6;
    color: var(--notice-body);
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--notice-red);
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    z-index: 10;
    top: -70px;
    left: 20px;
    padding: 12px 18px;
    background: var(--notice-ink);
    color: #fff;
}

.skip-link:focus {
    top: 12px;
}

.notice-site-header {
    border-top: 4px solid var(--notice-ink);
    border-bottom: 1px solid var(--notice-line);
    background: #fff;
}

.notice-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1100px, calc(100% - 64px));
    min-height: 108px;
    margin: 0 auto;
}

.notice-brand {
    display: block;
    flex-shrink: 0;
}

.notice-brand img {
    display: block;
    max-width: 100%;
    height: auto;
}

.notice-home-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    color: var(--notice-ink);
    font-size: 14px;
    white-space: nowrap;
}

.notice-home-link:hover,
.notice-breadcrumb a:hover,
.notice-bottom-nav a:hover {
    color: var(--notice-red);
}

.notice-main {
    width: min(980px, calc(100% - 64px));
    margin: 0 auto;
}

.notice-breadcrumb {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 29px 0 23px;
    color: var(--notice-muted);
    font-size: 13px;
}

.notice-breadcrumb [aria-current] {
    color: var(--notice-ink);
}

.notice-paper {
    padding: 52px 70px 60px;
    border-top: 3px solid var(--notice-red);
    background: #fff;
    box-shadow: 0 6px 35px rgb(24 53 75 / 5%);
}

.notice-article-header {
    text-align: center;
}

.notice-label {
    display: inline-block;
    padding: 6px 13px;
    border: 1px solid #e7c7c9;
    color: var(--notice-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-indent: 3px;
}

.notice-issuer {
    margin: 26px 0 12px;
    color: var(--notice-muted);
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1.8;
}

.notice-article-header h1 {
    margin: 0 auto;
    color: var(--notice-ink);
    font-family: "Songti SC", "SimSun", serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.65;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.notice-heading-rule {
    position: relative;
    height: 1px;
    margin: 32px 0 35px;
    background: var(--notice-line);
}

.notice-heading-rule::before {
    position: absolute;
    top: -1px;
    left: calc(50% - 23px);
    width: 46px;
    height: 3px;
    background: var(--notice-red);
    content: "";
}

.notice-content {
    font-size: 17px;
    line-height: 2.15;
    overflow-wrap: break-word;
}

.notice-content p {
    margin: 0 0 22px;
    text-align: justify;
    text-indent: 2em;
}

.notice-content h2 {
    margin: 32px 0 13px;
    color: var(--notice-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
}

.notice-content .notice-closing {
    margin-top: 30px;
    margin-bottom: 0;
}

.notice-bottom-nav {
    padding: 28px 0 38px;
    text-align: center;
}

.notice-bottom-nav a {
    display: inline-block;
    padding: 10px 20px;
    color: var(--notice-ink);
    font-size: 14px;
}

.notice-bottom-nav span {
    margin-left: 9px;
}

.notice-site-footer {
    padding: 25px 20px;
    border-top: 1px solid var(--notice-line);
    color: var(--notice-muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

/* 小屏保留完整正文，标题自然换行，并扩大返回首页的可点击范围。 */
@media (max-width: 640px) {
    .notice-header-inner {
        gap: 14px;
        width: calc(100% - 32px);
        min-height: 84px;
    }

    .notice-brand {
        width: min(56vw, 245px);
    }

    .notice-home-link {
        gap: 5px;
        font-size: 12px;
    }

    .notice-home-link svg {
        width: 14px;
        height: 14px;
    }

    .notice-main {
        width: calc(100% - 24px);
    }

    .notice-breadcrumb {
        gap: 11px;
        padding: 20px 8px 17px;
        font-size: 12px;
    }

    .notice-paper {
        padding: 31px 23px 36px;
    }

    .notice-issuer {
        margin-top: 22px;
        font-size: 13px;
        letter-spacing: 0;
    }

    .notice-article-header h1 {
        font-size: 24px;
        line-height: 1.7;
    }

    .notice-heading-rule {
        margin: 26px 0;
    }

    .notice-content {
        font-size: 16px;
        line-height: 2;
    }

    .notice-content h2 {
        margin-top: 28px;
        font-size: 18px;
    }

    .notice-bottom-nav {
        padding: 19px 0 26px;
    }
}

/* 打印只保留公司标识和声明内容，避免导航占用纸面。 */
@media print {
    html {
        background: #fff;
    }

    .notice-site-header {
        border: 0;
    }

    .notice-header-inner,
    .notice-main {
        width: 100%;
    }

    .notice-header-inner {
        min-height: 80px;
    }

    .notice-brand {
        width: 230px;
    }

    .notice-home-link,
    .notice-breadcrumb,
    .notice-bottom-nav,
    .notice-site-footer,
    .skip-link {
        display: none;
    }

    .notice-paper {
        padding: 24px 0 0;
        border-top: 1px solid #999;
        box-shadow: none;
    }

    .notice-content {
        color: #000;
        font-size: 12pt;
        line-height: 1.85;
    }

    .notice-content h2 {
        break-after: avoid;
    }

    .notice-content p {
        orphans: 3;
        widows: 3;
    }
}
