/* ========================================
   共享组件样式
   ======================================== */

/* ========================================
   Header / 顶部信息条 / 导航
   ======================================== */
.topbar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-inner span { margin-right: 24px; }
.topbar-inner span:last-child { margin-right: 0; }
.topbar-inner i { color: var(--cyan); margin-right: 6px; }
.topbar b { color: var(--orange); }

.main-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow var(--transition-base);
}
.main-header.scrolled { box-shadow: var(--shadow-md); }

.navbar { padding: 0.75rem 0; }

.logo-wrapper { display: flex; align-items: center; gap: 10px; }
.logo-img { max-width: 40px; height: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 1.25rem; font-weight: 800; color: var(--dark); letter-spacing: 1px; }
.logo-sub {
  font-size: 0.6rem;
  color: var(--gray-500);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.6rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--primary); }

/* 下拉菜单指示箭头 */
.nav-item.dropdown > .nav-link::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  margin-left: 6px;
  color: var(--gray-400);
  transition: transform var(--transition-fast);
}
.nav-item.dropdown:hover > .nav-link::after,
.nav-item.dropdown.open > .nav-link::after { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-tel { font-weight: 700; letter-spacing: 0.5px; }

/* 桌面端：hover 展开下拉 */
@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown { position: relative; }
  .navbar-nav .nav-item.dropdown > .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 8px;
    min-width: 200px;
    margin: 0;
  }
  .navbar-nav .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--gray-700);
  }
  .navbar-nav .dropdown-menu .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
  }
}

/* 移动端：手风琴式子菜单 */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px 14px;
    margin-top: 10px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .navbar-nav .nav-item.dropdown > .dropdown-menu {
    display: none;
    position: static !important;
    float: none !important;
    width: 100% !important;
    margin: 4px 0 8px !important;
    padding: 0 0 0 14px;
    background: transparent;
    border: none;
    box-shadow: none;
    border-left: 2px solid var(--primary-light);
    transition: none;
  }
  .navbar-nav .nav-item.dropdown.open > .dropdown-menu { display: block; }
  .navbar-nav .dropdown-menu .dropdown-item {
    padding: 10px 14px;
    font-size: 14px;
    border-radius: var(--radius-sm);
  }
  .navbar-nav .dropdown-menu .dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
  }
  .nav-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }
  .nav-actions .btn { width: 100%; text-align: center; }
}

/* ========================================
   Hero Banner
   ======================================== */
.hero-banner { position: relative; height: 520px; }
.hero-slider { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide:first-child { opacity: 1; }

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #fff;
}
.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-desc {
  font-size: 18px;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.catch-logo { max-width: 220px; }

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.dot.active { background: #fff; }

/* 首页报价表单 */
.quote-form-wrapper {
  position: absolute;
  right: 10%;
  width: 80% !important;
  transform: translateY(-50%);
  bottom: 5px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.quote-form-wrapper > div:nth-of-type(1) {
  position: absolute;
  font-size: 18px;
  text-align: center;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
  width: 200px;
  height: 40px;
  border-radius: 12px 12px 0 0;
  left: 0;
  top: 0;
  padding: 10px 0;
}
.quote-form-wrapper > div:nth-of-type(2) {
  position: absolute;
  text-align: center;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.92);
  width: 100%;
  border-radius: 0 12px 12px 12px;
  left: 0;
  top: 40px;
}
.quote-box { display: flex; margin-top: 30px; }
.quote-box select,
.quote-box button {
  width: 100%;
  margin: 5px 10px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 14px;
}
.quote-tip { text-align: center; font-size: 13px; color: #666; margin-top: 8px; }

/* ========================================
   路线卡片（运输路线）
   ======================================== */
.route-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.route-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: 0.28s;
  position: relative;
}
.route-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue); }
.route-feature { border-color: var(--orange); box-shadow: var(--shadow); }
.route-tag {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 20px;
}
.route-tag-blue { background: var(--blue); }
.route-tag-green { background: #16a34a; }
.route-port { font-size: 24px; font-weight: 800; margin-top: 6px; }
.route-port span { font-size: 13px; color: var(--gray); font-weight: 600; margin-left: 6px; }
.route-time { color: var(--orange); font-weight: 700; font-size: 14px; margin: 6px 0 16px; }
.route-points { margin-bottom: 20px; white-space: pre-line; }
.route-points li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  padding: 6px 0;
  color: #334155;
  border-bottom: 1px dashed var(--line);
}
.route-points i { color: var(--cyan); font-style: normal; font-weight: 800; }
.route-sign {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 18px;
  padding: 14px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 10px;
}
.route-sign span { font-size: 13px; color: var(--gray); }
.route-sign b { font-size: 38px; color: var(--blue); line-height: 1; }
.route-sign small { font-size: 13px; color: var(--gray); font-weight: 600; }

