*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #f3f6fa;
    --white: #ffffff;
    --text: #1d2736;
    --muted: #6b7788;
    --line: #d9e2ec;
    --primary: #1b4f8a;
    --primary-dark: #123d69;
    --accent: #b88b4a;
    --soft: #eef3f8;
    --shadow: 0 16px 40px rgba(12, 32, 61, 0.08);
    --radius: 18px;
    --radius-lg: 26px;
    --container: 1200px;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

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

a {
    color: var(--text);
    text-decoration: none;
    transition: all .25s ease;
}

a:hover {
    color: var(--primary);
}

input,
button,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.page-shell {
    min-height: 40vh;
}

.topbar {
    background: #102b47;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 42px;
}

.divider {
    opacity: .45;
    margin: 0 8px;
}

.header-main {
    display: grid;
    grid-template-columns: 280px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.brand-text strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    color: #102b47;
}

.brand-text p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    grid-column: 2 / 4;
}

.site-nav {
    flex: 1;
    min-width: 0;
}

.nav-scroll {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-scroll a {
    padding: 11px 16px;
    border-radius: 999px;
    font-size: 15px;
    color: #203247;
    background: transparent;
}

.nav-scroll a:hover,
.nav-scroll a.active,
.nav-home {
    background: #edf4fb;
    color: var(--primary);
}

.site-search {
    display: flex;
    align-items: stretch;
    min-width: 300px;
    max-width: 360px;
    background: #f4f7fb;
    border: 1px solid #dbe5f0;
    border-radius: 999px;
    overflow: hidden;
}

.site-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0 16px;
    height: 46px;
    outline: none;
}

.site-search button {
    padding: 0 18px;
    min-width: 84px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.menu-toggle,
.mobile-nav-mask {
    display: none;
}

.hero-section {
    padding: 24px 0 8px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 360px;
    gap: 24px;
    align-items: stretch;
}

.hero-main,
.hero-side-card,
.list-card,
.product-card,
.faq-item,
.sidebar-box,
.article-header-card,
.article-content,
.about-panel,
.list-head-card,
.search-empty,
.related-card,
.feature-card {
    background: var(--white);
    border: 1px solid rgba(219, 229, 240, .9);
    box-shadow: var(--shadow);
}

.hero-main {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.hero-slider {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 500px;
}

.hero-slide.active {
    display: block;
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    background:
        linear-gradient(180deg, rgba(10,26,46,.08) 0%, rgba(10,26,46,.85) 100%);
    color: #fff;
}

.hero-tag {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    font-size: 13px;
    letter-spacing: .08em;
}

.hero-overlay h1,
.hero-overlay h2 {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.25;
    color: #fff;
}

.hero-desc {
    max-width: 680px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.88);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
    background: #a77937;
}

.btn-outline {
    border-color: rgba(255,255,255,.4);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.btn-small {
    min-height: 40px;
    padding: 0 16px;
    background: #edf4fb;
    color: var(--primary);
    border-radius: 12px;
}

.hero-dots {
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.38);
}

.hero-dots button.active {
    width: 28px;
    border-radius: 999px;
    background: #fff;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-side-card {
    border-radius: 24px;
    padding: 24px;
}

.hero-side-card h2 {
    margin: 0 0 14px;
    font-size: 22px;
    color: #102b47;
}

.hero-side-card p {
    margin: 0;
    color: var(--muted);
}

.hero-meta {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 14px;
}

.hero-meta li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--soft);
    border-radius: 14px;
}

.hero-meta span {
    color: var(--muted);
}

.hero-meta strong {
    text-align: right;
    color: #102b47;
    word-break: break-word;
}

.quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.quick-links a {
    display: block;
    padding: 12px 14px;
    background: #f7f9fc;
    border: 1px solid #e0e8f1;
    border-radius: 14px;
    color: #203247;
    text-align: center;
}

