/* ========================================
   Design System — 深青 + 琥珀橙 官网风格
   ======================================== */
:root {
    --c-primary: #1a3c5e;
    --c-primary-dark: #122a42;
    --c-accent: #d4820a;
    --c-accent-light: #f0a030;
    --c-teal: #2a7d8c;
    --c-bg: #f4f6f9;
    --c-surface: #ffffff;
    --c-text: #2d3748;
    --c-text-muted: #718096;
    --c-border: #dde3ea;
    --c-border-light: #edf0f4;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 2px 8px rgba(26, 60, 94, 0.07);
    --shadow-md: 0 4px 16px rgba(26, 60, 94, 0.1);
    --header-h: 64px;
    --container: 1140px;
    --gap: 24px;
    --sec-py: 64px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--c-teal);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--c-accent);
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 16px;
}

.site-brand {
    flex-shrink: 0;
    max-width: 200px;
}

.brand-link {
    font-size: 17px;
    font-weight: 700;
    color: var(--c-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.brand-link:hover {
    color: var(--c-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--c-primary);
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
    overflow: hidden;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.nav-item a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--c-text);
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-item a:hover,
.nav-item.is-active a,
.nav-item.z832eathis a {
    color: var(--c-accent);
    background: rgba(212, 130, 10, 0.08);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

.btn-primary:hover {
    background: var(--c-accent-light);
    border-color: var(--c-accent-light);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn-outline:hover {
    background: var(--c-primary);
    color: #fff;
}

/* ===== Section common ===== */
.sec-block {
    padding: var(--sec-py) 0;
}

.sec-alt {
    background: var(--c-surface);
}

.sec-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--gap);
}

.sec-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--c-teal);
    margin-bottom: 8px;
}

.sec-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1.35;
    margin-bottom: 12px;
}

.sec-desc {
    font-size: 15px;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ===== Hero ===== */
.home-main {
    padding-top: var(--header-h);
}

.sec-hero {
    background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 60%, var(--c-teal) 100%);
    color: #fff;
    padding: 72px 0 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.hero-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-text strong {
    color: var(--c-accent-light);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-panel-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
}

.hero-panel-item strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--c-accent-light);
    margin-bottom: 4px;
}

.hero-panel-item span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== Cards ===== */
.card-row {
    display: grid;
    gap: var(--gap);
}

.card-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-row-2 {
    grid-template-columns: repeat(2, 1fr);
}

.info-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.sec-alt .info-card {
    background: var(--c-bg);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--c-teal);
}

.info-card-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--c-accent);
    opacity: 0.5;
    margin-bottom: 12px;
    line-height: 1;
}

.info-card h3 {
    font-size: 17px;
    color: var(--c-primary);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.7;
}

.info-card-h {
    min-height: auto;
}

/* ===== Split layout ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.split-content h3 {
    font-size: 20px;
    color: var(--c-primary);
    margin-bottom: 16px;
}

.split-content p {
    font-size: 14px;
    color: var(--c-text-muted);
    margin-bottom: 12px;
    line-height: 1.8;
}

.split-content p strong {
    color: var(--c-text);
}

.check-list {
    list-style: none;
    margin-top: 16px;
}

.check-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border-light);
}

.check-list li:last-child {
    border-bottom: none;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--c-accent);
    border-radius: 50%;
}

.stat-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-box-item {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
}

.stat-box-item b {
    display: block;
    font-size: 22px;
    color: var(--c-accent);
    margin-bottom: 4px;
}

.stat-box-item span {
    font-size: 12px;
    color: var(--c-text-muted);
}

/* ===== Feature list ===== */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: border-color 0.2s;
}

.feature-item:hover {
    border-color: var(--c-teal);
}

.feature-item-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--c-teal), var(--c-primary));
    border-radius: var(--radius);
}