/* ========================================
   核心优势
   ======================================== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.adv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: 0.28s;
  position: relative;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.adv-icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--c) 14%, white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.adv-card h4 { font-size: 19px; margin-bottom: 4px; }
.adv-num { font-weight: 800; color: var(--blue); font-size: 14px; margin-bottom: 8px; }
.adv-card p:last-child { color: var(--gray); font-size: 14px; }
.adv-card-feature { border-color: var(--orange); }
.adv-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ========================================
   数据统计（11年深耕）
   ======================================== */
.experience-content > div:nth-of-type(1) { margin-bottom: 30px; }
.experience-section { background: var(--white); }
.world-map-wrapper { position: relative; }
.world-map-wrapper img { width: 100%; border-radius: var(--radius-lg); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-md); }
.stat-card {
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  transition: all var(--transition-base);
}
.stat-card:hover { background: var(--primary-light); }
.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label { color: var(--gray-600); font-size: var(--font-size-sm); margin-top: var(--spacing-xs); }

/* ========================================
   客户信赖
   ======================================== */
.clients-trust {
  width: 100%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cpath d='M0 80 Q100 30 200 80 T400 80 T600 80 T800 80' fill='none' stroke='rgba(255,255,255,0.13)' stroke-width='1.5'/%3E%3Cpath d='M0 180 Q100 230 200 180 T400 180 T600 180 T800 180' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='1.2'/%3E%3Cpath d='M0 280 Q100 230 200 280 T400 280 T600 280 T800 280' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3Cpath d='M0 370 Q100 420 200 370 T400 370 T600 370 T800 370' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cpath d='M0 120 Q75 70 150 120 T300 120 T450 120 T600 120' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Cpath d='M0 250 Q75 300 150 250 T300 250 T450 250 T600' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3Cpath d='M0 340 Q75 290 150 340 T300 340 T450 340 T600 340' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(120deg, #0072E5, #0060C0, #004A95);
  background-repeat: repeat, repeat, no-repeat;
  background-size: 800px 400px, 600px 400px, cover;
  animation: waveMove 22s linear infinite;
}
@keyframes waveMove {
  0%   { background-position: 0px 0px, 0px 0px, center; }
  100% { background-position: -800px 0px, 600px 0px, center; }
}
@media (prefers-reduced-motion: reduce) {
  .clients-trust { animation: none; }
}
.clients-trust .section-head h2,
.clients-trust .section-head p,
.clients-trust .nav-pills .nav-link {
  color: var(--primary-light) !important;
}

.client-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}
.client-avatar {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-round);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.client-info h4 { font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.stars { color: #FFC107; margin-bottom: var(--spacing-sm); }
.client-info p { color: var(--gray-600); font-style: italic; }

/* ========================================
   合作伙伴
   ======================================== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
}
.partner-item {
  width: 150px;
  height: 70px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}
.partner-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: scale(1.05); }
.partner-name { font-weight: 700; color: var(--gray-700); font-size: var(--font-size-sm); }

/* ========================================
   资讯卡片 / FAQ
   ======================================== */
.faq-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  height: 100%;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.faq-header { display: flex; align-items: center; gap: 12px; margin-bottom: var(--spacing-md); }
.faq-header i { font-size: 22px; color: var(--primary); }
.faq-header h4 { font-weight: 700; margin: 0; }
.faq-list li { padding: 8px 0; border-bottom: 1px solid var(--gray-200); }
.faq-list li:last-child { border-bottom: none; }
.faq-list a {
  color: var(--gray-700);
  transition: color var(--transition-fast);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.faq-list a:hover { color: var(--primary); }

/* ========================================
   CTA 通栏
   ======================================== */
.cta-section {
  color: var(--white);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400'%3E%3Cpath d='M0 80 Q100 30 200 80 T400 80 T600 80 T800 80' fill='none' stroke='rgba(255,255,255,0.13)' stroke-width='1.5'/%3E%3Cpath d='M0 180 Q100 230 200 180 T400 180 T600 180 T800 180' fill='none' stroke='rgba(255,255,255,0.10)' stroke-width='1.2'/%3E%3Cpath d='M0 280 Q100 230 200 280 T400 280 T600 280 T800 280' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3Cpath d='M0 370 Q100 420 200 370 T400 370 T600 370 T800 370' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cpath d='M0 120 Q75 70 150 120 T300 120 T450 120 T600 120' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3Cpath d='M0 250 Q75 300 150 250 T300 250 T450 250 T600' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3Cpath d='M0 340 Q75 290 150 340 T300 340 T450 340 T600 340' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E"),
    linear-gradient(120deg, #0072E5, #0060C0, #004A95);
  background-repeat: repeat, repeat, no-repeat;
  background-size: 800px 400px, 600px 400px, cover;
  animation: waveMove 22s linear infinite;
}
.cta-section h2 { font-weight: 800; }
.cta-section .subtitle { color: rgba(255, 255, 255, 0.9); }
.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.cta-section .btn-primary:hover { background: var(--gray-100); color: var(--primary-dark); }

/* ========================================
   子页 Banner / 面包屑
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
}
.page-banner-sm { padding: 60px 0 40px; }
.page-banner h1 { font-size: var(--font-size-3xl); font-weight: 800; margin-bottom: var(--spacing-sm); }
.page-banner-sm h1 { font-size: var(--font-size-2xl); }
.page-banner p { font-size: var(--font-size-lg); opacity: 0.9; }
.breadcrumb { justify-content: center; margin: var(--spacing-md) 0 0; }
.breadcrumb-item a { color: rgba(255, 255, 255, 0.8); }
.breadcrumb-item.active { color: rgba(255, 255, 255, 0.6); }

/* ========================================
   新闻分类子导航
   ======================================== */
.news-category-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.news-category-nav {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.news-category-nav .category-link {
  display: inline-block;
  padding: 14px 24px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.news-category-nav .category-link:hover { color: var(--primary); }
.news-category-nav .category-link.active {
  color: var(--primary);
  font-weight: 700;
  border-bottom-color: var(--primary);
}

/* ========================================
   新闻卡片
   ======================================== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.news-img-box {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f2f4f8;
  align-items: center;
  justify-content: center;
}
.news-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.news-card:hover .news-thumb { transform: scale(1.05); }
.news-img-box i {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #c5cbd3;
  z-index: 2;
}
.news-img-box.no-image i { display: flex; }

.news-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}
.news-tag-abs {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  margin: 0;
  background: rgba(0, 82, 217, 0.92);
  color: #fff;
}
.news-tag.tag-company { background: #E8F5E9; color: var(--success); }
.news-tag.tag-faq { background: #FFF3E0; color: var(--warning); }

.news-body { padding: var(--spacing-lg); flex: 1; display: flex; flex-direction: column; }
.news-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-title a { color: var(--dark); }
.news-title a:hover { color: var(--primary); }

.news-desc {
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin: 0 0 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-200);
  display: flex;
  gap: 16px;
  color: var(--gray-500);
  font-size: 0.8rem;
}
.news-meta i { margin-right: 4px; color: var(--primary); }

.news-pagination { margin-top: var(--spacing-xl); }
.news-pagination .page-link {
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  margin: 0 3px;
  border: 1px solid var(--gray-300);
  padding: 8px 16px;
  transition: all var(--transition-fast);
}
.news-pagination .page-link:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary-light); }
.news-pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* ========================================
   文章详情
   ======================================== */
.article-detail {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}
.article-header { margin-bottom: var(--spacing-lg); }
.article-header h1 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.4;
  margin-top: var(--spacing-sm);
}
.article-meta {
  display: flex;
  gap: var(--spacing-lg);
  color: var(--gray-600);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-sm);
  flex-wrap: wrap;
}
.article-meta i { margin-right: 4px; color: var(--primary); }

.article-summary {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--spacing-xl);
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  line-height: 1.8;
}

.article-content { color: var(--gray-800); line-height: 1.9; font-size: 1rem; }
.article-content h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--dark);
  margin: var(--spacing-xl) 0 var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--gray-200);
}
.article-content h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--dark);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}
.article-content p { margin-bottom: var(--spacing-md); text-indent: 2em; }
.article-content ul { margin: var(--spacing-md) 0; padding-left: var(--spacing-lg); list-style: disc; }
.article-content ul li { margin-bottom: var(--spacing-sm); color: var(--gray-700); }
.article-content strong { color: var(--dark); }

