:root {
    --navy: #1b3a6b;
    --deep: #12294e;
    --gold: #c9a84c;
    --red: #b03a2e;
    --ink: #1c2a3d;
    --muted: #66758a;
    --surface: #edf2f8;
    --line: #dbe4ef;
    --shadow: 0 14px 36px rgba(18, 41, 78, .11);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; color: var(--ink); background: #eef3f8; font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.page { min-height: 100dvh; display: flex; flex-direction: column; }
.site-main { flex: 1; background: #fff; }

/* 前台排版重置：抵消 Ant Design 全局 body/h1-h6 样式对公开页的影响（后台 .admin-shell 不受影响） */
.page { font-size: 16px; line-height: 1.5; }
.page :is(h1, h2, h3, h4, h5, h6) { color: inherit; font-weight: 700; margin-block: 0; }

.topbar { height: 36px; color: #dbe6f4; background: var(--deep); font-size: 12px; }
.topbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.topbar a { color: #dbe6f4; text-decoration: none; margin-left: 22px; }
.topbar a:hover { color: var(--gold); }
.brandbar { background: #fff; border-bottom: 1px solid var(--line); }
.brandrow { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-lockup { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.seal { flex: 0 0 auto; width: 56px; height: 56px; object-fit: contain; }
.brand-title, .brand-en { display: block; }
.brand-title { color: var(--deep); font-size: 24px; letter-spacing: 1px; font-weight: 800; }
.brand-en { margin-top: 5px; color: var(--muted); font-size: 11px; letter-spacing: .7px; }
.search { width: 250px; height: 34px; display: flex; align-items: center; border: 1px solid #cfdbe8; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; padding: 0 12px; color: var(--muted); font-size: 12px; }
.search button { width: 48px; height: 100%; border: 0; color: #fff; background: var(--navy); font-size: 12px; }
.navrow { height: 48px; background: #fff; border-top: 1px solid #f1f4f8; }
.nav { height: 100%; display: flex; align-items: center; gap: 28px; overflow-x: auto; }
.nav a { height: 100%; padding-top: 16px; color: #40546f; text-decoration: none; font-size: 14px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a:focus-visible, .nav a.active { color: var(--deep); border-bottom-color: var(--gold); font-weight: 800; }

.hero { height: 420px; position: relative; overflow: hidden; color: #fff; background: #183a68 url('/images/media-01.jpg') center/cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 41, 78, .92), rgba(18, 41, 78, .43) 58%, rgba(18, 41, 78, .12)); }
.hero .container { height: 100%; position: relative; display: flex; align-items: center; }
.hero-copy { width: 620px; }
.hero-kicker { margin-bottom: 17px; color: #e9d69a; font-size: 14px; letter-spacing: 4px; }
.hero h1 { margin: 0; font-size: 48px; line-height: 1.2; letter-spacing: 2px; }
.hero p { margin: 18px 0 0; color: #e3ebf6; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
/* 首页轮播：图片层、遮罩和文案都收敛在每张幻灯片内部，避免叠加层级互相遮挡 */
.hero--carousel { background-image: none; }
.hero--carousel::before { display: none; }
.hero-slide { position: absolute; inset: 0; opacity: 0; background: #183a68 center/cover no-repeat; transition: opacity .6s ease; }
.hero-slide:first-child { opacity: 1; }
.hero-slide.is-active { opacity: 1; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 41, 78, .92), rgba(18, 41, 78, .43) 58%, rgba(18, 41, 78, .12)); }
.hero-slide .container { position: relative; z-index: 2; }
.hero-slide__link { position: absolute; inset: 0; z-index: 1; }
.hero--js .hero-slide { opacity: 0; }
.hero--js .hero-slide.is-active { opacity: 1; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer; }
.hero-dot.is-active { background: #e9d69a; }
.hero-dot:focus-visible { outline: 2px solid #e9d69a; outline-offset: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; text-decoration: none; font-size: 13px; border: 1px solid transparent; }
.btn.primary { color: var(--deep); background: var(--gold); font-weight: 800; }
.btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .65); }

.notice { padding: 13px 0; background: #fff; border-bottom: 1px solid var(--line); }
.notice .container { display: flex; align-items: center; min-height: 28px; }
.notice-label { margin-right: 15px; padding: 7px 12px; color: #fff; background: var(--red); font-size: 12px; font-weight: 800; }
.notice-title { flex: 1; color: var(--deep); font-size: 13px; text-decoration: none; }
.notice-date { color: var(--muted); font-size: 12px; }
/* 通知栏：单行视口 + 竖向逐条无缝轮播（每 5 秒上移一条），滚动逻辑在 wwwroot/js/notice-roll.js。 */
.notice-roll { position: relative; flex: 1; min-width: 0; height: 22px; overflow: hidden; }
.notice-roll__track { margin: 0; padding: 0; list-style: none; will-change: transform; }
.notice-roll__item { height: 22px; line-height: 22px; }
.notice-roll__item a { display: flex; align-items: baseline; gap: 10px; color: var(--deep); font-size: 13px; text-decoration: none; }
.notice-roll__item a:hover { color: var(--red); }
.notice-roll__title { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice-roll__item time { flex: none; color: var(--muted); font-size: 12px; }
.notice-more { margin-left: 15px; color: var(--muted); font-size: 12px; white-space: nowrap; text-decoration: none; }
.notice-more:hover { color: var(--red); }
.section { padding: 44px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 20px; }
.section-head h2 { margin: 0; color: var(--deep); font-size: 24px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.more { color: var(--navy); font-size: 13px; text-decoration: none; }
.three-col, .platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-panel { border-top: 4px solid var(--navy); background: #fff; }
.news-panel.gold { border-top-color: var(--gold); }
.news-panel.red { border-top-color: var(--red); }
.panel-title { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 12px; }
.panel-title h3 { margin: 0; color: var(--deep); font-size: 18px; }
.panel-title a { color: var(--navy); font-size: 12px; text-decoration: none; }
.news-list { list-style: none; margin: 0; padding: 0 18px 14px; }
.news-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #edf1f6; }
.news-list li:first-child { border-top: 0; }
.news-list a { min-width: 0; overflow: hidden; color: #3b4f69; font-size: 13px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.news-list a:hover { color: var(--red); }
.news-list time { color: #8a98aa; font-size: 11px; white-space: nowrap; }
.empty-list { color: var(--muted); font-size: 12px; }
.platform-band { background: var(--surface); }
.platform { display: flex; align-items: center; gap: 16px; padding: 22px; color: var(--deep); background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: 0 4px 14px rgba(18, 41, 78, .04); }
.platform:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.platform-mark { width: 52px; height: 52px; display: grid; flex: none; place-items: center; color: #fff; background: var(--navy); font-size: 12px; font-weight: 800; }
.platform:nth-child(2) .platform-mark { color: var(--deep); background: var(--gold); }
.platform:nth-child(3) .platform-mark { background: var(--red); }
.platform h3 { margin: 0; color: var(--deep); font-size: 17px; }
.platform p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.party-training-band { background: #fff; border-bottom: 1px solid var(--line); }
.party-training-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.party-training-links > a { min-height: 116px; display: grid; grid-template-columns: 56px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; color: inherit; text-decoration: none; border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.party-training-links > a:last-child { border-left-color: var(--navy); }
.party-training-links > a:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.party-training-index { color: var(--gold); font-size: 26px; font-weight: 800; }
.party-training-links h3 { margin: 0; color: var(--deep); font-size: 18px; }
.party-training-links p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.party-training-links b { color: var(--navy); font-size: 12px; }
.resource-band { color: #fff; background: var(--deep); }
.resource-band .section-head h2 { color: #fff; }
.resource-band .section-head p { color: #b7c8df; }
.home-resources { display: grid; grid-template-columns: 1.05fr 1.2fr .9fr; gap: 22px; }
.home-resource { min-height: 238px; color: #fff; text-decoration: none; border-top: 2px solid rgba(255, 255, 255, .38); }
.home-resource:hover { border-top-color: var(--gold); }
.home-resource-head { display: flex; align-items: baseline; justify-content: space-between; padding: 15px 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 18px; font-weight: 800; }
.home-resource-head b { color: #d9e4f2; font-size: 12px; font-weight: 400; }
.home-expert-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding-top: 16px; }
.home-expert-list > div { display: flex; align-items: center; min-width: 0; gap: 11px; }
.home-avatar { width: 36px; height: 36px; display: grid; flex: none; place-items: center; color: var(--deep); background: var(--gold); border-radius: 50%; font-size: 14px; font-weight: 800; }
.home-expert-list strong, .home-committee strong { display: block; color: #fff; font-size: 14px; }
.home-expert-list small, .home-committee li span, .home-member-list small { display: block; margin-top: 3px; color: #b7c8df; font-size: 11px; }
.home-committee ul { list-style: none; margin: 0; padding: 5px 0 0; }
.home-committee li { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.home-member-list { display: grid; gap: 10px; padding-top: 16px; }
.home-member-list > div { min-height: 48px; display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 0 13px; color: #fff; background: rgba(255, 255, 255, .08); border-left: 3px solid var(--gold); font-size: 14px; font-weight: 800; }
.home-member-list > div > span { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mediation-strip { color: #fff; background: var(--red); }
.mediation-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 0; }
.mediation-strip h2 { margin: 0; font-size: 24px; }
.mediation-strip p { max-width: 690px; margin: 7px 0 0; color: #f9dfdc; font-size: 13px; line-height: 1.7; }
.mediation-actions { display: flex; gap: 10px; flex: none; }
.mediation-strip .btn { color: var(--red); background: #fff; }
.mediation-strip .btn.secondary { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .72); }
.footer { color: #b7c8dd; background: var(--deep); }
.footer-top { display: grid; grid-template-columns: 1.15fr .75fr 1.3fr 1fr; gap: 32px; padding: 34px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer h3 { margin: 0 0 13px; color: #fff; font-size: 15px; }
.footer p, .footer li, .footer a { margin: 0; color: #b7c8dd; font-size: 12px; line-height: 1.8; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-bottom { min-height: 52px; display: flex; align-items: center; justify-content: space-between; color: #b7c8dd; font-size: 11px; }
.footer-record { display: flex; align-items: center; gap: 16px; }
.footer-record a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.footer-record a:hover { color: #fff; }
.footer-police-icon { width: 14px; height: 14px; object-fit: contain; }

.blazor-error-boundary { background: #b32121; padding: 1rem 1rem 1rem 3.7rem; color: white; }


.page-head { color: #fff; background: var(--navy); padding: 30px 0; }
.page-head h1 { margin: 0; color: #fff; font-size: 30px; letter-spacing: 1px; }
.page-head p { margin: 9px 0 0; color: #dce6f3; font-size: 13px; }
.crumbbar { height: 38px; background: var(--surface); }
.crumbbar .container { height: 100%; display: flex; align-items: center; color: var(--muted); font-size: 12px; }
.crumbbar b { color: var(--deep); margin-left: 7px; }
.section.soft { background: var(--surface); }
.anchor-layout, .association-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 44px; }
.association-page { padding: 48px 0 64px; }
.anchor-nav { border-right: 1px solid var(--line); }
.anchor-nav a { display: block; padding: 13px 15px; color: #53657b; text-decoration: none; border-left: 3px solid transparent; }
.anchor-nav a:hover, .anchor-nav a:focus-visible { color: var(--deep); border-left-color: var(--gold); background: #f7f9fc; font-weight: 800; }
.content-card { background: #fff; }
.association-content { min-width: 0; }
.association-content section { padding: 0 0 34px; margin: 0; border: 0; }
.association-content section + section { border-top: 1px solid var(--line); padding-top: 34px; }
.association-section-header { display: flex; align-items: baseline; gap: 13px; margin-bottom: 17px; }
.association-section-header span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.association-section-header h2 { margin: 0; color: var(--deep); font-size: 23px; }
.content-card p, .resource-profile-section p { color: #4d6077; font-size: 14px; line-height: 1.9; }
.association-content section > div > p { margin: 0; }
.association-content section > div > p + p { margin-top: 12px; }
.association-purpose { margin-top: 22px; padding: 14px 17px; color: var(--deep); background: var(--surface); border-left: 3px solid var(--gold); font-size: 14px; font-weight: 800; }
.muted-copy { color: var(--muted) !important; font-size: 12px !important; }
.text-link, .association-contact-link { display: inline-flex; align-items: center; height: 38px; margin-top: 20px; padding: 0 16px; color: #fff; background: var(--navy); font-size: 13px; font-weight: 800; text-decoration: none; }
.text-link:hover, .association-contact-link:hover { color: #fff; background: var(--deep); }
.org-chart { display: grid; justify-items: center; gap: 10px; margin: 20px 0; padding: 18px; background: #f8fafc; border: 1px solid var(--line); }
.org-chart strong, .org-chart div span { padding: 12px 22px; color: var(--deep); background: #fff; border: 1px solid var(--line); }
.org-chart > span { color: var(--gold); font-weight: 800; }
.org-chart div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.association-chart { margin: 0; border: 1px solid var(--line); background: #f8fafc; }
.association-chart-image { display: block; width: 100%; height: auto; }
.association-chart figcaption { padding: 11px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; }
.resource-profile { max-width: 900px; margin: 0 auto; padding: 30px; background: #fff; border: 1px solid var(--line); }
.resource-profile-header { display: flex; align-items: center; gap: 20px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.resource-profile-header h1 { margin: 0; color: var(--deep); font-size: 30px; }
.resource-eyebrow { margin: 0 0 6px !important; color: var(--navy) !important; font-size: 13px !important; }
.resource-subtitle { margin: 8px 0 0 !important; color: var(--muted) !important; }
.resource-affiliation { margin: 5px 0 0 !important; color: var(--muted) !important; font-size: 12px !important; }
.resource-profile-section { padding: 24px 0; border-bottom: 1px solid var(--line); }
.resource-profile-section:last-child { border-bottom: 0; }
.resource-profile-section h2 { margin: 0 0 12px; color: var(--deep); font-size: 21px; }
.expert-avatar { width: 68px; height: 68px; display: grid; flex: none; place-items: center; color: var(--deep); background: var(--gold); border-radius: 50%; font-size: 25px; font-weight: 800; }
.expert-avatar-large { width: 96px; height: 96px; font-size: 34px; }
.expert-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.committee-category { display: inline-block; margin-bottom: 10px; color: var(--gold); font-size: 12px; font-weight: 800; }
.committee-link-grid, .committee-member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.committee-link-card, .committee-member-card { display: block; padding: 16px; color: inherit; background: #f7f9fc; border: 1px solid var(--line); text-decoration: none; }
.committee-link-card h3, .committee-member-card h3 { margin: 0; color: var(--deep); font-size: 16px; }
.committee-link-card p, .committee-member-card p { margin: 6px 0 0; font-size: 12px !important; }
.committee-duty-list { margin: 0; padding-left: 20px; color: #4d6077; line-height: 2; font-size: 14px; }
.member-group { margin-top: 32px; }
.member-group-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.member-group-head h2 { margin: 0; color: var(--deep); font-size: 21px; }
.member-group-head p { margin: 0; color: var(--muted); font-size: 12px; }
.member-logo-large { width: 170px; height: 100px; }
.mediation-hero { background-image: url('/images/media-10.jpg'); }
.mediation-hero::before { background: linear-gradient(90deg, rgba(120, 30, 24, .94), rgba(120, 30, 24, .46) 58%, rgba(120, 30, 24, .12)); }
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.scene { padding: 18px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); }
.scene h3 { margin: 0; color: var(--deep); font-size: 16px; }
.scene p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process-step { padding: 17px 13px; text-align: center; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); }
.process-step strong { width: 34px; height: 34px; display: grid; place-items: center; margin: 0 auto 9px; color: #fff; background: var(--red); border-radius: 50%; }
.process-step h3 { margin: 0; color: var(--deep); font-size: 15px; }
.process-step p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.case-card { display: block; padding: 19px; color: inherit; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); text-decoration: none; }
.case-card:hover { border-color: var(--red); box-shadow: var(--shadow); }
.case-card h3 { margin: 0; color: var(--deep); font-size: 17px; }
.case-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.article-detail { width: min(850px, 100%); margin: 0 auto; }
.article-detail h1 { margin: 0; color: var(--deep); font-size: 32px; line-height: 1.35; text-align: center; }
.article-meta-center { padding: 14px 0 20px; color: #8b98a9; font-size: 12px; text-align: center; border-bottom: 1px solid var(--line); }
.article-body { color: #394d66; font-size: 15px; line-height: 2; }
.article-body p { margin: 20px 0; }
.article-quote { padding: 15px 18px; color: #6b5a25; background: #faf6e9; border-left: 4px solid var(--gold); }
.service-directory, .contact-directory { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.auxiliary-intro { padding: 24px; color: #fff; background: var(--deep); }
.auxiliary-intro span, .contact-primary span { color: var(--gold); font-size: 12px; font-weight: 800; }
.auxiliary-intro h2, .contact-primary h2 { margin: 12px 0; color: #fff; font-size: 24px; }
.auxiliary-intro p, .contact-primary p { color: #cbd8e8; font-size: 13px; line-height: 1.7; }
.service-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card { position: relative; display: block; min-height: 190px; padding: 20px; color: inherit; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.service-card-index { color: var(--gold); font-size: 24px; font-weight: 800; }
.service-card-icon { float: right; width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--navy); font-weight: 800; }
.service-card[data-tone="mediation"] .service-card-icon { background: var(--red); }
.service-card h3 { margin: 22px 0 8px; color: var(--deep); font-size: 18px; }
.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.service-card-link { display: block; margin-top: 16px; color: var(--navy); font-size: 12px; }
.contact-primary { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; padding: 26px; background: var(--deep); }
.contact-primary h2 { margin-bottom: 0; }
.contact-actions { display: flex; align-items: center; gap: 10px; }
.contact-actions a { padding: 10px 16px; color: var(--deep); background: #fff; text-decoration: none; font-size: 12px; }
.contact-detail-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-detail, .contact-hours { padding: 20px; background: #fff; border: 1px solid var(--line); }
.contact-detail-label { display: block; color: var(--muted); font-size: 12px; }
.contact-phone, .contact-email, .contact-hours strong { display: block; margin-top: 12px; color: var(--deep); font-size: 18px; text-decoration: none; }
.contact-detail p, .contact-hours p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.contact-address { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 24px; background: var(--surface); }
.contact-address span { color: var(--navy); font-size: 12px; font-weight: 800; }
.contact-address h2 { margin: 10px 0 0; color: var(--deep); font-size: 22px; }
.contact-address p { color: var(--muted); font-size: 12px; }
.contact-location-mark { flex: 0 0 auto; width: 84px; height: 84px; object-fit: contain; }
.search-form { max-width: 700px; }
.search-form label { display: block; margin-bottom: 8px; color: var(--deep); font-weight: 800; }
.search-form div { display: flex; }
.search-form input { flex: 1; min-width: 0; border: 1px solid #aebdce; padding: 11px; font: inherit; }
.search-form button { border: 0; padding: 0 22px; color: #fff; background: var(--navy); font: inherit; }
.search-summary { margin: 28px 0 10px; color: var(--muted); font-size: 13px; }
.search-summary strong { color: var(--deep); }
.search-result { padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-result-type { color: var(--gold); font-size: 12px; font-weight: 800; }
.search-result h2 { margin: 7px 0; color: var(--deep); font-size: 18px; }
.search-result h2 a { text-decoration: none; }
.search-result p { margin: 0; color: var(--muted); font-size: 13px; }
.search-result time { display: block; margin-top: 8px; color: #8a98aa; font-size: 11px; }
.search-empty-hint { margin-top: 24px; color: var(--muted); font-size: 13px; }
.search-empty-hint a { color: var(--navy); }

.public-article--empty { min-height: 40vh; }
.article-facts { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 12px 20px; margin: 24px 0 0; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.article-facts dt { color: var(--muted); font-size: 12px; }
.article-facts dd { margin: 0; color: var(--deep); font-size: 14px; line-height: 1.7; }
.article-body img { max-width: 100%; height: auto; }
.article-structured { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: #394d66; font-size: 15px; line-height: 2; }
.article-structured h2 { margin: 0 0 14px; color: var(--deep); font-size: 18px; }
.article-structured img { max-width: 100%; height: auto; }
.article-pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 28px; font-size: 13px; }
.article-pagination a, .article-pagination span { min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.article-pagination a { color: var(--navy); }
.article-pagination a:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
.article-pagination span { background: #f7f9fc; }

.filters { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tabs a { display: inline-flex; align-items: center; min-height: 36px; padding: 11px 16px; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; font-size: 13px; }
.tabs a:hover, .tabs a.active { color: var(--deep); border-bottom-color: var(--gold); font-weight: 800; }
.filter-search { width: min(260px, 100%); height: 34px; padding: 0 11px; color: var(--deep); border: 1px solid var(--line); font: inherit; }
.expert-grid, .committee-grid, .member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.expert-card, .committee-card, .member-card { display: block; min-width: 0; padding: 18px; color: inherit; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.expert-card:hover, .committee-card:hover, .member-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.expert-card { display: flex; align-items: center; gap: 15px; }
.expert-card h3, .committee-card h3, .member-card h3 { margin: 0; color: var(--deep); }
.expert-card h3, .committee-card h3 { font-size: 17px; }
.member-card h3 { font-size: 15px; }
.expert-card p, .committee-card p, .member-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.committee-card p { margin: 8px 0; }
.expert-card p { margin: 5px 0 0; }
.expert-avatar { width: 68px; height: 68px; display: grid; flex: none; place-items: center; color: var(--deep); background: #d9e4f1 center/cover; border-radius: 50%; font-size: 22px; font-weight: 800; }
.expert-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.committee-card { border-top: 4px solid var(--navy); }
.committee-card:nth-child(3n + 2) { border-top-color: var(--gold); }
.committee-card:nth-child(3n) { border-top-color: var(--red); }
.committee-card .committee-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 8px; color: #806d2d; background: #faf6e9; font-size: 12px; }
.member-group { margin-top: 32px; }
.member-group-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.member-group-head h2 { margin: 0; color: var(--deep); font-size: 21px; }
.member-group-head p { margin: 0; color: var(--muted); font-size: 12px; }
.member-card { text-align: center; }
.member-logo { width: 100%; height: 80px; display: grid; place-items: center; margin-bottom: 14px; color: var(--navy); background: #f4f7fb; font-size: 22px; font-weight: 800; }
.member-expand-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.member-grid--collapsible > .member-card:nth-child(n+13) { display: none; }
.member-expand-toggle:checked ~ .member-grid--collapsible > .member-card { display: block; }
.member-expand-label { display: inline-flex; margin-top: 18px; padding: 9px 20px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; font-size: 13px; font-weight: 700; }
.member-expand-label:hover { border-color: var(--gold); color: var(--deep); }
.member-expand-less { display: none; }
.member-expand-toggle:checked ~ .member-expand-label .member-expand-more { display: none; }
.member-expand-toggle:checked ~ .member-expand-label .member-expand-less { display: inline; }
.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }
.article-list { min-width: 0; background: #fff; }
.article-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.article-row h3 { margin: 0; color: var(--deep); font-size: 17px; }
.article-row h3 a { text-decoration: none; }
.article-row h3 a:hover { color: var(--red); }
.article-row p { margin: 9px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.article-meta { color: #8b98a9; font-size: 11px; }
.article-thumb { height: 108px; background: #dfe8f2 center/cover no-repeat; }
/* 无封面的文章用协会会徽占位，底色取列表灰的一半深度，避免占位块比正文更抢眼。 */
.article-thumb--placeholder { background-color: #eff3f9; background-image: url('/images/logo.png'); background-size: 56px 56px; }
.article-badge { margin-right: 6px; padding: 1px 6px; border-radius: 3px; font-size: 11px; font-weight: 700; vertical-align: 2px; line-height: 1.6; }
.article-badge--top { color: #8a6a15; background: #f7ecd0; }
.article-badge--urgent { color: #fff; background: var(--red); }
.side-box { border-top: 4px solid var(--gold); background: var(--surface); padding: 18px; height: max-content; }
.side-box h3 { margin: 0 0 12px; color: var(--deep); font-size: 16px; }
.side-box a { display: block; padding: 10px 0; border-top: 1px solid var(--line); color: #53657b; text-decoration: none; font-size: 12px; }
.side-box a:first-of-type { border-top: 0; }
.side-box a:hover { color: var(--navy); font-weight: 800; }
.public-articles__empty { padding: 42px 0; color: var(--muted); text-align: center; }

.resource-filters { align-items: flex-end; }
.resource-filters .tabs { margin: 0; }
.committee-tabs { margin-bottom: 24px; }
.filters .committee-tabs { margin-bottom: 0; }
.expert-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.expert-wall .expert-card { min-height: 132px; padding: 20px; }
.expert-wall .expert-card small { display: block; margin-top: 11px; color: #806d2d; font-size: 12px; }
.expert-wall .expert-card p { line-height: 1.55; }
.resource-profile { background: #fff; border: 1px solid var(--line); padding: 32px; }
.resource-profile-header { display: flex; align-items: center; gap: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.resource-profile h1 { margin: 0; color: var(--deep); font-size: 30px; }
.resource-eyebrow { margin: 0 0 8px !important; color: #806d2d !important; font-size: 12px !important; font-weight: 800; letter-spacing: 1px; }
.resource-subtitle { margin: 9px 0 0 !important; color: var(--muted) !important; font-size: 14px !important; }
.resource-affiliation { margin: 7px 0 0 !important; color: #8090a3 !important; font-size: 13px !important; }
.expert-avatar-large { width: 110px; height: 110px; }
.resource-profile-section { margin-top: 30px; }
.resource-profile-section h2 { margin: 0 0 14px; color: var(--deep); font-size: 21px; }
.resource-profile-section p { margin: 0; color: #4d6077; font-size: 14px; line-height: 1.9; }
.committee-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.committee-link-card { display: block; border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 17px; text-decoration: none; }
.committee-link-card:hover, .committee-member-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.committee-link-card h3, .committee-member-card h3 { margin: 0; color: var(--deep); font-size: 16px; }
.committee-link-card p, .committee-member-card p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.committee-category { display: inline-block; margin-bottom: 13px; color: #806d2d; background: #faf6e9; padding: 5px 8px; font-size: 11px; font-weight: 800; }
.committee-duty-list { margin: 0; padding: 0; list-style: none; }
.committee-duty-list li { position: relative; padding: 11px 0 11px 18px; border-top: 1px solid var(--line); color: #4d6077; font-size: 14px; line-height: 1.7; }
.committee-duty-list li:first-child { border-top: 0; }
.committee-duty-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 6px; height: 6px; background: var(--gold); }
.committee-leadership-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.committee-member-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.committee-member-card { display: block; border: 1px solid var(--line); padding: 17px; text-decoration: none; }
.member-group { margin-top: 40px; }
.member-group:first-of-type { margin-top: 0; }
.member-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.member-group-head h2 { margin: 0; color: var(--deep); font-size: 20px; }
.member-group-head p { margin: 0; color: var(--muted); font-size: 12px; }
.member-logo-large { width: 150px; height: 110px; margin: 0; }
.resource-contact { color: var(--deep) !important; }

.service-directory, .contact-directory, .search-page { background: #fff; }
.auxiliary-intro { max-width: 650px; margin: 0 auto 30px; text-align: center; }
.auxiliary-intro > span, .contact-primary-copy > span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: 2px; }
.auxiliary-intro h2 { margin: 10px 0; color: var(--deep); font-size: 27px; }
.auxiliary-intro p { margin: 0; color: var(--muted); font-size: 13px; }
.service-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 220px; padding: 28px 30px 24px; position: relative; background: #fff; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: .2s ease; color: inherit; display: block; }
.service-card:hover { z-index: 1; box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--line); }
.service-card-index { position: absolute; right: 25px; top: 22px; color: #dbe4ef; font: 800 42px/1 Georgia, serif; }
.service-card-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 24px; background: var(--navy); color: #fff; font-size: 17px; font-weight: 800; float: none; }
.service-card[data-tone="training"] .service-card-icon { background: var(--gold); color: var(--deep); }
.service-card[data-tone="mediation"] .service-card-icon { background: var(--red); }
.service-card[data-tone="contact"] .service-card-icon { background: #496d66; }
.service-card h3 { position: relative; margin: 0; color: var(--deep); font-size: 20px; }
.service-card p { position: relative; max-width: 360px; margin: 10px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-card-link { position: relative; color: var(--navy); font-size: 13px; font-weight: 800; }
.service-card[data-tone="mediation"] .service-card-link { color: var(--red); }
.contact-primary { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 38px 42px; background: var(--deep); color: #fff; grid-column: 1 / -1; flex-direction: row; }
.contact-primary-copy { max-width: 680px; }
.contact-primary-copy h2 { margin: 10px 0 8px; font-size: 28px; color: #fff; }
.contact-primary-copy p { margin: 0; color: #bfcee1; font-size: 13px; line-height: 1.7; }
.contact-actions { display: flex; gap: 10px; flex: none; }
.contact-actions a { display: inline-flex; align-items: center; justify-content: center; min-width: 112px; height: 40px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; text-decoration: none; font-size: 13px; background: transparent; padding: 0 14px; }
.contact-actions a:first-child { background: var(--gold); border-color: var(--gold); color: var(--deep); font-weight: 800; }
.contact-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-right: 1px solid var(--line); gap: 0; }
.contact-detail, .contact-hours { min-height: 176px; padding: 28px 30px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.contact-detail-label, .contact-address > div > span { display: block; color: #8292a6; font-size: 12px; }
.contact-detail a, .contact-hours strong { display: block; margin: 13px 0 8px; color: var(--deep); font-size: 20px; text-decoration: none; }
.contact-detail p, .contact-hours p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.contact-hours { background: #faf6e9; }
.contact-address { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 24px 30px; border: 1px solid var(--line); background: #f7f9fc; grid-column: 1 / -1; }
.contact-address h2 { margin: 8px 0; color: var(--deep); font-size: 20px; }
.contact-address p { margin: 0; color: var(--muted); font-size: 12px; }
.contact-location-mark { flex: 0 0 auto; width: 84px; height: 84px; object-fit: contain; }
.search-page { width: 900px; margin: 0 auto; }
.search-form { padding: 26px 30px; background: var(--surface); }
.search-form label { display: block; margin-bottom: 10px; color: var(--deep); font-size: 13px; font-weight: 800; }
.search-form > div { display: flex; height: 44px; }
.search-form input { min-width: 0; flex: 1; border: 1px solid #c7d4e3; border-right: 0; padding: 0 14px; outline: 0; color: var(--ink); font-size: 14px; }
.search-form button { width: 86px; border: 0; background: var(--navy); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; padding: 0; }
.search-form button:hover { background: var(--deep); }
.search-summary { padding: 23px 0 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; margin: 0; }
.search-summary strong { color: var(--deep); }
.search-summary span { margin-left: 10px; color: #8a98aa; font-size: 12px; }
.search-result { position: relative; padding: 22px 0 22px 94px; border-bottom: 1px solid var(--line); }
.search-result-type { position: absolute; left: 0; top: 25px; width: 74px; padding: 5px 0; background: #edf2f8; color: var(--navy); text-align: center; font-size: 11px; font-weight: 400; }
.search-result:nth-child(2) .search-result-type { background: #f9e6e3; color: var(--red); }
.search-result h2 { margin: 0; color: var(--deep); font-size: 18px; }
.search-result h2 a { color: var(--deep); text-decoration: none; }
.search-result h2 a:hover { color: var(--red); }
.search-result p { margin: 9px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.search-result time { color: #8b98a9; font-size: 11px; }
.search-empty-hint { margin: 24px 0 0; padding: 15px 18px; background: #f7f9fc; color: var(--muted); font-size: 12px; }
.search-empty-hint a { color: var(--navy); font-weight: 800; text-decoration: none; }
.party-emblem { position: absolute; right: 0; bottom: 14px; height: 64px; }
.page-head { position: relative; }

/* 党建专栏红色主题（对齐静态 party.html） */
.party-theme .page-head {
    position: relative; z-index: 0; display: flex; align-items: center; min-height: 170px; overflow: hidden;
    background: linear-gradient(112deg, #861d1d 0%, #b7332a 54%, #8c201c 100%);
}
.party-theme .page-head::before {
    position: absolute; z-index: -1; inset: 0; content: "";
    background: linear-gradient(128deg, transparent 0 43%, rgba(255, 209, 82, .14) 43.1% 44.2%, transparent 44.3%), linear-gradient(140deg, transparent 0 58%, rgba(255, 255, 255, .12) 58.1% 59.1%, transparent 59.2%);
}
.party-theme .page-head::after {
    position: absolute; z-index: -1; top: -276px; right: -100px; width: 600px; height: 600px; content: "";
    border: 1px solid rgba(255, 221, 116, .34); border-radius: 50%;
    box-shadow: 0 0 0 54px rgba(255, 222, 112, .09), 0 0 0 120px rgba(255, 255, 255, .05);
}
.party-theme .page-head .container { position: relative; }
.party-theme .page-head h1 { position: relative; z-index: 1; font-size: 34px; color: #fff; }
.party-theme .page-head p { position: relative; z-index: 1; max-width: 560px; color: rgba(255, 255, 255, .86); }
.party-theme .party-emblem { position: absolute; top: 50%; right: 70px; bottom: auto; width: 142px; height: 142px; object-fit: contain; transform: translateY(-50%); filter: drop-shadow(0 9px 13px rgba(83, 20, 17, .32)); }
.party-theme .tabs a.active, .party-theme .tabs a:hover { color: var(--red); border-bottom-color: var(--red); }
.party-theme .article-row h3 a:hover { color: var(--red); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.pagination a, .pagination span { min-width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 9px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; text-decoration: none; }
.pagination a:hover, .pagination a.active { color: #fff; background: var(--navy); border-color: var(--navy); }
.pagination span { color: #a5b0bd; background: #f7f9fc; }
.article-attachments { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-attachments h2 { margin: 0 0 14px; color: var(--deep); font-size: 18px; }
.attachment-item { display: flex; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.attachment-item:hover { border-color: var(--gold); box-shadow: 0 6px 18px rgba(18, 41, 78, .08); }
.attachment-type { display: grid; place-items: center; width: 42px; height: 42px; background: #f7e8e5; color: var(--red); font-size: 11px; font-weight: 800; }
.attachment-item .attachment-info { display: grid; gap: 4px; flex: 1; }
.attachment-item strong { color: var(--deep); font-size: 14px; }
.attachment-item small { color: var(--muted); font-size: 11px; }
.attachment-item b { color: var(--navy); font-size: 12px; }
.article-navigation { display: flex; justify-content: space-between; gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-navigation a { display: grid; gap: 5px; text-decoration: none; }
.article-navigation a + a { margin-left: auto; text-align: right; }
.article-navigation small { color: var(--muted); font-size: 11px; }
.article-navigation span { color: var(--deep); font-size: 13px; }
.article-navigation a:hover span { color: var(--red); }
.related-articles .section-head { margin-bottom: 19px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-grid a { display: block; min-height: 150px; padding: 20px; background: #fff; border-top: 3px solid var(--navy); text-decoration: none; color: inherit; }
.related-grid a:nth-child(2) { border-top-color: var(--gold); }
.related-grid a:nth-child(3) { border-top-color: var(--red); }
.related-grid a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.related-grid small { color: var(--muted); font-size: 11px; }
.related-grid h3 { margin: 12px 0 8px; color: var(--deep); font-size: 16px; line-height: 1.5; }
.related-grid p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

@media (max-width: 900px) {
    .anchor-layout, .association-layout, .service-directory, .contact-directory { grid-template-columns: 1fr; }
    .anchor-nav { display: flex; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--line); }
    .anchor-nav a { flex: 1 1 33%; }
    .scene-grid { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(3, 1fr); }
    .nav { gap: 18px; }
    .three-col, .platforms, .home-resources, .expert-grid, .committee-grid, .member-grid, .expert-wall { grid-template-columns: 1fr; }
    .expert-grid, .committee-grid, .member-grid, .expert-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .committee-member-grid, .committee-leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .list-layout { grid-template-columns: 1fr; gap: 22px; }
    .home-expert-list { grid-template-columns: repeat(3, 1fr); }
    .filters { align-items: stretch; flex-direction: column; }
    .filter-search { width: 100%; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .service-directory, .contact-directory { padding: 0; }
    .service-card-grid { border-left: 0; border-top: 0; grid-template-columns: 1fr; }
    .service-card { border: 1px solid var(--line); border-top: 0; }
    .service-card:first-child { border-top: 1px solid var(--line); }
    .contact-detail-grid { grid-template-columns: 1fr; border-right: 0; }
    .contact-detail, .contact-hours { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .contact-primary { flex-direction: column; align-items: flex-start; gap: 22px; }
    .search-page { width: 100%; }
}

@media (max-width: 680px) {
    .page-head h1 { font-size: 26px; }
    .resource-profile { padding: 20px; }
    .resource-profile-header { align-items: flex-start; flex-direction: column; }
    .resource-profile-header h1 { font-size: 25px; }
    .committee-link-grid, .committee-member-grid, .service-card-grid, .contact-detail-grid, .case-grid, .expert-grid, .committee-grid, .member-grid { grid-template-columns: 1fr; }
    .list-layout { grid-template-columns: 1fr; }
    .article-row { align-items: flex-start; flex-direction: column; }
    .article-thumb { width: 100%; min-width: 0; min-height: 110px; }
    .filters { padding: 12px; }
    .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .tabs a { white-space: nowrap; }
    .filter-search { width: 100%; }
    .scene-grid { grid-template-columns: 1fr; }
    .process { grid-template-columns: 1fr 1fr; }
    .contact-primary { align-items: flex-start; flex-direction: column; }
    .contact-address { align-items: flex-start; gap: 20px; flex-direction: column; }
    .member-group-head { align-items: flex-start; flex-direction: column; gap: 4px; }
    .anchor-nav a { flex-basis: 50%; }
    .brandrow { height: auto; align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px 0; }
    .brand-title { font-size: 19px; }
    .search { width: 100%; }
    .navrow { height: auto; }
    .nav { flex-wrap: wrap; gap: 0; overflow: visible; }
    .nav a { flex: 1 1 33.333%; height: 44px; padding-top: 14px; text-align: center; font-size: 13px; }
    .hero { height: auto; min-height: 390px; }
    .hero-copy { width: 100%; }
    .hero h1 { font-size: clamp(36px, 11vw, 48px); }
    .hero p { font-size: 15px; }
    .notice .container { align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
    .notice-title { flex-basis: calc(100% - 90px); }
    .notice-date { margin-left: 90px; }
    .section { padding: 34px 0; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .party-training-links { grid-template-columns: 1fr; }
    .party-training-links > a { grid-template-columns: 46px 1fr; }
    .party-training-links b { grid-column: 2; }
    .home-expert-list { grid-template-columns: 1fr; }
    .mediation-strip .container { align-items: flex-start; flex-direction: column; padding: 28px 0; }
    .mediation-actions { flex-wrap: wrap; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; padding: 14px 0; }
}

/* Blazor 未处理异常提示条：框架按 id 查找 #blazor-error-ui，并用行内样式置 display:block 显示，
   所以这里只能默认隐藏、不要用更高优先级去改它的 display；.reload / .dismiss 由框架绑定点击事件。 */
#blazor-error-ui { display: none; position: fixed; right: 0; bottom: 0; left: 0; z-index: 2000; padding: 12px 20px; color: #8a4b08; background: #fff1d6; border-top: 1px solid #e0c489; box-shadow: 0 -2px 10px rgba(18, 41, 78, .12); font-size: 13px; }
#blazor-error-ui span { margin-right: 12px; }
#blazor-error-ui .reload { padding: 4px 12px; color: #fff; background: #1b3a6b; border-radius: 6px; cursor: pointer; font-weight: 700; }
#blazor-error-ui .reload:hover { background: #1769d2; }
#blazor-error-ui .dismiss { margin-left: 10px; color: #8a4b08; cursor: pointer; text-decoration: underline; }

/* 断线重连浮层：容器由框架加 components-reconnect-* 状态类，只有匹配当前状态的那块文案显示。 */
#components-reconnect-modal { display: none; position: fixed; inset: 0; z-index: 2100; align-items: center; justify-content: center; padding: 1rem; background: rgba(18, 41, 78, .45); }
#components-reconnect-modal.components-reconnect-show, #components-reconnect-modal.components-reconnect-failed, #components-reconnect-modal.components-reconnect-rejected, #components-reconnect-modal.components-reconnect-paused, #components-reconnect-modal.components-reconnect-resume-failed { display: flex; }
#components-reconnect-modal .reconnect-card { max-width: 460px; padding: 20px 22px; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px rgba(16, 43, 84, .25); }
#components-reconnect-modal .reconnect-card > div { display: none; }
#components-reconnect-modal.components-reconnect-show .components-reconnect-show, #components-reconnect-modal.components-reconnect-failed .components-reconnect-failed, #components-reconnect-modal.components-reconnect-rejected .components-reconnect-rejected, #components-reconnect-modal.components-reconnect-paused .components-reconnect-paused, #components-reconnect-modal.components-reconnect-resume-failed .components-reconnect-resume-failed { display: block; }
#components-reconnect-modal strong { display: block; margin-bottom: 6px; color: #12294e; font-size: 1rem; }
#components-reconnect-modal p { margin: 0 0 14px; color: #5b6b7d; font-size: .9rem; line-height: 1.65; }
#components-reconnect-modal .reconnect-retrying { display: none; }
#components-reconnect-modal.components-reconnect-retrying .reconnect-retrying { display: inline; }
#components-reconnect-modal .reconnect-reload { padding: 8px 16px; color: #fff; background: #1b3a6b; border: 0; border-radius: 7px; font: inherit; font-weight: 600; cursor: pointer; }
#components-reconnect-modal .reconnect-reload:hover { background: #1769d2; }
