/* ==========================================================
   贵州尚金 · 物联网服务信息平台
   全站公共样式（顶部导航 / 首页 / 页脚）
   配色：深空蓝 #030e1f / #0b1f3a
         电光青 #00b4d8 / #0090ff / #48cae4
   ========================================================== */

/* ==========================================================
   1. 顶部导航（head.htm 引入）
   ========================================================== */
.iot-topbar {
  background: linear-gradient(135deg, #030e1f 0%, #0b1f3a 60%, #123a63 100%);
  padding: 10px 0;
  position: relative;
  overflow: hidden;
}
.iot-topbar::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00b4d8, #0090ff, #48cae4, #00b4d8);
  background-size: 200% 100%;
  animation: iotFlow 6s linear infinite;
}
@keyframes iotFlow {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.iot-topbar .navbar-brand {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.iot-topbar .navbar-brand img {
  height: 44px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  padding: 3px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}
.iot-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.iot-brand-text strong {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.iot-brand-text small {
  font-size: 10px;
  color: #48cae4;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.iot-contact {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-right: 18px;
}
.iot-contact i {
  font-size: 15px;
  color: #48cae4;
  margin-right: 6px;
}
.iot-user {
  display: flex !important;
  align-items: center;
  color: #fff !important;
  font-size: 13px;
  background: rgba(255,255,255,0.1) !important;
  border-radius: 50px !important;
  padding: 8px 18px !important;
  transition: all 0.3s;
}
.iot-user:hover { background: rgba(72,202,228,0.25) !important; }
.iot-user i { font-size: 17px; margin-right: 6px; color: #48cae4; }

/* ---- 主导航 ---- */
.iot-navmain {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(3,14,31,0.08) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.iot-navmain .navbar-nav > .nav-item {
  position: relative;
}
.iot-navmain .navbar-nav > .nav-item > .nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #1e293b !important;
  padding: 18px 20px !important;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s;
}
.iot-navmain .navbar-nav > .nav-item > .nav-link::after {
  content: '';
  position: absolute;
  left: 20px; right: 20px; bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #00b4d8, #0090ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.iot-navmain .navbar-nav > .nav-item:hover > .nav-link,
.iot-navmain .navbar-nav > .nav-item.active > .nav-link {
  color: #0077b6 !important;
}
.iot-navmain .navbar-nav > .nav-item:hover > .nav-link::after,
.iot-navmain .navbar-nav > .nav-item.active > .nav-link::after {
  transform: scaleX(1);
}
/* 发布按钮（高特异性，确保内边距不被 .nav-link 覆盖） */
.iot-publish-btn,
.iot-navmain .navbar-nav > .nav-item > .nav-link.iot-publish-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  padding: 9px 28px 9px 34px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #fff !important;
  letter-spacing: 0.5px;
  text-decoration: none;
  background: linear-gradient(135deg, #00b4d8, #0090ff);
  border-radius: 50px !important;
  box-shadow:
    0 4px 16px rgba(0,180,216,0.4),
    inset 0 1px 0 rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
  transition: all 0.3s !important;
  animation: publishGlow 2.6s ease-in-out infinite;
}
@keyframes publishGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,180,216,0.4), inset 0 1px 0 rgba(255,255,255,0.35); }
  50% { box-shadow: 0 6px 28px rgba(0,180,216,0.65), inset 0 1px 0 rgba(255,255,255,0.35); }
}
.iot-publish-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: 1;
}
.iot-publish-btn:hover {
  transform: translateY(-3px);
  animation-play-state: paused;
  box-shadow: 0 10px 32px rgba(0,180,216,0.6), inset 0 1px 0 rgba(255,255,255,0.35);
  color: #fff !important;
}
.iot-publish-btn:hover::before { left: 130%; }
.iot-publish-btn i {
  font-size: 15px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s;
}
.iot-publish-btn:hover i { transform: translate(3px, -3px) rotate(-12deg); }
.iot-publish-text { position: relative; z-index: 2; }

/* ==========================================================
   2. 页脚（footer.htm 引入）
   ========================================================== */
.iot-footer {
  position: relative;
  background: linear-gradient(160deg, #030e1f 0%, #0b1f3a 60%, #0d2b52 100%);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.9;
  padding-top: 60px;
  overflow: hidden;
}
/* 顶部渐变流光线 */
.iot-footer-wave {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #0090ff, #48cae4, #00b4d8);
  background-size: 200% 100%;
  animation: iotFlow 6s linear infinite;
}
.iot-footer-brand {
  display: flex;
  align-items: center;
}
.iot-footer-brand img {
  height: 48px;
  border-radius: 6px;
  background: rgba(255,255,255,0.12);
  padding: 3px;
  margin-right: 12px;
}
.iot-footer-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.iot-footer-brand-text strong {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.iot-footer-brand-text small {
  font-size: 10px;
  color: #48cae4;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.iot-footer-about { margin-bottom: 18px; color: rgba(255,255,255,0.62); }
.iot-footer-contact p { margin-bottom: 8px; display: flex; align-items: flex-start; }
.iot-footer-contact i {
  color: #48cae4;
  font-size: 15px;
  margin-right: 8px;
  margin-top: 3px;
}
.iot-footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 1px;
}
.iot-footer-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: linear-gradient(90deg, #00b4d8, #0090ff);
  border-radius: 2px;
}
.iot-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.iot-footer-links li { margin-bottom: 10px; color: rgba(255,255,255,0.6); }
.iot-footer-links li i {
  color: #48cae4;
  margin-right: 6px;
  font-size: 13px;
  transition: transform 0.2s;
}
.iot-footer-links li a {
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
}
.iot-footer-links li a:hover {
  color: #48cae4;
  text-decoration: none;
}
.iot-footer-links li a:hover i { transform: translateX(4px); }
.iot-footer-bottom {
  margin-top: 40px;
  padding: 16px 0;
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.iot-footer-bottom a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.iot-footer-bottom a:hover { color: #48cae4; text-decoration: none; }

/* ==========================================================
   3. 首页公共变量
   ========================================================== */
:root {
  --primary: #00b4d8;
  --primary-dark: #0077b6;
  --primary-deep: #0b1f3a;
  --primary-ink: #030e1f;
  --accent: #48cae4;
  --accent-light: #90e0ef;
  --grad-main: linear-gradient(135deg, #00b4d8, #0090ff);
  --gray-50: #f4f8fc;
  --gray-100: #e9f1f9;
  --gray-200: #dbe7f2;
  --gray-400: #7b94ab;
  --gray-600: #45617d;
  --gray-800: #1c2c42;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(3,14,31,0.08);
  --shadow: 0 6px 18px rgba(3,14,31,0.09);
  --shadow-lg: 0 14px 36px rgba(3,14,31,0.14);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body { background: #fff; overflow-x: hidden; }

/* ---- 区域标题 ---- */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title .label {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,180,216,0.1), rgba(0,144,255,0.1));
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 50px;
  letter-spacing: 1px;
  margin-bottom: 14px;
  border: 1px solid rgba(0,180,216,0.2);
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.section-title .line {
  width: 48px;
  height: 3px;
  background: var(--grad-main);
  border-radius: 2px;
  margin: 0 auto 14px;
}
.section-title p {
  font-size: 15px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================
   4. HERO BANNER 区域（科技网格背景）
   ========================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(0,180,216,0.22), transparent 55%),
    radial-gradient(ellipse at 85% 30%, rgba(0,144,255,0.18), transparent 55%),
    radial-gradient(ellipse at 60% 90%, rgba(72,202,228,0.12), transparent 50%),
    linear-gradient(135deg, var(--primary-ink) 0%, var(--primary-deep) 55%, #0a2a52 100%);
}
/* 科技网格 */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72,202,228,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,202,228,0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 78%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 78%);
  z-index: 1;
}
/* 发光节点 */
.hero-node {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  animation: nodePulse 3s ease-in-out infinite;
  z-index: 1;
}
@keyframes nodePulse {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}
/* 浮动信号圆环 */
.hero-ring {
  position: absolute;
  border: 1px solid rgba(72,202,228,0.35);
  border-radius: 50%;
  animation: ringPulse 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0.9; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 860px;
  padding: 60px 20px;
}
.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,180,216,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(72,202,228,0.35);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 22px;
  border-radius: 50px;
  letter-spacing: 2px;
  margin-bottom: 26px;
}
.hero-content .hero-badge i { font-size: 14px; }
.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-content h1 span {
  background: linear-gradient(90deg, #48cae4, #00b4d8, #0090ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 34px;
  line-height: 1.9;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-content .hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-content .hero-btns .btn {
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
  transition: var(--transition);
}
.hero-content .btn-primary-hero {
  background: var(--grad-main);
  border: 2px solid transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,180,216,0.4);
}
.hero-content .btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,180,216,0.55);
  color: #fff;
}
.hero-content .btn-outline-hero {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(72,202,228,0.5);
  color: #fff;
}
.hero-content .btn-outline-hero:hover {
  background: rgba(72,202,228,0.15);
  border-color: var(--accent);
  transform: translateY(-2px);
}
/* Hero 底部数据条 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-light);
  font-family: Arial, sans-serif;
}
.hero-stats .stat .txt {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  margin-top: 2px;
}
/* 滚动提示 */
.hero-scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceDown 2s infinite;
}
.hero-scroll-indicator span {
  display: block;
  width: 28px; height: 44px;
  border: 2px solid rgba(72,202,228,0.5);
  border-radius: 50px;
  position: relative;
}
.hero-scroll-indicator span::after {
  content: '';
  width: 5px; height: 10px;
  background: var(--accent);
  border-radius: 3px;
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollDot {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ==========================================================
   5. 服务特色区域
   ========================================================== */
.features-section { padding: 80px 0 60px; background: #fff; }
.feature-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(135deg, rgba(0,180,216,0.05), rgba(0,144,255,0.05));
  transition: height 0.3s ease;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: var(--grad-main);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.feature-card:hover::before { height: 100%; }
.feature-card:hover::after { opacity: 1; }
.feature-card .feature-icon {
  position: relative;
  z-index: 1;
  width: 66px; height: 66px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 28px;
  transition: var(--transition);
}
.feature-card:nth-child(1) .feature-icon { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); color: #00838f; }
.feature-card:nth-child(2) .feature-icon { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.feature-card:nth-child(3) .feature-icon { background: linear-gradient(135deg, #e0f2f1, #b2dfdb); color: #00695c; }
.feature-card:nth-child(4) .feature-icon { background: linear-gradient(135deg, #eceff1, #cfd8dc); color: #455a64; }
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-4deg); }
.feature-card h4 {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}
.feature-card p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--gray-400);
  margin: 0;
  line-height: 1.7;
}

/* ==========================================================
   6. 物联网服务信息 轮播卡片区域
   ========================================================== */
.cooperation-section {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--gray-50), #fff);
}
.cooperation-section .view_slider { margin-top: 0; }
.info-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin: 0 10px 20px;
  border: 1px solid var(--gray-200);
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,180,216,0.35);
}
.info-card .card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.info-card .card-img-wrapper img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.info-card:hover .card-img-wrapper img { transform: scale(1.08); }
.info-card .card-img-wrapper .card-date {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(3,14,31,0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 500;
}
.info-card .card-img-wrapper .card-type {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, #00b4d8, #0090ff);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.info-card .card-body { padding: 18px 20px 20px; }
.info-card .card-body .card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(0,180,216,0.1);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.info-card .card-body h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.info-card .card-body h5 a { color: var(--gray-800); transition: color 0.2s; }
.info-card .card-body h5 a:hover { color: var(--primary-dark); }
.info-card .card-body .card-desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.info-card .card-body .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.info-card .card-body .card-meta .author { display: flex; align-items: center; gap: 6px; }
.info-card .card-body .card-meta .author i { color: var(--primary); }

/* Slick 轮播箭头样式覆盖 */
.cooperation-section .recommended-slider .slick-arrow {
  top: -54px;
  width: 36px; height: 36px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cooperation-section .recommended-slider .slick-arrow:hover {
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,180,216,0.35);
}
.cooperation-section .recommended-slider .slick-arrow:before { color: var(--gray-600); transition: color 0.2s; }
.cooperation-section .recommended-slider .slick-arrow:hover:before { color: #fff; }
.cooperation-section .recommended-slider .slick-prev { right: 46px; left: auto; }
.cooperation-section .recommended-slider .slick-next { right: 0; }

/* ==========================================================
   7. 热门信息 网格卡片区域（一行3条 × 共2行）
   ========================================================== */
.hot-section { padding: 80px 0; background: #fff; }
.hot-grid-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 28px;
  border: 1px solid var(--gray-200);
  position: relative;
}
.hot-grid-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}
.hot-grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,180,216,0.4);
}
.hot-grid-card:hover::before { transform: scaleX(1); }
.hot-grid-media {
  position: relative;
  display: block;
  height: 172px;
  overflow: hidden;
  background: var(--gray-100);
}
.hot-grid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hot-grid-card:hover .hot-grid-media img { transform: scale(1.08); }
.hot-grid-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,14,31,0.02) 55%, rgba(3,14,31,0.5) 100%);
}
.hot-grid-no {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  min-width: 42px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(245,158,11,0.35);
  letter-spacing: 1px;
  font-family: Arial, sans-serif;
}
.hot-grid-type {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-light);
  background: rgba(3,14,31,0.55);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(72,202,228,0.35);
}
.hot-grid-body { padding: 18px 20px 20px; }
.hot-grid-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hot-grid-title a { color: var(--gray-800); transition: color 0.2s; }
.hot-grid-title a:hover { color: var(--primary-dark); }
.hot-grid-desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  min-height: 44px;
}
.hot-grid-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-400);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.hot-grid-foot span { display: inline-flex; align-items: center; gap: 4px; }
.hot-grid-foot i { color: var(--primary); font-size: 13px; }

