* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: #17202a; background: #ffffff; line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ---------- Layout container (unified) ---------- */
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }

/* =========================================================
   TOP BAR
========================================================= */
.topbar { background: #101820; color: #dce4ea; font-size: 13px; }
.topbar-inner {
  min-height: 38px; width: min(1180px, calc(100% - 40px)); margin: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topbar-right { display: flex; gap: 24px; }
.topbar a { color: #dce4ea; }
.topbar a:hover { color: #fff; }

/* =========================================================
   HEADER & NAVIGATION (unified across all pages)
========================================================= */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e8edf1;
}
.nav {
  width: min(1180px, calc(100% - 40px)); margin: auto;
   min-height: 80px;display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 800; letter-spacing: .3px; color: #0b3d66; }
.logo span { color: #f36b21; }
.logo .logo-mark {
  width: 200px; height: 39px; background: #f36b21; display: grid; place-items: center;
  color: #fff; font-size: 19px; font-weight: 800; border-radius: 4px;
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-links a { color: #39444d; transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: #f36b21; }
.nav-cta { padding: 11px 18px; background: #f36b21; color: #fff !important; border-radius: 4px; }
.nav-cta:hover { background: #dc5d17; color: #fff !important; }
.burger { display: none; font-size: 26px; cursor: pointer; background: none; border: none; color: #0b3d66; }

/* =========================================================
   BUTTONS (shared)
========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 6px; font-size: 14px; font-weight: 700; transition: .2s;
  border: none; cursor: pointer;
}
.btn-primary { background: #f36b21; color: #fff; }
.btn-primary:hover { background: #dc5d17; transform: translateY(-1px); }
.btn-secondary { border: 1px solid #ccd5db; background: #fff; color: #17202a; }
.btn-secondary:hover { border-color: #f36b21; color: #f36b21; }
.btn-outline { background: transparent; }
.btn-ghost { background: transparent; }

/* =========================================================
   GENERIC SECTION HELPERS
========================================================= */
.section { padding: 85px 0; }
.section-light, .soft { background: #f6f8fa; }
.section-head { max-width: 720px; margin: 0 auto 45px; text-align: center; }
.section-kicker, .tag, .eyebrow {
  color: #f36b21; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 800; margin-bottom: 12px;
}
.section-title { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: -1px; color: #101820; margin-bottom: 15px; }
.section-desc { color: #64717b; font-size: 16px; }

/* =========================================================
   FOOTER (unified: 中国工厂版权所有)
========================================================= */
.footer { background: #0b1116; color: #b8c2c8; padding: 60px 0 25px; font-size: 14px; }
.footer-grid {
  width: min(1180px, calc(100% - 40px)); margin: 0 auto 36px;
  display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 40px;
}
.footer h3, .footer h5 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer p, .footer li { font-size: 13px; color: #89969e; }
.footer ul li { margin-bottom: 9px; }
.footer a { color: #89969e; }
.footer a:hover { color: #fff; }
.footer-brand { max-width: 340px; }
.footer-logo { color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer-logo span { color: #f36b21; }
.footer-bottom {
  width: min(1180px, calc(100% - 40px)); margin: auto;
  border-top: 1px solid #202a31; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #68757d;
}
.copyright { text-align: center; }

/* =========================================================
   RESPONSIVE (shared nav + footer)
========================================================= */
@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 20px; gap: 14px;
    border-bottom: 1px solid #e8edf1; box-shadow: 0 12px 30px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .topbar-right { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
/* =========================================================
   ARTICLE DETAIL PAGE
   仅新增，不修改原有 CSS
========================================================= */

.article-page {
  padding: 55px 0 80px;
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 45px;
  align-items: start;
}

/* ---------- Article Content ---------- */

.article-content {
  min-width: 0;
  background: #fff;
}

.article-header {
  padding-bottom: 25px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e8edf1;
}

.article-category {
  display: inline-block;
  margin-bottom: 12px;
  color: #f36b21;
  font-size: 13px;
  font-weight: 700;
}

.article-header h1 {
  margin: 0 0 14px;
  color: #101820;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.3;
  font-weight: 800;
}

.article-meta {
  color: #89969e;
  font-size: 13px;
}

.article-body {
  color: #39444d;
  font-size: 16px;
  line-height: 1.9;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  margin: 38px 0 18px;
  color: #101820;
  font-size: 25px;
  line-height: 1.4;
}

.article-body h3 {
  margin: 30px 0 15px;
  color: #101820;
  font-size: 20px;
  line-height: 1.5;
}

.article-body ul,
.article-body ol {
  margin: 0 0 25px 22px;
  padding: 0;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body img {
  width: 100%;
  height: auto;
  margin: 25px 0;
}

.article-body blockquote {
  margin: 25px 0;
  padding: 18px 22px;
  background: #f6f8fa;
  border-left: 4px solid #f36b21;
  color: #64717b;
}

/* ---------- Sidebar ---------- */

.article-sidebar {
  min-width: 0;
}

.sidebar-box {
  margin-bottom: 25px;
  padding: 24px;
  background: #f6f8fa;
  border: 1px solid #e8edf1;
  border-radius: 6px;
}

.sidebar-box h2 {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 13px;
  color: #101820;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 800;
  border-bottom: 1px solid #dfe5e9;
}

.sidebar-box h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42px;
  height: 2px;
  background: #f36b21;
}

.sidebar-list {
  margin: 0;
  padding: 0;
}

.sidebar-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e3e8eb;
}

.sidebar-list li:first-child {
  padding-top: 0;
}

.sidebar-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-list a {
  display: block;
  color: #39444d;
  font-size: 14px;
  line-height: 1.65;
  transition: .2s;
}

.sidebar-list a:hover {
  color: #f36b21;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .article-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .sidebar-box {
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  .article-page {
    padding: 35px 0 55px;
  }

  .article-layout {
    gap: 25px;
  }

  .article-header h1 {
    font-size: 27px;
  }

  .article-body {
    font-size: 15px;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    padding: 20px;
  }
}



/* =========================================================
   GUIDES PAGE
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

.guides-page *,
.guides-page *::before,
.guides-page *::after,
.site-footer *,
.site-footer *::before,
.site-footer *::after,
.mobile-navigation *,
.mobile-navigation *::before,
.mobile-navigation *::after {
    box-sizing: border-box;
}


/* =========================================================
   GLOBAL
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    color: #18212b;
    background: #ffffff;
}

a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}


/* =========================================================
   HEADER
   ========================================================= */
.header-inner {
    width: 100%;
    max-width: 1240px;
    min-height: 78px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    flex: 0 0 auto;
    text-decoration: none;
}

.site-logo-main {
    display: block;
    font-size: 25px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    color: #17212b;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.main-navigation > a,
.nav-dropdown > a {
    position: relative;

    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;

    color: #38434d;
    text-decoration: none;

    white-space: nowrap;
}

.main-navigation > a:hover,
.nav-dropdown > a:hover,
.main-navigation > a.active,
.nav-dropdown > a.active {
    color: #1c6fa8;
}

.main-navigation > a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: -29px;

    height: 2px;

    background: #1c6fa8;
}

.nav-dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
}
.header-actions {
    flex: 0 0 auto;
}

.header-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;
    padding: 0 19px;

    font-size: 13px;
    line-height: 1;
    font-weight: 600;

    color: #ffffff;
    background: #1c6fa8;

    text-decoration: none;
}

.header-contact-button:hover {
    background: #155d8e;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-navigation {
    display: none;
}


/* =========================================================
   COMMON CONTAINER
   ========================================================= */

.guides-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   HERO
   ========================================================= */

.guides-hero {
    padding: 50px 0 48px;

    background: #f6f8fa;

    border-bottom: 1px solid #e4e8ec;
}

.guides-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin-bottom: 22px;

    font-size: 13px;
    line-height: 1.5;

    color: #87919a;
}

.guides-breadcrumb a {
    color: #66717b;
    text-decoration: none;
}

.guides-breadcrumb a:hover {
    color: #1c6fa8;
}

.guides-hero-content h1 {
    max-width: 900px;

    margin: 0 0 14px;

    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;

    color: #17212b;
}

.guides-hero-content p {
    max-width: 760px;

    margin: 0;

    font-size: 17px;
    line-height: 1.75;

    color: #626d77;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.guides-content {
    padding: 65px 0 90px;

    background: #ffffff;
}

.guides-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    gap: 65px;

    align-items: start;
}


/* =========================================================
   LEFT MAIN
   ========================================================= */

.guides-main {
    min-width: 0;
}


/* =========================================================
   GUIDE ITEM
   ========================================================= */

.guide-item {
    padding: 10px 0px 30px 0px;
    border-bottom: 1px solid #e5e9ed;
}

.guide-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 9px;

    font-size: 13px;
    line-height: 1.5;
}

.guide-category {
    font-weight: 600;
    color: #1c6fa8;
}

.guide-divider {
    color: #c4cbd1;
}

.guide-meta time {
    color: #8b949c;
}

.guide-item h3 {
    margin: 0 0 10px;

    font-size: 22px;
    line-height: 1.45;
    font-weight: 700;
}

.guide-item h3 a {
    color: #18212b;
    text-decoration: none;
}

.guide-item h3 a:hover {
    color: #1c6fa8;
}

.guide-item p {
    max-width: 760px;

    margin: 0 0 15px;

    font-size: 15px;
    line-height: 1.75;

    color: #69737d;
}
/* =========================================================
   SIDEBAR
   ========================================================= */

.guides-sidebar {
    min-width: 0;
}

.sidebar-widget {
    margin-bottom: 38px;
    padding-bottom: 32px;

    border-bottom: 1px solid #e4e8ec;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
    padding-bottom: 0;

    border-bottom: 0;
}

.sidebar-title {
    position: relative;

    margin-bottom: 19px;
    padding-bottom: 12px;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    color: #17212b;

    border-bottom: 2px solid #17212b;
}


/* =========================================================
   CATEGORY LIST
   ========================================================= */

.category-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.category-list li {
    border-bottom: 1px solid #edf0f2;
}

.category-list li:last-child {
    border-bottom: 0;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 11px 0;

    font-size: 14px;
    line-height: 1.5;

    color: #525d67;
    text-decoration: none;
}

.category-list a:hover {
    color: #1c6fa8;
}

.category-list b {
    flex: 0 0 auto;

    min-width: 24px;

    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;

    text-align: right;

    color: #9ca4ab;
}


/* =========================================================
   LATEST POSTS
   ========================================================= */

.latest-posts {
    display: flex;
    flex-direction: column;
}

.latest-posts a {
    display: block;

    padding: 13px 0;

    text-decoration: none;

    border-bottom: 1px solid #edf0f2;
}

.latest-posts a:first-child {
    padding-top: 0;
}

.latest-posts a:last-child {
    border-bottom: 0;
}

.latest-posts strong {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;

    color: #414c56;
}

.latest-posts a:hover strong {
    color: #1c6fa8;
}

.latest-posts time {
    display: block;

    font-size: 12px;
    line-height: 1.5;

    color: #969fa7;
}


/* =========================================================
   RELATED GUIDES
   ========================================================= */

.related-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.related-list li {
    position: relative;

    margin-bottom: 12px;
    padding-left: 17px;
}

.related-list li:last-child {
    margin-bottom: 0;
}

.related-list li::before {
    content: "→";

    position: absolute;

    left: 0;
    top: 0;

    font-size: 14px;
    line-height: 1.6;

    color: #1c6fa8;
}

.related-list a {
    font-size: 14px;
    line-height: 1.6;

    color: #59636f;
    text-decoration: none;
}

.related-list a:hover {
    color: #1c6fa8;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.guides-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin-top: 43px;
}

.guides-pagination a,
.guides-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 38px;

    padding: 0 10px;

    font-size: 13px;
    line-height: 1;

    color: #5c6670;

    background: #ffffff;

    border: 1px solid #dfe4e8;

    text-decoration: none;
}

.guides-pagination a:hover {
    color: #1c6fa8;
    border-color: #1c6fa8;
}

.guides-pagination .current {
    color: #ffffff;

    background: #1c6fa8;

    border-color: #1c6fa8;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: 100%;

    color: #d6dce1;

    background: #18222c;
}

.footer-main {
    padding: 62px 0 55px;
}

.footer-inner {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
    padding: 0 24px;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 55px;
}

.footer-column {
    min-width: 0;
}

.footer-logo {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;

    color: #ffffff;
    text-decoration: none;
}

.footer-company p {
    max-width: 330px;

    margin: 0;

    font-size: 14px;
    line-height: 1.8;

    color: #aeb8c1;
}

.footer-column h3 {
    margin: 0 0 19px;

    font-size: 15px;
    line-height: 1.5;
    font-weight: 700;

    color: #ffffff;
}

.footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column li:last-child {
    margin-bottom: 0;
}

.footer-column li a {
    font-size: 13px;
    line-height: 1.6;

    color: #aeb8c1;
    text-decoration: none;
}

.footer-column li a:hover {
    color: #ffffff;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    width: 100%;
    max-width: 1180px;

    min-height: 68px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;

    color: #8f9aa4;
}

.footer-legal {
    display: flex;
    align-items: center;

    gap: 20px;
}

.footer-legal a {
    font-size: 12px;
    line-height: 1.5;

    color: #8f9aa4;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #ffffff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .main-navigation {
        gap: 19px;
    }

    .main-navigation > a,
    .nav-dropdown > a {
        font-size: 13px;
    }

    .guides-layout {
        grid-template-columns:
            minmax(0, 1fr)
            290px;

        gap: 45px;
    }

}


/* =========================================================
   TABLET SMALL
   ========================================================= */

@media (max-width: 900px) {

    .main-navigation {
        display: none;
    }

    .header-inner {
        min-height: 70px;
    }

    .mobile-navigation {
        display: flex;

        width: 100%;

        overflow-x: auto;

        padding: 0 20px;

        gap: 24px;

        background: #ffffff;

        border-bottom: 1px solid #e7eaed;

        scrollbar-width: none;
    }

    .mobile-navigation::-webkit-scrollbar {
        display: none;
    }

    .mobile-navigation a {
        flex: 0 0 auto;

        padding: 13px 0;

        font-size: 13px;
        line-height: 1.5;

        color: #4b5660;

        text-decoration: none;
    }

    .mobile-navigation a.active {
        color: #1c6fa8;

        border-bottom: 2px solid #1c6fa8;
    }

    .guides-hero-content h1 {
        font-size: 36px;
    }

    .guides-layout {
        grid-template-columns:
            minmax(0, 1fr)
            270px;

        gap: 35px;
    }

    .footer-inner {
        grid-template-columns:
            1.5fr
            1fr
            1fr
            1fr;

        gap: 30px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .header-inner {
        padding: 0 18px;
    }

    .header-contact-button {
        min-height: 37px;
        padding: 0 14px;

        font-size: 12px;
    }

    .guides-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .guides-hero {
        padding: 35px 0 34px;
    }

    .guides-breadcrumb {
        margin-bottom: 17px;
    }

    .guides-hero-content h1 {
        margin-bottom: 13px;

        font-size: 30px;
        line-height: 1.25;
    }

    .guides-hero-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .guides-content {
        padding: 45px 0 65px;
    }

    .guides-layout {
        display: block;
    }

    .guides-main {
        margin-bottom: 55px;
    }

    .guides-section-header {
        align-items: center;
    }

    .guides-section-header h2 {
        font-size: 24px;
    }

    .guide-item {
        padding: 26px 0 27px;
    }

    .guide-item h3 {
        font-size: 19px;
        line-height: 1.45;
    }

    .guide-item p {
        font-size: 14px;
        line-height: 1.7;
    }

    .guides-sidebar {
        width: 100%;
    }

    .sidebar-widget {
        margin-bottom: 35px;
        padding-bottom: 30px;
    }

    .footer-main {
        padding: 50px 0 45px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px 25px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

    .footer-bottom-inner {
        min-height: auto;

        padding-top: 20px;
        padding-bottom: 20px;

        flex-direction: column;
        align-items: flex-start;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .header-inner {
        min-height: 64px;
    }

    .site-logo-main {
        font-size: 22px;
    }

    .header-contact-button {
        padding: 0 12px;
    }

    .mobile-navigation {
        gap: 20px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .guides-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .guides-hero-content h1 {
        font-size: 27px;
    }

    .guides-section-header {
        align-items: flex-end;
    }

    .guides-section-label {
        font-size: 10px;
    }

    .guides-section-header h2 {
        font-size: 23px;
    }

    .guides-count {
        font-size: 12px;
    }

    .guide-meta {
        font-size: 12px;
    }

    .guide-item h3 {
        font-size: 18px;
    }

    .guide-item p {
        font-size: 14px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-legal {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

}