:root {
  --c-primary: #0b5aa5;
  --c-primary-dark: #084680;
  --c-accent: #e8a33d;
  --c-text: #333;
  --c-text-sub: #666;
  --c-text-light: #999;
  --c-bg: #f5f6f8;
  --c-border: #e5e8ec;
  --c-white: #fff;
  --nav-h: 72px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(20, 40, 70, .08);
  --shadow-hover: 0 6px 20px rgba(20, 40, 70, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
}

img { max-width: 100%; height: auto; display: block; border: 0; }

ul, ol { list-style: none; }

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }


.topbar {
  background: var(--c-primary-dark);
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: #fff; }
.topbar-tel { display: inline-flex; align-items: center; gap: 6px; }


.navbar {
  background: var(--c-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 16px;
}
.logo img { height: 42px; width: auto; }
.logo .logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 1px;
}
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-border);
  background: none;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--c-primary);
  transform: translateX(-50%);
  transition: .25s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 8px 18px;
  font-size: 16px;
  color: var(--c-text);
  border-radius: var(--radius);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav .active > a {
  color: var(--c-white);
  background: var(--c-primary);
}
.nav-right { display: flex; align-items: center; gap: 10px; }

.search-form {
  display: flex;
  align-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-bg);
}
.search-form input {
  border: 0;
  outline: 0;
  background: transparent;
  padding: 7px 10px;
  width: 150px;
  font-size: 14px;
}
.search-form button {
  border: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 7px 14px;
  cursor: pointer;
  font-size: 14px;
}
.search-form button:hover { background: var(--c-primary-dark); }