/* ==========================================================
   8. 精选推荐 横向卡片
   ========================================================== */
.recommend-section { padding: 80px 0; background: var(--gray-50); }
.recommend-list-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 18px;
  transition: var(--transition);
}
.recommend-list-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: rgba(0,180,216,0.35);
}
.recommend-list-card .thumb {
  flex: 0 0 120px;
  height: 86px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-100);
}
.recommend-list-card .thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.recommend-list-card:hover .thumb img { transform: scale(1.08); }
.recommend-list-card .info { flex: 1; min-width: 0; }
.recommend-list-card .info h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recommend-list-card .info h5 a { color: var(--gray-800); transition: color 0.2s; }
.recommend-list-card .info h5 a:hover { color: var(--primary-dark); }
.recommend-list-card .info .meta {
  font-size: 12px;
  color: var(--gray-400);
  display: flex;
  gap: 14px;
}
.recommend-list-card .info .meta i { color: var(--primary); margin-right: 3px; }

/* ==========================================================
   9. CTA 行动区域
   ========================================================== */
.cta-section {
  position: relative;
  padding: 66px 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,180,216,0.25), transparent 55%),
    linear-gradient(135deg, var(--primary-ink) 0%, var(--primary-deep) 60%, #0a2a52 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72,202,228,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,202,228,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 80%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 80%);
}
.cta-section .cta-content { position: relative; z-index: 1; }
.cta-section h2,
.cta-section h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-section h2 span,
.cta-section h3 span {
  background: linear-gradient(90deg, #48cae4, #00b4d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 30px;
}
.cta-contact-info {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(72,202,228,0.22);
  border-radius: 50px;
  padding: 9px 20px;
  transition: var(--transition);
}
.cta-contact-item:hover {
  background: rgba(72,202,228,0.14);
  border-color: rgba(72,202,228,0.5);
}
.cta-contact-item i {
  color: var(--accent);
  font-size: 15px;
}
.cta-section .btn-cta {
  display: inline-block;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--grad-main);
  border-radius: 50px;
  box-shadow: 0 6px 22px rgba(0,180,216,0.4);
  transition: var(--transition);
}
.cta-section .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,180,216,0.55);
  color: #fff;
  text-decoration: none;
}