.feature-item-body h3 {
    font-size: 16px;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.feature-item-body p {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ===== Steps ===== */
.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.step-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    position: relative;
}

.sec-alt .step-item {
    background: var(--c-bg);
}

.step-num {
    width: 36px;
    height: 36px;
    line-height: 36px;
    background: var(--c-accent);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.step-item h3 {
    font-size: 15px;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.step-item p {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ===== Knowledge ===== */
.knowledge-box {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.sec-alt .knowledge-box {
    background: var(--c-bg);
}

.knowledge-box > h3 {
    font-size: 18px;
    color: var(--c-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--c-accent);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.knowledge-item {
    padding: 16px;
    background: var(--c-surface);
    border: 1px solid var(--c-border-light);
    border-radius: var(--radius);
}

.sec-alt .knowledge-item {
    background: var(--c-surface);
}

.knowledge-item h4 {
    font-size: 14px;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.knowledge-item p {
    font-size: 13px;
    color: var(--c-text-muted);
    line-height: 1.7;
}

/* ===== Contact ===== */
.contact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.contact-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-card:hover {
    border-color: var(--c-accent);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    font-size: 16px;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 13px;
    color: var(--c-text-muted);
}

/* ===== Homepage articles ===== */
.home-article-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.home-article-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.home-article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.home-article-thumb {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--c-border-light);
}

.home-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.home-article-card:hover .home-article-thumb img {
    transform: scale(1.04);
}

.home-article-info {
    padding: 12px;
}

.home-article-info h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-article-info h3 a {
    color: var(--c-text);
}

.home-article-info h3 a:hover {
    color: var(--c-accent);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--c-primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 40px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.footer-title {
    font-size: 15px;
    color: #fff;
    margin-bottom: 12px;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
}

.footer-link-list a:hover {
    color: var(--c-accent-light);
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer-copy p {
    font-size: 13px;
    margin: 4px 0;
}

.footer-copy a {
    color: var(--c-accent-light);
}

.footer-copy a:hover {
    color: #fff;
}

/* ========================================
   List & Article pages
   ======================================== */
.page-main {
    padding-top: var(--header-h);
    min-height: calc(100vh - var(--header-h));
}

.page-banner {
    background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
    color: #fff;
    padding: 32px 0;
    margin-bottom: 32px;
}

.page-banner h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
    word-break: break-word;
}

.breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
    color: var(--c-accent-light);
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb .sep {
    margin: 0 6px;
    opacity: 0.5;
}

.page-layout {
    display: flex;
    gap: 28px;
    padding-bottom: 48px;
    align-items: flex-start;
}

.page-content {
    flex: 1;
    min-width: 0;
}

/* ===== Sidebar ===== */
.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-block {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sidebar-block-header {
    padding: 14px 18px;
    background: var(--c-primary);
    color: #fff;
}

.sidebar-block-header h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.sidebar-article-list {
    list-style: none;
    max-height: 640px;
    overflow-y: auto;
}

.sidebar-article-list li {
    border-bottom: 1px solid var(--c-border-light);
}

.sidebar-article-list li:last-child {
    border-bottom: none;
}

.sidebar-article-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--c-text);
    transition: background 0.15s;
}

.sidebar-article-list a:hover {
    background: var(--c-bg);
    color: var(--c-accent);
}

.sidebar-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 54px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--c-border-light);
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-title {
    flex: 1;
    font-size: 13px;
    line-height: 1.45;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* ===== List page ===== */
.article-list {
    list-style: none;
}

.article-list-item {
    display: flex;
    gap: 20px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    transition: box-shadow 0.2s;
    overflow: hidden;
}

.article-list-item:hover {
    box-shadow: var(--shadow-md);
}

.article-list-thumb {
    flex-shrink: 0;
    width: 200px;
    height: 134px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-border-light);
}

.article-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-list-body {
    flex: 1;
    min-width: 0;
}

.article-list-title {
    font-size: 17px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-list-title a {
    color: var(--c-primary);
}

.article-list-title a:hover {
    color: var(--c-accent);
}

.article-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--c-text-muted);
    margin-bottom: 8px;
}

.article-list-meta a {
    color: var(--c-teal);
}

.article-list-meta small {
    color: #a0aec0;
}

.article-list-intro {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.6;
}

/* ===== Pagination ===== */
.pagebar {
    margin-top: 8px;
}

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 14px 18px;
}

.pagination-left,
.pagination-right {
    flex-shrink: 0;
}

.pagination-left a,
.pagination-right a,
.pagination-left span,
.pagination-right span {
    font-size: 13px;
    color: var(--c-text);
    padding: 6px 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    display: inline-block;
    transition: all 0.2s;
}

.pagination-left a:hover,
.pagination-right a:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.pagination-center {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

.pagelist {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.pagelist li,
.pagelist a {
    display: inline-block;
    padding: 6px 10px;
    font-size: 13px;
    color: var(--c-text);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.pagelist a:hover {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.pagelist .thisclass,
.pagelist .thisclass a {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
    font-weight: 600;
}

/* ===== Article detail ===== */
.article-detail {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    overflow: hidden;
}

.article-header {
    border-bottom: 1px solid var(--c-border-light);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.article-title {
    font-size: 24px;
    color: var(--c-primary);
    line-height: 1.4;
    margin-bottom: 12px;
    word-break: break-word;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--c-text-muted);
}

.article-meta a {
    color: var(--c-teal);
}

.article-meta small {
    color: #a0aec0;
}

.article-litpic {
    margin-bottom: 20px;
    text-align: center;
}

.article-litpic img {
    max-width: 100%;
    border-radius: var(--radius);
}

.article-body {
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 12px 0;
}

.article-body p {
    margin-bottom: 14px;
}

.article-body h2,
.article-body h3 {
    color: var(--c-primary);
    margin: 20px 0 10px;
}

.z832eadiyfield {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--c-border);
}

.article-images {
    margin-top: 16px;
}

.article-figure {
    margin-bottom: 16px;
    text-align: center;
}

.article-figure img {
    max-width: 100%;
    border-radius: var(--radius);
}

.article-figure figcaption {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-top: 6px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--c-border-light);
}

.tags-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-muted);
}

.z832eameta-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.z832eatagitem a {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    background: var(--c-bg);
    color: var(--c-text-muted);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    transition: all 0.2s;
}

.z832eatagitem a:hover {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--c-border-light);
}

.article-nav-item {
    flex: 1;
    max-width: 48%;
    font-size: 13px;
    line-height: 1.6;
    overflow: hidden;
}

.article-nav-prev {
    text-align: left;
}

.article-nav-next {
    text-align: right;
}

.article-nav-item a {
    color: var(--c-teal);
}

.article-nav-item a:hover {
    color: var(--c-accent);
}

/* Related */
.related-articles {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    overflow: hidden;
}

.section-subtitle {
    font-size: 17px;
    color: var(--c-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--c-accent);
}

.related-list {
    list-style: none;
}

.related-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--c-border-light);
}

