/* ===== info11 模板全局样式 ===== */
/* 主题色变量 */
:root {
  --primary: #1E3A5F;
  --primary-hover: #152B45;
  --secondary: #4A90D9;
  --accent: #1E6FB5;
  --bg-color: #F4F7FA;
  --surface-color: #FFFFFF;
  --text-color: #2C3E50;
  --text-muted: #6B7C93;
  --border-color: #DCE6F0;
  --header-bg: #FFFFFF;
  --footer-bg: #14507E;
  --footer-text: #E0F0FC;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

.container { max-width: 1200px; }


/* ===== 模板自定义样式 ===== */

/* ===== 深海商务版 模板专属样式 ===== */
/* 重置 root 变量 */
:root {
  --pico-form-element-spacing-vertical: 0.5rem;
}
/* 中文站点字号适配 */
@media (min-width: 1024px) { :root { --pico-font-size: 112.5%; } }
@media (min-width: 1280px) { :root { --pico-font-size: 112.5%; } }
@media (min-width: 1536px) { :root { --pico-font-size: 112.5%; } }
pre {
  white-space: pre-wrap;
}


/* 单侧边栏布局 */
.page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .page-layout.sidebar-left { grid-template-columns: 300px 1fr; }
  .page-layout.sidebar-right { grid-template-columns: 1fr 280px; }
}



/* Hero 横幅 */
.hero-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.hero-banner h1 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; }
.hero-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 600px; margin: 0 auto 2rem; }


/* 通用卡片 */
.card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.06); }

/* 特色网格 */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card { text-align: center; padding: 2rem 1rem; }
.feature-card .feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* 时间线 */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 0.5rem; top: 0; bottom: 0; width: 2px; background: var(--border-color); }
.timeline-item { position: relative; padding: 0 0 1.5rem 1.5rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.7rem; top: 0.3rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface-color); border: 2px solid var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year { font-weight: 700; color: var(--primary); font-size: 1.1rem; }

/* 详情页内容 */
.article-content img, .product-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 1rem 0; }

/* 联系信息 */
.contact-info-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.contact-info-card:last-child { border-bottom: none; }
.contact-icon {
  font-size: 1.3rem; flex-shrink: 0; width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; border-radius: 50%;
}

/* 产品详情 */
.product-meta { display: grid; grid-template-columns: 1fr; gap: 0.5rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .product-meta { grid-template-columns: repeat(2, 1fr); } }
.product-meta-item { display: flex; gap: 0.5rem; padding: 0.75rem; background: var(--bg-color); border-radius: 8px; }
.product-meta-label { font-weight: 600; color: var(--text-muted); min-width: 5rem; }

/* 详情布局 */
.detail-layout { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .detail-layout { grid-template-columns: 1fr 300px; } }

/* section间距 */
main section, .content-section { margin-bottom: 2.5rem; }
main section:last-child { margin-bottom: 0; }

/* ===== GEO 内容块样式 ===== */

