:root {
    --color-primary: #0f4c81;
    --color-primary-deep: #0a2f52;
    --color-accent: #c88b2b;
    --color-bg: #f5f7fb;
    --color-surface: #ffffff;
    --color-text: #17324d;
    --color-muted: #5c6f82;
    --color-border: rgba(15, 76, 129, 0.12);
    --shadow-soft: 0 20px 50px rgba(10, 47, 82, 0.08);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

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

img {
    max-width: 100%;
    display: block;
}

img.is-broken-image {
    display: none !important;
}

.image-fallback {
    width: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 18px;
    border: 1px dashed rgba(15, 76, 129, 0.22);
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.05), rgba(15, 76, 129, 0.02));
    color: var(--color-muted);
    font-size: 15px;
    text-align: center;
}

.container {
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(245, 247, 251, 0.82);
    border-bottom: 1px solid rgba(15, 76, 129, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-chip {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #2d78bb);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-text strong,
.brand-text em {
    display: block;
}

.brand-text strong {
    font-size: 16px;
}

.brand-text em {
    font-style: normal;
    color: var(--color-muted);
    font-size: 12px;
    margin-top: 3px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--color-muted);
    font-size: 14px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.header-cta,
.btn-primary,
.btn-secondary,
.list-link,
.page-link {
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.header-cta,
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(200, 139, 43, 0.22);
}

.header-cta:hover,
.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(200, 139, 43, 0.22), transparent 32%),
        linear-gradient(135deg, var(--color-primary-deep), #114f83 55%, #1e6baa);
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(10, 47, 82, 0.14), rgba(10, 47, 82, 0.6)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath d='M0 80h160M80 0v160' stroke='rgba(255,255,255,0.06)'/%3E%3C/svg%3E");
    opacity: 0.95;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
    gap: 36px;
    padding: 100px 0 88px;
}

.hero-eyebrow,
.section-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.72);
}

.hero-copy h1 {
    margin: 18px 0 16px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
}

.hero-copy p {
    margin: 0;
    max-width: 700px;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-panel {
    position: relative;
    z-index: 1;
    padding: 28px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.hero-panel h2 {
    margin-top: 0;
    font-size: 20px;
}

.hero-panel ul {
    margin: 18px 0 0;
    padding-left: 18px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.84);
}

.section-block {
    padding: 72px 0;
}

.section-muted {
    background: linear-gradient(180deg, rgba(15, 76, 129, 0.03), rgba(15, 76, 129, 0.01));
}

.section-head {
    margin-bottom: 28px;
}

.section-head span {
    color: var(--color-accent);
}

.section-head h2 {
    margin: 12px 0 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.metrics-grid,
.service-grid,
.category-grid,
.article-grid,
.footer-grid {
    display: grid;
    gap: 22px;
}

.metrics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -34px;
}

.metric-card,
.service-card,
.category-card,
.article-card,
.list-card,
.sidebar-box {
    border-radius: 22px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.metric-card {
    padding: 24px 26px;
}

.metric-card strong {
    display: block;
    font-size: 34px;
    color: var(--color-primary);
}

.metric-card span {
    display: block;
    margin-top: 8px;
    color: var(--color-muted);
}

.service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.article-card {
    padding: 24px;
}

.service-card h3,
.article-card h3,
.sidebar-box h3 {
    margin-top: 0;
}

.service-card p,
.article-card p,
.sidebar-box p,
.list-card p {
    color: var(--color-muted);
    line-height: 1.8;
}

.category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-card {
    padding: 24px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        radial-gradient(circle at top right, rgba(200, 139, 43, 0.12), transparent 40%),
        var(--color-surface);
}

.category-card strong {
    font-size: 20px;
}

.category-card span {
    color: var(--color-primary);
}

.article-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.article-card h3 {
    font-size: 20px;
    line-height: 1.45;
}

.article-card h3 a:hover,
.list-card h2 a:hover,
.related-link:hover {
    color: var(--color-primary);
}

.article-meta,
.article-head-meta,
.breadcrumbs {
    color: var(--color-muted);
    font-size: 13px;
}

.metrics-section {
    position: relative;
}

.page-banner {
    padding: 72px 0 42px;
    background:
        radial-gradient(circle at right top, rgba(200, 139, 43, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(15, 76, 129, 0.08), rgba(15, 76, 129, 0.02));
}

.page-banner h1 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 4vw, 46px);
}

.page-banner p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.list-layout,
.article-layout {
    display: grid;
    gap: 28px;
}

.list-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 340px);
}

.article-layout {
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 340px);
}

.list-main {
    display: grid;
    gap: 18px;
}

.list-main-wrap {
    min-width: 0;
}

.list-card {
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.list-card-body {
    flex: 1;
}

.list-card h2 {
    margin: 10px 0 10px;
    font-size: 26px;
    line-height: 1.36;
}

.list-link {
    flex-shrink: 0;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}

.list-link:hover,
.page-link:hover,
.category-card:hover,
.service-card:hover,
.article-card:hover,
.list-card:hover,
.sidebar-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 48px rgba(10, 47, 82, 0.11);
}

.sidebar-box {
    padding: 24px;
}

.list-load-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 26px;
}

.list-loading,
.list-end-tip {
    color: var(--color-muted);
    font-size: 14px;
}

.load-more-button {
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 76, 129, 0.18);
}

.load-more-button:hover {
    transform: translateY(-2px);
}

.load-more-button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.list-load-sentinel {
    width: 100%;
    height: 2px;
}

.is-hidden {
    display: none !important;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.page-link {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}

.page-link.is-current {
    background: var(--color-primary);
    color: #fff;
}

.article-main {
    min-width: 0;
}

.article-content {
    padding: 34px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    line-height: 1.9;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--color-primary-deep);
}

.article-content img {
    border-radius: 16px;
    margin: 18px auto;
}

.article-content .image-fallback {
    margin: 18px auto;
}

.article-head-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.related-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(15, 76, 129, 0.12);
    line-height: 1.6;
}

.site-footer {
    padding: 46px 0 52px;
    background: var(--color-primary-deep);
    color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.error-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-card {
    width: min(720px, 100%);
    padding: 40px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.error-card h1 {
    margin: 0 0 14px;
    font-size: 40px;
    color: var(--color-primary-deep);
}

.error-card p {
    margin: 0 auto 24px;
    max-width: 520px;
    color: var(--color-muted);
    line-height: 1.8;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .service-grid,
    .article-grid,
    .category-grid,
    .metrics-grid,
    .footer-grid,
    .hero-grid,
    .list-layout,
    .article-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid,
    .list-layout,
    .article-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 0;
    }

    .site-nav {
        gap: 12px;
    }

    .metrics-grid,
    .service-grid,
    .article-grid,
    .category-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding: 76px 0 64px;
    }

    .list-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-content {
        padding: 24px;
    }
}
