/* 企业极简蓝白主题（更商务） */

/* Reset */
* { box-sizing: border-box; }
html, body, p, h1, h2, h3, h4, h5, ul, ol, li, dl, dt, dd { margin: 0; padding: 0; }
header, section, footer, aside, nav, article, figure { display: block; }

/* Typography */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #0a2540; /* 深海军蓝文字 */
  background: #ffffff; /* 更纯净浅色背景 */
}

/* Layout container */
.container { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -14px; }
.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6,
.col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
.col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
.col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { position: relative; min-height: 1px; padding: 0 14px; float: left; }

/* Grid widths */
.col-xs-1 { width: 8.33333333%; }
.col-xs-2 { width: 16.66666667%; }
.col-xs-3 { width: 25%; }
.col-xs-4 { width: 33.33333333%; }
.col-xs-5 { width: 41.66666667%; }
.col-xs-6 { width: 50%; }
.col-xs-7 { width: 58.33333333%; }
.col-xs-8 { width: 66.66666667%; }
.col-xs-9 { width: 75%; }
.col-xs-10 { width: 83.33333333%; }
.col-xs-11 { width: 91.66666667%; }
.col-xs-12 { width: 100%; }

@media (min-width: 768px) {
  .col-sm-1 { width: 8.33333333%; }
  .col-sm-2 { width: 16.66666667%; }
  .col-sm-3 { width: 25%; }
  .col-sm-4 { width: 33.33333333%; }
  .col-sm-5 { width: 41.66666667%; }
  .col-sm-6 { width: 50%; }
  .col-sm-7 { width: 58.33333333%; }
  .col-sm-8 { width: 66.66666667%; }
  .col-sm-9 { width: 75%; }
  .col-sm-10 { width: 83.33333333%; }
  .col-sm-11 { width: 91.66666667%; }
  .col-sm-12 { width: 100%; }
}