.section {
    padding: 36px 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.centered-head {
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.section-en {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.section-head h2,
.centered-head h2,
.faq-head h2,
.sidebar-title h2,
.panel-head h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
    color: #102b47;
}

.section-more,
.text-link {
    color: var(--primary);
    font-weight: 700;
}

.news-layout {
    display: block;
}

.feature-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    border-radius: 28px;
    overflow: hidden;
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.feature-body {
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-date {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent);
    font-weight: 700;
}

.feature-body h3 {
    margin: 0 0 14px;
    font-size: 30px;
    line-height: 1.35;
}

.feature-body p {
    margin: 0 0 18px;
    color: var(--muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    border-radius: 22px;
    overflow: hidden;
}

.product-thumb img,
.list-thumb img,
.related-thumb img,
.mini-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.product-body {
    padding: 20px;
}

.product-category,
.meta-link {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf4fb;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.product-body h3,
.list-body h3,
.related-body h3,
.mini-body h3 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-body p,
.list-body p,
.faq-content p {
    margin: 0 0 16px;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faq-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
}

.faq-head {
    padding: 28px;
    background: linear-gradient(180deg, #123d69 0%, #1b4f8a 100%);
    border-radius: 28px;
    color: #fff;
    box-shadow: var(--shadow);
}

.faq-head h2,
.faq-head p,
.faq-head .section-en {
    color: #fff;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    border-radius: 20px;
    padding: 22px;
    display: grid;
    grid-template-columns: 72px 1fr 40px;
    gap: 16px;
    align-items: center;
}

.faq-index {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf4fb;
    color: var(--primary);
    font-weight: 800;
    font-size: 22px;
}

.faq-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.5;
}

.faq-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f7fb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.page-banner {
    padding: 26px 0 0;
}

.inner-banner-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding: 36px 40px;
    background: linear-gradient(135deg, #102b47 0%, #1b4f8a 70%, #476f98 100%);
    border-radius: 30px;
    color: #fff;
    box-shadow: var(--shadow);
}

.inner-banner-inner h1 {
    margin: 0;
    font-size: 38px;
    color: #fff;
    word-break: break-word;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255,255,255,.86);
    justify-content: flex-end;
}

.crumbs a,
.crumbs span {
    color: inherit;
    word-break: break-word;
}

.content-section {
    padding: 28px 0 44px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}

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

.side-column {
    min-width: 0;
}

.list-head-card,
.article-header-card,
.article-content,
.sidebar-box,
.about-panel,
.search-empty {
    border-radius: 22px;
    padding: 24px;
}

.list-head-card p,
.search-empty p,
.about-panel p {
    margin: 10px 0 0;
    color: var(--muted);
}

.list-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.list-card {
    border-radius: 22px;
    overflow: hidden;
}

.list-body {
    padding: 20px;
}

.list-meta,
.article-meta,
.footer-bottom-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.list-meta {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
}

.list-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

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

.page-num {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dbe5f0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.page-num:hover {
    background: #edf4fb;
}

.sidebar-box + .sidebar-box {
    margin-top: 20px;
}

.sidebar-title {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e6edf5;
}

.sidebar-list {
    display: grid;
    gap: 14px;
}

.mini-post {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 12px;
    align-items: start;
}

.mini-thumb {
    overflow: hidden;
    border-radius: 14px;
}

.mini-thumb img {
    height: 72px;
}

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

.sidebar-link-list,
.footer-list,
.seo-info {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-link-list li + li,
.footer-list li + li,
.seo-info li + li {
    margin-top: 12px;
}

.sidebar-link-list a {
    display: block;
    padding: 12px 14px;
    background: #f7f9fc;
    border: 1px solid #e4ecf3;
    border-radius: 14px;
}

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

.article-header-card h2 {
    margin: 0 0 14px;
    font-size: 34px;
    line-height: 1.4;
    word-break: break-word;
}

.article-meta {
    color: var(--muted);
    font-size: 14px;
}

.article-content {
    margin-top: 20px;
    overflow: hidden;
}

.article-content img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.article-content * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.related-section {
    margin-top: 28px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.related-card {
    border-radius: 20px;
    overflow: hidden;
}

.related-body {
    padding: 16px;
}

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

.about-main {
    display: grid;
    gap: 20px;
}

.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6edf5;
}

.panel-head span {
    color: var(--muted);
    font-size: 14px;
    word-break: break-all;
}

.contact-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-card {
    padding: 20px;
    border-radius: 18px;
    background: #f7f9fc;
    border: 1px solid #e4ecf3;
}

.contact-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #102b47;
}

.contact-card p {
    margin: 0;
    word-break: break-word;
}

.site-footer {
    margin-top: 24px;
    background: #102b47;
    color: rgba(255,255,255,.84);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
    padding: 42px 0;
}

.footer-card {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: rgba(255,255,255,.04);
}

.footer-card h2,
.footer-card h3 {
    margin: 0 0 14px;
    color: #fff;
}

.footer-card p,
.footer-list li,
.footer-list a {
    color: rgba(255,255,255,.78);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-bottom-inner {
    min-height: 62px;
    justify-content: space-between;
}

.footer-bottom p,
.footer-bottom a {
    margin: 0;
    color: rgba(255,255,255,.72);
}

.search-empty {
    margin-top: 20px;
    border: 1px dashed #d6e2ee;
    background: #f9fbfd;
}

@media (max-width: 1100px) {
    .header-main {
        grid-template-columns: 240px 1fr auto;
    }

    .header-right {
        gap: 14px;
    }

    .site-search {
        min-width: 250px;
    }

    .hero-grid,
    .faq-wrap,
    .content-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-side {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .content-grid .side-column {
        order: 2;
    }

    .content-grid .main-column {
        order: 1;
    }
}

@media (max-width: 860px) {
    .topbar {
        display: none;
    }

    .site-header {
        position: relative;
    }

    .header-main {
        grid-template-columns: 1fr auto;
        gap: 14px;
        padding: 16px 0;
    }

    .header-right {
        grid-column: 1 / -1;
        display: block;
    }

    .menu-toggle {
        display: inline-flex;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        align-items: center;
        justify-content: center;
        background: #edf4fb;
        position: relative;
        z-index: 61;
    }

    .menu-toggle span {
        position: absolute;
        width: 20px;
        height: 2px;
        background: #102b47;
        transition: .25s ease;
    }

    .menu-toggle span:nth-child(1) { transform: translateY(-6px); }
    .menu-toggle span:nth-child(2) { transform: translateY(0); }
    .menu-toggle span:nth-child(3) { transform: translateY(6px); }

    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }

    .site-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(82vw, 340px);
        height: 100vh;
        background: #fff;
        z-index: 60;
        padding: 88px 18px 24px;
        box-shadow: -10px 0 30px rgba(15,23,42,.12);
        transition: right .28s ease;
        overflow-y: auto;
    }

    body.menu-open .site-nav {
        right: 0;
    }

    .nav-scroll {
        display: grid;
        gap: 8px;
    }

    .nav-scroll a {
        border-radius: 14px;
        padding: 14px 16px;
        background: #f7f9fc;
    }

    .mobile-nav-mask {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 18, 32, .42);
        opacity: 0;
        visibility: hidden;
        transition: .25s ease;
        z-index: 55;
    }

    body.menu-open .mobile-nav-mask {
        opacity: 1;
        visibility: visible;
    }

    .site-search {
        width: 100%;
        min-width: 0;
        max-width: none;
        margin-top: 14px;
    }

    .hero-slider,
    .hero-slide,
    .hero-image {
        min-height: 420px;
        height: 420px;
    }

    .hero-overlay {
        padding: 28px 22px;
    }

    .hero-overlay h1,
    .hero-overlay h2,
    .inner-banner-inner h1,
    .article-header-card h2 {
        font-size: 28px;
    }

    .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-thumb img {
        min-height: 240px;
    }

    .feature-body {
        padding: 22px;
    }

    .list-card-grid,
    .product-grid,
    .related-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .faq-item {
        grid-template-columns: 56px 1fr 34px;
        padding: 18px;
    }

    .faq-index {
        width: 56px;
        height: 56px;
        font-size: 18px;
        border-radius: 16px;
    }

    .inner-banner-inner {
        padding: 28px 22px;
        flex-direction: column;
        align-items: start;
    }

    .crumbs {
        justify-content: flex-start;
    }

    .section-head h2,
    .centered-head h2,
    .faq-head h2,
    .sidebar-title h2,
    .panel-head h2 {
        font-size: 24px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container {
        width: min(100% - 24px, var(--container));
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

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

    .brand-text p {
        font-size: 12px;
    }

    .hero-slider,
    .hero-slide,
    .hero-image {
        min-height: 360px;
        height: 360px;
    }

    .hero-overlay h1,
    .hero-overlay h2,
    .inner-banner-inner h1,
    .article-header-card h2 {
        font-size: 24px;
    }

    .hero-side {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .faq-wrap {
        gap: 18px;
    }

    .faq-head,
    .hero-side-card,
    .sidebar-box,
    .article-header-card,
    .article-content,
    .about-panel,
    .list-head-card,
    .search-empty {
        padding: 20px;
        border-radius: 20px;
    }

    .list-body,
    .product-body,
    .related-body {
        padding: 16px;
    }

    .mini-post {
        grid-template-columns: 80px 1fr;
    }

    .mini-thumb img {
        height: 64px;
    }

    .footer-grid {
        padding: 28px 0;
        gap: 16px;
    }

    .footer-card {
        padding: 20px;
    }

    .footer-bottom-inner {
        min-height: auto;
        padding: 16px 0;
    }
}