.related-item:last-child {
    border-bottom: none;
}

.related-thumb {
    flex-shrink: 0;
    width: 110px;
    height: 82px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-border-light);
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info a {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-primary);
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}

.related-info a:hover {
    color: var(--c-accent);
}

.related-info p {
    font-size: 12px;
    color: var(--c-text-muted);
    line-height: 1.5;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1100px) {
    .nav-item a {
        font-size: 12px;
        padding: 5px 7px;
    }

    .home-article-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --sec-py: 48px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        grid-template-columns: repeat(4, 1fr);
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .card-row-3 {
        grid-template-columns: 1fr 1fr;
    }

    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-article-list {
        max-height: none;
    }

    .home-article-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 56px;
        --sec-py: 40px;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--c-surface);
        border-bottom: 1px solid var(--c-border);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-nav.is-open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
        gap: 2px;
    }

    .nav-item a {
        font-size: 14px;
        padding: 10px 14px;
        white-space: normal;
    }

    .site-brand {
        max-width: calc(100% - 50px);
    }

    .sec-title {
        font-size: 22px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-panel {
        grid-template-columns: 1fr 1fr;
    }

    .card-row-3,
    .card-row-2 {
        grid-template-columns: 1fr;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .contact-row {
        grid-template-columns: 1fr;
    }

    .steps-row {
        grid-template-columns: 1fr;
    }

    .home-article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .article-list-item {
        flex-direction: column;
        padding: 16px;
    }

    .article-list-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;
    }

    .article-detail {
        padding: 18px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-nav {
        flex-direction: column;
    }

    .article-nav-item {
        max-width: 100%;
    }

    .article-nav-next {
        text-align: left;
    }

    .pagination-bar {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px;
    }

    .pagination-left,
    .pagination-right {
        flex: 0 0 auto;
    }

    .pagination-center {
        width: 100%;
        order: 3;
    }

    .related-item {
        flex-direction: column;
    }

    .related-thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;
    }

    .page-banner {
        padding: 24px 0;
    }

    .page-banner h2 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-panel {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hero-panel-item {
        padding: 14px 10px;
    }

    .hero-panel-item strong {
        font-size: 20px;
    }

    .home-article-grid {
        grid-template-columns: 1fr 1fr;
    }

    .info-card,
    .feature-item,
    .knowledge-box {
        padding: 18px;
    }

    .sidebar-thumb {
        width: 60px;
        height: 45px;
    }
}