/* 摘要框样式 */
.geo-tldr {
  background: var(--bg-color);
  border-left: 4px solid var(--accent, var(--primary));
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.geo-tldr-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent, var(--primary));
  margin-bottom: 0.35rem;
}
.geo-tldr-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* 关键要点清单 */
.geo-keyfacts {
  background: var(--bg-color);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.geo-block-title {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.geo-keyfacts ul {
  margin: 0;
  padding-left: 1.25rem;
}
.geo-keyfacts li {
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* 规格参数表 */
.geo-specs { margin: 1.5rem 0; }
.geo-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.geo-specs-table th,
.geo-specs-table td {
  border: 1px solid var(--border-color);
  padding: 0.6rem 0.9rem;
  text-align: left;
}
.geo-specs-table th {
  background: var(--bg-color);
  font-weight: 600;
  width: 40%;
  color: var(--text-color);
}

/* 客户评价 */
.geo-reviews { margin: 1.5rem 0; }
.geo-rating {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.geo-rating-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent, var(--primary));
}
.geo-rating-count { font-size: 0.85rem; color: var(--text-muted); }
.geo-review-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: var(--surface-color);
}
.geo-review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.geo-review-stars { color: var(--accent, var(--primary)); letter-spacing: 1px; }
.geo-review-date { margin-left: auto; font-size: 0.8rem; color: var(--text-muted); }
.geo-review-body { margin: 0; font-size: 0.9rem; line-height: 1.7; color: var(--text-color); }

/* FAQ 折叠区 */
.geo-faq { margin: 1.5rem 0; }
.geo-faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.6rem;
  background: var(--surface-color);
}
.geo-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-color);
}
.geo-faq-item p {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 作者信息块 */
.geo-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  background: var(--bg-color);
}
.geo-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.geo-author-name { display: block; font-size: 1rem; color: var(--text-color); }
.geo-author-title { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.geo-author-bio { margin: 0.4rem 0 0; font-size: 0.88rem; line-height: 1.6; color: var(--text-muted); }

/* 首页 GEO：核心数据条 */
.geo-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 768px) {
  .geo-stats { grid-template-columns: repeat(4, 1fr); }
}
.geo-stat-item {
  text-align: center;
  background: var(--bg-color);
  border-radius: 8px;
  padding: 1.25rem 0.75rem;
}
.geo-stat-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}
.geo-stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* 首页 GEO：资质荣誉徽章 */
.geo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.geo-badge {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--primary);
}

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  padding: 1rem;
  background: var(--bg-color);
  border-radius: 8px;
}
.friend-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.friend-link:hover {
  color: var(--primary);
  text-decoration: underline;
}


/* ===== 组件提取样式 ===== */

/* ===== header/header_1.html ===== */

/* ===== header_1 - 经典商务导航 ===== */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.site-logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
}

.site-logo:hover {
  color: var(--primary-hover);
}

/* 导航主菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu > li {
  position: relative;
  display: block;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: rgba(30, 58, 95, 0.08);
  color: var(--primary);
}

.nav-menu a.active {
  font-weight: 600;
}

/* 下拉菜单 */
.nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  padding: 0.5rem 0;
  z-index: 200;
  list-style: none;
}

.nav-menu li:hover > ul {
  display: block;
}

.nav-menu li ul a {
  padding: 0.5rem 1.2rem;
  border-radius: 0;
  white-space: nowrap;
}

.nav-menu li ul a:hover {
  background: rgba(30, 58, 95, 0.06);
}

/* 移动端汉堡菜单 */
/* 搜索框 */
.header-search {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: 0.75rem;
  margin-bottom: 0;
  width: 220px;
}
.header-search input {
  width: 100%;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.85rem;
  background: var(--surface-color);
  color: var(--text-color);
  transition: border-color 0.2s, width 0.2s;
}
.header-search input:focus {
  outline: none;
  border-color: var(--primary);
}
.header-search button {
  padding: 0.35rem 1rem;
  height: calc(1rem * var(--pico-line-height) + var(--pico-form-element-spacing-vertical) * 2 + var(--pico-border-width) * 2);
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  line-height: 1.4;
}
.header-search button:hover {
  background: var(--primary-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 0.5rem 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 1.5rem;
  }

  .nav-menu li ul {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 1.5rem;
  }

  .header-search {
    margin-left: 0;
    order: 3;
    width: 100%;
  }
  .header-search input {
    flex: 1;
    width: auto;
  }
  .header-search input:focus {
    width: auto;
  }

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }
}

/* ===== footer/footer_8.html ===== */