/* ==========================================================
   10. 响应式
   ========================================================== */
@media (max-width: 991px) {
  .iot-topbar .navbar-collapse {
    background: #fff;
    border-radius: 8px;
    margin-top: 10px;
    padding: 8px 12px;
  }
  .iot-topbar .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .iot-topbar .navbar-nav .nav-link {
    color: #1e293b !important;
    font-size: 13px;
    padding: 6px 10px !important;
  }
  .iot-topbar .iot-contact { display: none; }
  .iot-publish-btn,
  .iot-navmain .navbar-nav > .nav-item > .nav-link.iot-publish-btn {
    margin: 6px 0;
    padding: 8px 18px !important;
    font-size: 13px !important;
  }
  .hero-section { min-height: 520px; }
  .hero-content h1 { font-size: 34px; }
  .hero-content .hero-desc { font-size: 15px; }
  .hero-stats { gap: 28px; }
  .section-title h2 { font-size: 26px; }
  .hot-grid-media { height: 190px; }
}

@media (max-width: 767px) {
  .hero-section { min-height: 460px; }
  .hero-content { padding: 40px 16px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content .hero-desc { font-size: 14px; }
  .hero-content .hero-btns .btn { padding: 12px 26px; font-size: 14px; }
  .hero-stats { gap: 20px; margin-top: 32px; }
  .hero-stats .stat .num { font-size: 20px; }
  .iot-navmain .navbar-nav > .nav-item > .nav-link { padding: 14px 14px !important; }
  .features-section, .hot-section, .recommend-section { padding: 56px 0; }
  .cooperation-section { padding: 50px 0; }
  .hot-grid-media { height: 210px; }
  .recommend-list-card { flex-direction: row; align-items: flex-start; }
  .recommend-list-card .thumb { flex: 0 0 92px; height: 72px; }
  .cta-section h2, .cta-section h3 { font-size: 24px; }
  .cta-section .btn-cta { padding: 12px 30px; font-size: 14px; }
}

/* ==========================================================
   11. 列表页（list_article.htm）
   ========================================================== */
/* ---- 页面头部横幅 ---- */
.list-header {
  position: relative;
  padding: 54px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(0,180,216,0.22), transparent 55%),
    radial-gradient(ellipse at 12% 80%, rgba(0,144,255,0.18), transparent 55%),
    linear-gradient(135deg, var(--primary-ink) 0%, var(--primary-deep) 55%, #0a2a52 100%);
}
.list-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72,202,228,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,202,228,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 78%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 78%);
}
.list-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #0090ff, #48cae4, #00b4d8);
  background-size: 200% 100%;
  animation: iotFlow 6s linear infinite;
}
.list-header h1 {
  position: relative;
  z-index: 1;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.list-header .breadcrumb-nav {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.list-header .breadcrumb-nav a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  text-decoration: none;
}
.list-header .breadcrumb-nav a:hover { color: var(--accent); }
.list-header .breadcrumb-nav .sep { color: rgba(255,255,255,0.3); }
.list-header .breadcrumb-nav .current {
  color: var(--accent-light);
  font-weight: 600;
}

/* ---- 主内容区 ---- */
.list-main {
  padding: 44px 0 64px;
  background: var(--gray-50);
  min-height: 60vh;
}

/* ---- 列表卡片 ---- */
.list-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 56px;
  border: 1px solid var(--gray-200);
  height: 100%;
  position: relative;
}
.list-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--grad-main);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.list-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,180,216,0.4);
}
.list-card:hover::before { opacity: 1; }
.list-card .card-img {
  width: 100%;
  min-width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
}
.list-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.list-card:hover .card-img img { transform: scale(1.08); }
.list-card .card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(3,14,31,0.3) 100%);
}
.list-card .card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-deep), #0a2a52);
  color: var(--accent);
  font-size: 46px;
}
.list-card .card-img .img-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: var(--grad-main);
  padding: 4px 12px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,180,216,0.3);
}
.list-card .card-img .img-date {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  background: rgba(3,14,31,0.55);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15);
}
.list-card .card-body {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.list-card .card-body .card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.18);
  padding: 3px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.list-card .card-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card .card-body h3 a { color: var(--gray-800); text-decoration: none; transition: color 0.2s; }