.article-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
}
.tag-label { color: var(--gray-600); font-size: var(--font-size-sm); }
.tag-link {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.tag-link:hover { background: var(--primary); color: var(--white); }

.article-prev-next {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
}
.prev-article,
.next-article {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  text-decoration: none;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  background: var(--gray-100);
  transition: all var(--transition-fast);
}
.prev-article:hover,
.next-article:hover { background: var(--primary-light); color: var(--primary); }
.next-article { text-align: right; justify-content: flex-end; }
.prev-article span,
.next-article span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================
   侧边栏
   ======================================== */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: var(--spacing-lg);
}
.sidebar-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-title i { color: var(--primary); }

.sidebar-categories { padding: 0; margin: 0; }
.sidebar-categories li { margin-bottom: 2px; }
.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  font-size: var(--font-size-sm);
}
.sidebar-categories a:hover,
.sidebar-categories a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.sidebar-categories a span { color: var(--gray-500); font-size: 0.8rem; }
.sidebar-categories a:hover span,
.sidebar-categories a.active span { color: var(--primary); }

.sidebar-hot-list { padding: 0; margin: 0; }
.sidebar-hot-list li { margin-bottom: 2px; }
.sidebar-hot-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  text-decoration: none;
  border-bottom: 1px dashed var(--gray-200);
  transition: all var(--transition-fast);
}
.sidebar-hot-list li:last-child a { border-bottom: none; }
.sidebar-hot-list a:hover { padding-left: 6px; }
.hot-rank {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hot-rank.hot-rank-normal { background: var(--gray-400); }
.hot-info { flex: 1; min-width: 0; }
.hot-title {
  color: var(--gray-700);
  font-size: var(--font-size-sm);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}
.sidebar-hot-list a:hover .hot-title { color: var(--primary); }
.hot-info small { display: block; margin-top: 2px; }

.sidebar-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
  border: none;
}
.sidebar-cta i { font-size: 36px; margin-bottom: var(--spacing-sm); opacity: 0.8; }
.sidebar-cta h4 { font-weight: 700; margin-bottom: var(--spacing-sm); }
.sidebar-cta p { opacity: 0.9; font-size: var(--font-size-sm); margin-bottom: var(--spacing-md); }
.sidebar-cta .btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.sidebar-cta .btn-primary:hover { background: var(--gray-100); color: var(--primary-dark); }

