/* =========================================================
   PbootCMS 展会风格模板 - 全局样式 custom.css
   设计参考：振威国际会展集团官网（排版与动效，简化版）
   配色：深蓝(主) + 金色(点缀) | 2018版默认模板样式由本文件覆盖
   ========================================================= */

/* ---------- 全局 ---------- */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: #4a5568;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a { transition: color .25s ease; }

.container { max-width: 1200px; }

.section { padding: 80px 0; }
.section-light { background: #f6f8fb; }
.section-white { background: #ffffff; }

/* 版块标题 */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .en { font-size: 13px; letter-spacing: 4px; color: #a0aec0; text-transform: uppercase; }
.section-title h2 { font-size: 34px; font-weight: 700; color: #16233c; margin: 8px 0 14px; }
.section-title .bar { display: inline-block; width: 52px; height: 3px; background: linear-gradient(90deg, #d9b84a, #f0d98a); border-radius: 2px; }
.section-title .sub { font-size: 15px; color: #718096; margin-top: 14px; }

/* 通用按钮 */
.btn-gold {
  display: inline-block;
  padding: 12px 34px;
  background: linear-gradient(135deg, #e6c65a, #c9a227);
  color: #16233c;
  font-size: 15px;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 6px 18px rgba(201,162,39,.35);
  transition: all .3s ease;
}
.btn-gold:hover { color: #16233c; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,162,39,.45); text-decoration: none; }
.btn-outline-light2 {
  display: inline-block; padding: 12px 34px;
  border: 1px solid rgba(255,255,255,.75); color: #fff;
  font-size: 15px; border-radius: 30px; transition: all .3s ease;
}
.btn-outline-light2:hover { background: #fff; color: #0e2a54; text-decoration: none; }

/* ---------- 顶部导航 ---------- */
.site-nav {
  background: rgba(10,28,56,.85);
  min-height: 70px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: background .35s ease, box-shadow .35s ease;
  box-shadow: 0 2px 14px rgba(0,0,0,.12);
}
.site-nav.scrolled { background: rgba(10,28,56,.97); box-shadow: 0 6px 22px rgba(10,28,56,.35); }
.site-nav .navbar-brand {
  display: flex; align-items: center; color: #fff; font-size: 20px; font-weight: 700;
}
.site-nav .navbar-brand img { height: 40px; margin-right: 10px; }
.site-nav .navbar-brand .brand-sub { font-size: 12px; color: #cbd5e0; font-weight: 400; letter-spacing: 2px; }
.site-nav .navbar-nav .nav-item { margin: 0 4px; }
.site-nav .navbar-nav .nav-link {
  color: rgba(255,255,255,.9) !important;
  font-size: 15px; padding: 24px 16px !important;
  position: relative; letter-spacing: 1px;
}
.site-nav .navbar-nav .nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 16px;
  height: 2px; background: #d9b84a; border-radius: 2px;
  transform: scaleX(0); transition: transform .3s ease;
}
.site-nav .navbar-nav .nav-item:hover .nav-link::after,
.site-nav .navbar-nav .nav-item.active .nav-link::after { transform: scaleX(1); }
.site-nav .navbar-nav .nav-item.active .nav-link { color: #f0d98a !important; }
.site-nav .navbar-toggler { border-color: rgba(255,255,255,.5); }
.site-nav .navbar-toggler-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }

/* ---------- 首页 Hero 轮播 ---------- */
.hero-swiper { position: relative; }
.hero-swiper .swiper-container { width: 100%; }
.hero-swiper .swiper-slide { position: relative; overflow: hidden; }
.hero-swiper .swiper-slide img.slideshow { width: 100%; height: 640px; object-fit: cover; display: block; }
.hero-swiper .slide-mask {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,28,56,.30) 0%, rgba(10,28,56,.55) 55%, rgba(10,28,56,.82) 100%);
}
.hero-swiper .slide-caption {
  position: absolute; left: 0; right: 0; top: 42%; transform: translateY(-50%);
  text-align: center; color: #fff; z-index: 2; padding: 0 20px;
}
.hero-swiper .slide-caption h1 { font-size: 46px; font-weight: 800; letter-spacing: 4px; text-shadow: 0 4px 20px rgba(0,0,0,.35); }
.hero-swiper .slide-caption .sub { font-size: 20px; margin-top: 18px; letter-spacing: 2px; opacity: .95; }
.hero-swiper .slide-caption .hero-btns { margin-top: 34px; }
.hero-swiper .slide-caption .hero-btns .btn-gold { margin-right: 14px; }
.hero-swiper .swiper-pagination-bullet { background: #fff; opacity: .55; width: 9px; height: 9px; }
.hero-swiper .swiper-pagination-bullet-active { background: #d9b84a; opacity: 1; width: 26px; border-radius: 5px; }
.hero-swiper .swiper-button-prev, .hero-swiper .swiper-button-next { color: #fff; }

/* ---------- 数据统计 ---------- */
.stat-section {
  background: linear-gradient(135deg, #0b2350 0%, #123a80 60%, #1d5fd6 130%);
  padding: 58px 0;
  color: #fff;
}
.stat-section .stat-item { text-align: center; padding: 10px 0; }
.stat-section .stat-num {
  font-size: 52px; font-weight: 800; color: #f0d98a;
  line-height: 1.1; font-family: "Georgia", "Times New Roman", serif;
}
.stat-section .stat-num sup { font-size: 28px; }
.stat-section .stat-label { font-size: 15px; letter-spacing: 3px; margin-top: 12px; color: rgba(255,255,255,.88); }
.stat-section .stat-divider { height: 74px; width: 1px; background: rgba(255,255,255,.22); margin: auto; }

/* ---------- 首页 关于我们 ---------- */
.about-intro { display: flex; align-items: center; }
.about-intro .about-text .lead { color: #16233c; font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.about-intro .about-text p { line-height: 2; font-size: 15px; color: #4a5568; margin-bottom: 12px; }
.about-intro .about-text .more { margin-top: 26px; }
.about-intro .about-img { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px rgba(14,42,84,.18); }
.about-intro .about-img img { width: 100%; height: 420px; object-fit: cover; display: block; transition: transform .6s ease; }
.about-intro .about-img:hover img { transform: scale(1.04); }

/* ---------- 首页 展览会卡片 ---------- */
.expo-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(14,42,84,.08);
  transition: transform .35s ease, box-shadow .35s ease;
  height: 100%;
}
.expo-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(14,42,84,.16); }
.expo-card .card-img { position: relative; overflow: hidden; }
.expo-card .card-img img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .6s ease; }
.expo-card:hover .card-img img { transform: scale(1.06); }
.expo-card .card-img .tag {
  position: absolute; left: 14px; top: 14px;
  background: rgba(10,28,56,.82); color: #f0d98a;
  font-size: 12px; padding: 5px 12px; border-radius: 20px;
}
.expo-card .card-body { padding: 20px 22px; }
.expo-card .card-body h5 { font-size: 17px; font-weight: 600; color: #16233c; margin-bottom: 10px; }
.expo-card .card-body h5 a { color: #16233c; }
.expo-card .card-body h5 a:hover { color: #1d5fd6; text-decoration: none; }
.expo-card .card-body .expo-date { color: #c9a227; font-size: 13px; letter-spacing: 1px; }
.expo-card .card-body .expo-desc { color: #718096; font-size: 13px; line-height: 1.8; margin-top: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 首页 CTA ---------- */
.cta-section {
  background: linear-gradient(135deg, #0b2350, #123a80 60%, #1d5fd6);
  padding: 70px 0; color: #fff;
}
.cta-section h3 { font-size: 30px; font-weight: 700; letter-spacing: 2px; }
.cta-section p { color: rgba(255,255,255,.82); font-size: 15px; letter-spacing: 1px; margin-top: 12px; }
.cta-section .cta-tel { font-size: 34px; font-weight: 800; color: #f0d98a; letter-spacing: 1px; }

/* ---------- 子页页头 Banner ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(10,28,56,.86), rgba(29,95,214,.72)), url('') center/cover no-repeat;
  min-height: 320px;
  display: flex; align-items: center;
  margin-top: 70px;
}
.page-banner .banner-inner { text-align: center; width: 100%; color: #fff; }
.page-banner h1 { font-size: 38px; font-weight: 800; letter-spacing: 4px; }
.page-banner .banner-sub { font-size: 15px; letter-spacing: 3px; color: rgba(255,255,255,.82); margin-top: 12px; }
.page-banner .banner-crumb { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 16px; letter-spacing: 1px; }
.page-banner .banner-crumb a { color: #f0d98a; }

/* 子页内容区 */
.page-wrap { padding: 60px 0; min-height: 420px; }
.page-content { line-height: 2.1; font-size: 15px; color: #4a5568; }
.page-content img { max-width: 100%; height: auto; border-radius: 8px; }
.page-content h1, .page-content h2, .page-content h3 { color: #16233c; margin: 24px 0 12px; }

/* 展会列表页 */
.expo-list .expo-card { margin-bottom: 30px; }
.expo-list .expo-date { display: block; margin-bottom: 6px; }

/* 分页 */
.page-pagination { margin-top: 20px; }
.page-pagination .pagination { justify-content: center; }
.page-pagination .page-link { color: #1d5fd6; border-radius: 6px; margin: 0 3px; border: 1px solid #e2e8f0; }
.page-pagination .page-link:hover { background: #1d5fd6; color: #fff; border-color: #1d5fd6; }

/* 展会详情页 */
.expo-detail .detail-head { text-align: center; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px dashed #e2e8f0; }
.expo-detail .detail-head h1 { font-size: 30px; color: #16233c; font-weight: 700; }
.expo-detail .detail-meta { color: #a0aec0; font-size: 13px; margin-top: 14px; }
.expo-detail .detail-meta span { margin: 0 12px; }

/* 联系我们 */
.contact-card {
  background: #fff; border-radius: 12px; text-align: center;
  padding: 30px 16px; box-shadow: 0 6px 22px rgba(14,42,84,.07);
  height: 100%; transition: transform .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(14,42,84,.14); }
.contact-card .icon {
  width: 58px; height: 58px; line-height: 58px; margin: 0 auto 16px;
  background: linear-gradient(135deg, #123a80, #1d5fd6); color: #fff;
  font-size: 24px; border-radius: 50%;
}
.contact-card h5 { font-size: 16px; color: #16233c; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: #718096; margin-bottom: 2px; }
.contact-card p a { color: #718096; }
.contact-card p a:hover { color: #1d5fd6; text-decoration: none; }

/* 留言表单 */
.msg-form { background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(14,42,84,.08); padding: 34px 36px; }
.msg-form .form-title { font-size: 20px; font-weight: 700; color: #16233c; margin-bottom: 24px; }
.msg-form .form-title::before { content: ""; display: inline-block; width: 5px; height: 20px; background: #c9a227; border-radius: 3px; margin-right: 10px; vertical-align: -3px; }
.msg-form .form-control {
  border-radius: 8px; border: 1px solid #e2e8f0; padding: 12px 14px;
  font-size: 14px; transition: border-color .25s ease, box-shadow .25s ease;
}
.msg-form .form-control:focus { border-color: #1d5fd6; box-shadow: 0 0 0 3px rgba(29,95,214,.12); }
.msg-form label { font-size: 14px; color: #16233c; font-weight: 600; }
.msg-form .codeimg { border-radius: 6px; cursor: pointer; }

/* ---------- 底部 Footer ---------- */
.site-footer { background: #0a1c38; color: #aebacc; padding: 60px 0 0; }
.site-footer h5 { color: #fff; font-size: 17px; margin-bottom: 22px; letter-spacing: 1px; }
.site-footer h5::after { content: ""; display: block; width: 30px; height: 2px; background: #d9b84a; margin-top: 10px; }
.site-footer ul { list-style: none; padding: 0; line-height: 2.3; font-size: 14px; }
.site-footer ul a { color: #aebacc; }
.site-footer ul a:hover { color: #f0d98a; text-decoration: none; }
.site-footer .footer-about { font-size: 14px; line-height: 2; }
.site-footer .qr img { width: 110px; height: 110px; background: #fff; padding: 4px; border-radius: 8px; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px;
  padding: 18px 0; font-size: 13px; text-align: center; color: #7b8aa4;
}
.site-footer .footer-bottom a { color: #7b8aa4; }
.site-footer .footer-bottom a:hover { color: #f0d98a; text-decoration: none; }

/* 手机底部导航（保留默认样式，仅微调色） */
.fixed-bottom .bg-info { background: #0a1c38 !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 991.98px) {
  .site-nav { background: rgba(10,28,56,.97); }
  .site-nav .navbar-nav .nav-link { padding: 12px 8px !important; }
  .site-nav .navbar-nav .nav-link::after { display: none; }
  .section { padding: 54px 0; }
  .hero-swiper .swiper-slide img.slideshow { height: 460px; }
  .hero-swiper .slide-caption h1 { font-size: 30px; }
  .hero-swiper .slide-caption .sub { font-size: 16px; }
  .stat-section .stat-num { font-size: 36px; }
  .about-intro { flex-wrap: wrap; }
  .about-intro .about-img { margin-top: 30px; }
  .about-intro .about-img img { height: 280px; }
  .page-banner { min-height: 220px; margin-top: 70px; }
  .page-banner h1 { font-size: 26px; }
  .cta-section h3 { font-size: 22px; }
  .cta-section .cta-tel { font-size: 24px; }
  .msg-form { padding: 24px 20px; }
}

/* ---------- 新闻列表（首页板块 + 新闻中心列表页） ---------- */
.news-item { display: flex; align-items: center; padding: 18px 0; border-bottom: 1px dashed #e2e8f0; }
.news-item .date { width: 88px; text-align: center; background: #f6f8fb; border-radius: 8px; padding: 10px 0; margin-right: 20px; flex-shrink: 0; }
.news-item .date .d1 { font-size: 26px; font-weight: 700; color: #1d5fd6; line-height: 1.2; }
.news-item .date .d2 { font-size: 12px; color: #a0aec0; margin-top: 2px; letter-spacing: 1px; }
.news-item .t { flex: 1; min-width: 0; }
.news-item .t a { font-size: 16px; color: #16233c; font-weight: 600; transition: color .25s; }
.news-item .t a:hover { color: #1d5fd6; text-decoration: none; }
.news-item .t p { color: #718096; font-size: 13px; margin: 6px 0 0; line-height: 1.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767.98px) {
  .news-item .date { width: 66px; margin-right: 14px; }
  .news-item .t a { font-size: 14px; }
  .news-item .t p { display: none; }
}

/* ---------- 内容页上一篇/下一篇 ---------- */
.prev-next { border-top: 1px dashed #e2e8f0; margin-top: 34px; padding-top: 22px; font-size: 14px; color: #718096; line-height: 2.2; }
.prev-next p { margin-bottom: 4px; }
.prev-next a { color: #1d5fd6; }
.prev-next a:hover { text-decoration: underline; }

/* ---------- 展会列表卡片（productlist） ---------- */
.card-img-expo { height: 220px; overflow: hidden; background: #f6f8fb; }
.card-img-expo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img-expo img { transform: scale(1.05); }
#pages .card { border: none; box-shadow: 0 4px 18px rgba(14,42,84,.08); border-radius: 10px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; margin-bottom: 24px; }
#pages .card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(14,42,84,.14); }
#pages .card-body { padding: 18px 20px; }
#pages .card-title { font-size: 16px; font-weight: 600; color: #16233c; margin-bottom: 8px; }
#pages .card-title a { color: #16233c; }
#pages .card-title a:hover { color: #1d5fd6; text-decoration: none; }
#pages .card-text { font-size: 13px; color: #718096; line-height: 1.8; margin-bottom: 0; }