.list-card .card-body h3 a:hover { color: var(--primary-dark); }
.list-card .card-body .card-desc {
  font-size: 13px;
  color: var(--gray-400);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  flex-grow: 1;
}
.list-card .card-body .card-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--gray-400);
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}
.list-card .card-body .card-meta span { display: flex; align-items: center; gap: 5px; }
.list-card .card-body .card-meta .fa { color: var(--primary); font-size: 12px; }

/* ---- 分页 ---- */
.list-pagination { margin-top: 44px; }
.list-pagination .pagelist {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.list-pagination .pagelist li { margin: 0; float: none; }
.list-pagination .pagelist li a,
.list-pagination .pagelist li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.list-pagination .pagelist li a:hover {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: rgba(0,180,216,0.06);
}
.list-pagination .pagelist li.thisclass span,
.list-pagination .pagelist li.thisclass a {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0,180,216,0.35);
}
.list-pagination .pagelist .info {
  font-size: 13px;
  color: var(--gray-400);
  padding: 0 8px;
  border: none;
  background: transparent;
}

/* ---- 空内容提示 ---- */
.list-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--gray-400);
}
.list-empty .fa {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
  color: var(--gray-200);
}

/* ---- 列表页响应式 ---- */
@media (max-width: 991px) {
  .list-header { padding: 40px 0; }
  .list-header h1 { font-size: 26px; }
  .list-card .card-img { height: 190px; }
}
@media (max-width: 767px) {
  .list-header { padding: 30px 0; }
  .list-header h1 { font-size: 21px; }
  .list-main { padding: 24px 0 44px; }
  .list-card .card-img { height: 170px; }
  .list-card .card-body { padding: 16px; }
  .list-card .card-body h3 { font-size: 15px; }
  .list-card .card-body .card-meta { gap: 12px; flex-wrap: wrap; }
  .list-pagination .pagelist li a,
  .list-pagination .pagelist li span { min-width: 34px; height: 34px; font-size: 13px; }
}