.banner { position: relative; overflow: hidden; }
.banner-track { display: flex; transition: transform .5s ease; }
.banner-item {
  min-width: 100%;
  min-height: clamp(300px, 42vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 40px 16px;
}
.banner-item:nth-child(1) { background: linear-gradient(135deg, #0b5aa5 0%, #1272c4 60%, #38a1e0 100%); }
.banner-item:nth-child(2) { background: linear-gradient(135deg, #084680 0%, #0b5aa5 55%, #4f8fd6 100%); }
.banner-item:nth-child(3) { background: linear-gradient(135deg, #123b66 0%, #0b5aa5 50%, #6fb1e8 100%); }
.banner-title { font-size: clamp(26px, 4vw, 44px); font-weight: 700; margin-bottom: 14px; }
.banner-sub { font-size: clamp(14px, 1.6vw, 18px); opacity: .9; max-width: 640px; margin: 0 auto 28px; }
.banner-btn {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 16px;
}
.banner-btn:hover { background: #d18f2a; color: #fff; }
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 5;
}
.banner-arrow:hover { background: rgba(255, 255, 255, .45); }
.banner-prev { left: 16px; }
.banner-next { right: 16px; }
.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
}
.banner-dots .on { background: #fff; }


.section { padding: 56px 0; }
.section-alt { background: var(--c-white); }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--c-text);
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.sec-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 46px;
  height: 3px;
  background: var(--c-accent);
}
.sec-head p { color: var(--c-text-light); margin-top: 8px; }
.sec-more {
  float: right;
  font-size: 14px;
  color: var(--c-text-light);
  margin-top: 10px;
}


.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #dfe9f4, #c6d9ec);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ba6c4;
  font-size: 14px;
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 18px; }
.card-body h3 {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-body p {
  font-size: 13px;
  color: var(--c-text-light);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.home-news { display: grid; grid-template-columns: 5fr 7fr; gap: 26px; }
.news-feature { display: block; }
.news-feature .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dfe9f4, #c6d9ec);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ba6c4;
}
.news-feature .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-feature h3 { font-size: 18px; margin-top: 14px; }
.news-feature p { color: var(--c-text-light); font-size: 14px; margin-top: 6px; }
.news-rows li {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--c-border);
  align-items: flex-start;
}
.news-rows .date {
  flex: none;
  text-align: center;
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 6px 10px;
  line-height: 1.3;
}
.news-rows .date b { display: block; font-size: 20px; color: var(--c-primary); }
.news-rows .date span { font-size: 12px; color: var(--c-text-light); }
.news-rows h3 {
  font-size: 15px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-rows p {
  font-size: 13px;
  color: var(--c-text-light);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.about img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about h2 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 16px; }
.about h2 em { color: var(--c-primary); font-style: normal; }
.about p { color: var(--c-text-sub); margin-bottom: 10px; }
.about .more-btn {
  display: inline-block;
  margin-top: 8px;
  background: var(--c-primary);
  color: #fff;
  padding: 10px 30px;
  border-radius: 30px;
}
.about .more-btn:hover { background: var(--c-primary-dark); color: #fff; }


.page-banner {
  background: var(--ibk, #0b5aa5) url("../images/ibkpic.jpg") center / cover no-repeat;
  position: relative;
  padding: 54px 0 46px;
  color: #fff;
  text-align: center;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 50, 96, .55);
}
.page-banner h1,
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(22px, 3vw, 30px); }
.page-banner p { opacity: .85; margin-top: 6px; }
.crumbs {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  font-size: 13px;
  color: var(--c-text-light);
}
.crumbs .container { padding-top: 10px; padding-bottom: 10px; }
.crumbs a { color: var(--c-text-sub); }


.list-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 26px;
  padding-top: 26px;
  padding-bottom: 46px;
  align-items: start;
}
.panel {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.panel h2 {
  font-size: 17px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--c-primary);
}
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--c-border); font-size: 14px; }
.side-list li:last-child { border-bottom: 0; }
.side-list a {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-list .side-time { color: var(--c-text-light); font-size: 12px; margin-right: 8px; }

.news-item {
  display: flex;
  gap: 18px;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  margin-bottom: 16px;
}
.news-item .thumb {
  flex: none;
  width: 220px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #dfe9f4, #c6d9ec);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ba6c4;
}
.news-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.news-item:hover .thumb img { transform: scale(1.05); }
.news-item h3 { font-size: 17px; }
.news-item h3 a:hover { color: var(--c-primary); }
.news-item .meta { font-size: 13px; color: var(--c-text-light); margin: 6px 0 8px; }
.news-item .desc {
  font-size: 14px;
  color: var(--c-text-sub);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


.grid-pro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }


.pagination { text-align: center; padding: 10px 0 20px; }
.pagination a,
.pagination b,
.pagination span {
  display: inline-block;
  min-width: 36px;
  padding: 7px 12px;
  margin: 0 4px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  font-size: 14px;
  color: var(--c-text-sub);
}
.pagination b { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 600; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }


.article-wrap {
  padding: 26px 0 46px;
}
.article {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 44px);
}
.article h1.title { font-size: clamp(20px, 3vw, 26px); line-height: 1.5; }
.article .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  color: var(--c-text-light);
  padding: 14px 0;
  margin: 14px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.article-body { font-size: 16px; line-height: 1.9; word-break: break-word; }
.article-body p { margin-bottom: 14px; }
.article-body img { border-radius: var(--radius); margin: 10px auto; }
.article-body table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.article-body td, .article-body th { border: 1px solid var(--c-border); padding: 8px 10px; }

.page-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
  font-size: 14px;
  color: var(--c-text-light);
}
.page-nav a { color: var(--c-text-sub); }


.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.product-detail .pic {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #dfe9f4, #c6d9ec);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8ba6c4;
}
.product-detail h1 { font-size: clamp(20px, 3vw, 26px); }
.product-detail .desc { color: var(--c-text-sub); margin: 14px 0 18px; }
.product-info-line { font-size: 14px; color: var(--c-text-sub); margin-bottom: 8px; }
.product-info-line b { color: var(--c-text); }


.flinks { padding: 26px 0; }
.flinks h2 { font-size: 16px; margin-bottom: 12px; }
.flinks-box { display: flex; flex-wrap: wrap; gap: 10px; }
.flinks-box a {
  font-size: 13px;
  color: var(--c-text-sub);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 5px 14px;
}


.site-footer { background: #202c3c; color: #a8b4c4; margin-top: 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  padding: 44px 0 30px;
}
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer p { font-size: 14px; margin-bottom: 8px; }
.site-footer a:hover { color: #fff; }
.footer-nav li { margin-bottom: 8px; font-size: 14px; }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}


.back-top {
  position: fixed;
  right: 22px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 99;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--c-primary-dark); }


@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-pro { grid-template-columns: repeat(2, 1fr); }
  .list-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-tel { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .topbar { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-open .main-nav { max-height: 70vh; overflow-y: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; }
  .main-nav a { padding: 12px 10px; border-bottom: 1px solid var(--c-border); border-radius: 0; }
  .search-form { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .home-news { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .news-item .thumb { width: 130px; }
  .product-detail { grid-template-columns: 1fr; }
  .section { padding: 38px 0; }
}

@media (max-width: 576px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-pro { grid-template-columns: 1fr; }
  .news-item { flex-direction: column; }
  .news-item .thumb { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner-item { min-height: 300px; }
  .crumbs { font-size: 12px; }
}


/* ===== 列表页与单页栏目补充 ===== */
.news-list { margin: 0; padding: 0; list-style: none; }
.news-list:not(:has(*))::after,
.grid-pro:not(:has(*))::after {
  content: "No content available yet.";
  grid-column: 1 / -1;
  display: block;
  padding: 56px 20px;
  text-align: center;
  color: var(--c-text-light);
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.page-class {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 34px;
  margin: 26px 0 46px;
  line-height: 1.95;
  color: var(--c-text-sub);
  min-height: 180px;
}
.page-class p { margin: 0 0 14px; }
.page-class p:last-child { margin-bottom: 0; }
.article-wrap { padding-top: 20px; padding-bottom: 46px; }
.article-wrap .article { background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; }
.article-wrap .section { margin-top: 24px; }