@media (min-width: 992px) {
  .col-md-1 { width: 8.33333333%; }
  .col-md-2 { width: 16.66666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.33333333%; }
  .col-md-5 { width: 41.66666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.33333333%; }
  .col-md-8 { width: 66.66666667%; }
  .col-md-9 { width: 75%; }
  .col-md-10 { width: 83.33333333%; }
  .col-md-11 { width: 91.66666667%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 1200px) {
  .col-lg-1 { width: 8.33333333%; }
  .col-lg-2 { width: 16.66666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.33333333%; }
  .col-lg-5 { width: 41.66666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.33333333%; }
  .col-lg-8 { width: 66.66666667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.33333333%; }
  .col-lg-11 { width: 91.66666667%; }
  .col-lg-12 { width: 100%; }
}

/* Navbar - 极简底部分隔线，高对比文字，蓝色强调 */
.navbar { position: relative; z-index: 9998; height: 72px; background: #ffffff; border: 0; border-bottom: 1px solid #e5e7eb; box-shadow: 0 1px 0 rgba(0,0,0,0.02); }
.navbar-default { background: #ffffff; border: 0; border-bottom: 1px solid #e5e7eb; }
.navbar-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; height: 72px; }

.navbar-brand { color: #0a2540; font-size: 22px; font-weight: 800; letter-spacing: 0.2px; text-decoration: none; padding: 18px 0; max-width: 320px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.navbar-brand:hover, .navbar-brand:focus { color: #0b5cff; text-decoration: none; }

/* Hamburger */
.navbar-toggle { display: none; background: transparent; border: none; padding: 8px; margin: 10px 12px; border-radius: 0; transition: all 0.25s ease; }
.navbar-toggle:hover { background: transparent; }
.navbar-toggle .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.navbar-toggle .icon-bar { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: #0a2540; margin: 5px 0; transition: all 0.3s cubic-bezier(0.4,0,0.2,1); transform-origin: center; position: relative; }
.navbar-toggle.active .icon-bar:nth-child(2) { transform: translateY(7.5px) rotate(45deg); background: #0b5cff; }
.navbar-toggle.active .icon-bar:nth-child(3) { opacity: 0; transform: scaleX(0); }
.navbar-toggle.active .icon-bar:nth-child(4) { transform: translateY(-7.5px) rotate(-45deg); background: #0b5cff; }

.navbar-collapse { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 72px; }
.navbar-nav { display: flex; list-style: none; margin: 0; padding: 0; margin-left: -14px; }
.navbar-nav li { margin: 0 6px; }
.navbar-nav li:first-child { margin-left: 0; }
.navbar-nav li a { position: relative; display: block; padding: 10px 14px; color: #0a2540; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 4px; transition: color 0.2s ease; }
.navbar-nav li a:hover, .navbar-nav li a:focus { color: #0b5cff; text-decoration: none; }
.navbar-nav li a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: #0b5cff; transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.navbar-nav li a:hover::after, .navbar-nav li a:focus::after { transform: scaleX(1); }

.navbar-text { color: #0a2540; font-size: 15px; font-weight: 700; margin: 0; padding: 10px 12px; border-left: 1px solid #e5e7eb; }

/* Mobile navbar */
@media (max-width: 767px) {
  .navbar-toggle { display: block; }
  .navbar-header { justify-content: space-between; }
  .navbar-brand { order: 1; max-width: 80%; font-size: 18px; }
  .navbar-toggle { order: 2; }

  .navbar-collapse { position: absolute; top: 100%; left: 0; right: 0; background: #ffffff; border: 1px solid #e5e7eb; border-top: 2px solid #0b5cff; box-shadow: 0 12px 30px rgba(16,24,40,0.08); z-index: 9999; border-radius: 0; flex-direction: column; display: none; max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-10px); transition: max-height 0.35s ease-out, opacity 0.25s ease-out, transform 0.25s ease-out; }
  .navbar-collapse.show { display: flex !important; flex-direction: column; max-height: 600px; overflow: visible; opacity: 1; transform: translateY(0); }
  .navbar-nav { display: flex !important; flex-direction: column !important; width: 100%; gap: 0; }
  .navbar-nav li { margin: 0 !important; padding: 0 !important; width: 100%; line-height: 1; }
  .navbar-collapse.show .navbar-nav li a { opacity: 0; transform: translateY(-8px); animation: slideInDown 0.25s ease-out forwards; }
  .navbar-collapse.show .navbar-nav li:nth-child(1) a { animation-delay: 0.05s; }
  .navbar-collapse.show .navbar-nav li:nth-child(2) a { animation-delay: 0.1s; }
  .navbar-collapse.show .navbar-nav li:nth-child(3) a { animation-delay: 0.15s; }
  .navbar-collapse.show .navbar-nav li:nth-child(4) a { animation-delay: 0.2s; }
  .navbar-collapse.show .navbar-nav li:nth-child(5) a { animation-delay: 0.25s; }
  .navbar-collapse.show .navbar-nav li:nth-child(6) a { animation-delay: 0.3s; }
  .navbar-nav li a { display: block; width: 100%; padding: 16px 22px; background: #ffffff; color: #0a2540; border-bottom: 1px solid #f2f4f7; text-align: left; margin: 0; line-height: normal; }
  .navbar-nav li a:hover { background: #f8fafc; color: #0b5cff; padding-left: 28px; border-left: 4px solid #0b5cff; }
  .navbar-nav li:last-child a { border-bottom: none; }
  .navbar-text { display: block; padding: 18px 22px; text-align: center; background: #f9fafb; border-left: 0; }
}

@media (min-width: 768px) {
  .hidden-sm { display: block !important; }
  .navbar-nav { display: flex !important; flex-direction: row; }
  .navbar-nav li { display: block !important; }
  .navbar-collapse { display: flex !important; position: static; background: transparent; border: 0; box-shadow: none; flex-direction: row; align-items: center; justify-content: space-between; }
  .navbar-toggle { display: none !important; }
}

/* Headings */
h1 { color: #0a2540; font-size: 2.6rem; font-weight: 800; text-align: left; margin: 64px 0 36px 0; letter-spacing: 0; position: relative; padding-bottom: 18px; padding-left: 0; margin-left: 0; }

h4 { color: #0a2540; font-size: 1.35rem; font-weight: 700; margin: 28px 0 18px 0; padding-left: 0; margin-left: 0; position: relative; }

h5 { color: #475467; font-size: 1.05rem; font-weight: 600; margin: 14px 0; }

.page-header { border: 0; background: transparent; padding: 0; margin: 56px 0 36px 0; text-align: left; }

/* Cards */
.alert-warning { background: #ffffff; border: 1px solid #e5e7eb; color: #101828; border-radius: 12px; padding: 30px; margin-bottom: 26px; box-shadow: 0 1px 2px rgba(16,24,40,0.04); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.alert-warning:hover { box-shadow: 0 6px 20px rgba(16,24,40,0.08); transform: translateY(-2px); }

/* Images */
.img-thumbnail { padding: 0; border: 1px solid #e5e7eb; border-radius: 10px; max-width: 100%; height: auto; box-shadow: 0 2px 8px rgba(16,24,40,0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.img-thumbnail:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,24,40,0.10); border-color: #0b5cff; }
.img-responsive { max-width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid #e5e7eb; box-shadow: 0 1px 6px rgba(16,24,40,0.06); }
.caption { padding: 16px 0; text-align: center; }
.caption h4 { color: #0a2540; font-size: 1.15rem; font-weight: 700; margin: 0; padding: 0; text-align: center; }
.caption h4::before { display: none; }

.canshu { color: #475467; font-weight: 700; }

/* Text alignment */
.text-center { text-align: center !important; }

/* 地图图片容器 - 电脑端左对齐，手机端居中 */
@media (min-width: 768px) {
  .row.text-center { text-align: left !important; }
}
@media (max-width: 767px) {
  .row.text-center { text-align: center !important; }
}

/* Table */
.table { width: 100%; max-width: 100%; margin-bottom: 22px; border-collapse: collapse; border-spacing: 0; background: transparent; border-radius: 0; overflow: visible; box-shadow: none; border: none; }
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th,
.table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { padding: 14px 12px; line-height: 1.6; vertical-align: middle; border: none; color: #101828; }
.table > thead > tr > th { vertical-align: middle; border-bottom: 1px solid #d1d5db; background: transparent; color: #0a2540; font-weight: 800; font-size: 0.95rem; }
.table > tbody > tr:nth-child(even) { background: transparent; }
.table > tbody > tr:hover { background: transparent; }

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; border: 1px solid transparent; border-radius: 8px; text-decoration: none; transition: all 0.2s ease; }
.btn-default { color: #ffffff; background: #0b5cff; border-color: #0b5cff; box-shadow: 0 2px 6px rgba(11,92,255,0.25); }
.btn-default:hover { background: #0a4fe0; border-color: #0a4fe0; transform: translateY(-1px); box-shadow: 0 6px 14px rgba(11,92,255,0.28); }
.btn-default:active, .btn-default.active { background: #093fb8; border-color: #093fb8; transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 8px; }
.btn-block { display: block; width: 100%; }

/* Links */
a { color: #0b5cff; text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: #0a4fe0; text-decoration: none; }

/* Footer */
.dibu { margin-top: 56px; background: #ffffff; color: #475467; border-top: 1px solid #e5e7eb; padding: 48px 0; }
.dibulianjie { color: #475467; transition: color 0.2s ease; }
.dibulianjie:hover, .dibulianjie:focus { color: #0b5cff; }
.banquanwenzi { color: #475467; font-size: 14px; line-height: 1.85; }

img { background-repeat: no-repeat; background-attachment: scroll; background-position: center; }

/* Custom project blocks */
.loupanbiao > table > tbody > tr > td, .loupanbiao > table > thead > tr > th { border: 0; font-size: 16px; padding: 12px; line-height: 1.6; }
.jianjie { font-size: 16px; padding: 0; line-height: 1.85; margin-left: 3px; color: #475467; }

/* Visibility helpers */
.visible-xs { display: block !important; }
@media (min-width: 768px) { .visible-xs { display: none !important; } }
.hidden-xs { display: none !important; }
@media (min-width: 768px) { .hidden-xs { display: block !important; } }
@media (max-width: 767px) { .hidden-xs { display: block !important; } }

/* Mobile fixed call button */
@media (max-width: 767px) {
  .container.visible-xs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; padding: 0; }
  .container.visible-xs .row { margin: 0; }
  .container.visible-xs button { position: fixed; bottom: 0; background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%); font-weight: 700; color: #ffffff; z-index: 9999; border: 0; width: 100%; padding: 12px; font-size: 15px; border-radius: 0; box-shadow: 0 -4px 18px rgba(30,64,175,0.3); letter-spacing: 0.3px; }
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .container { padding: 0 3px; }
  .row { margin: 0 -9px; }
  .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12,
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12,
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12,
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { padding: 0 2px; }
  .col-sm-6, .col-md-6, .col-lg-6, .col-sm-12, .col-md-12, .col-lg-12 { width: 100% !important; }
  .alert-warning { margin-bottom: 10px; padding: 12px; }
  .table { font-size: 14px; }
  .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th,
  .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { padding: 12px 10px; }
  h1 { font-size: 2.1rem; margin: 42px 0 28px 0; }
  h4 { font-size: 1.25rem; margin: 24px 0 14px 0; }
  
  /* 统一所有图片边距 - 避免遮挡 */
  .row.text-center .col-sm-6,
  .row.text-center .col-md-6,
  .row.text-center .col-lg-6 {
    padding: 0 10px !important;
  }
}

/* Animations */
@keyframes slideInDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.alert-warning { animation: fadeInUp 0.5s ease-out; }

/* Focus & selection */
*:focus { outline: 2px solid #0b5cff; outline-offset: 2px; }
::selection { background: rgba(11,92,255,0.18); color: #0a2540; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f3f4f6; }
::-webkit-scrollbar-thumb { background: #0b5cff; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #0a4fe0; }

/* Lazy image */
.lazy { opacity: 0; transition: opacity 0.5s; }
.lazy.loaded { opacity: 1; }

/* ========== 面包屑导航样式 ========== */
.breadcrumb {
  padding: 12px 0;
  margin: 0 0 20px 0;
  list-style: none;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb > li {
  display: inline-block;
  color: #6b7280;
}

.breadcrumb > li + li:before {
  content: "/";
  padding: 0 8px;
  color: #d1d5db;
}

.breadcrumb > li > a {
  color: #0b5cff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb > li > a:hover {
  color: #0a2540;
  text-decoration: none;
}

.breadcrumb > .active {
  color: #0a2540;
  font-weight: 500;
}

/* ========== 页面标题样式优化 ========== */
.page-header {
  padding-bottom: 10px;
  margin: 20px 0 20px;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 32px;
  line-height: 1.3;
  color: #0a2540;
  font-weight: 800;
}

.page-header small {
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
}

/* ========== 巨幕样式（文章列表页标题） ========== */
.jumbotron {
  padding: 32px 20px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.jumbotron h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  color: #0a2540;
  line-height: 1.2;
}

/* ========== 表格样式增强 ========== */
.table-hover > tbody > tr {
  transition: background-color 0.2s ease;
}

.table-hover > tbody > tr:hover {
  background-color: #f8fafc !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== 图片样式 ========== */
.img-thumbnail {
  padding: 4px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.2s ease;
  max-width: 100%;
  height: auto;
}

.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========== 移动端优化 ========== */
@media (max-width: 768px) {
  .breadcrumb {
    font-size: 13px;
    padding: 10px 0;
  }
  
  .breadcrumb > li + li:before {
    padding: 0 6px;
  }
  
  .page-header h1 {
    font-size: 24px;
  }
  
  .jumbotron {
    padding: 24px 16px;
  }
  
  .jumbotron h1 {
    font-size: 28px;
  }
}

/* ========== 分页样式 ========== */
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

.pagination .page-item {
  margin: 0 3px;
}

.pagination .page-item .page-link {
  position: relative;
  display: block;
  padding: 8px 14px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #0b5cff;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.pagination .page-item .page-link:hover {
  z-index: 2;
  color: #0a2540;
  background-color: #f8fafc;
  border-color: #e5e7eb;
}

.pagination .page-item.active .page-link {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #0b5cff;
  border-color: #0b5cff;
}

.pagination .page-item.disabled .page-link {
  color: #6b7280;
  pointer-events: none;
  cursor: not-allowed;
  background-color: #fff;
  border-color: #e5e7eb;
  opacity: 0.6;
}

/* 移动端分页优化 */
@media (max-width: 768px) {
  .pagination {
    margin: 20px 0;
  }
  
  .pagination .page-item {
    margin: 0 2px;
  }
  
  .pagination .page-item .page-link {
    padding: 6px 10px;
    font-size: 14px;
  }
}