/* ==========================================================
   12. 文章详情页（article_article.htm）
   ========================================================== */
/* ---- 页面头部 ---- */
.article-header {
  position: relative;
  padding: 46px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(0,180,216,0.22), transparent 55%),
    radial-gradient(ellipse at 12% 80%, rgba(0,144,255,0.18), transparent 55%),
    linear-gradient(135deg, var(--primary-ink) 0%, var(--primary-deep) 55%, #0a2a52 100%);
}
.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72,202,228,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,202,228,0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 78%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85), transparent 78%);
}
.article-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4d8, #0090ff, #48cae4, #00b4d8);
  background-size: 200% 100%;
  animation: iotFlow 6s linear infinite;
}
.article-header .breadcrumb-nav {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.article-header .breadcrumb-nav a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  text-decoration: none;
}
.article-header .breadcrumb-nav a:hover { color: var(--accent); }
.article-header .breadcrumb-nav .sep { color: rgba(255,255,255,0.3); }
.article-header .breadcrumb-nav .current { color: var(--accent-light); font-weight: 600; }

/* ---- 主内容区 ---- */
.article-main {
  padding: 40px 0 60px;
  background: var(--gray-50);
  min-height: 60vh;
}
.article-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

/* ---- 题图区域（等比显示） ---- */
.article-cover {
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,180,216,0.16), transparent 62%),
    linear-gradient(135deg, var(--primary-deep), #0a2a52);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 26px 20px;
}
.article-cover img {
  max-width: 100%;
  max-height: 460px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
}
.article-cover .cover-placeholder {
  padding: 60px 0;
  text-align: center;
  color: rgba(72,202,228,0.6);
}
.article-cover .cover-placeholder .fa {
  font-size: 56px;
  display: block;
  margin-bottom: 12px;
}
.article-cover .cover-placeholder span {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: block;
}

