:root {
    --home-primary: #002c8c;
    --home-brand: #0d2f50;
    --home-text: #333;
    --home-muted: #738093;
    --home-faint: #98a4b2;
    --home-border: #e5eaee;
    --home-surface: #fff;
    --home-band: #f6f6f6;
    --home-footer: #0d1e34;
    --home-accent: #ffb20b;
    --home-container: 1400px;
    --home-gap: 24px;
    --home-section-gap: 27px;
    --home-font-small: 14px;
    --home-font-body: 16px;
    --home-font-card: 18px;
    --home-font-heading: 32px;
    --home-radius: 4px;
    --home-logo-width: 361px;
    --home-logo-hero-width: 492px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--home-text); background: var(--home-surface); font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; font-size: var(--home-font-body); line-height: 1.5; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; border-radius: 0; }
button:disabled { cursor: default; opacity: 1; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.home-container { width: min(var(--home-container), calc(100% - 48px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; padding: 12px; z-index: 10; background: var(--home-surface); color: var(--home-primary); }
section { scroll-margin-top: 24px; }

.utility-bar { background: #f4f6f8; color: #6d7989; font-size: var(--home-font-small); }
.utility-bar__inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: var(--home-gap); }
.utility-bar__welcome { font-weight: 600; }
.utility-bar__links { display: flex; gap: 14px; align-items: center; }
.utility-bar__link { background: none; padding: 0; color: inherit; font-size: var(--home-font-small); white-space: nowrap; }
.utility-bar__divider { width: 1px; height: 10px; background: #cbd3dc; }
.utility-bar__hotline { display: flex; align-items: center; white-space: nowrap; }
.utility-bar__hotline a { color: var(--home-primary); font: 700 28px/1 "DIN", "Arial", sans-serif; letter-spacing: .2px; }
.utility-bar__login { color: var(--home-surface); background: var(--home-primary); padding: 6px 12px; margin-left: 26px; font-size: var(--home-font-small); min-height: 32px; white-space: nowrap; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--home-surface); }
.site-header__main { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.platform-brand { display: flex; align-items: center; max-width: 100%; color: var(--home-brand); }
.platform-brand__logo { width: var(--home-logo-width); height: auto; object-fit: contain; }
.primary-nav ul { display: flex; gap: 34px; align-items: stretch; }
.primary-nav__link { display: flex; align-items: center; min-height: 86px; padding: 0; border-bottom: 3px solid transparent; padding-top: 3px; color: #314157; background: none; font-size: var(--home-font-body); font-weight: 600; white-space: nowrap; }
.primary-nav__link.is-active { color: var(--home-brand); border-bottom-color: var(--home-primary); }
.primary-nav__link:not(:disabled):hover { color: var(--home-primary); }

.query-hero { color: var(--home-surface); background: #0431b7 var(--hero-background) center / cover no-repeat; }
.query-hero__inner { width: min(720px, calc(100% - 48px)); margin-inline: auto; padding-block: 101px; }
.platform-brand--hero { justify-content: center; }
.platform-brand--hero .platform-brand__logo { width: var(--home-logo-hero-width); }
.query-form { margin-top: 36px; position: relative; }
.query-tabs { display: flex; gap: 20px; margin-bottom: 8px; }
.query-tabs__tab { padding: 0; background: none; border-bottom: 2px solid transparent; color: #7ea5da; font-size: var(--home-font-body); font-weight: 500; line-height: 24px; }
.query-tabs__tab.is-active { color: var(--home-surface); border-bottom-color: var(--home-accent); font-weight: 600; }
.query-form__field { display: flex; align-items: center; min-height: 54px; background: var(--home-surface); }
.query-form__icon { flex-shrink: 0; margin-inline: 22px 16px; color: #929ca9; fill: none; stroke: currentColor; }
.query-form input { width: 0; flex: 1; min-width: 0; border: 0; border-radius: 0; background: transparent; color: var(--home-text); font-size: var(--home-font-body); padding: 12px 8px 12px 0; }
.query-form input::placeholder { color: #b3b7bf; opacity: 1; }
.query-form input:focus { outline-offset: -3px; }
.query-form__submit { align-self: stretch; flex-shrink: 0; width: 112px; padding: 12px; background: var(--home-accent); color: var(--home-surface); font-size: var(--home-font-body); font-weight: 600; letter-spacing: 4px; text-indent: 4px; }
.query-form__submit:hover { background: #efa300; }
.query-form__status { position: absolute; top: calc(100% + 12px); left: 0; right: 0; background: var(--home-surface); color: var(--home-brand); padding: 12px 16px; box-shadow: 0 3px 12px #001f5c26; z-index: 2; font-size: var(--home-font-small); }
.query-form__notice { font-size: var(--home-font-small); padding-top: 8px; }
.query-form__status a, .news-search__status a { color: var(--home-primary); text-decoration: underline; text-underline-offset: 3px; }

.news-section { padding-block: 76px 82px; background: #fcfcfc; }
.news-section--news { background: var(--home-band); padding-top: 64px; }
.news-section--policies { padding-block: 48px 68px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: var(--home-gap); margin-bottom: var(--home-section-gap); }
.section-heading h2 { color: var(--home-primary); font-size: var(--home-font-heading); font-weight: 800; letter-spacing: 1px; line-height: 33px; }
.section-heading__more { display: flex; align-items: center; gap: 6px; padding: 0; color: #778595; background: none; font-size: var(--home-font-body); font-weight: 600; white-space: nowrap; }
.section-heading__more svg { color: var(--home-primary); fill: none; stroke: currentColor; }
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--home-gap); }
.news-card { display: flex; min-width: 0; border: 1px solid var(--home-border); background: var(--home-surface); }
.news-card__link { display: flex; flex: 1; min-width: 0; }
.news-card__media { width: 37.7%; flex-shrink: 0; padding: 9px; }
.news-card__media img { width: 100%; height: 100%; min-height: 190px; object-fit: cover; background: #e6ebef; }
.news-card__body { display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: flex-start; padding: 22px 22px 17px 12px; }
.news-card__tag { background: #eef3ff; color: var(--home-primary); font-size: 12px; line-height: 20px; padding: 3px 8px; font-weight: 600; }
.news-card h3 { font-size: var(--home-font-card); line-height: 1.5; font-weight: 600; margin-top: 9px; }
.news-card__body h3 { transition: color var(--home-transition-duration, 300ms) ease; }
.news-card:hover .news-card__body h3, .news-card:focus-within .news-card__body h3 { color: var(--home-primary); }
.news-card__summary { color: var(--home-muted); font-size: var(--home-font-body); line-height: 1.5; margin-top: 7px; }
.news-card__meta { align-self: stretch; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; margin-top: auto; padding-top: 20px; color: var(--home-faint); font-size: var(--home-font-small); line-height: 21px; }
.news-card__meta time { white-space: nowrap; }
.news-section--policies .news-card h3 { color: var(--home-brand); }
.standards-section { background: var(--home-band); padding-block: 60px 86px; }
.standards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 25px; }
.standard-entry { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 88px; padding: 20px; border: 1px solid var(--home-border); color: #25394e; background: #fafafa; font-size: var(--home-font-card); font-weight: 600; }
.standard-entry:hover { color: var(--home-primary); border-color: #9aafd3; background: var(--home-surface); }

.site-footer { background: var(--home-footer); color: #8fa0b4; }
.site-footer__main { padding-block: 44px 30px; }
.site-footer h2 { font-size: var(--home-font-body); font-weight: 600; color: #d6dee8; line-height: 24px; padding-bottom: 14px; border-bottom: 1px solid #26364a; }
.site-footer__directory { display: flex; align-items: center; gap: 48px; padding-top: 14px; }
.member-groups { display: flex; justify-content: space-between; gap: 24px; flex: 1; }
.member-groups li { font-size: 11px; line-height: 21px; }
.member-groups a { transition: color var(--home-transition-duration, 300ms) ease; }
.member-groups a:hover, .member-groups a:focus-visible { color: var(--home-surface); text-decoration: underline; text-underline-offset: 3px; }
.member-groups a:focus-visible { outline: 2px solid #d6dee8; outline-offset: 3px; }
.footer-codes { display: flex; align-self: flex-start; gap: 48px; padding-top: 47px; padding-right: 50px; }
.footer-codes figure { text-align: center; }
.footer-codes img { width: 70px; height: 70px; border-radius: var(--home-radius); }
.footer-codes figcaption { font-size: 12px; margin-top: 5px; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; min-height: 46px; padding-block: 12px; border-top: 1px solid #1c2c41; color: #71849b; font-size: 10px; }

@media (max-width: 1250px) {
    .site-header__main { flex-wrap: wrap; justify-content: center; gap: 0; padding-top: 12px; }
    .primary-nav__link { min-height: 60px; }
    .news-card__body { padding: 16px 14px 16px 6px; }
    .news-card__meta { flex-wrap: wrap; padding-top: 12px; }
    .member-groups { gap: 20px; }
    .site-footer__directory { gap: var(--home-gap); }
    .footer-codes { gap: var(--home-gap); padding-right: 0; }
}
@media (max-width: 960px) {
    .utility-bar__inner { justify-content: center; padding-block: 8px; }
    .utility-bar__welcome { display: none; }
    .news-grid { grid-template-columns: minmax(0, 1fr); }
    .news-card__media { width: 34%; }
    .news-card__body { padding: 22px; }
    .news-card__meta { flex-wrap: nowrap; }
    .news-section, .standards-section { padding-block: 48px; }
    .site-footer__directory { flex-direction: column; align-items: stretch; }
    .footer-codes { justify-content: center; align-self: stretch; padding-top: 0; }
}
@media (max-width: 600px) {
    :root { --home-gap: 16px; --home-section-gap: 22px; --home-font-heading: 25px; --home-logo-width: 280px; --home-logo-hero-width: 360px; }
    .home-container { width: calc(100% - 32px); }
    .utility-bar__inner { min-height: 44px; }
    .utility-bar__links { gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 12px; }
    .utility-bar__link, .utility-bar__divider { display: none; }
    .utility-bar__link[href] { display: inline; }
    .utility-bar__hotline a { font-size: 22px; }
    .utility-bar__login { margin-left: 8px; font-size: 12px; min-height: 28px; }
    .primary-nav { width: 100%; margin-top: 10px; }
    .primary-nav ul { flex-wrap: wrap; justify-content: center; gap: 0 20px; }
    .primary-nav__link { min-height: 42px; font-size: 14px; }
    .query-hero__inner { width: calc(100% - 32px); padding-block: 60px; }
    .query-tabs { gap: 18px; }
    .query-tabs__tab { font-size: 14px; }
    .query-form__icon { margin-inline: 12px 8px; width: 16px; }
    .query-form input { font-size: 12px; }
    .query-form__submit { width: 68px; font-size: 14px; }
    .query-form__status { font-size: 12px; }
    .news-section, .standards-section { padding-block: 36px; }
    .section-heading__more { font-size: 13px; gap: 3px; }
    .news-card__media { width: 32%; padding: 7px; }
    .news-card__media img { min-height: 156px; }
    .news-card__body { padding: 12px 10px 12px 6px; }
    .news-card__tag { font-size: 10px; padding: 1px 5px; line-height: 18px; }
    .news-card h3 { font-size: 15px; margin-top: 6px; }
    .news-card__summary { font-size: 12px; margin-top: 5px; }
    .news-card__meta { font-size: 10px; flex-wrap: wrap; gap: 2px 8px; line-height: 16px; padding-top: 10px; }
    .standards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .standard-entry { min-height: 72px; padding: 12px; font-size: 14px; }
    .site-footer__main { padding-block: 30px 24px; }
    .site-footer h2 { font-size: 14px; }
    .member-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .site-footer__legal { gap: 6px 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