/* ===== footer_8 - 海洋蓝两列页脚 ===== */
.site-footer-8 {
  background: #14507E;
  color: #E0F0FC;
  padding: 3rem 0 0;
  margin-top: 3rem;
}
.footer-grid-8 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-grid-8 { grid-template-columns: 2fr 1fr; } }
.footer-col-8 h4 { color: #9AD0F0; margin-bottom: 1rem; font-size: 1.05rem; }
.footer-col-8 p, .footer-col-8 a { color: rgba(224,240,252,0.75); font-size: 0.88rem; line-height: 1.8; }
.footer-col-8 a { text-decoration: none; display: block; }
.footer-col-8 a:hover { color: #9AD0F0; }
.footer-links-8 { list-style: none; padding: 0; margin: 0; }
.footer-links-8 li { margin-bottom: 0.3rem; list-style: none; }
.footer-contact-8 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; font-size: 0.88rem; color: rgba(224,240,252,0.75); }
.footer-bottom-8 {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem 0;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(224,240,252,0.45);
}
.footer-bottom-8 p { color: rgba(224,240,252,0.45); }
.footer-bottom-8 a { color: rgba(224,240,252,0.55); text-decoration: none; display: inline; }
.footer-bottom-8 a:hover { color: #9AD0F0; }

/* ===== sidebar/sidebar_1.html ===== */

/* ===== sidebar_1 - 经典商务侧边栏 ===== */
.sidebar-section {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

.sidebar-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-cat-list li {
  border-bottom: 1px solid var(--border-color);
}

.sidebar-cat-list li:last-child {
  border-bottom: none;
}

.sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.sidebar-cat-list a:hover {
  color: var(--primary);
}

.sidebar-cat-count {
  background: var(--background);
  padding: 0.1rem 0.5rem;
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 侧边栏推荐文章 */
.sidebar-post-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-post-item:last-child {
  border-bottom: none;
}

.sidebar-post-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post-info {
  flex: 1;
  min-width: 0;
}

.sidebar-post-title {
  font-size: 0.85rem;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  color: var(--text-color);
  text-decoration: none;
}

.sidebar-post-title:hover {
  color: var(--primary);
}

.sidebar-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* 侧边栏产品 */
.sidebar-product-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-product-item:last-child {
  border-bottom: none;
}

.sidebar-product-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-product-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
}

.sidebar-product-name:hover {
  color: var(--primary);
}

/* ===== tag_cloud/tag_cloud_1.html ===== */

/* ===== tag_cloud_1 ===== */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-cloud a {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.tag-cloud a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ===== breadcrumb/breadcrumb_1.html ===== */

/* ===== breadcrumb_1 ===== */
.breadcrumb-bar {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-list li + li::before {
  content: '/';
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--text-muted);
  text-decoration: none;
}

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

.breadcrumb-list li:last-child {
  color: var(--text-color);
  font-weight: 500;
}

/* ===== article_item/article_item_8.html ===== */

/* ===== article_item_8 - 海洋蓝圆角大图卡片 ===== */
.article-card-8 {
  background: var(--surface-color, #fff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30,111,181,0.08);
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  break-inside: avoid;
}
.article-card-8:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,111,181,0.15);
}
.article-card-8-image { width: 100%; height: 190px; object-fit: cover; display: block; }
.article-card-8-image-link { display: block; }
.article-card-8-body { padding: 1.25rem; }
.article-card-8-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.4; }
.article-card-8-title a { color: #2A4A60; text-decoration: none; }
.article-card-8-title a:hover { color: #1E6FB5; }
.article-card-8-summary {
  font-size: 0.85rem;
  color: #6A8AA0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.6rem;
}
.article-card-8-meta { font-size: 0.78rem; color: #8AA8BC; }
.article-card-8-meta span { margin-right: 1rem; }

/* ===== product_item/product_item_8.html ===== */

/* ===== product_item_8 - 海洋蓝瀑布流卡片 ===== */
.product-card-8 {
  background: var(--surface-color, #fff);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30,111,181,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  break-inside: avoid;
  margin-bottom: 1.25rem;
}
.product-card-8:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,111,181,0.15);
}
.product-card-8-image { width: 100%; height: 210px; object-fit: cover; display: block; }
.product-card-8-image-link { display: block; }
.product-card-8-body { padding: 1.25rem; }
.product-card-8-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.product-card-8-name a { color: #2A4A60; text-decoration: none; }
.product-card-8-name a:hover { color: #1E6FB5; }
.product-card-8-subtitle { font-size: 0.8rem; color: #8AA8BC; margin-bottom: 0.5rem; }
.product-card-8-summary {
  font-size: 0.85rem;
  color: #6A8AA0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.product-card-8-footer { display: flex; align-items: center; justify-content: space-between; }
.product-card-8-price { font-weight: 700; color: #1E6FB5; }
.product-card-8-link { font-size: 0.82rem; color: #1E6FB5; text-decoration: none; }
.product-card-8-link:hover { text-decoration: underline; }

/* ===== pagination/pagination_1.html ===== */

/* ===== pagination_1 ===== */
.pagination-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}

.pagination-nav a,
.pagination-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text-color);
  background: var(--surface-color);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pagination-nav a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.pagination-nav .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 600;
}

.pagination-nav .disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== tag_cloud/tag_cloud_8.html ===== */

/* ===== tag_cloud_8 - 海洋蓝浅色标签 ===== */
.tag-cloud-8 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag-cloud-8 a {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: #EAF4FA;
  border-radius: 12px;
  font-size: 0.78rem;
  color: #1E6FB5;
  text-decoration: none;
  transition: all 0.2s;
}
.tag-cloud-8 a:hover { background: #1E6FB5; color: #fff; }

/* ===== contact_form/contact_form_8.html ===== */

/* ===== contact_form_8 - 海洋蓝胶囊表单 ===== */
.contact-form-8 {
  background: #F2F8FC;
  border-radius: 16px;
  padding: 2rem;
}
.contact-form-8 h3 { color: #1E6FB5; margin-bottom: 0.5rem; }
.contact-form-8 .form-desc { color: #6A8AA0; margin-bottom: 1.5rem; font-size: 0.9rem; }
.contact-form-8 .form-group { margin-bottom: 1rem; }
.contact-form-8 .form-group label { display: block; margin-bottom: 0.3rem; font-size: 0.85rem; color: #3A5A70; font-weight: 500; }
.contact-form-8 .form-group input,
.contact-form-8 .form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: none;
  border-radius: 12px;
  background: #fff;
  font-size: 0.9rem;
  color: #2A4A60;
}
.contact-form-8 .form-group input:focus,
.contact-form-8 .form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,111,181,0.15);
}
.contact-form-8 .form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .contact-form-8 .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form-8 .submit-btn {
  background: #1E6FB5;
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  border-radius: 24px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form-8 .submit-btn:hover { background: #15598F; }
/* Chengli visual overrides */
.site-logo img, [class*=site-logo] img { max-width: 220px; max-height: 64px; width: auto; height: auto; object-fit: contain; display: block; }
@media (max-width: 640px) { .site-logo img, [class*=site-logo] img { max-width: 160px; max-height: 52px; } }

/* Chengli layout normalization */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; }
.container { width: min(100% - 2rem, 1200px); margin-inline: auto; }
main, section, article, aside, header, footer { max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }
.detail-layout, .page-layout, .content-layout, .footer-grid, .features-grid, .product-grid, .article-grid { min-width: 0; }
.card, .article-card, .product-card { min-width: 0; overflow-wrap: anywhere; }
.card img, .product-card img, .article-card img { object-fit: contain; }
table { width: 100%; display: block; overflow-x: auto; }
/* Links remain visually integrated with surrounding text. */
a, a:visited { color: inherit !important; text-decoration: none !important; }
a:hover { text-decoration: none !important; color: inherit !important; }
a:focus-visible { outline: 2px solid var(--accent, currentColor); outline-offset: 2px; }
input, textarea, select, button { max-width: 100%; }
@media (max-width: 640px) {
  .container { width: min(100% - 1.25rem, 1200px); }
  .page-layout, .detail-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) !important; }
  h1 { overflow-wrap: anywhere; }
}

/* Footer alignment: right-side contact panel */
.footer-grid { align-items:start; }
.footer-contact-panel { grid-column: -2 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem 1rem; min-width:0; align-content:start; }
.footer-contact-panel h4 { grid-column:1 / -1; margin:0; }
.footer-contact-panel .footer-contact-item { display:flex; align-items:flex-start; gap:.45rem; min-width:0; overflow-wrap:anywhere; }
.footer-bottom, [class*=footer-bottom] { text-align:center; }
.footer-bottom p, [class*=footer-bottom] p { margin:0; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:.35rem; }
@media (max-width:900px) { .footer-contact-panel { grid-column:1 / -1; } }
@media (max-width:640px) { .footer-contact-panel { grid-template-columns:minmax(0,1fr); } }
/* Unified four-column footer */
.footer-grid-unified { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:2rem; align-items:start; }
.footer-grid-unified .footer-contact-panel { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem .9rem; min-width:0; }
.footer-grid-unified .footer-contact-panel h4 { grid-column:1 / -1; }
.footer-grid-unified .footer-contact-item { display:flex; gap:.45rem; min-width:0; overflow-wrap:anywhere; }
@media (max-width:960px) { .footer-grid-unified { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:640px) { .footer-grid-unified { grid-template-columns:minmax(0,1fr) !important; } .footer-grid-unified .footer-contact-panel { grid-template-columns:minmax(0,1fr); } }
/* Footer contact no-wrap refinement */
.footer-grid-unified { grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,2fr) !important; }
.footer-grid-unified .footer-contact-panel .footer-contact-item { white-space:nowrap; align-items:center; }
.footer-grid-unified .footer-contact-panel .footer-contact-item > span:last-child { white-space:nowrap; font-size:clamp(.72rem, .9vw, .95rem); }
.footer-grid-unified .footer-contact-panel .footer-contact-item:nth-of-type(4) { grid-column:1 / -1; }
@media (max-width:960px) { .footer-grid-unified { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:640px) { .footer-grid-unified { grid-template-columns:minmax(0,1fr) !important; } .footer-grid-unified .footer-contact-panel { grid-template-columns:minmax(0,1fr); } .footer-grid-unified .footer-contact-panel .footer-contact-item:nth-of-type(4) { grid-column:auto; } }
/* Latest requirement: contact details in one vertical column */
.footer-grid-unified .footer-contact-panel { grid-template-columns:minmax(0,1fr) !important; }
.footer-grid-unified .footer-contact-panel h4 { grid-column:auto; }
.footer-grid-unified .footer-contact-panel .footer-contact-item,
.footer-grid-unified .footer-contact-panel .footer-contact-item > span:last-child { white-space:nowrap; }
/* Industry icon refresh */
/* Empty footer lists: no stray bullets or dots */
.footer-grid-unified .footer-links { list-style:none !important; padding:0 !important; margin:0 !important; }
.footer-grid-unified .footer-links li:has(a:empty), .footer-grid-unified .footer-links li:empty { display:none !important; }
.footer-grid-unified .footer-links li { list-style:none !important; }
/* Mobile-first overflow protection on every page */
html, body { max-width:100%; overflow-x:hidden; }
@media (max-width:767px) {
  .container { width:calc(100% - 1.25rem) !important; max-width:100% !important; }
  .footer-grid-unified, .footer-grid-unified .footer-contact-panel { grid-template-columns:minmax(0,1fr) !important; }
  .footer-grid-unified .footer-contact-item { white-space:normal; }
  .footer-grid-unified .footer-contact-item > span:last-child { white-space:normal; overflow-wrap:anywhere; }
  .nav-menu, [class*=nav-menu] { max-width:100%; }
  input, textarea, select, button { max-width:100%; }
}
/* Footer copyright separation: keep备案行 visually detached from contact details across every theme. */
.footer-grid-unified + .footer-bottom, .footer-grid-unified + [class*="footer-bottom"] { margin-top: 3rem !important; }
.footer-bottom, [class*="footer-bottom"] { padding-top: 1.5rem !important; clear: both; padding-bottom: 2rem !important; }
@media (max-width: 640px) { .footer-grid-unified + .footer-bottom, .footer-grid-unified + [class*="footer-bottom"] { margin-top: 2rem !important; } }
.footer-bottom, [class*="footer-bottom"] { padding-bottom: 1.5rem !important; }

/* Global logo and navigation normalization across all themes. */
[class*="site-logo"] { display:flex; align-items:center; flex:0 0 auto; min-width:0; max-width:220px; overflow:visible; }
[class*="site-logo"] img { display:block; width:auto; height:auto; max-width:220px; max-height:64px; object-fit:contain; border-radius:0 !important; }
[class*="header-inner"] { min-width:0; align-items:center; gap:1rem; }
[class*="header-inner"] nav { min-width:0; flex:1 1 auto; }
[class*="nav-menu"] { min-width:0; max-width:100%; }
[class*="nav-menu"] > li { min-width:0; }
[class*="nav-menu"] a { max-width:100%; overflow-wrap:anywhere; }
@media (max-width: 767px) {
  [class*="site-logo"] { max-width:180px; }
  [class*="site-logo"] img { max-width:180px; max-height:56px; }
  [class*="header-inner"] { gap:.75rem; }
  [class*="header-inner"] nav { flex-basis:100%; }
  [class*="nav-menu"] { width:100%; }
}

/* Header baseline normalization: Logo | navigation | search on desktop; preserve collapsed menu on mobile. */
@media (min-width: 768px) {
  [class*="header-inner"] { display:flex !important; flex-direction:row !important; align-items:center !important; justify-content:space-between !important; flex-wrap:nowrap !important; min-width:0; }
  [class*="header-inner"] nav { display:flex; align-items:center; justify-content:center; flex:1 1 auto; min-width:0; }
  [class*="nav-menu"] { display:flex; align-items:center; justify-content:center; flex-wrap:nowrap; min-width:0; max-width:100%; }
  [class*="header-search"] { flex:0 1 220px; width:220px; min-width:150px; margin:0 0 0 1rem; }
  [class*="site-logo"] { margin:0 !important; }
}
@media (max-width: 767px) {
  [class*="header-inner"] { display:flex !important; flex-direction:row !important; flex-wrap:wrap !important; align-items:center !important; }
  [class*="header-inner"] nav { flex-basis:100%; }
  [class*="header-search"] { width:100%; margin-left:0; }
}

/* Final navigation contrast: white navigation with each theme's primary color. */
[class*="site-header"] {
  background: #fff !important;
  color: var(--primary, #1E3A5F) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--primary, #1E3A5F) 18%, #fff) !important;
}
[class*="site-header"] nav {
  background: #fff !important;
}
[class*="mobile-toggle"] {
  color: var(--primary, #1E3A5F) !important;
  background: #fff !important;
  border-color: color-mix(in srgb, var(--primary, #1E3A5F) 25%, #fff) !important;
}
[class*="nav-menu"] {
  background: #fff !important;
  color: var(--primary, #1E3A5F) !important;
}
[class*="nav-menu"] > li > a,
[class*="nav-menu"] > li > a:visited {
  color: var(--primary, #1E3A5F) !important;
  background: transparent !important;
  text-decoration: none !important;
}
[class*="nav-menu"] > li > a:hover,
[class*="nav-menu"] > li > a:focus-visible,
[class*="nav-menu"] > li > a.active,
[class*="nav-menu"] > li > a[aria-current="page"] {
  color: var(--primary-hover, var(--primary, #1E3A5F)) !important;
  background: color-mix(in srgb, var(--primary, #1E3A5F) 9%, #fff) !important;
}
[class*="nav-menu"] li ul,
[class*="nav-menu"] li ul a,
[class*="nav-menu"] li ul a:visited {
  background: #fff !important;
  color: var(--primary, #1E3A5F) !important;
}
[class*="nav-menu"] li ul a:hover,
[class*="nav-menu"] li ul a:focus-visible {
  background: color-mix(in srgb, var(--primary, #1E3A5F) 9%, #fff) !important;
  color: var(--primary-hover, var(--primary, #1E3A5F)) !important;
}
@supports not (background: color-mix(in srgb, white 10%, #466577)) {
  [class*="site-header"] { border-bottom-color: #d8dee6 !important; }
  [class*="nav-menu"] > li > a:hover,
  [class*="nav-menu"] > li > a:focus-visible,
  [class*="nav-menu"] > li > a.active,
  [class*="nav-menu"] > li > a[aria-current="page"],
  [class*="nav-menu"] li ul a:hover,
  [class*="nav-menu"] li ul a:focus-visible {
    background: #f2f5f8 !important;
  }
}
@media (max-width: 767px) {
  [class*="nav-menu"],
  [class*="nav-menu"].open,
  [class*="site-header"] nav {
    background: #fff !important;
  }
}

/* Font Awesome local icon alignment. */
.feature-icon > .fa-solid, .contact-icon > .fa-solid { font-size: 1.35em; line-height: 1; }
.footer-contact-item > .fa-solid { flex: 0 0 1.05em; margin-top: .15em; text-align: center; }
.article-card-meta .fa-solid, .article-meta .fa-solid, .meta .fa-solid { margin-right: .25rem; }
.mobile-toggle .fa-solid, [class*="mobile-toggle"] .fa-solid, .header-search button .fa-solid, [class*="header-search"] button .fa-solid { line-height: 1; }