/* ---- 文章内容 ---- */
.article-content { padding: 36px 44px 44px; }
.article-content .article-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.article-content .article-meta-top .meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(0,180,216,0.1);
  border: 1px solid rgba(0,180,216,0.18);
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}
.article-content .article-meta-top .meta-sep {
  width: 1px;
  height: 18px;
  background: var(--gray-200);
  margin: 0 4px;
}
.article-content .article-meta-top .meta-info {
  font-size: 13px;
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-content .article-meta-top .meta-info .fa { color: var(--primary); font-size: 12px; }

/* ---- 标题 ---- */
.article-content h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

/* ---- 联系信息模块 ---- */
.article-contact {
  position: relative;
  background: linear-gradient(135deg, rgba(0,180,216,0.07), rgba(0,144,255,0.05));
  border: 1px solid rgba(0,180,216,0.22);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 30px;
  overflow: hidden;
}
.article-contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--grad-main);
}
.article-contact .contact-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}
.article-contact .contact-header .fa { color: var(--primary); font-size: 16px; }
.article-contact .contact-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.article-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.article-contact .contact-label {
  color: var(--gray-400);
  font-size: 13px;
}
.article-contact .contact-label .fa { color: var(--primary); margin-right: 3px; }
.article-contact .contact-value {
  color: var(--gray-800);
  font-weight: 600;
  word-break: break-all;
}
.article-contact .contact-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0,180,216,0.25);
  font-size: 12px;
  color: var(--gray-400);
}
.article-contact .contact-note .fa { color: var(--primary); }

