:root {
    --h5-bg: #f4f7fb;
    --h5-surface: #ffffff;
    --h5-surface-2: #eef2f8;
    --h5-primary: #0e0e0e;
    --h5-primary-soft: rgba(201, 31, 46, 0.08);
    --h5-blue: #0e4d8c;
    --h5-text: #162234;
    --h5-text-soft: #617286;
    --h5-line: rgba(22, 34, 52, 0.08);
    --h5-shadow: 0 18px 42px rgba(16, 35, 70, 0.08);
    --h5-radius-xl: 28px;
    --h5-radius-lg: 22px;
    --h5-radius-md: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top right, rgba(14, 77, 140, 0.12), transparent 24%),
        radial-gradient(circle at top left, rgba(201, 31, 46, 0.12), transparent 26%),
        var(--h5-bg);
    color: var(--h5-text);
    font: 14px/1.6 "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

[v-cloak] {
    display: none;
}

.h5-page {
    min-height: 100vh;
}

.h5-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 44px 1fr 52px;
    align-items: center;
    gap: 8px;
    padding: calc(10px + env(safe-area-inset-top)) 14px 12px;
    background: rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(22, 34, 52, 0.05);
}

.h5-topbar__back,
.h5-topbar__home {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 14px;
    background: var(--h5-surface);
    box-shadow: 0 10px 24px rgba(16, 35, 70, 0.08);
    color: var(--h5-text);
}

.h5-topbar__back span {
    font-size: 26px;
    line-height: 1;
}

.h5-topbar__home {
    width: 52px;
    font-size: 13px;
    font-weight: 700;
}

.h5-topbar__title {
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h5-main {
    display: grid;
    gap: 16px;
    padding: 14px 14px 28px;
}

.h5-hero-card,
.h5-card,
.h5-panel,
.h5-static-card {
    background: var(--h5-surface);
    border-radius: var(--h5-radius-lg);
    box-shadow: var(--h5-shadow);
}

.h5-hero-card {
    position: relative;
    overflow: hidden;
    padding: 22px 18px;
    color: #fff;
    background: linear-gradient(135deg, #bf1a29 0%, #0e4d8c 100%);
}

.h5-hero-card::before {
    content: "";
    position: absolute;
    top: -48px;
    right: -24px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.h5-hero-card > * {
    position: relative;
    z-index: 1;
}

.h5-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.h5-hero-card h1,
.h5-hero-card h2,
.h5-section-head h2,
.h5-static-card h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
}

.h5-hero-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.h5-searchbar {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.h5-searchbar input,
.h5-searchbar button,
.h5-field,
.h5-select {
    height: 46px;
    border: 0;
    border-radius: 14px;
}

.h5-searchbar input,
.h5-field,
.h5-select {
    width: 100%;
    min-width: 0;
    padding: 0 14px;
    background: #fff;
    color: var(--h5-text);
}

.h5-searchbar button,
.h5-button {
    flex: 0 0 auto;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: var(--h5-primary);
    color: #faf7f7;
    font-weight: 700;
    height: 2rem;
}

.h5-button--ghost {
    background: var(--h5-primary-soft);
    color: var(--h5-primary);
}

.h5-panel,
.h5-static-card {
    padding: 18px 16px;
}

.h5-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.h5-section-head h2 {
    font-size: 22px;
}

.h5-section-head p {
    margin: 0 0 6px;
    color: var(--h5-text-soft);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.h5-section-link {
    color: var(--h5-blue);
    font-weight: 700;
    font-size: 14px;
}

.h5-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: var(--h5-text-soft);
    font-size: 13px;
    height: 2rem;
}

.h5-meta strong {
    color: var(--h5-text);
}

.h5-chip-row {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.h5-chip-row::-webkit-scrollbar,
.h5-card-strip::-webkit-scrollbar {
    display: none;
}

.h5-chip,
.h5-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(22, 34, 52, 0.06);
    color: var(--h5-text-soft);
    font-weight: 700;
    white-space: nowrap;
}

.h5-chip.is-active,
.h5-tag.is-active {
    background: var(--h5-primary-soft);
    color: var(--h5-primary);
    border-color: rgba(201, 31, 46, 0.14);
}

.h5-list {
    display: grid;
    gap: 10px;
}

.h5-list-item {
    display: grid;
    gap: 6px;
    padding: 14px 0;
    border-bottom: 1px solid var(--h5-line);
}

.h5-list-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.h5-list-item:first-child {
    padding-top: 0;
}

.h5-list-item__title {
    font-size: 15px;
    line-height: 1.5;
    color: var(--h5-text);
}

.h5-list-item__summary {
    color: var(--h5-text-soft);
    font-size: 13px;
    line-height: 1.55;
}

.h5-card-strip {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 82%);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.h5-content-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    background: var(--h5-surface);
    box-shadow: var(--h5-shadow);
}

.h5-cover {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--h5-surface-2);
    aspect-ratio: 16 / 10;
}

.h5-cover img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
}

