/* ============================================================
   Shared inner-page components (guanwang theme)
   对照 oem-odm.html / events.html / faqs.html / documentation.html
   / blog.html 设计稿，补齐主题缺失组件；仅在相关模板条件入队。
   ============================================================ */

/* ---------- Breadcrumb bar ---------- */
.page-crumb { background: #7fc4d4; color: #fff; font-size: 13px; }
.page-crumb .container { display: flex; align-items: center; gap: 8px; padding: 9px 0; flex-wrap: wrap; }
.page-crumb a { color: #fff; text-decoration: none; }
.page-crumb a:hover { text-decoration: underline; }
.page-crumb span { opacity: .85; }

/* ---------- Hero ---------- */
.page-hero { position: relative; min-height: 260px; background-size: cover; background-position: center; display: flex; align-items: center; }
.page-hero .hero-inner { max-width: 1200px; margin: 0 auto; padding: 50px 24px; color: #fff; width: 100%; }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; margin: 0 0 10px; color: #fff; text-shadow: 0 4px 14px rgba(0,0,0,.35); }
.page-hero p { font-size: 16px; margin: 0; max-width: 760px; color: #eef4f7; text-shadow: 0 2px 8px rgba(0,0,0,.3); }

/* ---------- Section base ---------- */
.section-pad { padding: 64px 0; }
.section-pad > .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.bg-soft { background: #f3f9fb; }
.section-title { text-align: center; font-size: 30px; font-weight: 700; color: #17325c; margin: 0 0 14px; }
.section-sub { text-align: center; max-width: 900px; margin: 0 auto; font-size: 15px; line-height: 1.8; color: #5a6b7b; }

/* ---------- Pill tabs (设计稿：左对齐) ---------- */
.pill-tabs { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.pill-tabs .pill { padding: 9px 22px; border-radius: 30px; background: #e8f2f5; color: #33546b; font-size: 14px; border: none; cursor: pointer; text-decoration: none; transition: .2s; display: inline-flex; align-items: center; gap: 4px; }
.pill-tabs .pill:hover { background: #d6eaf0; }
.pill-tabs .pill.active { background: #2aa9c4; color: #fff; }

/* ---------- Search bar (设计稿：下划线式) ---------- */
.doc-search { max-width: none; margin: 0 0 30px; position: relative; border-bottom: 1px solid #cfe0e6; }
.doc-search input { width: 100%; padding: 12px 44px 12px 4px; border: none; border-radius: 0; font-size: 14px; background: transparent; color: #2b3a4a; }
.doc-search input:focus { outline: none; }
.doc-search i, .doc-search button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #2aa9c4; cursor: pointer; background: none; border: none; font-size: 15px; }

/* ---------- Documentation list ---------- */
.doc-list { display: flex; flex-direction: column; gap: 14px; }
.doc-item { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid #e6eef1; border-radius: 10px; padding: 16px 22px; box-shadow: 0 4px 14px rgba(20,40,90,.04); }
.doc-item.hl { border-color: #b7e4ee; background: #f4fbfd; }
.doc-item .di-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; color: #17325c; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 0; }
.doc-item .di-name .link { color: #17325c; cursor: pointer; }
.doc-item.hl .di-name .link { color: #2aa9c4; }
.badge-new { background: #2aa9c4; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; letter-spacing: .5px; display: inline-flex; align-items: center; gap: 4px; }
.badge-new::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.9); }
/* 下载列表内：消除全局 .badge-new 的 position:absolute，使徽章回到行内 */
.doc-item .badge-new { position: static; }
.doc-item .di-meta { flex: 0 0 auto; width: 250px; font-size: 13px; color: #7a8a99; line-height: 1.7; }
.doc-item .di-meta i { color: #2aa9c4; margin-right: 4px; }
.doc-item .di-dl { font-size: 13px; color: #7a8a99; display: inline-flex; align-items: center; white-space: nowrap; }
.doc-item .di-dl::before { content: ''; width: 14px; height: 4px; border-radius: 2px; background: #2aa9c4; margin-right: 8px; }
.doc-item .di-dl i { color: #2aa9c4; margin-right: 4px; }
.doc-item .di-body { flex: 1; display: flex; align-items: center; gap: 24px; min-width: 0; }
.doc-item .di-side { flex: 0 0 auto; display: flex; align-items: center; gap: 24px; }
.di-btn { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #2aa9c4; border: 1px solid #b7e4ee; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: .2s; }
.di-btn:hover { background: #2aa9c4; color: #fff; }

/* downloads：Last update time / Document size 两列网格，跨行对齐 */
.doc-item .di-meta { flex: 0 0 auto; width: 262px; display: grid; grid-template-columns: 118px 1fr; column-gap: 8px; row-gap: 5px; font-size: 13px; line-height: 1.5; }
.doc-item .di-meta .dm-k { color: #7a8a99; white-space: nowrap; display: inline-flex; align-items: center; }
.doc-item .di-meta .dm-k::before { content: ''; width: 14px; height: 4px; border-radius: 2px; background: #2aa9c4; margin-right: 8px; flex: 0 0 auto; }
.doc-item .di-meta .dm-v { color: #37474f; }
/* 桌面下固定右侧区宽度，避免下载数位数不同把中间元数据列挤得跨行漂移 */
@media (min-width: 901px) {
    .doc-item .di-side { flex: 0 0 220px; justify-content: flex-end; }
}

/* ---------- FAQ accordion ---------- */
.faq-wrap { display: flex; flex-direction: column; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq-q-item { background: #eceff1; border: none; border-radius: 8px; overflow: hidden; }
.faq-q-item .q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 15px; font-weight: 600; color: #17325c; cursor: pointer; }
.faq-q-item .q i { color: #2aa9c4; transition: transform .2s; }
.faq-q-item .a { display: none; padding: 0 22px 18px; font-size: 14px; line-height: 1.8; color: #5a6b7b; }
.faq-q-item .a ul { margin: 8px 0 0; padding-left: 20px; }
.faq-q-item.open .a { display: block; }
.faq-q-item.open .q i { transform: rotate(45deg); }
.faq-jump { text-align: center; margin-top: 30px; }
.faq-jump a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; background: #17325c; padding: 12px 26px; border-radius: 30px; font-size: 14px; transition: .2s; }
.faq-jump a:hover { background: #0f2544; text-decoration: none; }

/* ---------- Blog filter + layout ---------- */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; margin-bottom: 24px; }
.blog-filter .pill { padding: 8px 18px; border-radius: 30px; background: #e8f2f5; color: #33546b; font-size: 13px; border: none; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.blog-filter .pill.active { background: #2aa9c4; color: #fff; }
.blog-count { text-align: left; font-size: 13px; color: #78909c; margin-bottom: 16px; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; align-items: stretch; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog-card { background: #fff; border: 1px solid #e6eef1; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(20,40,90,.05); display: flex; flex-direction: column; }
.blog-card .bc-img { aspect-ratio: 16 / 9; overflow: hidden; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .bc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card .bc-meta { display: flex; justify-content: space-between; font-size: 12px; color: #7a8a99; }
.blog-card .bc-meta span:first-child { color: #2aa9c4; font-weight: 600; }
.blog-card h4 { margin: 0; font-size: 16px; line-height: 1.4; color: #17325c; }
.blog-card h4 a { color: inherit; text-decoration: none; }
.blog-card .bc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #90a0ae; }
.blog-card .read { background: #eef5f8; color: #2aa9c4; border: none; border-radius: 20px; padding: 7px 16px; font-size: 13px; cursor: pointer; text-decoration: none; }
.blog-card .read:hover { background: #2aa9c4; color: #fff; }
.blog-side { display: flex; flex-direction: column; }
.ws-item { display: flex; gap: 12px; background: transparent; border: none; border-bottom: 1px solid #eef2f4; border-radius: 0; padding: 16px 4px; }
.ws-item:last-child { border-bottom: none; }
.ws-item i { color: #2aa9c4; font-size: 22px; flex: 0 0 auto; margin-top: 2px; }
.ws-item h5 { margin: 0 0 4px; font-size: 14px; color: #17325c; }
.ws-item p { margin: 0; font-size: 13px; line-height: 1.6; color: #7a8a99; }

/* 右侧栏推荐列表：与内容详情页 .ns-reco 同风格（浅蓝框 + 菱形节点 + 竖向时间轴） */
.blog-reco { flex: 1; background: #fff; border: 1px solid #e6eef1; border-radius: 12px; padding: 20px 22px 8px; box-shadow: 0 6px 18px rgba(20,40,90,.05); }
.blog-reco ul { list-style: none; margin: 0; padding: 0; }
.blog-reco li { position: relative; padding: 14px 0; }
.blog-reco li::before {
    content: ''; position: absolute; left: 3px; top: 0; bottom: 0;
    width: 1px; background: #cfe0e6;
}
.blog-reco li:first-child::before { top: 23px; }
.blog-reco li:last-child::before { bottom: auto; height: 23px; }
.blog-reco li:only-child::before { display: none; }
.blog-reco-item { display: flex; gap: 10px; text-decoration: none; }
.blog-reco-item::before {
    content: ''; flex: 0 0 auto; margin-top: 6px; position: relative; z-index: 1;
    width: 7px; height: 7px; background: #2aa9c4; transform: rotate(45deg);
}
.blog-reco-body { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 5px; align-items: center; flex: 1; min-width: 0; }
.blog-reco-ico { grid-column: 1; grid-row: 1; color: #2aa9c4; font-size: 18px; line-height: 1.2; }
.blog-reco-title { grid-column: 2; grid-row: 1; font-size: 14px; font-weight: 700; color: #17325c; line-height: 1.4; }
.blog-reco-desc { grid-column: 1 / -1; grid-row: 2; font-size: 12.5px; line-height: 1.6; color: #7a8a99; }
.blog-reco-item:hover .blog-reco-title { color: #2aa9c4; }

/* ---------- Pagination ---------- */
.pages-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pages-pagination a, .pages-pagination span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d7e2e8; border-radius: 8px; color: #33546b; text-decoration: none; font-size: 14px; background: #fff; }
.pages-pagination a:hover { border-color: #2aa9c4; color: #2aa9c4; }
.pages-pagination .current, .pages-pagination span.current { background: #2aa9c4; color: #fff; border-color: #2aa9c4; }

/* ---------- Float actions ---------- */
/* 已废弃：全站统一悬浮组件由 footer.php 的 .float-icons 提供；
   隐藏各模板遗留的 .float-actions，避免右下角“在线交谈/邮件”双份按钮重影。 */
.float-actions { display: none !important; }
.float-actions a, .float-actions button { width: 44px; height: 44px; border-radius: 50%; background: #2aa9c4; color: #fff; border: none; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; text-decoration: none; box-shadow: 0 6px 16px rgba(20,40,90,.2); }
.float-actions a:hover, .float-actions button:hover { background: #1f8ba3; }

/* ============================================================
   OEM / ODM page
   ============================================================ */
.oem-odm-page .page-hero .hero-inner { text-align: center; }
.oem-odm-page .page-hero .hero-inner p { margin-left: auto; margin-right: auto; }
.oo-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.oo-block { background: none; border: none; box-shadow: none; padding: 0; }
.oo-block h3 { margin: 0 0 16px; font-size: 22px; font-weight: 800; color: #17325c; line-height: 1.3; }
.oo-two-col .oo-block:last-child { text-align: right; }
.oo-two-col .oo-block:last-child .oo-list li { padding-left: 0; padding-right: 24px; }
.oo-two-col .oo-block:last-child .oo-list li:before { left: auto; right: 0; }
.oo-block > p { margin: 0 0 16px; font-size: 14px; line-height: 1.7; color: #5a6b7b; }
.oo-list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.oo-list li { position: relative; padding-left: 24px; font-size: 14px; color: #33546b; line-height: 1.5; }
.oo-list li:before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: #2aa9c4; }
.oo-block .foot { font-size: 15px; font-weight: 700; color: #17325c; font-style: normal; margin: 0; line-height: 1.5; }

.merits-wrap { position: relative; width: min(840px, 100%); margin: 10px auto 0; }
.merits-wrap:before { content: ""; display: block; padding-top: 80%; }
.merits-ring { position: absolute; left: 50%; top: 47%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px dashed #b9c6d6; border-radius: 50%; }
.merits-center { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); width: 31%; aspect-ratio: 1; border-radius: 50%; background: #17325c; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(20,40,90,.25); z-index: 2; }
.merits-center b { font-size: clamp(42px, 8vw, 68px); line-height: 1; font-weight: 800; }
.merits-center span { font-size: clamp(13px, 1.8vw, 18px); margin-top: 2px; }
.merits-nodes { position: absolute; inset: 0; }
.merits-nodes .m { position: absolute; width: 0; height: 0; }
.merits-nodes .m .mi { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: #17325c; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 10px rgba(20,40,90,.2); z-index: 3; }
.merits-nodes .m .mtxt { position: absolute; top: 0; width: 250px; }
.merits-nodes .m h5 { margin: 0 0 3px; font-size: 14px; font-weight: 700; color: #17325c; line-height: 1.25; }
.merits-nodes .m p { margin: 0; font-size: 12px; line-height: 1.5; color: #7a8a99; }
/* 5 个徽章精确落在虚线环上（环 42% / 中心 47%）：10/2/8/4/6 点钟方向 */
.merits-nodes .m:nth-child(1) { left: 31.8%; top: 33.9%; }
.merits-nodes .m:nth-child(2) { left: 68.2%; top: 33.9%; }
.merits-nodes .m:nth-child(3) { left: 31.8%; top: 60.1%; }
.merits-nodes .m:nth-child(4) { left: 68.2%; top: 60.1%; }
.merits-nodes .m:nth-child(5) { left: 50%; top: 73.3%; }
/* 左侧节点：文字在徽章左边、右对齐 */
.merits-nodes .m:nth-child(1) .mtxt, .merits-nodes .m:nth-child(3) .mtxt { right: 34px; transform: translateY(-50%); text-align: right; }
/* 右侧节点：文字在徽章右边、左对齐 */
.merits-nodes .m:nth-child(2) .mtxt, .merits-nodes .m:nth-child(4) .mtxt { left: 34px; transform: translateY(-50%); text-align: left; }
/* 底部节点：文字在徽章下方、居中 */
.merits-nodes .m:nth-child(5) .mtxt { left: 50%; top: 34px; transform: translateX(-50%); text-align: center; width: 360px; }

.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 60px; }
.cap-item { background: none; border: none; box-shadow: none; padding: 0; }
.cap-item h4 { margin: 0 0 14px; font-size: 18px; color: #17325c; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.cap-item h4 i { color: #17325c; font-size: 22px; }
.cap-item ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cap-item li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.6; color: #5a6b7b; }
.cap-item li:before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #2aa9c4; }

.process-circles { display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start; gap: 0; }
.process-circles .pc { flex: 0 0 auto; width: 180px; margin: 0 -14px; text-align: center; }
.process-circles .pc .img { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; margin: 0 auto 16px; border: 5px solid #f3f9fb; box-shadow: 0 8px 22px rgba(20,40,90,.12); position: relative; z-index: 1; }
.process-circles .pc .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.process-circles .pc p { margin: 0; font-size: 14px; color: #33546b; font-weight: 600; }

.timeline { position: relative; margin-top: 40px; }
/* 覆盖主题全局 .timeline 年表组件遗留的居中青色竖线（本区块是水平轨道布局，不需要它） */
.oem-odm-page .timeline::before, .oem-odm-page .timeline::after, .company-page .timeline::before, .company-page .timeline::after { content: none !important; display: none !important; }
.timeline-labels { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.timeline-labels span { flex: 1; text-align: center; font-size: 13px; color: #5a6b7b; }
.timeline-track { position: relative; display: flex; align-items: center; justify-content: space-between; }
.timeline-track:before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: #cdd7de; transform: translateY(-50%); }
.timeline-track .ta { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #17325c; display: flex; align-items: center; justify-content: center; font-size: 22px; border: 3px solid #17325c; }
.timeline-track .ta:first-child:before { content: ""; position: absolute; right: 100%; top: 50%; transform: translateY(-50%); margin-right: 12px; width: 9px; height: 9px; border-radius: 50%; background: #17325c; }
.timeline-track .ta:last-child:after { content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%); margin-left: 12px; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid #17325c; }
.timeline-track .ta:nth-child(odd):after { content: ""; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 8px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 8px solid #17325c; }
.timeline-track .ta:nth-child(even):before { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #17325c; }
.timeline-caps { display: flex; justify-content: space-between; gap: 20px; margin-top: 24px; }
.timeline-caps p { flex: 1; margin: 0; text-align: center; font-size: 13px; line-height: 1.6; color: #5a6b7b; }

.factory-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.factory-gallery .big { grid-column: 1 / 3; grid-row: 1 / 3; border-radius: 12px; overflow: hidden; }
.factory-gallery .big img { width: 100%; height: 100%; object-fit: cover; display: block; }
.factory-gallery img { width: 100%; height: 100%; min-height: 120px; object-fit: cover; display: block; border-radius: 10px; }
.factory-gallery > div:not(.big) { border-radius: 10px; overflow: hidden; }
.factory-gallery > div:not(.big):nth-last-child(-n+2) { grid-column: span 2; }

/* ============================================================
   Events page
   ============================================================ */
.event-card { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: center; background: #fff; border: 1px solid #e6eef1; border-radius: 14px; overflow: hidden; margin-bottom: 22px; box-shadow: 0 6px 18px rgba(20,40,90,.05); }
.event-card.active { border-color: #b7e4ee; box-shadow: 0 8px 24px rgba(42,169,196,.16); }
.event-card .ec-info { padding: 26px 28px; }
.event-card .ec-logo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #5a6b7b; margin-bottom: 12px; line-height: 1.2; }
.event-card .ec-logo i { font-size: 22px; color: #2aa9c4; }
.event-card .ec-info h3 { margin: 0 0 16px; font-size: 20px; color: #17325c; }
.event-card .ec-date { display: flex; align-items: center; gap: 8px; color: #33546b; }
.event-card .ec-date .d { width: 42px; height: 42px; border-radius: 8px; background: #eef5f8; color: #2aa9c4; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.event-card .ec-date .dm { font-size: 13px; line-height: 1.2; color: #7a8a99; }
.event-card .ec-date .sep { color: #b7c4cc; margin: 0 4px; }
.event-card .ec-img { height: 100%; min-height: 200px; }
.event-card .ec-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .blog-layout { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .doc-item { flex-wrap: wrap; }
    .doc-item .di-body { flex-wrap: wrap; }
    .doc-item .di-meta { width: auto; }
    .oo-two-col { grid-template-columns: 1fr; gap: 34px; }
    .cap-grid { grid-template-columns: 1fr; }
    /* Merits: stack instead of radial on small screens */
    .merits-wrap { width: 100%; }
    .merits-wrap:before { display: none; }
    .merits-ring { display: none; }
    .merits-center { position: static; transform: none; width: 150px; height: 150px; margin: 0 auto 26px; }
    .merits-nodes { position: static; }
    .merits-nodes .m { position: static; width: auto; height: auto; display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
    .merits-nodes .m .mi { position: static; transform: none; }
    .merits-nodes .m .mtxt { position: static; transform: none !important; width: auto; text-align: left !important; }
    .merits-nodes .m:nth-child(5) .mtxt { left: auto; top: auto; }
    .timeline-labels, .timeline-caps { flex-direction: column; gap: 10px; }
    .timeline-track { flex-wrap: wrap; gap: 18px; }
    .timeline-track:before { display: none; }
    .factory-gallery { grid-template-columns: repeat(2, 1fr); }
    .process-circles { flex-wrap: wrap; gap: 24px; }
    .process-circles .pc { flex: 0 0 40%; width: auto; margin: 0; transform: none; }
    .process-circles .pc .img { width: 140px; height: 140px; }
    .event-card { grid-template-columns: 1fr; }
    .event-card .ec-img { min-height: 160px; }
}
@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .merits-grid { grid-template-columns: 1fr; }
    .factory-gallery { grid-template-columns: 1fr; }
    .factory-gallery .big { grid-column: auto; grid-row: auto; }
    .doc-item .di-side { width: 100%; justify-content: space-between; }
}

/* =========================================================
 * PARTNERS (合作伙伴) — archive + single
 * Design tokens: 青 #2aa9c4/#178ca6 深蓝 #17325c 正文 #5a6b7b meta #7a8a99 浅青 #f3f9fb/#eef7fa
 * ========================================================= */
.section-h {
    font-size: 22px; color: #17325c; font-weight: 700;
    margin: 40px 0 20px; padding-left: 14px; position: relative;
}
.section-h::before {
    content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
    width: 4px; border-radius: 3px; background: #2aa9c4;
}
.partner-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.partner-card {
    background: #fff; border: 1px solid #eef2f5; border-radius: 14px;
    padding: 26px 24px; box-shadow: 0 6px 18px rgba(20, 40, 90, .05);
    display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20, 40, 90, .12); }
.partner-card .p-logo {
    height: 64px; display: flex; align-items: center; margin-bottom: 16px;
    font-size: 22px; font-weight: 800; letter-spacing: .5px; color: #17325c;
}
.partner-card .p-logo img { max-height: 56px; max-width: 180px; width: auto; object-fit: contain; }
.partner-card .partner-cat {
    display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600;
    color: #178ca6; background: #eef7fa; padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}
.partner-card h3 { font-size: 17px; color: #17325c; margin: 0 0 10px; }
.partner-card .p-desc { color: #5a6b7b; font-size: 14px; line-height: 1.7; margin: 0 0 18px; flex: 1; }
.partner-card .p-btn {
    display: flex; align-items: center; justify-content: space-between;
    border-top: 1px solid #f0f4f7; padding-top: 14px;
}
.partner-card .p-btn a { color: #178ca6; font-size: 14px; font-weight: 600; text-decoration: none; }
.partner-card .p-btn a:hover { text-decoration: underline; }
.partner-card .p-btn .arw {
    width: 34px; height: 34px; border-radius: 50%; background: #f3f9fb; color: #178ca6;
    display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.partner-card:hover .p-btn .arw { background: #2aa9c4; color: #fff; }
.partner-empty { text-align: center; color: #999; padding: 40px 0; }

/* --- partner detail --- */
.page-hero.hero-left { text-align: left; }
.page-hero.hero-left .hero-inner { align-items: flex-start; text-align: left; }
.page-hero .hero-logo {
    display: flex; gap: 18px; align-items: center; margin-top: 22px; flex-wrap: wrap;
}
.page-hero .hero-logo img { height: 44px; width: auto; object-fit: contain; background: rgba(255,255,255,.9); border-radius: 6px; padding: 4px 8px; }
.pd-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 34px; align-items: start; }
.pd-article { background: #fff; border-radius: 14px; padding: 34px 36px; box-shadow: 0 6px 18px rgba(20, 40, 90, .05); }
.pd-article h2 { font-size: 26px; color: #17325c; margin: 0 0 18px; }
.pd-article p { color: #5a6b7b; line-height: 1.9; margin: 0 0 16px; }
.pd-highlights { list-style: none; padding: 0; margin: 20px 0 0; }
.pd-highlights li { position: relative; padding: 8px 0 8px 26px; color: #5a6b7b; border-bottom: 1px dashed #eef2f5; }
.pd-highlights li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: #2aa9c4; }
.pd-search-row { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.pd-search-row .btn {
    background: #2aa9c4; color: #fff; padding: 11px 24px; border-radius: 8px;
    font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s;
}
.pd-search-row .btn:hover { background: #178ca6; }
.pd-search-row .cir {
    width: 44px; height: 44px; border-radius: 50%; background: #eef7fa; color: #178ca6;
    display: flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s, color .2s;
}
.pd-search-row .cir:hover { background: #2aa9c4; color: #fff; }
.pd-side { display: flex; flex-direction: column; gap: 18px; }
.pd-card { background: #fff; border-radius: 14px; padding: 22px; box-shadow: 0 6px 18px rgba(20, 40, 90, .05); }
.pd-card .pd-logo { height: 54px; display: flex; align-items: center; margin-bottom: 14px; }
.pd-card .pd-logo img { max-height: 50px; max-width: 100%; object-fit: contain; }
.pd-card h4 { font-size: 16px; color: #17325c; margin: 0 0 12px; }
.pd-card .pd-row { display: flex; align-items: center; gap: 10px; color: #5a6b7b; font-size: 14px; padding: 6px 0; }
.pd-card .pd-row i { color: #2aa9c4; }
.pd-card .pd-row a { color: #178ca6; text-decoration: none; word-break: break-all; }
.pd-card .pd-tag { display: inline-block; font-size: 12px; color: #178ca6; background: #eef7fa; padding: 3px 10px; border-radius: 20px; margin-top: 4px; }

@media (max-width: 900px) {
    .partner-grid { grid-template-columns: repeat(2, 1fr); }
    .pd-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .partner-grid { grid-template-columns: 1fr; }
}

/* --- Get In Touch form: shared styles live in css/getin-form.css (single source,
     enqueued by minewsemi_render_getin_form). Kept here only as a pointer so the
     form is not double-defined across pages.css + getin-form.css. --- */