/* ---- 分隔线 ---- */
.article-content .section-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-50) 50%, var(--gray-200) 100%);
  margin: 30px 0;
}

/* ---- 正文内容 ---- */
.article-body {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.9;
  word-break: break-word;
}
.article-body p { margin-bottom: 20px; }
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
  box-shadow: var(--shadow-sm);
}
.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  color: var(--gray-800);
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}
.article-body h2 {
  font-size: 22px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}
.article-body h3 { font-size: 19px; }
.article-body h4 { font-size: 17px; }
.article-body ul,
.article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body ul li,
.article-body ol li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(0,180,216,0.05);
  border-radius: 0 8px 8px 0;
  color: var(--gray-600);
  font-style: italic;
}
.article-body a {
  color: var(--primary-dark);
  text-decoration: none;
  border-bottom: 1px dashed var(--primary-dark);
  transition: all 0.2s;
}
.article-body a:hover { color: var(--primary); border-bottom-style: solid; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}
.article-body table th,
.article-body table td {
  border: 1px solid var(--gray-200);
  padding: 10px 16px;
  text-align: left;
}
.article-body table th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-800);
}
.article-body code {
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  color: #e11d48;
}
.article-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
}
.article-body pre code { background: none; color: #e2e8f0; padding: 0; }

/* ---- 底部操作栏 ---- */
.article-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.article-footer-bar .article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.article-footer-bar .article-tags .tag-label {
  font-size: 13px;
  color: var(--gray-400);
}
.article-footer-bar .article-tags .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.article-footer-bar .article-tags .tag:hover {
  background: var(--grad-main);
  color: #fff;
}
.article-footer-bar .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-dark);
  background: rgba(0,180,216,0.08);
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
}
.article-footer-bar .back-btn:hover {
  background: var(--grad-main);
  color: #fff;
  text-decoration: none;
}

/* ---- 上一篇 / 下一篇 ---- */
.article-nav { display: flex; gap: 20px; margin-top: 24px; }
.article-nav .nav-item {
  flex: 1;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.3s;
  min-width: 0;
}
.article-nav .nav-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,180,216,0.12);
  transform: translateY(-2px);
}
.article-nav .nav-item:empty { display: none; }
.article-nav .nav-item a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  font-weight: 500;
  transition: color 0.2s;
  word-break: break-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-nav .nav-item a:hover { color: var(--primary-dark); text-decoration: none; }
.article-nav .nav-item.nav-prev { text-align: left; }
.article-nav .nav-item.nav-next { text-align: right; }

/* ---- 相关推荐 ---- */
.article-related { margin-top: 40px; }
.article-related .related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 24px;
}
.article-related .related-title .fa { color: var(--primary); }
.article-related .related-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.article-related .related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  text-decoration: none;
  display: block;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,180,216,0.4);
  text-decoration: none;
}
/* 相关推荐缩略图（等比显示） */
.related-card .related-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep), #0a2a52);
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-card .related-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s;
}
.related-card:hover .related-img img { transform: scale(1.06); }
.related-card .related-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(72,202,228,0.6);
  font-size: 32px;
}
.related-card .related-text { padding: 14px 16px; }
.related-card .related-text h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.related-card:hover .related-text h5 { color: var(--primary-dark); }
.related-card .related-text .related-date {
  font-size: 12px;
  color: var(--gray-400);
}
.related-card .related-text .related-date .fa { color: var(--primary); }

/* ---- 文章详情页响应式 ---- */
@media (max-width: 991px) {
  .article-content { padding: 30px 28px 36px; }
  .article-content h1 { font-size: 24px; }
  .article-body { font-size: 15px; }
  .article-related .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .article-header { padding: 28px 0; }
  .article-content { padding: 22px 18px 30px; }
  .article-content h1 { font-size: 20px; }
  .article-body { font-size: 14px; }
  .article-content .article-meta-top { gap: 8px; }
  .article-contact { padding: 14px 16px; }
  .article-contact .contact-row { gap: 14px; }
  .article-footer-bar { flex-direction: column; align-items: flex-start; }
  .article-content .section-divider { margin: 24px 0; }
  .article-nav { flex-direction: column; gap: 12px; }
  .article-nav .nav-item.nav-next { text-align: left; }
  .article-related .related-grid { grid-template-columns: 1fr; }
  .article-cover { padding: 16px 12px; }
  .article-cover img { max-height: 260px; }
}