.h5-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(22, 34, 52, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.h5-badge--live {
    background: var(--h5-primary);
}

.h5-card-title {
    font-size: 17px;
    line-height: 1.45;
}

.h5-article-header {
    display: grid;
    gap: 12px;
}

.h5-article-header h1 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.h5-article-summary {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--h5-surface-2);
    color: var(--h5-text-soft);
}

.h5-article-content {
    color: var(--h5-text);
    font-size: 16px;
    line-height: 1.85;
    word-break: break-word;
}

.h5-article-content img,
.h5-article-content table {
    max-width: 100% !important;
    height: auto !important;
}

.h5-article-content p {
    margin: 0 0 18px;
}

.h5-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.h5-link-card {
    display: grid;
    gap: 8px;
    min-height: 118px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(14, 77, 140, 0.08), rgba(201, 31, 46, 0.08));
    border: 1px solid rgba(14, 77, 140, 0.08);
}

.h5-link-card strong {
    font-size: 16px;
    line-height: 1.4;
}

.h5-link-card small {
    color: var(--h5-text-soft);
}

.h5-table-wrap {
    overflow-x: auto;
}

.h5-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 14px;
}

.h5-table th,
.h5-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--h5-line);
    text-align: left;
    vertical-align: top;
}

.h5-table th {
    color: var(--h5-text);
    background: var(--h5-surface-2);
    font-weight: 700;
}

.h5-empty {
    padding: 28px 16px;
    text-align: center;
    color: var(--h5-text-soft);
}

.h5-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.h5-pagination a,
.h5-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    background: var(--h5-surface);
    color: var(--h5-text);
    box-shadow: 0 10px 24px rgba(16, 35, 70, 0.08);
}

.h5-note {
    color: var(--h5-text-soft);
    font-size: 13px;
}

.h5-contact-grid {
    display: grid;
    gap: 12px;
}

.h5-contact-card {
    padding: 16px;
    border-radius: 20px;
    background: var(--h5-surface);
    box-shadow: var(--h5-shadow);
}

.h5-contact-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.h5-contact-card p {
    margin: 0 0 8px;
    color: var(--h5-text-soft);
}

.h5-toc {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.h5-toc li {
    list-style: none;
}

.h5-toc a {
    display: block;
    padding: 8px 0;
    color: var(--h5-blue);
    line-height: 1.45;
}

.h5-toc .h5-toc {
    padding-left: 14px;
    border-left: 1px solid var(--h5-line);
}

.h5-sections {
    display: grid;
    gap: 20px;
}

.h5-section-anchor {
    scroll-margin-top: 88px;
}

.h5-section-anchor h2,
.h5-section-anchor h3,
.h5-section-anchor h4 {
    margin: 0 0 12px;
    line-height: 1.4;
}

.h5-static-card p {
    margin: 15px 0 14px;
    color: var(--h5-text);
}

.h5-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

@media (min-width: 768px) {
    .h5-main {
        max-width: 900px;
        margin: 0 auto;
        padding-right: 24px;
        padding-left: 24px;
    }

    .h5-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .h5-contact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .h5-article-header h1 {
        font-size: 34px;
    }
}

@media (max-width: 420px) {
    .h5-topbar {
        grid-template-columns: 44px 1fr 48px;
    }

    .h5-topbar__title {
        font-size: 17px;
    }

    .h5-hero-card h1,
    .h5-hero-card h2,
    .h5-section-head h2,
    .h5-static-card h2,
    .h5-article-header h1 {
        font-size: 20px;
    }

    .h5-grid {
        grid-template-columns: 1fr;
    }

    .h5-searchbar {
        flex-direction: column;
    }

    .h5-searchbar button,
    .h5-button {
        width: 37%;
    }
}