/* ========================================
   分页
   ======================================== */
.pglist {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 40px 0;
  font-size: 14px;
}
.pglist li { list-style: none; }
.pglist a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  color: #333;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  transition: all 0.25s ease;
}
.pglist a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.pglist a.active { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; cursor: default; }
.pglist span,
.pglist a.disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f5f5f5;
  color: #bbb;
  border: 1px solid #eee;
  cursor: not-allowed;
}
.pglist .ellipsis { padding: 0 8px; color: #999; }

/* ========================================
   Footer
   ======================================== */
.main-footer { background: var(--dark); color: var(--gray-400); }
.footer-top { padding: var(--spacing-2xl) 0 var(--spacing-xl); }
.footer-brand .logo-wrapper { margin-bottom: var(--spacing-md); }
.footer-brand .logo-icon { color: var(--primary); }
.footer-brand .logo-main { color: var(--white); font-size: 1.1rem; }
.footer-brand .logo-sub { color: var(--gray-500); font-size: 0.55rem; }
.footer-desc { color: var(--gray-500); margin: var(--spacing-md) 0; max-width: 350px; }
.social-links { display: flex; gap: 12px; }
.social-links img { width: 150px; border-radius: 6px; }

.footer-title { color: var(--white); font-weight: 700; margin-bottom: var(--spacing-md); font-size: var(--font-size-base); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--gray-500); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--primary); }

.footer-contact li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--primary); width: 18px; text-align: center; }

.footer-bottom { background: rgba(0, 0, 0, 0.2); padding: var(--spacing-md) 0; font-size: var(--font-size-sm); }
.footer-bottom a { color: var(--gray-500); margin-left: var(--spacing-md); }
.footer-bottom a:hover { color: var(--primary); }

/* ========================================
   FBA 仓库
   ======================================== */
.fba-item a { text-decoration: none; color: #000; }
.fba-card {
  display: flex;
  align-items: center;
  background: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}
.fba-item:hover .fba-card { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); }
.fba-card .fba-thumb {
  width: 50%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
@supports not (aspect-ratio: 3 / 2) {
  .fba-card .fba-thumb { height: auto; }
}
.fba-card > div { width: 50%; padding: 12px 16px; box-sizing: border-box; }
.fba-card h4 { margin: 0; font-size: 16px; color: #000; line-height: 1.4; }

/* ========================================
   兄弟文章导航（FBA 仓库正文）
   ======================================== */
.sibling-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 30px;
}
.sibling-nav a {
  flex: 0 0 calc((100% - 60px) / 6);
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.25s ease;
}
.sibling-nav a:hover { border-color: var(--primary); color: var(--primary); background: #f3f7ff; }
.sibling-nav a.active {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  font-weight: 600;
  cursor: default;
}

.article-body { line-height: 1.9; font-size: 15px; color: #333; }
