:root {
    --navy: #17324f;
    --navy-light: #1f4b73;
    --gold: #b4894b;
    --bg: #f6f7f9;
    --text: #2f3a44;
    --muted: #6b7680;
    --border: #e6e8ec;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.75;
}

a {
    color: var(--navy);
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    color: var(--navy);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand span {
    color: var(--gold);
    margin-left: 2px;
}

.main-nav {
    display: flex;
    gap: 28px;
}

.main-nav a {
    padding: 6px 0;
    color: #33475b;
    font-size: 15px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy);
    border-bottom-color: var(--gold);
}

.hero {
    padding: 88px 0 84px;
    color: var(--white);
    background: linear-gradient(135deg, #102842 0%, #1c476d 60%, #2a5b86 100%);
}

.hero h1 {
    max-width: 760px;
    margin: 14px 0 20px;
    font-size: 42px;
    line-height: 1.35;
}

.hero-kicker {
    margin: 0;
    color: #d9c8a5;
    font-size: 14px;
    letter-spacing: 3px;
}

.hero-text {
    max-width: 680px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .88);
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: var(--white);
    background: var(--navy);
}

.btn-primary:hover {
    background: var(--navy-light);
}

.btn-light {
    color: var(--navy);
    background: var(--white);
}

.btn-light:hover {
    background: #eef2f6;
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, .65);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
}

.section {
    padding: 72px 0;
}

.section-light {
    background: var(--bg);
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.section-heading h2 {
    margin: 4px 0 0;
    color: var(--navy);
    font-size: 28px;
}

.eyebrow {
    display: block;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}

.text-link {
    color: var(--navy-light);
    font-weight: 600;
}

.text-link:hover {
    color: var(--gold);
}

.about-preview {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 30px;
    background: var(--bg);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    flex-wrap: wrap;
}

.about-photo {
    flex: 0 0 250px;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(23, 50, 79, .16);
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-copy {
    flex: 1 1 360px;
    min-width: 0;
}

.about-preview p {
    max-width: 680px;
    margin: 0 0 18px;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 22px;
}

.feature-card {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(23, 50, 79, .05);
}

.feature-card h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 18px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.article-list {
    display: grid;
    gap: 22px;
}

.article-card {
    display: block;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(23, 50, 79, .05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(23, 50, 79, .12);
}

.article-card-body {
    padding: 24px;
}

.article-card h3 {
    margin: 12px 0 8px;
    color: var(--navy);
    font-size: 19px;
    line-height: 1.5;
}

.article-card h2 {
    margin: 10px 0 8px;
    color: var(--navy);
    font-size: 22px;
}

.article-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    color: var(--navy);
    background: #edf2f7;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.cta-band {
    padding: 64px 0;
    color: var(--white);
    text-align: center;
    background: var(--navy);
}

.cta-band h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.cta-band p {
    margin: 0 auto 26px;
    max-width: 640px;
    color: rgba(255, 255, 255, .8);
}

.site-footer {
    padding: 28px 0;
    color: #aeb9c4;
    background: #10263d;
    font-size: 13px;
}

.site-footer p {
    margin: 4px 0;
}

.footer-muted {
    color: #6f8497;
}

.page-head {
    padding: 58px 0 46px;
    color: var(--white);
    background: linear-gradient(135deg, #14304c 0%, #1d4a72 100%);
}

.page-head h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.page-head p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.content-narrow {
    max-width: 820px;
}

.content-narrow h2 {
    margin: 34px 0 12px;
    color: var(--navy);
    font-size: 22px;
}

.content-narrow blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    color: var(--navy);
    background: var(--bg);
    border-left: 4px solid var(--gold);
    font-size: 16px;
}

.note-box {
    margin-top: 42px;
    padding: 26px 30px;
    background: #fbf7ef;
    border: 1px solid #eadfc9;
    border-radius: 10px;
}

.note-box h3 {
    margin: 0 0 8px;
    color: #7a5a26;
}

.note-box p {
    margin: 0;
    color: #5d5a51;
    font-size: 14px;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.contact-grid {
    margin-bottom: 10px;
}

.empty-tip {
    color: var(--muted);
}

.post-head {
    padding: 58px 0 42px;
    color: var(--white);
    background: linear-gradient(135deg, #14304c 0%, #1d4a72 100%);
}

.post-head .article-meta {
    color: rgba(255, 255, 255, .75);
}

.post-head .badge {
    color: var(--navy);
}

.post-head h1 {
    max-width: 840px;
    margin: 18px 0 14px;
    font-size: 34px;
    line-height: 1.45;
}

.post-excerpt {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 16px;
}

.post-cover {
    display: block;
    width: 100%;
    max-height: 420px;
    margin: -70px auto 0;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(23, 50, 79, .18);
}

.post-content {
    max-width: 840px;
    margin: 42px auto 0;
    font-size: 16px;
}

.post-content h2 {
    margin: 36px 0 12px;
    color: var(--navy);
    font-size: 24px;
}

.post-content h3 {
    margin: 28px 0 10px;
    color: var(--navy);
    font-size: 20px;
}

.post-content p {
    margin: 0 0 18px;
}

.post-content ul,
.post-content ol {
    margin: 0 0 18px;
    padding-left: 26px;
}

.post-footer {
    max-width: 840px;
    margin: 60px auto 80px;
    padding: 28px 30px;
    text-align: center;
    background: var(--bg);
    border-radius: 10px;
}

.post-footer p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
    list-style: none;
}

.pagination .page-item.disabled span,
.pagination .page-item.active span,
.pagination .page-link {
    display: inline-block;
    min-width: 36px;
    padding: 7px 12px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-align: center;
}

.pagination .page-item.active span {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

@media (max-width: 760px) {
    .header-inner {
        height: auto;
        padding: 14px 0;
        gap: 10px;
        flex-direction: column;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        overflow-x: auto;
    }

    .main-nav a {
        font-size: 14px;
        white-space: nowrap;
    }

    .hero {
        padding: 56px 0;
    }

    .hero h1 {
        font-size: 30px;
    }

    .about-preview {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .about-photo {
        width: 100%;
        max-width: 280px;
    }

    .about-copy {
        flex-basis: auto;
    }

    .post-cover {
        margin-top: -28px;
    }
}
